@byteluck-fe/model-driven-core-all 2.7.0-alpha.3 → 2.7.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ti=(u,hn,Yt)=>new Promise((av,$i)=>{var D=Tt=>{try{ro(Yt.next(Tt))}catch(oo){$i(oo)}},sv=Tt=>{try{ro(Yt.throw(Tt))}catch(oo){$i(oo)}},ro=Tt=>Tt.done?av(Tt.value):Promise.resolve(Tt.value).then(D,sv);ro((Yt=Yt.apply(u,hn)).next())});(function(u,hn){typeof exports=="object"&&typeof module!="undefined"?hn(exports):typeof define=="function"&&define.amd?define(["exports"],hn):(u=typeof globalThis!="undefined"?globalThis:u||self,hn(u.modelDrivenCoreAll={}))})(this,function(u){"use strict";function hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var av=function e(){hn(this,e),Yt(this,"department_en_name",void 0),Yt(this,"department_id",void 0),Yt(this,"department_name",void 0)};function $i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var sv=function e(){$i(this,e),D(this,"avatar_big",void 0),D(this,"avatar_small",void 0),D(this,"avatar_url",void 0),D(this,"belong_dept_en_name",void 0),D(this,"belong_dept_id_list",void 0),D(this,"belong_dept_ids",void 0),D(this,"belong_dept_name",void 0),D(this,"cookie_language_enum",void 0),D(this,"department_id",void 0),D(this,"department_name",void 0),D(this,"email",void 0),D(this,"employee_card",void 0),D(this,"employee_en_name",void 0),D(this,"employee_id",void 0),D(this,"employee_name",void 0),D(this,"external_user",void 0),D(this,"gender",void 0),D(this,"is_show_chat_group",void 0),D(this,"manage_dept_en_name",void 0),D(this,"manage_dept_ids",void 0),D(this,"manage_dept_name",void 0),D(this,"msg_relation_type",void 0),D(this,"sequence",void 0),D(this,"telephone",void 0),D(this,"tenant_id",void 0)},ro="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Tt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",EM="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",IM="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",CM="{caption}\u5FC5\u586B",NM="\u8BF7\u8F93\u5165\u6807\u9898",BM="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",AM="\u8BF7\u8F93\u5165\u884C\u6807\u9898",MM="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",kM="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",DM="\u8BF7\u7ED1\u5B9A\u8868\u5355",LM="\u8BF7\u7ED1\u5B9A\u5217\u8868",jM="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",FM="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xM="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",VM="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",zM="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",GM="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",YM="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",HM="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qM="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",UM="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",WM="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",KM="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",XM="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",QM="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",JM="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ZM="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",e3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",t3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",n3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",r3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",o3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",i3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",u3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",c3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",f3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",l3="\u8BF7\u9009\u62E9\u7701",a3="\u8BF7\u9009\u62E9\u5E02",s3="\u8BF7\u9009\u62E9\u533A",y3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",v3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",d3="\u8BF7\u8F93\u5165\u5217\u5BBD",p3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",_3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",h3="\u8BF7\u9009\u62E9\u63A7\u4EF6",b3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",O3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",g3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",m3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",P3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",w3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",R3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",T3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",E3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",I3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",C3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",N3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",B3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",A3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",M3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",k3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",D3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",L3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",j3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",F3={isNotNumber:ro,isNotString:Tt,isNotObject:oo,isNotArray:EM,isNotBoolean:IM,runtimeRequired:CM,pleaseEnterCaption:NM,pleaseEnterCaptionTip:BM,pleaseEnterRowCaption:AM,pleaseEnterPlaceholder:MM,pleaseEnterFieldCode:kM,pleaseEnterForm:DM,pleaseEnterList:LM,pleaseEnterProcess:jM,pleaseEnterLabel:FM,pleaseEnterValue:xM,bizKeyNotBindFiled:VM,pleaseSelectOneField:zM,pleaseEnterNumberRange:GM,pleaseEnterAValueGreaterThanMin:YM,pleaseEnterAValueLessThanMax:HM,numberRangeSetError:qM,stringRangeError:UM,attachmentMaxSize:WM,pleaseEnterTotalScoreSetting:KM,theTotalScoreMustNotBeLessThan1:XM,scoreDefaultValueRange:QM,attachmentLimitError:JM,PleaseReselectTheOptionalQuantity:ZM,TheMaximumLengthIsGreaterThanTheMinimumLength:e3,TheMinimumLengthIsGreaterThanTheMaximumLength:t3,PleaseSelectTheCorrectOptionSettings:n3,optionIdIsRepeat:r3,optionIsRequired:o3,pleaseEnterDataCode:i3,pleaseEnterValueFieldCode:u3,pleaseEnterSvcCode:c3,pleaseBindAtLeastOneDisplayValue:f3,pleaseSelectProvince:l3,pleaseSelectCity:a3,pleaseSelectDistrict:s3,limitRowsCannotBeLessThan0:y3,TheNumberOfRowsCannotBeLessThanMinRows:v3,pleaseEnterColumnWidth:d3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:p3,pleaseCompleteAllRulesAndConditions:_3,pleaseSelectControl:h3,pleaseSelectAtLeastOneColumn:b3,pleaseSelectFillBackMode:O3,pleaseSelectDashboard:g3,rootNodeIsRequired:m3,theViewNameCannotBeEmpty:P3,pleaseSelectOcrType:w3,pleaseSelectAtLeastOneFieldToFillIn:R3,pleaseChooseAtLeastOne:T3,pleaseEnterButtonContent:$3,pleaseEnterDataCodeInDataSetting:S3,pleaseEnterValueFieldCodeInDataSetting:E3,pleaseEnterSvcCodeInDataSetting:I3,pleaseBindAtLeastOneDisplayValueInDataSetting:C3,rootNodeIsRequiredInDataSetting:N3,pleaseEnterMaxHeight:B3,pleaseEnter:A3,pleaseEnterWatermark:M3,pleaseEnterFileName:k3,pleaseUploadAtLeastOnePrintTemplate:D3,pleaseAssignBusiness:L3,pleaseAssignExternal:j3},x3="Please enter a number",V3="Please enter a string",z3="Please enter an object",G3="Please enter an array",Y3="Please enter a boolean",H3="{caption} Required",q3="Please enter the title",U3="Please enter the bubble prompt",W3="Please enter the row title",K3="Please enter the prompt text",X3="Please bind data items",Q3="Please bind the form",J3="Please bind the list",Z3="Please bind the process",ek="Please enter the displayed value",tk="Please enter the stored value",nk="The document number is not bound to the data item",rk="Please select at least one display field",ok="Please enter a value greater than or equal to {min} and less than or equal to {max}",ik="Please enter a value greater than or equal to {min}",uk="Please enter a value less than or equal to {max}",ck="The value range is set incorrectly",fk="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",lk="The attachment size must be between 0MB and 1000MB",ak="Please fill in the total score setting",sk="The total score cannot be less than 1",yk="The default value must be between {min} and {max}",vk="The number of attachments uploaded must be between {min} and {max}",dk="Please re-select the optional quantity",pk="The maximum length of the control must be greater than the minimum length",_k="The minimum length of the control must be less than the maximum length",hk="Please select the correct option setting",bk="Option ID cannot be repeated",Ok="Please enter at least one option",gk="Please bind the data source",mk="Please bind the stored value",Pk="Please bind the service",wk="At least one display value must be bound",Rk="Please select a province",Tk="Please select a city",$k="Please select a district",Sk="The minimum number of lines to fill in cannot be less than 0",Ek="The number of rows cannot be less than {min} rows",Ik="Please enter the column width",Ck="Please set the logical relationship of all rule conditions",Nk="Please complete all rules and conditions",Bk="please select control",Ak="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Mk="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kk="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Dk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Lk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",jk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Fk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Vk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",zk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Gk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Hk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Uk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Kk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Xk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qk={isNotNumber:x3,isNotString:V3,isNotObject:z3,isNotArray:G3,isNotBoolean:Y3,runtimeRequired:H3,pleaseEnterCaption:q3,pleaseEnterCaptionTip:U3,pleaseEnterRowCaption:W3,pleaseEnterPlaceholder:K3,pleaseEnterFieldCode:X3,pleaseEnterForm:Q3,pleaseEnterList:J3,pleaseEnterProcess:Z3,pleaseEnterLabel:ek,pleaseEnterValue:tk,bizKeyNotBindFiled:nk,pleaseSelectOneField:rk,pleaseEnterNumberRange:ok,pleaseEnterAValueGreaterThanMin:ik,pleaseEnterAValueLessThanMax:uk,numberRangeSetError:ck,stringRangeError:fk,attachmentMaxSize:lk,pleaseEnterTotalScoreSetting:ak,theTotalScoreMustNotBeLessThan1:sk,scoreDefaultValueRange:yk,attachmentLimitError:vk,PleaseReselectTheOptionalQuantity:dk,TheMaximumLengthIsGreaterThanTheMinimumLength:pk,TheMinimumLengthIsGreaterThanTheMaximumLength:_k,PleaseSelectTheCorrectOptionSettings:hk,optionIdIsRepeat:bk,optionIsRequired:Ok,pleaseEnterDataCode:gk,pleaseEnterValueFieldCode:mk,pleaseEnterSvcCode:Pk,pleaseBindAtLeastOneDisplayValue:wk,pleaseSelectProvince:Rk,pleaseSelectCity:Tk,pleaseSelectDistrict:$k,limitRowsCannotBeLessThan0:Sk,TheNumberOfRowsCannotBeLessThanMinRows:Ek,pleaseEnterColumnWidth:Ik,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ck,pleaseCompleteAllRulesAndConditions:Nk,pleaseSelectControl:Bk,pleaseSelectDashboard:Ak,theViewNameCannotBeEmpty:Mk,pleaseSelectOcrType:kk,pleaseSelectAtLeastOneFieldToFillIn:Dk,pleaseChooseAtLeastOne:Lk,pleaseEnterButtonContent:jk,pleaseEnterDataCodeInDataSetting:Fk,pleaseEnterValueFieldCodeInDataSetting:xk,pleaseEnterSvcCodeInDataSetting:Vk,pleaseBindAtLeastOneDisplayValueInDataSetting:zk,rootNodeIsRequiredInDataSetting:Gk,pleaseEnterMaxHeight:Yk,pleaseEnter:Hk,pleaseEnterWatermark:qk,pleaseEnterFileName:Uk,pleaseUploadAtLeastOnePrintTemplate:Wk,pleaseAssignBusiness:Kk,pleaseAssignExternal:Xk},Jk="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zk="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",e2="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",t2="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",n2="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",r2="{caption}\u5FC5\u9808",o2="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",i2="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u2="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",c2="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",f2="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",l2="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",a2="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",s2="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",y2="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v2="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",d2="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",p2="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_2="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",h2="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",b2="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",O2="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",g2="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",m2="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",P2="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",w2="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",R2="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",T2="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",$2="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",S2="\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",E2="\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",I2="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",C2="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",N2="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",B2="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",A2="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",M2="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",k2="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",D2="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",L2="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",j2="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",F2="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",x2="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",V2="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",z2="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",G2="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Y2="please select control",H2="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",q2="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",U2="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",W2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",K2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",X2="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Q2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",J2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Z2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eD="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",tD="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nD="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",rD="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",oD="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iD="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uD="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",cD="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fD="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lD={isNotNumber:Jk,isNotString:Zk,isNotObject:e2,isNotArray:t2,isNotBoolean:n2,runtimeRequired:r2,pleaseEnterCaption:o2,pleaseEnterCaptionTip:i2,pleaseEnterRowCaption:u2,pleaseEnterPlaceholder:c2,pleaseEnterFieldCode:f2,pleaseEnterForm:l2,pleaseEnterList:a2,pleaseEnterProcess:s2,pleaseEnterLabel:y2,pleaseEnterValue:v2,bizKeyNotBindFiled:d2,pleaseSelectOneField:p2,pleaseEnterNumberRange:_2,pleaseEnterAValueGreaterThanMin:h2,pleaseEnterAValueLessThanMax:b2,numberRangeSetError:O2,stringRangeError:g2,attachmentMaxSize:m2,pleaseEnterTotalScoreSetting:P2,theTotalScoreMustNotBeLessThan1:w2,scoreDefaultValueRange:R2,attachmentLimitError:T2,PleaseReselectTheOptionalQuantity:$2,TheMaximumLengthIsGreaterThanTheMinimumLength:S2,TheMinimumLengthIsGreaterThanTheMaximumLength:E2,PleaseSelectTheCorrectOptionSettings:I2,optionIdIsRepeat:C2,optionIsRequired:N2,pleaseEnterDataCode:B2,pleaseEnterValueFieldCode:A2,pleaseEnterSvcCode:M2,pleaseBindAtLeastOneDisplayValue:k2,pleaseSelectProvince:D2,pleaseSelectCity:L2,pleaseSelectDistrict:j2,limitRowsCannotBeLessThan0:F2,TheNumberOfRowsCannotBeLessThanMinRows:x2,pleaseEnterColumnWidth:V2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:z2,pleaseCompleteAllRulesAndConditions:G2,pleaseSelectControl:Y2,pleaseSelectDashboard:H2,theViewNameCannotBeEmpty:q2,pleaseSelectOcrType:U2,pleaseSelectAtLeastOneFieldToFillIn:W2,pleaseChooseAtLeastOne:K2,pleaseEnterButtonContent:X2,pleaseEnterDataCodeInDataSetting:Q2,pleaseEnterValueFieldCodeInDataSetting:J2,pleaseEnterSvcCodeInDataSetting:Z2,pleaseBindAtLeastOneDisplayValueInDataSetting:eD,rootNodeIsRequiredInDataSetting:tD,pleaseEnterMaxHeight:nD,pleaseEnter:rD,pleaseEnterWatermark:oD,pleaseEnterFileName:iD,pleaseUploadAtLeastOnePrintTemplate:uD,pleaseAssignBusiness:cD,pleaseAssignExternal:fD},aD={zhCN:F3,enUS:Qk,jaJP:lD};function sD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(u.CALC_TOKEN_TYPE||(u.CALC_TOKEN_TYPE={})),u.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(u.CALC_AGGREGATE_TYPE||(u.CALC_AGGREGATE_TYPE={}));var yD=function e(t){sD(this,e),rr(this,"name",void 0),rr(this,"id",void 0),rr(this,"type",void 0),rr(this,"subTableId",void 0),rr(this,"subTableName",void 0),rr(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:u.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var c;this.subTableName=(c=t==null?void 0:t.subTableId)!==null&&c!==void 0?c:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},lP="zh-CN",vD=function(){};function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(u.CONTROL_BASE_TYPE||(u.CONTROL_BASE_TYPE={})),u.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"}(u.CONTROL_TYPE||(u.CONTROL_TYPE={})),u.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(u.FieldTypes||(u.FieldTypes={}));var we,dD=(we={},Fe(we,u.FieldTypes.ARRAY,u.CONTROL_TYPE.ARRAY_COLUMN),Fe(we,u.FieldTypes.AUTO_NUMBER,u.CONTROL_TYPE.AUTO_NUMBER_COLUMN),Fe(we,u.FieldTypes.DECIMAL,u.CONTROL_TYPE.DECIMAL_COLUMN),Fe(we,u.FieldTypes.DEPARTMENTS,u.CONTROL_TYPE.DEPARTMENT_COLUMN),Fe(we,u.FieldTypes.FILE,u.CONTROL_TYPE.FILE_COLUMN),Fe(we,u.FieldTypes.IMAGE,u.CONTROL_TYPE.IMAGE_COLUMN),Fe(we,u.FieldTypes.ADDRESS,u.CONTROL_TYPE.LOCATION_COLUMN),Fe(we,u.FieldTypes.EMPLOYEES,u.CONTROL_TYPE.EMPLOYEE_COLUMN),Fe(we,u.FieldTypes.TEXT,u.CONTROL_TYPE.TEXT_COLUMN),Fe(we,u.FieldTypes.TIMESCOPE,u.CONTROL_TYPE.TIMESCOPE_COLUMN),Fe(we,u.FieldTypes.TIMESTAMP,u.CONTROL_TYPE.TIMESTAMP_COLUMN),Fe(we,u.FieldTypes.VARCHAR,u.CONTROL_TYPE.VARCHAR_COLUMN),Fe(we,u.FieldTypes.RELATION,u.CONTROL_TYPE.VARCHAR_COLUMN),we);u.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(u.DateType||(u.DateType={}));var aP="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",pD=aP+"0123456789";function rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?aP:pD,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function yv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _D(e){if(Array.isArray(e))return yv(e)}function hD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bD(){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 Si(e,t,r){return bD()?Si=Reflect.construct:Si=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&uo(a,c.prototype),a},Si.apply(null,arguments)}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function yP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function gD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mD(){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 PD(e,t){return t&&(wD(t)==="object"||typeof t=="function")?t:hD(e)}function uo(e,t){return uo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uo(e,t)}function vP(e){return _D(e)||gD(e)||RD(e)||mD()}var wD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RD(e,t){if(!!e){if(typeof e=="string")return yv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yv(e,t)}}function vv(e){var t=typeof Map=="function"?new Map:void 0;return vv=function(n){if(n===null||!OD(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Si(n,arguments,io(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),uo(o,n)},vv(e)}function TD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dP(e){var t=TD();return function(){var n=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PD(this,o)}}var dv=console;function bn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=dv).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(vP(o)))}function co(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=dv).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(vP(o)))}function $D(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var pv=function(e){yP(r,e);var t=dP(r);function r(n){sP(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?$D(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(vv(Error)),SD=function(e){yP(r,e);var t=dP(r);function r(n){sP(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(pv);function Ht(e){throw new pv(e)}function _v(e){throw new SD(e)}function pP(e){dv.error(new pv(e))}function hv(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":hv(r==null?void 0:r.children,t);break;case"search":hv(r==null?void 0:r.children,t);break;case"form":t(r)}})}var ED=Object.prototype.toString;function _P(e,t){return ED.call(e)==="[object "+t+"]"}function ID(e){return _P(e,"String")}function CD(e){return _P(e,"Promise")}var ND=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();CD(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,c,f){if(o!==void 0){var l=o[i];if(!(c===f.length-1&&!ID(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function BD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AD(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function MD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){BD(this,e)}return AD(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lP;return new ND({locale:r,messages:aD})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();MD(h,"$i18n",h.resetI18n());function bP(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,c){return"."+c}).split("."),o=!1;return n.reduce(function(i,c,f,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,c)){bn("Can not set ".concat(t,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),i,i);return}return f===l.length-1&&!Object.is(a[c],r)&&(a[c]=r,o=!0),a[c]}},e),o}var kD=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},bv={exports:{}};(function(e){(function(t){var r=function(_,m,w){if(!a(m)||y(m)||v(m)||b(m)||l(m))return m;var P,$=0,R=0;if(s(m))for(P=[],R=m.length;$<R;$++)P.push(r(_,m[$],w));else{P={};for(var S in m)Object.prototype.hasOwnProperty.call(m,S)&&(P[_(S,w)]=r(_,m[S],w))}return P},n=function(_,m){m=m||{};var w=m.separator||"_",P=m.split||/(?=[A-Z])/;return _.split(P).join(w)},o=function(_){return O(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(m,w){return w?w.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var m=o(_);return m.substr(0,1).toUpperCase()+m.substr(1)},c=function(_,m){return n(_,m).toLowerCase()},f=Object.prototype.toString,l=function(_){return typeof _=="function"},a=function(_){return _===Object(_)},s=function(_){return f.call(_)=="[object Array]"},y=function(_){return f.call(_)=="[object Date]"},v=function(_){return f.call(_)=="[object RegExp]"},b=function(_){return f.call(_)=="[object Boolean]"},O=function(_){return _=_-0,_===_},p=function(_,m){var w=m&&"process"in m?m.process:m;return typeof w!="function"?_:function(P,$){return w(P,_,$)}},g={camelize:o,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(_,m){return r(p(o,m),_)},decamelizeKeys:function(_,m){return r(p(c,m),_,m)},pascalizeKeys:function(_,m){return r(p(i,m),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(kD)})(bv);var OP={};Object.defineProperty(OP,"__esModule",{value:!0});function Ov(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ov(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ov(n)}return t}}var DD=OP.default=Ov;function $t(e){if(e!==void 0)return typeof e=="object"?DD(e):e}function he(e){return gv(e)&&"zh"in e}function gv(e){return Object.prototype.toString.call(e)==="[object Object]"}function LD(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function On(e){return Array.isArray(e)}function gP(e){return typeof e=="string"}function mv(e){return typeof e=="number"}function jD(e){return typeof e=="function"}function FD(e){return On(e)&&e.every(function(t){return gP(t)})}function xD(e){return On(e)&&e.every(function(t){return mv(t)})}function VD(e){return On(e)&&e.every(function(t){return mv(t)||t===""})}function zD(e){return/^\[.*?]$/.test(e)}function GD(e){return/^{.*?}$/.test(e)}function gn(e){return isNaN(parseFloat(e))?"":Number(e)}function mP(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c=this;r||(r=setTimeout(function(){e.apply(c,o),clearTimeout(r),r=null},t))}}function HD(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Re(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=Re(n.children,t)),t(o)})),r}function PP(e){return bv.exports.camelizeKeys(e)}function mn(e){return bv.exports.decamelizeKeys(e)}function qD(e){return Object.values(u.CONTROL_TYPE).includes(e)}function Pv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function UD(e){if(Array.isArray(e))return Pv(e)}function wP(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function WD(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){wP(i,n,o,c,f,"next",l)}function f(l){wP(i,n,o,c,f,"throw",l)}c(void 0)})}}function KD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XD(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function TP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JD(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wv(e){return UD(e)||QD(e)||ZD(e)||JD()}function ZD(e,t){if(!!e){if(typeof e=="string")return Pv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pv(e,t)}}var eL=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$P=function(){function e(){KD(this,e),TP(this,"_events",new Map),TP(this,"debug",!1)}return XD(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var c=this;return WD(function(){var f,l,a,s,y,v,b,O,p,g,_,m;return eL(this,function(w){switch(w.label){case 0:if(f=c._events.get(r),l=[],!f)return[3,10];a=f.slice(),s=!0,y=!1,v=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),b=a[Symbol.iterator](),w.label=2;case 2:if(s=(O=b.next()).done)return[3,7];if(p=O.value,!f.includes(p))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),c.debug&&co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(wv(o))),[4,p.apply(null,wv(o))];case 4:return g=w.sent(),c.debug&&co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(wv(o),[g])),l.push(g),g===!1?[3,7]:[3,6];case 5:return _=w.sent(),pP(String(_)+":"+String(_.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=w.sent(),y=!0,v=m,[3,10];case 9:try{!s&&b.return!=null&&b.return()}finally{if(y)throw v}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function tL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nL(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function rL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oL=[{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"}],EP=function(){function e(){tL(this,e)}return nL(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();rL(EP,"events",oL);function iL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uL(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var CP=[],Ei=function(){function e(t){iL(this,e),Pn(this,"registeredControlTypes",new Set),Pn(this,"controlConfigMap",new Map),Pn(this,"_controls",[]),Pn(this,"_type",void 0),this._type=t,this._initControls(t)}return uL(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Ht("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(bn("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(a){return o.createControl(a,n)});r.children&&(r.children=r.children.map(function(a){return o.createControl(a,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(a){return o.createControl(a,n)}));var i=this.getControlFormType(r.type);if(i){var c=r;if(typeof n=="function"){var f=n(c);f&&(c=f)}var l=new i(c);return l}else Ht("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&Ht("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(c){return c.Designer.controlType===n.controlType});return i>-1&&(bn("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();Pn(Ei,"staticControls",CP),Pn(Ei,"staticRegisteredTypes",new Set(CP.map(function(e){return e.Designer.controlType}))),Pn(Ei,"staticRegisteredConfigs",new Map);function L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function NP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function cL(e,t){return t&&(fL(t)==="object"||typeof t=="function")?t:L(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var fL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ue(e){var t=lL();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cL(this,o)}}var xe=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},Tv=function e(t){T(this,e),d(this,"minWidth",void 0),d(this,"maxWidth",void 0),d(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Ci=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"width",void 0),d(L(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var c;return o.widthType=(c=n==null?void 0:n.widthType)!==null&&c!==void 0?c:"auto",o}return r}(Tv),BP=function e(t){T(this,e),d(this,"pc",void 0),d(this,"mobile",void 0),this.pc=new Ci(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ci(t==null?void 0:t.mobile):new Ci({width:130,minWidth:180})},AP=function e(t){T(this,e),d(this,"type",void 0),d(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},wn=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"formKey",void 0),d(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},MP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(wn),kP=function e(t){T(this,e),d(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ni=function e(t){T(this,e);var r;d(this,"appId",void 0),d(this,"formKey",void 0),d(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new kP(c)}))!==null&&i!==void 0?i:[]},DP=function e(t){T(this,e),d(this,"fieldName",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:u.FieldTypes.VARCHAR},LP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"title",void 0),d(L(o),"svcCode",void 0),d(L(o),"isOpenFilter",void 0),d(L(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var c;o.svcCode=(c=n==null?void 0:n.svcCode)!==null&&c!==void 0?c:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(wn),jP=function e(t){T(this,e);var r,n;d(this,"type","sublist-page"),d(this,"formBind",void 0),d(this,"displayFields",void 0),d(this,"sublists",void 0),this.formBind=new wn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(c){return new DP(c)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(c){return new LP(c)}))!==null&&i!==void 0?i:[]},FP=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},or=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},$v=function e(t){var r=this;T(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","conditions"),d(this,"level",void 0),d(this,"value",void 0),d(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:rt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var c;this.value=(c=t==null?void 0:t.value)!==null&&c!==void 0?c:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(f){if(f.children!==void 0){var l,a=new e(f);(l=r.children)===null||l===void 0||l.push(a)}else{var s,y=new Bi(f);(s=r.children)===null||s===void 0||s.push(y)}}))},Bi=function e(t){T(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","condition"),d(this,"symbol",void 0),d(this,"checked",void 0),d(this,"describe",void 0),d(this,"leftVariableBo",void 0),d(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var c;this.describe=(c=t==null?void 0:t.describe)!==null&&c!==void 0?c:"",this.leftVariableBo=new FP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new or(t==null?void 0:t.rightVariableBo)},xP=function e(t){T(this,e),d(this,"aliasCode",void 0),d(this,"datasourceBind",void 0),d(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new J(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Te=function e(t){T(this,e),d(this,"controlId",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ai=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Sv=function e(t){T(this,e),d(this,"columnName",void 0),d(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},VP=function e(t){T(this,e),d(this,"code",void 0),d(this,"value",void 0),d(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY},aL=function e(t){T(this,e);var r,n;d(this,"id",void 0),d(this,"limit",void 0),d(this,"orders",void 0),d(this,"formKey",void 0),d(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var c;this.formKey=(c=t.formKey)!==null&&c!==void 0?c:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new Sv(a)}))!==null&&f!==void 0?f:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(a){return new VP(a)}))!==null&&l!==void 0?l:[]};function Ev(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new $v(f):new Bi(f)}))!==null&&n!==void 0?n:[];var o;if(this.viewFilters=(o=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new $v(f):new Bi(f)}))!==null&&o!==void 0?o:[],NP(this,J)||NP(this,ki)){var i,c;this.orders=(c=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(f){return new Sv(f)}))!==null&&c!==void 0?c:[]}}var J=function e(t){var r=this;T(this,e),d(this,"dataCode",void 0),d(this,"valueFieldCode",void 0),d(this,"displayBoList",void 0),d(this,"keywordMapping",void 0),d(this,"svcCode",void 0),d(this,"appId",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"isOpenViewFilters",void 0),d(this,"orders",void 0),d(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var c;this.isOpenViewFilters=(c=t==null?void 0:t.isOpenViewFilters)!==null&&c!==void 0?c:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var y;(y=r.displayBoList)===null||y===void 0||y.push(new Ai(s))}));var f;this.keywordMapping=(f=t==null?void 0:t.keywordMapping)!==null&&f!==void 0?f:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ev.call(this,t)},Mi=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},St=function e(t){T(this,e),d(this,"code",void 0),d(this,"color",void 0),d(this,"command",void 0),d(this,"confirmMessage",void 0),d(this,"defaultState",void 0),d(this,"formKey",void 0),d(this,"icon",void 0),d(this,"needConfirm",void 0),d(this,"openType",void 0),d(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var c;this.defaultState=(c=t==null?void 0:t.defaultState)!==null&&c!==void 0?c:"default";var f;this.formKey=(f=t==null?void 0:t.formKey)!==null&&f!==void 0?f:void 0;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Iv=function e(t){T(this,e);var r;d(this,"name",void 0),d(this,"key",void 0),d(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(c){return new Ai(c)}))!==null&&i!==void 0?i:[]},fo=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o,i;o=t.call(this,n),d(L(o),"attributes",void 0);var c;return o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Iv(f)}))!==null&&c!==void 0?c:[],o}return r}(J),zP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o,i;o=t.call(this,n),d(L(o),"attributes",void 0),d(L(o),"formCode",void 0);var c;o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Iv(l)}))!==null&&c!==void 0?c:[];var f;return o.formCode=(f=n==null?void 0:n.formCode)!==null&&f!==void 0?f:"",o}return r}(J),Cv=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"rootNode",void 0),d(L(o),"filterCode",void 0),o.rootNode=new or(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(fo),GP=function e(t){T(this,e);var r;d(this,"dataCode",void 0),d(this,"appId",void 0),d(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(c){return new Te(c)}))!==null&&i!==void 0?i:[]},ki=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this,n),d(L(o),"filters",void 0),d(L(o),"viewFilters",void 0),d(L(o),"orders",void 0),Ev.call(L(o),n),o}return r}(GP),Nv=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"mode",void 0),d(L(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var c;return o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1,o}return r}(GP),sL=function e(t){T(this,e),d(this,"zh",void 0),d(this,"en",void 0),d(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},Bv=function e(t){T(this,e),d(this,"stencilName",void 0),d(this,"expression",void 0),d(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Av=function e(t){T(this,e),d(this,"id",void 0),d(this,"label",void 0),d(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},YP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"image",void 0),d(L(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var c;return o.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:"src",o}return r}(Av);function yt(e){var t;return(t=e==null?void 0:e.map(function(r){return new Av(r)}))!==null&&t!==void 0?t:[]}function yL(e){var t;return(t=e==null?void 0:e.map(function(r){return new YP(r)}))!==null&&t!==void 0?t:[]}var Di=function e(){T(this,e)},HP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this),d(L(o),"amount",void 0),d(L(o),"currency",void 0),o.amount=new xe(n==null?void 0:n.amount),o.currency=new xe(n==null?void 0:n.currency),o}return r}(Di),qP=function e(t){T(this,e),d(this,"amount",void 0),d(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:u.AMOUNT_TYPE.CNY},UP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this),d(L(o),"min",void 0),d(L(o),"max",void 0),o.min=new xe(n==null?void 0:n.min),o.max=new xe(n==null?void 0:n.max),o}return r}(Di),WP=function e(t){T(this,e),d(this,"min",void 0),d(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},KP=function e(t){T(this,e),d(this,"city",void 0),d(this,"cityDisplay",void 0),d(this,"district",void 0),d(this,"districtDisplay",void 0),d(this,"province",void 0),d(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var c;this.province=(c=t==null?void 0:t.province)!==null&&c!==void 0?c:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},XP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this),d(L(o),"result",void 0),d(L(o),"unit",void 0),o.result=new xe(n==null?void 0:n.result),o.unit=new xe(n==null?void 0:n.unit),o}return r}(Di),QP=function e(t){T(this,e),d(this,"result",void 0),d(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};u.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(u.AMOUNT_TYPE||(u.AMOUNT_TYPE={})),u.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(u.COMMON_SETTING_TYPE||(u.COMMON_SETTING_TYPE={})),u.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(u.PAGE_STATUS||(u.PAGE_STATUS={}));var Et=function e(t){T(this,e),d(this,"isShow",void 0),d(this,"priorityProcess",void 0),d(this,"formKey",void 0),d(this,"content",void 0),d(this,"openType",void 0),d(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var c;this.type=(c=t==null?void 0:t.type)!==null&&c!==void 0?c:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},JP=function e(t){T(this,e);var r;d(this,"id",void 0),d(this,"title",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:rt(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new kP(c)}))!==null&&i!==void 0?i:[],Ev.call(this,t)},vL=function e(t){T(this,e),d(this,"key",void 0),d(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:rt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},ZP=function e(t){T(this,e),d(this,"width",void 0),d(this,"height",void 0),d(this,"widthConfig",void 0),d(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},ew=function e(t){T(this,e),d(this,"optCode",void 0),d(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function dL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(){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 Li(e,t,r){return pL()?Li=Reflect.construct:Li=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&ao(a,c.prototype),a},Li.apply(null,arguments)}function Rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function _L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hL(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:dL(e)}function ao(e,t){return ao=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ao(e,t)}var OL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kv(e){var t=typeof Map=="function"?new Map:void 0;return kv=function(n){if(n===null||!hL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Li(n,arguments,lo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ao(o,n)},kv(e)}function gL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mL(e){var t=gL();return function(){var n=lo(e),o;if(t){var i=lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bL(this,o)}}var Z=function e(t){Mv(this,e),Rn(this,"isHide",{type:"boolean"})},qt=function(e){_L(r,e);var t=mL(r);function r(n){return Mv(this,r),t.call(this)}return r}(kv(Array)),ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Mv(this,e),Rn(this,"isHide",void 0),Rn(this,"className",void 0),Rn(this,"style",void 0),Rn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new ZP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Rn(ee,"Rules",Z),Rn(ee,"RuntimeRules",qt);function vt(){return vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vt.apply(this,arguments)}function PL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Dv(e){return Dv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dv(e)}function ji(e,t){return ji=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ji(e,t)}function wL(){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 Fi(e,t,r){return wL()?Fi=Reflect.construct:Fi=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&ji(a,c.prototype),a},Fi.apply(null,arguments)}function RL(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Lv(e){var t=typeof Map=="function"?new Map:void 0;return Lv=function(n){if(n===null||!RL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Fi(n,arguments,Dv(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ji(o,n)},Lv(e)}var TL=/%[sdj%]/g,tw=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(tw=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function jv(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ve(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var c=String(o).replace(TL,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return f}});return c}return o}function $L(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ne(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||$L(t)&&typeof e=="string"&&!e)}function SL(e,t,r){var n=[],o=0,i=e.length;function c(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,c)})}function nw(e,t,r){var n=0,o=e.length;function i(c){if(c&&c.length){r(c);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function EL(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var rw=function(e){PL(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Lv(Error));function IL(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var b=function(g){return n(g),g.length?v(new rw(g,jv(g))):y()},O=EL(e);nw(O,r,b)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var c=Object.keys(e),f=c.length,l=0,a=[],s=new Promise(function(y,v){var b=function(p){if(a.push.apply(a,p),l++,l===f)return n(a),a.length?v(new rw(a,jv(a))):y()};c.length||(n(a),y()),c.forEach(function(O){var p=e[O];i.indexOf(O)!==-1?nw(p,r,b):SL(p,r,b)})});return s.catch(function(y){return y}),s}function ow(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 iw(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=vt(vt({},e[r]),n):e[r]=n}}return e}function uw(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ne(t,i||e.type))&&n.push(Ve(o.messages.required,e.fullField))}function CL(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ve(o.messages.whitespace,e.fullField))}var Fv={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(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!so.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Fv.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Fv.url)},hex:function(t){return typeof t=="string"&&!!t.match(Fv.hex)}};function NL(e,t,r,n,o){if(e.required&&t===void 0){uw(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;i.indexOf(c)>-1?so[c](t)||n.push(Ve(o.messages.types[c],e.fullField,e.type)):c&&typeof t!==e.type&&n.push(Ve(o.messages.types[c],e.fullField,e.type))}function BL(e,t,r,n,o){var i=typeof e.len=="number",c=typeof e.min=="number",f=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,s=null,y=typeof t=="number",v=typeof t=="string",b=Array.isArray(t);if(y?s="number":v?s="string":b&&(s="array"),!s)return!1;b&&(a=t.length),v&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(Ve(o.messages[s].len,e.fullField,e.len)):c&&!f&&a<e.min?n.push(Ve(o.messages[s].min,e.fullField,e.min)):f&&!c&&a>e.max?n.push(Ve(o.messages[s].max,e.fullField,e.max)):c&&f&&(a<e.min||a>e.max)&&n.push(Ve(o.messages[s].range,e.fullField,e.min,e.max))}var ir="enum";function AL(e,t,r,n,o){e[ir]=Array.isArray(e[ir])?e[ir]:[],e[ir].indexOf(t)===-1&&n.push(Ve(o.messages[ir],e.fullField,e[ir].join(", ")))}function ML(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ve(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Ve(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var C={required:uw,whitespace:CL,type:NL,range:BL,enum:AL,pattern:ML};function kL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t,"string")&&!e.required)return r();C.required(e,t,n,i,o,"string"),ne(t,"string")||(C.type(e,t,n,i,o),C.range(e,t,n,i,o),C.pattern(e,t,n,i,o),e.whitespace===!0&&C.whitespace(e,t,n,i,o))}r(i)}function DL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C.type(e,t,n,i,o)}r(i)}function LL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t===""&&(t=void 0),ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function jL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C.type(e,t,n,i,o)}r(i)}function FL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),ne(t)||C.type(e,t,n,i,o)}r(i)}function xL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function VL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function zL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t==null&&!e.required)return r();C.required(e,t,n,i,o,"array"),t!=null&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function GL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C.type(e,t,n,i,o)}r(i)}var YL="enum";function HL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C[YL](e,t,n,i,o)}r(i)}function qL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t,"string")&&!e.required)return r();C.required(e,t,n,i,o),ne(t,"string")||C.pattern(e,t,n,i,o)}r(i)}function UL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t,"date")&&!e.required)return r();if(C.required(e,t,n,i,o),!ne(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),C.type(e,f,n,i,o),f&&C.range(e,f.getTime(),n,i,o)}}r(i)}function WL(e,t,r,n,o){var i=[],c=Array.isArray(t)?"array":typeof t;C.required(e,t,n,i,o,c),r(i)}function xv(e,t,r,n,o){var i=e.type,c=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(ne(t,i)&&!e.required)return r();C.required(e,t,n,c,o,i),ne(t,i)||C.type(e,t,n,c,o)}r(c)}function KL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o)}r(i)}var yo={string:kL,method:DL,number:LL,boolean:jL,regexp:FL,integer:xL,float:VL,array:zL,object:GL,enum:HL,pattern:qL,date:UL,url:xv,hex:xv,email:xv,required:WL,any:KL};function Vv(){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 zv=Vv();function Ut(e){this.rules=null,this._messages=zv,this.define(e)}Ut.prototype={messages:function(t){return t&&(this._messages=iw(Vv(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,c=r,f=n;if(typeof c=="function"&&(f=c,c={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function l(p){var g,_=[],m={};function w(P){if(Array.isArray(P)){var $;_=($=_).concat.apply($,P)}else _.push(P)}for(g=0;g<p.length;g++)w(p[g]);_.length?m=jv(_):(_=null,m=null),f(_,m)}if(c.messages){var a=this.messages();a===zv&&(a=Vv()),iw(a,c.messages),c.messages=a}else c.messages=this.messages();var s,y,v={},b=c.keys||Object.keys(this.rules);b.forEach(function(p){s=o.rules[p],y=i[p],s.forEach(function(g){var _=g;typeof _.transform=="function"&&(i===t&&(i=vt({},i)),y=i[p]=_.transform(y)),typeof _=="function"?_={validator:_}:_=vt({},_),_.validator=o.getValidationMethod(_),_.field=p,_.fullField=_.fullField||p,_.type=o.getType(_),_.validator&&(v[p]=v[p]||[],v[p].push({rule:_,value:y,source:i,field:p}))})});var O={};return IL(v,c,function(p,g){var _=p.rule,m=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");m=m&&(_.required||!_.required&&p.value),_.field=p.field;function w(R,S){return vt(vt({},S),{},{fullField:_.fullField+"."+R})}function P(R){R===void 0&&(R=[]);var S=R;if(Array.isArray(S)||(S=[S]),!c.suppressWarning&&S.length&&Ut.warning("async-validator:",S),S.length&&_.message!==void 0&&(S=[].concat(_.message)),S=S.map(ow(_)),c.first&&S.length)return O[_.field]=1,g(S);if(!m)g(S);else{if(_.required&&!p.value)return _.message!==void 0?S=[].concat(_.message).map(ow(_)):c.error&&(S=[c.error(_,Ve(c.messages.required,_.field))]),g(S);var k={};if(_.defaultField)for(var je in p.value)p.value.hasOwnProperty(je)&&(k[je]=_.defaultField);k=vt(vt({},k),p.rule.fields);for(var pe in k)if(k.hasOwnProperty(pe)){var _e=Array.isArray(k[pe])?k[pe]:[k[pe]];k[pe]=_e.map(w.bind(null,pe))}var no=new Ut(k);no.messages(c.messages),p.rule.options&&(p.rule.options.messages=c.messages,p.rule.options.error=c.error),no.validate(p.value,p.rule.options||c,function(nr){var Rt=[];S&&S.length&&Rt.push.apply(Rt,S),nr&&nr.length&&Rt.push.apply(Rt,nr),g(Rt.length?Rt:null)})}}var $;_.asyncValidator?$=_.asyncValidator(_,p.value,P,p.source,c):_.validator&&($=_.validator(_,p.value,P,p.source,c),$===!0?P():$===!1?P(_.message||_.field+" fails"):$ instanceof Array?P($):$ instanceof Error&&P($.message)),$&&$.then&&$.then(function(){return P()},function(R){return P(R)})},function(p){l(p)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!yo.hasOwnProperty(t.type))throw new Error(Ve("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?yo.required:yo[this.getType(t)]||!1}},Ut.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");yo[t]=r},Ut.warning=tw,Ut.messages=zv,Ut.validators=yo;var XL={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 cw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ut(e);return r.messages(Object.assign(XL,t)),r}var fw=new $P;function Gv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function QL(e){if(Array.isArray(e))return e}function JL(e){if(Array.isArray(e))return Gv(e)}function lw(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function aw(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){lw(i,n,o,c,f,"next",l)}function f(l){lw(i,n,o,c,f,"throw",l)}c(void 0)})}}function ZL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ej(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yw(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vw(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tj(){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 nj(){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 dw(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){F(e,o,r[o])})}return e}function rj(e){return QL(e)||vw(e)||pw(e)||tj()}function Yv(e){return JL(e)||vw(e)||pw(e)||nj()}function pw(e,t){if(!!e){if(typeof e=="string")return Gv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gv(e,t)}}var _w=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},j=function(){function t(r){var n=this;ZL(this,t),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"updateSetting",bw),F(this,"removeSetting",hw),this._callControlHooks("preInstance",r);var o=yw(this,t)?this.constructor:void 0,i=o.controlName,c=o.controlIcon,f=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,y=o.name,v=o.setting;i&&c&&f||_v("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:rt(10),this.name=i,this.icon=c;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:f,this.props=new ee(r==null?void 0:r.props,(yw(this,t)?this.constructor:void 0).controlName);var p;this.controlType=(p=r==null?void 0:r.controlType)!==null&&p!==void 0?p:"base",this.setting=$t(v);var g;this.fieldType=(g=r==null?void 0:r.fieldType)!==null&&g!==void 0?g:l,this.eventKeys=$t(a),this.customEvents=$t(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return ej(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c,f=rj(o),l=f[0],a=f.slice(1);return(c=fw).emit.apply(c,[l,this].concat(Yv(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),bP(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return aw(function(){var o,i,c;return _w(this,function(f){switch(f.label){case 0:return o=dw({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),c=i[i.length-1],[2,c===!1?void 0:c]}})})()}},{key:"validate",value:function(n,o){var i=this;return aw(function(){var c,f,l,a;return _w(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:c=s.sent(),f=c!==void 0?c:dw({},i.rules),Array.isArray(o)&&o.forEach(function(y){f.hasOwnProperty(y)&&delete f[y]}),l=cw(f,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw a=s.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,c=this.type,f=this.props,l=f.dataBind,a=f.datasourceBind,s=f.optionConfig,y=f.caption,v=f.required,b=f.maxLength,O=f.options,p=f.encrypted,g=f.encryptedMode;if(!(!o&&!l&&!a)){var _={parentId:n,fieldType:o,controlId:i,caption:y,type:c,props:{}};switch(l&&(_.dataBind=l),s){case"datasource":case void 0:a&&(_.datasourceBind=a);break;case"custom":_.props.options=O;break}return v!==void 0&&(_.required=v),b!==void 0&&(_.maxLength=b),p!==void 0&&(_.encrypted=p),g!==void 0&&(_.encryptedMode=g),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:$t(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Yv(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();F(j,"controlName","\u63A7\u4EF6"),F(j,"controlIcon","icon"),F(j,"controlType","control"),F(j,"controlFieldType",void 0),F(j,"controlEventKeys",[]),F(j,"controlCustomEvents",[]),F(j,"setting",[]),F(j,"__is_control__",!0),F(j,"removeSettingItem",hw),F(j,"updateSettingItem",bw);function hw(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",c=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(c!==-1){var f,l;i?t.setting[c].showItems=(f=t.setting[c].showItems)===null||f===void 0?void 0:f.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(c,1),i&&!(!((l=t.setting[c].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(c,1)}})}function bw(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var c,f=(c=t.type)!==null&&c!==void 0?c:"replace";if(f==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Yv(t.showItems))}}}})}function oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ij(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uj(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var te=function(){function t(r){oj(this,t),We(this,"id",void 0),We(this,"type",void 0),We(this,"controlType",void 0),We(this,"props",void 0),We(this,"fieldType",void 0),We(this,"customEvents",[]),We(this,"pageStatus",void 0),We(this,"parent",null);var n=uj(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,c=n.name,f=n.controlCustomEvents;o||_v("The ".concat(c," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:rt(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new ee(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var v;this.pageStatus=(v=r==null?void 0:r.pageStatus)!==null&&v!==void 0?v:u.PAGE_STATUS.UNKNOWN}return ij(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();We(te,"controlType","control"),We(te,"controlFieldType",void 0),We(te,"__is_control__",!0),We(te,"controlCustomEvents",[]);function xi(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),c=mP(i);i.length!==c.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function vo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,c){i.length===0&&c(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),c()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function Gi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cj(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function fj(e,t){return t&&(lj(t)==="object"||typeof t=="function")?t:z(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var lj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yi(e){var t=aj();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fj(this,o)}}var le=function(e){Gi(r,e);var t=Yi(r);function r(n){Vi(this,r);var o;o=t.call(this,n),G(z(o),"dataBind",{}),G(z(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),G(z(o),"isHideCaption",{type:"boolean"}),G(z(o),"labelPosition",{type:"enum",enum:["top","left"]}),G(z(o),"defaultState",{type:"enum",enum:["default","readonly"]}),G(z(o),"required",{type:"boolean"}),G(z(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(cj(n.dataBind,xe))o.dataBind={type:"object",required:!0,fields:$t(i),message:h.getMessage("pleaseEnterFieldCode")};else{var c={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){c.fields[f]={type:"object",required:!0,fields:$t(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=c}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),x=function(e){Gi(r,e);var t=Yi(r);function r(n){Vi(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(qt),B=function(e){Gi(r,e);var t=Yi(r);function r(n){Vi(this,r);var o;o=t.call(this,n),G(z(o),"caption",void 0),G(z(o),"isHideCaption",void 0),G(z(o),"isShowCaptionTip",void 0),G(z(o),"captionTip",void 0),G(z(o),"labelPosition",void 0),G(z(o),"dataBind",void 0),G(z(o),"defaultValue",void 0),G(z(o),"placeholder",void 0),G(z(o),"defaultState",void 0),G(z(o),"required",void 0),G(z(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var v;o.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new xe(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(ee);G(B,"Rules",le),G(B,"RuntimeRules",x);var Tn=function(e){Gi(r,e);var t=Yi(r);function r(n){Vi(this,r);var o;return o=t.call(this,n),G(z(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),G(z(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),G(z(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),xi.call(z(o),n),o}return r}(le);function qv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function yj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function vj(e,t){return t&&(dj(t)==="object"||typeof t=="function")?t:qv(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var dj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _j(e){var t=pj();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vj(this,o)}}var A=function(e){yj(r,e);var t=_j(r);function r(n){sj(this,r);var o;return o=t.call(this,n),Hi(qv(o),"controlType","form"),Hi(qv(o),"props",void 0),o.props=new B(n==null?void 0:n.props),o}return r}(j);Hi(A,"controlEventKeys",["on_change","on_focus","on_blur"]),Hi(A,"controlCustomAttributes",void 0);function Ui(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 Wv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(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&&Kv(e,t)}function Oj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:Ui(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var gj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pj(e){var t=mj();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oj(this,o)}}var M=function(e){bj(r,e);var t=Pj(r);function r(n){hj(this,r);var o;return o=t.call(this,n),Wv(Ui(o),"controlType","form"),Wv(Ui(o),"props",void 0),Wv(Ui(o),"value",void 0),o.props=new B(n==null?void 0:n.props),o}return r}(te);function wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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&&Xv(e,t)}function $j(e,t){return t&&(Sj(t)==="object"||typeof t=="function")?t:wj(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var Sj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ej(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ej();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $j(this,o)}}var V=function(e){Tj(r,e);var t=Ij(r);function r(n){return Rj(this,r),t.call(this,n)}return r}(ee);function Qv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Cj(e){if(Array.isArray(e))return Qv(e)}function Nj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bj(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function gw(e){return Cj(e)||Nj(e)||Aj(e)||Bj()}function Aj(e,t){if(!!e){if(typeof e=="string")return Qv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qv(e,t)}}function mw(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Jv(e,t){e.parent=t,mw(e,"parent")}function Pw(e,t){e.forEach(function(r){Jv(r,t)})}var ww=Symbol("targetKey");function Rw(e){var t;return(t=e[ww])!==null&&t!==void 0?t:e}function Tw(e,t){return Pw(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,c=new Array(i>2?i-2:0),f=2;f<i;f++)c[f-2]=arguments[f];var l;return o===ww?n:(l=Reflect).get.apply(l,[n,o].concat(gw(c)))},set:function(n,o,i){for(var c=arguments.length,f=new Array(c>3?c-3:0),l=3;l<c;l++)f[l-3]=arguments[l];var a;if(On(e)&&o==="length"&&i===e.length)return!0;var s=(a=Reflect).set.apply(a,[n,o,i].concat(gw(f)));return gv(i)&&Jv(i,t),s}})}function dt(e,t,r,n){var o=n!=null?n:e,i=Tw(Rw(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=Tw(Rw(f),o)},enumerable:!0})}function Zv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Mj(e){if(Array.isArray(e))return Zv(e)}function $n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $w(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function kj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){$w(i,n,o,c,f,"next",l)}function f(l){$w(i,n,o,c,f,"throw",l)}c(void 0)})}}function Dj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lj(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ur=Reflect.get:ur=function(o,i,c){var f=qj(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ur(e,t,r||e)}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kt(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&&ed(e,t)}function Fj(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function xj(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 zj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Wt(e,o,r[o])})}return e}function Gj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Yj(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gj(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Hj(e,t){return t&&(Uj(t)==="object"||typeof t=="function")?t:$n(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function qj(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kt(e),e!==null););return e}function Ew(e){return Mj(e)||xj(e)||Wj(e)||Vj()}var Uj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wj(e,t){if(!!e){if(typeof e=="string")return Zv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zv(e,t)}}function Kj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xj(e){var t=Kj();return function(){var n=Kt(e),o;if(t){var i=Kt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var Qj=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Jj=1e4,Y=function(t){jj(n,t);var r=Xj(n);function n(o){Dj(this,n);var i;i=r.call(this,o),Wt($n(i),"controlType","layout"),Wt($n(i),"children",void 0),Wt($n(i),"excludes",void 0),Wt($n(i),"childrenMaxLength",void 0),Wt($n(i),"props",void 0);var c=Fj(this,n)?this.constructor:void 0,f=c.excludes,l=c.childrenMaxLength;return i.props=new V(o==null?void 0:o.props),dt($n(i),"children",o==null?void 0:o.children),i.excludes=$t(f),i.childrenMaxLength=l,i}return Lj(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var c=this.judgeExcludesChildren(i);return c&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,c){var f=this,l=this,a=function(){return ur(Kt(n.prototype),"validate",f)};return kj(function(){return Qj(this,function(s){switch(s.label){case 0:return[4,a().call(l,i,c)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(y){return y.validate(i,c)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=ur(Kt(n.prototype),"toDataBindModel",this).call(this),f=c?[c]:[];return this.children.reduce(function(l,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return Ew(l).concat(Ew(y))}return s&&l.push(s),l},f)}},{key:"toSchema",value:function(){var i=ur(Kt(n.prototype),"toSchema",this).call(this),c=this.children.map(function(f){var l=f.toSchema();return l});return Yj(zj({},i),{children:c})}}]),n}(j);Wt(Y,"excludes",!1),Wt(Y,"childrenMaxLength",Jj);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function eF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tF(e,t){return t&&(nF(t)==="object"||typeof t=="function")?t:po(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var nF=function(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 oF(e){var t=rF();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tF(this,o)}}var W=function(e){eF(r,e);var t=oF(r);function r(n){Zj(this,r);var o;return o=t.call(this,n),td(po(o),"controlType","layout"),td(po(o),"children",void 0),td(po(o),"props",void 0),o.props=new V(n==null?void 0:n.props),dt(po(o),"children",n==null?void 0:n.children),o}return r}(te);function rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function cF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function fF(e,t){return t&&(lF(t)==="object"||typeof t=="function")?t:rd(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var lF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sF(e){var t=aF();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fF(this,o)}}var _o=function(e){cF(r,e);var t=sF(r);function r(n,o){iF(this,r);var i;return i=t.call(this,o),uF(rd(i),"headers",void 0),dt(rd(i),"headers",o==null?void 0:o.headers,n),i}return r}(ee);function id(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function yF(e){if(Array.isArray(e))return id(e)}function Ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iw(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function vF(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){Iw(i,n,o,c,f,"next",l)}function f(l){Iw(i,n,o,c,f,"throw",l)}c(void 0)})}}function dF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pF(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function Zi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cr=Reflect.get:cr=function(o,i,c){var f=mF(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},cr(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(e)}function _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&&ud(e,t)}function hF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bF(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Nw(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Zi(e,o,r[o])})}return e}function OF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Bw(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):OF(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function gF(e,t){return t&&(PF(t)==="object"||typeof t=="function")?t:Ji(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function mF(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function Aw(e){return yF(e)||hF(e)||wF(e)||bF()}var PF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wF(e,t){if(!!e){if(typeof e=="string")return id(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return id(e,t)}}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 TF(e){var t=RF();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gF(this,o)}}var $F=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},eu=function(e){_F(r,e);var t=TF(r);function r(n){dF(this,r);var o;return o=t.call(this,n),Zi(Ji(o),"controlType","list"),Zi(Ji(o),"props",void 0),o.props=new _o(Ji(o),n==null?void 0:n.props),o}return pF(r,[{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return cr(Xt(r.prototype),"validate",c)};return vF(function(){return $F(this,function(a){switch(a.label){case 0:return[4,l().call(f,o)];case 1:return a.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=cr(Xt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],c=this.id;return this.props.headers.reduce(function(f,l){var a=l.toDataBindModel(c);if(Array.isArray(a)){var s=a.filter(function(y){return!!y});return Aw(f).concat(Aw(s))}return a&&f.push(a),f},i)}},{key:"toSchema",value:function(){var o=cr(Xt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(c){return c.toSchema()});return Bw(Nw({},o),{props:Bw(Nw({},this.props),{headers:i})})}}]),r}(j);Zi(eu,"controlFieldType",u.FieldTypes.LIST);function fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EF(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function CF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:fr(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var NF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AF(e){var t=BF();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CF(this,o)}}var ld=function(e){IF(r,e);var t=AF(r);function r(n){SF(this,r);var o;return o=t.call(this,n),cd(fr(o),"controlType","list"),cd(fr(o),"children",void 0),cd(fr(o),"props",void 0),o.props=new _o(fr(o),n==null?void 0:n.props),dt(fr(o),"children",n==null?void 0:n.children),o}return EF(r,[{key:"length",get:function(){return this.children.length}}]),r}(te);function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function sd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MF(e,t){return t&&(kF(t)==="object"||typeof t=="function")?t:ae(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var kF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vd(e){var t=DF();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MF(this,o)}}var pt=function(e){sd(r,e);var t=vd(r);function r(n){ad(this,r);var o;return o=t.call(this,n),be(ae(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),be(ae(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Z),K=function(e){sd(r,e);var t=vd(r);function r(n){ad(this,r);var o;o=t.call(this,n),be(ae(o),"widthType",void 0),be(ae(o),"width",void 0),be(ae(o),"caption",void 0),be(ae(o),"dataBind",void 0),be(ae(o),"autoWidth",void 0),be(ae(o),"fixed",void 0),be(ae(o),"sort",void 0),be(ae(o),"align",void 0),be(ae(o),"colSpan",void 0),be(ae(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new Tv(n==null?void 0:n.autoWidth),o.dataBind=new xe(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(ee);be(K,"Rules",pt);var dd=function(e){sd(r,e);var t=vd(r);function r(n){ad(this,r);var o;return o=t.call(this,n),be(ae(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),be(ae(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),be(ae(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),xi.call(ae(o),n),o}return r}(pt);function pd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function jF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function FF(e,t){return t&&(xF(t)==="object"||typeof t=="function")?t:pd(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var xF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zF(e){var t=VF();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FF(this,o)}}var ie=function(e){jF(r,e);var t=zF(r);function r(n){LF(this,r);var o;return o=t.call(this,n),kw(pd(o),"controlType","column"),kw(pd(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(j);function hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function YF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HF(e,t){return t&&(qF(t)==="object"||typeof t=="function")?t:hd(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var qF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WF(e){var t=UF();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HF(this,o)}}var ue=function(e){YF(r,e);var t=WF(r);function r(n){GF(this,r);var o;return o=t.call(this,n),Dw(hd(o),"controlType","column"),Dw(hd(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(te);function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function QF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function JF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:Lw(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var ZF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t4(e){var t=e4();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JF(this,o)}}var uu=function(e){QF(r,e);var t=t4(r);function r(n){KF(this,r);var o;return o=t.call(this,n),XF(Lw(o),"dataBind",void 0),o.dataBind=new xe(n==null?void 0:n.dataBind),o}return r}(V);function gd(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 jw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function 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&&md(e,t)}function o4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:gd(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var i4=function(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 n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o4(this,o)}}var Fw=function(e){r4(r,e);var t=c4(r);function r(n){n4(this,r);var o;return o=t.call(this,n),jw(gd(o),"controlType","search"),jw(gd(o),"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return r}(Y);function Pd(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 xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function 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&&wd(e,t)}function a4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:Pd(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var s4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v4(e){var t=y4();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a4(this,o)}}var Vw=function(e){l4(r,e);var t=v4(r);function r(n){f4(this,r);var o;return o=t.call(this,n),xw(Pd(o),"controlType","search"),xw(Pd(o),"props",void 0),o.props=new uu(n==null?void 0:n.props),o}return r}(W);function d4(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 lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(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&&Rd(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:d4(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var b4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g4(e){var t=O4();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h4(this,o)}}var au=function(e){_4(r,e);var t=g4(r);function r(n){return p4(this,r),t.call(this,n)}return r}(V);function Td(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function w4(e,t){return t&&(R4(t)==="object"||typeof t=="function")?t:Td(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var R4=function(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 $4(e){var t=T4();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var Gw=function(e){P4(r,e);var t=$4(r);function r(n){m4(this,r);var o;return o=t.call(this,n),zw(Td(o),"controlType","wrap"),zw(Td(o),"props",void 0),o.props=new au(n==null?void 0:n.props),o}return r}(Y);function Sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function E4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function I4(e,t){return t&&(C4(t)==="object"||typeof t=="function")?t:Sd(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var C4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B4(e){var t=N4();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I4(this,o)}}var Hw=function(e){E4(r,e);var t=B4(r);function r(n){S4(this,r);var o;return o=t.call(this,n),Yw(Sd(o),"controlType","wrap"),Yw(Sd(o),"props",void 0),o.props=new au(n==null?void 0:n.props),o}return r}(W);function Qt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Id(e,t)}function k4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:lr(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}var D4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j4(e){var t=L4();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k4(this,o)}}var Cd=function(e){M4(r,e);var t=j4(r);function r(n){A4(this,r);var o;o=t.call(this,n),ho(lr(o),"content",void 0),ho(lr(o),"fontSize",void 0),ho(lr(o),"color",void 0),ho(lr(o),"icon",void 0),ho(lr(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"#646A73";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;return o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57",o}return r}(ee);function qw(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 Uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x4(e,t,r){return t&&Uw(e.prototype,t),r&&Uw(e,r),e}function Ww(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function V4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:qw(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var G4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H4(e){var t=Y4();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z4(this,o)}}var Kw=function(e){V4(r,e);var t=H4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),Ww(qw(o),"props",void 0),o.props=new Cd(n==null?void 0:n.props),o}return x4(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(j);Ww(Kw,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U4(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function W4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function K4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:Xw(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var Q4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z4(e){var t=J4();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X4(this,o)}}var e5=function(e){K4(r,e);var t=Z4(r);function r(n){q4(this,r);var o;return o=t.call(this,n),W4(Xw(o),"props",void 0),o.props=new Cd(n==null?void 0:n.props),o}return U4(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(te),Jw={Designer:Kw,Runtime:e5,Property:Cd};function _u(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function 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&&Md(e,t)}function r5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:_u(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var o5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u5(e){var t=i5();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r5(this,o)}}var kd=function(e){n5(r,e);var t=u5(r);function r(n){t5(this,r);var o;o=t.call(this,n),Ad(_u(o),"content",void 0),Ad(_u(o),"url",void 0),Ad(_u(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var c;o.url=(c=n==null?void 0:n.url)!==null&&c!==void 0?c:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(ee);function Zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f5(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Dd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function l5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function a5(e,t){return t&&(s5(t)==="object"||typeof t=="function")?t:Zw(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var s5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v5(e){var t=y5();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var jd=function(e){l5(r,e);var t=v5(r);function r(n){c5(this,r);var o;return o=t.call(this,n),Dd(Zw(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return f5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(j);Dd(jd,"controlEventKeys",["on_click"]),Dd(jd,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p5(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function _5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function h5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function b5(e,t){return t&&(O5(t)==="object"||typeof t=="function")?t:tR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var O5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m5(e){var t=g5();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b5(this,o)}}var P5=function(e){h5(r,e);var t=m5(r);function r(n){d5(this,r);var o;return o=t.call(this,n),_5(tR(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return p5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(te),rR={Designer:jd,Runtime:P5,Property:kd};function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function T5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:_t(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var $5=function(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 n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T5(this,o)}}var $e=function(e){R5(r,e);var t=E5(r);function r(n){w5(this,r);var o;o=t.call(this,n),It(_t(o),"content",void 0),It(_t(o),"buttonType",void 0),It(_t(o),"showType",void 0),It(_t(o),"color",void 0),It(_t(o),"icon",void 0),It(_t(o),"defaultState",void 0),It(_t(o),"command",void 0),It(_t(o),"isLoading",void 0),It(_t(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1;var b;return o.optObj=new ew((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(ee);function oR(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 iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C5(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function Vd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function B5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:oR(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var A5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k5(e){var t=M5();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B5(this,o)}}var Se=function(e){N5(r,e);var t=k5(r);function r(n){I5(this,r);var o;return o=t.call(this,n),Vd(oR(o),"props",void 0),o.props=new $e(n==null?void 0:n.props),o}return C5(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(j);Vd(Se,"controlEventKeys",["on_click","on_click_finish"]),Vd(Se,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L5(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function j5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function F5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function x5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:uR(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var V5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G5(e){var t=z5();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x5(this,o)}}var ze=function(e){F5(r,e);var t=G5(r);function r(n){D5(this,r);var o;return o=t.call(this,n),j5(uR(o),"props",void 0),o.props=new $e(n==null?void 0:n.props),o}return L5(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(te),fR={Designer:Se,Runtime:ze,Property:$e};function Ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(u.TitleConfigEnum||(u.TitleConfigEnum={})),u.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(u.DATE_CONFIG_TYPE||(u.DATE_CONFIG_TYPE={})),u.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(u.DATE_LIMIT_TYPE||(u.DATE_LIMIT_TYPE={}));var wu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:u.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:u.DATE_LIMIT_TYPE.FILE_IN_TIME,id:rt(8),value:["",""]};Ct(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};u.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(u.SCORE_TYPE||(u.SCORE_TYPE={}));var Ru=function e(t){Ct(this,e),E(this,"id",void 0),E(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};u.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(u.LINE_STYLE||(u.LINE_STYLE={}));var Yd=function e(t){Ct(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new or((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,c;this.telephone=(c=t==null?void 0:t.telephone)!==null&&c!==void 0?c:new or((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new or((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},lR=function e(t){Ct(this,e);var r;E(this,"fileControl",void 0),E(this,"undersignedList",void 0),E(this,"statusControl",void 0),E(this,"completeControl",void 0),E(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new Yd(l)}))!==null&&o!==void 0?o:[new Yd];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var c;this.completeControl=(c=t==null?void 0:t.completeControl)!==null&&c!==void 0?c:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Hd=function e(t){Ct(this,e),E(this,"id",void 0),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"svcCode",void 0),E(this,"name",void 0),E(this,"fieldList",void 0),E(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var c;this.name=(c=t==null?void 0:t.name)!==null&&c!==void 0?c:"";var f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},qd=function e(t){Ct(this,e),E(this,"active",void 0),E(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},aR=function e(t){Ct(this,e),E(this,"types",void 0),E(this,"history",void 0),E(this,"collaborativeRecord",void 0),E(this,"logicToDelete",void 0),E(this,"watermark",void 0),E(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new qd(t==null?void 0:t.watermark),this.autoRename=new qd(t==null?void 0:t.autoRename)},sR=480;function bo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var yR=function e(t){Ct(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var c;this.rules=(c=t.rules)!==null&&c!==void 0?c:[]},vR=function e(t){Ct(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};u.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(u.EncryptTypeEnum||(u.EncryptTypeEnum={})),u.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(u.OrganizeType||(u.OrganizeType={})),u.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(u.DepartmentType||(u.DepartmentType={})),u.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(u.AssignType||(u.AssignType={})),u.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(u.InternalType||(u.InternalType={}));function Ud(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function H5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function q5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:Ud(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var U5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K5(e){var t=W5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q5(this,o)}}var Kd=function(e){H5(r,e);var t=K5(r);function r(n){Y5(this,r);var o;o=t.call(this,n),dR(Ud(o),"color",void 0),dR(Ud(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var c;return o.lineStyle=(c=n==null?void 0:n.lineStyle)!==null&&c!==void 0?c:u.LINE_STYLE.SOLID,o}return r}(ee);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q5(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function J5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Z5(e,t){return t&&(e6(t)==="object"||typeof t=="function")?t:pR(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var e6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n6(e){var t=t6();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z5(this,o)}}var bR=function(e){J5(r,e);var t=n6(r);function r(n){X5(this,r);var o;return o=t.call(this,n),hR(pR(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return Q5(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(j);hR(bR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]}]);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o6(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function i6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function u6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c6(e,t){return t&&(f6(t)==="object"||typeof t=="function")?t:OR(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var f6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a6(e){var t=l6();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c6(this,o)}}var s6=function(e){u6(r,e);var t=a6(r);function r(n){r6(this,r);var o;return o=t.call(this,n),i6(OR(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return o6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(te),mR={Designer:bR,Runtime:s6,Property:Kd};function Jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function wR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:Jt(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var v6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RR(e){var t=d6();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y6(this,o)}}var p6=function(e){wR(r,e);var t=RR(r);function r(n){PR(this,r);var o;return o=t.call(this,n),Zt(Jt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Zt(Jt(o),"dataBind",{type:"any"}),Zt(Jt(o),"config",{type:"array"}),n.config.includes(u.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")}),o}return r}(Z),Iu=function(e){wR(r,e);var t=RR(r);function r(n){PR(this,r);var o;o=t.call(this,n),Zt(Jt(o),"dataBind",void 0),Zt(Jt(o),"caption",void 0),Zt(Jt(o),"config",void 0),Zt(Jt(o),"position",void 0),o.dataBind=new xe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[u.TitleConfigEnum.ShowSubmitUser,u.TitleConfigEnum.ShowSubmitDept,u.TitleConfigEnum.ShowSubmitTime,u.TitleConfigEnum.ShowCurrentApprovar,u.TitleConfigEnum.ShowTitle];var c,f;o.caption=(f=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ar==null?void 0:ar.controlName)!==null&&f!==void 0?f:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(ee);Zt(Iu,"Rules",p6);function TR(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 $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h6(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function b6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function O6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:TR(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var g6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=m6();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O6(this,o)}}var ar=function(e){b6(r,e);var t=P6(r);function r(n){_6(this,r);var o;return o=t.call(this,n),Zd(TR(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return h6(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(j);Zd(ar,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Zd(ar,"setting",[{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R6(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function T6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function $6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function S6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:SR(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var E6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=I6();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S6(this,o)}}var N6=function(e){$6(r,e);var t=C6(r);function r(n){w6(this,r);var o;return o=t.call(this,n),T6(SR(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return R6(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(te),IR={Designer:ar,Runtime:N6,Property:Iu};function Bu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function NR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function B6(e,t){return t&&(A6(t)==="object"||typeof t=="function")?t:Bu(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var A6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BR(e){var t=M6();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B6(this,o)}}var k6=function(e){NR(r,e);var t=BR(r);function r(n){CR(this,r);var o;return o=t.call(this,n),Au(Bu(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Z),ku=function(e){NR(r,e);var t=BR(r);function r(n){CR(this,r);var o;o=t.call(this,n),Au(Bu(o),"formKey",void 0),Au(Bu(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Oo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Oo.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}($e);Au(ku,"Rules",k6);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L6(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function rp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function j6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function F6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:AR(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var x6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z6(e){var t=V6();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F6(this,o)}}var Oo=function(e){j6(r,e);var t=z6(r);function r(n){D6(this,r);var o;return o=t.call(this,n),rp(AR(o),"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return L6(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Se);rp(Oo,"controlEventKeys",["on_click","on_click_finish"]),rp(Oo,"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 kR(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 DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y6(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function H6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function U6(e,t){return t&&(W6(t)==="object"||typeof t=="function")?t:kR(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var W6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X6(e){var t=K6();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U6(this,o)}}var Q6=function(e){q6(r,e);var t=X6(r);function r(n){G6(this,r);var o;return o=t.call(this,n),H6(kR(o),"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return Y6(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ze),LR={Designer:Oo,Runtime:Q6,Property:ku};function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function FR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function J6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:sr(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}var Z6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ex(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xR(e){var t=ex();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J6(this,o)}}var tx=function(e){FR(r,e);var t=xR(r);function r(n){jR(this,r);var o;return o=t.call(this,n),yr(sr(o),"processKey",[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]),o}return r}(Z),Fu=function(e){FR(r,e);var t=xR(r);function r(n){jR(this,r);var o;o=t.call(this,n),yr(sr(o),"processKey",void 0),yr(sr(o),"initiatorMode",void 0),yr(sr(o),"fieldCode",void 0),yr(sr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:go.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:go.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}($e);yr(Fu,"Rules",tx);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rx(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function cp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(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&&fp(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:VR(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var ux=function(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 fx(e){var t=cx();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ix(this,o)}}var go=function(e){ox(r,e);var t=fx(r);function r(n){nx(this,r);var o;return o=t.call(this,n),cp(VR(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return rx(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Se);cp(go,"controlEventKeys",["on_click","on_click_finish"]),cp(go,"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 GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ax(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function sx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function 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&&lp(e,t)}function vx(e,t){return t&&(dx(t)==="object"||typeof t=="function")?t:GR(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var dx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function px(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _x(e){var t=px();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vx(this,o)}}var hx=function(e){yx(r,e);var t=_x(r);function r(n){lx(this,r);var o;return o=t.call(this,n),sx(GR(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return ax(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ze),HR={Designer:go,Runtime:hx,Property:Fu};function bx(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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function mx(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:bx(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var Px=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rx(e){var t=wx();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mx(this,o)}}var sp=function(e){gx(r,e);var t=Rx(r);function r(n){Ox(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:mo.controlIcon,o}return r}($e);function qR(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 UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $x(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function yp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function Sx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function Ex(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:qR(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var Ix=function(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 Nx(e){var t=Cx();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ex(this,o)}}var mo=function(e){Sx(r,e);var t=Nx(r);function r(n){Tx(this,r);var o;return o=t.call(this,n),yp(qR(o),"props",void 0),o.props=new sp(n==null?void 0:n.props),o}return $x(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Se);yp(mo,"controlEventKeys",["on_click"]),yp(mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ax(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function Mx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function kx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function Dx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:WR(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var Lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fx(e){var t=jx();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dx(this,o)}}var xx=function(e){kx(r,e);var t=Fx(r);function r(n){Bx(this,r);var o;return o=t.call(this,n),Mx(WR(o),"props",void 0),o.props=new sp(n==null?void 0:n.props),o}return Ax(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ze),XR={Designer:mo,Runtime:xx,Property:sp};function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function Gx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function Yx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:QR(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var Hx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ux(e){var t=qx();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yx(this,o)}}var _p=function(e){Gx(r,e);var t=Ux(r);function r(n){Vx(this,r);var o,i;o=t.call(this,n),zx(QR(o),"templateList",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Po.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Po.controlName;var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(a){return new Hd(a)}))!==null&&l!==void 0?l:[new Hd({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}($e);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kx(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(e,r),e}function hp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function Xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function Qx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:JR(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var Jx=function(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 e8(e){var t=Zx();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qx(this,o)}}var Po=function(e){Xx(r,e);var t=e8(r);function r(n){Wx(this,r);var o;return o=t.call(this,n),hp(JR(o),"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return Kx(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Se);hp(Po,"controlEventKeys",["on_click","on_click_finish"]),hp(Po,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n8(e,t,r){return t&&tT(e.prototype,t),r&&tT(e,r),e}function r8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function o8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:eT(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var u8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f8(e){var t=c8();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i8(this,o)}}var l8=function(e){o8(r,e);var t=f8(r);function r(n){t8(this,r);var o;return o=t.call(this,n),r8(eT(o),"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return n8(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ze),nT={Designer:Po,Runtime:l8,Property:_p};function a8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function y8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function v8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:a8(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}var d8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _8(e){var t=p8();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v8(this,o)}}var mp=function(e){y8(r,e);var t=_8(r);function r(n){s8(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:wo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:wo.controlIcon,o}return r}($e);function rT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b8(e,t,r){return t&&oT(e.prototype,t),r&&oT(e,r),e}function Pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function O8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function g8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:rT(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var m8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w8(e){var t=P8();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g8(this,o)}}var wo=function(e){O8(r,e);var t=w8(r);function r(n){h8(this,r);var o;return o=t.call(this,n),Pp(rT(o),"props",void 0),o.props=new mp(n==null?void 0:n.props),o}return b8(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Se);Pp(wo,"controlEventKeys",["on_click"]),Pp(wo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function iT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T8(e,t,r){return t&&uT(e.prototype,t),r&&uT(e,r),e}function $8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function S8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function E8(e,t){return t&&(I8(t)==="object"||typeof t=="function")?t:iT(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var I8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N8(e){var t=C8();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E8(this,o)}}var B8=function(e){S8(r,e);var t=N8(r);function r(n){R8(this,r);var o;return o=t.call(this,n),$8(iT(o),"props",void 0),o.props=new mp(n==null?void 0:n.props),o}return T8(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ze),cT={Designer:wo,Runtime:B8,Property:mp};function fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function M8(e,t){return t&&(k8(t)==="object"||typeof t=="function")?t:fT(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}var k8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L8(e){var t=D8();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M8(this,o)}}var j8=function e(t){lT(this,e),aT(this,"dataCode",void 0),this.dataCode=t.dataCode},$p=function(e){A8(r,e);var t=L8(r);function r(n){lT(this,r);var o,i;o=t.call(this,n),aT(fT(o),"canImportList",void 0);var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ro.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Ro.controlIcon;var l;return o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(a){return new j8(a)}))!==null&&l!==void 0?l:[],o}return r}($e);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x8(e,t,r){return t&&yT(e.prototype,t),r&&yT(e,r),e}function Sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(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&&Ep(e,t)}function z8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:sT(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var G8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H8(e){var t=Y8();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z8(this,o)}}var Ro=function(e){V8(r,e);var t=H8(r);function r(n){F8(this,r);var o;return o=t.call(this,n),Sp(sT(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return x8(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Se);Sp(Ro,"controlEventKeys",["on_click","on_click_finish"]),Sp(Ro,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",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 q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U8(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function W8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function X8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:vT(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}var Q8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z8(e){var t=J8();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X8(this,o)}}var e7=function(e){K8(r,e);var t=Z8(r);function r(n){q8(this,r);var o;return o=t.call(this,n),W8(vT(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return U8(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ze),pT={Designer:Ro,Runtime:e7,Property:$p};function ec(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function bT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Nt(e,o,r[o])})}return e}function t7(e,t){return t&&(n7(t)==="object"||typeof t=="function")?t:en(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var n7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=r7();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t7(this,o)}}var o7=function(e){hT(r,e);var t=OT(r);function r(n){_T(this,r);var o;return o=t.call(this,n),Nt(en(o),"fillPayload",{type:"object",fields:bT({},ec())}),Nt(en(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Nt(en(o),"fillBack",{type:"object",fields:bT({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},ec())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(Z),nc=function(e){hT(r,e);var t=OT(r);function r(n){_T(this,r);var o;o=t.call(this,n),Nt(en(o),"fillPayload",void 0),Nt(en(o),"formBind",void 0),Nt(en(o),"fillBack",void 0),Nt(en(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:To.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:To.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new ki(n==null?void 0:n.fillPayload),o.formBind=new MP(n==null?void 0:n.formBind),o.fillBack=new Nv(n==null?void 0:n.fillBack),o}return r}($e);Nt(nc,"Rules",o7);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u7(e,t,r){return t&&mT(e.prototype,t),r&&mT(e,r),e}function Np(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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&&Bp(e,t)}function f7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:gT(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}var l7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s7(e){var t=a7();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f7(this,o)}}var To=function(e){c7(r,e);var t=s7(r);function r(n){i7(this,r);var o;return o=t.call(this,n),Np(gT(o),"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return u7(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Se);Np(To,"controlEventKeys",["on_click","on_click_finish"]),Np(To,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function PT(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 wT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v7(e,t,r){return t&&wT(e.prototype,t),r&&wT(e,r),e}function d7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function p7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function _7(e,t){return t&&(h7(t)==="object"||typeof t=="function")?t:PT(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}var h7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=b7();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _7(this,o)}}var g7=function(e){p7(r,e);var t=O7(r);function r(n){y7(this,r);var o;return o=t.call(this,n),d7(PT(o),"props",void 0),o.props=new nc(n==null?void 0:n.props),o}return v7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ze),RT={Designer:To,Runtime:g7,Property:nc};function Bt(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 ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function $T(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function ST(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ht(e,o,r[o])})}return e}function m7(e,t){return t&&(P7(t)==="object"||typeof t=="function")?t:Bt(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}var P7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ET(e){var t=w7();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m7(this,o)}}var R7=function(e){$T(r,e);var t=ET(r);function r(n){TT(this,r);var o;return o=t.call(this,n),ht(Bt(o),"fillPayload",{type:"object",fields:ST({},ec())}),ht(Bt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),ht(Bt(o),"fillBack",{type:"object",fields:ST({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},ec())}),o}return r}(Z),uc=function(e){$T(r,e);var t=ET(r);function r(n){TT(this,r);var o;o=t.call(this,n),ht(Bt(o),"fillPayload",void 0),ht(Bt(o),"listPageBind",void 0),ht(Bt(o),"fillBack",void 0),ht(Bt(o),"showSelectedDetail",void 0),ht(Bt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$o.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:$o.controlIcon,o.fillPayload=new ki(n==null?void 0:n.fillPayload),o.listPageBind=new Ni(n==null?void 0:n.listPageBind),o.fillBack=new Nv(n==null?void 0:n.fillBack);var f;return o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new Mi(n==null?void 0:n.selectedContentConfig),o}return r}($e);ht(uc,"Rules",R7);function IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $7(e,t,r){return t&&CT(e.prototype,t),r&&CT(e,r),e}function kp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function S7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function E7(e,t){return t&&(I7(t)==="object"||typeof t=="function")?t:IT(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var I7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N7(e){var t=C7();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E7(this,o)}}var $o=function(e){S7(r,e);var t=N7(r);function r(n){T7(this,r);var o;return o=t.call(this,n),kp(IT(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return $7(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Se);kp($o,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),kp($o,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function NT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A7(e,t,r){return t&&BT(e.prototype,t),r&&BT(e,r),e}function M7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function D7(e,t){return t&&(L7(t)==="object"||typeof t=="function")?t:NT(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var L7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F7(e){var t=j7();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D7(this,o)}}var x7=function(e){k7(r,e);var t=F7(r);function r(n){B7(this,r);var o;return o=t.call(this,n),M7(NT(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return A7(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ze),AT={Designer:$o,Runtime:x7,Property:uc};function V7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function Fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function z7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:V7(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var G7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vp(e){var t=Y7();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z7(this,o)}}var H7=function(e){Fp(r,e);var t=Vp(r);function r(n){return jp(this,r),t.call(this,n)}return r}(Z),q7=function(e){Fp(r,e);var t=Vp(r);function r(n){return jp(this,r),t.call(this,n)}return r}(qt),So=function(e){Fp(r,e);var t=Vp(r);function r(n){return jp(this,r),t.call(this,n)}return r}(ee);MT(So,"Rules",H7),MT(So,"RuntimeRules",q7);function kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W7(e,t,r){return t&&DT(e.prototype,t),r&&DT(e,r),e}function LT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function K7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function X7(e,t){return t&&(Q7(t)==="object"||typeof t=="function")?t:kT(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var Q7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z7(e){var t=J7();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X7(this,o)}}var jT=function(e){K7(r,e);var t=Z7(r);function r(n){U7(this,r);var o;return o=t.call(this,n),LT(kT(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return W7(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(j);LT(jT,"setting",[]);function FT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tV(e,t,r){return t&&xT(e.prototype,t),r&&xT(e,r),e}function nV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function rV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function oV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:FT(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var iV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cV(e){var t=uV();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oV(this,o)}}var fV=function(e){rV(r,e);var t=cV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),nV(FT(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return tV(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(te),VT={Designer:jT,Runtime:fV,Property:So};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function GT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function lV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:Ke(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var aV=function(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 YT(e){var t=sV();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lV(this,o)}}var yV=function(e){GT(r,e);var t=YT(r);function r(n){zT(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),Xe(Ke(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Xe(Ke(o),"isHideCaption",{type:"boolean"}),Xe(Ke(o),"labelPosition",{type:"enum",enum:["top","left"]}),Xe(Ke(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),vc=function(e){GT(r,e);var t=YT(r);function r(n){zT(this,r);var o;o=t.call(this,n),Xe(Ke(o),"dashboardKey",void 0),Xe(Ke(o),"caption",void 0),Xe(Ke(o),"isHideCaption",void 0),Xe(Ke(o),"isShowCaptionTip",void 0),Xe(Ke(o),"captionTip",void 0),Xe(Ke(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(ee);Xe(vc,"Rules",yV);function HT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dV(e,t,r){return t&&qT(e.prototype,t),r&&qT(e,r),e}function UT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&Hp(e,t)}function _V(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:HT(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var hV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OV(e){var t=bV();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _V(this,o)}}var WT=function(e){pV(r,e);var t=OV(r);function r(n){vV(this,r);var o;return o=t.call(this,n),UT(HT(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return dV(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(j);UT(WT,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mV(e,t,r){return t&&XT(e.prototype,t),r&&XT(e,r),e}function PV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function wV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function RV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:KT(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var TV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SV(e){var t=$V();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RV(this,o)}}var EV=function(e){wV(r,e);var t=SV(r);function r(n){gV(this,r);var o;return o=t.call(this,n),PV(KT(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return mV(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(te),QT={Designer:WT,Runtime:EV,Property:vc};function Eo(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 Io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function ZT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function IV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:Eo(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var CV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e$(e){var t=NV();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IV(this,o)}}var BV=function(e){ZT(r,e);var t=e$(r);function r(n){JT(this,r);var o;return o=t.call(this,n),Io(Eo(o),"showType",{type:"enum",enum:["select","tabs"]}),Io(Eo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Z),hc=function(e){ZT(r,e);var t=e$(r);function r(n){JT(this,r);var o,i;o=t.call(this,n),Io(Eo(o),"showType",void 0),Io(Eo(o),"viewList",void 0);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new JP(l)}))!==null&&f!==void 0?f:[],o}return r}(ee);Io(hc,"Rules",BV);function t$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MV(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&Wp(e,t)}function DV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:t$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var LV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FV(e){var t=jV();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DV(this,o)}}var o$=function(e){kV(r,e);var t=FV(r);function r(n){AV(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return MV(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(j);r$(o$,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function i$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VV(e,t,r){return t&&u$(e.prototype,t),r&&u$(e,r),e}function zV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(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&&Kp(e,t)}function YV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:i$(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var HV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UV(e){var t=qV();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YV(this,o)}}var WV=function(e){GV(r,e);var t=UV(r);function r(n){xV(this,r);var o;return o=t.call(this,n),zV(i$(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return VV(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(te),c$={Designer:o$,Runtime:WV,Property:hc};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function l$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function KV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:Ne(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var XV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a$(e){var t=QV();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KV(this,o)}}var JV=function(e){l$(r,e);var t=a$(r);function r(n){f$(this,r);var o;return o=t.call(this,n),Be(Ne(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Be(Ne(o),"isHideCaption",{type:"boolean"}),Be(Ne(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ne(o),"ocrType",{type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")}),Be(Ne(o),"fillList",{type:"array",validator:function(c,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Be(Ne(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),mc=function(e){l$(r,e);var t=a$(r);function r(n){f$(this,r);var o,i;o=t.call(this,n),Be(Ne(o),"caption",void 0),Be(Ne(o),"isHideCaption",void 0),Be(Ne(o),"isShowCaptionTip",void 0),Be(Ne(o),"captionTip",void 0),Be(Ne(o),"labelPosition",void 0),Be(Ne(o),"ocrType",void 0),Be(Ne(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:vr.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:vr.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:vr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(p){return new Te(p)}))!==null&&O!==void 0?O:[],o}return r}($e);Be(mc,"Rules",JV);function s$(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 y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ez(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:s$(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}var rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iz(e){var t=oz();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nz(this,o)}}var vr=function(e){tz(r,e);var t=iz(r);function r(n){ZV(this,r);var o;return o=t.call(this,n),Qp(s$(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return ez(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Se);Qp(vr,"controlEventKeys",["on_click","on_click_finish"]),Qp(vr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function v$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cz(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function fz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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&&Zp(e,t)}function az(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:v$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}var sz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vz(e){var t=yz();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return az(this,o)}}var dz=function(e){lz(r,e);var t=vz(r);function r(n){uz(this,r);var o;return o=t.call(this,n),fz(v$(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return cz(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ze),p$={Designer:vr,Runtime:dz,Property:mc};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&e_(e,t)}function pz(e,t){return t&&(_z(t)==="object"||typeof t=="function")?t:Ae(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var _z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b$(e){var t=hz();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pz(this,o)}}var bz=function(e){h$(r,e);var t=b$(r);function r(n){_$(this,r);var o;return o=t.call(this,n),Me(Ae(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Me(Ae(o),"isHideCaption",{type:"boolean"}),Me(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),Me(Ae(o),"invoiceCheck",{type:"boolean"}),Me(Ae(o),"fillList",{type:"array",validator:function(c,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Me(Ae(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),Tc=function(e){h$(r,e);var t=b$(r);function r(n){_$(this,r);var o,i;o=t.call(this,n),Me(Ae(o),"caption",void 0),Me(Ae(o),"isHideCaption",void 0),Me(Ae(o),"isShowCaptionTip",void 0),Me(Ae(o),"captionTip",void 0),Me(Ae(o),"labelPosition",void 0),Me(Ae(o),"invoiceCheck",void 0),Me(Ae(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:dr.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:dr.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:dr.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(p){return new Te(p)}))!==null&&O!==void 0?O:[],o}return r}($e);Me(Tc,"Rules",bz);function O$(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 g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gz(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function mz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n_(e,t)}function Pz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:O$(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var wz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tz(e){var t=Rz();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var dr=function(e){mz(r,e);var t=Tz(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),t_(O$(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return gz(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Se);t_(dr,"controlEventKeys",["on_click","on_click_finish"]),t_(dr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sz(e,t,r){return t&&P$(e.prototype,t),r&&P$(e,r),e}function Ez(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function Iz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function Cz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:m$(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var Nz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Az(e){var t=Bz();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cz(this,o)}}var Mz=function(e){Iz(r,e);var t=Az(r);function r(n){$z(this,r);var o;return o=t.call(this,n),Ez(m$(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return Sz(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ze),w$={Designer:dr,Runtime:Mz,Property:Tc};function Ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ic(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function T$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kz(e,t){return t&&(Dz(t)==="object"||typeof t=="function")?t:Ec(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var Dz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $$(e){var t=Lz();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kz(this,o)}}var jz=function(e){T$(r,e);var t=$$(r);function r(){R$(this,r);var n;return n=t.apply(this,arguments),Ic(Ec(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Z),Nc=function(e){T$(r,e);var t=$$(r);function r(n){R$(this,r);var o,i;o=t.call(this,n),Ic(Ec(o),"printTemplates",void 0),Ic(Ec(o),"autoSelectTemplate",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Co.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Co.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new yR(s)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}($e);Ic(Nc,"Rules",jz);function S$(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 E$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xz(e,t,r){return t&&E$(e.prototype,t),r&&E$(e,r),e}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function Vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function zz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:S$(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var Gz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hz(e){var t=Yz();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zz(this,o)}}var Co=function(e){Vz(r,e);var t=Hz(r);function r(n){Fz(this,r);var o;return o=t.call(this,n),i_(S$(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return xz(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Se);i_(Co,"controlEventKeys",["on_click","on_click_finish"]),i_(Co,"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 I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uz(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function Wz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function Kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function Xz(e,t){return t&&(Qz(t)==="object"||typeof t=="function")?t:I$(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var Qz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zz(e){var t=Jz();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var e9=function(e){Kz(r,e);var t=Zz(r);function r(n){qz(this,r);var o;return o=t.call(this,n),Wz(I$(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return Uz(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ze),N$={Designer:Co,Runtime:e9,Property:Nc};function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function r9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function o9(e,t){return t&&(i9(t)==="object"||typeof t=="function")?t:t9(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var i9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c9(e){var t=u9();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o9(this,o)}}var l_=function(e){r9(r,e);var t=c9(r);function r(n){n9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:No.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:No.controlIcon,o}return r}($e);function B$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l9(e,t,r){return t&&A$(e.prototype,t),r&&A$(e,r),e}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function a9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function s9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:B$(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var y9=function(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 d9(e){var t=v9();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s9(this,o)}}var No=function(e){a9(r,e);var t=d9(r);function r(n){f9(this,r);var o;return o=t.call(this,n),a_(B$(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return l9(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Se);a_(No,"controlEventKeys",["on_click"]),a_(No,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _9(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function h9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function b9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function O9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:M$(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var g9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P9(e){var t=m9();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O9(this,o)}}var w9=function(e){b9(r,e);var t=P9(r);function r(n){p9(this,r);var o;return o=t.call(this,n),h9(M$(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ze),D$={Designer:No,Runtime:w9,Property:l_};function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function j$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function R9(e,t){return t&&(T9(t)==="object"||typeof t=="function")?t:Ee(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var T9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F$(e){var t=$9();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var S9=function(e){j$(r,e);var t=F$(r);function r(n){L$(this,r);var o;return o=t.call(this,n),Ie(Ee(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Z),jc=function(e){j$(r,e);var t=F$(r);function r(n){L$(this,r);var o;o=t.call(this,n),Ie(Ee(o),"content",void 0),Ie(Ee(o),"code",void 0),Ie(Ee(o),"command",void 0),Ie(Ee(o),"color",void 0),Ie(Ee(o),"icon",void 0),Ie(Ee(o),"formKey",void 0),Ie(Ee(o),"openType",void 0),Ie(Ee(o),"needConfirm",void 0),Ie(Ee(o),"confirmMessage",void 0),Ie(Ee(o),"options",void 0),Ie(Ee(o),"defaultState",void 0),Ie(Ee(o),"priorityProcess",void 0),Ie(Ee(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var c;o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(ee);Ie(jc,"Rules",S9);function x$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I9(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function d_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function C9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function N9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:x$(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var B9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M9(e){var t=A9();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N9(this,o)}}var xc=function(e){C9(r,e);var t=M9(r);function r(n){E9(this,r);var o;return o=t.call(this,n),d_(x$(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return I9(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(j);d_(xc,"controlEventKeys",["on_click"]),d_(xc,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D9(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function L9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function j9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function F9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:z$(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var x9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z9(e){var t=V9();return function(){var n=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F9(this,o)}}var G9=function(e){j9(r,e);var t=z9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),L9(z$(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return D9(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(te),Bo={Designer:xc,Runtime:G9,Property:jc};function At(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 tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function H9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:At(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var U9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K9(e){var t=W9();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q9(this,o)}}var b_=function(e){H9(r,e);var t=K9(r);function r(n){Y9(this,r);var o;o=t.call(this,n),tn(At(o),"content",void 0),tn(At(o),"buttonType",void 0),tn(At(o),"showType",void 0),tn(At(o),"color",void 0),tn(At(o),"icon",void 0),tn(At(o),"defaultState",void 0),tn(At(o),"command",void 0),tn(At(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ao.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Ao.controlIcon;var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(ee);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q9(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function O_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function J9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Z9(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:Y$(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var eG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nG(e){var t=tG();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z9(this,o)}}var Ao=function(e){J9(r,e);var t=nG(r);function r(n){X9(this,r);var o;return o=t.call(this,n),O_(Y$(o),"props",void 0),o.props=new b_(n==null?void 0:n.props),o}return Q9(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(j);O_(Ao,"controlEventKeys",["on_click"]),O_(Ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oG(e,t,r){return t&&U$(e.prototype,t),r&&U$(e,r),e}function iG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&m_(e,t)}function cG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:q$(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var fG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aG(e){var t=lG();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cG(this,o)}}var sG=function(e){uG(r,e);var t=aG(r);function r(n){rG(this,r);var o;return o=t.call(this,n),iG(q$(o),"props",void 0),o.props=new b_(n==null?void 0:n.props),o}return oG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(te),W$={Designer:Ao,Runtime:sG,Property:b_},yG=Object.freeze({__proto__:null,Text:Jw,Link:rR,Button:fR,Divider:mR,Title:IR,CreateFormListButton:LR,BatchSubmissionListButton:HR,SubmissionRecordListButton:XR,ExportListButton:nT,ExportRecordListButton:cT,ImportRecordListButton:pT,FormSelectButton:RT,ListSelectButton:AT,Pagination:VT,Dashboard:QT,ListViewSelect:c$,TextOcrButton:p$,InvoiceCheckButton:w$,BatchPrintListButton:N$,BatchPrintRecordListButton:D$,OperationButton:Bo,BatchDeleteButton:W$});function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function w_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function vG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:bt(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var dG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T_(e){var t=pG();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vG(this,o)}}var _G=function(e){w_(r,e);var t=T_(r);function r(n){P_(this,r);var o;return o=t.call(this,n),ot(bt(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ot(bt(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ot(bt(o),"defaultValue",[{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=bo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),hG=function(e){w_(r,e);var t=T_(r);function r(n){P_(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:bo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),pr=function(e){w_(r,e);var t=T_(r);function r(n){P_(this,r);var o;o=t.call(this,n),ot(bt(o),"maxLength",void 0),ot(bt(o),"minLength",void 0),ot(bt(o),"regularRules",void 0),ot(bt(o),"defaultValue",void 0),ot(bt(o),"encrypted",void 0),ot(bt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0,o.regularRules=new Bv(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_r.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(B);ot(pr,"Rules",_G),ot(pr,"RuntimeRules",hG);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OG(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&$_(e,t)}function mG(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:K$(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var PG=function(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 RG(e){var t=wG();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mG(this,o)}}var _r=function(e){gG(r,e);var t=RG(r);function r(n){bG(this,r);var o;return o=t.call(this,n),qc(K$(o),"props",void 0),o.props=new pr(n==null?void 0:n.props),o}return OG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(A);qc(_r,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),qc(_r,"controlFieldType",u.FieldTypes.VARCHAR),qc(_r,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function Q$(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 J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $G(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function Z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&S_(e,t)}function EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:Q$(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var IG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=CG();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EG(this,o)}}var eS=function(e){SG(r,e);var t=NG(r);function r(n){TG(this,r);var o;return o=t.call(this,n),Z$(Q$(o),"props",void 0),o.props=new pr(n==null?void 0:n.props),o}return $G(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(M);Z$(eS,"controlFieldType",u.FieldTypes.VARCHAR);var tS={Designer:_r,Runtime:eS,Property:pr};function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function I_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function BG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:Oe(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var AG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=MG();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BG(this,o)}}var kG=function(e){I_(r,e);var t=N_(r);function r(n){E_(this,r);var o;o=t.call(this,n),se(Oe(o),"limitMax",{type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var c=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=c(n.limitMin),o}return r}(Tn),DG=function(e){I_(r,e);var t=N_(r);function r(n){E_(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(x),Mo=function(e){I_(r,e);var t=N_(r);function r(n){E_(this,r);var o;o=t.call(this,n),se(Oe(o),"checkboxMode",void 0),se(Oe(o),"options",void 0),se(Oe(o),"optionsOrder",void 0),se(Oe(o),"limitMax",void 0),se(Oe(o),"limitMin",void 0),se(Oe(o),"otherOption",void 0),se(Oe(o),"optionConfig",void 0),se(Oe(o),"optionsFormat",void 0),se(Oe(o),"defaultShowOptions",void 0),se(Oe(o),"datasourceBind",void 0),se(Oe(o),"multistageFilling",void 0),se(Oe(o),"interreaction",void 0),se(Oe(o),"defaultValue",void 0),se(Oe(o),"openMultistageFilling",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.checkboxMode=(c=n==null?void 0:n.checkboxMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ko.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var p;o.optionsFormat=(p=n==null?void 0:n.optionsFormat)!==null&&p!==void 0?p:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Te(m))})),o}return r}(B);se(Mo,"Rules",kG),se(Mo,"RuntimeRules",DG);function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jG(e,t,r){return t&&rS(e.prototype,t),r&&rS(e,r),e}function Xc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function FG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B_(e,t)}function xG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:nS(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var VG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GG(e){var t=zG();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xG(this,o)}}var ko=function(e){FG(r,e);var t=GG(r);function r(n){LG(this,r);var o;return o=t.call(this,n),Xc(nS(o),"props",void 0),o.props=new Mo(n==null?void 0:n.props),o}return jG(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);Xc(ko,"controlEventKeys",["on_change","on_click"]),Xc(ko,"controlFieldType",u.FieldTypes.ARRAY),Xc(ko,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function oS(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 iS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function uS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function qG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:oS(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var WG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XG(e){var t=KG();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UG(this,o)}}var cS=function(e){qG(r,e);var t=XG(r);function r(n){YG(this,r);var o;return o=t.call(this,n),uS(oS(o),"props",void 0),o.props=new Mo(n==null?void 0:n.props),o}return HG(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(M);uS(cS,"controlFieldType",u.FieldTypes.ARRAY);var fS={Designer:ko,Runtime:cS,Property:Mo};function Ge(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 Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(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&&M_(e,t)}function QG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:Ge(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var JG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ZG();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QG(this,o)}}var eY=function(e){aS(r,e);var t=sS(r);function r(n){return lS(this,r),t.call(this,n)}return r}(Tn),ef=function(e){aS(r,e);var t=sS(r);function r(n){lS(this,r);var o;o=t.call(this,n),Ye(Ge(o),"radioMode",void 0),Ye(Ge(o),"options",void 0),Ye(Ge(o),"optionConfig",void 0),Ye(Ge(o),"optionsFormat",void 0),Ye(Ge(o),"defaultShowOptions",void 0),Ye(Ge(o),"otherOption",void 0),Ye(Ge(o),"optionsOrder",void 0),Ye(Ge(o),"datasourceBind",void 0),Ye(Ge(o),"multistageFilling",void 0),Ye(Ge(o),"interreaction",void 0),Ye(Ge(o),"defaultValue",void 0),Ye(Ge(o),"openMultistageFilling",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.radioMode=(c=n==null?void 0:n.radioMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Do.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new Te(g))})),o}return r}(B);Ye(ef,"Rules",eY);function yS(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 vS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nY(e,t,r){return t&&vS(e.prototype,t),r&&vS(e,r),e}function tf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function rY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:yS(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var iY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cY(e){var t=uY();return function(){var n=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oY(this,o)}}var Do=function(e){rY(r,e);var t=cY(r);function r(n){tY(this,r);var o;return o=t.call(this,n),tf(yS(o),"props",void 0),o.props=new ef(n==null?void 0:n.props),o}return nY(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);tf(Do,"controlEventKeys",["on_change","on_click"]),tf(Do,"controlFieldType",u.FieldTypes.VARCHAR),tf(Do,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function dS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lY(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function _S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function aY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sY(e,t){return t&&(yY(t)==="object"||typeof t=="function")?t:dS(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}var yY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dY(e){var t=vY();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sY(this,o)}}var hS=function(e){aY(r,e);var t=dY(r);function r(n){fY(this,r);var o;return o=t.call(this,n),_S(dS(o),"props",void 0),o.props=new ef(n==null?void 0:n.props),o}return lY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(M);_S(hS,"controlFieldType",u.FieldTypes.VARCHAR);var bS={Designer:Do,Runtime:hS,Property:ef};function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function j_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function pY(e,t){return t&&(_Y(t)==="object"||typeof t=="function")?t:Ce(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var _Y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x_(e){var t=hY();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pY(this,o)}}var bY=function(e){j_(r,e);var t=x_(r);function r(n){L_(this,r);var o;o=t.call(this,n),ge(Ce(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ge(Ce(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=c,o.defaultValue[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=bo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),OY=function(e){j_(r,e);var t=x_(r);function r(n){L_(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,c=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:c,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:bo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Lo=function(e){j_(r,e);var t=x_(r);function r(n){L_(this,r);var o;o=t.call(this,n),ge(Ce(o),"rangeMin",void 0),ge(Ce(o),"rangeMax",void 0),ge(Ce(o),"numberType",void 0),ge(Ce(o),"percentageFormat",void 0),ge(Ce(o),"micrometer",void 0),ge(Ce(o),"precision",void 0),ge(Ce(o),"showUpperCase",void 0),ge(Ce(o),"isShowUnit",void 0),ge(Ce(o),"unitPosition",void 0),ge(Ce(o),"unit",void 0),ge(Ce(o),"defaultValue",void 0),ge(Ce(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.numberType=(f=n==null?void 0:n.numberType)!==null&&f!==void 0?f:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var v;o.isShowUnit=(v=n==null?void 0:n.isShowUnit)!==null&&v!==void 0?v:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:jo.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new Bv(n==null?void 0:n.regularRules),o}return r}(B);ge(Lo,"Rules",bY),ge(Lo,"RuntimeRules",OY);function OS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mY(e,t,r){return t&&gS(e.prototype,t),r&&gS(e,r),e}function uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,c){var f=RY(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},cf(e,t,r||e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function PY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function wY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:OS(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}function RY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hr(e),e!==null););return e}var TY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SY(e){var t=$Y();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wY(this,o)}}var jo=function(e){PY(r,e);var t=SY(r);function r(n){gY(this,r);var o;return o=t.call(this,n),uf(OS(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return mY(r,[{key:"toDataBindModel",value:function(o){var i=cf(hr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(A);uf(jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),uf(jo,"controlFieldType",u.FieldTypes.DECIMAL),uf(jo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_UNIT,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function mS(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 PS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IY(e,t,r){return t&&PS(e.prototype,t),r&&PS(e,r),e}function wS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function NY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:mS(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var BY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MY(e){var t=AY();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NY(this,o)}}var RS=function(e){CY(r,e);var t=MY(r);function r(n){EY(this,r);var o;return o=t.call(this,n),wS(mS(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return IY(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(M);wS(RS,"controlFieldType",u.FieldTypes.DECIMAL);var TS={Designer:jo,Runtime:RS,Property:Lo};function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&G_(e,t)}function LY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:Mt(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var jY=function(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 xY(e){var t=FY();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LY(this,o)}}var Y_=function(e){DY(r,e);var t=xY(r);function r(n){kY(this,r);var o,i;o=t.call(this,n),nn(Mt(o),"dateType",void 0),nn(Mt(o),"dateFormat",void 0),nn(Mt(o),"commonTimeSetting",void 0),nn(Mt(o),"setValueType",void 0),nn(Mt(o),"defaultValue",void 0),nn(Mt(o),"limitDateList",void 0),nn(Mt(o),"allowDateRange",void 0),nn(Mt(o),"filterWeekend",void 0);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:sf.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u65E5\u671F";var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(g){return new wu(g)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(B);function $S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zY(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function H_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?af=Reflect.get:af=function(o,i,c){var f=HY(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},af(e,t,r||e)}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function YY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:$S(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function HY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}var qY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WY(e){var t=UY();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var sf=function(e){GY(r,e);var t=WY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),H_($S(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return zY(r,[{key:"toDataBindModel",value:function(o){var i=af(br(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);H_(sf,"controlFieldType",u.FieldTypes.TIMESTAMP),H_(sf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XY(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),e}function CS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function 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&&U_(e,t)}function JY(e,t){return t&&(ZY(t)==="object"||typeof t=="function")?t:ES(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var ZY=function(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 tH(e){var t=eH();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JY(this,o)}}var NS=function(e){QY(r,e);var t=tH(r);function r(n){KY(this,r);var o;return o=t.call(this,n),CS(ES(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return XY(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(M);CS(NS,"controlFieldType",u.FieldTypes.TIMESTAMP);var BS={Designer:sf,Runtime:NS,Property:Y_};function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function MS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function nH(e,t){return t&&(rH(t)==="object"||typeof t=="function")?t:Qe(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var rH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kS(e){var t=oH();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nH(this,o)}}var iH=function(e){MS(r,e);var t=kS(r);function r(n){AS(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(x),df=function(e){MS(r,e);var t=kS(r);function r(n){AS(this,r);var o,i;o=t.call(this,n),Je(Qe(o),"dataBind",void 0),Je(Qe(o),"rangeMin",void 0),Je(Qe(o),"rangeMax",void 0),Je(Qe(o),"placeholderStart",void 0),Je(Qe(o),"placeholderEnd",void 0),Je(Qe(o),"dateFormat",void 0),Je(Qe(o),"commonTimeSetting",void 0),Je(Qe(o),"dateType",void 0),Je(Qe(o),"setValueType",void 0),Je(Qe(o),"defaultValue",void 0),Je(Qe(o),"limitDateList",void 0),o.dataBind=new UP(n==null?void 0:n.dataBind),o.defaultValue=new WP(n==null?void 0:n.defaultValue);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:_f.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(g){return new wu(g)}))!==null&&p!==void 0?p:[],o}return r}(B);Je(df,"RuntimeRules",iH);function DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cH(e,t,r){return t&&LS(e.prototype,t),r&&LS(e,r),e}function K_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,i,c){var f=aH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},pf(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function fH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function lH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:DS(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function aH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}var sH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vH(e){var t=yH();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lH(this,o)}}var _f=function(e){fH(r,e);var t=vH(r);function r(n){uH(this,r);var o;return o=t.call(this,n),K_(DS(o),"props",void 0),o.props=new df(n==null?void 0:n.props),o}return cH(r,[{key:"toDataBindModel",value:function(o){var i=pf(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);K_(_f,"controlFieldType",u.FieldTypes.TIMESCOPE),K_(_f,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function jS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pH(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function xS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(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&&Q_(e,t)}function hH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:jS(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var bH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gH(e){var t=OH();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hH(this,o)}}var VS=function(e){_H(r,e);var t=gH(r);function r(n){dH(this,r);var o;return o=t.call(this,n),xS(jS(o),"props",void 0),o.props=new df(n==null?void 0:n.props),o}return pH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(M);xS(VS,"controlFieldType",u.FieldTypes.TIMESCOPE);var zS={Designer:_f,Runtime:VS,Property:df};function rn(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 kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function Z_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function mH(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:rn(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var PH=function(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 th(e){var t=wH();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mH(this,o)}}var RH=function(e){Z_(r,e);var t=th(r);function r(n){J_(this,r);var o;return o=t.call(this,n),kt(rn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),kt(rn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),kt(rn(o),"defaultValue",{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(le),TH=function(e){Z_(r,e);var t=th(r);function r(n){J_(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(x),Fo=function(e){Z_(r,e);var t=th(r);function r(n){J_(this,r);var o;o=t.call(this,n),kt(rn(o),"maxLength",void 0),kt(rn(o),"minLength",void 0),kt(rn(o),"defaultValue",void 0),kt(rn(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:xo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(B);kt(Fo,"Rules",RH),kt(Fo,"RuntimeRules",TH);function GS(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 YS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SH(e,t,r){return t&&YS(e.prototype,t),r&&YS(e,r),e}function Of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function EH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function IH(e,t){return t&&(CH(t)==="object"||typeof t=="function")?t:GS(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var CH=function(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 BH(e){var t=NH();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IH(this,o)}}var xo=function(e){EH(r,e);var t=BH(r);function r(n){$H(this,r);var o;return o=t.call(this,n),Of(GS(o),"props",void 0),o.props=new Fo(n==null?void 0:n.props),o}return SH(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(A);Of(xo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Of(xo,"controlFieldType",u.FieldTypes.TEXT),Of(xo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function HS(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 qS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MH(e,t,r){return t&&qS(e.prototype,t),r&&qS(e,r),e}function US(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function 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&&rh(e,t)}function DH(e,t){return t&&(LH(t)==="object"||typeof t=="function")?t:HS(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var LH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FH(e){var t=jH();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DH(this,o)}}var WS=function(e){kH(r,e);var t=FH(r);function r(n){AH(this,r);var o;return o=t.call(this,n),US(HS(o),"props",void 0),o.props=new Fo(n==null?void 0:n.props),o}return MH(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(M);US(WS,"controlFieldType",u.FieldTypes.TEXT);var KS={Designer:xo,Runtime:WS,Property:Fo};function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function xH(e,t){return t&&(VH(t)==="object"||typeof t=="function")?t:Sn(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var VH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ch(e){var t=zH();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xH(this,o)}}var GH=function(e){ih(r,e);var t=ch(r);function r(n){oh(this,r);var o;return o=t.call(this,n),on(Sn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),on(Sn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),on(Sn(o),"defaultValue",{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(le),YH=function(e){ih(r,e);var t=ch(r);function r(n){oh(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(x),Vo=function(e){ih(r,e);var t=ch(r);function r(n){oh(this,r);var o;o=t.call(this,n),on(Sn(o),"maxLength",void 0),on(Sn(o),"minLength",void 0),on(Sn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:zo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(B);on(Vo,"Rules",GH),on(Vo,"RuntimeRules",YH);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qH(e,t,r){return t&&QS(e.prototype,t),r&&QS(e,r),e}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:XS(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var KH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QH(e){var t=XH();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WH(this,o)}}var zo=function(e){UH(r,e);var t=QH(r);function r(n){HH(this,r);var o;return o=t.call(this,n),wf(XS(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return qH(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(A);wf(zo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),wf(zo,"controlFieldType",u.FieldTypes.TEXT),wf(zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZH(e,t,r){return t&&ZS(e.prototype,t),r&&ZS(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function tq(e,t){return t&&(nq(t)==="object"||typeof t=="function")?t:JS(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var nq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oq(e){var t=rq();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var tE=function(e){eq(r,e);var t=oq(r);function r(n){JH(this,r);var o;return o=t.call(this,n),eE(JS(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return ZH(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(M);eE(tE,"controlFieldType",u.FieldTypes.TEXT);var nE={Designer:zo,Runtime:tE,Property:Vo};function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function oE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function iq(e,t){return t&&(uq(t)==="object"||typeof t=="function")?t:Ze(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var uq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iE(e){var t=cq();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iq(this,o)}}var fq=function(e){oE(r,e);var t=iE(r);function r(n){return rE(this,r),t.call(this,n)}return r}(Tn),Sf=function(e){oE(r,e);var t=iE(r);function r(n){rE(this,r);var o;o=t.call(this,n),et(Ze(o),"options",void 0),et(Ze(o),"defaultShowOptions",void 0),et(Ze(o),"optionConfig",void 0),et(Ze(o),"defaultValue",void 0),et(Ze(o),"datasourceBind",void 0),et(Ze(o),"multistageFilling",void 0),et(Ze(o),"allowCopyOptions",void 0),et(Ze(o),"openMultistageFilling",void 0),et(Ze(o),"viewFormModelType",void 0),et(Ze(o),"canViewForm",void 0),et(Ze(o),"formBind",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:If.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Te(p))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new wn(n==null?void 0:n.formBind),o}return r}(B);et(Sf,"Rules",fq);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aq(e,t,r){return t&&cE(e.prototype,t),r&&cE(e,r),e}function sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function 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&&yh(e,t)}function yq(e,t){return t&&(vq(t)==="object"||typeof t=="function")?t:uE(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var vq=function(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 pq(e){var t=dq();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yq(this,o)}}var If=function(e){sq(r,e);var t=pq(r);function r(n){lq(this,r);var o;return o=t.call(this,n),sh(uE(o),"props",void 0),o.props=new Sf(n==null?void 0:n.props),o}return aq(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(A);sh(If,"controlFieldType",u.FieldTypes.VARCHAR),sh(If,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hq(e,t,r){return t&&lE(e.prototype,t),r&&lE(e,r),e}function aE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function bq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function Oq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:fE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var gq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pq(e){var t=mq();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oq(this,o)}}var sE=function(e){bq(r,e);var t=Pq(r);function r(n){_q(this,r);var o;return o=t.call(this,n),aE(fE(o),"props",void 0),o.props=new Sf(n==null?void 0:n.props),o}return hq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(M);aE(sE,"controlFieldType",u.FieldTypes.VARCHAR);var yE={Designer:If,Runtime:sE,Property:Sf};function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function wq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:it(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var Rq=function(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 hh(e){var t=Tq();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wq(this,o)}}var $q=function(e){ph(r,e);var t=hh(r);function r(n){return dh(this,r),t.call(this,n)}return r}(Tn),Sq=function(e){ph(r,e);var t=hh(r);function r(n){dh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),Go=function(e){ph(r,e);var t=hh(r);function r(n){dh(this,r);var o;o=t.call(this,n),tt(it(o),"options",void 0),tt(it(o),"defaultShowOptions",void 0),tt(it(o),"optionConfig",void 0),tt(it(o),"defaultValue",void 0),tt(it(o),"datasourceBind",void 0),tt(it(o),"multistageFilling",void 0),tt(it(o),"openMultistageFilling",void 0),tt(it(o),"viewFormModelType",void 0),tt(it(o),"canViewForm",void 0),tt(it(o),"formBind",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Af.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Te(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new wn(n==null?void 0:n.formBind),o}return r}(B);tt(Go,"Rules",$q),tt(Go,"RuntimeRules",Sq);function vE(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 dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iq(e,t,r){return t&&dE(e.prototype,t),r&&dE(e,r),e}function bh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function Cq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function Nq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:vE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var Bq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mq(e){var t=Aq();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nq(this,o)}}var Af=function(e){Cq(r,e);var t=Mq(r);function r(n){Eq(this,r);var o;return o=t.call(this,n),bh(vE(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return Iq(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(A);bh(Af,"controlFieldType",u.FieldTypes.ARRAY),bh(Af,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",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 kq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dq(e,t,r){return t&&_E(e.prototype,t),r&&_E(e,r),e}function hE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(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&&gh(e,t)}function jq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:pE(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var Fq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vq(e){var t=xq();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jq(this,o)}}var bE=function(e){Lq(r,e);var t=Vq(r);function r(n){kq(this,r);var o;return o=t.call(this,n),hE(pE(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return Dq(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(M);hE(bE,"controlFieldType",u.FieldTypes.ARRAY);var OE={Designer:Af,Runtime:bE,Property:Go};function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function mE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zq(e,t){return t&&(Gq(t)==="object"||typeof t=="function")?t:Dt(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var Gq=function(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 PE(e){var t=Yq();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zq(this,o)}}var Hq=function(e){mE(r,e);var t=PE(r);function r(n){gE(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),Df=function(e){mE(r,e);var t=PE(r);function r(n){gE(this,r);var o;o=t.call(this,n),Lt(Dt(o),"showType",void 0),Lt(Dt(o),"range",void 0),Lt(Dt(o),"rangeOptions",void 0),Lt(Dt(o),"multiple",void 0),Lt(Dt(o),"defaultValueType",void 0),Lt(Dt(o),"defaultValue",void 0),Lt(Dt(o),"multistageFilling",void 0),Lt(Dt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:jf.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Te(O))})),o}return r}(B);Lt(Df,"RuntimeRules",Hq);function wE(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 RE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uq(e,t,r){return t&&RE(e.prototype,t),r&&RE(e,r),e}function Ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function Wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function Kq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:wE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var Xq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jq(e){var t=Qq();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kq(this,o)}}var jf=function(e){Wq(r,e);var t=Jq(r);function r(n){qq(this,r);var o;return o=t.call(this,n),Ph(wE(o),"props",void 0),o.props=new Df(n==null?void 0:n.props),o}return Uq(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);Ph(jf,"controlFieldType",u.FieldTypes.EMPLOYEES),Ph(jf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eU(e,t,r){return t&&$E(e.prototype,t),r&&$E(e,r),e}function SE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function tU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:TE(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var rU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iU(e){var t=oU();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nU(this,o)}}var EE=function(e){tU(r,e);var t=iU(r);function r(n){Zq(this,r);var o;return o=t.call(this,n),SE(TE(o),"props",void 0),o.props=new Df(n==null?void 0:n.props),o}return eU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(M);SE(EE,"controlFieldType",u.FieldTypes.EMPLOYEES);var IE={Designer:jf,Runtime:EE,Property:Df};function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Sh(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:un(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var cU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eh(e){var t=fU();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uU(this,o)}}var lU=10485760,aU=104857600,sU=1048576e3,yU=function(e){$h(r,e);var t=Eh(r);function r(n){Th(this,r);var o;return o=t.call(this,n),jt(un(o),"maxSize",{type:"number",min:0,max:sU,message:h.getMessage("attachmentMaxSize")}),o}return r}(le),vU=function(e){$h(r,e);var t=Eh(r);function r(n){Th(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(x),gr=function(e){$h(r,e);var t=Eh(r);function r(n){Th(this,r);var o;o=t.call(this,n),jt(un(o),"defaultValue",void 0),jt(un(o),"showType",void 0),jt(un(o),"attachmentAccept",void 0),jt(un(o),"maxLimit",void 0),jt(un(o),"minLimit",void 0),jt(un(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"default";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var a;o.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var s;o.maxSize=(s=n==null?void 0:n.maxSize)!==null&&s!==void 0?s:aU;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:mr.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(B);jt(gr,"Rules",yU),jt(gr,"RuntimeRules",vU);function CE(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 NE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pU(e,t,r){return t&&NE(e.prototype,t),r&&NE(e,r),e}function Vf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:CE(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var bU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gU(e){var t=OU();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hU(this,o)}}var mr=function(e){_U(r,e);var t=gU(r);function r(n){dU(this,r);var o;return o=t.call(this,n),Vf(CE(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return pU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);Vf(mr,"controlEventKeys",["on_change"]),Vf(mr,"controlFieldType",u.FieldTypes.FILE),Vf(mr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PU(e,t,r){return t&&AE(e.prototype,t),r&&AE(e,r),e}function ME(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function RU(e,t){return t&&(TU(t)==="object"||typeof t=="function")?t:BE(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var TU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SU(e){var t=$U();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RU(this,o)}}var Nh=function(e){wU(r,e);var t=SU(r);function r(n){mU(this,r);var o;return o=t.call(this,n),ME(BE(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return PU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(M);ME(Nh,"controlFieldType",u.FieldTypes.FILE);var kE={Designer:mr,Runtime:Nh,Property:gr};function EU(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 DE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CU(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function LE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function NU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function BU(e,t){return t&&(AU(t)==="object"||typeof t=="function")?t:EU(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var AU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kU(e){var t=MU();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var Ah=function(e){NU(r,e);var t=kU(r);function r(n){IU(this,r);var o,i,c;o=t.call(this,n),o.props.showType="image";var f;o.props.caption=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:r.controlName;var l;return o.props.placeholder=(l=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return CU(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(mr);LE(Ah,"controlFieldType",u.FieldTypes.IMAGE),LE(Ah,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function DU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jU(e,t,r){return t&&jE(e.prototype,t),r&&jE(e,r),e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function FU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xU(e,t){return t&&(VU(t)==="object"||typeof t=="function")?t:DU(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var VU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GU(e){var t=zU();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xU(this,o)}}var YU=function(e){FU(r,e);var t=GU(r);function r(n){LU(this,r);var o,i,c,f;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&l!==void 0?l:9;var a;o.props.caption=(a=n==null||(c=n.props)===null||c===void 0?void 0:c.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return jU(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Nh);function HU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function UU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 WU(e,t){return t&&(KU(t)==="object"||typeof t=="function")?t:HU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var KU=function(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 QU(e){var t=XU();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WU(this,o)}}var JU=function(e){UU(r,e);var t=QU(r);function r(n){return qU(this,r),t.call(this,n)}return r}(gr),FE={Designer:Ah,Runtime:YU,Property:JU};function ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function Lh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function ZU(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){me(e,o,r[o])})}return e}function eW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function tW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function nW(e,t){return t&&(rW(t)==="object"||typeof t=="function")?t:ke(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var rW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fh(e){var t=oW();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nW(this,o)}}var iW=function(e){Lh(r,e);var t=Fh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),me(ke(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),me(ke(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=c,o.defaultValue.fields.amount[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:h.getMessage("numberRangeSetError")}),o}return r}(Tn),uW=function(e){Lh(r,e);var t=Fh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[tW(ZU({},o[0]),{type:"number"}),{type:"number",min:c,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}],currency:{type:"string"}}}),o}return r}(x),Yo=function(e){Lh(r,e);var t=Fh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),me(ke(o),"rangeMin",void 0),me(ke(o),"rangeMax",void 0),me(ke(o),"showUpperCase",void 0),me(ke(o),"submitSelectCurrency",void 0),me(ke(o),"micrometer",void 0),me(ke(o),"precision",void 0),me(ke(o),"optionConfig",void 0),me(ke(o),"dataBind",void 0),me(ke(o),"datasourceBind",void 0),me(ke(o),"defaultValue",void 0),me(ke(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new HP(n==null?void 0:n.dataBind);var s;o.datasourceBind=new J((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Ai({value:"name"})]});var y;o.defaultValue=new qP((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:u.AMOUNT_TYPE.CNY}),o.options=yt(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ho.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var p;return o.showUpperCase=(p=n==null?void 0:n.showUpperCase)!==null&&p!==void 0?p:!1,o}return r}(B);me(Yo,"Rules",iW),me(Yo,"RuntimeRules",uW);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fW(e,t,r){return t&&VE(e.prototype,t),r&&VE(e,r),e}function Wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kf=Reflect.get:Kf=function(o,i,c){var f=sW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Kf(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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&&xh(e,t)}function aW(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:xE(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function sW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}var yW=function(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 n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aW(this,o)}}var Ho=function(e){lW(r,e);var t=dW(r);function r(n){cW(this,r);var o;return o=t.call(this,n),Wf(xE(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return fW(r,[{key:"toDataBindModel",value:function(o){var i=Kf(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(A);Wf(Ho,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Wf(Ho,"controlFieldType",u.FieldTypes.MONEY),Wf(Ho,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _W(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function YE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function hW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function bW(e,t){return t&&(OW(t)==="object"||typeof t=="function")?t:zE(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}var OW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mW(e){var t=gW();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bW(this,o)}}var HE=function(e){hW(r,e);var t=mW(r);function r(n){pW(this,r);var o;return o=t.call(this,n),YE(zE(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return _W(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(M);YE(HE,"controlFieldType",u.FieldTypes.MONEY);var qE={Designer:Ho,Runtime:HE,Property:Yo};function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(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&&Yh(e,t)}function PW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:cn(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var wW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hh(e){var t=RW();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PW(this,o)}}var TW=function(e){Gh(r,e);var t=Hh(r);function r(n){zh(this,r);var o;return o=t.call(this,n),Ft(cn(o),"totalScore",[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ft(cn(o),"defaultValue",{type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(le),$W=function(e){Gh(r,e);var t=Hh(r);function r(n){zh(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(x),qo=function(e){Gh(r,e);var t=Hh(r);function r(n){zh(this,r);var o,i;o=t.call(this,n),Ft(cn(o),"totalScore",void 0),Ft(cn(o),"scoreType",void 0),Ft(cn(o),"isShowExplain",void 0),Ft(cn(o),"explain",void 0),Ft(cn(o),"defaultValue",void 0);var c;o.totalScore=(c=n==null?void 0:n.totalScore)!==null&&c!==void 0?c:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:u.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(v){return new Ru(v)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Ru});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Uo.controlName,o}return r}(B);Ft(qo,"Rules",TW),Ft(qo,"RuntimeRules",$W);function qh(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SW(e){if(Array.isArray(e))return qh(e)}function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IW(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}function Jf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zf=Reflect.get:Zf=function(o,i,c){var f=MW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Zf(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function NW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function BW(){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 AW(e,t){return t&&(DW(t)==="object"||typeof t=="function")?t:UE(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function MW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function kW(e){return SW(e)||NW(e)||LW(e)||BW()}var DW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LW(e,t){if(!!e){if(typeof e=="string")return qh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qh(e,t)}}function jW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FW(e){var t=jW();return function(){var n=wr(e),o;if(t){var i=wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var Uo=function(e){CW(r,e);var t=FW(r);function r(n){EW(this,r);var o;return o=t.call(this,n),Jf(UE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return IW(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var c,f=i-this.props.explain.length,l=Array(f).fill(void 0).map(function(){return new Ru});(c=this.props.explain).push.apply(c,kW(l))}}Zf(wr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);Jf(Uo,"controlEventKeys",["on_change","on_click"]),Jf(Uo,"controlFieldType",u.FieldTypes.DECIMAL),Jf(Uo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function KE(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 XE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VW(e,t,r){return t&&XE(e.prototype,t),r&&XE(e,r),e}function QE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function zW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function GW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:KE(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var YW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qW(e){var t=HW();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GW(this,o)}}var JE=function(e){zW(r,e);var t=qW(r);function r(n){xW(this,r);var o;return o=t.call(this,n),QE(KE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return VW(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(M);QE(JE,"controlFieldType",u.FieldTypes.DECIMAL);var ZE={Designer:Uo,Runtime:JE,Property:qo};function tl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function tI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(WW(t)==="object"||typeof t=="function")?t:tl(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var WW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nI(e){var t=KW();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UW(this,o)}}var XW=function(e){tI(r,e);var t=nI(r);function r(n){eI(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(x),ol=function(e){tI(r,e);var t=nI(r);function r(n){eI(this,r);var o;o=t.call(this,n),nl(tl(o),"defaultValueType",void 0),nl(tl(o),"defaultValue",void 0),nl(tl(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ul.controlName;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var l;o.defaultValue=new KP((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(B);nl(ol,"RuntimeRules",XW);function rI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JW(e,t,r){return t&&oI(e.prototype,t),r&&oI(e,r),e}function Xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function ZW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function eK(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:rI(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var tK=function(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 n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eK(this,o)}}var ul=function(e){ZW(r,e);var t=rK(r);function r(n){QW(this,r);var o;return o=t.call(this,n),Xh(rI(o),"props",void 0),o.props=new ol(n==null?void 0:n.props),o}return JW(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);Xh(ul,"controlFieldType",u.FieldTypes.ADDRESS),Xh(ul,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function iI(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 uI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iK(e,t,r){return t&&uI(e.prototype,t),r&&uI(e,r),e}function cI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function 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&&Jh(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:iI(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var fK=function(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 n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cK(this,o)}}var fI=function(e){uK(r,e);var t=aK(r);function r(n){oK(this,r);var o;return o=t.call(this,n),cI(iI(o),"props",void 0),o.props=new ol(n==null?void 0:n.props),o}return iK(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(M);cI(fI,"controlFieldType",u.FieldTypes.ADDRESS);var lI={Designer:ul,Runtime:fI,Property:ol};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function sI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sK(e,t){return t&&(yK(t)==="object"||typeof t=="function")?t:ut(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var yK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yI(e){var t=vK();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sK(this,o)}}var dK=function(e){sI(r,e);var t=yI(r);function r(n){aI(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ll=function(e){sI(r,e);var t=yI(r);function r(n){aI(this,r);var o;o=t.call(this,n),ct(ut(o),"showType",void 0),ct(ut(o),"range",void 0),ct(ut(o),"defaultValueType",void 0),ct(ut(o),"multiple",void 0),ct(ut(o),"rangeOptions",void 0),ct(ut(o),"defaultValue",void 0),ct(ut(o),"displayLevel",void 0),ct(ut(o),"showSubDept",void 0),ct(ut(o),"multistageFilling",void 0),ct(ut(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Wo.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new Te(g))})),o}return r}(B);ct(ll,"RuntimeRules",dK);function vI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _K(e,t,r){return t&&dI(e.prototype,t),r&&dI(e,r),e}function al(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sl=Reflect.get:sl=function(o,i,c){var f=OK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},sl(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function hK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function bK(e,t){return t&&(gK(t)==="object"||typeof t=="function")?t:vI(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function OK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}var gK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PK(e){var t=mK();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bK(this,o)}}var Wo=function(e){hK(r,e);var t=PK(r);function r(n){pK(this,r);var o;return o=t.call(this,n),al(vI(o),"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return _K(r,[{key:"toDataBindModel",value:function(o){var i=sl(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(A);al(Wo,"controlName","\u90E8\u95E8"),al(Wo,"controlFieldType",u.FieldTypes.DEPARTMENTS),al(Wo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function pI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RK(e,t,r){return t&&_I(e.prototype,t),r&&_I(e,r),e}function hI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function TK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function $K(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:pI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var SK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IK(e){var t=EK();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $K(this,o)}}var bI=function(e){TK(r,e);var t=IK(r);function r(n){wK(this,r);var o;return o=t.call(this,n),hI(pI(o),"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return RK(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(M);hI(bI,"controlFieldType",u.FieldTypes.DEPARTMENTS);var OI={Designer:Wo,Runtime:bI,Property:ll};function gI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function BK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function AK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:gI(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}var MK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DK(e){var t=kK();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AK(this,o)}}var rb=function(e){BK(r,e);var t=DK(r);function r(n){CK(this,r);var o;o=t.call(this,n),NK(gI(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ko.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(B);function mI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jK(e,t,r){return t&&PI(e.prototype,t),r&&PI(e,r),e}function dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function FK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function xK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:mI(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}var VK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GK(e){var t=zK();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xK(this,o)}}var Ko=function(e){FK(r,e);var t=GK(r);function r(n){LK(this,r);var o;return o=t.call(this,n),dl(mI(o),"props",void 0),o.props=new rb(n==null?void 0:n.props),o}return jK(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(A);dl(Ko,"controlEventKeys",["on_change"]),dl(Ko,"controlFieldType",u.FieldTypes.AUTO_NUMBER),dl(Ko,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function wI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HK(e,t,r){return t&&RI(e.prototype,t),r&&RI(e,r),e}function TI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function qK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function UK(e,t){return t&&(WK(t)==="object"||typeof t=="function")?t:wI(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var WK=function(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 XK(e){var t=KK();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UK(this,o)}}var $I=function(e){qK(r,e);var t=XK(r);function r(n){YK(this,r);var o;return o=t.call(this,n),TI(wI(o),"props",void 0),o.props=new rb(n==null?void 0:n.props),o}return HK(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(M);TI($I,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var SI={Designer:Ko,Runtime:$I,Property:rb};function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ub(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function cb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function QK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:fn(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var JK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lb(e){var t=ZK();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QK(this,o)}}var eX=function(e){cb(r,e);var t=lb(r);function r(n){ub(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(le),tX=function(e){cb(r,e);var t=lb(r);function r(n){ub(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(x),Xo=function(e){cb(r,e);var t=lb(r);function r(n){ub(this,r);var o;o=t.call(this,n),xt(fn(o),"precision",void 0),xt(fn(o),"micrometer",void 0),xt(fn(o),"showUpperCase",void 0),xt(fn(o),"scriptSrc",void 0),xt(fn(o),"scriptEcho",void 0),xt(fn(o),"dataBind",void 0),xt(fn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new XP(n==null?void 0:n.dataBind),o.defaultValue=new QP(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Qo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(B);xt(Xo,"Rules",eX),xt(Xo,"RuntimeRules",tX);function EI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function II(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rX(e,t,r){return t&&II(e.prototype,t),r&&II(e,r),e}function bl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ol=Reflect.get:Ol=function(o,i,c){var f=uX(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Ol(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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&&ab(e,t)}function iX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:EI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function uX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}var cX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lX(e){var t=fX();return function(){var n=Tr(e),o;if(t){var i=Tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iX(this,o)}}var Qo=function(e){oX(r,e);var t=lX(r);function r(n){nX(this,r);var o;return o=t.call(this,n),bl(EI(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return rX(r,[{key:"toDataBindModel",value:function(o){var i=Ol(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(A);bl(Qo,"controlEventKeys",["on_change"]),bl(Qo,"controlFieldType",u.FieldTypes.CALC),bl(Qo,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function CI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sX(e,t,r){return t&&NI(e.prototype,t),r&&NI(e,r),e}function BI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(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&&sb(e,t)}function vX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:CI(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var dX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _X(e){var t=pX();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vX(this,o)}}var AI=function(e){yX(r,e);var t=_X(r);function r(n){aX(this,r);var o;return o=t.call(this,n),BI(CI(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return sX(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(M);BI(AI,"controlFieldType",u.FieldTypes.CALC);var MI={Designer:Qo,Runtime:AI,Property:Xo};function $r(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 Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function DI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:$r(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}var bX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LI(e){var t=OX();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hX(this,o)}}var gX=function(e){DI(r,e);var t=LI(r);function r(n){kI(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(c,f){if(n.required){var l=f.every(function(a){return!a});return l?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(x),Pl=function(e){DI(r,e);var t=LI(r);function r(n){kI(this,r);var o;o=t.call(this,n),Sr($r(o),"rangeMin",void 0),Sr($r(o),"rangeMax",void 0),Sr($r(o),"placeholderStart",void 0),Sr($r(o),"placeholderEnd",void 0),Sr($r(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Rl.controlName,o}return r}(B);Sr(Pl,"RuntimeRules",gX);function jI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PX(e,t,r){return t&&FI(e.prototype,t),r&&FI(e,r),e}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(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&&db(e,t)}function RX(e,t){return t&&(TX(t)==="object"||typeof t=="function")?t:jI(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}var TX=function(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 SX(e){var t=$X();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RX(this,o)}}var Rl=function(e){wX(r,e);var t=SX(r);function r(n){mX(this,r);var o;return o=t.call(this,n),vb(jI(o),"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return PX(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(A);vb(Rl,"controlFieldType",u.FieldTypes.DECIMAL_RANGE),vb(Rl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function xI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IX(e,t,r){return t&&VI(e.prototype,t),r&&VI(e,r),e}function zI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function CX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function NX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:xI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var BX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MX(e){var t=AX();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NX(this,o)}}var GI=function(e){CX(r,e);var t=MX(r);function r(n){EX(this,r);var o;return o=t.call(this,n),zI(xI(o),"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return IX(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(M);zI(GI,"controlFieldType",u.FieldTypes.DECIMAL_RANGE);var YI={Designer:Rl,Runtime:GI,Property:Pl};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function qI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:ft(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var DX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UI(e){var t=LX();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kX(this,o)}}var jX=function(e){qI(r,e);var t=UI(r);function r(n){HI(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(x),Sl=function(e){qI(r,e);var t=UI(r);function r(n){HI(this,r);var o,i;o=t.call(this,n),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),"dateType",void 0),lt(ft(o),"dateFormat",void 0),lt(ft(o),"commonTimeSetting",void 0),lt(ft(o),"setValueType",void 0),lt(ft(o),"defaultValue",void 0),lt(ft(o),"limitDateList",void 0);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:u.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Il.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new wu(_)}))!==null&&g!==void 0?g:[],o}return r}(B);lt(Sl,"RuntimeRules",jX);function WI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xX(e,t,r){return t&&KI(e.prototype,t),r&&KI(e,r),e}function hb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(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&&bb(e,t)}function zX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:WI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}var GX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HX(e){var t=YX();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zX(this,o)}}var Il=function(e){VX(r,e);var t=HX(r);function r(n){FX(this,r);var o;return o=t.call(this,n),hb(WI(o),"props",void 0),o.props=new Sl(n==null?void 0:n.props),o}return xX(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(A);hb(Il,"controlFieldType",u.FieldTypes.ARRAY),hb(Il,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function XI(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 QI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UX(e,t,r){return t&&QI(e.prototype,t),r&&QI(e,r),e}function JI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(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&&Ob(e,t)}function KX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:XI(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}var XX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JX(e){var t=QX();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KX(this,o)}}var ZI=function(e){WX(r,e);var t=JX(r);function r(n){qX(this,r);var o;return o=t.call(this,n),JI(XI(o),"props",void 0),o.props=new Sl(n==null?void 0:n.props),o}return UX(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(M);JI(ZI,"controlFieldType",u.FieldTypes.ARRAY);var eC={Designer:Il,Runtime:ZI,Property:Sl};function Jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function mb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function ZX(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:Jo(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var eQ=function(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 wb(e){var t=tQ();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZX(this,o)}}var nQ=function(e){mb(r,e);var t=wb(r);function r(n){gb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(le),rQ=function(e){mb(r,e);var t=wb(r);function r(n){gb(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(x),Zo=function(e){mb(r,e);var t=wb(r);function r(n){gb(this,r);var o;o=t.call(this,n),Er(Jo(o),"controlExportName",void 0),Er(Jo(o),"permissions",void 0),Er(Jo(o),"defaultValue",void 0),Er(Jo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ei.controlName;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(B);Er(Zo,"Rules",nQ),Er(Zo,"RuntimeRules",rQ);function tC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iQ(e,t,r){return t&&nC(e.prototype,t),r&&nC(e,r),e}function Bl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function uQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:tC(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}var fQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aQ(e){var t=lQ();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cQ(this,o)}}var ei=function(e){uQ(r,e);var t=aQ(r);function r(n){oQ(this,r);var o;return o=t.call(this,n),Bl(tC(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return iQ(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(A);Bl(ei,"controlFieldType",u.FieldTypes.ANY),Bl(ei,"controlEventKeys",[]),Bl(ei,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function rC(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 oC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yQ(e,t,r){return t&&oC(e.prototype,t),r&&oC(e,r),e}function iC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function 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&&Tb(e,t)}function dQ(e,t){return t&&(pQ(t)==="object"||typeof t=="function")?t:rC(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}var pQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hQ(e){var t=_Q();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dQ(this,o)}}var uC=function(e){vQ(r,e);var t=hQ(r);function r(n){sQ(this,r);var o;return o=t.call(this,n),iC(rC(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return yQ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(M);iC(uC,"controlFieldType",u.FieldTypes.ANY);var cC={Designer:ei,Runtime:uC,Property:Zo};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function bQ(e,t){return t&&(OQ(t)==="object"||typeof t=="function")?t:De(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var OQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aC(e){var t=gQ();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bQ(this,o)}}var mQ=function(e){lC(r,e);var t=aC(r);function r(n){fC(this,r);var o;return o=t.call(this,n),Le(De(o),"listPageBind",[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}]),o}return r}(Tn),Dl=function(e){lC(r,e);var t=aC(r);function r(n){fC(this,r);var o;o=t.call(this,n),Le(De(o),"options",void 0),Le(De(o),"optionConfig",void 0),Le(De(o),"defaultValue",void 0),Le(De(o),"listPageBind",void 0),Le(De(o),"datasourceBind",void 0),Le(De(o),"multistageFilling",void 0),Le(De(o),"viewFormModelType",void 0),Le(De(o),"canViewForm",void 0),Le(De(o),"formBind",void 0),Le(De(o),"openMultistageFilling",void 0),Le(De(o),"showSelectedDetail",void 0),Le(De(o),"selectedContentConfig",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource",o.listPageBind=new Ni(n==null?void 0:n.listPageBind),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ti.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new Mi(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Te(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new wn(n==null?void 0:n.formBind),o}return r}(B);Le(Dl,"Rules",mQ);function sC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wQ(e,t,r){return t&&yC(e.prototype,t),r&&yC(e,r),e}function Ll(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function RQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function TQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:sC(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}var $Q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EQ(e){var t=SQ();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TQ(this,o)}}var ti=function(e){RQ(r,e);var t=EQ(r);function r(n){PQ(this,r);var o;return o=t.call(this,n),Ll(sC(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return wQ(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(A);Ll(ti,"controlFieldType",u.FieldTypes.VARCHAR),Ll(ti,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),Ll(ti,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function vC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CQ(e,t,r){return t&&dC(e.prototype,t),r&&dC(e,r),e}function pC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&Eb(e,t)}function BQ(e,t){return t&&(AQ(t)==="object"||typeof t=="function")?t:vC(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}var AQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kQ(e){var t=MQ();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BQ(this,o)}}var _C=function(e){NQ(r,e);var t=kQ(r);function r(n){IQ(this,r);var o;return o=t.call(this,n),pC(vC(o),"props",void 0),o.props=new Dl(n==null?void 0:n.props),o}return CQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(M);pC(_C,"controlFieldType",u.FieldTypes.VARCHAR);var hC={Designer:ti,Runtime:_C,Property:Dl};function DQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function jQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function FQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:DQ(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var xQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zQ(e){var t=VQ();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FQ(this,o)}}var Cb=function(e){jQ(r,e);var t=zQ(r);function r(n){return LQ(this,r),t.call(this,n)}return r}(pr);function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YQ(e,t,r){return t&&OC(e.prototype,t),r&&OC(e,r),e}function gC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(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&&Nb(e,t)}function qQ(e,t){return t&&(UQ(t)==="object"||typeof t=="function")?t:bC(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}var UQ=function(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 KQ(e){var t=WQ();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qQ(this,o)}}var mC=function(e){HQ(r,e);var t=KQ(r);function r(n){GQ(this,r);var o;return o=t.call(this,n),gC(bC(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return YQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(_r);gC(mC,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function PC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QQ(e,t,r){return t&&wC(e.prototype,t),r&&wC(e,r),e}function RC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function JQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function ZQ(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:PC(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var eJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nJ(e){var t=tJ();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZQ(this,o)}}var TC=function(e){JQ(r,e);var t=nJ(r);function r(n){XQ(this,r);var o;return o=t.call(this,n),RC(PC(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return QQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(M);RC(TC,"controlFieldType",u.FieldTypes.VARCHAR);var $C={Designer:mC,Runtime:TC,Property:Cb};function X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ab(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function Mb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function rJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:X(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var oJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Db(e){var t=iJ();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rJ(this,o)}}var uJ=function(e){Mb(r,e);var t=Db(r);function r(n){Ab(this,r);var o;return o=t.call(this,n),Q(X(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),vo.call(X(o),n,ln.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(le),cJ=function(e){Mb(r,e);var t=Db(r);function r(n){Ab(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ni=function(e){Mb(r,e);var t=Db(r);function r(n){Ab(this,r);var o,i;o=t.call(this,n),Q(X(o),"placeholder",void 0),Q(X(o),"multiple",void 0),Q(X(o),"canSearch",void 0),Q(X(o),"levelType",void 0),Q(X(o),"optionalLevel",void 0),Q(X(o),"containsSubNode",void 0),Q(X(o),"defaultDisplay",void 0),Q(X(o),"isShowIncludeSub",void 0),Q(X(o),"isDefaultCheckSub",void 0),Q(X(o),"isShowFilterItem",void 0),Q(X(o),"defaultCollapse",void 0),Q(X(o),"defaultCollapseLevel",void 0),Q(X(o),"optionConfig","datasource"),Q(X(o),"datasourceBind",void 0),Q(X(o),"filterItemDatasourceBind",void 0),Q(X(o),"multistageFilling",void 0),Q(X(o),"defaultValue",void 0),Q(X(o),"openMultistageFilling",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ln.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var v;o.containsSubNode=(v=n==null?void 0:n.containsSubNode)!==null&&v!==void 0?v:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var p;o.isDefaultCheckSub=(p=n==null?void 0:n.isDefaultCheckSub)!==null&&p!==void 0?p:!1;var g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var _;o.defaultCollapseLevel=(_=n==null?void 0:n.defaultCollapseLevel)!==null&&_!==void 0?_:1;var m;o.datasourceBind=new Cv((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:ln.controlCustomAttributes});var w;o.filterItemDatasourceBind=new Cv((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:ln.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var $;o.defaultDisplay=($=n==null?void 0:n.defaultDisplay)!==null&&$!==void 0?$:!1;var R;o.multistageFilling=(R=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(k){return new Te(k)}))!==null&&R!==void 0?R:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(B);Q(ni,"Rules",uJ),Q(ni,"RuntimeRules",cJ);function SC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lJ(e,t,r){return t&&EC(e.prototype,t),r&&EC(e,r),e}function Yl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function aJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function sJ(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:SC(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var yJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dJ(e){var t=vJ();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sJ(this,o)}}var ln=function(e){aJ(r,e);var t=dJ(r);function r(n){fJ(this,r);var o;return o=t.call(this,n),Yl(SC(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return lJ(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(A);Yl(ln,"controlEventKeys",["on_change","on_click"]),Yl(ln,"controlFieldType",u.FieldTypes.ARRAY),Yl(ln,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.CAN_SEARCH,u.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,u.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function IC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _J(e,t,r){return t&&CC(e.prototype,t),r&&CC(e,r),e}function NC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function hJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:IC(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}var OJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=gJ();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bJ(this,o)}}var BC=function(e){hJ(r,e);var t=mJ(r);function r(n){pJ(this,r);var o;return o=t.call(this,n),NC(IC(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return _J(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(M);NC(BC,"controlFieldType",u.FieldTypes.ARRAY);var AC={Designer:ln,Runtime:BC,Property:ni};function ye(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 ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(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 PJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:ye(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var wJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zb(e){var t=RJ();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PJ(this,o)}}var TJ=function(e){xb(r,e);var t=zb(r);function r(n){Fb(this,r);var o;return o=t.call(this,n),ve(ye(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ve(ye(o),"externalScope",{type:"any"}),vo.call(ye(o),n,Ir.controlCustomAttributes),n.externalType===u.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(le),$J=function(e){xb(r,e);var t=zb(r);function r(n){Fb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ri=function(e){xb(r,e);var t=zb(r);function r(n){Fb(this,r);var o;o=t.call(this,n),ve(ye(o),"showType",void 0),ve(ye(o),"range",void 0),ve(ye(o),"rangeOptions",void 0),ve(ye(o),"multiple",void 0),ve(ye(o),"defaultValueType",void 0),ve(ye(o),"defaultValue",void 0),ve(ye(o),"multistageFilling",void 0),ve(ye(o),"datasourceBind",void 0),ve(ye(o),"datasourceType",void 0),ve(ye(o),"insideType",void 0),ve(ye(o),"externalType",void 0),ve(ye(o),"externalScope",void 0),ve(ye(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ir.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new fo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ir.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:u.OrganizeType.INTERNAL;var p;o.insideType=(p=n==null?void 0:n.insideType)!==null&&p!==void 0?p:u.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:u.AssignType.ALL;var _;o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[];var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Te(w))})),o}return r}(B);ve(ri,"Rules",TJ),ve(ri,"RuntimeRules",$J);function MC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EJ(e,t,r){return t&&kC(e.prototype,t),r&&kC(e,r),e}function Gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function IJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function CJ(e,t){return t&&(NJ(t)==="object"||typeof t=="function")?t:MC(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var NJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AJ(e){var t=BJ();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CJ(this,o)}}var Ir=function(e){IJ(r,e);var t=AJ(r);function r(n){SJ(this,r);var o;return o=t.call(this,n),Gb(MC(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return EJ(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);Gb(Ir,"controlFieldType",u.FieldTypes.EMPLOYEES),Gb(Ir,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kJ(e,t,r){return t&&LC(e.prototype,t),r&&LC(e,r),e}function jC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function DJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function LJ(e,t){return t&&(jJ(t)==="object"||typeof t=="function")?t:DC(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var jJ=function(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 xJ(e){var t=FJ();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LJ(this,o)}}var FC=function(e){DJ(r,e);var t=xJ(r);function r(n){MJ(this,r);var o;return o=t.call(this,n),jC(DC(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return kJ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(M);jC(FC,"controlFieldType",u.FieldTypes.EMPLOYEES);var xC={Designer:Ir,Runtime:FC,Property:ri};function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(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&&qb(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:Ot(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var zJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=GJ();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var YJ=function(e){zC(r,e);var t=GC(r);function r(n){VC(this,r);var o;return o=t.call(this,n),gt(Ot(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,c,f){return i[f]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,s,y){if(c.type==="public"&&On(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(a,s,y){if(c.type==="public"&&c.signatureType.includes("company")&&On(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(le),Ql=function(e){zC(r,e);var t=GC(r);function r(n){VC(this,r);var o;o=t.call(this,n),gt(Ot(o),"buttonType",void 0),gt(Ot(o),"content",void 0),gt(Ot(o),"showType",void 0),gt(Ot(o),"color",void 0),gt(Ot(o),"icon",void 0),gt(Ot(o),"command",""),gt(Ot(o),"isLoading",!1),gt(Ot(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oi.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u53D1\u8D77\u7B7E\u7F72";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new lR(n==null?void 0:n.signatureConfig),o}return r}(B);gt(Ql,"Rules",YJ);function YC(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 HC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qJ(e,t,r){return t&&HC(e.prototype,t),r&&HC(e,r),e}function Jl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function UJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function WJ(e,t){return t&&(KJ(t)==="object"||typeof t=="function")?t:YC(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var KJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QJ(e){var t=XJ();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WJ(this,o)}}var oi=function(e){UJ(r,e);var t=QJ(r);function r(n){HJ(this,r);var o;return o=t.call(this,n),Jl(YC(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return qJ(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(A);Jl(oi,"controlEventKeys",["on_click","on_click_finish"]),Jl(oi,"controlFieldType",u.FieldTypes.VARCHAR),Jl(oi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function qC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZJ(e,t,r){return t&&UC(e.prototype,t),r&&UC(e,r),e}function WC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function eZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function tZ(e,t){return t&&(nZ(t)==="object"||typeof t=="function")?t:qC(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}var nZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oZ(e){var t=rZ();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tZ(this,o)}}var KC=function(e){eZ(r,e);var t=oZ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),WC(qC(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return ZJ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(M);WC(KC,"controlFieldType",u.FieldTypes.VARCHAR);var XC={Designer:oi,Runtime:KC,Property:Ql};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Qb(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:Pe(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}var uZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jb(e){var t=cZ();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iZ(this,o)}}var fZ=function(e){Xb(r,e);var t=Jb(r);function r(n){Kb(this,r);var o;return o=t.call(this,n),de(Pe(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),de(Pe(o),"canAdd",void 0),de(Pe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(c,f,l){if(f.active&&!f.text){l(h.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(c,f,l){if(f.active&&!f.text){l(h.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(c,f,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(h.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(le),lZ=function(e){Xb(r,e);var t=Jb(r);function r(n){Kb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ii=function(e){Xb(r,e);var t=Jb(r);function r(n){Kb(this,r);var o;o=t.call(this,n),de(Pe(o),"content",void 0),de(Pe(o),"canAdd",void 0),de(Pe(o),"addLocal",void 0),de(Pe(o),"addOnline",void 0),de(Pe(o),"canDownload",void 0),de(Pe(o),"canEdit",void 0),de(Pe(o),"canExport",void 0),de(Pe(o),"canDelete",void 0),de(Pe(o),"wpsSetting",void 0),de(Pe(o),"maxSize",void 0),de(Pe(o),"defaultValue",void 0),de(Pe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ui.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u65B0\u5EFA\u6587\u6863";var f;o.canAdd=(f=n==null?void 0:n.canAdd)!==null&&f!==void 0?f:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var v;o.canExport=(v=n==null?void 0:n.canExport)!==null&&v!==void 0?v:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:lU;var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:[],o.wpsSetting=new aR(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return r}(B);de(ii,"Rules",fZ),de(ii,"RuntimeRules",lZ);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sZ(e,t,r){return t&&JC(e.prototype,t),r&&JC(e,r),e}function na(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function yZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function vZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:QC(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}var dZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Z(e){var t=pZ();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vZ(this,o)}}var ui=function(e){yZ(r,e);var t=_Z(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),na(QC(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return sZ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);na(ui,"controlEventKeys",["on_change","on_wps_open"]),na(ui,"controlFieldType",u.FieldTypes.FILE),na(ui,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZC(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 eN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bZ(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function tN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function OZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eO(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:ZC(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}var mZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wZ(e){var t=PZ();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gZ(this,o)}}var nN=function(e){OZ(r,e);var t=wZ(r);function r(n){hZ(this,r);var o;return o=t.call(this,n),tN(ZC(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return bZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(M);tN(nN,"controlFieldType",u.FieldTypes.FILE);var rN={Designer:ui,Runtime:nN,Property:ii};function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function nO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 RZ(e,t){return t&&(TZ(t)==="object"||typeof t=="function")?t:ce(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}var TZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oO(e){var t=$Z();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RZ(this,o)}}var SZ=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),fe(ce(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),fe(ce(o),"businessScope",{type:"any"}),vo.call(ce(o),n,En.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(le),EZ=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ci=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;o=t.call(this,n),fe(ce(o),"showType",void 0),fe(ce(o),"range",void 0),fe(ce(o),"defaultValueType",void 0),fe(ce(o),"multiple",void 0),fe(ce(o),"rangeOptions",void 0),fe(ce(o),"defaultValue",void 0),fe(ce(o),"displayLevel",void 0),fe(ce(o),"showSubDept",void 0),fe(ce(o),"multistageFilling",void 0),fe(ce(o),"datasourceBind",void 0),fe(ce(o),"datasourceType",void 0),fe(ce(o),"businessType",void 0),fe(ce(o),"businessScope",void 0),fe(ce(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:En.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var p;o.datasourceBind=new fo((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:En.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:u.AssignType.ALL;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var $;($=o.multistageFilling)===null||$===void 0||$.push(new Te(P))})),o}return r}(B);fe(ci,"Rules",SZ),fe(ci,"RuntimeRules",EZ);function oN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CZ(e,t,r){return t&&iN(e.prototype,t),r&&iN(e,r),e}function ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ca=Reflect.get:ca=function(o,i,c){var f=AZ(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ca(e,t,r||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(e)}function NZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function BZ(e,t){return t&&(MZ(t)==="object"||typeof t=="function")?t:oN(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function AZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}var MZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DZ(e){var t=kZ();return function(){var n=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BZ(this,o)}}var En=function(e){NZ(r,e);var t=DZ(r);function r(n){IZ(this,r);var o;return o=t.call(this,n),ua(oN(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return CZ(r,[{key:"toDataBindModel",value:function(o){var i=ca(Cr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);ua(En,"controlName","\u90E8\u95E8"),ua(En,"controlFieldType",u.FieldTypes.DEPARTMENTS),ua(En,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function uN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jZ(e,t,r){return t&&cN(e.prototype,t),r&&cN(e,r),e}function fN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(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&&uO(e,t)}function xZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:uN(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}var VZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GZ(e){var t=zZ();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xZ(this,o)}}var lN=function(e){FZ(r,e);var t=GZ(r);function r(n){LZ(this,r);var o;return o=t.call(this,n),fN(uN(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return jZ(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(M);fN(lN,"controlFieldType",u.FieldTypes.DEPARTMENTS);var aN={Designer:En,Runtime:lN,Property:ci};function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function fO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:H(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}var HZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aO(e){var t=qZ();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var UZ=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;return o=t.call(this,n),q(H(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),q(H(o),"businessScope",{type:"any"}),vo.call(H(o),n,In.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(le),WZ=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),fi=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;o=t.call(this,n),q(H(o),"showType",void 0),q(H(o),"range",void 0),q(H(o),"defaultValueType",void 0),q(H(o),"multiple",void 0),q(H(o),"rangeOptions",void 0),q(H(o),"defaultValue",void 0),q(H(o),"displayLevel",void 0),q(H(o),"showSubDept",void 0),q(H(o),"multistageFilling",void 0),q(H(o),"datasourceBind",void 0),q(H(o),"listPageBind",void 0),q(H(o),"datasourceType",void 0),q(H(o),"businessType",void 0),q(H(o),"businessScope",void 0),q(H(o),"organizingFunction",void 0),q(H(o),"organizationView",void 0),q(H(o),"openMultistageFilling",void 0),q(H(o),"showSelectedDetail",void 0),q(H(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all",o.listPageBind=new Ni(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:In.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var p;o.datasourceBind=new zP((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:In.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:u.AssignType.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var $;o.showSelectedDetail=($=n==null?void 0:n.showSelectedDetail)!==null&&$!==void 0?$:!1,o.selectedContentConfig=new Mi(n==null?void 0:n.selectedContentConfig);var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var k;(k=o.multistageFilling)===null||k===void 0||k.push(new Te(S))})),o}return r}(B);q(fi,"Rules",UZ),q(fi,"RuntimeRules",WZ);function sN(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 yN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XZ(e,t,r){return t&&yN(e.prototype,t),r&&yN(e,r),e}function aa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sa=Reflect.get:sa=function(o,i,c){var f=ZZ(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},sa(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&sO(e,t)}function JZ(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:sN(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function ZZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}var eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nee(e){var t=tee();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JZ(this,o)}}var In=function(e){QZ(r,e);var t=nee(r);function r(n){KZ(this,r);var o;return o=t.call(this,n),aa(sN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return XZ(r,[{key:"toDataBindModel",value:function(o){var i=sa(Nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);aa(In,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),aa(In,"controlFieldType",u.FieldTypes.DEPARTMENTS),aa(In,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"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 vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oee(e,t,r){return t&&dN(e.prototype,t),r&&dN(e,r),e}function pN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:vN(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}var cee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lee(e){var t=fee();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uee(this,o)}}var _N=function(e){iee(r,e);var t=lee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),pN(vN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return oee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(M);pN(_N,"controlFieldType",u.FieldTypes.DEPARTMENTS);var hN={Designer:In,Runtime:_N,Property:fi},aee=Object.freeze({__proto__:null,Input:tS,Checkbox:fS,Radio:bS,Number:TS,DatePicker:BS,DateRange:zS,Textarea:KS,RichText:nE,Select:yE,SelectMultiple:OE,Employee:IE,Image:FE,Attachment:kE,Amount:qE,Score:ZE,Address:lI,Department:OI,AutoNumber:SI,Calc:MI,SearchNumberRange:YI,SearchDateRange:eC,VueFormItem:cC,SelectRelation:hC,SearchInput:$C,Tree:AC,Employee2:xC,ElectronicSignature:XC,WPS:rN,Department2:aN,OrganizationSelection:hN});function see(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vee(e,t,r){return t&&bN(e.prototype,t),r&&bN(e,r),e}function dee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function pee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ee(e,t){return t&&(hee(t)==="object"||typeof t=="function")?t:see(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}var hee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oee(e){var t=bee();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ee(this,o)}}var ON=function(e){pee(r,e);var t=Oee(r);function r(n){return yee(this,r),t.call(this,n)}return vee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Y);dee(ON,"excludes",[u.CONTROL_TYPE.GRID]);function gee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pee(e,t,r){return t&&gN(e.prototype,t),r&&gN(e,r),e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&dO(e,t)}function Ree(e,t){return t&&(Tee(t)==="object"||typeof t=="function")?t:gee(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}var Tee=function(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 See(e){var t=$ee();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ree(this,o)}}var Eee=function(e){wee(r,e);var t=See(r);function r(n){return mee(this,r),t.call(this,n)}return Pee(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(W),mN={Designer:ON,Runtime:Eee,Property:V};function pO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function Cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_O(e,t)}function Nee(e,t){return t&&(Bee(t)==="object"||typeof t=="function")?t:pO(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_O(e,t)}var Bee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Aee();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nee(this,o)}}var kee=24,Cn=function(e){Cee(r,e);var t=Mee(r);function r(n){Iee(this,r);var o;o=t.call(this,n),PN(pO(o),"span",void 0),PN(pO(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:kee;var c;return o.offset=(c=n==null?void 0:n.offset)!==null&&c!==void 0?c:0,o}return r}(V);function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lee(e,t,r){return t&&RN(e.prototype,t),r&&RN(e,r),e}function hO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function Fee(e,t){return t&&(xee(t)==="object"||typeof t=="function")?t:wN(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}var xee=function(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 zee(e){var t=Vee();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fee(this,o)}}var li=function(e){jee(r,e);var t=zee(r);function r(n){Dee(this,r);var o;return o=t.call(this,n),hO(wN(o),"props",void 0),o.props=new Cn(n==null?void 0:n.props),o}return Lee(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Y);hO(li,"excludes",[u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.DIVIDER]),hO(li,"childrenMaxLength",1);function TN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yee(e,t,r){return t&&$N(e.prototype,t),r&&$N(e,r),e}function Hee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function Uee(e,t){return t&&(Wee(t)==="object"||typeof t=="function")?t:TN(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}var Wee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Kee();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uee(this,o)}}var gO=function(e){qee(r,e);var t=Xee(r);function r(n){Gee(this,r);var o;return o=t.call(this,n),Hee(TN(o),"props",void 0),o.props=new Cn(n==null?void 0:n.props),o}return Yee(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(W),ba={Designer:li,Runtime:gO,Property:Cn};function mO(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 SN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function Jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function Zee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:mO(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}var ete=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zee(this,o)}}var ga=function(e){Jee(r,e);var t=nte(r);function r(n){Qee(this,r);var o;o=t.call(this,n),SN(mO(o),"layoutMode",void 0),SN(mO(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var c;return o.gutter=(c=n==null?void 0:n.gutter)!==null&&c!==void 0?c:0,o}return r}(V);function EN(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 IN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ote(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function wO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:EN(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}var cte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lte(e){var t=fte();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ute(this,o)}}var Pa=function(e){ite(r,e);var t=lte(r);function r(n){rte(this,r);var o;return o=t.call(this,n),wO(EN(o),"props",void 0),o.props=new ga(n==null?void 0:n.props),o}return ote(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Y);wO(Pa,"excludes",[u.CONTROL_TYPE.ROW]),wO(Pa,"setting",[{key:"col-setting",visible:!0}]);function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ste(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function yte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(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&&TO(e,t)}function dte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:CN(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}var pte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _te(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hte(e){var t=_te();return function(){var n=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dte(this,o)}}var BN=function(e){vte(r,e);var t=hte(r);function r(n){ate(this,r);var o;return o=t.call(this,n),yte(CN(o),"props",void 0),o.props=new ga(n==null?void 0:n.props),o}return ste(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(W),AN={Designer:Pa,Runtime:BN,Property:ga};function bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ote(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gte(e,t,r){return t&&MN(e.prototype,t),r&&MN(e,r),e}function $O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function Pte(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:bte(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}var wte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tte(e){var t=Rte();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pte(this,o)}}var $te=4,Ta=function(e){mte(r,e);var t=Tte(r);function r(n){return Ote(this,r),t.call(this,n)}return gte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(Pa);$O(Ta,"excludes",[u.CONTROL_TYPE.GRID_ROW]),$O(Ta,"setting",[]),$O(Ta,"childrenMaxLength",$te);function Ste(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ite(e,t,r){return t&&kN(e.prototype,t),r&&kN(e,r),e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function Cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Nte(e,t){return t&&(Bte(t)==="object"||typeof t=="function")?t:Ste(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}var Bte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mte(e){var t=Ate();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nte(this,o)}}var kte=function(e){Cte(r,e);var t=Mte(r);function r(n){return Ete(this,r),t.call(this,n)}return Ite(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(BN);function Dte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function Fte(e,t){return t&&(xte(t)==="object"||typeof t=="function")?t:Dte(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}var xte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zte(e){var t=Vte();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fte(this,o)}}var Gte=function(e){jte(r,e);var t=zte(r);function r(n){return Lte(this,r),t.call(this,n)}return r}(ga),CO={Designer:Ta,Runtime:kte,Property:Gte};function Ea(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function LN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:Ea(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}var Hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=qte();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yte(this,o)}}var Ute=function(e){LN(r,e);var t=jN(r);function r(){DN(this,r);var n;return n=t.apply(this,arguments),Ia(Ea(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(V.Rules),Na=function(e){LN(r,e);var t=jN(r);function r(n){DN(this,r);var o;o=t.call(this,n),Ia(Ea(o),"caption",void 0),Ia(Ea(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(V);Ia(Na,"Rules",Ute);function FN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kte(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function BO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function Xte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function Qte(e,t){return t&&(Jte(t)==="object"||typeof t=="function")?t:FN(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}var Jte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ene(e){var t=Zte();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qte(this,o)}}var MO=function(e){Xte(r,e);var t=ene(r);function r(n){Wte(this,r);var o;return o=t.call(this,n),BO(FN(o),"props",void 0),o.props=new Na(n==null?void 0:n.props),o}return Kte(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Y);BO(MO,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),BO(MO,"excludes",[u.CONTROL_TYPE.CARD_GROUP]);function VN(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 zN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nne(e,t,r){return t&&zN(e.prototype,t),r&&zN(e,r),e}function rne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function one(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function ine(e,t){return t&&(une(t)==="object"||typeof t=="function")?t:VN(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}var une=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fne(e){var t=cne();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ine(this,o)}}var lne=function(e){one(r,e);var t=fne(r);function r(n){tne(this,r);var o;return o=t.call(this,n),rne(VN(o),"props",void 0),o.props=new Na(n==null?void 0:n.props),o}return nne(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(W),GN={Designer:MO,Runtime:lne,Property:Na};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function HN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ane(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:mt(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}var sne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qN(e){var t=yne();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ane(this,o)}}var vne=function(e){HN(r,e);var t=qN(r);function r(n){YN(this,r);var o;return o=t.call(this,n),Pt(mt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Pt(mt(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),Pt(mt(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),ka=function(e){HN(r,e);var t=qN(r);function r(n){YN(this,r);var o;o=t.call(this,n),Pt(mt(o),"metaAutoWidth",void 0),Pt(mt(o),"caption",void 0),Pt(mt(o),"fixed",void 0),Pt(mt(o),"isShowCaptionTip",void 0),Pt(mt(o),"captionTip",void 0),Pt(mt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new BP(n==null?void 0:n.metaAutoWidth),o}return r}(V);Pt(ka,"Rules",vne);function UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LO(e,t)}function _ne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:UN(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}var hne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function One(e){var t=bne();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ne(this,o)}}var at=function(e){pne(r,e);var t=One(r);function r(n){dne(this,r);var o;return o=t.call(this,n),Nn(UN(o),"props",void 0),o.props=new ka(n==null?void 0:n.props),o}return r}(Y);Nn(at,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Nn(at,"controlType","subtable-column"),Nn(at,"controlIcon","subtable-column"),Nn(at,"childrenMaxLength",1),Nn(at,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Nn(at,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pne(e,t){return t&&(wne(t)==="object"||typeof t=="function")?t:WN(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}var wne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tne(e){var t=Rne();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pne(this,o)}}var XN=function(e){mne(r,e);var t=Tne(r);function r(n){gne(this,r);var o;return o=t.call(this,n),KN(WN(o),"props",void 0),o.props=new ka(n==null?void 0:n.props),o}return r}(W);KN(XN,"controlType","subtable-column");var FO={Designer:at,Runtime:XN,Property:ka};function $ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function Ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function Ine(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:$ne(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}var Cne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bne(e){var t=Nne();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ine(this,o)}}var VO=function(e){Ene(r,e);var t=Bne(r);function r(n){return Sne(this,r),t.call(this,n)}return r}(V);function QN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function Mne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kne(e,t){return t&&(Dne(t)==="object"||typeof t=="function")?t:QN(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}var Dne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jne(e){var t=Lne();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kne(this,o)}}var An=function(e){Mne(r,e);var t=jne(r);function r(n){Ane(this,r);var o;return o=t.call(this,n),Bn(QN(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return r}(Y);Bn(An,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Bn(An,"controlType","subtable-row"),Bn(An,"controlIcon","subtable-row"),Bn(An,"childrenMaxLength",1),Bn(An,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.SUBTABLE_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Bn(An,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function JN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xne(e,t,r){return t&&ZN(e.prototype,t),r&&ZN(e,r),e}function Vne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function zne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GO(e,t)}function Gne(e,t){return t&&(Yne(t)==="object"||typeof t=="function")?t:JN(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GO(e,t)}var Yne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qne(e){var t=Hne();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gne(this,o)}}var Une=function(e){zne(r,e);var t=qne(r);function r(n){Fne(this,r);var o;return o=t.call(this,n),Vne(JN(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return xne(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(W),eB={Designer:An,Runtime:Une,Property:VO};function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Kne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Xne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:He(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}var Qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zne(e){var t=Jne();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xne(this,o)}}var HO=function(e){Kne(r,e);var t=Zne(r);function r(n){Wne(this,r);var o;o=t.call(this,n),nt(He(o),"widthType",void 0),nt(He(o),"width",void 0),nt(He(o),"caption",void 0),nt(He(o),"fieldCode",void 0),nt(He(o),"fieldType",void 0),nt(He(o),"fieldName",void 0),nt(He(o),"datasourceBind",void 0),nt(He(o),"fixed",void 0),nt(He(o),"textCleanFormart",void 0),nt(He(o),"decimalKeepPrecision",void 0),nt(He(o),"timestampDateType",void 0),nt(He(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:u.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:u.DateType.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(V);function tB(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 Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function nre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:tB(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}var rre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ire(e){var t=ore();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nre(this,o)}}var kn=function(e){tre(r,e);var t=ire(r);function r(n){ere(this,r);var o;return o=t.call(this,n),Mn(tB(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(Y);Mn(kn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Mn(kn,"controlType","gridtable-column"),Mn(kn,"controlIcon","gridtable-column"),Mn(kn,"childrenMaxLength",1),Mn(kn,"excludes",[u.CONTROL_TYPE.GRID_TABLE,u.CONTROL_TYPE.GRID_TABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Mn(kn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function cre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UO(e,t)}function fre(e,t){return t&&(lre(t)==="object"||typeof t=="function")?t:nB(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}var lre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sre(e){var t=are();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fre(this,o)}}var oB=function(e){cre(r,e);var t=sre(r);function r(n){ure(this,r);var o;return o=t.call(this,n),rB(nB(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(W);rB(oB,"controlType","gridtable-column");var iB={Designer:kn,Runtime:oB,Property:HO};function WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function vre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KO(e,t)}function dre(e,t){return t&&(pre(t)==="object"||typeof t=="function")?t:WO(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}var pre=function(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 hre(e){var t=_re();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dre(this,o)}}var XO=function(e){vre(r,e);var t=hre(r);function r(n){yre(this,r);var o;o=t.call(this,n),uB(WO(o),"minWidth",void 0),uB(WO(o),"gap",void 0);var i;o.minWidth=(i=n==null?void 0:n.minWidth)!==null&&i!==void 0?i:30;var c;return o.gap=(c=n==null?void 0:n.gap)!==null&&c!==void 0?c:10,o}return r}(V);function cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ore(e,t,r){return t&&fB(e.prototype,t),r&&fB(e,r),e}function lB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function gre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mre(e,t){return t&&(Pre(t)==="object"||typeof t=="function")?t:cB(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}var Pre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rre(e){var t=wre();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mre(this,o)}}var aB=function(e){gre(r,e);var t=Rre(r);function r(n){bre(this,r);var o;return o=t.call(this,n),lB(cB(o),"props",void 0),o.props=new XO(n==null?void 0:n.props),o}return Ore(r,null,[{key:"controlName",get:function(){return"\u81EA\u9002\u5E94\u6362\u884C\u5E03\u5C40"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}}]),r}(Y);lB(aB,"excludes",[u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.TAB]);function sB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $re(e,t,r){return t&&yB(e.prototype,t),r&&yB(e,r),e}function Sre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function Ere(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JO(e,t)}function Ire(e,t){return t&&(Cre(t)==="object"||typeof t=="function")?t:sB(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JO(e,t)}var Cre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bre(e){var t=Nre();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ire(this,o)}}var Are=function(e){Ere(r,e);var t=Bre(r);function r(n){Tre(this,r);var o;return o=t.call(this,n),Sre(sB(o),"props",void 0),o.props=new XO(n==null?void 0:n.props),o}return $re(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(W),vB={Designer:aB,Runtime:Are,Property:XO};function dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function Lre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:dB(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}var jre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xre(e){var t=Fre();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lre(this,o)}}var eg=function(e){Dre(r,e);var t=xre(r);function r(n){Mre(this,r);var o;o=t.call(this,n),kre(dB(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(V);function tg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function _B(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function Vre(e,t){return t&&(zre(t)==="object"||typeof t=="function")?t:tg(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}var zre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hB(e){var t=Gre();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vre(this,o)}}var Yre=function(e){_B(r,e);var t=hB(r);function r(n){pB(this,r);var o;return o=t.call(this,n),ng(tg(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(Z),Ka=function(e){_B(r,e);var t=hB(r);function r(n){pB(this,r);var o;o=t.call(this,n),ng(tg(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:si.controlName,o}return r}(V);ng(Ka,"Rules",Yre);function bB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qre(e,t,r){return t&&OB(e.prototype,t),r&&OB(e,r),e}function og(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function Ure(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wre(e,t){return t&&(Kre(t)==="object"||typeof t=="function")?t:bB(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}var Kre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qre(e){var t=Xre();return function(){var n=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wre(this,o)}}var ai=function(e){Ure(r,e);var t=Qre(r);function r(n){Hre(this,r);var o;return o=t.call(this,n),og(bB(o),"props",void 0),o.props=new Ka(n==null?void 0:n.props),o}return qre(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Y);og(ai,"excludes",[u.CONTROL_TYPE.TAB]),og(ai,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function gB(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 mB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zre(e,t,r){return t&&mB(e.prototype,t),r&&mB(e,r),e}function eoe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function toe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ug(e,t)}function noe(e,t){return t&&(roe(t)==="object"||typeof t=="function")?t:gB(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}var roe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ooe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ioe(e){var t=ooe();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return noe(this,o)}}var uoe=function(e){toe(r,e);var t=ioe(r);function r(n){Jre(this,r);var o;return o=t.call(this,n),eoe(gB(o),"props",void 0),o.props=new Ka(n==null?void 0:n.props),o}return Zre(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(W),PB={Designer:ai,Runtime:uoe,Property:Ka};function wB(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 RB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function foe(e,t,r){return t&&RB(e.prototype,t),r&&RB(e,r),e}function Ja(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(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&&cg(e,t)}function aoe(e,t){return t&&(soe(t)==="object"||typeof t=="function")?t:wB(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}var soe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function voe(e){var t=yoe();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aoe(this,o)}}var si=function(e){loe(r,e);var t=voe(r);function r(n){coe(this,r);var o;o=t.call(this,n),Ja(wB(o),"props",void 0),o.props=new eg(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new ai,new ai],o}return foe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Y);Ja(si,"excludes",[u.CONTROL_TYPE.TAB]),Ja(si,"controlEventKeys",["on_change_tab"]),Ja(si,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function doe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function poe(e,t,r){return t&&$B(e.prototype,t),r&&$B(e,r),e}function _oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(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&&fg(e,t)}function boe(e,t){return t&&(Ooe(t)==="object"||typeof t=="function")?t:TB(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}var Ooe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function moe(e){var t=goe();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return boe(this,o)}}var Poe=function(e){hoe(r,e);var t=moe(r);function r(n){doe(this,r);var o;return o=t.call(this,n),_oe(TB(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return poe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(W),SB={Designer:si,Runtime:Poe,Property:eg};function woe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function Toe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lg(e,t)}function $oe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:woe(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}var Soe=function(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 n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $oe(this,o)}}var EB=function(e){Toe(r,e);var t=Ioe(r);function r(n){return Roe(this,r),t.call(this,n)}return r}(V);function IB(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 CB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Noe(e,t,r){return t&&CB(e.prototype,t),r&&CB(e,r),e}function NB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ag(e,t)}function Aoe(e,t){return t&&(Moe(t)==="object"||typeof t=="function")?t:IB(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ag(e,t)}var Moe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Doe(e){var t=koe();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aoe(this,o)}}var BB=function(e){Boe(r,e);var t=Doe(r);function r(n){Coe(this,r);var o;return o=t.call(this,n),NB(IB(o),"props",void 0),o.props=new EB({}),o.children=(n==null?void 0:n.children)||[new li({props:new Cn({span:12})}),new li({props:new Cn({span:12})})],o}return Noe(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Y);NB(BB,"excludes",[u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.GRID,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.TOOLBOX]);function Loe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function joe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Foe(e,t,r){return t&&AB(e.prototype,t),r&&AB(e,r),e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Voe(e,t){return t&&(zoe(t)==="object"||typeof t=="function")?t:Loe(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}var zoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yoe(e){var t=Goe();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Voe(this,o)}}var Hoe=function(e){xoe(r,e);var t=Yoe(r);function r(n){joe(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new gO({props:new Cn({span:12})}),new gO({props:new Cn({span:12})})],o}return Foe(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(W),MB={Designer:BB,Runtime:Hoe,Property:EB};function re(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 oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(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 qoe(e,t){return t&&(Uoe(t)==="object"||typeof t=="function")?t:re(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}var Uoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Woe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pg(e){var t=Woe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qoe(this,o)}}var is;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(is||(is={}));var Koe=function(e){vg(r,e);var t=pg(r);function r(n){yg(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(qt),Xoe=function(e){vg(r,e);var t=pg(r);function r(n){yg(this,r);var o;if(o=t.call(this,n),oe(re(o),"triggerFieldCode",{type:"any"}),oe(re(o),"datasourceBind",{type:"any"}),n.triggerType===is.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),xi.call(re(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(c){return c.type==="object"&&c.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Z),yi=function(e){vg(r,e);var t=pg(r);function r(n){yg(this,r);var o;o=t.call(this,n),oe(re(o),"datasourceBind",void 0),oe(re(o),"isLoading",void 0),oe(re(o),"isShowSubList",void 0),oe(re(o),"triggerType",void 0),oe(re(o),"triggerFieldCode",void 0),oe(re(o),"sublistPage",void 0),oe(re(o),"isShowJoinRelation",void 0),oe(re(o),"joinRelation",void 0),oe(re(o),"showType",void 0),oe(re(o),"showFullScreen",void 0),oe(re(o),"isFixedHeader",void 0),oe(re(o),"selectionType",void 0),oe(re(o),"isShowSelection",void 0),oe(re(o),"isAllLoaded",void 0),oe(re(o),"countType",void 0),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:is.CLICK_ROW;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new jP(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new xP(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var v;o.selectionType=(v=n==null?void 0:n.selectionType)!==null&&v!==void 0?v:"multiple";var b;o.isFixedHeader=(b=n==null?void 0:n.isFixedHeader)!==null&&b!==void 0?b:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var p;return o.isAllLoaded=(p=n==null?void 0:n.isAllLoaded)!==null&&p!==void 0?p:!0,o.countType=n==null?void 0:n.countType,o}return r}(V);oe(yi,"Rules",Xoe),oe(yi,"RuntimeRules",Koe);function kB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Joe(e,t,r){return t&&DB(e.prototype,t),r&&DB(e,r),e}function us(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Zoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_g(e,t)}function eie(e,t){return t&&(tie(t)==="object"||typeof t=="function")?t:kB(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_g(e,t)}var tie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rie(e){var t=nie();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eie(this,o)}}var fs=function(e){Zoe(r,e);var t=rie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),us(kB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return Joe(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Y);us(fs,"excludes",[u.CONTROL_TYPE.ROW]),us(fs,"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"]),us(fs,"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 LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iie(e,t,r){return t&&jB(e.prototype,t),r&&jB(e,r),e}function uie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function cie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fie(e,t){return t&&(lie(t)==="object"||typeof t=="function")?t:LB(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}var lie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sie(e){var t=aie();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fie(this,o)}}var yie=function(e){cie(r,e);var t=sie(r);function r(n){oie(this,r);var o;return o=t.call(this,n),uie(LB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return iie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(W),bg={Designer:fs,Runtime:yie,Property:yi};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(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&&Og(e,t)}function vie(e,t){return t&&(die(t)==="object"||typeof t=="function")?t:an(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}var die=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VB(e){var t=pie();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vie(this,o)}}var _ie=function(e){xB(r,e);var t=VB(r);function r(n){FB(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(qt),ss=function(e){xB(r,e);var t=VB(r);function r(n){FB(this,r);var o;o=t.call(this,n),sn(an(o),"save",void 0),sn(an(o),"cancel",void 0),sn(an(o),"saveAs",void 0),sn(an(o),"print",void 0),sn(an(o),"custom",void 0),sn(an(o),"isLoading",void 0),sn(an(o),"datasourceBind",void 0);var i;o.save=new Et((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var c;o.cancel=new Et((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new Et((f=n==null?void 0:n.saveAs)!==null&&f!==void 0?f:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Et((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(y){return new Et(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new J(n==null?void 0:n.datasourceBind),o}return r}(V);sn(ss,"RuntimeRules",_ie);function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bie(e,t,r){return t&&GB(e.prototype,t),r&&GB(e,r),e}function YB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(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&&gg(e,t)}function gie(e,t){return t&&(mie(t)==="object"||typeof t=="function")?t:zB(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(e,t)}var mie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wie(e){var t=Pie();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gie(this,o)}}var HB=function(e){Oie(r,e);var t=wie(r);function r(n){hie(this,r);var o;return o=t.call(this,n),YB(zB(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return bie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Y);YB(HB,"excludes",[]);function qB(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 UB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tie(e,t,r){return t&&UB(e.prototype,t),r&&UB(e,r),e}function $ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function Sie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eie(e,t){return t&&(Iie(t)==="object"||typeof t=="function")?t:qB(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}var Iie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nie(e){var t=Cie();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eie(this,o)}}var Bie=function(e){Sie(r,e);var t=Nie(r);function r(n){Rie(this,r);var o;return o=t.call(this,n),$ie(qB(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return Tie(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(W),Pg={Designer:HB,Runtime:Bie,Property:ss};function Aie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kie(e,t,r){return t&&WB(e.prototype,t),r&&WB(e,r),e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function Die(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lie(e,t){return t&&(jie(t)==="object"||typeof t=="function")?t:Aie(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}var jie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xie(e){var t=Fie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lie(this,o)}}var Vie=function(e){Die(r,e);var t=xie(r);function r(n){return Mie(this,r),t.call(this,n)}return kie(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Y);function zie(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 KB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yie(e,t,r){return t&&KB(e.prototype,t),r&&KB(e,r),e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function Hie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rg(e,t)}function qie(e,t){return t&&(Uie(t)==="object"||typeof t=="function")?t:zie(e)}function Rg(e,t){return Rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rg(e,t)}var Uie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kie(e){var t=Wie();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qie(this,o)}}var Xie=function(e){Hie(r,e);var t=Kie(r);function r(n){return Gie(this,r),t.call(this,n)}return Yie(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(W);function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function Jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zie(e,t){return t&&(eue(t)==="object"||typeof t=="function")?t:Br(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tg(e,t)}var eue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nue(e){var t=tue();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zie(this,o)}}var rue=function(e){Jie(r,e);var t=nue(r);function r(n){Qie(this,r);var o;o=t.call(this,n),vi(Br(o),"hideHeader",void 0),vi(Br(o),"background","#fff"),vi(Br(o),"minWidth",""),vi(Br(o),"maxWidth",""),vi(Br(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(V),XB={Designer:Vie,Runtime:Xie,Property:rue};function oue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uue(e,t,r){return t&&QB(e.prototype,t),r&&QB(e,r),e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function cue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fue(e,t){return t&&(lue(t)==="object"||typeof t=="function")?t:oue(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}var lue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sue(e){var t=aue();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fue(this,o)}}var yue=function(e){cue(r,e);var t=sue(r);function r(n){return iue(this,r),t.call(this,n)}return uue(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);function vue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function due(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pue(e,t,r){return t&&JB(e.prototype,t),r&&JB(e,r),e}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function _ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hue(e,t){return t&&(bue(t)==="object"||typeof t=="function")?t:vue(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}var bue=function(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 gue(e){var t=Oue();return function(){var n=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hue(this,o)}}var mue=function(e){_ue(r,e);var t=gue(r);function r(n){return due(this,r),t.call(this,n)}return pue(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(W);function Eg(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 ZB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function wue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function Rue(e,t){return t&&(Tue(t)==="object"||typeof t=="function")?t:Eg(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}var Tue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sue(e){var t=$ue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rue(this,o)}}var Eue=function(e){wue(r,e);var t=Sue(r);function r(n){Pue(this,r);var o;return o=t.call(this,n),ZB(Eg(o),"display",void 0),ZB(Eg(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new vR(n==null?void 0:n.flexConfig),o}return r}(V),e1={Designer:yue,Runtime:mue,Property:Eue};function Iue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nue(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function Bue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function Aue(e,t){return t&&(Mue(t)==="object"||typeof t=="function")?t:Iue(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}var Mue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Due(e){var t=kue();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aue(this,o)}}var Lue=function(e){Bue(r,e);var t=Due(r);function r(n){return Cue(this,r),t.call(this,n)}return Nue(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);function jue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xue(e,t,r){return t&&n1(e.prototype,t),r&&n1(e,r),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(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&&Ng(e,t)}function zue(e,t){return t&&(Gue(t)==="object"||typeof t=="function")?t:jue(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}var Gue=function(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 n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zue(this,o)}}var que=function(e){Vue(r,e);var t=Hue(r);function r(n){return Fue(this,r),t.call(this,n)}return xue(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(W);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 Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(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&&Bg(e,t)}function Xue(e,t){return t&&(Que(t)==="object"||typeof t=="function")?t:Uue(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}var Que=function(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 Zue(e){var t=Jue();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xue(this,o)}}var ece=function(e){Kue(r,e);var t=Zue(r);function r(n){return Wue(this,r),t.call(this,n)}return r}(V),r1={Designer:Lue,Runtime:que,Property:ece};function tce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rce(e,t,r){return t&&o1(e.prototype,t),r&&o1(e,r),e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(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&&Ag(e,t)}function ice(e,t){return t&&(uce(t)==="object"||typeof t=="function")?t:tce(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}var uce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fce(e){var t=cce();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ice(this,o)}}var lce=function(e){oce(r,e);var t=fce(r);function r(n){return nce(this,r),t.call(this,n)}return rce(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Y);function ace(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yce(e,t,r){return t&&i1(e.prototype,t),r&&i1(e,r),e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function vce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mg(e,t)}function dce(e,t){return t&&(pce(t)==="object"||typeof t=="function")?t:ace(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}var pce=function(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 hce(e){var t=_ce();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dce(this,o)}}var bce=function(e){vce(r,e);var t=hce(r);function r(n){return sce(this,r),t.call(this,n)}return yce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(W);function di(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ts(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function gce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function mce(e,t){return t&&(Pce(t)==="object"||typeof t=="function")?t:di(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}var Pce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wce();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mce(this,o)}}var Tce=function(e){gce(r,e);var t=Rce(r);function r(n){Oce(this,r);var o;o=t.call(this,n),Ts(di(o),"widthSpan",void 0),Ts(di(o),"heightSpan",void 0),Ts(di(o),"left",void 0),Ts(di(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var c;o.heightSpan=(c=n==null?void 0:n.heightSpan)!==null&&c!==void 0?c:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(V),u1={Designer:lce,Runtime:bce,Property:Tce};function Ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function Sce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function Ece(e,t){return t&&(Ice(t)==="object"||typeof t=="function")?t:Ss(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}var Ice=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nce(e){var t=Cce();return function(){var n=Es(e),o;if(t){var i=Es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ece(this,o)}}var jg=function(e){Sce(r,e);var t=Nce(r);function r(n){$ce(this,r);var o;o=t.call(this,n),Dg(Ss(o),"position",void 0),Dg(Ss(o),"opacity",void 0),Dg(Ss(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var c;o.opacity=(c=n==null?void 0:n.opacity)!==null&&c!==void 0?c:!0;var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"right",o}return r}(V);function c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ace(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function Fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Mce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kce(e,t){return t&&(Dce(t)==="object"||typeof t=="function")?t:c1(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}var Dce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jce(e){var t=Lce();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kce(this,o)}}var Vg=function(e){Mce(r,e);var t=jce(r);function r(n){Bce(this,r);var o;o=t.call(this,n),Fg(c1(o),"props",void 0);var i;return o.props=new jg((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Ace(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(Y);Fg(Vg,"excludes",[]),Fg(Vg,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function l1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xce(e,t,r){return t&&a1(e.prototype,t),r&&a1(e,r),e}function Vce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function zce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function Gce(e,t){return t&&(Yce(t)==="object"||typeof t=="function")?t:l1(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}var Yce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qce(e){var t=Hce();return function(){var n=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gce(this,o)}}var Uce=function(e){zce(r,e);var t=qce(r);function r(n){Fce(this,r);var o;o=t.call(this,n),Vce(l1(o),"props",void 0);var i;return o.props=new jg((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return xce(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(W),s1={Designer:Vg,Runtime:Uce,Property:jg},Wce=Object.freeze({__proto__:null,Grid:mN,Col:ba,Row:AN,GridRow:CO,CardGroup:GN,SubTableColumn:FO,SubTableRow:eB,GridTableColumn:iB,GridLayoutContainer:vB,Tab:SB,TabPane:PB,Toolbox:MB,ListView:bg,DataView:Pg,Page:XB,AdvancedContainer:e1,PositioningContainer:r1,Position:u1,ActionBar:s1});function N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ns(e){return Ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ns(e)}function Yg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function Kce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:N(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}var Xce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qg(e){var t=Qce();return function(){var n=Ns(e),o;if(t){var i=Ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kce(this,o)}}var Jce=function(e){Yg(r,e);var t=qg(r);function r(n){Gg(this,r);var o;return o=t.call(this,n),I(N(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),I(N(o),"limitRows",[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}]),I(N(o),"formKey",{type:"string",required:!1,message:h.getMessage("pleaseEnterForm")}),I(N(o),"maxHeight",{type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")}),I(N(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),I(N(o),"mobileRowCaption",{type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),Zce=function(e){Yg(r,e);var t=qg(r);function r(n){Gg(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(c,f,l){f.length<n.limitRows&&l(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(qt),pi=function(e){Yg(r,e);var t=qg(r);function r(n,o){Gg(this,r);var i;i=t.call(this,n,o),I(N(i),"caption",void 0),I(N(i),"labelPosition",void 0),I(N(i),"isHideCaption",void 0),I(N(i),"isShowCaptionTip",void 0),I(N(i),"captionTip",void 0),I(N(i),"defaultState",void 0),I(N(i),"limitRows",void 0),I(N(i),"maxRows",void 0),I(N(i),"defaultRows",void 0),I(N(i),"datasourceBind",void 0),I(N(i),"printMode",void 0),I(N(i),"openType",void 0),I(N(i),"formKey",void 0),I(N(i),"useCustomHeight",void 0),I(N(i),"maxHeight",void 0),I(N(i),"canAdd",void 0),I(N(i),"canDelete",void 0),I(N(i),"canCheck",void 0),I(N(i),"canEdit",void 0),I(N(i),"canImport",void 0),I(N(i),"canExport",void 0),I(N(i),"canClear",void 0),I(N(i),"mobileShowType",void 0),I(N(i),"mobileDefaultNum",void 0),I(N(i),"dataStorageDoc",void 0),I(N(i),"serverPagination",void 0),I(N(i),"fixedColumn",void 0),I(N(i),"mobileRowCaption",void 0),I(N(i),"mobileIsTile",void 0);var c;i.caption=(c=o==null?void 0:o.caption)!==null&&c!==void 0?c:As.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var v;i.useCustomHeight=(v=o==null?void 0:o.useCustomHeight)!==null&&v!==void 0?v:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:sR;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var p;i.limitRows=(p=o==null?void 0:o.limitRows)!==null&&p!==void 0?p:1;var g;i.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var _;i.defaultRows=(_=o==null?void 0:o.defaultRows)!==null&&_!==void 0?_:1,i.datasourceBind=new J(o==null?void 0:o.datasourceBind);var m;i.canAdd=(m=o==null?void 0:o.canAdd)!==null&&m!==void 0?m:!0;var w;i.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var P;i.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var $;i.canEdit=($=o==null?void 0:o.canEdit)!==null&&$!==void 0?$:!1;var R;i.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var S;i.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var k;i.canClear=(k=o==null?void 0:o.canClear)!==null&&k!==void 0?k:!0;var je;i.serverPagination=(je=o==null?void 0:o.serverPagination)!==null&&je!==void 0?je:!1;var pe;i.isShowCaptionTip=(pe=o==null?void 0:o.isShowCaptionTip)!==null&&pe!==void 0?pe:!1;var _e;i.captionTip=(_e=o==null?void 0:o.captionTip)!==null&&_e!==void 0?_e:"";var no;i.mobileShowType=(no=o==null?void 0:o.mobileShowType)!==null&&no!==void 0?no:"list";var nr;i.mobileDefaultNum=(nr=o==null?void 0:o.mobileDefaultNum)!==null&&nr!==void 0?nr:10;var Rt;i.dataStorageDoc=(Rt=o==null?void 0:o.dataStorageDoc)!==null&&Rt!==void 0?Rt:new AP;var uP;i.fixedColumn=(uP=o==null?void 0:o.fixedColumn)!==null&&uP!==void 0?uP:[];var cP;i.mobileRowCaption=(cP=o==null?void 0:o.mobileRowCaption)!==null&&cP!==void 0?cP:"\u660E\u7EC6";var fP;return i.mobileIsTile=(fP=o==null?void 0:o.mobileIsTile)!==null&&fP!==void 0?fP:!1,i}return r}(_o);I(pi,"Rules",Jce),I(pi,"RuntimeRules",Zce);function Ug(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 y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tfe(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function Wg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(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&&Kg(e,t)}function rfe(e,t){return t&&(ofe(t)==="object"||typeof t=="function")?t:Ug(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}var ofe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ife(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ufe(e){var t=ife();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rfe(this,o)}}var As=function(e){nfe(r,e);var t=ufe(r);function r(n){efe(this,r);var o,i;return o=t.call(this,n),Wg(Ug(o),"props",void 0),o.props=new pi(Ug(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new at,new at,new at]),o}return tfe(r,[{key:"addColumn",value:function(o,i){var c=o!==void 0&&typeof o!="number"?o:new at,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(c):this.props.headers.splice(f,0,c),c}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(eu);Wg(As,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Wg(As,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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 Xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ffe(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function lfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function afe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function sfe(e,t){return t&&(yfe(t)==="object"||typeof t=="function")?t:Xg(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}var yfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dfe(e){var t=vfe();return function(){var n=Ms(e),o;if(t){var i=Ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sfe(this,o)}}var pfe=function(e){afe(r,e);var t=dfe(r);function r(n){cfe(this,r);var o;return o=t.call(this,n),lfe(Xg(o),"props",void 0),o.props=new pi(Xg(o),n==null?void 0:n.props),o}return ffe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Ht("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(ld),d1={Designer:As,Runtime:pfe,Property:pi};function Ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},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&&Jg(e,t)}function bfe(e,t){return t&&(Ofe(t)==="object"||typeof t=="function")?t:Ar(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}var Ofe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mfe(e){var t=gfe();return function(){var n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bfe(this,o)}}var Zg=function(e){hfe(r,e);var t=mfe(r);function r(n,o){_fe(this,r);var i;i=t.call(this,n,o),_i(Ar(i),"isFixedHeader",void 0),_i(Ar(i),"selectionType",void 0),_i(Ar(i),"isShowToolbar",void 0),_i(Ar(i),"isShowSelection",void 0),_i(Ar(i),"isShowCustomColumns",void 0);var c;i.isFixedHeader=(c=o==null?void 0:o.isFixedHeader)!==null&&c!==void 0?c:!1,i.selectionType=o==null?void 0:o.selectionType;var f;i.isShowToolbar=(f=o==null?void 0:o.isShowToolbar)!==null&&f!==void 0?f:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;return i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0,i}return r}(_o);function Pfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function _1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rfe(e,t){return t&&(Tfe(t)==="object"||typeof t=="function")?t:Pfe(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}var Tfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h1(e){var t=$fe();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rfe(this,o)}}var Sfe=function(e){_1(r,e);var t=h1(r);function r(n){p1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(pt),Ls=function(e){_1(r,e);var t=h1(r);function r(n){p1(this,r);var o,i,c;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Dn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var y;o.autoWidth.flex=(y=n==null||(c=n.autoWidth)===null||c===void 0?void 0:c.flex)!==null&&y!==void 0?y:.4;var v;return o.widthType=(v=n==null?void 0:n.widthType)!==null&&v!==void 0?v:"px",o}return r}(K);wfe(Ls,"Rules",Sfe);function b1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Efe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function Ife(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Cfe(e,t){return t&&(Nfe(t)==="object"||typeof t=="function")?t:b1(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}var Nfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Afe(e){var t=Bfe();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cfe(this,o)}}var Dn=function(e){Ife(r,e);var t=Afe(r);function r(n){Efe(this,r);var o;return o=t.call(this,n),hi(b1(o),"props",void 0),o.props=new Ls(n==null?void 0:n.props),o}return r}(ie);hi(Dn,"controlType","order-column"),hi(Dn,"controlName","\u5E8F\u53F7"),hi(Dn,"controlIcon","order-column"),hi(Dn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",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 Mfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function kfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dfe(e,t){return t&&(Lfe(t)==="object"||typeof t=="function")?t:O1(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}var Lfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ffe(e){var t=jfe();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dfe(this,o)}}var om=function(e){kfe(r,e);var t=Ffe(r);function r(n){Mfe(this,r);var o;return o=t.call(this,n),nm(O1(o),"props",void 0),o.props=new Ls(n==null?void 0:n.props),o}return r}(ue);nm(om,"controlType","order-column"),nm(om,"controlFieldType",u.FieldTypes.DECIMAL);var g1={Designer:Dn,Runtime:om,Property:Ls};function im(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 m1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(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&&um(e,t)}function zfe(e,t){return t&&(Gfe(t)==="object"||typeof t=="function")?t:im(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}var Gfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hfe(e){var t=Yfe();return function(){var n=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zfe(this,o)}}var cm=function(e){Vfe(r,e);var t=Hfe(r);function r(n){xfe(this,r);var o,i;o=t.call(this,n),m1(im(o),"showType",void 0),m1(im(o),"limit",void 0);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"right",o.widthType="auto";var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:jn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(K);function Vs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P1(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function qfe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){P1(i,n,o,c,f,"next",l)}function f(l){P1(i,n,o,c,f,"throw",l)}c(void 0)})}}function Ufe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wfe(e,t,r){return t&&w1(e.prototype,t),r&&w1(e,r),e}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mr=Reflect.get:Mr=function(o,i,c){var f=ele(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Mr(e,t,r||e)}function yn(e){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yn(e)}function Kfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xfe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ln(e,o,r[o])})}return e}function Qfe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Jfe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qfe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Zfe(e,t){return t&&(tle(t)==="object"||typeof t=="function")?t:Vs(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function ele(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yn(e),e!==null););return e}var tle=function(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 n=yn(e),o;if(t){var i=yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zfe(this,o)}}var ole=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},jn=function(e){Kfe(r,e);var t=rle(r);function r(n){Ufe(this,r);var o;return o=t.call(this,n),Ln(Vs(o),"props",void 0),Ln(Vs(o),"children",void 0),o.props=new cm(n==null?void 0:n.props),dt(Vs(o),"children",n==null?void 0:n.children),o}return Wfe(r,[{key:"toDataBindModel",value:function(){var o=Mr(yn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===xc.controlType){var c=i;o.props[c.props.command]=c.props}}),o}},{key:"toSchema",value:function(){var o=Mr(yn(r.prototype),"toSchema",this).call(this);return Jfe(Xfe({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return Mr(yn(r.prototype),"validate",c)};return qfe(function(){return ole(this,function(a){switch(a.label){case 0:return[4,l().call(f,o,i)];case 1:return a.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(ie);Ln(jn,"controlType","operation-column"),Ln(jn,"controlName","\u64CD\u4F5C"),Ln(jn,"controlIcon","operation-column"),Ln(jn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function zs(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 Gs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function 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&&lm(e,t)}function cle(e,t){return t&&(fle(t)==="object"||typeof t=="function")?t:zs(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}var fle=function(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 n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cle(this,o)}}var am=function(e){ule(r,e);var t=ale(r);function r(n){ile(this,r);var o;return o=t.call(this,n),Gs(zs(o),"props",void 0),Gs(zs(o),"children",void 0),o.props=new cm(n==null?void 0:n.props),dt(zs(o),"children",n==null?void 0:n.children),o}return r}(ue);Gs(am,"controlType","operation-column"),Gs(am,"controlFieldType",u.FieldTypes.FILE);var R1={Designer:jn,Runtime:am,Property:cm};function bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T1(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function sle(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){T1(i,n,o,c,f,"next",l)}function f(l){T1(i,n,o,c,f,"throw",l)}c(void 0)})}}function yle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vle(e,t,r){return t&&$1(e.prototype,t),r&&$1(e,r),e}function Hs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Oi=Reflect.get:Oi=function(o,i,c){var f=Ole(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Oi(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(e)}function dle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sm(e,t)}function ple(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Hs(e,o,r[o])})}return e}function _le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function hle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_le(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ble(e,t){return t&&(gle(t)==="object"||typeof t=="function")?t:bi(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function Ole(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}var gle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ple(e){var t=mle();return function(){var n=Fn(e),o;if(t){var i=Fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ble(this,o)}}var wle=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},S1=function(e){dle(r,e);var t=Ple(r);function r(n){yle(this,r);var o;return o=t.call(this,n),Hs(bi(o),"props",void 0),Hs(bi(o),"children",void 0),o.props=new Zg(bi(o),n==null?void 0:n.props),dt(bi(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Dn,new jn]),o}return vle(r,[{key:"toSchema",value:function(){var o=Oi(Fn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(c){return c.toSchema()});return hle(ple({},o),{children:i})}},{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return Oi(Fn(r.prototype),"validate",c)};return sle(function(){return wle(this,function(a){switch(a.label){case 0:return[4,l().call(f,o,i)];case 1:return a.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(eu);Hs(S1,"setting",[{key:"list-fixed-header",visible:!0}]);function ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tle(e,t,r){return t&&E1(e.prototype,t),r&&E1(e,r),e}function $le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function Sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vm(e,t)}function Ele(e,t){return t&&(Ile(t)==="object"||typeof t=="function")?t:ym(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}var Ile=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nle(e){var t=Cle();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ele(this,o)}}var Ble=function(e){Sle(r,e);var t=Nle(r);function r(n){Rle(this,r);var o;return o=t.call(this,n),$le(ym(o),"props",void 0),o.props=new Zg(ym(o),n==null?void 0:n.props),o}return Tle(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Ht("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(ld),I1={Designer:S1,Runtime:Ble,Property:Zg},Ale=Object.freeze({__proto__:null,SubTable:d1,GridTable:I1});function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function N1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function Mle(e,t){return t&&(kle(t)==="object"||typeof t=="function")?t:vn(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}var kle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B1(e){var t=Dle();return function(){var n=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mle(this,o)}}var Lle=function(e){N1(r,e);var t=B1(r);function r(n){C1(this,r);var o;return o=t.call(this,n),Qt.call(vn(o),n),o}return r}(dd),Ws=function(e){N1(r,e);var t=B1(r);function r(n){C1(this,r);var o;o=t.call(this,n),xn(vn(o),"optionConfig",void 0),xn(vn(o),"datasourceBind",void 0),xn(vn(o),"showLinkOperation",void 0),xn(vn(o),"linkOperationOption",void 0),xn(vn(o),"options",void 0),xn(vn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.options=yt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(K);xn(Ws,"Rules",Lle);function A1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(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&&pm(e,t)}function xle(e,t){return t&&(Vle(t)==="object"||typeof t=="function")?t:A1(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}var Vle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gle(e){var t=zle();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xle(this,o)}}var Vn=function(e){Fle(r,e);var t=Gle(r);function r(n){jle(this,r);var o;return o=t.call(this,n),kr(A1(o),"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return r}(ie);kr(Vn,"controlType","varchar-column"),kr(Vn,"controlName","\u77ED\u6587\u672C"),kr(Vn,"controlIcon","varchar-column"),kr(Vn,"controlFieldType",u.FieldTypes.VARCHAR),kr(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}]);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function Hle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function qle(e,t){return t&&(Ule(t)==="object"||typeof t=="function")?t:M1(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}var Ule=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kle(e){var t=Wle();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qle(this,o)}}var bm=function(e){Hle(r,e);var t=Kle(r);function r(n){Yle(this,r);var o;return o=t.call(this,n),_m(M1(o),"props",void 0),o.props=new Ws(n==null?void 0:n.props),o}return r}(ue);_m(bm,"controlType","varchar-column"),_m(bm,"controlFieldType",u.FieldTypes.VARCHAR);var k1={Designer:Vn,Runtime:bm,Property:Ws};function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function L1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xle(e,t){return t&&(Qle(t)==="object"||typeof t=="function")?t:Dr(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}var Qle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j1(e){var t=Jle();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xle(this,o)}}var Zle=function(e){L1(r,e);var t=j1(r);function r(n){D1(this,r);var o;return o=t.call(this,n),Qt.call(Dr(o),n),o}return r}(pt),Js=function(e){L1(r,e);var t=j1(r);function r(n){D1(this,r);var o;o=t.call(this,n),gi(Dr(o),"escapeHTML",void 0),gi(Dr(o),"showLinkOperation",void 0),gi(Dr(o),"linkOperationOption",void 0),gi(Dr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:zn.controlName;var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);gi(Js,"Rules",Zle);function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tae(e,t,r){return t&&x1(e.prototype,t),r&&x1(e,r),e}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zs=Reflect.get:Zs=function(o,i,c){var f=oae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Zs(e,t,r||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function rae(e,t){return t&&(iae(t)==="object"||typeof t=="function")?t:F1(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function oae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}var iae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cae(e){var t=uae();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rae(this,o)}}var zn=function(e){nae(r,e);var t=cae(r);function r(n){eae(this,r);var o;return o=t.call(this,n),Lr(F1(o),"props",void 0),o.props=new Js(n==null?void 0:n.props),o}return tae(r,[{key:"toDataBindModel",value:function(o){var i=Zs(jr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.escapeHTML;i.props.escapeHTML=c}return i}}]),r}(ie);Lr(zn,"controlType","text-column"),Lr(zn,"controlName","\u957F\u6587\u672C"),Lr(zn,"controlIcon","text-column"),Lr(zn,"controlFieldType",u.FieldTypes.TEXT),Lr(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}]);function V1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function lae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pm(e,t)}function aae(e,t){return t&&(sae(t)==="object"||typeof t=="function")?t:V1(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}var sae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vae(e){var t=yae();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aae(this,o)}}var wm=function(e){lae(r,e);var t=vae(r);function r(n){fae(this,r);var o;return o=t.call(this,n),mm(V1(o),"props",void 0),o.props=new Js(n==null?void 0:n.props),o}return r}(ue);mm(wm,"controlType","text-column"),mm(wm,"controlFieldType",u.FieldTypes.TEXT);var z1={Designer:zn,Runtime:wm,Property:Js};function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function dae(e,t){return t&&(pae(t)==="object"||typeof t=="function")?t:wt(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}var pae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H1(e){var t=_ae();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dae(this,o)}}var hae=function(e){Y1(r,e);var t=H1(r);function r(n){G1(this,r);var o;return o=t.call(this,n),Qt.call(wt(o),n),o}return r}(pt),ny=function(e){Y1(r,e);var t=H1(r);function r(n){G1(this,r);var o;o=t.call(this,n),Vt(wt(o),"optionConfig",void 0),Vt(wt(o),"datasourceBind",void 0),Vt(wt(o),"showLinkOperation",void 0),Vt(wt(o),"linkOperationOption",void 0),Vt(wt(o),"options",void 0),Vt(wt(o),"precision",void 0),Vt(wt(o),"micrometer",void 0),Vt(wt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gn.controlName;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var s;o.options=yt((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);Vt(ny,"Rules",hae);function q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oae(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ry=Reflect.get:ry=function(o,i,c){var f=Pae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ry(e,t,r||e)}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function gae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mae(e,t){return t&&(wae(t)==="object"||typeof t=="function")?t:q1(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Pae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xr(e),e!==null););return e}var wae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tae(e){var t=Rae();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mae(this,o)}}var Gn=function(e){gae(r,e);var t=Tae(r);function r(n){bae(this,r);var o;return o=t.call(this,n),Fr(q1(o),"props",void 0),o.props=new ny(n==null?void 0:n.props),o}return Oae(r,[{key:"toDataBindModel",value:function(o){var i=ry(xr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}]),r}(ie);Fr(Gn,"controlType","decimal-column"),Fr(Gn,"controlName","\u6570\u503C"),Fr(Gn,"controlIcon","decimal-column"),Fr(Gn,"controlFieldType",u.FieldTypes.DECIMAL),Fr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION,u.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function W1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function Sae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sm(e,t)}function Eae(e,t){return t&&(Iae(t)==="object"||typeof t=="function")?t:W1(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}var Iae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nae(e){var t=Cae();return function(){var n=oy(e),o;if(t){var i=oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eae(this,o)}}var Em=function(e){Sae(r,e);var t=Nae(r);function r(n){$ae(this,r);var o;return o=t.call(this,n),$m(W1(o),"props",void 0),o.props=new ny(n==null?void 0:n.props),o}return r}(ue);$m(Em,"controlType","decimal-column"),$m(Em,"controlFieldType",u.FieldTypes.DECIMAL);var K1={Designer:Gn,Runtime:Em,Property:ny};function mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function Q1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:mi(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}var Aae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J1(e){var t=Mae();return function(){var n=uy(e),o;if(t){var i=uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bae(this,o)}}var kae=function(e){Q1(r,e);var t=J1(r);function r(n){X1(this,r);var o;return o=t.call(this,n),Qt.call(mi(o),n),o}return r}(pt),cy=function(e){Q1(r,e);var t=J1(r);function r(n){X1(this,r);var o;o=t.call(this,n),iy(mi(o),"dateType",void 0),iy(mi(o),"showLinkOperation",void 0),iy(mi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Yn.controlName,o}return r}(K);iy(cy,"Rules",kae);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lae(e,t,r){return t&&eA(e.prototype,t),r&&eA(e,r),e}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fy=Reflect.get:fy=function(o,i,c){var f=xae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},fy(e,t,r||e)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function jae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function Fae(e,t){return t&&(Vae(t)==="object"||typeof t=="function")?t:Z1(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function xae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zr(e),e!==null););return e}var Vae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gae(e){var t=zae();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fae(this,o)}}var Yn=function(e){jae(r,e);var t=Gae(r);function r(n){Dae(this,r);var o;return o=t.call(this,n),Vr(Z1(o),"props",void 0),o.props=new cy(n==null?void 0:n.props),o}return Lae(r,[{key:"toDataBindModel",value:function(o){var i=fy(zr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ie);Vr(Yn,"controlType","timescope-column"),Vr(Yn,"controlName","\u65E5\u671F\u533A\u95F4"),Vr(Yn,"controlIcon","timescope-column"),Vr(Yn,"controlFieldType",u.FieldTypes.TIMESCOPE),Vr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(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&&Bm(e,t)}function qae(e,t){return t&&(Uae(t)==="object"||typeof t=="function")?t:tA(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}var Uae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kae(e){var t=Wae();return function(){var n=ly(e),o;if(t){var i=ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qae(this,o)}}var Am=function(e){Hae(r,e);var t=Kae(r);function r(n){Yae(this,r);var o;return o=t.call(this,n),Nm(tA(o),"props",void 0),o.props=new cy(n==null?void 0:n.props),o}return r}(ue);Nm(Am,"controlType","timescope-column"),Nm(Am,"controlFieldType",u.FieldTypes.TIMESCOPE);var nA={Designer:Yn,Runtime:Am,Property:cy};function Pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function oA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function Xae(e,t){return t&&(Qae(t)==="object"||typeof t=="function")?t:Pi(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(e,t)}var Qae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iA(e){var t=Jae();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xae(this,o)}}var Zae=function(e){oA(r,e);var t=iA(r);function r(n){rA(this,r);var o;return o=t.call(this,n),Qt.call(Pi(o),n),o}return r}(pt),yy=function(e){oA(r,e);var t=iA(r);function r(n){rA(this,r);var o;o=t.call(this,n),ay(Pi(o),"dateType",void 0),ay(Pi(o),"showLinkOperation",void 0),ay(Pi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Hn.controlName,o}return r}(K);ay(yy,"Rules",Zae);function uA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ese(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tse(e,t,r){return t&&cA(e.prototype,t),r&&cA(e,r),e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?vy=Reflect.get:vy=function(o,i,c){var f=ose(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},vy(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function nse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function rse(e,t){return t&&(ise(t)==="object"||typeof t=="function")?t:uA(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function ose(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}var ise=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function use(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cse(e){var t=use();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rse(this,o)}}var Hn=function(e){nse(r,e);var t=cse(r);function r(n){ese(this,r);var o;return o=t.call(this,n),Gr(uA(o),"props",void 0),o.props=new yy(n==null?void 0:n.props),o}return tse(r,[{key:"toDataBindModel",value:function(o){var i=vy(Yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ie);Gr(Hn,"controlType","timestamp-column"),Gr(Hn,"controlName","\u65E5\u671F"),Gr(Hn,"controlIcon","timestamp-column"),Gr(Hn,"controlFieldType",u.FieldTypes.TIMESTAMP),Gr(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function fA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dy(e){return dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dy(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&&Lm(e,t)}function ase(e,t){return t&&(sse(t)==="object"||typeof t=="function")?t:fA(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}var sse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vse(e){var t=yse();return function(){var n=dy(e),o;if(t){var i=dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ase(this,o)}}var jm=function(e){lse(r,e);var t=vse(r);function r(n){fse(this,r);var o;return o=t.call(this,n),Dm(fA(o),"props",void 0),o.props=new yy(n==null?void 0:n.props),o}return r}(ue);Dm(jm,"controlType","timestamp-column"),Dm(jm,"controlFieldType",u.FieldTypes.TIMESTAMP);var lA={Designer:Hn,Runtime:jm,Property:yy};function py(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hy(e){return hy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hy(e)}function sA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dse(e,t){return t&&(pse(t)==="object"||typeof t=="function")?t:py(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}var pse=function(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 yA(e){var t=_se();return function(){var n=hy(e),o;if(t){var i=hy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dse(this,o)}}var hse=function(e){sA(r,e);var t=yA(r);function r(n){return aA(this,r),t.call(this,n)}return r}(dd),by=function(e){sA(r,e);var t=yA(r);function r(n){aA(this,r);var o;o=t.call(this,n),_y(py(o),"optionConfig",void 0),_y(py(o),"datasourceBind",void 0),_y(py(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;return o.options=yt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(K);_y(by,"Rules",hse);function vA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oy(e)}function Ose(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xm(e,t)}function gse(e,t){return t&&(mse(t)==="object"||typeof t=="function")?t:vA(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}var mse=function(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 wse(e){var t=Pse();return function(){var n=Oy(e),o;if(t){var i=Oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gse(this,o)}}var qn=function(e){Ose(r,e);var t=wse(r);function r(n){bse(this,r);var o;return o=t.call(this,n),Hr(vA(o),"props",void 0),o.props=new by(n==null?void 0:n.props),o}return r}(ie);Hr(qn,"controlType","array-column"),Hr(qn,"controlName","\u6570\u7EC4"),Hr(qn,"controlIcon","array-column"),Hr(qn,"controlFieldType",u.FieldTypes.ARRAY),Hr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function dA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gy(e)}function Tse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $se(e,t){return t&&(Sse(t)==="object"||typeof t=="function")?t:dA(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}var Sse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ese(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ise(e){var t=Ese();return function(){var n=gy(e),o;if(t){var i=gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $se(this,o)}}var Gm=function(e){Tse(r,e);var t=Ise(r);function r(n){Rse(this,r);var o;return o=t.call(this,n),Vm(dA(o),"props",void 0),o.props=new by(n==null?void 0:n.props),o}return r}(ue);Vm(Gm,"controlType","array-column"),Vm(Gm,"controlFieldType",u.FieldTypes.ARRAY);var pA={Designer:qn,Runtime:Gm,Property:by};function _A(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 Nse(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function my(e){return my=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},my(e)}function Bse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ase(e,t){return t&&(Mse(t)==="object"||typeof t=="function")?t:_A(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}var Mse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dse(e){var t=kse();return function(){var n=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ase(this,o)}}var Hm=function(e){Bse(r,e);var t=Dse(r);function r(n){Cse(this,r);var o;o=t.call(this,n),Nse(_A(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Un.controlName;var c;return o.displayLevel=(c=n==null?void 0:n.displayLevel)!==null&&c!==void 0?c:1,o}return r}(K);function hA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jse(e,t,r){return t&&bA(e.prototype,t),r&&bA(e,r),e}function qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Py(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Py=Reflect.get:Py=function(o,i,c){var f=Vse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Py(e,t,r||e)}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function Fse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qm(e,t)}function xse(e,t){return t&&(zse(t)==="object"||typeof t=="function")?t:hA(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function Vse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ur(e),e!==null););return e}var zse=function(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 Yse(e){var t=Gse();return function(){var n=Ur(e),o;if(t){var i=Ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xse(this,o)}}var Un=function(e){Fse(r,e);var t=Yse(r);function r(n){Lse(this,r);var o;return o=t.call(this,n),qr(hA(o),"props",void 0),o.props=new Hm(n==null?void 0:n.props),o}return jse(r,[{key:"toDataBindModel",value:function(o){var i=Py(Ur(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.displayLevel;i.props.displayLevel=c}return i}}]),r}(ie);qr(Un,"controlType","department-column"),qr(Un,"controlName","\u90E8\u95E8"),qr(Un,"controlIcon","department-column"),qr(Un,"controlFieldType",u.FieldTypes.DEPARTMENTS),qr(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wy(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&&Wm(e,t)}function Use(e,t){return t&&(Wse(t)==="object"||typeof t=="function")?t:OA(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}var Wse=function(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 n=wy(e),o;if(t){var i=wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Use(this,o)}}var Km=function(e){qse(r,e);var t=Xse(r);function r(n){Hse(this,r);var o;return o=t.call(this,n),Um(OA(o),"props",void 0),o.props=new Hm(n==null?void 0:n.props),o}return r}(ue);Um(Km,"controlType","department-column"),Um(Km,"controlFieldType",u.FieldTypes.DEPARTMENTS);var gA={Designer:Un,Runtime:Km,Property:Hm};function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ty(e)}function PA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function Qse(e,t){return t&&(Jse(t)==="object"||typeof t=="function")?t:Ry(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}var Jse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=Zse();return function(){var n=Ty(e),o;if(t){var i=Ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qse(this,o)}}var eye=function(e){PA(r,e);var t=wA(r);function r(n){mA(this,r);var o;return o=t.call(this,n),Qt.call(Ry(o),n),o}return r}(pt),$y=function(e){PA(r,e);var t=wA(r);function r(n){mA(this,r);var o;o=t.call(this,n),Xm(Ry(o),"showLinkOperation",void 0),Xm(Ry(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wn.controlName;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);Xm($y,"Rules",eye);function RA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function nye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function rye(e,t){return t&&(oye(t)==="object"||typeof t=="function")?t:RA(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}var oye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uye(e){var t=iye();return function(){var n=Sy(e),o;if(t){var i=Sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rye(this,o)}}var Wn=function(e){nye(r,e);var t=uye(r);function r(n){tye(this,r);var o;return o=t.call(this,n),Wr(RA(o),"props",void 0),o.props=new $y(n==null?void 0:n.props),o}return r}(ie);Wr(Wn,"controlType","auto-number-column"),Wr(Wn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Wr(Wn,"controlIcon","auto-number-column"),Wr(Wn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Wr(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function fye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function lye(e,t){return t&&(aye(t)==="object"||typeof t=="function")?t:TA(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}var aye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yye(e){var t=sye();return function(){var n=Ey(e),o;if(t){var i=Ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lye(this,o)}}var t0=function(e){fye(r,e);var t=yye(r);function r(n){cye(this,r);var o;return o=t.call(this,n),Zm(TA(o),"props",void 0),o.props=new $y(n==null?void 0:n.props),o}return r}(ue);Zm(t0,"controlType","auto-number-column"),Zm(t0,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var $A={Designer:Wn,Runtime:t0,Property:$y};function vye(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 Iy(e){return Iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iy(e)}function pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function _ye(e,t){return t&&(hye(t)==="object"||typeof t=="function")?t:vye(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}var hye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oye(e){var t=bye();return function(){var n=Iy(e),o;if(t){var i=Iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ye(this,o)}}var r0=function(e){pye(r,e);var t=Oye(r);function r(n){dye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName,o}return r}(K);function SA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cy(e){return Cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cy(e)}function mye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Pye(e,t){return t&&(wye(t)==="object"||typeof t=="function")?t:SA(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}var wye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tye(e){var t=Rye();return function(){var n=Cy(e),o;if(t){var i=Cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pye(this,o)}}var Kn=function(e){mye(r,e);var t=Tye(r);function r(n){gye(this,r);var o;return o=t.call(this,n),Kr(SA(o),"props",void 0),o.props=new r0(n==null?void 0:n.props),o}return r}(ie);Kr(Kn,"controlType","file-column"),Kr(Kn,"controlName","\u9644\u4EF6"),Kr(Kn,"controlIcon","file-column"),Kr(Kn,"controlFieldType",u.FieldTypes.FILE),Kr(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ny(e){return Ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ny(e)}function Sye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function Eye(e,t){return t&&(Iye(t)==="object"||typeof t=="function")?t:EA(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}var Iye=function(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 Nye(e){var t=Cye();return function(){var n=Ny(e),o;if(t){var i=Ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eye(this,o)}}var c0=function(e){Sye(r,e);var t=Nye(r);function r(n){$ye(this,r);var o;return o=t.call(this,n),i0(EA(o),"props",void 0),o.props=new r0(n==null?void 0:n.props),o}return r}(ue);i0(c0,"controlType","file-column"),i0(c0,"controlFieldType",u.FieldTypes.FILE);var IA={Designer:Kn,Runtime:c0,Property:r0};function Bye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function By(e){return By=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},By(e)}function Mye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f0(e,t)}function kye(e,t){return t&&(Dye(t)==="object"||typeof t=="function")?t:Bye(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}var Dye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jye(e){var t=Lye();return function(){var n=By(e),o;if(t){var i=By(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kye(this,o)}}var l0=function(e){Mye(r,e);var t=jye(r);function r(n){Aye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName,o}return r}(K);function CA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ay(e){return Ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ay(e)}function xye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function Vye(e,t){return t&&(zye(t)==="object"||typeof t=="function")?t:CA(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}var zye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yye(e){var t=Gye();return function(){var n=Ay(e),o;if(t){var i=Ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vye(this,o)}}var Xn=function(e){xye(r,e);var t=Yye(r);function r(n){Fye(this,r);var o;return o=t.call(this,n),Xr(CA(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return r}(ie);Xr(Xn,"controlType","image-column"),Xr(Xn,"controlName","\u56FE\u7247"),Xr(Xn,"controlIcon","image-column"),Xr(Xn,"controlFieldType",u.FieldTypes.IMAGE),Xr(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function NA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},My(e)}function qye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Uye(e,t){return t&&(Wye(t)==="object"||typeof t=="function")?t:NA(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}var Wye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xye(e){var t=Kye();return function(){var n=My(e),o;if(t){var i=My(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uye(this,o)}}var v0=function(e){qye(r,e);var t=Xye(r);function r(n){Hye(this,r);var o;return o=t.call(this,n),s0(NA(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return r}(ue);s0(v0,"controlType","image-column"),s0(v0,"controlFieldType",u.FieldTypes.IMAGE);var BA={Designer:Xn,Runtime:v0,Property:l0};function Qye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function Zye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function eve(e,t){return t&&(tve(t)==="object"||typeof t=="function")?t:Qye(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}var tve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rve(e){var t=nve();return function(){var n=ky(e),o;if(t){var i=ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eve(this,o)}}var p0=function(e){Zye(r,e);var t=rve(r);function r(n){Jye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn.controlName,o}return r}(K);function AA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ove(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(e)}function ive(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uve(e,t){return t&&(cve(t)==="object"||typeof t=="function")?t:AA(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}var cve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lve(e){var t=fve();return function(){var n=Dy(e),o;if(t){var i=Dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uve(this,o)}}var Qn=function(e){ive(r,e);var t=lve(r);function r(n){ove(this,r);var o;return o=t.call(this,n),Qr(AA(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return r}(ie);Qr(Qn,"controlType","people-column"),Qr(Qn,"controlName","\u4EBA\u5458"),Qr(Qn,"controlIcon","people-column"),Qr(Qn,"controlFieldType",u.FieldTypes.EMPLOYEES),Qr(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ave(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ly(e){return Ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ly(e)}function sve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yve(e,t){return t&&(vve(t)==="object"||typeof t=="function")?t:MA(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}var vve=function(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 pve(e){var t=dve();return function(){var n=Ly(e),o;if(t){var i=Ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yve(this,o)}}var O0=function(e){sve(r,e);var t=pve(r);function r(n){ave(this,r);var o;return o=t.call(this,n),h0(MA(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return r}(ue);h0(O0,"controlType","people-column"),h0(O0,"controlFieldType",u.FieldTypes.EMPLOYEES);var kA={Designer:Qn,Runtime:O0,Property:p0};function jy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fy(e)}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function _ve(e,t){return t&&(hve(t)==="object"||typeof t=="function")?t:jy(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}var hve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jA(e){var t=bve();return function(){var n=Fy(e),o;if(t){var i=Fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ve(this,o)}}var Ove=function(e){LA(r,e);var t=jA(r);function r(n){DA(this,r);var o;return o=t.call(this,n),Qt.call(jy(o),n),o}return r}(pt),xy=function(e){LA(r,e);var t=jA(r);function r(n){DA(this,r);var o;o=t.call(this,n),g0(jy(o),"showLinkOperation",void 0),g0(jy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);g0(xy,"Rules",Ove);function FA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vy(e){return Vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vy(e)}function mve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function Pve(e,t){return t&&(wve(t)==="object"||typeof t=="function")?t:FA(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}var wve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tve(e){var t=Rve();return function(){var n=Vy(e),o;if(t){var i=Vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pve(this,o)}}var Jn=function(e){mve(r,e);var t=Tve(r);function r(n){gve(this,r);var o;return o=t.call(this,n),Jr(FA(o),"props",void 0),o.props=new xy(n==null?void 0:n.props),o}return r}(ie);Jr(Jn,"controlType","location-column"),Jr(Jn,"controlName","\u5730\u5740"),Jr(Jn,"controlIcon","location-column"),Jr(Jn,"controlFieldType",u.FieldTypes.ADDRESS),Jr(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function xA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(e)}function Sve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eve(e,t){return t&&(Ive(t)==="object"||typeof t=="function")?t:xA(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}var Ive=function(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 Nve(e){var t=Cve();return function(){var n=zy(e),o;if(t){var i=zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eve(this,o)}}var T0=function(e){Sve(r,e);var t=Nve(r);function r(n){$ve(this,r);var o;return o=t.call(this,n),w0(xA(o),"props",void 0),o.props=new xy(n==null?void 0:n.props),o}return r}(ue);w0(T0,"controlType","location-column"),w0(T0,"controlFieldType",u.FieldTypes.ADDRESS);var VA={Designer:Jn,Runtime:T0,Property:xy};function zA(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 Ave(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gy(e)}function Mve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function kve(e,t){return t&&(Dve(t)==="object"||typeof t=="function")?t:zA(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}var Dve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jve(e){var t=Lve();return function(){var n=Gy(e),o;if(t){var i=Gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kve(this,o)}}var S0=function(e){Mve(r,e);var t=jve(r);function r(n){Bve(this,r);var o;o=t.call(this,n),Ave(zA(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn.controlName;var c;return o.fieldCodeList=(c=n==null?void 0:n.fieldCodeList)!==null&&c!==void 0?c:[],o}return r}(K);function Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xve(e,t,r){return t&&GA(e.prototype,t),r&&GA(e,r),e}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wi=Reflect.get:wi=function(o,i,c){var f=Uve(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},wi(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function Vve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zve(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Gve(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){st(e,o,r[o])})}return e}function Yve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Hve(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yve(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function qve(e,t){return t&&(Wve(t)==="object"||typeof t=="function")?t:Zr(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Uve(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}var Wve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xve(e){var t=Kve();return function(){var n=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qve(this,o)}}var Qve=1,dn=function(t){Vve(n,t);var r=Xve(n);function n(o){Fve(this,n);var i;i=r.call(this,o),st(Zr(i),"excludes",void 0),st(Zr(i),"childrenMaxLength",void 0),st(Zr(i),"props",void 0),st(Zr(i),"children",void 0);var c=zve(this,n)?this.constructor:void 0,f=c.excludes,l=c.childrenMaxLength;return i.props=new S0(o==null?void 0:o.props),dt(Zr(i),"children",o==null?void 0:o.children),i.excludes=$t(f),i.childrenMaxLength=l,i}return xve(n,[{key:"judgeJoinChildren",value:function(i){var c=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return c&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var c=wi(Zn(n.prototype),"toDataBindModel",this).call(this,i);if(c){var f=this.props.fieldCodeList;c.props.fieldCodeList=f}return c}},{key:"toSchema",value:function(){var i=wi(Zn(n.prototype),"toSchema",this).call(this);return Hve(Gve({},i),{children:this.children.map(function(c){return c.toSchema()})})}}]),n}(ie);st(dn,"controlType","custom-column"),st(dn,"controlName","\u81EA\u5B9A\u4E49"),st(dn,"controlIcon","custom-column"),st(dn,"excludes",[]),st(dn,"childrenMaxLength",Qve),st(dn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Yy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hy(e){return Hy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hy(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&&C0(e,t)}function ede(e,t){return t&&(tde(t)==="object"||typeof t=="function")?t:Yy(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}var tde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rde(e){var t=nde();return function(){var n=Hy(e),o;if(t){var i=Hy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ede(this,o)}}var YA=function(e){Zve(r,e);var t=rde(r);function r(n){Jve(this,r);var o;return o=t.call(this,n),I0(Yy(o),"props",void 0),I0(Yy(o),"children",void 0),o.props=new S0(n==null?void 0:n.props),dt(Yy(o),"children",n==null?void 0:n.children),o}return r}(ue);I0(YA,"controlType","custom-column");var HA={Designer:dn,Runtime:YA,Property:S0};function qA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ode(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ide(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qy(e){return qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qy(e)}function ude(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function cde(e,t){return t&&(fde(t)==="object"||typeof t=="function")?t:qA(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}var fde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ade(e){var t=lde();return function(){var n=qy(e),o;if(t){var i=qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cde(this,o)}}var B0=function(e){ude(r,e);var t=ade(r);function r(n){ode(this,r);var o;o=t.call(this,n),ide(qA(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pn.controlName;var c;return o.datasourceBind=new fo((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{attributes:pn.controlCustomAttributes}),o}return r}(K);function UA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yde(e,t,r){return t&&WA(e.prototype,t),r&&WA(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uy(e){return Uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uy(e)}function vde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function dde(e,t){return t&&(pde(t)==="object"||typeof t=="function")?t:UA(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}var pde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _de(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_de();return function(){var n=Uy(e),o;if(t){var i=Uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dde(this,o)}}var pn=function(e){vde(r,e);var t=hde(r);function r(n){sde(this,r);var o;return o=t.call(this,n),eo(UA(o),"props",void 0),o.props=new B0(n==null?void 0:n.props),o}return yde(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ie);eo(pn,"controlType","employee-column"),eo(pn,"controlName","\u4EBA\u5458"),eo(pn,"controlIcon","employee-column"),eo(pn,"controlFieldType",u.FieldTypes.EMPLOYEES),eo(pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function KA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wy(e)}function 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&&k0(e,t)}function gde(e,t){return t&&(mde(t)==="object"||typeof t=="function")?t:KA(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}var mde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wde(e){var t=Pde();return function(){var n=Wy(e),o;if(t){var i=Wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gde(this,o)}}var D0=function(e){Ode(r,e);var t=wde(r);function r(n){bde(this,r);var o;return o=t.call(this,n),M0(KA(o),"props",void 0),o.props=new B0(n==null?void 0:n.props),o}return r}(ue);M0(D0,"controlType","employee-column"),M0(D0,"controlFieldType",u.FieldTypes.EMPLOYEES);var XA={Designer:pn,Runtime:D0,Property:B0};function Ky(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xy(e){return Xy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xy(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&&j0(e,t)}function $de(e,t){return t&&(Sde(t)==="object"||typeof t=="function")?t:Ky(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}var Sde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ede(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ide(e){var t=Ede();return function(){var n=Xy(e),o;if(t){var i=Xy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $de(this,o)}}var F0=function(e){Tde(r,e);var t=Ide(r);function r(n){Rde(this,r);var o;o=t.call(this,n),L0(Ky(o),"lineEllipsis",void 0),L0(Ky(o),"showLinkOperation",void 0),L0(Ky(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(K);function x0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qy(e)}function Nde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function Bde(e,t){return t&&(Ade(t)==="object"||typeof t=="function")?t:x0(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}var Ade=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kde(e){var t=Mde();return function(){var n=Qy(e),o;if(t){var i=Qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bde(this,o)}}var tr=function(e){Nde(r,e);var t=kde(r);function r(n){Cde(this,r);var o;return o=t.call(this,n),er(x0(o),"props",void 0),er(x0(o),"children",void 0),o.props=new F0(n==null?void 0:n.props),o}return r}(ie);er(tr,"controlType","approval-status-column"),er(tr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),er(tr,"controlIcon","approval-status-column"),er(tr,"excludes",[]),er(tr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function z0(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 G0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jy(e)}function 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&&Y0(e,t)}function jde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:z0(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}var Fde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vde(e){var t=xde();return function(){var n=Jy(e),o;if(t){var i=Jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jde(this,o)}}var QA=function(e){Lde(r,e);var t=Vde(r);function r(n){Dde(this,r);var o;return o=t.call(this,n),G0(z0(o),"props",void 0),G0(z0(o),"children",void 0),o.props=new F0(n==null?void 0:n.props),o}return r}(ue);G0(QA,"controlType","approval-status-column");var JA={Designer:tr,Runtime:QA,Property:F0},zde=Object.freeze({__proto__:null,VarcharColumn:k1,TextColumn:z1,DecimalColumn:K1,TimescopeColumn:nA,TimestampColumn:lA,ArrayColumn:pA,DepartmentColumn:gA,AutoNumberColumn:$A,FileColumn:IA,ImageColumn:BA,PeopleColumn:kA,LocationColumn:VA,CustomColumn:HA,OrderColumn:g1,OperationColumn:R1,EmployeeColumn:XA,ApprovalStatusColumn:JA});function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zy(e){return Zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zy(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function Gde(e,t){return t&&(Yde(t)==="object"||typeof t=="function")?t:zt(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}var Yde=function(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 tM(e){var t=Hde();return function(){var n=Zy(e),o;if(t){var i=Zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gde(this,o)}}var qde=function(e){eM(r,e);var t=tM(r);function r(n){ZA(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(qt),ev=function(e){eM(r,e);var t=tM(r);function r(n){ZA(this,r);var o;o=t.call(this,n),Gt(zt(o),"search",void 0),Gt(zt(o),"cancel",void 0),Gt(zt(o),"searchType",void 0),Gt(zt(o),"labelPosition",void 0),Gt(zt(o),"viewType",void 0),Gt(zt(o),"isLoading",void 0),Gt(zt(o),"custom",void 0),Gt(zt(o),"queryTypeMap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;o.viewType=(f=n==null?void 0:n.viewType)!==null&&f!==void 0?f:"mini";var l;o.search=new Et((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Et((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(b){return new Et(b)});var v;return o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[],o}return r}(uu);Gt(ev,"RuntimeRules",qde);function nM(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 q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tv(e){return tv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tv(e)}function Wde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function Kde(e,t){return t&&(Xde(t)==="object"||typeof t=="function")?t:nM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}var Xde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jde(e){var t=Qde();return function(){var n=tv(e),o;if(t){var i=tv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kde(this,o)}}var W0=function(e){Wde(r,e);var t=Jde(r);function r(n){Ude(this,r);var o;return o=t.call(this,n),q0(nM(o),"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return r}(Fw);q0(W0,"controlType","simple-search"),q0(W0,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function K0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nv(e){return nv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nv(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&&Q0(e,t)}function tpe(e,t){return t&&(npe(t)==="object"||typeof t=="function")?t:K0(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}var npe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ope(e){var t=rpe();return function(){var n=nv(e),o;if(t){var i=nv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tpe(this,o)}}var rM=function(e){epe(r,e);var t=ope(r);function r(n){Zde(this,r);var o;o=t.call(this,n),X0(K0(o),"props",void 0),X0(K0(o),"children",void 0),o.props=new ev(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(Vw);X0(rM,"controlType","simple-search");var oM={Designer:W0,Runtime:rM,Property:ev},ipe=Object.freeze({__proto__:null,SimpleSearch:oM});function iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function upe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cpe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rv(e){return rv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rv(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&&J0(e,t)}function lpe(e,t){return t&&(ape(t)==="object"||typeof t=="function")?t:iM(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}var ape=function(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 ype(e){var t=spe();return function(){var n=rv(e),o;if(t){var i=rv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lpe(this,o)}}var uM=function(e){fpe(r,e);var t=ype(r);function r(n){upe(this,r);var o;o=t.call(this,n),cpe(iM(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}(au);function cM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dpe(e,t,r){return t&&fM(e.prototype,t),r&&fM(e,r),e}function lM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ov(e)}function ppe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function _pe(e,t){return t&&(hpe(t)==="object"||typeof t=="function")?t:cM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}var hpe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ope(e){var t=bpe();return function(){var n=ov(e),o;if(t){var i=ov(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _pe(this,o)}}var aM=function(e){ppe(r,e);var t=Ope(r);function r(n){vpe(this,r);var o;return o=t.call(this,n),lM(cM(o),"props",void 0),o.props=new uM(n==null?void 0:n.props),o}return dpe(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-wrap"}}]),r}(Gw);lM(aM,"setting",[{key:"whole-row",visible:!0}]);function gpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ppe(e,t,r){return t&&sM(e.prototype,t),r&&sM(e,r),e}function iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function wpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eP(e,t)}function Rpe(e,t){return t&&(Tpe(t)==="object"||typeof t=="function")?t:gpe(e)}function eP(e,t){return eP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eP(e,t)}var Tpe=function(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 Spe(e){var t=$pe();return function(){var n=iv(e),o;if(t){var i=iv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rpe(this,o)}}var Epe=function(e){wpe(r,e);var t=Spe(r);function r(n){return mpe(this,r),t.call(this,n)}return Ppe(r,null,[{key:"controlType",get:function(){return"grid-wrap"}}]),r}(Hw),yM={Designer:aM,Runtime:Epe,Property:uM},Ipe=Object.freeze({__proto__:null,GridWrap:yM});function tP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Cpe(e){if(Array.isArray(e))return e}function Npe(e){if(Array.isArray(e))return tP(e)}function Bpe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ape(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,c,f;try{for(r=r.call(e);!(o=(c=r.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,f=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw f}}return n}}function Mpe(){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 kpe(){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 Dpe(e,t){return Cpe(e)||Ape(e,t)||dM(e,t)||Mpe()}function vM(e){return Npe(e)||Bpe(e)||dM(e)||kpe()}function dM(e,t){if(!!e){if(typeof e=="string")return tP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tP(e,t)}}var Lpe=function(e,t){var r=Array.isArray(e),n=r?e:[e];Kpe(t==null?void 0:t.events),Gpe(n),Ype(n);var o=zpe(n),i=Hpe(o,t),c=mn(Re(i,function(f){return Vpe(f,t)}));return r?c:c[0]},jpe=[u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.TITLE,u.CONTROL_TYPE.LINK,u.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Fpe=["subtable","grid-table"],xpe=["simple-search"];function Vpe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":jpe.includes(i.type)?i.controlType="base":i.controlType="form",Fpe.includes(i.type)&&(i.controlType="list"),xpe.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),he(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),he(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),he(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var c;i.type="attachment",i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(he(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(he(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var l,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((l=i.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(R,S){var k=new FO.Designer;k.props.caption=he(R.field_name)?R.field_name.zh:R.field_name;var je=k.toSchema();je.id=R.header_id;var pe=i.children[0].children[S].children[0];return pe&&(je.children=[pe]),je}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(R){R.label=he(R.text)?R.text.zh:R.text,R.id=R.id||R.opt_id||R.optId||R.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(R){var S=new ba.Designer;S.props.span=y;var k=S.toSchema();return k.children.push(R),k})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var v=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],O={};v&&(pM(i,t),O.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.props.is_show_chn),b&&(O.unit=b.props.data_bind,i.props.default_value={unit:b.props.value}),i.props.dataBind=O,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var p=i==null?void 0:i.children[0],g=i==null?void 0:i.children[1],_={},m={};p&&(pM(i,t),i.id=p.id,_.amount=p.props.data_bind,i.props.range_min=gn(p.props.range_min),i.props.range_max=gn(p.props.range_max),m.amount=gn(p.props.value),i.props.required=p.props.required,i.props.is_hide=p.props.is_hide,i.props.default_state=p.props.default_state,i.props.caption=he(p.props.caption)?p.props.caption.zh:p.props.caption,i.props.is_hide_caption=p.props.is_hide_caption,i.props.showUpperCase=p.props.is_show_chn),g&&(_.currency=g.props.data_bind,m.currency=g.props.value,i.props.datasourceBind=g.props.datasource_bind,i.props.options=g.props.options.map(function(R){return{label:R.text,value:R.value}})),i.props.dataBind=_,i.props.defaultValue=m,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],P=i==null?void 0:i.children[1];i.props.placeholderStart=he(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=he(e.props.caption)?e.props.caption.zh:e.props.caption;var $={};w&&($.min=w.props.data_bind),P&&($.max=P.props.data_bind),i.props.dataBind=$,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=he(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=gn(e.props.range_min),i.props.range_max=gn(e.props.range_max),i.props.defaultValue=gn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),Xpe(i,t==null?void 0:t.control_events),i}function pM(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,c=e.id,f=e.children[0].id;n.forEach(function(l){l.id===c&&(l.id=f);var a=l.show_controls.findIndex(function(y){return y===c}),s=l.hide_controls.findIndex(function(y){return y===c});a>-1&&l.show_controls.splice(a,1,f),s>-1&&l.hide_controls.splice(s,1,f)}),i.forEach(function(l){l.ctrl_id===c&&(l.id=f)})}}function zpe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Pg.Designer,n=r.toSchema();return n.children=e,[n]}function Gpe(e){e.forEach(function(t){t.children&&Wpe(t.children)})}function Ype(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,c=r[n],f=(o=r[n])===null||o===void 0||(i=o.children)===null||i===void 0?void 0:i[0];c.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function Hpe(e,t){var r,n,o,i,c;if(!(Array.isArray(e)&&e.length===1))return e;var f=e[0];if(f.type!=="list-page")return e;var l=f.props,a=f.children,s=Dpe(a,3),y=s[0],v=s[1],b=s[2];qpe(y),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,Upe(b,v);var O,p=(O=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&O!==void 0?O:t==null?void 0:t.dataCode,g,_=((g=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:p)?"".concat(p,"_selectMore"):void 0,m,w=(m=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&m!==void 0?m:[],P=new bg.Designer;P.props.datasourceBind=new J({dataCode:p,svcCode:_,orders:PP(w)}),P.props.isShowSubList=l.is_show_sublist,P.props.triggerType=l.timing_type,P.props.triggerFieldCode=l.ctrl_field_code,l==null||(c=l.sublist_page)===null||c===void 0||c.sublists.forEach(function(R){R.title=he(R.title)?R.title.zh:R.title}),P.props.sublistPage=l.sublist_page;var $=P.toSchema();return $.children.push(y,b),[$]}function qpe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=he(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Upe(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:he(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=he(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var c;n.props.edit=(c=r.edit)!==null&&c!==void 0?c:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new J({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Wpe(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function Kpe(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 Xpe(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var c;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(c=t[e.id][i]).push.apply(c,vM(e.props.events[i].map(function(f){return f.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,vM(t[e.id].on_blur))}}}var Qpe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return Jpe(i)}));return r?o:o[0]};function Jpe(e,t){if(e.type===u.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===u.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new xe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Zpe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return e_e(i)}));return r?o:o[0]};function e_e(e,t){return[u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.FORM_SELECT_BUTTON,u.CONTROL_TYPE.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===u.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var t_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return n_e(i)}));return r?o:o[0]};function n_e(e,t){if(e.props.icon){var r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}var r_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return i_e(i)}));return r?o:o[0]},o_e=[u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.CARD_GROUP];function i_e(e,t){return e.type===u.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(o_e.includes(r.type))return r;var n=new CO.Designer,o=new ba.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var u_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return c_e(i)}));return r?o:o[0]};function c_e(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var f_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return l_e(i)});return r?o:o[0]};function l_e(e,t){return e.type===u.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return s_e(i)});return r?o:o[0]};function _n(e,t){e.field_code&&(e.field_type=t)}function s_e(e,t){var r,n=(r={},U(r,u.CONTROL_TYPE.TITLE,u.FieldTypes.AUTO_NUMBER),U(r,u.CONTROL_TYPE.ADDRESS,u.FieldTypes.ADDRESS),U(r,u.CONTROL_TYPE.ATTACHMENT,u.FieldTypes.FILE),U(r,u.CONTROL_TYPE.AUTO_NUMBER,u.FieldTypes.AUTO_NUMBER),U(r,u.CONTROL_TYPE.CHECKBOX,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.DATE_PICKER,u.FieldTypes.TIMESTAMP),U(r,u.CONTROL_TYPE.DEPARTMENT,u.FieldTypes.DEPARTMENTS),U(r,u.CONTROL_TYPE.EMPLOYEE,u.FieldTypes.EMPLOYEES),U(r,u.CONTROL_TYPE.EMPLOYEE2,u.FieldTypes.EMPLOYEES),U(r,u.CONTROL_TYPE.IMAGE,u.FieldTypes.IMAGE),U(r,u.CONTROL_TYPE.INPUT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.NUMBER,u.FieldTypes.DECIMAL),U(r,u.CONTROL_TYPE.RADIO,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.RICH_TEXT,u.FieldTypes.TEXT),U(r,u.CONTROL_TYPE.SCORE,u.FieldTypes.DECIMAL),U(r,u.CONTROL_TYPE.SELECT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.SELECT_MULTIPLE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SELECT_RELATION,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.TEXTAREA,u.FieldTypes.TEXT),U(r,u.CONTROL_TYPE.TREE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SEARCH_DATE_RANGE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SEARCH_INPUT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.SEARCH_NUMBER_RANGE,u.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&_n(e.props.data_bind,n[e.type]),e.type===u.CONTROL_TYPE.AMOUNT&&(_n(e.props.data_bind.amount,u.FieldTypes.DECIMAL),_n(e.props.data_bind.currency,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.CALC&&(_n(e.props.data_bind.result,u.FieldTypes.DECIMAL),_n(e.props.data_bind.unit,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.DATE_RANGE&&(_n(e.props.data_bind.min,u.FieldTypes.TIMESTAMP),_n(e.props.data_bind.max,u.FieldTypes.TIMESTAMP)),e.type===u.CONTROL_TYPE.VUE_FORM_ITEM){var o;_n(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY)}return e}var y_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return v_e(i)});return r?o:o[0]};function v_e(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var d_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return p_e(i)});return r?o:o[0]};function p_e(e,t){return e.type===u.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[u.FieldTypes.VARCHAR,u.FieldTypes.TEXT,u.FieldTypes.AUTO_NUMBER].includes((n=r.props)===null||n===void 0||(o=n.data_bind)===null||o===void 0?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var __e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return h_e(i)});return r?o:o[0]};function h_e(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var b_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return O_e(i)});return r?o:o[0]};function O_e(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var g_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return m_e(i)});return r?o:o[0]};function m_e(e,t){return e.type===u.CONTROL_TYPE.TITLE&&e.props.config.push(u.TitleConfigEnum.ShowTitle),e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===u.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var c;if(r.children=(c=r==null?void 0:r.children)!==null&&c!==void 0?c:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,l,a,s,y,v,b=new Bo.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(f=r.props)===null||f===void 0?void 0:f.check.content,b.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,b.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,b.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((y=r.props)===null||y===void 0)&&y.check.is_show&&r.children.push(b.toSchema()),(v=r.props)===null||v===void 0||delete v.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var O,p,g,_,m,w,P=new Bo.Designer;Object.defineProperty(P,"id",{value:"listPageEditBtnId"}),P.props.code="edit",P.props.icon="iconbianji1",P.props.command="edit",P.props.content=(O=r.props)===null||O===void 0?void 0:O.edit.content,P.props.priorityProcess=(p=r.props)===null||p===void 0?void 0:p.edit.priority_process,P.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,P.props.formKey=(_=r.props)===null||_===void 0?void 0:_.edit.form_key,!((m=r.props)===null||m===void 0)&&m.edit.is_show&&r.children.push(P.toSchema()),(w=r.props)===null||w===void 0||delete w.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var $,R,S,k,je,pe,_e=new Bo.Designer;Object.defineProperty(_e,"id",{value:"listPageDeleteBtnId"}),_e.props.code="delete",_e.props.icon="iconlajitong",_e.props.command="delete",_e.props.content=($=r.props)===null||$===void 0?void 0:$.delete.content,_e.props.priorityProcess=(R=r.props)===null||R===void 0?void 0:R.delete.priority_process,_e.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,_e.props.formKey=(k=r.props)===null||k===void 0?void 0:k.delete.form_key,_e.props.needConfirm=!0,_e.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((je=r.props)===null||je===void 0)&&je.delete.is_show&&r.children.push(_e.toSchema()),(pe=r.props)===null||pe===void 0||delete pe.delete}}}),[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var _M={"v1.0":Lpe,"v2.0":Qpe,"v2.1":Zpe,"v2.2":t_e,"v2.3":r_e,"v2.4":u_e,"v2.5":f_e,"v2.6":a_e,"v2.7":y_e,"v2.8":d_e,"v2.9":__e,"v2.10":b_e,"v3.0":g_e,"v3.1":function(){}};const hM=(e,t)=>{const r=bM(e),n=bM(t),o=r.pop(),i=n.pop(),c=mM(r,n);return c!==0?c:o&&i?mM(o.split("."),i.split(".")):o||i?o?-1:1:0},uv=(e,t,r)=>{T_e(r);const n=hM(e,t);return PM[r].includes(n)},P_e=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,bM=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(P_e);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},OM=e=>e==="*"||e==="x"||e==="X",gM=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},w_e=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],R_e=(e,t)=>{if(OM(e)||OM(t))return 0;const[r,n]=w_e(gM(e),gM(t));return r>n?1:r<n?-1:0},mM=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=R_e(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},PM={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},wM=Object.keys(PM),T_e=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(wM.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${wM.join("|")}`)};function $_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S_e(e,t,r){return t&&RM(e.prototype,t),r&&RM(e,r),e}function TM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nP(e){return e.replace(/^v/,"")}var to=Object.keys(_M).map(function(e){return nP(e)}).sort(hM),Ri=to[to.length-1],E_e=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ri;$_e(this,e),TM(this,"toVersion",void 0),TM(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,uv(r,Ri,">")?Ht("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Ri)):(!to.includes(nP(r))||!to.includes(nP(t)))&&Ht("Version Builder: Please give me a valid version number, The valid version is: ".concat(to.join(","),", But give me a ").concat(t))}return S_e(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(uv(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(c,f,l,a){var s,y=(s=a[l+1])!==null&&s!==void 0?s:o.toVersion;co("Version Builder: current version: ".concat(f,", nextVersion: ").concat(y));var v=_M[f],b=c;if(typeof v=="function"){var O=v(c,n);O&&(b=O)}return b},r);return co("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return to.filter(function(n){return uv(n,r.schemaVersion,">=")&&uv(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Ri}}],[{key:"version",get:function(){return Ri}}]),e}();const cv=[],rP={exports:{}};let oP=!1;const I_e=window.module,C_e=window.exports,N_e=window.require;function B_e(e){return oP||(window.module=rP,window.exports=rP.exports,window.require=function(t){return e[t]},oP=!0),function(){window.module=I_e,window.exports=C_e,window.require=N_e,oP=!1}}function A_e(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),c=B_e(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const l=cv.findIndex(a=>a===r);cv.splice(l,1),cv.length===0&&c()};i.onerror=function(l){f(),o(l)},i.onload=function(){n(rP.exports),f()},document.head.appendChild(i)});return cv.push(r),r}function iP(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 $M(e,t,r={fetch:iP}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const c={exports:{}};new Function("module","exports","require",i)(c,c.exports,function(f){return t[f]}),n(c.exports)}).catch(i=>{o(i)})})}function fv(e,t){return $M(e,t)}function M_e(e,t){return Ti(this,null,function*(){return yield Promise.all(e.map(r=>fv(r,t)))})}function lv(e,t,r){let n;t==="runtime"?n=class extends te{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends j{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends ee{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function k_e(e,t,r,n){return Ti(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Ti(this,null,function*(){let c=!0,f;try{c=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,f=yield fv(l,r)}catch(l){c=!1,bn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),f=lv(i.id,n.type,n.tipMessage)}if(c){let l="";if(n.type==="runtime"&&i.runtimecss!==void 0){const a=new RegExp(i.id+"-runtime-.*?$");l=i.runtime.replace(a,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const a=new RegExp(i.id+"-designer-.*?$");l=i.designer.replace(a,i.designercss)}if(l!==""){const a=document.createElement("link");a.href=l,a.rel="stylesheet",document.head.appendChild(a)}}SM(n.type,f,o,c,i)}))),e==null||e.map(i=>{const[c,f]=i.split(":");if(o.has(c)===!1){const a=lv(c,n.type,n.tipMessage);SM(n.type,a,o,!1,{fieldType:"",id:c,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function SM(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&bn(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&bn(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function D_e(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(c=>{const[f,l]=c.split(":");o.props.id===f&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function L_e(e,t){return Ti(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield iP(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const c=yield fv(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let l=c.find(a=>t.type==="runtime"?a.Runtime.controlType===f.id:a.Designer.controlType===f.id);l===void 0&&(l=lv(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:l})})}return n})}u.ActionBar=s1,u.Address=lI,u.AddressValue=KP,u.AdvancedContainer=e1,u.Amount=qE,u.AmountDataBind=HP,u.AmountValue=qP,u.ApprovalStatusColumn=JA,u.ArrayColumn=pA,u.Attachment=kE,u.AutoNumber=SI,u.AutoNumberColumn=$A,u.AutoWidth=Tv,u.BaseControlProperty=B,u.BaseControlPropertyRules=le,u.BaseControlPropertyRuntimeRules=x,u.BaseStyle=ZP,u.BatchDeleteButton=W$,u.BatchPrintListButton=N$,u.BatchPrintRecordListButton=D$,u.BatchSubmissionListButton=HR,u.Button=fR,u.Calc=MI,u.CalcDataBind=XP,u.CalcScriptEchoItem=yD,u.CalcValue=QP,u.CardGroup=GN,u.Checkbox=fS,u.Col=ba,u.ColumnControlProperty=K,u.ColumnControlPropertyRules=pt,u.ColumnOptionAndDataSourcePropertyRules=dd,u.CreateFormListButton=LR,u.CustomAttributeItem=Iv,u.CustomColumn=HA,u.CustomPermissionItem=vL,u.DEFAULT_LOCALE=lP,u.Dashboard=QT,u.DataBind=xe,u.DataSourceBind=J,u.DataSourceDataSetValue=VP,u.DataSourceOrderItem=Sv,u.DataSourceParamItem=aL,u.DataStorageDoc=AP,u.DataView=Pg,u.DatePicker=BS,u.DateRange=zS,u.DecimalColumn=K1,u.Department=OI,u.Department2=aN,u.DepartmentColumn=gA,u.DepartmentEntity=av,u.DesignerColumnControl=ie,u.DesignerControl=j,u.DesignerFormControl=A,u.DesignerLayoutControl=Y,u.DesignerListControl=eu,u.DesignerSearchControl=Fw,u.DesignerWrapControl=Gw,u.DisplayBoListItem=Ai,u.Divider=mR,u.ElectronicSignature=XC,u.ElectronicSignatureConfig=lR,u.Employee=IE,u.Employee2=xC,u.EmployeeColumn=XA,u.EventLogic=EP,u.Explain=Ru,u.ExportListButton=nT,u.ExportRecordListButton=cT,u.ExportTemplate=Hd,u.FieldBindItem=DP,u.FieldFilterCondition=Bi,u.FieldFilterConditions=$v,u.FieldTypeToColumnType=dD,u.FileColumn=IA,u.FillBackBind=Nv,u.FillPayloadBind=ki,u.FlexStyleConfig=vR,u.FormBind=wn,u.FormSelectBind=MP,u.FormSelectButton=RT,u.Grid=mN,u.GridLayoutContainer=vB,u.GridRow=CO,u.GridTable=I1,u.GridTableColumn=iB,u.GridWrap=yM,u.Image=FE,u.ImageColumn=BA,u.ImageOptionSetting=YP,u.ImportRecordListButton=pT,u.Input=tS,u.InvoiceCheckButton=w$,u.JSONCopy=$t,u.JoinRelation=xP,u.Language=sL,u.LayoutControlProperty=V,u.LeftVariable=FP,u.LimitDate=wu,u.Link=rR,u.LinkOperationOption=St,u.ListBind=Ni,u.ListControlProperty=_o,u.ListSelectButton=AT,u.ListView=bg,u.ListViewSelect=c$,u.LocationColumn=VA,u.MetaAutoWidth=BP,u.MetaWidth=Ci,u.MultistageFillingItem=Te,u.Number=TS,u.ObjectDataBind=Di,u.OperationButton=Bo,u.OperationColumn=R1,u.OperationItem=Et,u.OptObject=ew,u.OptionAndDataSourcePropertyRules=Tn,u.OptionSetting=Av,u.OrderColumn=g1,u.OrganizationDataSourceBind=zP,u.OrganizationSelection=hN,u.Page=XB,u.Pagination=VT,u.PeopleColumn=kA,u.Position=u1,u.PositioningContainer=r1,u.PrintTemplate=yR,u.Property=ee,u.PropertyRules=Z,u.PropertyRuntimeRules=qt,u.Radio=bS,u.RangeDataBind=UP,u.RangeDateValue=WP,u.RegisterControls=Ei,u.RegularRules=Bv,u.RichText=nE,u.RightVariable=or,u.Row=AN,u.RulesMessage=h,u.RuntimeColumnControl=ue,u.RuntimeControl=te,u.RuntimeFormControl=M,u.RuntimeLayoutControl=W,u.RuntimeListControl=ld,u.RuntimeSearchControl=Vw,u.RuntimeWrapControl=Hw,u.SUBTABLE_DEFAULT_MAX_HEIGHT=sR,u.Score=ZE,u.SearchControlProperty=uu,u.SearchDateRange=eC,u.SearchInput=$C,u.SearchNumberRange=YI,u.Select=yE,u.SelectMultiple=OE,u.SelectRelation=hC,u.SelectedContentConfig=Mi,u.SimpleSearch=oM,u.SubListItem=LP,u.SubListPageConfig=jP,u.SubTable=d1,u.SubTableColumn=FO,u.SubTableRow=eB,u.SubmissionRecordListButton=XR,u.SuperDataSourceBind=fo,u.Tab=SB,u.TabPane=PB,u.Text=Jw,u.TextColumn=z1,u.TextOcrButton=p$,u.Textarea=KS,u.TimescopeColumn=nA,u.TimestampColumn=lA,u.Title=IR,u.Toolbox=MB,u.Tree=AC,u.TreeDataSourceBind=Cv,u.UndersignedPerson=Yd,u.UserEntity=sv,u.VarcharColumn=k1,u.VersionBuilder=E_e,u.ViewOperationItem=JP,u.VueFormItem=cC,u.WPS=rN,u.WPSSetting=aR,u.Watcher=$P,u.WpsOperationItem=qd,u.WrapControlProperty=au,u.baseControls=yG,u.camelizeKeys=PP,u.columnControls=zde,u.controlHooksEmitter=fw,u.createValidator=cw,u.debounce=YD,u.decamelizeKeys=mn,u.defineArrayParent=Pw,u.defineControlArrayToProperty=dt,u.defineParent=Jv,u.error=Ht,u.formControls=aee,u.genNonDuplicateId=rt,u.getHackerControl=lv,u.getNotRepeatItems=mP,u.initExpression=bo,u.initImageOptions=yL,u.initLinkOperationRules=Qt,u.initOptionAndDataSourceRules=xi,u.initOptions=yt,u.initSuperDataSourceRules=vo,u.isArray=On,u.isBuiltInControls=qD,u.isFunction=jD,u.isJSONArray=zD,u.isJSONObject=GD,u.isLanguageObject=he,u.isNumber=mv,u.isNumberAndEmptyStringArray=VD,u.isNumberArray=xD,u.isObject=LD,u.isPlainObject=gv,u.isString=gP,u.isStringArray=FD,u.layoutControls=Wce,u.listControls=Ale,u.loadRemoteControl=fv,u.loadRemoteControls=M_e,u.loadScriptFromFetch=$M,u.loadScriptFromTag=A_e,u.log=co,u.logerror=pP,u.loop=Re,u.loopFormSchema=hv,u.nativeFetch=iP,u.noop=vD,u.referenceError=_v,u.registerByteluckControls=L_e,u.registerCustomControls=k_e,u.searchControls=ipe,u.setPropertyDontEnum=mw,u.toNumberOrEmpty=gn,u.updateValueFromKeys=bP,u.upgradeCustomControlSchema=D_e,u.wait=HD,u.warn=bn,u.wrapControls=Ipe,Object.defineProperty(u,"__esModule",{value:!0})});
|
|
1
|
+
var Ti=(u,hn,Yt)=>new Promise((sv,$i)=>{var D=Tt=>{try{ro(Yt.next(Tt))}catch(oo){$i(oo)}},yv=Tt=>{try{ro(Yt.throw(Tt))}catch(oo){$i(oo)}},ro=Tt=>Tt.done?sv(Tt.value):Promise.resolve(Tt.value).then(D,yv);ro((Yt=Yt.apply(u,hn)).next())});(function(u,hn){typeof exports=="object"&&typeof module!="undefined"?hn(exports):typeof define=="function"&&define.amd?define(["exports"],hn):(u=typeof globalThis!="undefined"?globalThis:u||self,hn(u.modelDrivenCoreAll={}))})(this,function(u){"use strict";function hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var sv=function e(){hn(this,e),Yt(this,"department_en_name",void 0),Yt(this,"department_id",void 0),Yt(this,"department_name",void 0)};function $i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yv=function e(){$i(this,e),D(this,"avatar_big",void 0),D(this,"avatar_small",void 0),D(this,"avatar_url",void 0),D(this,"belong_dept_en_name",void 0),D(this,"belong_dept_id_list",void 0),D(this,"belong_dept_ids",void 0),D(this,"belong_dept_name",void 0),D(this,"cookie_language_enum",void 0),D(this,"department_id",void 0),D(this,"department_name",void 0),D(this,"email",void 0),D(this,"employee_card",void 0),D(this,"employee_en_name",void 0),D(this,"employee_id",void 0),D(this,"employee_name",void 0),D(this,"external_user",void 0),D(this,"gender",void 0),D(this,"is_show_chat_group",void 0),D(this,"manage_dept_en_name",void 0),D(this,"manage_dept_ids",void 0),D(this,"manage_dept_name",void 0),D(this,"msg_relation_type",void 0),D(this,"sequence",void 0),D(this,"telephone",void 0),D(this,"tenant_id",void 0)},ro="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Tt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",EM="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",IM="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",CM="{caption}\u5FC5\u586B",NM="\u8BF7\u8F93\u5165\u6807\u9898",BM="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",AM="\u8BF7\u8F93\u5165\u884C\u6807\u9898",MM="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",kM="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",DM="\u8BF7\u7ED1\u5B9A\u8868\u5355",LM="\u8BF7\u7ED1\u5B9A\u5217\u8868",jM="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",FM="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xM="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",VM="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",zM="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",GM="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",YM="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",HM="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qM="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",UM="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",WM="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",KM="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",XM="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",QM="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",JM="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ZM="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",e3="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",t3="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",n3="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",r3="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",o3="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",i3="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",u3="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",c3="\u8BF7\u7ED1\u5B9A\u670D\u52A1",f3="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",l3="\u8BF7\u9009\u62E9\u7701",a3="\u8BF7\u9009\u62E9\u5E02",s3="\u8BF7\u9009\u62E9\u533A",y3="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",v3="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",d3="\u8BF7\u8F93\u5165\u5217\u5BBD",p3="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",_3="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",h3="\u8BF7\u9009\u62E9\u63A7\u4EF6",b3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",O3="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",g3="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",m3="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",P3="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",w3="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",R3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",T3="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",$3="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",S3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",E3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",I3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",C3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",N3="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",B3="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",A3="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",M3="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",k3="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",D3="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",L3="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",j3="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",F3={isNotNumber:ro,isNotString:Tt,isNotObject:oo,isNotArray:EM,isNotBoolean:IM,runtimeRequired:CM,pleaseEnterCaption:NM,pleaseEnterCaptionTip:BM,pleaseEnterRowCaption:AM,pleaseEnterPlaceholder:MM,pleaseEnterFieldCode:kM,pleaseEnterForm:DM,pleaseEnterList:LM,pleaseEnterProcess:jM,pleaseEnterLabel:FM,pleaseEnterValue:xM,bizKeyNotBindFiled:VM,pleaseSelectOneField:zM,pleaseEnterNumberRange:GM,pleaseEnterAValueGreaterThanMin:YM,pleaseEnterAValueLessThanMax:HM,numberRangeSetError:qM,stringRangeError:UM,attachmentMaxSize:WM,pleaseEnterTotalScoreSetting:KM,theTotalScoreMustNotBeLessThan1:XM,scoreDefaultValueRange:QM,attachmentLimitError:JM,PleaseReselectTheOptionalQuantity:ZM,TheMaximumLengthIsGreaterThanTheMinimumLength:e3,TheMinimumLengthIsGreaterThanTheMaximumLength:t3,PleaseSelectTheCorrectOptionSettings:n3,optionIdIsRepeat:r3,optionIsRequired:o3,pleaseEnterDataCode:i3,pleaseEnterValueFieldCode:u3,pleaseEnterSvcCode:c3,pleaseBindAtLeastOneDisplayValue:f3,pleaseSelectProvince:l3,pleaseSelectCity:a3,pleaseSelectDistrict:s3,limitRowsCannotBeLessThan0:y3,TheNumberOfRowsCannotBeLessThanMinRows:v3,pleaseEnterColumnWidth:d3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:p3,pleaseCompleteAllRulesAndConditions:_3,pleaseSelectControl:h3,pleaseSelectAtLeastOneColumn:b3,pleaseSelectFillBackMode:O3,pleaseSelectDashboard:g3,rootNodeIsRequired:m3,theViewNameCannotBeEmpty:P3,pleaseSelectOcrType:w3,pleaseSelectAtLeastOneFieldToFillIn:R3,pleaseChooseAtLeastOne:T3,pleaseEnterButtonContent:$3,pleaseEnterDataCodeInDataSetting:S3,pleaseEnterValueFieldCodeInDataSetting:E3,pleaseEnterSvcCodeInDataSetting:I3,pleaseBindAtLeastOneDisplayValueInDataSetting:C3,rootNodeIsRequiredInDataSetting:N3,pleaseEnterMaxHeight:B3,pleaseEnter:A3,pleaseEnterWatermark:M3,pleaseEnterFileName:k3,pleaseUploadAtLeastOnePrintTemplate:D3,pleaseAssignBusiness:L3,pleaseAssignExternal:j3},x3="Please enter a number",V3="Please enter a string",z3="Please enter an object",G3="Please enter an array",Y3="Please enter a boolean",H3="{caption} Required",q3="Please enter the title",U3="Please enter the bubble prompt",W3="Please enter the row title",K3="Please enter the prompt text",X3="Please bind data items",Q3="Please bind the form",J3="Please bind the list",Z3="Please bind the process",ek="Please enter the displayed value",tk="Please enter the stored value",nk="The document number is not bound to the data item",rk="Please select at least one display field",ok="Please enter a value greater than or equal to {min} and less than or equal to {max}",ik="Please enter a value greater than or equal to {min}",uk="Please enter a value less than or equal to {max}",ck="The value range is set incorrectly",fk="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",lk="The attachment size must be between 0MB and 1000MB",ak="Please fill in the total score setting",sk="The total score cannot be less than 1",yk="The default value must be between {min} and {max}",vk="The number of attachments uploaded must be between {min} and {max}",dk="Please re-select the optional quantity",pk="The maximum length of the control must be greater than the minimum length",_k="The minimum length of the control must be less than the maximum length",hk="Please select the correct option setting",bk="Option ID cannot be repeated",Ok="Please enter at least one option",gk="Please bind the data source",mk="Please bind the stored value",Pk="Please bind the service",wk="At least one display value must be bound",Rk="Please select a province",Tk="Please select a city",$k="Please select a district",Sk="The minimum number of lines to fill in cannot be less than 0",Ek="The number of rows cannot be less than {min} rows",Ik="Please enter the column width",Ck="Please set the logical relationship of all rule conditions",Nk="Please complete all rules and conditions",Bk="please select control",Ak="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Mk="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kk="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Dk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Lk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",jk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Fk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Vk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",zk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Gk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Hk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Uk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Kk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Xk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Qk={isNotNumber:x3,isNotString:V3,isNotObject:z3,isNotArray:G3,isNotBoolean:Y3,runtimeRequired:H3,pleaseEnterCaption:q3,pleaseEnterCaptionTip:U3,pleaseEnterRowCaption:W3,pleaseEnterPlaceholder:K3,pleaseEnterFieldCode:X3,pleaseEnterForm:Q3,pleaseEnterList:J3,pleaseEnterProcess:Z3,pleaseEnterLabel:ek,pleaseEnterValue:tk,bizKeyNotBindFiled:nk,pleaseSelectOneField:rk,pleaseEnterNumberRange:ok,pleaseEnterAValueGreaterThanMin:ik,pleaseEnterAValueLessThanMax:uk,numberRangeSetError:ck,stringRangeError:fk,attachmentMaxSize:lk,pleaseEnterTotalScoreSetting:ak,theTotalScoreMustNotBeLessThan1:sk,scoreDefaultValueRange:yk,attachmentLimitError:vk,PleaseReselectTheOptionalQuantity:dk,TheMaximumLengthIsGreaterThanTheMinimumLength:pk,TheMinimumLengthIsGreaterThanTheMaximumLength:_k,PleaseSelectTheCorrectOptionSettings:hk,optionIdIsRepeat:bk,optionIsRequired:Ok,pleaseEnterDataCode:gk,pleaseEnterValueFieldCode:mk,pleaseEnterSvcCode:Pk,pleaseBindAtLeastOneDisplayValue:wk,pleaseSelectProvince:Rk,pleaseSelectCity:Tk,pleaseSelectDistrict:$k,limitRowsCannotBeLessThan0:Sk,TheNumberOfRowsCannotBeLessThanMinRows:Ek,pleaseEnterColumnWidth:Ik,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ck,pleaseCompleteAllRulesAndConditions:Nk,pleaseSelectControl:Bk,pleaseSelectDashboard:Ak,theViewNameCannotBeEmpty:Mk,pleaseSelectOcrType:kk,pleaseSelectAtLeastOneFieldToFillIn:Dk,pleaseChooseAtLeastOne:Lk,pleaseEnterButtonContent:jk,pleaseEnterDataCodeInDataSetting:Fk,pleaseEnterValueFieldCodeInDataSetting:xk,pleaseEnterSvcCodeInDataSetting:Vk,pleaseBindAtLeastOneDisplayValueInDataSetting:zk,rootNodeIsRequiredInDataSetting:Gk,pleaseEnterMaxHeight:Yk,pleaseEnter:Hk,pleaseEnterWatermark:qk,pleaseEnterFileName:Uk,pleaseUploadAtLeastOnePrintTemplate:Wk,pleaseAssignBusiness:Kk,pleaseAssignExternal:Xk},Jk="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zk="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",e2="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",t2="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",n2="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",r2="{caption}\u5FC5\u9808",o2="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",i2="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u2="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",c2="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",f2="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",l2="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",a2="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",s2="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",y2="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v2="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",d2="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",p2="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_2="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",h2="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",b2="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",O2="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",g2="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",m2="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",P2="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",w2="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",R2="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",T2="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",$2="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",S2="\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",E2="\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",I2="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",C2="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",N2="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",B2="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",A2="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",M2="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",k2="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",D2="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",L2="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",j2="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",F2="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",x2="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",V2="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",z2="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",G2="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Y2="please select control",H2="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",q2="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",U2="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",W2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",K2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",X2="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Q2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",J2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Z2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eD="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",tD="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nD="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",rD="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",oD="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iD="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uD="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",cD="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fD="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lD={isNotNumber:Jk,isNotString:Zk,isNotObject:e2,isNotArray:t2,isNotBoolean:n2,runtimeRequired:r2,pleaseEnterCaption:o2,pleaseEnterCaptionTip:i2,pleaseEnterRowCaption:u2,pleaseEnterPlaceholder:c2,pleaseEnterFieldCode:f2,pleaseEnterForm:l2,pleaseEnterList:a2,pleaseEnterProcess:s2,pleaseEnterLabel:y2,pleaseEnterValue:v2,bizKeyNotBindFiled:d2,pleaseSelectOneField:p2,pleaseEnterNumberRange:_2,pleaseEnterAValueGreaterThanMin:h2,pleaseEnterAValueLessThanMax:b2,numberRangeSetError:O2,stringRangeError:g2,attachmentMaxSize:m2,pleaseEnterTotalScoreSetting:P2,theTotalScoreMustNotBeLessThan1:w2,scoreDefaultValueRange:R2,attachmentLimitError:T2,PleaseReselectTheOptionalQuantity:$2,TheMaximumLengthIsGreaterThanTheMinimumLength:S2,TheMinimumLengthIsGreaterThanTheMaximumLength:E2,PleaseSelectTheCorrectOptionSettings:I2,optionIdIsRepeat:C2,optionIsRequired:N2,pleaseEnterDataCode:B2,pleaseEnterValueFieldCode:A2,pleaseEnterSvcCode:M2,pleaseBindAtLeastOneDisplayValue:k2,pleaseSelectProvince:D2,pleaseSelectCity:L2,pleaseSelectDistrict:j2,limitRowsCannotBeLessThan0:F2,TheNumberOfRowsCannotBeLessThanMinRows:x2,pleaseEnterColumnWidth:V2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:z2,pleaseCompleteAllRulesAndConditions:G2,pleaseSelectControl:Y2,pleaseSelectDashboard:H2,theViewNameCannotBeEmpty:q2,pleaseSelectOcrType:U2,pleaseSelectAtLeastOneFieldToFillIn:W2,pleaseChooseAtLeastOne:K2,pleaseEnterButtonContent:X2,pleaseEnterDataCodeInDataSetting:Q2,pleaseEnterValueFieldCodeInDataSetting:J2,pleaseEnterSvcCodeInDataSetting:Z2,pleaseBindAtLeastOneDisplayValueInDataSetting:eD,rootNodeIsRequiredInDataSetting:tD,pleaseEnterMaxHeight:nD,pleaseEnter:rD,pleaseEnterWatermark:oD,pleaseEnterFileName:iD,pleaseUploadAtLeastOnePrintTemplate:uD,pleaseAssignBusiness:cD,pleaseAssignExternal:fD},aD={zhCN:F3,enUS:Qk,jaJP:lD};function sD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(u.CALC_TOKEN_TYPE||(u.CALC_TOKEN_TYPE={})),u.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(u.CALC_AGGREGATE_TYPE||(u.CALC_AGGREGATE_TYPE={}));var yD=function e(t){sD(this,e),rr(this,"name",void 0),rr(this,"id",void 0),rr(this,"type",void 0),rr(this,"subTableId",void 0),rr(this,"subTableName",void 0),rr(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:u.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var c;this.subTableName=(c=t==null?void 0:t.subTableId)!==null&&c!==void 0?c:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},lP="zh-CN",vD=function(){};function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(u.CONTROL_BASE_TYPE||(u.CONTROL_BASE_TYPE={})),u.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"}(u.CONTROL_TYPE||(u.CONTROL_TYPE={})),u.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(u.FieldTypes||(u.FieldTypes={}));var we,dD=(we={},Fe(we,u.FieldTypes.ARRAY,u.CONTROL_TYPE.ARRAY_COLUMN),Fe(we,u.FieldTypes.AUTO_NUMBER,u.CONTROL_TYPE.AUTO_NUMBER_COLUMN),Fe(we,u.FieldTypes.DECIMAL,u.CONTROL_TYPE.DECIMAL_COLUMN),Fe(we,u.FieldTypes.DEPARTMENTS,u.CONTROL_TYPE.DEPARTMENT_COLUMN),Fe(we,u.FieldTypes.FILE,u.CONTROL_TYPE.FILE_COLUMN),Fe(we,u.FieldTypes.IMAGE,u.CONTROL_TYPE.IMAGE_COLUMN),Fe(we,u.FieldTypes.ADDRESS,u.CONTROL_TYPE.LOCATION_COLUMN),Fe(we,u.FieldTypes.EMPLOYEES,u.CONTROL_TYPE.EMPLOYEE_COLUMN),Fe(we,u.FieldTypes.TEXT,u.CONTROL_TYPE.TEXT_COLUMN),Fe(we,u.FieldTypes.TIMESCOPE,u.CONTROL_TYPE.TIMESCOPE_COLUMN),Fe(we,u.FieldTypes.TIMESTAMP,u.CONTROL_TYPE.TIMESTAMP_COLUMN),Fe(we,u.FieldTypes.VARCHAR,u.CONTROL_TYPE.VARCHAR_COLUMN),Fe(we,u.FieldTypes.RELATION,u.CONTROL_TYPE.VARCHAR_COLUMN),we);u.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(u.DateType||(u.DateType={}));var aP="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",pD=aP+"0123456789";function rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?aP:pD,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function vv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _D(e){if(Array.isArray(e))return vv(e)}function hD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bD(){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 Si(e,t,r){return bD()?Si=Reflect.construct:Si=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&uo(a,c.prototype),a},Si.apply(null,arguments)}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function yP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OD(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function gD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mD(){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 PD(e,t){return t&&(wD(t)==="object"||typeof t=="function")?t:hD(e)}function uo(e,t){return uo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uo(e,t)}function vP(e){return _D(e)||gD(e)||RD(e)||mD()}var wD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RD(e,t){if(!!e){if(typeof e=="string")return vv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vv(e,t)}}function dv(e){var t=typeof Map=="function"?new Map:void 0;return dv=function(n){if(n===null||!OD(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Si(n,arguments,io(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),uo(o,n)},dv(e)}function TD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dP(e){var t=TD();return function(){var n=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PD(this,o)}}var pv=console;function bn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=pv).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(vP(o)))}function co(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=pv).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(vP(o)))}function $D(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _v=function(e){yP(r,e);var t=dP(r);function r(n){sP(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?$D(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(dv(Error)),SD=function(e){yP(r,e);var t=dP(r);function r(n){sP(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(_v);function Ht(e){throw new _v(e)}function hv(e){throw new SD(e)}function pP(e){pv.error(new _v(e))}function bv(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":bv(r==null?void 0:r.children,t);break;case"search":bv(r==null?void 0:r.children,t);break;case"form":t(r)}})}var ED=Object.prototype.toString;function _P(e,t){return ED.call(e)==="[object "+t+"]"}function ID(e){return _P(e,"String")}function CD(e){return _P(e,"Promise")}var ND=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();CD(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,c,f){if(o!==void 0){var l=o[i];if(!(c===f.length-1&&!ID(l)))return l}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function BD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AD(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function MD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){BD(this,e)}return AD(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lP;return new ND({locale:r,messages:aD})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();MD(h,"$i18n",h.resetI18n());function bP(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,c){return"."+c}).split("."),o=!1;return n.reduce(function(i,c,f,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,c)){bn("Can not set ".concat(t,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),i,i);return}return f===l.length-1&&!Object.is(a[c],r)&&(a[c]=r,o=!0),a[c]}},e),o}var kD=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ov={exports:{}};(function(e){(function(t){var r=function(_,m,w){if(!a(m)||y(m)||v(m)||b(m)||l(m))return m;var P,$=0,R=0;if(s(m))for(P=[],R=m.length;$<R;$++)P.push(r(_,m[$],w));else{P={};for(var S in m)Object.prototype.hasOwnProperty.call(m,S)&&(P[_(S,w)]=r(_,m[S],w))}return P},n=function(_,m){m=m||{};var w=m.separator||"_",P=m.split||/(?=[A-Z])/;return _.split(P).join(w)},o=function(_){return O(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(m,w){return w?w.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var m=o(_);return m.substr(0,1).toUpperCase()+m.substr(1)},c=function(_,m){return n(_,m).toLowerCase()},f=Object.prototype.toString,l=function(_){return typeof _=="function"},a=function(_){return _===Object(_)},s=function(_){return f.call(_)=="[object Array]"},y=function(_){return f.call(_)=="[object Date]"},v=function(_){return f.call(_)=="[object RegExp]"},b=function(_){return f.call(_)=="[object Boolean]"},O=function(_){return _=_-0,_===_},p=function(_,m){var w=m&&"process"in m?m.process:m;return typeof w!="function"?_:function(P,$){return w(P,_,$)}},g={camelize:o,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(_,m){return r(p(o,m),_)},decamelizeKeys:function(_,m){return r(p(c,m),_,m)},pascalizeKeys:function(_,m){return r(p(i,m),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(kD)})(Ov);var OP={};Object.defineProperty(OP,"__esModule",{value:!0});function gv(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:gv(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:gv(n)}return t}}var DD=OP.default=gv;function $t(e){if(e!==void 0)return typeof e=="object"?DD(e):e}function he(e){return mv(e)&&"zh"in e}function mv(e){return Object.prototype.toString.call(e)==="[object Object]"}function LD(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function On(e){return Array.isArray(e)}function gP(e){return typeof e=="string"}function Pv(e){return typeof e=="number"}function jD(e){return typeof e=="function"}function FD(e){return On(e)&&e.every(function(t){return gP(t)})}function xD(e){return On(e)&&e.every(function(t){return Pv(t)})}function VD(e){return On(e)&&e.every(function(t){return Pv(t)||t===""})}function zD(e){return/^\[.*?]$/.test(e)}function GD(e){return/^{.*?}$/.test(e)}function gn(e){return isNaN(parseFloat(e))?"":Number(e)}function mP(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function YD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c=this;r||(r=setTimeout(function(){e.apply(c,o),clearTimeout(r),r=null},t))}}function HD(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Re(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=Re(n.children,t)),t(o)})),r}function PP(e){return Ov.exports.camelizeKeys(e)}function mn(e){return Ov.exports.decamelizeKeys(e)}function qD(e){return Object.values(u.CONTROL_TYPE).includes(e)}function wv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function UD(e){if(Array.isArray(e))return wv(e)}function wP(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function WD(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){wP(i,n,o,c,f,"next",l)}function f(l){wP(i,n,o,c,f,"throw",l)}c(void 0)})}}function KD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XD(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function TP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QD(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JD(){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 Rv(e){return UD(e)||QD(e)||ZD(e)||JD()}function ZD(e,t){if(!!e){if(typeof e=="string")return wv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wv(e,t)}}var eL=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$P=function(){function e(){KD(this,e),TP(this,"_events",new Map),TP(this,"debug",!1)}return XD(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var c=this;return WD(function(){var f,l,a,s,y,v,b,O,p,g,_,m;return eL(this,function(w){switch(w.label){case 0:if(f=c._events.get(r),l=[],!f)return[3,10];a=f.slice(),s=!0,y=!1,v=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),b=a[Symbol.iterator](),w.label=2;case 2:if(s=(O=b.next()).done)return[3,7];if(p=O.value,!f.includes(p))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),c.debug&&co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Rv(o))),[4,p.apply(null,Rv(o))];case 4:return g=w.sent(),c.debug&&co.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Rv(o),[g])),l.push(g),g===!1?[3,7]:[3,6];case 5:return _=w.sent(),pP(String(_)+":"+String(_.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return m=w.sent(),y=!0,v=m,[3,10];case 9:try{!s&&b.return!=null&&b.return()}finally{if(y)throw v}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function tL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nL(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function rL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oL=[{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"}],EP=function(){function e(){tL(this,e)}return nL(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();rL(EP,"events",oL);function iL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uL(e,t,r){return t&&IP(e.prototype,t),r&&IP(e,r),e}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var CP=[],Ei=function(){function e(t){iL(this,e),Pn(this,"registeredControlTypes",new Set),Pn(this,"controlConfigMap",new Map),Pn(this,"_controls",[]),Pn(this,"_type",void 0),this._type=t,this._initControls(t)}return uL(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Ht("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(bn("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(a){return o.createControl(a,n)});r.children&&(r.children=r.children.map(function(a){return o.createControl(a,n)})),this.isListControl(r)&&r.props.headers&&(r.props.headers=r.props.headers.map(function(a){return o.createControl(a,n)}));var i=this.getControlFormType(r.type);if(i){var c=r;if(typeof n=="function"){var f=n(c);f&&(c=f)}var l=new i(c);return l}else Ht("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&Ht("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(c){return c.Designer.controlType===n.controlType});return i>-1&&(bn("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();Pn(Ei,"staticControls",CP),Pn(Ei,"staticRegisteredTypes",new Set(CP.map(function(e){return e.Designer.controlType}))),Pn(Ei,"staticRegisteredConfigs",new Map);function L(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function NP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function cL(e,t){return t&&(fL(t)==="object"||typeof t=="function")?t:L(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var fL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ue(e){var t=lL();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cL(this,o)}}var xe=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},$v=function e(t){T(this,e),d(this,"minWidth",void 0),d(this,"maxWidth",void 0),d(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Ci=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"width",void 0),d(L(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var c;return o.widthType=(c=n==null?void 0:n.widthType)!==null&&c!==void 0?c:"auto",o}return r}($v),BP=function e(t){T(this,e),d(this,"pc",void 0),d(this,"mobile",void 0),this.pc=new Ci(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ci(t==null?void 0:t.mobile):new Ci({width:130,minWidth:180})},AP=function e(t){T(this,e),d(this,"type",void 0),d(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},wn=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"formKey",void 0),d(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},MP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(wn),kP=function e(t){T(this,e),d(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ni=function e(t){T(this,e);var r;d(this,"appId",void 0),d(this,"formKey",void 0),d(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new kP(c)}))!==null&&i!==void 0?i:[]},DP=function e(t){T(this,e),d(this,"fieldName",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:u.FieldTypes.VARCHAR},LP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"title",void 0),d(L(o),"svcCode",void 0),d(L(o),"isOpenFilter",void 0),d(L(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var c;o.svcCode=(c=n==null?void 0:n.svcCode)!==null&&c!==void 0?c:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(wn),jP=function e(t){T(this,e);var r,n;d(this,"type","sublist-page"),d(this,"formBind",void 0),d(this,"displayFields",void 0),d(this,"sublists",void 0),this.formBind=new wn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(c){return new DP(c)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(c){return new LP(c)}))!==null&&i!==void 0?i:[]},FP=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},or=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Sv=function e(t){var r=this;T(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","conditions"),d(this,"level",void 0),d(this,"value",void 0),d(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:rt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var c;this.value=(c=t==null?void 0:t.value)!==null&&c!==void 0?c:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(f){if(f.children!==void 0){var l,a=new e(f);(l=r.children)===null||l===void 0||l.push(a)}else{var s,y=new Bi(f);(s=r.children)===null||s===void 0||s.push(y)}}))},Bi=function e(t){T(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","condition"),d(this,"symbol",void 0),d(this,"checked",void 0),d(this,"describe",void 0),d(this,"leftVariableBo",void 0),d(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var c;this.describe=(c=t==null?void 0:t.describe)!==null&&c!==void 0?c:"",this.leftVariableBo=new FP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new or(t==null?void 0:t.rightVariableBo)},xP=function e(t){T(this,e),d(this,"aliasCode",void 0),d(this,"datasourceBind",void 0),d(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new J(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Te=function e(t){T(this,e),d(this,"controlId",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Ai=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Ev=function e(t){T(this,e),d(this,"columnName",void 0),d(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},VP=function e(t){T(this,e),d(this,"code",void 0),d(this,"value",void 0),d(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY},aL=function e(t){T(this,e);var r,n;d(this,"id",void 0),d(this,"limit",void 0),d(this,"orders",void 0),d(this,"formKey",void 0),d(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var c;this.formKey=(c=t.formKey)!==null&&c!==void 0?c:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new Ev(a)}))!==null&&f!==void 0?f:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(a){return new VP(a)}))!==null&&l!==void 0?l:[]};function Iv(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Sv(f):new Bi(f)}))!==null&&n!==void 0?n:[];var o;if(this.viewFilters=(o=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new Sv(f):new Bi(f)}))!==null&&o!==void 0?o:[],NP(this,J)||NP(this,ki)){var i,c;this.orders=(c=e==null||(i=e.orders)===null||i===void 0?void 0:i.map(function(f){return new Ev(f)}))!==null&&c!==void 0?c:[]}}var J=function e(t){var r=this;T(this,e),d(this,"dataCode",void 0),d(this,"valueFieldCode",void 0),d(this,"displayBoList",void 0),d(this,"keywordMapping",void 0),d(this,"svcCode",void 0),d(this,"appId",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"isOpenViewFilters",void 0),d(this,"orders",void 0),d(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var c;this.isOpenViewFilters=(c=t==null?void 0:t.isOpenViewFilters)!==null&&c!==void 0?c:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var y;(y=r.displayBoList)===null||y===void 0||y.push(new Ai(s))}));var f;this.keywordMapping=(f=t==null?void 0:t.keywordMapping)!==null&&f!==void 0?f:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Iv.call(this,t)},Mi=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},St=function e(t){T(this,e),d(this,"code",void 0),d(this,"color",void 0),d(this,"command",void 0),d(this,"confirmMessage",void 0),d(this,"defaultState",void 0),d(this,"formKey",void 0),d(this,"icon",void 0),d(this,"needConfirm",void 0),d(this,"openType",void 0),d(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var c;this.defaultState=(c=t==null?void 0:t.defaultState)!==null&&c!==void 0?c:"default";var f;this.formKey=(f=t==null?void 0:t.formKey)!==null&&f!==void 0?f:void 0;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},Cv=function e(t){T(this,e);var r;d(this,"name",void 0),d(this,"key",void 0),d(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(c){return new Ai(c)}))!==null&&i!==void 0?i:[]},fo=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o,i;o=t.call(this,n),d(L(o),"attributes",void 0);var c;return o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Cv(f)}))!==null&&c!==void 0?c:[],o}return r}(J),zP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o,i;o=t.call(this,n),d(L(o),"attributes",void 0),d(L(o),"formCode",void 0);var c;o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Cv(l)}))!==null&&c!==void 0?c:[];var f;return o.formCode=(f=n==null?void 0:n.formCode)!==null&&f!==void 0?f:"",o}return r}(J),Nv=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"rootNode",void 0),d(L(o),"filterCode",void 0),o.rootNode=new or(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(fo),GP=function e(t){T(this,e);var r;d(this,"dataCode",void 0),d(this,"appId",void 0),d(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(c){return new Te(c)}))!==null&&i!==void 0?i:[]},ki=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this,n),d(L(o),"filters",void 0),d(L(o),"viewFilters",void 0),d(L(o),"orders",void 0),Iv.call(L(o),n),o}return r}(GP),Bv=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"mode",void 0),d(L(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var c;return o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1,o}return r}(GP),sL=function e(t){T(this,e),d(this,"zh",void 0),d(this,"en",void 0),d(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},Av=function e(t){T(this,e),d(this,"stencilName",void 0),d(this,"expression",void 0),d(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Mv=function e(t){T(this,e),d(this,"id",void 0),d(this,"label",void 0),d(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},YP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;o=t.call(this,n),d(L(o),"image",void 0),d(L(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var c;return o.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:"src",o}return r}(Mv);function yt(e){var t;return(t=e==null?void 0:e.map(function(r){return new Mv(r)}))!==null&&t!==void 0?t:[]}function yL(e){var t;return(t=e==null?void 0:e.map(function(r){return new YP(r)}))!==null&&t!==void 0?t:[]}var Di=function e(){T(this,e)},HP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this),d(L(o),"amount",void 0),d(L(o),"currency",void 0),o.amount=new xe(n==null?void 0:n.amount),o.currency=new xe(n==null?void 0:n.currency),o}return r}(Di),qP=function e(t){T(this,e),d(this,"amount",void 0),d(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:u.AMOUNT_TYPE.CNY},UP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this),d(L(o),"min",void 0),d(L(o),"max",void 0),o.min=new xe(n==null?void 0:n.min),o.max=new xe(n==null?void 0:n.max),o}return r}(Di),WP=function e(t){T(this,e),d(this,"min",void 0),d(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},KP=function e(t){T(this,e),d(this,"city",void 0),d(this,"cityDisplay",void 0),d(this,"district",void 0),d(this,"districtDisplay",void 0),d(this,"province",void 0),d(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var c;this.province=(c=t==null?void 0:t.province)!==null&&c!==void 0?c:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},XP=function(e){qe(r,e);var t=Ue(r);function r(n){T(this,r);var o;return o=t.call(this),d(L(o),"result",void 0),d(L(o),"unit",void 0),o.result=new xe(n==null?void 0:n.result),o.unit=new xe(n==null?void 0:n.unit),o}return r}(Di),QP=function e(t){T(this,e),d(this,"result",void 0),d(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};u.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(u.AMOUNT_TYPE||(u.AMOUNT_TYPE={})),u.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"}(u.COMMON_SETTING_TYPE||(u.COMMON_SETTING_TYPE={})),u.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(u.PAGE_STATUS||(u.PAGE_STATUS={}));var Et=function e(t){T(this,e),d(this,"isShow",void 0),d(this,"priorityProcess",void 0),d(this,"formKey",void 0),d(this,"content",void 0),d(this,"openType",void 0),d(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var c;this.type=(c=t==null?void 0:t.type)!==null&&c!==void 0?c:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},JP=function e(t){T(this,e);var r;d(this,"id",void 0),d(this,"title",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:rt(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(c){return new kP(c)}))!==null&&i!==void 0?i:[],Iv.call(this,t)},vL=function e(t){T(this,e),d(this,"key",void 0),d(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:rt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},ZP=function e(t){T(this,e),d(this,"width",void 0),d(this,"height",void 0),d(this,"widthConfig",void 0),d(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},ew=function e(t){T(this,e),d(this,"optCode",void 0),d(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function dL(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 pL(){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 Li(e,t,r){return pL()?Li=Reflect.construct:Li=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&ao(a,c.prototype),a},Li.apply(null,arguments)}function Rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(e)}function _L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hL(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:dL(e)}function ao(e,t){return ao=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ao(e,t)}var OL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dv(e){var t=typeof Map=="function"?new Map:void 0;return Dv=function(n){if(n===null||!hL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Li(n,arguments,lo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ao(o,n)},Dv(e)}function gL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mL(e){var t=gL();return function(){var n=lo(e),o;if(t){var i=lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bL(this,o)}}var Z=function e(t){kv(this,e),Rn(this,"isHide",{type:"boolean"})},qt=function(e){_L(r,e);var t=mL(r);function r(n){return kv(this,r),t.call(this)}return r}(Dv(Array)),ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";kv(this,e),Rn(this,"isHide",void 0),Rn(this,"className",void 0),Rn(this,"style",void 0),Rn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new ZP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Rn(ee,"Rules",Z),Rn(ee,"RuntimeRules",qt);function vt(){return vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vt.apply(this,arguments)}function PL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Lv(e){return Lv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lv(e)}function ji(e,t){return ji=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ji(e,t)}function wL(){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 Fi(e,t,r){return wL()?Fi=Reflect.construct:Fi=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&ji(a,c.prototype),a},Fi.apply(null,arguments)}function RL(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function jv(e){var t=typeof Map=="function"?new Map:void 0;return jv=function(n){if(n===null||!RL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Fi(n,arguments,Lv(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ji(o,n)},jv(e)}var TL=/%[sdj%]/g,tw=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(tw=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Fv(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function Ve(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var c=String(o).replace(TL,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return f}});return c}return o}function $L(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ne(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||$L(t)&&typeof e=="string"&&!e)}function SL(e,t,r){var n=[],o=0,i=e.length;function c(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,c)})}function nw(e,t,r){var n=0,o=e.length;function i(c){if(c&&c.length){r(c);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function EL(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var rw=function(e){PL(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(jv(Error));function IL(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var b=function(g){return n(g),g.length?v(new rw(g,Fv(g))):y()},O=EL(e);nw(O,r,b)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var c=Object.keys(e),f=c.length,l=0,a=[],s=new Promise(function(y,v){var b=function(p){if(a.push.apply(a,p),l++,l===f)return n(a),a.length?v(new rw(a,Fv(a))):y()};c.length||(n(a),y()),c.forEach(function(O){var p=e[O];i.indexOf(O)!==-1?nw(p,r,b):SL(p,r,b)})});return s.catch(function(y){return y}),s}function ow(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 iw(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=vt(vt({},e[r]),n):e[r]=n}}return e}function uw(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ne(t,i||e.type))&&n.push(Ve(o.messages.required,e.fullField))}function CL(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ve(o.messages.whitespace,e.fullField))}var xv={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(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!so.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(xv.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(xv.url)},hex:function(t){return typeof t=="string"&&!!t.match(xv.hex)}};function NL(e,t,r,n,o){if(e.required&&t===void 0){uw(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;i.indexOf(c)>-1?so[c](t)||n.push(Ve(o.messages.types[c],e.fullField,e.type)):c&&typeof t!==e.type&&n.push(Ve(o.messages.types[c],e.fullField,e.type))}function BL(e,t,r,n,o){var i=typeof e.len=="number",c=typeof e.min=="number",f=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,s=null,y=typeof t=="number",v=typeof t=="string",b=Array.isArray(t);if(y?s="number":v?s="string":b&&(s="array"),!s)return!1;b&&(a=t.length),v&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(Ve(o.messages[s].len,e.fullField,e.len)):c&&!f&&a<e.min?n.push(Ve(o.messages[s].min,e.fullField,e.min)):f&&!c&&a>e.max?n.push(Ve(o.messages[s].max,e.fullField,e.max)):c&&f&&(a<e.min||a>e.max)&&n.push(Ve(o.messages[s].range,e.fullField,e.min,e.max))}var ir="enum";function AL(e,t,r,n,o){e[ir]=Array.isArray(e[ir])?e[ir]:[],e[ir].indexOf(t)===-1&&n.push(Ve(o.messages[ir],e.fullField,e[ir].join(", ")))}function ML(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ve(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(Ve(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var C={required:uw,whitespace:CL,type:NL,range:BL,enum:AL,pattern:ML};function kL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t,"string")&&!e.required)return r();C.required(e,t,n,i,o,"string"),ne(t,"string")||(C.type(e,t,n,i,o),C.range(e,t,n,i,o),C.pattern(e,t,n,i,o),e.whitespace===!0&&C.whitespace(e,t,n,i,o))}r(i)}function DL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C.type(e,t,n,i,o)}r(i)}function LL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t===""&&(t=void 0),ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function jL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C.type(e,t,n,i,o)}r(i)}function FL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),ne(t)||C.type(e,t,n,i,o)}r(i)}function xL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function VL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function zL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(t==null&&!e.required)return r();C.required(e,t,n,i,o,"array"),t!=null&&(C.type(e,t,n,i,o),C.range(e,t,n,i,o))}r(i)}function GL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C.type(e,t,n,i,o)}r(i)}var YL="enum";function HL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o),t!==void 0&&C[YL](e,t,n,i,o)}r(i)}function qL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t,"string")&&!e.required)return r();C.required(e,t,n,i,o),ne(t,"string")||C.pattern(e,t,n,i,o)}r(i)}function UL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t,"date")&&!e.required)return r();if(C.required(e,t,n,i,o),!ne(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),C.type(e,f,n,i,o),f&&C.range(e,f.getTime(),n,i,o)}}r(i)}function WL(e,t,r,n,o){var i=[],c=Array.isArray(t)?"array":typeof t;C.required(e,t,n,i,o,c),r(i)}function Vv(e,t,r,n,o){var i=e.type,c=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(ne(t,i)&&!e.required)return r();C.required(e,t,n,c,o,i),ne(t,i)||C.type(e,t,n,c,o)}r(c)}function KL(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(ne(t)&&!e.required)return r();C.required(e,t,n,i,o)}r(i)}var yo={string:kL,method:DL,number:LL,boolean:jL,regexp:FL,integer:xL,float:VL,array:zL,object:GL,enum:HL,pattern:qL,date:UL,url:Vv,hex:Vv,email:Vv,required:WL,any:KL};function zv(){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 Gv=zv();function Ut(e){this.rules=null,this._messages=Gv,this.define(e)}Ut.prototype={messages:function(t){return t&&(this._messages=iw(zv(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,c=r,f=n;if(typeof c=="function"&&(f=c,c={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function l(p){var g,_=[],m={};function w(P){if(Array.isArray(P)){var $;_=($=_).concat.apply($,P)}else _.push(P)}for(g=0;g<p.length;g++)w(p[g]);_.length?m=Fv(_):(_=null,m=null),f(_,m)}if(c.messages){var a=this.messages();a===Gv&&(a=zv()),iw(a,c.messages),c.messages=a}else c.messages=this.messages();var s,y,v={},b=c.keys||Object.keys(this.rules);b.forEach(function(p){s=o.rules[p],y=i[p],s.forEach(function(g){var _=g;typeof _.transform=="function"&&(i===t&&(i=vt({},i)),y=i[p]=_.transform(y)),typeof _=="function"?_={validator:_}:_=vt({},_),_.validator=o.getValidationMethod(_),_.field=p,_.fullField=_.fullField||p,_.type=o.getType(_),_.validator&&(v[p]=v[p]||[],v[p].push({rule:_,value:y,source:i,field:p}))})});var O={};return IL(v,c,function(p,g){var _=p.rule,m=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");m=m&&(_.required||!_.required&&p.value),_.field=p.field;function w(R,S){return vt(vt({},S),{},{fullField:_.fullField+"."+R})}function P(R){R===void 0&&(R=[]);var S=R;if(Array.isArray(S)||(S=[S]),!c.suppressWarning&&S.length&&Ut.warning("async-validator:",S),S.length&&_.message!==void 0&&(S=[].concat(_.message)),S=S.map(ow(_)),c.first&&S.length)return O[_.field]=1,g(S);if(!m)g(S);else{if(_.required&&!p.value)return _.message!==void 0?S=[].concat(_.message).map(ow(_)):c.error&&(S=[c.error(_,Ve(c.messages.required,_.field))]),g(S);var k={};if(_.defaultField)for(var je in p.value)p.value.hasOwnProperty(je)&&(k[je]=_.defaultField);k=vt(vt({},k),p.rule.fields);for(var pe in k)if(k.hasOwnProperty(pe)){var _e=Array.isArray(k[pe])?k[pe]:[k[pe]];k[pe]=_e.map(w.bind(null,pe))}var no=new Ut(k);no.messages(c.messages),p.rule.options&&(p.rule.options.messages=c.messages,p.rule.options.error=c.error),no.validate(p.value,p.rule.options||c,function(nr){var Rt=[];S&&S.length&&Rt.push.apply(Rt,S),nr&&nr.length&&Rt.push.apply(Rt,nr),g(Rt.length?Rt:null)})}}var $;_.asyncValidator?$=_.asyncValidator(_,p.value,P,p.source,c):_.validator&&($=_.validator(_,p.value,P,p.source,c),$===!0?P():$===!1?P(_.message||_.field+" fails"):$ instanceof Array?P($):$ instanceof Error&&P($.message)),$&&$.then&&$.then(function(){return P()},function(R){return P(R)})},function(p){l(p)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!yo.hasOwnProperty(t.type))throw new Error(Ve("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?yo.required:yo[this.getType(t)]||!1}},Ut.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");yo[t]=r},Ut.warning=tw,Ut.messages=Gv,Ut.validators=yo;var XL={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 cw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ut(e);return r.messages(Object.assign(XL,t)),r}var fw=new $P;function Yv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function QL(e){if(Array.isArray(e))return e}function JL(e){if(Array.isArray(e))return Yv(e)}function lw(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function aw(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){lw(i,n,o,c,f,"next",l)}function f(l){lw(i,n,o,c,f,"throw",l)}c(void 0)})}}function ZL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ej(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yw(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vw(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tj(){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 nj(){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 dw(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){j(e,o,r[o])})}return e}function rj(e){return QL(e)||vw(e)||pw(e)||tj()}function xi(e){return JL(e)||vw(e)||pw(e)||nj()}function pw(e,t){if(!!e){if(typeof e=="string")return Yv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yv(e,t)}}var _w=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},F=function(){function t(r){var n=this;ZL(this,t),j(this,"id",void 0),j(this,"name",void 0),j(this,"icon",void 0),j(this,"type",void 0),j(this,"controlType",void 0),j(this,"props",void 0),j(this,"setting",[]),j(this,"fieldType",void 0),j(this,"eventKeys",[]),j(this,"customEvents",[]),j(this,"parent",null),j(this,"updateSetting",bw),j(this,"removeSetting",hw),j(this,"addSetting",oj),j(this,"replaceSetting",ij),this._callControlHooks("preInstance",r);var o=yw(this,t)?this.constructor:void 0,i=o.controlName,c=o.controlIcon,f=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,y=o.name,v=o.setting;i&&c&&f||hv("The ".concat(y," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:rt(10),this.name=i,this.icon=c;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:f,this.props=new ee(r==null?void 0:r.props,(yw(this,t)?this.constructor:void 0).controlName);var p;this.controlType=(p=r==null?void 0:r.controlType)!==null&&p!==void 0?p:"base",this.setting=$t(v);var g;this.fieldType=(g=r==null?void 0:r.fieldType)!==null&&g!==void 0?g:l,this.eventKeys=$t(a),this.customEvents=$t(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return ej(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var c,f=rj(o),l=f[0],a=f.slice(1);return(c=fw).emit.apply(c,[l,this].concat(xi(a)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),bP(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return aw(function(){var o,i,c;return _w(this,function(f){switch(f.label){case 0:return o=dw({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),c=i[i.length-1],[2,c===!1?void 0:c]}})})()}},{key:"validate",value:function(n,o){var i=this;return aw(function(){var c,f,l,a;return _w(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:c=s.sent(),f=c!==void 0?c:dw({},i.rules),Array.isArray(o)&&o.forEach(function(y){f.hasOwnProperty(y)&&delete f[y]}),l=cw(f,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw a=s.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,c=this.type,f=this.props,l=f.dataBind,a=f.datasourceBind,s=f.optionConfig,y=f.caption,v=f.required,b=f.maxLength,O=f.options,p=f.encrypted,g=f.encryptedMode;if(!(!o&&!l&&!a)){var _={parentId:n,fieldType:o,controlId:i,caption:y,type:c,props:{}};switch(l&&(_.dataBind=l),s){case"datasource":case void 0:a&&(_.datasourceBind=a);break;case"custom":_.props.options=O;break}return v!==void 0&&(_.required=v),b!==void 0&&(_.maxLength=b),p!==void 0&&(_.encrypted=p),g!==void 0&&(_.encryptedMode=g),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:$t(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,xi(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();j(F,"controlName","\u63A7\u4EF6"),j(F,"controlIcon","icon"),j(F,"controlType","control"),j(F,"controlFieldType",void 0),j(F,"controlEventKeys",[]),j(F,"controlCustomEvents",[]),j(F,"setting",[]),j(F,"__is_control__",!0),j(F,"removeSettingItem",hw),j(F,"updateSettingItem",bw);function hw(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string";if(!!Array.isArray(t.setting)){var c=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(c!==-1){var f,l;i?t.setting[c].showItems=(f=t.setting[c].showItems)===null||f===void 0?void 0:f.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(c,1),i&&!(!((l=t.setting[c].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(c,1)}}})}function bw(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){if(!!Array.isArray(r.setting)){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var c,f=(c=t.type)!==null&&c!==void 0?c:"replace";if(f==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,xi(t.showItems))}}}}})}function oj(e){var t,r=Object.prototype.toString.call(e)==="[object Object]"?[e]:e;(t=this.setting).push.apply(t,xi(r))}function ij(e){this.setting=e}function uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cj(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fj(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var te=function(){function t(r){uj(this,t),We(this,"id",void 0),We(this,"type",void 0),We(this,"controlType",void 0),We(this,"props",void 0),We(this,"fieldType",void 0),We(this,"customEvents",[]),We(this,"pageStatus",void 0),We(this,"parent",null);var n=fj(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,c=n.name,f=n.controlCustomEvents;o||hv("The ".concat(c," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:rt(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new ee(r==null?void 0:r.props),this.customEvents=f;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var v;this.pageStatus=(v=r==null?void 0:r.pageStatus)!==null&&v!==void 0?v:u.PAGE_STATUS.UNKNOWN}return cj(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();We(te,"controlType","control"),We(te,"controlFieldType",void 0),We(te,"__is_control__",!0),We(te,"controlCustomEvents",[]);function Vi(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(f){return f.value}),c=mP(i);i.length!==c.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function vo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,c){i.length===0&&c(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),c()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Yi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function lj(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function aj(e,t){return t&&(sj(t)==="object"||typeof t=="function")?t:z(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var sj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hi(e){var t=yj();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aj(this,o)}}var le=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;o=t.call(this,n),G(z(o),"dataBind",{}),G(z(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),G(z(o),"isHideCaption",{type:"boolean"}),G(z(o),"labelPosition",{type:"enum",enum:["top","left"]}),G(z(o),"defaultState",{type:"enum",enum:["default","readonly"]}),G(z(o),"required",{type:"boolean"}),G(z(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(lj(n.dataBind,xe))o.dataBind={type:"object",required:!0,fields:$t(i),message:h.getMessage("pleaseEnterFieldCode")};else{var c={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){c.fields[f]={type:"object",required:!0,fields:$t(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=c}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),x=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(qt),B=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;o=t.call(this,n),G(z(o),"caption",void 0),G(z(o),"isHideCaption",void 0),G(z(o),"isShowCaptionTip",void 0),G(z(o),"captionTip",void 0),G(z(o),"labelPosition",void 0),G(z(o),"dataBind",void 0),G(z(o),"defaultValue",void 0),G(z(o),"placeholder",void 0),G(z(o),"defaultState",void 0),G(z(o),"required",void 0),G(z(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var v;o.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new xe(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(ee);G(B,"Rules",le),G(B,"RuntimeRules",x);var Tn=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;return o=t.call(this,n),G(z(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),G(z(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),G(z(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Vi.call(z(o),n),o}return r}(le);function qv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function dj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function pj(e,t){return t&&(_j(t)==="object"||typeof t=="function")?t:qv(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var _j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bj(e){var t=hj();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pj(this,o)}}var A=function(e){dj(r,e);var t=bj(r);function r(n){vj(this,r);var o;return o=t.call(this,n),qi(qv(o),"controlType","form"),qi(qv(o),"props",void 0),o.props=new B(n==null?void 0:n.props),o}return r}(F);qi(A,"controlEventKeys",["on_change","on_focus","on_blur"]),qi(A,"controlCustomAttributes",void 0);function Wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(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&&Kv(e,t)}function mj(e,t){return t&&(Pj(t)==="object"||typeof t=="function")?t:Wi(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var Pj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rj(e){var t=wj();return function(){var n=Ki(e),o;if(t){var i=Ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mj(this,o)}}var M=function(e){gj(r,e);var t=Rj(r);function r(n){Oj(this,r);var o;return o=t.call(this,n),Wv(Wi(o),"controlType","form"),Wv(Wi(o),"props",void 0),Wv(Wi(o),"value",void 0),o.props=new B(n==null?void 0:n.props),o}return r}(te);function Tj(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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function Sj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function Ej(e,t){return t&&(Ij(t)==="object"||typeof t=="function")?t:Tj(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}var Ij=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nj(e){var t=Cj();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ej(this,o)}}var V=function(e){Sj(r,e);var t=Nj(r);function r(n){return $j(this,r),t.call(this,n)}return r}(ee);function Qv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Bj(e){if(Array.isArray(e))return Qv(e)}function Aj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mj(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function gw(e){return Bj(e)||Aj(e)||kj(e)||Mj()}function kj(e,t){if(!!e){if(typeof e=="string")return Qv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qv(e,t)}}function mw(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Jv(e,t){e.parent=t,mw(e,"parent")}function Pw(e,t){e.forEach(function(r){Jv(r,t)})}var ww=Symbol("targetKey");function Rw(e){var t;return(t=e[ww])!==null&&t!==void 0?t:e}function Tw(e,t){return Pw(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,c=new Array(i>2?i-2:0),f=2;f<i;f++)c[f-2]=arguments[f];var l;return o===ww?n:(l=Reflect).get.apply(l,[n,o].concat(gw(c)))},set:function(n,o,i){for(var c=arguments.length,f=new Array(c>3?c-3:0),l=3;l<c;l++)f[l-3]=arguments[l];var a;if(On(e)&&o==="length"&&i===e.length)return!0;var s=(a=Reflect).set.apply(a,[n,o,i].concat(gw(f)));return mv(i)&&Jv(i,t),s}})}function dt(e,t,r,n){var o=n!=null?n:e,i=Tw(Rw(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=Tw(Rw(f),o)},enumerable:!0})}function Zv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Dj(e){if(Array.isArray(e))return Zv(e)}function $n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $w(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function Lj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){$w(i,n,o,c,f,"next",l)}function f(l){$w(i,n,o,c,f,"throw",l)}c(void 0)})}}function jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fj(e,t,r){return t&&Sw(e.prototype,t),r&&Sw(e,r),e}function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ur=Reflect.get:ur=function(o,i,c){var f=Wj(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ur(e,t,r||e)}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kt(e)}function xj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function Vj(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function zj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gj(){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 Yj(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Wt(e,o,r[o])})}return e}function Hj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function qj(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hj(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Uj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:$n(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function Wj(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kt(e),e!==null););return e}function Ew(e){return Dj(e)||zj(e)||Xj(e)||Gj()}var Kj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xj(e,t){if(!!e){if(typeof e=="string")return Zv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zv(e,t)}}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 Jj(e){var t=Qj();return function(){var n=Kt(e),o;if(t){var i=Kt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uj(this,o)}}var Zj=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},eF=1e4,Y=function(t){xj(n,t);var r=Jj(n);function n(o){jj(this,n);var i;i=r.call(this,o),Wt($n(i),"controlType","layout"),Wt($n(i),"children",void 0),Wt($n(i),"excludes",void 0),Wt($n(i),"childrenMaxLength",void 0),Wt($n(i),"props",void 0);var c=Vj(this,n)?this.constructor:void 0,f=c.excludes,l=c.childrenMaxLength;return i.props=new V(o==null?void 0:o.props),dt($n(i),"children",o==null?void 0:o.children),i.excludes=$t(f),i.childrenMaxLength=l,i}return Fj(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var c=this.judgeExcludesChildren(i);return c&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,c){var f=this,l=this,a=function(){return ur(Kt(n.prototype),"validate",f)};return Lj(function(){return Zj(this,function(s){switch(s.label){case 0:return[4,a().call(l,i,c)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(y){return y.validate(i,c)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=ur(Kt(n.prototype),"toDataBindModel",this).call(this),f=c?[c]:[];return this.children.reduce(function(l,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return Ew(l).concat(Ew(y))}return s&&l.push(s),l},f)}},{key:"toSchema",value:function(){var i=ur(Kt(n.prototype),"toSchema",this).call(this),c=this.children.map(function(f){var l=f.toSchema();return l});return qj(Yj({},i),{children:c})}}]),n}(F);Wt(Y,"excludes",!1),Wt(Y,"childrenMaxLength",eF);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function nF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rF(e,t){return t&&(oF(t)==="object"||typeof t=="function")?t:po(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}var oF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uF(e){var t=iF();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rF(this,o)}}var W=function(e){nF(r,e);var t=uF(r);function r(n){tF(this,r);var o;return o=t.call(this,n),td(po(o),"controlType","layout"),td(po(o),"children",void 0),td(po(o),"props",void 0),o.props=new V(n==null?void 0:n.props),dt(po(o),"children",n==null?void 0:n.children),o}return r}(te);function rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(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&&od(e,t)}function aF(e,t){return t&&(sF(t)==="object"||typeof t=="function")?t:rd(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var sF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vF(e){var t=yF();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aF(this,o)}}var _o=function(e){lF(r,e);var t=vF(r);function r(n,o){cF(this,r);var i;return i=t.call(this,o),fF(rd(i),"headers",void 0),dt(rd(i),"headers",o==null?void 0:o.headers,n),i}return r}(ee);function id(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dF(e){if(Array.isArray(e))return id(e)}function Zi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iw(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function pF(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){Iw(i,n,o,c,f,"next",l)}function f(l){Iw(i,n,o,c,f,"throw",l)}c(void 0)})}}function _F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hF(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cr=Reflect.get:cr=function(o,i,c){var f=wF(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},cr(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(e)}function bF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gF(){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 Nw(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){eu(e,o,r[o])})}return e}function mF(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Bw(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mF(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function PF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:Zi(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function wF(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function Aw(e){return dF(e)||OF(e)||TF(e)||gF()}var RF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TF(e,t){if(!!e){if(typeof e=="string")return id(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return id(e,t)}}function $F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SF(e){var t=$F();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PF(this,o)}}var EF=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},tu=function(e){bF(r,e);var t=SF(r);function r(n){_F(this,r);var o;return o=t.call(this,n),eu(Zi(o),"controlType","list"),eu(Zi(o),"props",void 0),o.props=new _o(Zi(o),n==null?void 0:n.props),o}return hF(r,[{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return cr(Xt(r.prototype),"validate",c)};return pF(function(){return EF(this,function(a){switch(a.label){case 0:return[4,l().call(f,o)];case 1:return a.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=cr(Xt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],c=this.id;return this.props.headers.reduce(function(f,l){var a=l.toDataBindModel(c);if(Array.isArray(a)){var s=a.filter(function(y){return!!y});return Aw(f).concat(Aw(s))}return a&&f.push(a),f},i)}},{key:"toSchema",value:function(){var o=cr(Xt(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(c){return c.toSchema()});return Bw(Nw({},o),{props:Bw(Nw({},this.props),{headers:i})})}}]),r}(F);eu(tu,"controlFieldType",u.FieldTypes.LIST);function fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CF(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function NF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BF(e,t){return t&&(AF(t)==="object"||typeof t=="function")?t:fr(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var AF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kF(e){var t=MF();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BF(this,o)}}var ld=function(e){NF(r,e);var t=kF(r);function r(n){IF(this,r);var o;return o=t.call(this,n),cd(fr(o),"controlType","list"),cd(fr(o),"children",void 0),cd(fr(o),"props",void 0),o.props=new _o(fr(o),n==null?void 0:n.props),dt(fr(o),"children",n==null?void 0:n.children),o}return CF(r,[{key:"length",get:function(){return this.children.length}}]),r}(te);function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ad(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function sd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DF(e,t){return t&&(LF(t)==="object"||typeof t=="function")?t:ae(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var LF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vd(e){var t=jF();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DF(this,o)}}var pt=function(e){sd(r,e);var t=vd(r);function r(n){ad(this,r);var o;return o=t.call(this,n),be(ae(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),be(ae(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Z),K=function(e){sd(r,e);var t=vd(r);function r(n){ad(this,r);var o;o=t.call(this,n),be(ae(o),"widthType",void 0),be(ae(o),"width",void 0),be(ae(o),"caption",void 0),be(ae(o),"dataBind",void 0),be(ae(o),"autoWidth",void 0),be(ae(o),"fixed",void 0),be(ae(o),"sort",void 0),be(ae(o),"align",void 0),be(ae(o),"colSpan",void 0),be(ae(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new $v(n==null?void 0:n.autoWidth),o.dataBind=new xe(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(ee);be(K,"Rules",pt);var dd=function(e){sd(r,e);var t=vd(r);function r(n){ad(this,r);var o;return o=t.call(this,n),be(ae(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),be(ae(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),be(ae(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Vi.call(ae(o),n),o}return r}(pt);function pd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function xF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:pd(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var zF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YF(e){var t=GF();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VF(this,o)}}var ie=function(e){xF(r,e);var t=YF(r);function r(n){FF(this,r);var o;return o=t.call(this,n),kw(pd(o),"controlType","column"),kw(pd(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(F);function hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function UF(e,t){return t&&(WF(t)==="object"||typeof t=="function")?t:hd(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var WF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XF(e){var t=KF();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UF(this,o)}}var ue=function(e){qF(r,e);var t=XF(r);function r(n){HF(this,r);var o;return o=t.call(this,n),Dw(hd(o),"controlType","column"),Dw(hd(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(te);function Lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function ZF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function e4(e,t){return t&&(t4(t)==="object"||typeof t=="function")?t:Lw(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}var t4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r4(e){var t=n4();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e4(this,o)}}var cu=function(e){ZF(r,e);var t=r4(r);function r(n){QF(this,r);var o;return o=t.call(this,n),JF(Lw(o),"dataBind",void 0),o.dataBind=new xe(n==null?void 0:n.dataBind),o}return r}(V);function gd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function 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&&md(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:gd(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var c4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l4(e){var t=f4();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}var Fw=function(e){i4(r,e);var t=l4(r);function r(n){o4(this,r);var o;return o=t.call(this,n),jw(gd(o),"controlType","search"),jw(gd(o),"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return r}(Y);function Pd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function y4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:Pd(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var v4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p4(e){var t=d4();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y4(this,o)}}var Vw=function(e){s4(r,e);var t=p4(r);function r(n){a4(this,r);var o;return o=t.call(this,n),xw(Pd(o),"controlType","search"),xw(Pd(o),"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return r}(W);function _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function b4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function O4(e,t){return t&&(g4(t)==="object"||typeof t=="function")?t:_4(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}var g4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function m4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P4(e){var t=m4();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O4(this,o)}}var su=function(e){b4(r,e);var t=P4(r);function r(n){return h4(this,r),t.call(this,n)}return r}(V);function Td(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function 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&&$d(e,t)}function T4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:Td(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var $4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(e){var t=S4();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T4(this,o)}}var Gw=function(e){R4(r,e);var t=E4(r);function r(n){w4(this,r);var o;return o=t.call(this,n),zw(Td(o),"controlType","wrap"),zw(Td(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return r}(Y);function Sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Ed(e,t)}function N4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:Sd(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var B4=function(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 M4(e){var t=A4();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N4(this,o)}}var Hw=function(e){C4(r,e);var t=M4(r);function r(n){I4(this,r);var o;return o=t.call(this,n),Yw(Sd(o),"controlType","wrap"),Yw(Sd(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return r}(W);function Qt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&Id(e,t)}function L4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:lr(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}var j4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x4(e){var t=F4();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L4(this,o)}}var Cd=function(e){D4(r,e);var t=x4(r);function r(n){k4(this,r);var o;o=t.call(this,n),ho(lr(o),"content",void 0),ho(lr(o),"fontSize",void 0),ho(lr(o),"color",void 0),ho(lr(o),"icon",void 0),ho(lr(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"#646A73";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;return o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57",o}return r}(ee);function qw(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 Uw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z4(e,t,r){return t&&Uw(e.prototype,t),r&&Uw(e,r),e}function Ww(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function Y4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:qw(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}var H4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U4(e){var t=q4();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y4(this,o)}}var Kw=function(e){G4(r,e);var t=U4(r);function r(n){V4(this,r);var o;return o=t.call(this,n),Ww(qw(o),"props",void 0),o.props=new Cd(n==null?void 0:n.props),o}return z4(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(F);Ww(Kw,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K4(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function X4(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function Q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function J4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:Xw(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var Z4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t5(e){var t=e5();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J4(this,o)}}var n5=function(e){Q4(r,e);var t=t5(r);function r(n){W4(this,r);var o;return o=t.call(this,n),X4(Xw(o),"props",void 0),o.props=new Cd(n==null?void 0:n.props),o}return K4(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(te),Jw={Designer:Kw,Runtime:n5,Property:Cd};function hu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function o5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function i5(e,t){return t&&(u5(t)==="object"||typeof t=="function")?t:hu(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var u5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f5(e){var t=c5();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i5(this,o)}}var kd=function(e){o5(r,e);var t=f5(r);function r(n){r5(this,r);var o;o=t.call(this,n),Ad(hu(o),"content",void 0),Ad(hu(o),"url",void 0),Ad(hu(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var c;o.url=(c=n==null?void 0:n.url)!==null&&c!==void 0?c:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(ee);function Zw(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 eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a5(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function Dd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function s5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function y5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:Zw(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var v5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p5(e){var t=d5();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y5(this,o)}}var jd=function(e){s5(r,e);var t=p5(r);function r(n){l5(this,r);var o;return o=t.call(this,n),Dd(Zw(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return a5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);Dd(jd,"controlEventKeys",["on_click"]),Dd(jd,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h5(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function b5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:tR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var m5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w5(e){var t=P5();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g5(this,o)}}var R5=function(e){O5(r,e);var t=w5(r);function r(n){_5(this,r);var o;return o=t.call(this,n),b5(tR(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return h5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(te),rR={Designer:jd,Runtime:R5,Property:kd};function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&xd(e,t)}function S5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:_t(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var E5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C5(e){var t=I5();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S5(this,o)}}var $e=function(e){$5(r,e);var t=C5(r);function r(n){T5(this,r);var o;o=t.call(this,n),It(_t(o),"content",void 0),It(_t(o),"buttonType",void 0),It(_t(o),"showType",void 0),It(_t(o),"color",void 0),It(_t(o),"icon",void 0),It(_t(o),"defaultState",void 0),It(_t(o),"command",void 0),It(_t(o),"isLoading",void 0),It(_t(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1;var b;return o.optObj=new ew((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(ee);function oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function B5(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function Vd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function A5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function M5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:oR(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var k5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L5(e){var t=D5();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M5(this,o)}}var Se=function(e){A5(r,e);var t=L5(r);function r(n){N5(this,r);var o;return o=t.call(this,n),Vd(oR(o),"props",void 0),o.props=new $e(n==null?void 0:n.props),o}return B5(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Vd(Se,"controlEventKeys",["on_click","on_click_finish"]),Vd(Se,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function uR(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 cR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F5(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function x5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function z5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:uR(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}var G5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H5(e){var t=Y5();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z5(this,o)}}var ze=function(e){V5(r,e);var t=H5(r);function r(n){j5(this,r);var o;return o=t.call(this,n),x5(uR(o),"props",void 0),o.props=new $e(n==null?void 0:n.props),o}return F5(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(te),fR={Designer:Se,Runtime:ze,Property:$e};function Ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(u.TitleConfigEnum||(u.TitleConfigEnum={})),u.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(u.DATE_CONFIG_TYPE||(u.DATE_CONFIG_TYPE={})),u.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(u.DATE_LIMIT_TYPE||(u.DATE_LIMIT_TYPE={}));var Ru=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:u.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:u.DATE_LIMIT_TYPE.FILE_IN_TIME,id:rt(8),value:["",""]};Ct(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};u.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(u.SCORE_TYPE||(u.SCORE_TYPE={}));var Tu=function e(t){Ct(this,e),E(this,"id",void 0),E(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};u.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(u.LINE_STYLE||(u.LINE_STYLE={}));var Yd=function e(t){Ct(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new or((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,c;this.telephone=(c=t==null?void 0:t.telephone)!==null&&c!==void 0?c:new or((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new or((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},lR=function e(t){Ct(this,e);var r;E(this,"fileControl",void 0),E(this,"undersignedList",void 0),E(this,"statusControl",void 0),E(this,"completeControl",void 0),E(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new Yd(l)}))!==null&&o!==void 0?o:[new Yd];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var c;this.completeControl=(c=t==null?void 0:t.completeControl)!==null&&c!==void 0?c:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Hd=function e(t){Ct(this,e),E(this,"id",void 0),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"svcCode",void 0),E(this,"name",void 0),E(this,"fieldList",void 0),E(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var c;this.name=(c=t==null?void 0:t.name)!==null&&c!==void 0?c:"";var f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},qd=function e(t){Ct(this,e),E(this,"active",void 0),E(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},aR=function e(t){Ct(this,e),E(this,"types",void 0),E(this,"history",void 0),E(this,"collaborativeRecord",void 0),E(this,"logicToDelete",void 0),E(this,"watermark",void 0),E(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new qd(t==null?void 0:t.watermark),this.autoRename=new qd(t==null?void 0:t.autoRename)},sR=480;function bo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var yR=function e(t){Ct(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var c;this.rules=(c=t.rules)!==null&&c!==void 0?c:[]},vR=function e(t){Ct(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};u.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(u.EncryptTypeEnum||(u.EncryptTypeEnum={})),u.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(u.OrganizeType||(u.OrganizeType={})),u.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(u.DepartmentType||(u.DepartmentType={})),u.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(u.AssignType||(u.AssignType={})),u.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(u.InternalType||(u.InternalType={}));function Ud(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(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&&Wd(e,t)}function W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:Ud(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var K5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q5(e){var t=X5();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W5(this,o)}}var Kd=function(e){U5(r,e);var t=Q5(r);function r(n){q5(this,r);var o;o=t.call(this,n),dR(Ud(o),"color",void 0),dR(Ud(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var c;return o.lineStyle=(c=n==null?void 0:n.lineStyle)!==null&&c!==void 0?c:u.LINE_STYLE.SOLID,o}return r}(ee);function pR(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 _R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z5(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:pR(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var n6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o6(e){var t=r6();return function(){var n=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t6(this,o)}}var bR=function(e){e6(r,e);var t=o6(r);function r(n){J5(this,r);var o;return o=t.call(this,n),hR(pR(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return Z5(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);hR(bR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]}]);function OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u6(e,t,r){return t&&gR(e.prototype,t),r&&gR(e,r),e}function c6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function l6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:OR(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}var a6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y6(e){var t=s6();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l6(this,o)}}var v6=function(e){f6(r,e);var t=y6(r);function r(n){i6(this,r);var o;return o=t.call(this,n),c6(OR(o),"props",void 0),o.props=new Kd(n==null?void 0:n.props),o}return u6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(te),mR={Designer:bR,Runtime:v6,Property:Kd};function Jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function wR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:Jt(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var p6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RR(e){var t=_6();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var h6=function(e){wR(r,e);var t=RR(r);function r(n){PR(this,r);var o;return o=t.call(this,n),Zt(Jt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Zt(Jt(o),"dataBind",{type:"any"}),Zt(Jt(o),"config",{type:"array"}),n.config.includes(u.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")}),o}return r}(Z),Cu=function(e){wR(r,e);var t=RR(r);function r(n){PR(this,r);var o;o=t.call(this,n),Zt(Jt(o),"dataBind",void 0),Zt(Jt(o),"caption",void 0),Zt(Jt(o),"config",void 0),Zt(Jt(o),"position",void 0),o.dataBind=new xe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[u.TitleConfigEnum.ShowSubmitUser,u.TitleConfigEnum.ShowSubmitDept,u.TitleConfigEnum.ShowSubmitTime,u.TitleConfigEnum.ShowCurrentApprovar,u.TitleConfigEnum.ShowTitle];var c,f;o.caption=(f=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ar==null?void 0:ar.controlName)!==null&&f!==void 0?f:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(ee);Zt(Cu,"Rules",h6);function TR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O6(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function m6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:TR(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var P6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R6(e){var t=w6();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m6(this,o)}}var ar=function(e){g6(r,e);var t=R6(r);function r(n){b6(this,r);var o;return o=t.call(this,n),Zd(TR(o),"props",void 0),o.props=new Cu(n==null?void 0:n.props),o}return O6(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(F);Zd(ar,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Zd(ar,"setting",[{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function SR(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 ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $6(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function S6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function E6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function I6(e,t){return t&&(C6(t)==="object"||typeof t=="function")?t:SR(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}var C6=function(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 B6(e){var t=N6();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I6(this,o)}}var A6=function(e){E6(r,e);var t=B6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),S6(SR(o),"props",void 0),o.props=new Cu(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(te),IR={Designer:ar,Runtime:A6,Property:Cu};function Au(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function NR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function M6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:Au(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var k6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BR(e){var t=D6();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M6(this,o)}}var L6=function(e){NR(r,e);var t=BR(r);function r(n){CR(this,r);var o;return o=t.call(this,n),Mu(Au(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Z),Du=function(e){NR(r,e);var t=BR(r);function r(n){CR(this,r);var o;o=t.call(this,n),Mu(Au(o),"formKey",void 0),Mu(Au(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Oo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Oo.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}($e);Mu(Du,"Rules",L6);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F6(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function rp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function 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&&op(e,t)}function V6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:AR(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var z6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y6(e){var t=G6();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V6(this,o)}}var Oo=function(e){x6(r,e);var t=Y6(r);function r(n){j6(this,r);var o;return o=t.call(this,n),rp(AR(o),"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Se);rp(Oo,"controlEventKeys",["on_click","on_click_finish"]),rp(Oo,"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 kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function U6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function W6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function K6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:kR(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var X6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J6(e){var t=Q6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K6(this,o)}}var Z6=function(e){W6(r,e);var t=J6(r);function r(n){H6(this,r);var o;return o=t.call(this,n),U6(kR(o),"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return q6(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ze),LR={Designer:Oo,Runtime:Z6,Property:Du};function sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function FR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function ex(e,t){return t&&(tx(t)==="object"||typeof t=="function")?t:sr(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}var tx=function(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 xR(e){var t=nx();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ex(this,o)}}var rx=function(e){FR(r,e);var t=xR(r);function r(n){jR(this,r);var o;return o=t.call(this,n),yr(sr(o),"processKey",[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]),o}return r}(Z),xu=function(e){FR(r,e);var t=xR(r);function r(n){jR(this,r);var o;o=t.call(this,n),yr(sr(o),"processKey",void 0),yr(sr(o),"initiatorMode",void 0),yr(sr(o),"fieldCode",void 0),yr(sr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:go.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:go.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}($e);yr(xu,"Rules",rx);function VR(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 zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ix(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function cp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(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&&fp(e,t)}function cx(e,t){return t&&(fx(t)==="object"||typeof t=="function")?t:VR(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var fx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ax(e){var t=lx();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cx(this,o)}}var go=function(e){ux(r,e);var t=ax(r);function r(n){ox(this,r);var o;return o=t.call(this,n),cp(VR(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return ix(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Se);cp(go,"controlEventKeys",["on_click","on_click_finish"]),cp(go,"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 GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yx(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function vx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function 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&&lp(e,t)}function px(e,t){return t&&(_x(t)==="object"||typeof t=="function")?t:GR(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var _x=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bx(e){var t=hx();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return px(this,o)}}var Ox=function(e){dx(r,e);var t=bx(r);function r(n){sx(this,r);var o;return o=t.call(this,n),vx(GR(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return yx(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ze),HR={Designer:go,Runtime:Ox,Property:xu};function gx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function Px(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function wx(e,t){return t&&(Rx(t)==="object"||typeof t=="function")?t:gx(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var Rx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $x(e){var t=Tx();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wx(this,o)}}var sp=function(e){Px(r,e);var t=$x(r);function r(n){mx(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:mo.controlIcon,o}return r}($e);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ex(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function yp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function Ix(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function Cx(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:qR(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var Nx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ax(e){var t=Bx();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cx(this,o)}}var mo=function(e){Ix(r,e);var t=Ax(r);function r(n){Sx(this,r);var o;return o=t.call(this,n),yp(qR(o),"props",void 0),o.props=new sp(n==null?void 0:n.props),o}return Ex(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Se);yp(mo,"controlEventKeys",["on_click"]),yp(mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kx(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function Dx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(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&&dp(e,t)}function jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:WR(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}var Fx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vx(e){var t=xx();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var zx=function(e){Lx(r,e);var t=Vx(r);function r(n){Mx(this,r);var o;return o=t.call(this,n),Dx(WR(o),"props",void 0),o.props=new sp(n==null?void 0:n.props),o}return kx(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ze),XR={Designer:mo,Runtime:zx,Property:sp};function QR(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 Yx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function Hx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function qx(e,t){return t&&(Ux(t)==="object"||typeof t=="function")?t:QR(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var Ux=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kx(e){var t=Wx();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qx(this,o)}}var _p=function(e){Hx(r,e);var t=Kx(r);function r(n){Gx(this,r);var o,i;o=t.call(this,n),Yx(QR(o),"templateList",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Po.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Po.controlName;var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(a){return new Hd(a)}))!==null&&l!==void 0?l:[new Hd({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}($e);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qx(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(e,r),e}function hp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function Jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function Zx(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:JR(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}var e8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function t8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n8(e){var t=t8();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zx(this,o)}}var Po=function(e){Jx(r,e);var t=n8(r);function r(n){Xx(this,r);var o;return o=t.call(this,n),hp(JR(o),"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return Qx(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Se);hp(Po,"controlEventKeys",["on_click","on_click_finish"]),hp(Po,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o8(e,t,r){return t&&tT(e.prototype,t),r&&tT(e,r),e}function i8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function u8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function c8(e,t){return t&&(f8(t)==="object"||typeof t=="function")?t:eT(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var f8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a8(e){var t=l8();return function(){var n=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c8(this,o)}}var s8=function(e){u8(r,e);var t=a8(r);function r(n){r8(this,r);var o;return o=t.call(this,n),i8(eT(o),"props",void 0),o.props=new _p(n==null?void 0:n.props),o}return o8(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ze),nT={Designer:Po,Runtime:s8,Property:_p};function y8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&gp(e,t)}function p8(e,t){return t&&(_8(t)==="object"||typeof t=="function")?t:y8(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}var _8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b8(e){var t=h8();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p8(this,o)}}var mp=function(e){d8(r,e);var t=b8(r);function r(n){v8(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:wo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:wo.controlIcon,o}return r}($e);function rT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g8(e,t,r){return t&&oT(e.prototype,t),r&&oT(e,r),e}function Pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function P8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:rT(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}var w8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T8(e){var t=R8();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P8(this,o)}}var wo=function(e){m8(r,e);var t=T8(r);function r(n){O8(this,r);var o;return o=t.call(this,n),Pp(rT(o),"props",void 0),o.props=new mp(n==null?void 0:n.props),o}return g8(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Se);Pp(wo,"controlEventKeys",["on_click"]),Pp(wo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function iT(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 uT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S8(e,t,r){return t&&uT(e.prototype,t),r&&uT(e,r),e}function E8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function I8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function C8(e,t){return t&&(N8(t)==="object"||typeof t=="function")?t:iT(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var N8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A8(e){var t=B8();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C8(this,o)}}var M8=function(e){I8(r,e);var t=A8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),E8(iT(o),"props",void 0),o.props=new mp(n==null?void 0:n.props),o}return S8(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ze),cT={Designer:wo,Runtime:M8,Property:mp};function fT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function D8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:fT(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}var L8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F8(e){var t=j8();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D8(this,o)}}var x8=function e(t){lT(this,e),aT(this,"dataCode",void 0),this.dataCode=t.dataCode},$p=function(e){k8(r,e);var t=F8(r);function r(n){lT(this,r);var o,i;o=t.call(this,n),aT(fT(o),"canImportList",void 0);var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ro.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Ro.controlIcon;var l;return o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(a){return new x8(a)}))!==null&&l!==void 0?l:[],o}return r}($e);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z8(e,t,r){return t&&yT(e.prototype,t),r&&yT(e,r),e}function Sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function Y8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:sT(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var H8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U8(e){var t=q8();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y8(this,o)}}var Ro=function(e){G8(r,e);var t=U8(r);function r(n){V8(this,r);var o;return o=t.call(this,n),Sp(sT(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return z8(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Se);Sp(Ro,"controlEventKeys",["on_click","on_click_finish"]),Sp(Ro,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",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 W8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K8(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function X8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function Q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function J8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:vT(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}var Z8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t7(e){var t=e7();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J8(this,o)}}var n7=function(e){Q8(r,e);var t=t7(r);function r(n){W8(this,r);var o;return o=t.call(this,n),X8(vT(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return K8(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ze),pT={Designer:Ro,Runtime:n7,Property:$p};function tc(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function bT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Nt(e,o,r[o])})}return e}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:en(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var o7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OT(e){var t=i7();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r7(this,o)}}var u7=function(e){hT(r,e);var t=OT(r);function r(n){_T(this,r);var o;return o=t.call(this,n),Nt(en(o),"fillPayload",{type:"object",fields:bT({},tc())}),Nt(en(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Nt(en(o),"fillBack",{type:"object",fields:bT({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},tc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(Z),rc=function(e){hT(r,e);var t=OT(r);function r(n){_T(this,r);var o;o=t.call(this,n),Nt(en(o),"fillPayload",void 0),Nt(en(o),"formBind",void 0),Nt(en(o),"fillBack",void 0),Nt(en(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:To.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:To.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new ki(n==null?void 0:n.fillPayload),o.formBind=new MP(n==null?void 0:n.formBind),o.fillBack=new Bv(n==null?void 0:n.fillBack),o}return r}($e);Nt(rc,"Rules",u7);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f7(e,t,r){return t&&mT(e.prototype,t),r&&mT(e,r),e}function Np(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function l7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function a7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:gT(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}var s7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v7(e){var t=y7();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a7(this,o)}}var To=function(e){l7(r,e);var t=v7(r);function r(n){c7(this,r);var o;return o=t.call(this,n),Np(gT(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return f7(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Se);Np(To,"controlEventKeys",["on_click","on_click_finish"]),Np(To,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function PT(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 wT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p7(e,t,r){return t&&wT(e.prototype,t),r&&wT(e,r),e}function _7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function 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&&Ap(e,t)}function b7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:PT(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}var O7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m7(e){var t=g7();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b7(this,o)}}var P7=function(e){h7(r,e);var t=m7(r);function r(n){d7(this,r);var o;return o=t.call(this,n),_7(PT(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return p7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(ze),RT={Designer:To,Runtime:P7,Property:rc};function Bt(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 ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(e)}function $T(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function ST(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ht(e,o,r[o])})}return e}function w7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:Bt(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}var R7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ET(e){var t=T7();return function(){var n=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w7(this,o)}}var $7=function(e){$T(r,e);var t=ET(r);function r(n){TT(this,r);var o;return o=t.call(this,n),ht(Bt(o),"fillPayload",{type:"object",fields:ST({},tc())}),ht(Bt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),ht(Bt(o),"fillBack",{type:"object",fields:ST({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},tc())}),o}return r}(Z),cc=function(e){$T(r,e);var t=ET(r);function r(n){TT(this,r);var o;o=t.call(this,n),ht(Bt(o),"fillPayload",void 0),ht(Bt(o),"listPageBind",void 0),ht(Bt(o),"fillBack",void 0),ht(Bt(o),"showSelectedDetail",void 0),ht(Bt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$o.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:$o.controlIcon,o.fillPayload=new ki(n==null?void 0:n.fillPayload),o.listPageBind=new Ni(n==null?void 0:n.listPageBind),o.fillBack=new Bv(n==null?void 0:n.fillBack);var f;return o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new Mi(n==null?void 0:n.selectedContentConfig),o}return r}($e);ht(cc,"Rules",$7);function IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E7(e,t,r){return t&&CT(e.prototype,t),r&&CT(e,r),e}function kp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function I7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function C7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:IT(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var N7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function B7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A7(e){var t=B7();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C7(this,o)}}var $o=function(e){I7(r,e);var t=A7(r);function r(n){S7(this,r);var o;return o=t.call(this,n),kp(IT(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return E7(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Se);kp($o,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),kp($o,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function NT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k7(e,t,r){return t&&BT(e.prototype,t),r&&BT(e,r),e}function D7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function L7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function j7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:NT(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var F7=function(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 V7(e){var t=x7();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j7(this,o)}}var z7=function(e){L7(r,e);var t=V7(r);function r(n){M7(this,r);var o;return o=t.call(this,n),D7(NT(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return k7(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(ze),AT={Designer:$o,Runtime:z7,Property:cc};function G7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function Fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function Y7(e,t){return t&&(H7(t)==="object"||typeof t=="function")?t:G7(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var H7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vp(e){var t=q7();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y7(this,o)}}var U7=function(e){Fp(r,e);var t=Vp(r);function r(n){return jp(this,r),t.call(this,n)}return r}(Z),W7=function(e){Fp(r,e);var t=Vp(r);function r(n){return jp(this,r),t.call(this,n)}return r}(qt),So=function(e){Fp(r,e);var t=Vp(r);function r(n){return jp(this,r),t.call(this,n)}return r}(ee);MT(So,"Rules",U7),MT(So,"RuntimeRules",W7);function kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X7(e,t,r){return t&&DT(e.prototype,t),r&&DT(e,r),e}function LT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function Q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:kT(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var Z7=function(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 tV(e){var t=eV();return function(){var n=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J7(this,o)}}var jT=function(e){Q7(r,e);var t=tV(r);function r(n){K7(this,r);var o;return o=t.call(this,n),LT(kT(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return X7(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);LT(jT,"setting",[]);function FT(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 xT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rV(e,t,r){return t&&xT(e.prototype,t),r&&xT(e,r),e}function oV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Gp(e,t)}function uV(e,t){return t&&(cV(t)==="object"||typeof t=="function")?t:FT(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var cV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lV(e){var t=fV();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uV(this,o)}}var aV=function(e){iV(r,e);var t=lV(r);function r(n){nV(this,r);var o;return o=t.call(this,n),oV(FT(o),"props",void 0),o.props=new So(n==null?void 0:n.props),o}return rV(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(te),VT={Designer:jT,Runtime:aV,Property:So};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function GT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function sV(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:Ke(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var yV=function(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 YT(e){var t=vV();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sV(this,o)}}var dV=function(e){GT(r,e);var t=YT(r);function r(n){zT(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),Xe(Ke(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Xe(Ke(o),"isHideCaption",{type:"boolean"}),Xe(Ke(o),"labelPosition",{type:"enum",enum:["top","left"]}),Xe(Ke(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),dc=function(e){GT(r,e);var t=YT(r);function r(n){zT(this,r);var o;o=t.call(this,n),Xe(Ke(o),"dashboardKey",void 0),Xe(Ke(o),"caption",void 0),Xe(Ke(o),"isHideCaption",void 0),Xe(Ke(o),"isShowCaptionTip",void 0),Xe(Ke(o),"captionTip",void 0),Xe(Ke(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(ee);Xe(dc,"Rules",dV);function HT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _V(e,t,r){return t&&qT(e.prototype,t),r&&qT(e,r),e}function UT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function hV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function bV(e,t){return t&&(OV(t)==="object"||typeof t=="function")?t:HT(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var OV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mV(e){var t=gV();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bV(this,o)}}var WT=function(e){hV(r,e);var t=mV(r);function r(n){pV(this,r);var o;return o=t.call(this,n),UT(HT(o),"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return _V(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(F);UT(WT,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wV(e,t,r){return t&&XT(e.prototype,t),r&&XT(e,r),e}function RV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function TV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function $V(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:KT(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var SV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IV(e){var t=EV();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $V(this,o)}}var CV=function(e){TV(r,e);var t=IV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),RV(KT(o),"props",void 0),o.props=new dc(n==null?void 0:n.props),o}return wV(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(te),QT={Designer:WT,Runtime:CV,Property:dc};function Eo(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 Io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function ZT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function NV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:Eo(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var BV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e$(e){var t=AV();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NV(this,o)}}var MV=function(e){ZT(r,e);var t=e$(r);function r(n){JT(this,r);var o;return o=t.call(this,n),Io(Eo(o),"showType",{type:"enum",enum:["select","tabs"]}),Io(Eo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Z),bc=function(e){ZT(r,e);var t=e$(r);function r(n){JT(this,r);var o,i;o=t.call(this,n),Io(Eo(o),"showType",void 0),Io(Eo(o),"viewList",void 0);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new JP(l)}))!==null&&f!==void 0?f:[],o}return r}(ee);Io(bc,"Rules",MV);function t$(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 n$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DV(e,t,r){return t&&n$(e.prototype,t),r&&n$(e,r),e}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function LV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function jV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:t$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var FV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VV(e){var t=xV();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jV(this,o)}}var o$=function(e){LV(r,e);var t=VV(r);function r(n){kV(this,r);var o;return o=t.call(this,n),r$(t$(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return DV(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(F);r$(o$,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function i$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GV(e,t,r){return t&&u$(e.prototype,t),r&&u$(e,r),e}function YV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function HV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:i$(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var UV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KV(e){var t=WV();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var XV=function(e){HV(r,e);var t=KV(r);function r(n){zV(this,r);var o;return o=t.call(this,n),YV(i$(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return GV(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(te),c$={Designer:o$,Runtime:XV,Property:bc};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function l$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function QV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:Ne(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var JV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a$(e){var t=ZV();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QV(this,o)}}var ez=function(e){l$(r,e);var t=a$(r);function r(n){f$(this,r);var o;return o=t.call(this,n),Be(Ne(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Be(Ne(o),"isHideCaption",{type:"boolean"}),Be(Ne(o),"labelPosition",{type:"enum",enum:["top","left"]}),Be(Ne(o),"ocrType",{type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")}),Be(Ne(o),"fillList",{type:"array",validator:function(c,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Be(Ne(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),Pc=function(e){l$(r,e);var t=a$(r);function r(n){f$(this,r);var o,i;o=t.call(this,n),Be(Ne(o),"caption",void 0),Be(Ne(o),"isHideCaption",void 0),Be(Ne(o),"isShowCaptionTip",void 0),Be(Ne(o),"captionTip",void 0),Be(Ne(o),"labelPosition",void 0),Be(Ne(o),"ocrType",void 0),Be(Ne(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:vr.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:vr.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:vr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(p){return new Te(p)}))!==null&&O!==void 0?O:[],o}return r}($e);Be(Pc,"Rules",ez);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nz(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(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&&Jp(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:s$(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}var iz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cz(e){var t=uz();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oz(this,o)}}var vr=function(e){rz(r,e);var t=cz(r);function r(n){tz(this,r);var o;return o=t.call(this,n),Qp(s$(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return nz(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Se);Qp(vr,"controlEventKeys",["on_click","on_click_finish"]),Qp(vr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function v$(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 d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lz(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function az(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function yz(e,t){return t&&(vz(t)==="object"||typeof t=="function")?t:v$(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}var vz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pz(e){var t=dz();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yz(this,o)}}var _z=function(e){sz(r,e);var t=pz(r);function r(n){fz(this,r);var o;return o=t.call(this,n),az(v$(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return lz(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ze),p$={Designer:vr,Runtime:_z,Property:Pc};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(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&&e_(e,t)}function hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:Ae(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var bz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b$(e){var t=Oz();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hz(this,o)}}var gz=function(e){h$(r,e);var t=b$(r);function r(n){_$(this,r);var o;return o=t.call(this,n),Me(Ae(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Me(Ae(o),"isHideCaption",{type:"boolean"}),Me(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),Me(Ae(o),"invoiceCheck",{type:"boolean"}),Me(Ae(o),"fillList",{type:"array",validator:function(c,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Me(Ae(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),$c=function(e){h$(r,e);var t=b$(r);function r(n){_$(this,r);var o,i;o=t.call(this,n),Me(Ae(o),"caption",void 0),Me(Ae(o),"isHideCaption",void 0),Me(Ae(o),"isShowCaptionTip",void 0),Me(Ae(o),"captionTip",void 0),Me(Ae(o),"labelPosition",void 0),Me(Ae(o),"invoiceCheck",void 0),Me(Ae(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:dr.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:dr.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:dr.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(p){return new Te(p)}))!==null&&O!==void 0?O:[],o}return r}($e);Me($c,"Rules",gz);function O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pz(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n_(e,t)}function Rz(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:O$(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var Tz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sz(e){var t=$z();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rz(this,o)}}var dr=function(e){wz(r,e);var t=Sz(r);function r(n){mz(this,r);var o;return o=t.call(this,n),t_(O$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Pz(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Se);t_(dr,"controlEventKeys",["on_click","on_click_finish"]),t_(dr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function m$(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 P$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iz(e,t,r){return t&&P$(e.prototype,t),r&&P$(e,r),e}function Cz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function Nz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r_(e,t)}function Bz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:m$(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var Az=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kz(e){var t=Mz();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bz(this,o)}}var Dz=function(e){Nz(r,e);var t=kz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),Cz(m$(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Iz(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ze),w$={Designer:dr,Runtime:Dz,Property:$c};function Ic(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function T$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:Ic(e)}function o_(e,t){return o_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o_(e,t)}var jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $$(e){var t=Fz();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lz(this,o)}}var xz=function(e){T$(r,e);var t=$$(r);function r(){R$(this,r);var n;return n=t.apply(this,arguments),Cc(Ic(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Z),Bc=function(e){T$(r,e);var t=$$(r);function r(n){R$(this,r);var o,i;o=t.call(this,n),Cc(Ic(o),"printTemplates",void 0),Cc(Ic(o),"autoSelectTemplate",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Co.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Co.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new yR(s)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}($e);Cc(Bc,"Rules",xz);function S$(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 E$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zz(e,t,r){return t&&E$(e.prototype,t),r&&E$(e,r),e}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(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&&u_(e,t)}function Yz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:S$(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var Hz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uz(e){var t=qz();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yz(this,o)}}var Co=function(e){Gz(r,e);var t=Uz(r);function r(n){Vz(this,r);var o;return o=t.call(this,n),i_(S$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return zz(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Se);i_(Co,"controlEventKeys",["on_click","on_click_finish"]),i_(Co,"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 I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kz(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function Xz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(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&&c_(e,t)}function Jz(e,t){return t&&(Zz(t)==="object"||typeof t=="function")?t:I$(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var Zz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t9(e){var t=e9();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jz(this,o)}}var n9=function(e){Qz(r,e);var t=t9(r);function r(n){Wz(this,r);var o;return o=t.call(this,n),Xz(I$(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Kz(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ze),N$={Designer:Co,Runtime:n9,Property:Bc};function r9(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 kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function i9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:r9(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var c9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l9(e){var t=f9();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u9(this,o)}}var l_=function(e){i9(r,e);var t=l9(r);function r(n){o9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:No.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:No.controlIcon,o}return r}($e);function B$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s9(e,t,r){return t&&A$(e.prototype,t),r&&A$(e,r),e}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function v9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:B$(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var d9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _9(e){var t=p9();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v9(this,o)}}var No=function(e){y9(r,e);var t=_9(r);function r(n){a9(this,r);var o;return o=t.call(this,n),a_(B$(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return s9(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Se);a_(No,"controlEventKeys",["on_click"]),a_(No,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b9(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function O9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function g9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function m9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:M$(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var P9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R9(e){var t=w9();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m9(this,o)}}var T9=function(e){g9(r,e);var t=R9(r);function r(n){h9(this,r);var o;return o=t.call(this,n),O9(M$(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return b9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ze),D$={Designer:No,Runtime:T9,Property:l_};function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function j$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function $9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:Ee(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var S9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F$(e){var t=E9();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $9(this,o)}}var I9=function(e){j$(r,e);var t=F$(r);function r(n){L$(this,r);var o;return o=t.call(this,n),Ie(Ee(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(Z),Fc=function(e){j$(r,e);var t=F$(r);function r(n){L$(this,r);var o;o=t.call(this,n),Ie(Ee(o),"content",void 0),Ie(Ee(o),"code",void 0),Ie(Ee(o),"command",void 0),Ie(Ee(o),"color",void 0),Ie(Ee(o),"icon",void 0),Ie(Ee(o),"formKey",void 0),Ie(Ee(o),"openType",void 0),Ie(Ee(o),"needConfirm",void 0),Ie(Ee(o),"confirmMessage",void 0),Ie(Ee(o),"options",void 0),Ie(Ee(o),"defaultState",void 0),Ie(Ee(o),"priorityProcess",void 0),Ie(Ee(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var c;o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(ee);Ie(Fc,"Rules",I9);function x$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N9(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function d_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function B9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p_(e,t)}function A9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:x$(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var M9=function(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 D9(e){var t=k9();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A9(this,o)}}var Vc=function(e){B9(r,e);var t=D9(r);function r(n){C9(this,r);var o;return o=t.call(this,n),d_(x$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return N9(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(F);d_(Vc,"controlEventKeys",["on_click"]),d_(Vc,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function z$(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 G$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j9(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function F9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function x9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function V9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:z$(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var z9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y9(e){var t=G9();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V9(this,o)}}var H9=function(e){x9(r,e);var t=Y9(r);function r(n){L9(this,r);var o;return o=t.call(this,n),F9(z$(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return j9(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(te),Bo={Designer:Vc,Runtime:H9,Property:Fc};function At(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function U9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:At(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var K9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q9(e){var t=X9();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W9(this,o)}}var b_=function(e){U9(r,e);var t=Q9(r);function r(n){q9(this,r);var o;o=t.call(this,n),tn(At(o),"content",void 0),tn(At(o),"buttonType",void 0),tn(At(o),"showType",void 0),tn(At(o),"color",void 0),tn(At(o),"icon",void 0),tn(At(o),"defaultState",void 0),tn(At(o),"command",void 0),tn(At(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ao.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Ao.controlIcon;var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(ee);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z9(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function O_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(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&&g_(e,t)}function tG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:Y$(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var nG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oG(e){var t=rG();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tG(this,o)}}var Ao=function(e){eG(r,e);var t=oG(r);function r(n){J9(this,r);var o;return o=t.call(this,n),O_(Y$(o),"props",void 0),o.props=new b_(n==null?void 0:n.props),o}return Z9(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(F);O_(Ao,"controlEventKeys",["on_click"]),O_(Ao,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function q$(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 U$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uG(e,t,r){return t&&U$(e.prototype,t),r&&U$(e,r),e}function cG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function fG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:q$(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var aG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yG(e){var t=sG();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var vG=function(e){fG(r,e);var t=yG(r);function r(n){iG(this,r);var o;return o=t.call(this,n),cG(q$(o),"props",void 0),o.props=new b_(n==null?void 0:n.props),o}return uG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(te),W$={Designer:Ao,Runtime:vG,Property:b_},dG=Object.freeze({__proto__:null,Text:Jw,Link:rR,Button:fR,Divider:mR,Title:IR,CreateFormListButton:LR,BatchSubmissionListButton:HR,SubmissionRecordListButton:XR,ExportListButton:nT,ExportRecordListButton:cT,ImportRecordListButton:pT,FormSelectButton:RT,ListSelectButton:AT,Pagination:VT,Dashboard:QT,ListViewSelect:c$,TextOcrButton:p$,InvoiceCheckButton:w$,BatchPrintListButton:N$,BatchPrintRecordListButton:D$,OperationButton:Bo,BatchDeleteButton:W$});function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function w_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R_(e,t)}function pG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:bt(e)}function R_(e,t){return R_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R_(e,t)}var _G=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T_(e){var t=hG();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pG(this,o)}}var bG=function(e){w_(r,e);var t=T_(r);function r(n){P_(this,r);var o;return o=t.call(this,n),ot(bt(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ot(bt(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ot(bt(o),"defaultValue",[{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=bo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),OG=function(e){w_(r,e);var t=T_(r);function r(n){P_(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:bo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),pr=function(e){w_(r,e);var t=T_(r);function r(n){P_(this,r);var o;o=t.call(this,n),ot(bt(o),"maxLength",void 0),ot(bt(o),"minLength",void 0),ot(bt(o),"regularRules",void 0),ot(bt(o),"defaultValue",void 0),ot(bt(o),"encrypted",void 0),ot(bt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0,o.regularRules=new Av(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_r.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(B);ot(pr,"Rules",bG),ot(pr,"RuntimeRules",OG);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function Uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function PG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$_(e,t)}function wG(e,t){return t&&(RG(t)==="object"||typeof t=="function")?t:K$(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var RG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $G(e){var t=TG();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wG(this,o)}}var _r=function(e){PG(r,e);var t=$G(r);function r(n){gG(this,r);var o;return o=t.call(this,n),Uc(K$(o),"props",void 0),o.props=new pr(n==null?void 0:n.props),o}return mG(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(A);Uc(_r,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Uc(_r,"controlFieldType",u.FieldTypes.VARCHAR),Uc(_r,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function Q$(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 J$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EG(e,t,r){return t&&J$(e.prototype,t),r&&J$(e,r),e}function Z$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&S_(e,t)}function CG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:Q$(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var NG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AG(e){var t=BG();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CG(this,o)}}var eS=function(e){IG(r,e);var t=AG(r);function r(n){SG(this,r);var o;return o=t.call(this,n),Z$(Q$(o),"props",void 0),o.props=new pr(n==null?void 0:n.props),o}return EG(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(M);Z$(eS,"controlFieldType",u.FieldTypes.VARCHAR);var tS={Designer:_r,Runtime:eS,Property:pr};function Oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function I_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function MG(e,t){return t&&(kG(t)==="object"||typeof t=="function")?t:Oe(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var kG=function(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 N_(e){var t=DG();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MG(this,o)}}var LG=function(e){I_(r,e);var t=N_(r);function r(n){E_(this,r);var o;o=t.call(this,n),se(Oe(o),"limitMax",{type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var c=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=c(n.limitMin),o}return r}(Tn),jG=function(e){I_(r,e);var t=N_(r);function r(n){E_(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(x),Mo=function(e){I_(r,e);var t=N_(r);function r(n){E_(this,r);var o;o=t.call(this,n),se(Oe(o),"checkboxMode",void 0),se(Oe(o),"options",void 0),se(Oe(o),"optionsOrder",void 0),se(Oe(o),"limitMax",void 0),se(Oe(o),"limitMin",void 0),se(Oe(o),"otherOption",void 0),se(Oe(o),"optionConfig",void 0),se(Oe(o),"optionsFormat",void 0),se(Oe(o),"defaultShowOptions",void 0),se(Oe(o),"datasourceBind",void 0),se(Oe(o),"multistageFilling",void 0),se(Oe(o),"interreaction",void 0),se(Oe(o),"defaultValue",void 0),se(Oe(o),"openMultistageFilling",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.checkboxMode=(c=n==null?void 0:n.checkboxMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ko.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var p;o.optionsFormat=(p=n==null?void 0:n.optionsFormat)!==null&&p!==void 0?p:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Te(m))})),o}return r}(B);se(Mo,"Rules",LG),se(Mo,"RuntimeRules",jG);function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xG(e,t,r){return t&&rS(e.prototype,t),r&&rS(e,r),e}function Qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&B_(e,t)}function zG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:nS(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var GG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HG(e){var t=YG();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zG(this,o)}}var ko=function(e){VG(r,e);var t=HG(r);function r(n){FG(this,r);var o;return o=t.call(this,n),Qc(nS(o),"props",void 0),o.props=new Mo(n==null?void 0:n.props),o}return xG(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);Qc(ko,"controlEventKeys",["on_change","on_click"]),Qc(ko,"controlFieldType",u.FieldTypes.ARRAY),Qc(ko,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function oS(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 iS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function uS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function 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&&A_(e,t)}function KG(e,t){return t&&(XG(t)==="object"||typeof t=="function")?t:oS(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var XG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JG(e){var t=QG();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KG(this,o)}}var cS=function(e){WG(r,e);var t=JG(r);function r(n){qG(this,r);var o;return o=t.call(this,n),uS(oS(o),"props",void 0),o.props=new Mo(n==null?void 0:n.props),o}return UG(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(M);uS(cS,"controlFieldType",u.FieldTypes.ARRAY);var fS={Designer:ko,Runtime:cS,Property:Mo};function Ge(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 Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(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&&M_(e,t)}function ZG(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:Ge(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var eY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sS(e){var t=tY();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZG(this,o)}}var nY=function(e){aS(r,e);var t=sS(r);function r(n){return lS(this,r),t.call(this,n)}return r}(Tn),tf=function(e){aS(r,e);var t=sS(r);function r(n){lS(this,r);var o;o=t.call(this,n),Ye(Ge(o),"radioMode",void 0),Ye(Ge(o),"options",void 0),Ye(Ge(o),"optionConfig",void 0),Ye(Ge(o),"optionsFormat",void 0),Ye(Ge(o),"defaultShowOptions",void 0),Ye(Ge(o),"otherOption",void 0),Ye(Ge(o),"optionsOrder",void 0),Ye(Ge(o),"datasourceBind",void 0),Ye(Ge(o),"multistageFilling",void 0),Ye(Ge(o),"interreaction",void 0),Ye(Ge(o),"defaultValue",void 0),Ye(Ge(o),"openMultistageFilling",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.radioMode=(c=n==null?void 0:n.radioMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Do.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new Te(g))})),o}return r}(B);Ye(tf,"Rules",nY);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oY(e,t,r){return t&&vS(e.prototype,t),r&&vS(e,r),e}function nf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function iY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function uY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:yS(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var cY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lY(e){var t=fY();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uY(this,o)}}var Do=function(e){iY(r,e);var t=lY(r);function r(n){rY(this,r);var o;return o=t.call(this,n),nf(yS(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return oY(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);nf(Do,"controlEventKeys",["on_change","on_click"]),nf(Do,"controlFieldType",u.FieldTypes.VARCHAR),nf(Do,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function dS(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 pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sY(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function _S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function yY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D_(e,t)}function vY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:dS(e)}function D_(e,t){return D_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D_(e,t)}var dY=function(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 n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vY(this,o)}}var hS=function(e){yY(r,e);var t=_Y(r);function r(n){aY(this,r);var o;return o=t.call(this,n),_S(dS(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return sY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(M);_S(hS,"controlFieldType",u.FieldTypes.VARCHAR);var bS={Designer:Do,Runtime:hS,Property:tf};function Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function j_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:Ce(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var bY=function(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 x_(e){var t=OY();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hY(this,o)}}var gY=function(e){j_(r,e);var t=x_(r);function r(n){L_(this,r);var o;o=t.call(this,n),ge(Ce(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),ge(Ce(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=c,o.defaultValue[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=bo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),mY=function(e){j_(r,e);var t=x_(r);function r(n){L_(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,c=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:c,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:bo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Lo=function(e){j_(r,e);var t=x_(r);function r(n){L_(this,r);var o;o=t.call(this,n),ge(Ce(o),"rangeMin",void 0),ge(Ce(o),"rangeMax",void 0),ge(Ce(o),"numberType",void 0),ge(Ce(o),"percentageFormat",void 0),ge(Ce(o),"micrometer",void 0),ge(Ce(o),"precision",void 0),ge(Ce(o),"showUpperCase",void 0),ge(Ce(o),"isShowUnit",void 0),ge(Ce(o),"unitPosition",void 0),ge(Ce(o),"unit",void 0),ge(Ce(o),"defaultValue",void 0),ge(Ce(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.numberType=(f=n==null?void 0:n.numberType)!==null&&f!==void 0?f:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var v;o.isShowUnit=(v=n==null?void 0:n.isShowUnit)!==null&&v!==void 0?v:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:jo.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new Av(n==null?void 0:n.regularRules),o}return r}(B);ge(Lo,"Rules",gY),ge(Lo,"RuntimeRules",mY);function OS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wY(e,t,r){return t&&gS(e.prototype,t),r&&gS(e,r),e}function cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ff=Reflect.get:ff=function(o,i,c){var f=$Y(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ff(e,t,r||e)}function hr(e){return hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hr(e)}function RY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V_(e,t)}function TY(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:OS(e)}function V_(e,t){return V_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V_(e,t)}function $Y(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hr(e),e!==null););return e}var SY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IY(e){var t=EY();return function(){var n=hr(e),o;if(t){var i=hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var jo=function(e){RY(r,e);var t=IY(r);function r(n){PY(this,r);var o;return o=t.call(this,n),cf(OS(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return wY(r,[{key:"toDataBindModel",value:function(o){var i=ff(hr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(A);cf(jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),cf(jo,"controlFieldType",u.FieldTypes.DECIMAL),cf(jo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_UNIT,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function mS(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 PS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NY(e,t,r){return t&&PS(e.prototype,t),r&&PS(e,r),e}function wS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function BY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function AY(e,t){return t&&(MY(t)==="object"||typeof t=="function")?t:mS(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var MY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DY(e){var t=kY();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AY(this,o)}}var RS=function(e){BY(r,e);var t=DY(r);function r(n){CY(this,r);var o;return o=t.call(this,n),wS(mS(o),"props",void 0),o.props=new Lo(n==null?void 0:n.props),o}return NY(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(M);wS(RS,"controlFieldType",u.FieldTypes.DECIMAL);var TS={Designer:jo,Runtime:RS,Property:Lo};function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function jY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G_(e,t)}function FY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:Mt(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G_(e,t)}var xY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zY(e){var t=VY();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FY(this,o)}}var Y_=function(e){jY(r,e);var t=zY(r);function r(n){LY(this,r);var o,i;o=t.call(this,n),nn(Mt(o),"dateType",void 0),nn(Mt(o),"dateFormat",void 0),nn(Mt(o),"commonTimeSetting",void 0),nn(Mt(o),"setValueType",void 0),nn(Mt(o),"defaultValue",void 0),nn(Mt(o),"limitDateList",void 0),nn(Mt(o),"allowDateRange",void 0),nn(Mt(o),"filterWeekend",void 0);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:yf.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u65E5\u671F";var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(g){return new Ru(g)}))!==null&&b!==void 0?b:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(B);function $S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YY(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function H_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sf=Reflect.get:sf=function(o,i,c){var f=UY(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},sf(e,t,r||e)}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function HY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function qY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:$S(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}function UY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}var WY=function(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 n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qY(this,o)}}var yf=function(e){HY(r,e);var t=XY(r);function r(n){GY(this,r);var o;return o=t.call(this,n),H_($S(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return YY(r,[{key:"toDataBindModel",value:function(o){var i=sf(br(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);H_(yf,"controlFieldType",u.FieldTypes.TIMESTAMP),H_(yf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JY(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),e}function CS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(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&&U_(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:ES(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var tH=function(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 n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eH(this,o)}}var NS=function(e){ZY(r,e);var t=rH(r);function r(n){QY(this,r);var o;return o=t.call(this,n),CS(ES(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return JY(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(M);CS(NS,"controlFieldType",u.FieldTypes.TIMESTAMP);var BS={Designer:yf,Runtime:NS,Property:Y_};function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function MS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:Qe(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var iH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kS(e){var t=uH();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oH(this,o)}}var cH=function(e){MS(r,e);var t=kS(r);function r(n){AS(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(x),pf=function(e){MS(r,e);var t=kS(r);function r(n){AS(this,r);var o,i;o=t.call(this,n),Je(Qe(o),"dataBind",void 0),Je(Qe(o),"rangeMin",void 0),Je(Qe(o),"rangeMax",void 0),Je(Qe(o),"placeholderStart",void 0),Je(Qe(o),"placeholderEnd",void 0),Je(Qe(o),"dateFormat",void 0),Je(Qe(o),"commonTimeSetting",void 0),Je(Qe(o),"dateType",void 0),Je(Qe(o),"setValueType",void 0),Je(Qe(o),"defaultValue",void 0),Je(Qe(o),"limitDateList",void 0),o.dataBind=new UP(n==null?void 0:n.dataBind),o.defaultValue=new WP(n==null?void 0:n.defaultValue);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:hf.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(g){return new Ru(g)}))!==null&&p!==void 0?p:[],o}return r}(B);Je(pf,"RuntimeRules",cH);function DS(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 LS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lH(e,t,r){return t&&LS(e.prototype,t),r&&LS(e,r),e}function K_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_f=Reflect.get:_f=function(o,i,c){var f=yH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},_f(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(e)}function aH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function sH(e,t){return t&&(vH(t)==="object"||typeof t=="function")?t:DS(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}function yH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}var vH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pH(e){var t=dH();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sH(this,o)}}var hf=function(e){aH(r,e);var t=pH(r);function r(n){fH(this,r);var o;return o=t.call(this,n),K_(DS(o),"props",void 0),o.props=new pf(n==null?void 0:n.props),o}return lH(r,[{key:"toDataBindModel",value:function(o){var i=_f(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);K_(hf,"controlFieldType",u.FieldTypes.TIMESCOPE),K_(hf,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function jS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hH(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function xS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(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&&Q_(e,t)}function OH(e,t){return t&&(gH(t)==="object"||typeof t=="function")?t:jS(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var gH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=mH();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OH(this,o)}}var VS=function(e){bH(r,e);var t=PH(r);function r(n){_H(this,r);var o;return o=t.call(this,n),xS(jS(o),"props",void 0),o.props=new pf(n==null?void 0:n.props),o}return hH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(M);xS(VS,"controlFieldType",u.FieldTypes.TIMESCOPE);var zS={Designer:hf,Runtime:VS,Property:pf};function rn(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 kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function Z_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function wH(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:rn(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var RH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function th(e){var t=TH();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wH(this,o)}}var $H=function(e){Z_(r,e);var t=th(r);function r(n){J_(this,r);var o;return o=t.call(this,n),kt(rn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),kt(rn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),kt(rn(o),"defaultValue",{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(le),SH=function(e){Z_(r,e);var t=th(r);function r(n){J_(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(x),Fo=function(e){Z_(r,e);var t=th(r);function r(n){J_(this,r);var o;o=t.call(this,n),kt(rn(o),"maxLength",void 0),kt(rn(o),"minLength",void 0),kt(rn(o),"defaultValue",void 0),kt(rn(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:xo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(B);kt(Fo,"Rules",$H),kt(Fo,"RuntimeRules",SH);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&YS(e.prototype,t),r&&YS(e,r),e}function gf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function CH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function NH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:GS(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var BH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=AH();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NH(this,o)}}var xo=function(e){CH(r,e);var t=MH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),gf(GS(o),"props",void 0),o.props=new Fo(n==null?void 0:n.props),o}return IH(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(A);gf(xo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),gf(xo,"controlFieldType",u.FieldTypes.TEXT),gf(xo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function HS(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 qS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DH(e,t,r){return t&&qS(e.prototype,t),r&&qS(e,r),e}function US(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function jH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:HS(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var FH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VH(e){var t=xH();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jH(this,o)}}var WS=function(e){LH(r,e);var t=VH(r);function r(n){kH(this,r);var o;return o=t.call(this,n),US(HS(o),"props",void 0),o.props=new Fo(n==null?void 0:n.props),o}return DH(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(M);US(WS,"controlFieldType",u.FieldTypes.TEXT);var KS={Designer:xo,Runtime:WS,Property:Fo};function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function zH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:Sn(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}var GH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ch(e){var t=YH();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zH(this,o)}}var HH=function(e){ih(r,e);var t=ch(r);function r(n){oh(this,r);var o;return o=t.call(this,n),on(Sn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),on(Sn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),on(Sn(o),"defaultValue",{type:"string",max:200,min:0,message:h.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(le),qH=function(e){ih(r,e);var t=ch(r);function r(n){oh(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(x),Vo=function(e){ih(r,e);var t=ch(r);function r(n){oh(this,r);var o;o=t.call(this,n),on(Sn(o),"maxLength",void 0),on(Sn(o),"minLength",void 0),on(Sn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:zo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(B);on(Vo,"Rules",HH),on(Vo,"RuntimeRules",qH);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WH(e,t,r){return t&&QS(e.prototype,t),r&&QS(e,r),e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function 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&&fh(e,t)}function XH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:XS(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}var QH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZH(e){var t=JH();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XH(this,o)}}var zo=function(e){KH(r,e);var t=ZH(r);function r(n){UH(this,r);var o;return o=t.call(this,n),Rf(XS(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return WH(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(A);Rf(zo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Rf(zo,"controlFieldType",u.FieldTypes.TEXT),Rf(zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function JS(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 ZS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tq(e,t,r){return t&&ZS(e.prototype,t),r&&ZS(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(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&&lh(e,t)}function rq(e,t){return t&&(oq(t)==="object"||typeof t=="function")?t:JS(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var oq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uq(e){var t=iq();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rq(this,o)}}var tE=function(e){nq(r,e);var t=uq(r);function r(n){eq(this,r);var o;return o=t.call(this,n),eE(JS(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return tq(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(M);eE(tE,"controlFieldType",u.FieldTypes.TEXT);var nE={Designer:zo,Runtime:tE,Property:Vo};function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function oE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function cq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:Ze(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var fq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iE(e){var t=lq();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cq(this,o)}}var aq=function(e){oE(r,e);var t=iE(r);function r(n){return rE(this,r),t.call(this,n)}return r}(Tn),Ef=function(e){oE(r,e);var t=iE(r);function r(n){rE(this,r);var o;o=t.call(this,n),et(Ze(o),"options",void 0),et(Ze(o),"defaultShowOptions",void 0),et(Ze(o),"optionConfig",void 0),et(Ze(o),"defaultValue",void 0),et(Ze(o),"datasourceBind",void 0),et(Ze(o),"multistageFilling",void 0),et(Ze(o),"allowCopyOptions",void 0),et(Ze(o),"openMultistageFilling",void 0),et(Ze(o),"viewFormModelType",void 0),et(Ze(o),"canViewForm",void 0),et(Ze(o),"formBind",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Cf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new Te(p))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new wn(n==null?void 0:n.formBind),o}return r}(B);et(Ef,"Rules",aq);function uE(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 cE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yq(e,t,r){return t&&cE(e.prototype,t),r&&cE(e,r),e}function sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function 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&&yh(e,t)}function dq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:uE(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}var pq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hq(e){var t=_q();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dq(this,o)}}var Cf=function(e){vq(r,e);var t=hq(r);function r(n){sq(this,r);var o;return o=t.call(this,n),sh(uE(o),"props",void 0),o.props=new Ef(n==null?void 0:n.props),o}return yq(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(A);sh(Cf,"controlFieldType",u.FieldTypes.VARCHAR),sh(Cf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}]);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&lE(e.prototype,t),r&&lE(e,r),e}function aE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&vh(e,t)}function mq(e,t){return t&&(Pq(t)==="object"||typeof t=="function")?t:fE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var Pq=function(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 Rq(e){var t=wq();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mq(this,o)}}var sE=function(e){gq(r,e);var t=Rq(r);function r(n){bq(this,r);var o;return o=t.call(this,n),aE(fE(o),"props",void 0),o.props=new Ef(n==null?void 0:n.props),o}return Oq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(M);aE(sE,"controlFieldType",u.FieldTypes.VARCHAR);var yE={Designer:Cf,Runtime:sE,Property:Ef};function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function Tq(e,t){return t&&($q(t)==="object"||typeof t=="function")?t:it(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var $q=function(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 hh(e){var t=Sq();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tq(this,o)}}var Eq=function(e){ph(r,e);var t=hh(r);function r(n){return dh(this,r),t.call(this,n)}return r}(Tn),Iq=function(e){ph(r,e);var t=hh(r);function r(n){dh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),Go=function(e){ph(r,e);var t=hh(r);function r(n){dh(this,r);var o;o=t.call(this,n),tt(it(o),"options",void 0),tt(it(o),"defaultShowOptions",void 0),tt(it(o),"optionConfig",void 0),tt(it(o),"defaultValue",void 0),tt(it(o),"datasourceBind",void 0),tt(it(o),"multistageFilling",void 0),tt(it(o),"openMultistageFilling",void 0),tt(it(o),"viewFormModelType",void 0),tt(it(o),"canViewForm",void 0),tt(it(o),"formBind",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Mf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Te(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new wn(n==null?void 0:n.formBind),o}return r}(B);tt(Go,"Rules",Eq),tt(Go,"RuntimeRules",Iq);function vE(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 dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nq(e,t,r){return t&&dE(e.prototype,t),r&&dE(e,r),e}function bh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Bq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function Aq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:vE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var Mq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dq(e){var t=kq();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aq(this,o)}}var Mf=function(e){Bq(r,e);var t=Dq(r);function r(n){Cq(this,r);var o;return o=t.call(this,n),bh(vE(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return Nq(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(A);bh(Mf,"controlFieldType",u.FieldTypes.ARRAY),bh(Mf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",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 Lq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jq(e,t,r){return t&&_E(e.prototype,t),r&&_E(e,r),e}function hE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function Fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:pE(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var Vq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=zq();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var bE=function(e){Fq(r,e);var t=Gq(r);function r(n){Lq(this,r);var o;return o=t.call(this,n),hE(pE(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return jq(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(M);hE(bE,"controlFieldType",u.FieldTypes.ARRAY);var OE={Designer:Mf,Runtime:bE,Property:Go};function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function mE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:Dt(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}var Hq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PE(e){var t=qq();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yq(this,o)}}var Uq=function(e){mE(r,e);var t=PE(r);function r(n){gE(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),Lf=function(e){mE(r,e);var t=PE(r);function r(n){gE(this,r);var o;o=t.call(this,n),Lt(Dt(o),"showType",void 0),Lt(Dt(o),"range",void 0),Lt(Dt(o),"rangeOptions",void 0),Lt(Dt(o),"multiple",void 0),Lt(Dt(o),"defaultValueType",void 0),Lt(Dt(o),"defaultValue",void 0),Lt(Dt(o),"multistageFilling",void 0),Lt(Dt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ff.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Te(O))})),o}return r}(B);Lt(Lf,"RuntimeRules",Uq);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kq(e,t,r){return t&&RE(e.prototype,t),r&&RE(e,r),e}function Ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function Xq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function Qq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:wE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var Jq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eU(e){var t=Zq();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qq(this,o)}}var Ff=function(e){Xq(r,e);var t=eU(r);function r(n){Wq(this,r);var o;return o=t.call(this,n),Ph(wE(o),"props",void 0),o.props=new Lf(n==null?void 0:n.props),o}return Kq(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);Ph(Ff,"controlFieldType",u.FieldTypes.EMPLOYEES),Ph(Ff,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function TE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nU(e,t,r){return t&&$E(e.prototype,t),r&&$E(e,r),e}function SE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function rU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oU(e,t){return t&&(iU(t)==="object"||typeof t=="function")?t:TE(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var iU=function(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 cU(e){var t=uU();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oU(this,o)}}var EE=function(e){rU(r,e);var t=cU(r);function r(n){tU(this,r);var o;return o=t.call(this,n),SE(TE(o),"props",void 0),o.props=new Lf(n==null?void 0:n.props),o}return nU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(M);SE(EE,"controlFieldType",u.FieldTypes.EMPLOYEES);var IE={Designer:Ff,Runtime:EE,Property:Lf};function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(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&&Sh(e,t)}function fU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:un(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var lU=function(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 Eh(e){var t=aU();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fU(this,o)}}var sU=10485760,yU=104857600,vU=1048576e3,dU=function(e){$h(r,e);var t=Eh(r);function r(n){Th(this,r);var o;return o=t.call(this,n),jt(un(o),"maxSize",{type:"number",min:0,max:vU,message:h.getMessage("attachmentMaxSize")}),o}return r}(le),pU=function(e){$h(r,e);var t=Eh(r);function r(n){Th(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(x),gr=function(e){$h(r,e);var t=Eh(r);function r(n){Th(this,r);var o;o=t.call(this,n),jt(un(o),"defaultValue",void 0),jt(un(o),"showType",void 0),jt(un(o),"attachmentAccept",void 0),jt(un(o),"maxLimit",void 0),jt(un(o),"minLimit",void 0),jt(un(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"default";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var a;o.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var s;o.maxSize=(s=n==null?void 0:n.maxSize)!==null&&s!==void 0?s:yU;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:mr.controlName;var v;return o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(B);jt(gr,"Rules",dU),jt(gr,"RuntimeRules",pU);function CE(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 NE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hU(e,t,r){return t&&NE(e.prototype,t),r&&NE(e,r),e}function zf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function bU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OU(e,t){return t&&(gU(t)==="object"||typeof t=="function")?t:CE(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var gU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PU(e){var t=mU();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OU(this,o)}}var mr=function(e){bU(r,e);var t=PU(r);function r(n){_U(this,r);var o;return o=t.call(this,n),zf(CE(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return hU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);zf(mr,"controlEventKeys",["on_change"]),zf(mr,"controlFieldType",u.FieldTypes.FILE),zf(mr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RU(e,t,r){return t&&AE(e.prototype,t),r&&AE(e,r),e}function ME(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(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 $U(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:BE(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var SU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IU(e){var t=EU();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $U(this,o)}}var Nh=function(e){TU(r,e);var t=IU(r);function r(n){wU(this,r);var o;return o=t.call(this,n),ME(BE(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return RU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(M);ME(Nh,"controlFieldType",u.FieldTypes.FILE);var kE={Designer:mr,Runtime:Nh,Property:gr};function CU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BU(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function LE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function AU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 MU(e,t){return t&&(kU(t)==="object"||typeof t=="function")?t:CU(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var kU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LU(e){var t=DU();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MU(this,o)}}var Ah=function(e){AU(r,e);var t=LU(r);function r(n){NU(this,r);var o,i,c;o=t.call(this,n),o.props.showType="image";var f;o.props.caption=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:r.controlName;var l;return o.props.placeholder=(l=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return BU(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(mr);LE(Ah,"controlFieldType",u.FieldTypes.IMAGE),LE(Ah,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function jU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xU(e,t,r){return t&&jE(e.prototype,t),r&&jE(e,r),e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function VU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function zU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:jU(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var GU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HU(e){var t=YU();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zU(this,o)}}var qU=function(e){VU(r,e);var t=HU(r);function r(n){FU(this,r);var o,i,c,f;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&l!==void 0?l:9;var a;o.props.caption=(a=n==null||(c=n.props)===null||c===void 0?void 0:c.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return xU(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Nh);function UU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function XU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:UU(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var QU=function(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 ZU(e){var t=JU();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XU(this,o)}}var eW=function(e){KU(r,e);var t=ZU(r);function r(n){return WU(this,r),t.call(this,n)}return r}(gr),FE={Designer:Ah,Runtime:qU,Property:eW};function ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function Lh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function tW(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){me(e,o,r[o])})}return e}function nW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function oW(e,t){return t&&(iW(t)==="object"||typeof t=="function")?t:ke(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var iW=function(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 Fh(e){var t=uW();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oW(this,o)}}var cW=function(e){Lh(r,e);var t=Fh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),me(ke(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),me(ke(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=c,o.defaultValue.fields.amount[0].message=h.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:h.getMessage("numberRangeSetError")}),o}return r}(Tn),fW=function(e){Lh(r,e);var t=Fh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[rW(tW({},o[0]),{type:"number"}),{type:"number",min:c,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}],currency:{type:"string"}}}),o}return r}(x),Yo=function(e){Lh(r,e);var t=Fh(r);function r(n){Dh(this,r);var o;o=t.call(this,n),me(ke(o),"rangeMin",void 0),me(ke(o),"rangeMax",void 0),me(ke(o),"showUpperCase",void 0),me(ke(o),"submitSelectCurrency",void 0),me(ke(o),"micrometer",void 0),me(ke(o),"precision",void 0),me(ke(o),"optionConfig",void 0),me(ke(o),"dataBind",void 0),me(ke(o),"datasourceBind",void 0),me(ke(o),"defaultValue",void 0),me(ke(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new HP(n==null?void 0:n.dataBind);var s;o.datasourceBind=new J((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new Ai({value:"name"})]});var y;o.defaultValue=new qP((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:u.AMOUNT_TYPE.CNY}),o.options=yt(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ho.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var p;return o.showUpperCase=(p=n==null?void 0:n.showUpperCase)!==null&&p!==void 0?p:!1,o}return r}(B);me(Yo,"Rules",cW),me(Yo,"RuntimeRules",fW);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aW(e,t,r){return t&&VE(e.prototype,t),r&&VE(e,r),e}function Kf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xf=Reflect.get:Xf=function(o,i,c){var f=vW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Xf(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(e)}function sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function yW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:xE(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function vW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}var dW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _W(e){var t=pW();return function(){var n=Pr(e),o;if(t){var i=Pr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yW(this,o)}}var Ho=function(e){sW(r,e);var t=_W(r);function r(n){lW(this,r);var o;return o=t.call(this,n),Kf(xE(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return aW(r,[{key:"toDataBindModel",value:function(o){var i=Xf(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(A);Kf(Ho,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Kf(Ho,"controlFieldType",u.FieldTypes.MONEY),Kf(Ho,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bW(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function YE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function OW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gW(e,t){return t&&(mW(t)==="object"||typeof t=="function")?t:zE(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}var mW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wW(e){var t=PW();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gW(this,o)}}var HE=function(e){OW(r,e);var t=wW(r);function r(n){hW(this,r);var o;return o=t.call(this,n),YE(zE(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return bW(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(M);YE(HE,"controlFieldType",u.FieldTypes.MONEY);var qE={Designer:Ho,Runtime:HE,Property:Yo};function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(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&&Yh(e,t)}function RW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:cn(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var TW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hh(e){var t=$W();return function(){var n=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RW(this,o)}}var SW=function(e){Gh(r,e);var t=Hh(r);function r(n){zh(this,r);var o;return o=t.call(this,n),Ft(cn(o),"totalScore",[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ft(cn(o),"defaultValue",{type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(le),EW=function(e){Gh(r,e);var t=Hh(r);function r(n){zh(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(x),qo=function(e){Gh(r,e);var t=Hh(r);function r(n){zh(this,r);var o,i;o=t.call(this,n),Ft(cn(o),"totalScore",void 0),Ft(cn(o),"scoreType",void 0),Ft(cn(o),"isShowExplain",void 0),Ft(cn(o),"explain",void 0),Ft(cn(o),"defaultValue",void 0);var c;o.totalScore=(c=n==null?void 0:n.totalScore)!==null&&c!==void 0?c:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:u.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(v){return new Tu(v)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Tu});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Uo.controlName,o}return r}(B);Ft(qo,"Rules",SW),Ft(qo,"RuntimeRules",EW);function qh(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function IW(e){if(Array.isArray(e))return qh(e)}function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NW(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}function Zf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?el=Reflect.get:el=function(o,i,c){var f=DW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},el(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function BW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function AW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MW(){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 kW(e,t){return t&&(jW(t)==="object"||typeof t=="function")?t:UE(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function DW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function LW(e){return IW(e)||AW(e)||FW(e)||MW()}var jW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FW(e,t){if(!!e){if(typeof e=="string")return qh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qh(e,t)}}function xW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VW(e){var t=xW();return function(){var n=wr(e),o;if(t){var i=wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kW(this,o)}}var Uo=function(e){BW(r,e);var t=VW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),Zf(UE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return NW(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var c,f=i-this.props.explain.length,l=Array(f).fill(void 0).map(function(){return new Tu});(c=this.props.explain).push.apply(c,LW(l))}}el(wr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);Zf(Uo,"controlEventKeys",["on_change","on_click"]),Zf(Uo,"controlFieldType",u.FieldTypes.DECIMAL),Zf(Uo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GW(e,t,r){return t&&XE(e.prototype,t),r&&XE(e,r),e}function QE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function YW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:KE(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var qW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WW(e){var t=UW();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HW(this,o)}}var JE=function(e){YW(r,e);var t=WW(r);function r(n){zW(this,r);var o;return o=t.call(this,n),QE(KE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return GW(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(M);QE(JE,"controlFieldType",u.FieldTypes.DECIMAL);var ZE={Designer:Uo,Runtime:JE,Property:qo};function nl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function tI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:nl(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}var XW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nI(e){var t=QW();return function(){var n=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KW(this,o)}}var JW=function(e){tI(r,e);var t=nI(r);function r(n){eI(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(x),il=function(e){tI(r,e);var t=nI(r);function r(n){eI(this,r);var o;o=t.call(this,n),rl(nl(o),"defaultValueType",void 0),rl(nl(o),"defaultValue",void 0),rl(nl(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cl.controlName;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var l;o.defaultValue=new KP((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(B);rl(il,"RuntimeRules",JW);function rI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eK(e,t,r){return t&&oI(e.prototype,t),r&&oI(e,r),e}function Xh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:rI(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var rK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nK(this,o)}}var cl=function(e){tK(r,e);var t=iK(r);function r(n){ZW(this,r);var o;return o=t.call(this,n),Xh(rI(o),"props",void 0),o.props=new il(n==null?void 0:n.props),o}return eK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);Xh(cl,"controlFieldType",u.FieldTypes.ADDRESS),Xh(cl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function iI(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 uI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cK(e,t,r){return t&&uI(e.prototype,t),r&&uI(e,r),e}function cI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function fK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function lK(e,t){return t&&(aK(t)==="object"||typeof t=="function")?t:iI(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var aK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};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 yK(e){var t=sK();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lK(this,o)}}var fI=function(e){fK(r,e);var t=yK(r);function r(n){uK(this,r);var o;return o=t.call(this,n),cI(iI(o),"props",void 0),o.props=new il(n==null?void 0:n.props),o}return cK(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(M);cI(fI,"controlFieldType",u.FieldTypes.ADDRESS);var lI={Designer:cl,Runtime:fI,Property:il};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function sI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:ut(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var dK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yI(e){var t=pK();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var _K=function(e){sI(r,e);var t=yI(r);function r(n){aI(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),al=function(e){sI(r,e);var t=yI(r);function r(n){aI(this,r);var o;o=t.call(this,n),ct(ut(o),"showType",void 0),ct(ut(o),"range",void 0),ct(ut(o),"defaultValueType",void 0),ct(ut(o),"multiple",void 0),ct(ut(o),"rangeOptions",void 0),ct(ut(o),"defaultValue",void 0),ct(ut(o),"displayLevel",void 0),ct(ut(o),"showSubDept",void 0),ct(ut(o),"multistageFilling",void 0),ct(ut(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Wo.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new Te(g))})),o}return r}(B);ct(al,"RuntimeRules",_K);function vI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bK(e,t,r){return t&&dI(e.prototype,t),r&&dI(e,r),e}function sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yl=Reflect.get:yl=function(o,i,c){var f=mK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},yl(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function OK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function gK(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:vI(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function mK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}var PK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RK(e){var t=wK();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gK(this,o)}}var Wo=function(e){OK(r,e);var t=RK(r);function r(n){hK(this,r);var o;return o=t.call(this,n),sl(vI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return bK(r,[{key:"toDataBindModel",value:function(o){var i=yl(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(A);sl(Wo,"controlName","\u90E8\u95E8"),sl(Wo,"controlFieldType",u.FieldTypes.DEPARTMENTS),sl(Wo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function pI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $K(e,t,r){return t&&_I(e.prototype,t),r&&_I(e,r),e}function hI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function SK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function EK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:pI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var IK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NK(e){var t=CK();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EK(this,o)}}var bI=function(e){SK(r,e);var t=NK(r);function r(n){TK(this,r);var o;return o=t.call(this,n),hI(pI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return $K(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(M);hI(bI,"controlFieldType",u.FieldTypes.DEPARTMENTS);var OI={Designer:Wo,Runtime:bI,Property:al};function gI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function MK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:gI(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}var DK=function(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 jK(e){var t=LK();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kK(this,o)}}var rb=function(e){MK(r,e);var t=jK(r);function r(n){BK(this,r);var o;o=t.call(this,n),AK(gI(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ko.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(B);function mI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xK(e,t,r){return t&&PI(e.prototype,t),r&&PI(e,r),e}function pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function zK(e,t){return t&&(GK(t)==="object"||typeof t=="function")?t:mI(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}var GK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HK(e){var t=YK();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zK(this,o)}}var Ko=function(e){VK(r,e);var t=HK(r);function r(n){FK(this,r);var o;return o=t.call(this,n),pl(mI(o),"props",void 0),o.props=new rb(n==null?void 0:n.props),o}return xK(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(A);pl(Ko,"controlEventKeys",["on_change"]),pl(Ko,"controlFieldType",u.FieldTypes.AUTO_NUMBER),pl(Ko,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function wI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UK(e,t,r){return t&&RI(e.prototype,t),r&&RI(e,r),e}function TI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function WK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:wI(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var XK=function(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 JK(e){var t=QK();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KK(this,o)}}var $I=function(e){WK(r,e);var t=JK(r);function r(n){qK(this,r);var o;return o=t.call(this,n),TI(wI(o),"props",void 0),o.props=new rb(n==null?void 0:n.props),o}return UK(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(M);TI($I,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var SI={Designer:Ko,Runtime:$I,Property:rb};function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ub(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function cb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function ZK(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:fn(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var eX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lb(e){var t=tX();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZK(this,o)}}var nX=function(e){cb(r,e);var t=lb(r);function r(n){ub(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(le),rX=function(e){cb(r,e);var t=lb(r);function r(n){ub(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(x),Xo=function(e){cb(r,e);var t=lb(r);function r(n){ub(this,r);var o;o=t.call(this,n),xt(fn(o),"precision",void 0),xt(fn(o),"micrometer",void 0),xt(fn(o),"showUpperCase",void 0),xt(fn(o),"scriptSrc",void 0),xt(fn(o),"scriptEcho",void 0),xt(fn(o),"dataBind",void 0),xt(fn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new XP(n==null?void 0:n.dataBind),o.defaultValue=new QP(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Qo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.scriptEcho=(s=n==null?void 0:n.scriptEcho)!==null&&s!==void 0?s:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(B);xt(Xo,"Rules",nX),xt(Xo,"RuntimeRules",rX);function EI(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 II(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iX(e,t,r){return t&&II(e.prototype,t),r&&II(e,r),e}function Ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gl=Reflect.get:gl=function(o,i,c){var f=fX(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},gl(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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&&ab(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:EI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function fX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}var lX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=aX();return function(){var n=Tr(e),o;if(t){var i=Tr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cX(this,o)}}var Qo=function(e){uX(r,e);var t=sX(r);function r(n){oX(this,r);var o;return o=t.call(this,n),Ol(EI(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return iX(r,[{key:"toDataBindModel",value:function(o){var i=gl(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(A);Ol(Qo,"controlEventKeys",["on_change"]),Ol(Qo,"controlFieldType",u.FieldTypes.CALC),Ol(Qo,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function CI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vX(e,t,r){return t&&NI(e.prototype,t),r&&NI(e,r),e}function BI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(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&&sb(e,t)}function pX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:CI(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var _X=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bX(e){var t=hX();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var AI=function(e){dX(r,e);var t=bX(r);function r(n){yX(this,r);var o;return o=t.call(this,n),BI(CI(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return vX(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(M);BI(AI,"controlFieldType",u.FieldTypes.CALC);var MI={Designer:Qo,Runtime:AI,Property:Xo};function $r(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 Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function DI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:$r(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}var gX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LI(e){var t=mX();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OX(this,o)}}var PX=function(e){DI(r,e);var t=LI(r);function r(n){kI(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(c,f){if(n.required){var l=f.every(function(a){return!a});return l?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(x),wl=function(e){DI(r,e);var t=LI(r);function r(n){kI(this,r);var o;o=t.call(this,n),Sr($r(o),"rangeMin",void 0),Sr($r(o),"rangeMax",void 0),Sr($r(o),"placeholderStart",void 0),Sr($r(o),"placeholderEnd",void 0),Sr($r(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Tl.controlName,o}return r}(B);Sr(wl,"RuntimeRules",PX);function jI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RX(e,t,r){return t&&FI(e.prototype,t),r&&FI(e,r),e}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function TX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function $X(e,t){return t&&(SX(t)==="object"||typeof t=="function")?t:jI(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}var SX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IX(e){var t=EX();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $X(this,o)}}var Tl=function(e){TX(r,e);var t=IX(r);function r(n){wX(this,r);var o;return o=t.call(this,n),vb(jI(o),"props",void 0),o.props=new wl(n==null?void 0:n.props),o}return RX(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(A);vb(Tl,"controlFieldType",u.FieldTypes.DECIMAL_RANGE),vb(Tl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function xI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NX(e,t,r){return t&&VI(e.prototype,t),r&&VI(e,r),e}function zI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function BX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function AX(e,t){return t&&(MX(t)==="object"||typeof t=="function")?t:xI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var MX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DX(e){var t=kX();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AX(this,o)}}var GI=function(e){BX(r,e);var t=DX(r);function r(n){CX(this,r);var o;return o=t.call(this,n),zI(xI(o),"props",void 0),o.props=new wl(n==null?void 0:n.props),o}return NX(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(M);zI(GI,"controlFieldType",u.FieldTypes.DECIMAL_RANGE);var YI={Designer:Tl,Runtime:GI,Property:wl};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function qI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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:ft(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var jX=function(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 UI(e){var t=FX();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LX(this,o)}}var xX=function(e){qI(r,e);var t=UI(r);function r(n){HI(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(x),El=function(e){qI(r,e);var t=UI(r);function r(n){HI(this,r);var o,i;o=t.call(this,n),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),"dateType",void 0),lt(ft(o),"dateFormat",void 0),lt(ft(o),"commonTimeSetting",void 0),lt(ft(o),"setValueType",void 0),lt(ft(o),"defaultValue",void 0),lt(ft(o),"limitDateList",void 0);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:u.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Cl.controlName;var g;return o.limitDateList=(g=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new Ru(_)}))!==null&&g!==void 0?g:[],o}return r}(B);lt(El,"RuntimeRules",xX);function WI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zX(e,t,r){return t&&KI(e.prototype,t),r&&KI(e,r),e}function hb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function GX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function YX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:WI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}var HX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var Cl=function(e){GX(r,e);var t=UX(r);function r(n){VX(this,r);var o;return o=t.call(this,n),hb(WI(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return zX(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(A);hb(Cl,"controlFieldType",u.FieldTypes.ARRAY),hb(Cl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function XI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KX(e,t,r){return t&&QI(e.prototype,t),r&&QI(e,r),e}function JI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function XX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function QX(e,t){return t&&(JX(t)==="object"||typeof t=="function")?t:XI(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}var JX=function(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 eQ(e){var t=ZX();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QX(this,o)}}var ZI=function(e){XX(r,e);var t=eQ(r);function r(n){WX(this,r);var o;return o=t.call(this,n),JI(XI(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return KX(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(M);JI(ZI,"controlFieldType",u.FieldTypes.ARRAY);var eC={Designer:Cl,Runtime:ZI,Property:El};function Jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function mb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function tQ(e,t){return t&&(nQ(t)==="object"||typeof t=="function")?t:Jo(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var nQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wb(e){var t=rQ();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tQ(this,o)}}var oQ=function(e){mb(r,e);var t=wb(r);function r(n){gb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(le),iQ=function(e){mb(r,e);var t=wb(r);function r(n){gb(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(x),Zo=function(e){mb(r,e);var t=wb(r);function r(n){gb(this,r);var o;o=t.call(this,n),Er(Jo(o),"controlExportName",void 0),Er(Jo(o),"permissions",void 0),Er(Jo(o),"defaultValue",void 0),Er(Jo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ei.controlName;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(B);Er(Zo,"Rules",oQ),Er(Zo,"RuntimeRules",iQ);function tC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cQ(e,t,r){return t&&nC(e.prototype,t),r&&nC(e,r),e}function Al(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function fQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lQ(e,t){return t&&(aQ(t)==="object"||typeof t=="function")?t:tC(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}var aQ=function(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 yQ(e){var t=sQ();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lQ(this,o)}}var ei=function(e){fQ(r,e);var t=yQ(r);function r(n){uQ(this,r);var o;return o=t.call(this,n),Al(tC(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return cQ(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(A);Al(ei,"controlFieldType",u.FieldTypes.ANY),Al(ei,"controlEventKeys",[]),Al(ei,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function rC(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 oC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dQ(e,t,r){return t&&oC(e.prototype,t),r&&oC(e,r),e}function iC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function pQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tb(e,t)}function _Q(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:rC(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}var hQ=function(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 OQ(e){var t=bQ();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Q(this,o)}}var uC=function(e){pQ(r,e);var t=OQ(r);function r(n){vQ(this,r);var o;return o=t.call(this,n),iC(rC(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return dQ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(M);iC(uC,"controlFieldType",u.FieldTypes.ANY);var cC={Designer:ei,Runtime:uC,Property:Zo};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function lC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:De(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var mQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aC(e){var t=PQ();return function(){var n=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){lC(r,e);var t=aC(r);function r(n){fC(this,r);var o;return o=t.call(this,n),Le(De(o),"listPageBind",[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}]),o}return r}(Tn),Ll=function(e){lC(r,e);var t=aC(r);function r(n){fC(this,r);var o;o=t.call(this,n),Le(De(o),"options",void 0),Le(De(o),"optionConfig",void 0),Le(De(o),"defaultValue",void 0),Le(De(o),"listPageBind",void 0),Le(De(o),"datasourceBind",void 0),Le(De(o),"multistageFilling",void 0),Le(De(o),"viewFormModelType",void 0),Le(De(o),"canViewForm",void 0),Le(De(o),"formBind",void 0),Le(De(o),"openMultistageFilling",void 0),Le(De(o),"showSelectedDetail",void 0),Le(De(o),"selectedContentConfig",void 0);var i;o.options=yt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource",o.listPageBind=new Ni(n==null?void 0:n.listPageBind),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ti.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new Mi(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Te(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new wn(n==null?void 0:n.formBind),o}return r}(B);Le(Ll,"Rules",wQ);function sC(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 yC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TQ(e,t,r){return t&&yC(e.prototype,t),r&&yC(e,r),e}function jl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&Sb(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:sC(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}var EQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CQ(e){var t=IQ();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var ti=function(e){$Q(r,e);var t=CQ(r);function r(n){RQ(this,r);var o;return o=t.call(this,n),jl(sC(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return TQ(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(A);jl(ti,"controlFieldType",u.FieldTypes.VARCHAR),jl(ti,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}]),jl(ti,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function vC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BQ(e,t,r){return t&&dC(e.prototype,t),r&&dC(e,r),e}function pC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function AQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function MQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:vC(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}var kQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LQ(e){var t=DQ();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MQ(this,o)}}var _C=function(e){AQ(r,e);var t=LQ(r);function r(n){NQ(this,r);var o;return o=t.call(this,n),pC(vC(o),"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return BQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(M);pC(_C,"controlFieldType",u.FieldTypes.VARCHAR);var hC={Designer:ti,Runtime:_C,Property:Ll};function jQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function xQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:jQ(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var zQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YQ(e){var t=GQ();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var Cb=function(e){xQ(r,e);var t=YQ(r);function r(n){return FQ(this,r),t.call(this,n)}return r}(pr);function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qQ(e,t,r){return t&&OC(e.prototype,t),r&&OC(e,r),e}function gC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function UQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nb(e,t)}function WQ(e,t){return t&&(KQ(t)==="object"||typeof t=="function")?t:bC(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}var KQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QQ(e){var t=XQ();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var mC=function(e){UQ(r,e);var t=QQ(r);function r(n){HQ(this,r);var o;return o=t.call(this,n),gC(bC(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return qQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(_r);gC(mC,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function PC(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 wC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZQ(e,t,r){return t&&wC(e.prototype,t),r&&wC(e,r),e}function RC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function eJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:PC(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var nJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oJ(e){var t=rJ();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tJ(this,o)}}var TC=function(e){eJ(r,e);var t=oJ(r);function r(n){JQ(this,r);var o;return o=t.call(this,n),RC(PC(o),"props",void 0),o.props=new Cb(n==null?void 0:n.props),o}return ZQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(M);RC(TC,"controlFieldType",u.FieldTypes.VARCHAR);var $C={Designer:mC,Runtime:TC,Property:Cb};function X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ab(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function Mb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:X(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var uJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Db(e){var t=cJ();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iJ(this,o)}}var fJ=function(e){Mb(r,e);var t=Db(r);function r(n){Ab(this,r);var o;return o=t.call(this,n),Q(X(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),vo.call(X(o),n,ln.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(le),lJ=function(e){Mb(r,e);var t=Db(r);function r(n){Ab(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ni=function(e){Mb(r,e);var t=Db(r);function r(n){Ab(this,r);var o,i;o=t.call(this,n),Q(X(o),"placeholder",void 0),Q(X(o),"multiple",void 0),Q(X(o),"canSearch",void 0),Q(X(o),"levelType",void 0),Q(X(o),"optionalLevel",void 0),Q(X(o),"containsSubNode",void 0),Q(X(o),"defaultDisplay",void 0),Q(X(o),"isShowIncludeSub",void 0),Q(X(o),"isDefaultCheckSub",void 0),Q(X(o),"isShowFilterItem",void 0),Q(X(o),"defaultCollapse",void 0),Q(X(o),"defaultCollapseLevel",void 0),Q(X(o),"optionConfig","datasource"),Q(X(o),"datasourceBind",void 0),Q(X(o),"filterItemDatasourceBind",void 0),Q(X(o),"multistageFilling",void 0),Q(X(o),"defaultValue",void 0),Q(X(o),"openMultistageFilling",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ln.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var v;o.containsSubNode=(v=n==null?void 0:n.containsSubNode)!==null&&v!==void 0?v:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var p;o.isDefaultCheckSub=(p=n==null?void 0:n.isDefaultCheckSub)!==null&&p!==void 0?p:!1;var g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var _;o.defaultCollapseLevel=(_=n==null?void 0:n.defaultCollapseLevel)!==null&&_!==void 0?_:1;var m;o.datasourceBind=new Nv((m=n==null?void 0:n.datasourceBind)!==null&&m!==void 0?m:{attributes:ln.controlCustomAttributes});var w;o.filterItemDatasourceBind=new Nv((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:ln.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var $;o.defaultDisplay=($=n==null?void 0:n.defaultDisplay)!==null&&$!==void 0?$:!1;var R;o.multistageFilling=(R=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(k){return new Te(k)}))!==null&&R!==void 0?R:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(B);Q(ni,"Rules",fJ),Q(ni,"RuntimeRules",lJ);function SC(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 EC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sJ(e,t,r){return t&&EC(e.prototype,t),r&&EC(e,r),e}function Hl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function yJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function vJ(e,t){return t&&(dJ(t)==="object"||typeof t=="function")?t:SC(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var dJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _J(e){var t=pJ();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vJ(this,o)}}var ln=function(e){yJ(r,e);var t=_J(r);function r(n){aJ(this,r);var o;return o=t.call(this,n),Hl(SC(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return sJ(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(A);Hl(ln,"controlEventKeys",["on_change","on_click"]),Hl(ln,"controlFieldType",u.FieldTypes.ARRAY),Hl(ln,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.CAN_SEARCH,u.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,u.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function IC(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 CC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bJ(e,t,r){return t&&CC(e.prototype,t),r&&CC(e,r),e}function NC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function OJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gJ(e,t){return t&&(mJ(t)==="object"||typeof t=="function")?t:IC(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}var mJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wJ(e){var t=PJ();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gJ(this,o)}}var BC=function(e){OJ(r,e);var t=wJ(r);function r(n){hJ(this,r);var o;return o=t.call(this,n),NC(IC(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return bJ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(M);NC(BC,"controlFieldType",u.FieldTypes.ARRAY);var AC={Designer:ln,Runtime:BC,Property:ni};function ye(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 ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},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 RJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:ye(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var TJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zb(e){var t=$J();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RJ(this,o)}}var SJ=function(e){xb(r,e);var t=zb(r);function r(n){Fb(this,r);var o;return o=t.call(this,n),ve(ye(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ve(ye(o),"externalScope",{type:"any"}),vo.call(ye(o),n,Ir.controlCustomAttributes),n.externalType===u.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(le),EJ=function(e){xb(r,e);var t=zb(r);function r(n){Fb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ri=function(e){xb(r,e);var t=zb(r);function r(n){Fb(this,r);var o;o=t.call(this,n),ve(ye(o),"showType",void 0),ve(ye(o),"range",void 0),ve(ye(o),"rangeOptions",void 0),ve(ye(o),"multiple",void 0),ve(ye(o),"defaultValueType",void 0),ve(ye(o),"defaultValue",void 0),ve(ye(o),"multistageFilling",void 0),ve(ye(o),"datasourceBind",void 0),ve(ye(o),"datasourceType",void 0),ve(ye(o),"insideType",void 0),ve(ye(o),"externalType",void 0),ve(ye(o),"externalScope",void 0),ve(ye(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ir.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new fo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ir.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:u.OrganizeType.INTERNAL;var p;o.insideType=(p=n==null?void 0:n.insideType)!==null&&p!==void 0?p:u.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:u.AssignType.ALL;var _;o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[];var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Te(w))})),o}return r}(B);ve(ri,"Rules",SJ),ve(ri,"RuntimeRules",EJ);function MC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CJ(e,t,r){return t&&kC(e.prototype,t),r&&kC(e,r),e}function Gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function NJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function BJ(e,t){return t&&(AJ(t)==="object"||typeof t=="function")?t:MC(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var AJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kJ(e){var t=MJ();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BJ(this,o)}}var Ir=function(e){NJ(r,e);var t=kJ(r);function r(n){IJ(this,r);var o;return o=t.call(this,n),Gb(MC(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return CJ(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);Gb(Ir,"controlFieldType",u.FieldTypes.EMPLOYEES),Gb(Ir,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function DC(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 LC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LJ(e,t,r){return t&&LC(e.prototype,t),r&&LC(e,r),e}function jC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(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&&Hb(e,t)}function FJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:DC(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var xJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=VJ();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FJ(this,o)}}var FC=function(e){jJ(r,e);var t=zJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),jC(DC(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return LJ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(M);jC(FC,"controlFieldType",u.FieldTypes.EMPLOYEES);var xC={Designer:Ir,Runtime:FC,Property:ri};function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(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&&qb(e,t)}function GJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:Ot(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var YJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=HJ();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GJ(this,o)}}var qJ=function(e){zC(r,e);var t=GC(r);function r(n){VC(this,r);var o;return o=t.call(this,n),gt(Ot(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,c,f){return i[f]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,s,y){if(c.type==="public"&&On(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(a,s,y){if(c.type==="public"&&c.signatureType.includes("company")&&On(s.value)&&s.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(le),Jl=function(e){zC(r,e);var t=GC(r);function r(n){VC(this,r);var o;o=t.call(this,n),gt(Ot(o),"buttonType",void 0),gt(Ot(o),"content",void 0),gt(Ot(o),"showType",void 0),gt(Ot(o),"color",void 0),gt(Ot(o),"icon",void 0),gt(Ot(o),"command",""),gt(Ot(o),"isLoading",!1),gt(Ot(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:oi.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u53D1\u8D77\u7B7E\u7F72";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new lR(n==null?void 0:n.signatureConfig),o}return r}(B);gt(Jl,"Rules",qJ);function YC(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 HC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WJ(e,t,r){return t&&HC(e.prototype,t),r&&HC(e,r),e}function Zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function 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&&Ub(e,t)}function XJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:YC(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var QJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZJ(e){var t=JJ();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XJ(this,o)}}var oi=function(e){KJ(r,e);var t=ZJ(r);function r(n){UJ(this,r);var o;return o=t.call(this,n),Zl(YC(o),"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return WJ(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(A);Zl(oi,"controlEventKeys",["on_click","on_click_finish"]),Zl(oi,"controlFieldType",u.FieldTypes.VARCHAR),Zl(oi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function qC(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 UC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tZ(e,t,r){return t&&UC(e.prototype,t),r&&UC(e,r),e}function WC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function nZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function rZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:qC(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}var oZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uZ(e){var t=iZ();return function(){var n=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rZ(this,o)}}var KC=function(e){nZ(r,e);var t=uZ(r);function r(n){eZ(this,r);var o;return o=t.call(this,n),WC(qC(o),"props",void 0),o.props=new Jl(n==null?void 0:n.props),o}return tZ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(M);WC(KC,"controlFieldType",u.FieldTypes.VARCHAR);var XC={Designer:oi,Runtime:KC,Property:Jl};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(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&&Qb(e,t)}function cZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:Pe(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}var fZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jb(e){var t=lZ();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cZ(this,o)}}var aZ=function(e){Xb(r,e);var t=Jb(r);function r(n){Kb(this,r);var o;return o=t.call(this,n),de(Pe(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),de(Pe(o),"canAdd",void 0),de(Pe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(c,f,l){if(f.active&&!f.text){l(h.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(c,f,l){if(f.active&&!f.text){l(h.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(c,f,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(h.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(le),sZ=function(e){Xb(r,e);var t=Jb(r);function r(n){Kb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ii=function(e){Xb(r,e);var t=Jb(r);function r(n){Kb(this,r);var o;o=t.call(this,n),de(Pe(o),"content",void 0),de(Pe(o),"canAdd",void 0),de(Pe(o),"addLocal",void 0),de(Pe(o),"addOnline",void 0),de(Pe(o),"canDownload",void 0),de(Pe(o),"canEdit",void 0),de(Pe(o),"canExport",void 0),de(Pe(o),"canDelete",void 0),de(Pe(o),"wpsSetting",void 0),de(Pe(o),"maxSize",void 0),de(Pe(o),"defaultValue",void 0),de(Pe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ui.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u65B0\u5EFA\u6587\u6863";var f;o.canAdd=(f=n==null?void 0:n.canAdd)!==null&&f!==void 0?f:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var v;o.canExport=(v=n==null?void 0:n.canExport)!==null&&v!==void 0?v:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:sU;var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:[],o.wpsSetting=new aR(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return r}(B);de(ii,"Rules",aZ),de(ii,"RuntimeRules",sZ);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vZ(e,t,r){return t&&JC(e.prototype,t),r&&JC(e,r),e}function ra(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function pZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:QC(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}var _Z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bZ(e){var t=hZ();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pZ(this,o)}}var ui=function(e){dZ(r,e);var t=bZ(r);function r(n){yZ(this,r);var o;return o=t.call(this,n),ra(QC(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return vZ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);ra(ui,"controlEventKeys",["on_change","on_wps_open"]),ra(ui,"controlFieldType",u.FieldTypes.FILE),ra(ui,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gZ(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function tN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function mZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eO(e,t)}function PZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:ZC(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}var wZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TZ(e){var t=RZ();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PZ(this,o)}}var nN=function(e){mZ(r,e);var t=TZ(r);function r(n){OZ(this,r);var o;return o=t.call(this,n),tN(ZC(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return gZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(M);tN(nN,"controlFieldType",u.FieldTypes.FILE);var rN={Designer:ui,Runtime:nN,Property:ii};function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function nO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $Z(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:ce(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}var SZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oO(e){var t=EZ();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Z(this,o)}}var IZ=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),fe(ce(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),fe(ce(o),"businessScope",{type:"any"}),vo.call(ce(o),n,En.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(le),CZ=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ci=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;o=t.call(this,n),fe(ce(o),"showType",void 0),fe(ce(o),"range",void 0),fe(ce(o),"defaultValueType",void 0),fe(ce(o),"multiple",void 0),fe(ce(o),"rangeOptions",void 0),fe(ce(o),"defaultValue",void 0),fe(ce(o),"displayLevel",void 0),fe(ce(o),"showSubDept",void 0),fe(ce(o),"multistageFilling",void 0),fe(ce(o),"datasourceBind",void 0),fe(ce(o),"datasourceType",void 0),fe(ce(o),"businessType",void 0),fe(ce(o),"businessScope",void 0),fe(ce(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:En.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var p;o.datasourceBind=new fo((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:En.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:u.AssignType.ALL;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var $;($=o.multistageFilling)===null||$===void 0||$.push(new Te(P))})),o}return r}(B);fe(ci,"Rules",IZ),fe(ci,"RuntimeRules",CZ);function oN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BZ(e,t,r){return t&&iN(e.prototype,t),r&&iN(e,r),e}function ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fa=Reflect.get:fa=function(o,i,c){var f=kZ(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},fa(e,t,r||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(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&&iO(e,t)}function MZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:oN(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function kZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}var DZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jZ(e){var t=LZ();return function(){var n=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MZ(this,o)}}var En=function(e){AZ(r,e);var t=jZ(r);function r(n){NZ(this,r);var o;return o=t.call(this,n),ca(oN(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return BZ(r,[{key:"toDataBindModel",value:function(o){var i=fa(Cr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);ca(En,"controlName","\u90E8\u95E8"),ca(En,"controlFieldType",u.FieldTypes.DEPARTMENTS),ca(En,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function uN(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 cN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xZ(e,t,r){return t&&cN(e.prototype,t),r&&cN(e,r),e}function fN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function VZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function zZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:uN(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}var GZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=YZ();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zZ(this,o)}}var lN=function(e){VZ(r,e);var t=HZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),fN(uN(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return xZ(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(M);fN(lN,"controlFieldType",u.FieldTypes.DEPARTMENTS);var aN={Designer:En,Runtime:lN,Property:ci};function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function fO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:H(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}var UZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aO(e){var t=WZ();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qZ(this,o)}}var KZ=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;return o=t.call(this,n),q(H(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),q(H(o),"businessScope",{type:"any"}),vo.call(H(o),n,In.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(le),XZ=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),fi=function(e){fO(r,e);var t=aO(r);function r(n){cO(this,r);var o;o=t.call(this,n),q(H(o),"showType",void 0),q(H(o),"range",void 0),q(H(o),"defaultValueType",void 0),q(H(o),"multiple",void 0),q(H(o),"rangeOptions",void 0),q(H(o),"defaultValue",void 0),q(H(o),"displayLevel",void 0),q(H(o),"showSubDept",void 0),q(H(o),"multistageFilling",void 0),q(H(o),"datasourceBind",void 0),q(H(o),"listPageBind",void 0),q(H(o),"datasourceType",void 0),q(H(o),"businessType",void 0),q(H(o),"businessScope",void 0),q(H(o),"organizingFunction",void 0),q(H(o),"organizationView",void 0),q(H(o),"openMultistageFilling",void 0),q(H(o),"showSelectedDetail",void 0),q(H(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all",o.listPageBind=new Ni(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:In.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var p;o.datasourceBind=new zP((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:In.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var m;o.businessType=(m=n==null?void 0:n.businessType)!==null&&m!==void 0?m:u.AssignType.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var $;o.showSelectedDetail=($=n==null?void 0:n.showSelectedDetail)!==null&&$!==void 0?$:!1,o.selectedContentConfig=new Mi(n==null?void 0:n.selectedContentConfig);var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var k;(k=o.multistageFilling)===null||k===void 0||k.push(new Te(S))})),o}return r}(B);q(fi,"Rules",KZ),q(fi,"RuntimeRules",XZ);function sN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JZ(e,t,r){return t&&yN(e.prototype,t),r&&yN(e,r),e}function sa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(o,i,c){var f=tee(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ya(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&sO(e,t)}function eee(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:sN(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function tee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}var nee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ree(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oee(e){var t=ree();return function(){var n=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var In=function(e){ZZ(r,e);var t=oee(r);function r(n){QZ(this,r);var o;return o=t.call(this,n),sa(sN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return JZ(r,[{key:"toDataBindModel",value:function(o){var i=ya(Nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);sa(In,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),sa(In,"controlFieldType",u.FieldTypes.DEPARTMENTS),sa(In,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"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 vN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uee(e,t,r){return t&&dN(e.prototype,t),r&&dN(e,r),e}function pN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function fee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:vN(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}var lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function see(e){var t=aee();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fee(this,o)}}var _N=function(e){cee(r,e);var t=see(r);function r(n){iee(this,r);var o;return o=t.call(this,n),pN(vN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return uee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(M);pN(_N,"controlFieldType",u.FieldTypes.DEPARTMENTS);var hN={Designer:In,Runtime:_N,Property:fi},yee=Object.freeze({__proto__:null,Input:tS,Checkbox:fS,Radio:bS,Number:TS,DatePicker:BS,DateRange:zS,Textarea:KS,RichText:nE,Select:yE,SelectMultiple:OE,Employee:IE,Image:FE,Attachment:kE,Amount:qE,Score:ZE,Address:lI,Department:OI,AutoNumber:SI,Calc:MI,SearchNumberRange:YI,SearchDateRange:eC,VueFormItem:cC,SelectRelation:hC,SearchInput:$C,Tree:AC,Employee2:xC,ElectronicSignature:XC,WPS:rN,Department2:aN,OrganizationSelection:hN});function vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pee(e,t,r){return t&&bN(e.prototype,t),r&&bN(e,r),e}function _ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function bee(e,t){return t&&(Oee(t)==="object"||typeof t=="function")?t:vee(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}var Oee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=gee();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var ON=function(e){hee(r,e);var t=mee(r);function r(n){return dee(this,r),t.call(this,n)}return pee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Y);_ee(ON,"excludes",[u.CONTROL_TYPE.GRID]);function Pee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ree(e,t,r){return t&&gN(e.prototype,t),r&&gN(e,r),e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(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&&dO(e,t)}function $ee(e,t){return t&&(See(t)==="object"||typeof t=="function")?t:Pee(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}var See=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Eee();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ee(this,o)}}var Cee=function(e){Tee(r,e);var t=Iee(r);function r(n){return wee(this,r),t.call(this,n)}return Ree(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(W),mN={Designer:ON,Runtime:Cee,Property:V};function pO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function Bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_O(e,t)}function Aee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:pO(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_O(e,t)}var Mee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dee(e){var t=kee();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aee(this,o)}}var Lee=24,Cn=function(e){Bee(r,e);var t=Dee(r);function r(n){Nee(this,r);var o;o=t.call(this,n),PN(pO(o),"span",void 0),PN(pO(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Lee;var c;return o.offset=(c=n==null?void 0:n.offset)!==null&&c!==void 0?c:0,o}return r}(V);function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fee(e,t,r){return t&&RN(e.prototype,t),r&&RN(e,r),e}function hO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(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&&bO(e,t)}function Vee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:wN(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}var zee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yee(e){var t=Gee();return function(){var n=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vee(this,o)}}var li=function(e){xee(r,e);var t=Yee(r);function r(n){jee(this,r);var o;return o=t.call(this,n),hO(wN(o),"props",void 0),o.props=new Cn(n==null?void 0:n.props),o}return Fee(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Y);hO(li,"excludes",[u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.DIVIDER]),hO(li,"childrenMaxLength",1);function TN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&$N(e.prototype,t),r&&$N(e,r),e}function Uee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function 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&&OO(e,t)}function Kee(e,t){return t&&(Xee(t)==="object"||typeof t=="function")?t:TN(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}var Xee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jee(e){var t=Qee();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kee(this,o)}}var gO=function(e){Wee(r,e);var t=Jee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),Uee(TN(o),"props",void 0),o.props=new Cn(n==null?void 0:n.props),o}return qee(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(W),Oa={Designer:li,Runtime:gO,Property:Cn};function mO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function ete(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tte(e,t){return t&&(nte(t)==="object"||typeof t=="function")?t:mO(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}var nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ote(e){var t=rte();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tte(this,o)}}var ma=function(e){ete(r,e);var t=ote(r);function r(n){Zee(this,r);var o;o=t.call(this,n),SN(mO(o),"layoutMode",void 0),SN(mO(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var c;return o.gutter=(c=n==null?void 0:n.gutter)!==null&&c!==void 0?c:0,o}return r}(V);function EN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ite(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ute(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function wO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function fte(e,t){return t&&(lte(t)==="object"||typeof t=="function")?t:EN(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}var lte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ste(e){var t=ate();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fte(this,o)}}var wa=function(e){cte(r,e);var t=ste(r);function r(n){ite(this,r);var o;return o=t.call(this,n),wO(EN(o),"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return ute(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Y);wO(wa,"excludes",[u.CONTROL_TYPE.ROW]),wO(wa,"setting",[{key:"col-setting",visible:!0}]);function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vte(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function dte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function 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&&TO(e,t)}function _te(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:CN(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}var hte=function(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 Ote(e){var t=bte();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _te(this,o)}}var BN=function(e){pte(r,e);var t=Ote(r);function r(n){yte(this,r);var o;return o=t.call(this,n),dte(CN(o),"props",void 0),o.props=new ma(n==null?void 0:n.props),o}return vte(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(W),AN={Designer:wa,Runtime:BN,Property:ma};function gte(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 MN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pte(e,t,r){return t&&MN(e.prototype,t),r&&MN(e,r),e}function $O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(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&&SO(e,t)}function Rte(e,t){return t&&(Tte(t)==="object"||typeof t=="function")?t:gte(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}var Tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $te(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ste(e){var t=$te();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rte(this,o)}}var Ete=4,$a=function(e){wte(r,e);var t=Ste(r);function r(n){return mte(this,r),t.call(this,n)}return Pte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(wa);$O($a,"excludes",[u.CONTROL_TYPE.GRID_ROW]),$O($a,"setting",[]),$O($a,"childrenMaxLength",Ete);function Ite(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nte(e,t,r){return t&&kN(e.prototype,t),r&&kN(e,r),e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function Bte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Ate(e,t){return t&&(Mte(t)==="object"||typeof t=="function")?t:Ite(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}var Mte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dte(e){var t=kte();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ate(this,o)}}var Lte=function(e){Bte(r,e);var t=Dte(r);function r(n){return Cte(this,r),t.call(this,n)}return Nte(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(BN);function jte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function xte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function Vte(e,t){return t&&(zte(t)==="object"||typeof t=="function")?t:jte(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}var zte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yte(e){var t=Gte();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vte(this,o)}}var Hte=function(e){xte(r,e);var t=Yte(r);function r(n){return Fte(this,r),t.call(this,n)}return r}(ma),CO={Designer:$a,Runtime:Lte,Property:Hte};function Ia(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function LN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:Ia(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}var Ute=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jN(e){var t=Wte();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qte(this,o)}}var Kte=function(e){LN(r,e);var t=jN(r);function r(){DN(this,r);var n;return n=t.apply(this,arguments),Ca(Ia(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(V.Rules),Ba=function(e){LN(r,e);var t=jN(r);function r(n){DN(this,r);var o;o=t.call(this,n),Ca(Ia(o),"caption",void 0),Ca(Ia(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(V);Ca(Ba,"Rules",Kte);function FN(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 xN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qte(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function BO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function Jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function Zte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:FN(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}var ene=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nne(e){var t=tne();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var MO=function(e){Jte(r,e);var t=nne(r);function r(n){Xte(this,r);var o;return o=t.call(this,n),BO(FN(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return Qte(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Y);BO(MO,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),BO(MO,"excludes",[u.CONTROL_TYPE.CARD_GROUP]);function VN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function one(e,t,r){return t&&zN(e.prototype,t),r&&zN(e,r),e}function ine(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function 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&&kO(e,t)}function cne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:VN(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}var fne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ane(e){var t=lne();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cne(this,o)}}var sne=function(e){une(r,e);var t=ane(r);function r(n){rne(this,r);var o;return o=t.call(this,n),ine(VN(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return one(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(W),GN={Designer:MO,Runtime:sne,Property:Ba};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function HN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yne(e,t){return t&&(vne(t)==="object"||typeof t=="function")?t:mt(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}var vne=function(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 qN(e){var t=dne();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yne(this,o)}}var pne=function(e){HN(r,e);var t=qN(r);function r(n){YN(this,r);var o;return o=t.call(this,n),Pt(mt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Pt(mt(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),Pt(mt(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),Da=function(e){HN(r,e);var t=qN(r);function r(n){YN(this,r);var o;o=t.call(this,n),Pt(mt(o),"metaAutoWidth",void 0),Pt(mt(o),"caption",void 0),Pt(mt(o),"fixed",void 0),Pt(mt(o),"isShowCaptionTip",void 0),Pt(mt(o),"captionTip",void 0),Pt(mt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new BP(n==null?void 0:n.metaAutoWidth),o}return r}(V);Pt(Da,"Rules",pne);function UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LO(e,t)}function bne(e,t){return t&&(One(t)==="object"||typeof t=="function")?t:UN(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}var One=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mne(e){var t=gne();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bne(this,o)}}var at=function(e){hne(r,e);var t=mne(r);function r(n){_ne(this,r);var o;return o=t.call(this,n),Nn(UN(o),"props",void 0),o.props=new Da(n==null?void 0:n.props),o}return r}(Y);Nn(at,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Nn(at,"controlType","subtable-column"),Nn(at,"controlIcon","subtable-column"),Nn(at,"childrenMaxLength",1),Nn(at,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Nn(at,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function Rne(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:WN(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}var Tne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sne(e){var t=$ne();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rne(this,o)}}var XN=function(e){wne(r,e);var t=Sne(r);function r(n){Pne(this,r);var o;return o=t.call(this,n),KN(WN(o),"props",void 0),o.props=new Da(n==null?void 0:n.props),o}return r}(W);KN(XN,"controlType","subtable-column");var FO={Designer:at,Runtime:XN,Property:Da};function Ene(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(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&&xO(e,t)}function Nne(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:Ene(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}var Bne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mne(e){var t=Ane();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nne(this,o)}}var VO=function(e){Cne(r,e);var t=Mne(r);function r(n){return Ine(this,r),t.call(this,n)}return r}(V);function QN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zO(e,t)}function Lne(e,t){return t&&(jne(t)==="object"||typeof t=="function")?t:QN(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}var jne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xne(e){var t=Fne();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lne(this,o)}}var An=function(e){Dne(r,e);var t=xne(r);function r(n){kne(this,r);var o;return o=t.call(this,n),Bn(QN(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return r}(Y);Bn(An,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Bn(An,"controlType","subtable-row"),Bn(An,"controlIcon","subtable-row"),Bn(An,"childrenMaxLength",1),Bn(An,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.SUBTABLE_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Bn(An,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function JN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zne(e,t,r){return t&&ZN(e.prototype,t),r&&ZN(e,r),e}function Gne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Yne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GO(e,t)}function Hne(e,t){return t&&(qne(t)==="object"||typeof t=="function")?t:JN(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GO(e,t)}var qne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wne(e){var t=Une();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hne(this,o)}}var Kne=function(e){Yne(r,e);var t=Wne(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),Gne(JN(o),"props",void 0),o.props=new VO(n==null?void 0:n.props),o}return zne(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(W),eB={Designer:An,Runtime:Kne,Property:VO};function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function Qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Jne(e,t){return t&&(Zne(t)==="object"||typeof t=="function")?t:He(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}var Zne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tre(e){var t=ere();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jne(this,o)}}var HO=function(e){Qne(r,e);var t=tre(r);function r(n){Xne(this,r);var o;o=t.call(this,n),nt(He(o),"widthType",void 0),nt(He(o),"width",void 0),nt(He(o),"caption",void 0),nt(He(o),"fieldCode",void 0),nt(He(o),"fieldType",void 0),nt(He(o),"fieldName",void 0),nt(He(o),"datasourceBind",void 0),nt(He(o),"fixed",void 0),nt(He(o),"textCleanFormart",void 0),nt(He(o),"decimalKeepPrecision",void 0),nt(He(o),"timestampDateType",void 0),nt(He(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:u.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:u.DateType.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(V);function tB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function rre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function ore(e,t){return t&&(ire(t)==="object"||typeof t=="function")?t:tB(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}var ire=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cre(e){var t=ure();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ore(this,o)}}var kn=function(e){rre(r,e);var t=cre(r);function r(n){nre(this,r);var o;return o=t.call(this,n),Mn(tB(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(Y);Mn(kn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Mn(kn,"controlType","gridtable-column"),Mn(kn,"controlIcon","gridtable-column"),Mn(kn,"childrenMaxLength",1),Mn(kn,"excludes",[u.CONTROL_TYPE.GRID_TABLE,u.CONTROL_TYPE.GRID_TABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Mn(kn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 are(e,t){return t&&(sre(t)==="object"||typeof t=="function")?t:nB(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}var sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vre(e){var t=yre();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return are(this,o)}}var oB=function(e){lre(r,e);var t=vre(r);function r(n){fre(this,r);var o;return o=t.call(this,n),rB(nB(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(W);rB(oB,"controlType","gridtable-column");var iB={Designer:kn,Runtime:oB,Property:HO};function WO(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 uB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(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&&KO(e,t)}function _re(e,t){return t&&(hre(t)==="object"||typeof t=="function")?t:WO(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}var hre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ore(e){var t=bre();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _re(this,o)}}var XO=function(e){pre(r,e);var t=Ore(r);function r(n){dre(this,r);var o;o=t.call(this,n),uB(WO(o),"childMinWidth",void 0),uB(WO(o),"rowGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var c;return o.rowGap=(c=n==null?void 0:n.rowGap)!==null&&c!==void 0?c:24,o}return r}(V);function cB(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 fB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mre(e,t,r){return t&&fB(e.prototype,t),r&&fB(e,r),e}function lB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(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&&QO(e,t)}function wre(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:cB(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}var Rre=function(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 $re(e){var t=Tre();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wre(this,o)}}var aB=function(e){Pre(r,e);var t=$re(r);function r(n){gre(this,r);var o;return o=t.call(this,n),lB(cB(o),"props",void 0),o.props=new XO(n==null?void 0:n.props),o}return mre(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"iconfenzu6"}}]),r}(Y);lB(aB,"excludes",[u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.TAB]);function sB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ere(e,t,r){return t&&yB(e.prototype,t),r&&yB(e,r),e}function Ire(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function Cre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JO(e,t)}function Nre(e,t){return t&&(Bre(t)==="object"||typeof t=="function")?t:sB(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JO(e,t)}var Bre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mre(e){var t=Are();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nre(this,o)}}var kre=function(e){Cre(r,e);var t=Mre(r);function r(n){Sre(this,r);var o;return o=t.call(this,n),Ire(sB(o),"props",void 0),o.props=new XO(n==null?void 0:n.props),o}return Ere(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(W),vB={Designer:aB,Runtime:kre,Property:XO};function dB(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 Lre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function jre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function Fre(e,t){return t&&(xre(t)==="object"||typeof t=="function")?t:dB(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}var xre=function(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 n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fre(this,o)}}var eg=function(e){jre(r,e);var t=zre(r);function r(n){Dre(this,r);var o;o=t.call(this,n),Lre(dB(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(V);function tg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function _B(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function Gre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:tg(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}var Yre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hB(e){var t=Hre();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gre(this,o)}}var qre=function(e){_B(r,e);var t=hB(r);function r(n){pB(this,r);var o;return o=t.call(this,n),ng(tg(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(Z),Xa=function(e){_B(r,e);var t=hB(r);function r(n){pB(this,r);var o;o=t.call(this,n),ng(tg(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:si.controlName,o}return r}(V);ng(Xa,"Rules",qre);function bB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wre(e,t,r){return t&&OB(e.prototype,t),r&&OB(e,r),e}function og(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function Kre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function Xre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:bB(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}var Qre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zre(e){var t=Jre();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xre(this,o)}}var ai=function(e){Kre(r,e);var t=Zre(r);function r(n){Ure(this,r);var o;return o=t.call(this,n),og(bB(o),"props",void 0),o.props=new Xa(n==null?void 0:n.props),o}return Wre(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Y);og(ai,"excludes",[u.CONTROL_TYPE.TAB]),og(ai,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function gB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function toe(e,t,r){return t&&mB(e.prototype,t),r&&mB(e,r),e}function noe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function 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&&ug(e,t)}function ooe(e,t){return t&&(ioe(t)==="object"||typeof t=="function")?t:gB(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}var ioe=function(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 coe(e){var t=uoe();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ooe(this,o)}}var foe=function(e){roe(r,e);var t=coe(r);function r(n){eoe(this,r);var o;return o=t.call(this,n),noe(gB(o),"props",void 0),o.props=new Xa(n==null?void 0:n.props),o}return toe(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(W),PB={Designer:ai,Runtime:foe,Property:Xa};function wB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aoe(e,t,r){return t&&RB(e.prototype,t),r&&RB(e,r),e}function Za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cg(e,t)}function yoe(e,t){return t&&(voe(t)==="object"||typeof t=="function")?t:wB(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}var voe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function poe(e){var t=doe();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yoe(this,o)}}var si=function(e){soe(r,e);var t=poe(r);function r(n){loe(this,r);var o;o=t.call(this,n),Za(wB(o),"props",void 0),o.props=new eg(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new ai,new ai],o}return aoe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Y);Za(si,"excludes",[u.CONTROL_TYPE.TAB]),Za(si,"controlEventKeys",["on_change_tab"]),Za(si,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hoe(e,t,r){return t&&$B(e.prototype,t),r&&$B(e,r),e}function boe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function Ooe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function goe(e,t){return t&&(moe(t)==="object"||typeof t=="function")?t:TB(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}var moe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Poe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function woe(e){var t=Poe();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return goe(this,o)}}var Roe=function(e){Ooe(r,e);var t=woe(r);function r(n){_oe(this,r);var o;return o=t.call(this,n),boe(TB(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return hoe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(W),SB={Designer:si,Runtime:Roe,Property:eg};function Toe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lg(e,t)}function Eoe(e,t){return t&&(Ioe(t)==="object"||typeof t=="function")?t:Toe(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}var Ioe=function(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 Noe(e){var t=Coe();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eoe(this,o)}}var EB=function(e){Soe(r,e);var t=Noe(r);function r(n){return $oe(this,r),t.call(this,n)}return r}(V);function IB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aoe(e,t,r){return t&&CB(e.prototype,t),r&&CB(e,r),e}function NB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Moe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 koe(e,t){return t&&(Doe(t)==="object"||typeof t=="function")?t:IB(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ag(e,t)}var Doe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function joe(e){var t=Loe();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return koe(this,o)}}var BB=function(e){Moe(r,e);var t=joe(r);function r(n){Boe(this,r);var o;return o=t.call(this,n),NB(IB(o),"props",void 0),o.props=new EB({}),o.children=(n==null?void 0:n.children)||[new li({props:new Cn({span:12})}),new li({props:new Cn({span:12})})],o}return Aoe(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Y);NB(BB,"excludes",[u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.GRID,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.TOOLBOX]);function Foe(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 AB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Voe(e,t,r){return t&&AB(e.prototype,t),r&&AB(e,r),e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function zoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Goe(e,t){return t&&(Yoe(t)==="object"||typeof t=="function")?t:Foe(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}var Yoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qoe(e){var t=Hoe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Goe(this,o)}}var Uoe=function(e){zoe(r,e);var t=qoe(r);function r(n){xoe(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new gO({props:new Cn({span:12})}),new gO({props:new Cn({span:12})})],o}return Voe(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(W),MB={Designer:BB,Runtime:Uoe,Property:EB};function re(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 oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(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 Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:re(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}var Koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pg(e){var t=Xoe();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Woe(this,o)}}var us;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(us||(us={}));var Qoe=function(e){vg(r,e);var t=pg(r);function r(n){yg(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(qt),Joe=function(e){vg(r,e);var t=pg(r);function r(n){yg(this,r);var o;if(o=t.call(this,n),oe(re(o),"triggerFieldCode",{type:"any"}),oe(re(o),"datasourceBind",{type:"any"}),n.triggerType===us.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),Vi.call(re(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(c){return c.type==="object"&&c.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Z),yi=function(e){vg(r,e);var t=pg(r);function r(n){yg(this,r);var o;o=t.call(this,n),oe(re(o),"datasourceBind",void 0),oe(re(o),"isLoading",void 0),oe(re(o),"isShowSubList",void 0),oe(re(o),"triggerType",void 0),oe(re(o),"triggerFieldCode",void 0),oe(re(o),"sublistPage",void 0),oe(re(o),"isShowJoinRelation",void 0),oe(re(o),"joinRelation",void 0),oe(re(o),"showType",void 0),oe(re(o),"showFullScreen",void 0),oe(re(o),"isFixedHeader",void 0),oe(re(o),"selectionType",void 0),oe(re(o),"isShowSelection",void 0),oe(re(o),"isAllLoaded",void 0),oe(re(o),"countType",void 0),o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:us.CLICK_ROW;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new jP(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new xP(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var v;o.selectionType=(v=n==null?void 0:n.selectionType)!==null&&v!==void 0?v:"multiple";var b;o.isFixedHeader=(b=n==null?void 0:n.isFixedHeader)!==null&&b!==void 0?b:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var p;return o.isAllLoaded=(p=n==null?void 0:n.isAllLoaded)!==null&&p!==void 0?p:!0,o.countType=n==null?void 0:n.countType,o}return r}(V);oe(yi,"Rules",Joe),oe(yi,"RuntimeRules",Qoe);function kB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eie(e,t,r){return t&&DB(e.prototype,t),r&&DB(e,r),e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function tie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_g(e,t)}function nie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:kB(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_g(e,t)}var rie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iie(e){var t=oie();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nie(this,o)}}var ls=function(e){tie(r,e);var t=iie(r);function r(n){Zoe(this,r);var o;return o=t.call(this,n),cs(kB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return eie(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Y);cs(ls,"excludes",[u.CONTROL_TYPE.ROW]),cs(ls,"controlEventKeys",["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"]),cs(ls,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function LB(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 jB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cie(e,t,r){return t&&jB(e.prototype,t),r&&jB(e,r),e}function fie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function aie(e,t){return t&&(sie(t)==="object"||typeof t=="function")?t:LB(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}var sie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vie(e){var t=yie();return function(){var n=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aie(this,o)}}var die=function(e){lie(r,e);var t=vie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),fie(LB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return cie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(W),bg={Designer:ls,Runtime:die,Property:yi};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function 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&&Og(e,t)}function pie(e,t){return t&&(_ie(t)==="object"||typeof t=="function")?t:an(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}var _ie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VB(e){var t=hie();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pie(this,o)}}var bie=function(e){xB(r,e);var t=VB(r);function r(n){FB(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(qt),ys=function(e){xB(r,e);var t=VB(r);function r(n){FB(this,r);var o;o=t.call(this,n),sn(an(o),"save",void 0),sn(an(o),"cancel",void 0),sn(an(o),"saveAs",void 0),sn(an(o),"print",void 0),sn(an(o),"custom",void 0),sn(an(o),"isLoading",void 0),sn(an(o),"datasourceBind",void 0);var i;o.save=new Et((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var c;o.cancel=new Et((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new Et((f=n==null?void 0:n.saveAs)!==null&&f!==void 0?f:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Et((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(y){return new Et(y)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new J(n==null?void 0:n.datasourceBind),o}return r}(V);sn(ys,"RuntimeRules",bie);function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gie(e,t,r){return t&&GB(e.prototype,t),r&&GB(e,r),e}function YB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function mie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gg(e,t)}function Pie(e,t){return t&&(wie(t)==="object"||typeof t=="function")?t:zB(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(e,t)}var wie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tie(e){var t=Rie();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pie(this,o)}}var HB=function(e){mie(r,e);var t=Tie(r);function r(n){Oie(this,r);var o;return o=t.call(this,n),YB(zB(o),"props",void 0),o.props=new ys(n==null?void 0:n.props),o}return gie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Y);YB(HB,"excludes",[]);function qB(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 UB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sie(e,t,r){return t&&UB(e.prototype,t),r&&UB(e,r),e}function Eie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(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&&mg(e,t)}function Cie(e,t){return t&&(Nie(t)==="object"||typeof t=="function")?t:qB(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}var Nie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aie(e){var t=Bie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cie(this,o)}}var Mie=function(e){Iie(r,e);var t=Aie(r);function r(n){$ie(this,r);var o;return o=t.call(this,n),Eie(qB(o),"props",void 0),o.props=new ys(n==null?void 0:n.props),o}return Sie(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(W),Pg={Designer:HB,Runtime:Mie,Property:ys};function kie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lie(e,t,r){return t&&WB(e.prototype,t),r&&WB(e,r),e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fie(e,t){return t&&(xie(t)==="object"||typeof t=="function")?t:kie(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}var xie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zie(e){var t=Vie();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fie(this,o)}}var Gie=function(e){jie(r,e);var t=zie(r);function r(n){return Die(this,r),t.call(this,n)}return Lie(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Y);function Yie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qie(e,t,r){return t&&KB(e.prototype,t),r&&KB(e,r),e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(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&&Rg(e,t)}function Wie(e,t){return t&&(Kie(t)==="object"||typeof t=="function")?t:Yie(e)}function Rg(e,t){return Rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rg(e,t)}var Kie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Xie();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wie(this,o)}}var Jie=function(e){Uie(r,e);var t=Qie(r);function r(n){return Hie(this,r),t.call(this,n)}return qie(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(W);function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function eue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tue(e,t){return t&&(nue(t)==="object"||typeof t=="function")?t:Br(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tg(e,t)}var nue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oue(e){var t=rue();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tue(this,o)}}var iue=function(e){eue(r,e);var t=oue(r);function r(n){Zie(this,r);var o;o=t.call(this,n),vi(Br(o),"hideHeader",void 0),vi(Br(o),"background","#fff"),vi(Br(o),"minWidth",""),vi(Br(o),"maxWidth",""),vi(Br(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(V),XB={Designer:Gie,Runtime:Jie,Property:iue};function uue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fue(e,t,r){return t&&QB(e.prototype,t),r&&QB(e,r),e}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function lue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function aue(e,t){return t&&(sue(t)==="object"||typeof t=="function")?t:uue(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}var sue=function(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 vue(e){var t=yue();return function(){var n=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aue(this,o)}}var due=function(e){lue(r,e);var t=vue(r);function r(n){return cue(this,r),t.call(this,n)}return fue(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);function pue(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 JB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hue(e,t,r){return t&&JB(e.prototype,t),r&&JB(e,r),e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function bue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function Oue(e,t){return t&&(gue(t)==="object"||typeof t=="function")?t:pue(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}var gue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pue(e){var t=mue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oue(this,o)}}var wue=function(e){bue(r,e);var t=Pue(r);function r(n){return _ue(this,r),t.call(this,n)}return hue(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(W);function Eg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function Tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function $ue(e,t){return t&&(Sue(t)==="object"||typeof t=="function")?t:Eg(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}var Sue=function(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 n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ue(this,o)}}var Cue=function(e){Tue(r,e);var t=Iue(r);function r(n){Rue(this,r);var o;return o=t.call(this,n),ZB(Eg(o),"display",void 0),ZB(Eg(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new vR(n==null?void 0:n.flexConfig),o}return r}(V),e1={Designer:due,Runtime:wue,Property:Cue};function Nue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aue(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Mue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function kue(e,t){return t&&(Due(t)==="object"||typeof t=="function")?t:Nue(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}var Due=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jue(e){var t=Lue();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kue(this,o)}}var Fue=function(e){Mue(r,e);var t=jue(r);function r(n){return Bue(this,r),t.call(this,n)}return Aue(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);function xue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zue(e,t,r){return t&&n1(e.prototype,t),r&&n1(e,r),e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function Gue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ng(e,t)}function Yue(e,t){return t&&(Hue(t)==="object"||typeof t=="function")?t:xue(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}var Hue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function que(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uue(e){var t=que();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yue(this,o)}}var Wue=function(e){Gue(r,e);var t=Uue(r);function r(n){return Vue(this,r),t.call(this,n)}return zue(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(W);function Kue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function Que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bg(e,t)}function Jue(e,t){return t&&(Zue(t)==="object"||typeof t=="function")?t:Kue(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}var Zue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ece(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tce(e){var t=ece();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jue(this,o)}}var nce=function(e){Que(r,e);var t=tce(r);function r(n){return Xue(this,r),t.call(this,n)}return r}(V),r1={Designer:Fue,Runtime:Wue,Property:nce};function rce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ice(e,t,r){return t&&o1(e.prototype,t),r&&o1(e,r),e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(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&&Ag(e,t)}function cce(e,t){return t&&(fce(t)==="object"||typeof t=="function")?t:rce(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}var fce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ace(e){var t=lce();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cce(this,o)}}var sce=function(e){uce(r,e);var t=ace(r);function r(n){return oce(this,r),t.call(this,n)}return ice(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Y);function yce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dce(e,t,r){return t&&i1(e.prototype,t),r&&i1(e,r),e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(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&&Mg(e,t)}function _ce(e,t){return t&&(hce(t)==="object"||typeof t=="function")?t:yce(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}var hce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oce(e){var t=bce();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ce(this,o)}}var gce=function(e){pce(r,e);var t=Oce(r);function r(n){return vce(this,r),t.call(this,n)}return dce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(W);function di(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(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&&kg(e,t)}function wce(e,t){return t&&(Rce(t)==="object"||typeof t=="function")?t:di(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}var Rce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ce(e){var t=Tce();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wce(this,o)}}var Sce=function(e){Pce(r,e);var t=$ce(r);function r(n){mce(this,r);var o;o=t.call(this,n),$s(di(o),"widthSpan",void 0),$s(di(o),"heightSpan",void 0),$s(di(o),"left",void 0),$s(di(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var c;o.heightSpan=(c=n==null?void 0:n.heightSpan)!==null&&c!==void 0?c:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(V),u1={Designer:sce,Runtime:gce,Property:Sce};function Es(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 Dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(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&&Lg(e,t)}function Cce(e,t){return t&&(Nce(t)==="object"||typeof t=="function")?t:Es(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}var Nce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ace(e){var t=Bce();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cce(this,o)}}var jg=function(e){Ice(r,e);var t=Ace(r);function r(n){Ece(this,r);var o;o=t.call(this,n),Dg(Es(o),"position",void 0),Dg(Es(o),"opacity",void 0),Dg(Es(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var c;o.opacity=(c=n==null?void 0:n.opacity)!==null&&c!==void 0?c:!0;var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"right",o}return r}(V);function c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kce(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function Fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function Dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xg(e,t)}function Lce(e,t){return t&&(jce(t)==="object"||typeof t=="function")?t:c1(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}var jce=function(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 xce(e){var t=Fce();return function(){var n=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lce(this,o)}}var Vg=function(e){Dce(r,e);var t=xce(r);function r(n){Mce(this,r);var o;o=t.call(this,n),Fg(c1(o),"props",void 0);var i;return o.props=new jg((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return kce(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(Y);Fg(Vg,"excludes",[]),Fg(Vg,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function l1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zce(e,t,r){return t&&a1(e.prototype,t),r&&a1(e,r),e}function Gce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ns(e){return Ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ns(e)}function Yce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function Hce(e,t){return t&&(qce(t)==="object"||typeof t=="function")?t:l1(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}var qce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wce(e){var t=Uce();return function(){var n=Ns(e),o;if(t){var i=Ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hce(this,o)}}var Kce=function(e){Yce(r,e);var t=Wce(r);function r(n){Vce(this,r);var o;o=t.call(this,n),Gce(l1(o),"props",void 0);var i;return o.props=new jg((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return zce(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(W),s1={Designer:Vg,Runtime:Kce,Property:jg},Xce=Object.freeze({__proto__:null,Grid:mN,Col:Oa,Row:AN,GridRow:CO,CardGroup:GN,SubTableColumn:FO,SubTableRow:eB,GridTableColumn:iB,GridLayoutContainer:vB,Tab:SB,TabPane:PB,Toolbox:MB,ListView:bg,DataView:Pg,Page:XB,AdvancedContainer:e1,PositioningContainer:r1,Position:u1,ActionBar:s1});function N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function Yg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function Qce(e,t){return t&&(Jce(t)==="object"||typeof t=="function")?t:N(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}var Jce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qg(e){var t=Zce();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qce(this,o)}}var efe=function(e){Yg(r,e);var t=qg(r);function r(n){Gg(this,r);var o;return o=t.call(this,n),I(N(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),I(N(o),"limitRows",[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}]),I(N(o),"formKey",{type:"string",required:!1,message:h.getMessage("pleaseEnterForm")}),I(N(o),"maxHeight",{type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")}),I(N(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),I(N(o),"mobileRowCaption",{type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),tfe=function(e){Yg(r,e);var t=qg(r);function r(n){Gg(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(c,f,l){f.length<n.limitRows&&l(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(qt),pi=function(e){Yg(r,e);var t=qg(r);function r(n,o){Gg(this,r);var i;i=t.call(this,n,o),I(N(i),"caption",void 0),I(N(i),"labelPosition",void 0),I(N(i),"isHideCaption",void 0),I(N(i),"isShowCaptionTip",void 0),I(N(i),"captionTip",void 0),I(N(i),"defaultState",void 0),I(N(i),"limitRows",void 0),I(N(i),"maxRows",void 0),I(N(i),"defaultRows",void 0),I(N(i),"datasourceBind",void 0),I(N(i),"printMode",void 0),I(N(i),"openType",void 0),I(N(i),"formKey",void 0),I(N(i),"useCustomHeight",void 0),I(N(i),"maxHeight",void 0),I(N(i),"canAdd",void 0),I(N(i),"canDelete",void 0),I(N(i),"canCheck",void 0),I(N(i),"canEdit",void 0),I(N(i),"canImport",void 0),I(N(i),"canExport",void 0),I(N(i),"canClear",void 0),I(N(i),"mobileShowType",void 0),I(N(i),"mobileDefaultNum",void 0),I(N(i),"dataStorageDoc",void 0),I(N(i),"serverPagination",void 0),I(N(i),"fixedColumn",void 0),I(N(i),"mobileRowCaption",void 0),I(N(i),"mobileIsTile",void 0);var c;i.caption=(c=o==null?void 0:o.caption)!==null&&c!==void 0?c:Ms.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var v;i.useCustomHeight=(v=o==null?void 0:o.useCustomHeight)!==null&&v!==void 0?v:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:sR;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var p;i.limitRows=(p=o==null?void 0:o.limitRows)!==null&&p!==void 0?p:1;var g;i.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var _;i.defaultRows=(_=o==null?void 0:o.defaultRows)!==null&&_!==void 0?_:1,i.datasourceBind=new J(o==null?void 0:o.datasourceBind);var m;i.canAdd=(m=o==null?void 0:o.canAdd)!==null&&m!==void 0?m:!0;var w;i.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var P;i.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!1;var $;i.canEdit=($=o==null?void 0:o.canEdit)!==null&&$!==void 0?$:!1;var R;i.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var S;i.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var k;i.canClear=(k=o==null?void 0:o.canClear)!==null&&k!==void 0?k:!0;var je;i.serverPagination=(je=o==null?void 0:o.serverPagination)!==null&&je!==void 0?je:!1;var pe;i.isShowCaptionTip=(pe=o==null?void 0:o.isShowCaptionTip)!==null&&pe!==void 0?pe:!1;var _e;i.captionTip=(_e=o==null?void 0:o.captionTip)!==null&&_e!==void 0?_e:"";var no;i.mobileShowType=(no=o==null?void 0:o.mobileShowType)!==null&&no!==void 0?no:"list";var nr;i.mobileDefaultNum=(nr=o==null?void 0:o.mobileDefaultNum)!==null&&nr!==void 0?nr:10;var Rt;i.dataStorageDoc=(Rt=o==null?void 0:o.dataStorageDoc)!==null&&Rt!==void 0?Rt:new AP;var uP;i.fixedColumn=(uP=o==null?void 0:o.fixedColumn)!==null&&uP!==void 0?uP:[];var cP;i.mobileRowCaption=(cP=o==null?void 0:o.mobileRowCaption)!==null&&cP!==void 0?cP:"\u660E\u7EC6";var fP;return i.mobileIsTile=(fP=o==null?void 0:o.mobileIsTile)!==null&&fP!==void 0?fP:!1,i}return r}(_o);I(pi,"Rules",efe),I(pi,"RuntimeRules",tfe);function Ug(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rfe(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function Wg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kg(e,t)}function ife(e,t){return t&&(ufe(t)==="object"||typeof t=="function")?t:Ug(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}var ufe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ffe(e){var t=cfe();return function(){var n=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ife(this,o)}}var Ms=function(e){ofe(r,e);var t=ffe(r);function r(n){nfe(this,r);var o,i;return o=t.call(this,n),Wg(Ug(o),"props",void 0),o.props=new pi(Ug(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new at,new at,new at]),o}return rfe(r,[{key:"addColumn",value:function(o,i){var c=o!==void 0&&typeof o!="number"?o:new at,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(c):this.props.headers.splice(f,0,c),c}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(tu);Wg(Ms,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Wg(Ms,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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 Xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function afe(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function sfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function yfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function vfe(e,t){return t&&(dfe(t)==="object"||typeof t=="function")?t:Xg(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}var dfe=function(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 n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var hfe=function(e){yfe(r,e);var t=_fe(r);function r(n){lfe(this,r);var o;return o=t.call(this,n),sfe(Xg(o),"props",void 0),o.props=new pi(Xg(o),n==null?void 0:n.props),o}return afe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Ht("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(ld),d1={Designer:Ms,Runtime:hfe,Property:pi};function Ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function Ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function gfe(e,t){return t&&(mfe(t)==="object"||typeof t=="function")?t:Ar(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}var mfe=function(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 wfe(e){var t=Pfe();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gfe(this,o)}}var Zg=function(e){Ofe(r,e);var t=wfe(r);function r(n,o){bfe(this,r);var i;i=t.call(this,n,o),_i(Ar(i),"isFixedHeader",void 0),_i(Ar(i),"selectionType",void 0),_i(Ar(i),"isShowToolbar",void 0),_i(Ar(i),"isShowSelection",void 0),_i(Ar(i),"isShowCustomColumns",void 0);var c;i.isFixedHeader=(c=o==null?void 0:o.isFixedHeader)!==null&&c!==void 0?c:!1,i.selectionType=o==null?void 0:o.selectionType;var f;i.isShowToolbar=(f=o==null?void 0:o.isShowToolbar)!==null&&f!==void 0?f:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;return i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0,i}return r}(_o);function Rfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function _1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $fe(e,t){return t&&(Sfe(t)==="object"||typeof t=="function")?t:Rfe(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}var Sfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h1(e){var t=Efe();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $fe(this,o)}}var Ife=function(e){_1(r,e);var t=h1(r);function r(n){p1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(pt),js=function(e){_1(r,e);var t=h1(r);function r(n){p1(this,r);var o,i,c;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Dn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var y;o.autoWidth.flex=(y=n==null||(c=n.autoWidth)===null||c===void 0?void 0:c.flex)!==null&&y!==void 0?y:.4;var v;return o.widthType=(v=n==null?void 0:n.widthType)!==null&&v!==void 0?v:"px",o}return r}(K);Tfe(js,"Rules",Ife);function b1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(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&&tm(e,t)}function Bfe(e,t){return t&&(Afe(t)==="object"||typeof t=="function")?t:b1(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}var Afe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Mfe();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bfe(this,o)}}var Dn=function(e){Nfe(r,e);var t=kfe(r);function r(n){Cfe(this,r);var o;return o=t.call(this,n),hi(b1(o),"props",void 0),o.props=new js(n==null?void 0:n.props),o}return r}(ie);hi(Dn,"controlType","order-column"),hi(Dn,"controlName","\u5E8F\u53F7"),hi(Dn,"controlIcon","order-column"),hi(Dn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",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 Dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(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&&rm(e,t)}function jfe(e,t){return t&&(Ffe(t)==="object"||typeof t=="function")?t:O1(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}var Ffe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vfe(e){var t=xfe();return function(){var n=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jfe(this,o)}}var om=function(e){Lfe(r,e);var t=Vfe(r);function r(n){Dfe(this,r);var o;return o=t.call(this,n),nm(O1(o),"props",void 0),o.props=new js(n==null?void 0:n.props),o}return r}(ue);nm(om,"controlType","order-column"),nm(om,"controlFieldType",u.FieldTypes.DECIMAL);var g1={Designer:Dn,Runtime:om,Property:js};function im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function Gfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function Yfe(e,t){return t&&(Hfe(t)==="object"||typeof t=="function")?t:im(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}var Hfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ufe(e){var t=qfe();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yfe(this,o)}}var cm=function(e){Gfe(r,e);var t=Ufe(r);function r(n){zfe(this,r);var o,i;o=t.call(this,n),m1(im(o),"showType",void 0),m1(im(o),"limit",void 0);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"right",o.widthType="auto";var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:jn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(K);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P1(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function Wfe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){P1(i,n,o,c,f,"next",l)}function f(l){P1(i,n,o,c,f,"throw",l)}c(void 0)})}}function Kfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xfe(e,t,r){return t&&w1(e.prototype,t),r&&w1(e,r),e}function Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mr=Reflect.get:Mr=function(o,i,c){var f=nle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Mr(e,t,r||e)}function yn(e){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yn(e)}function Qfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function Jfe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ln(e,o,r[o])})}return e}function Zfe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ele(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Zfe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function tle(e,t){return t&&(rle(t)==="object"||typeof t=="function")?t:zs(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function nle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yn(e),e!==null););return e}var rle=function(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 ile(e){var t=ole();return function(){var n=yn(e),o;if(t){var i=yn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tle(this,o)}}var ule=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},jn=function(e){Qfe(r,e);var t=ile(r);function r(n){Kfe(this,r);var o;return o=t.call(this,n),Ln(zs(o),"props",void 0),Ln(zs(o),"children",void 0),o.props=new cm(n==null?void 0:n.props),dt(zs(o),"children",n==null?void 0:n.children),o}return Xfe(r,[{key:"toDataBindModel",value:function(){var o=Mr(yn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Vc.controlType){var c=i;o.props[c.props.command]=c.props}}),o}},{key:"toSchema",value:function(){var o=Mr(yn(r.prototype),"toSchema",this).call(this);return ele(Jfe({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return Mr(yn(r.prototype),"validate",c)};return Wfe(function(){return ule(this,function(a){switch(a.label){case 0:return[4,l().call(f,o,i)];case 1:return a.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(ie);Ln(jn,"controlType","operation-column"),Ln(jn,"controlName","\u64CD\u4F5C"),Ln(jn,"controlIcon","operation-column"),Ln(jn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function Gs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ys(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function 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&&lm(e,t)}function lle(e,t){return t&&(ale(t)==="object"||typeof t=="function")?t:Gs(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}var ale=function(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 yle(e){var t=sle();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lle(this,o)}}var am=function(e){fle(r,e);var t=yle(r);function r(n){cle(this,r);var o;return o=t.call(this,n),Ys(Gs(o),"props",void 0),Ys(Gs(o),"children",void 0),o.props=new cm(n==null?void 0:n.props),dt(Gs(o),"children",n==null?void 0:n.children),o}return r}(ue);Ys(am,"controlType","operation-column"),Ys(am,"controlFieldType",u.FieldTypes.FILE);var R1={Designer:jn,Runtime:am,Property:cm};function bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T1(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function vle(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){T1(i,n,o,c,f,"next",l)}function f(l){T1(i,n,o,c,f,"throw",l)}c(void 0)})}}function dle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ple(e,t,r){return t&&$1(e.prototype,t),r&&$1(e,r),e}function qs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Oi=Reflect.get:Oi=function(o,i,c){var f=mle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},Oi(e,t,r||e)}function Fn(e){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fn(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&&sm(e,t)}function hle(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){qs(e,o,r[o])})}return e}function ble(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ole(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ble(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function gle(e,t){return t&&(Ple(t)==="object"||typeof t=="function")?t:bi(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function mle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fn(e),e!==null););return e}var Ple=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rle(e){var t=wle();return function(){var n=Fn(e),o;if(t){var i=Fn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gle(this,o)}}var Tle=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},S1=function(e){_le(r,e);var t=Rle(r);function r(n){dle(this,r);var o;return o=t.call(this,n),qs(bi(o),"props",void 0),qs(bi(o),"children",void 0),o.props=new Zg(bi(o),n==null?void 0:n.props),dt(bi(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Dn,new jn]),o}return ple(r,[{key:"toSchema",value:function(){var o=Oi(Fn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(c){return c.toSchema()});return Ole(hle({},o),{children:i})}},{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return Oi(Fn(r.prototype),"validate",c)};return vle(function(){return Tle(this,function(a){switch(a.label){case 0:return[4,l().call(f,o,i)];case 1:return a.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(tu);qs(S1,"setting",[{key:"list-fixed-header",visible:!0}]);function ym(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sle(e,t,r){return t&&E1(e.prototype,t),r&&E1(e,r),e}function Ele(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function Ile(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vm(e,t)}function Cle(e,t){return t&&(Nle(t)==="object"||typeof t=="function")?t:ym(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}var Nle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ble(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ble();return function(){var n=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cle(this,o)}}var Mle=function(e){Ile(r,e);var t=Ale(r);function r(n){$le(this,r);var o;return o=t.call(this,n),Ele(ym(o),"props",void 0),o.props=new Zg(ym(o),n==null?void 0:n.props),o}return Sle(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Ht("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(ld),I1={Designer:S1,Runtime:Mle,Property:Zg},kle=Object.freeze({__proto__:null,SubTable:d1,GridTable:I1});function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function N1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function Dle(e,t){return t&&(Lle(t)==="object"||typeof t=="function")?t:vn(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}var Lle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B1(e){var t=jle();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dle(this,o)}}var Fle=function(e){N1(r,e);var t=B1(r);function r(n){C1(this,r);var o;return o=t.call(this,n),Qt.call(vn(o),n),o}return r}(dd),Ks=function(e){N1(r,e);var t=B1(r);function r(n){C1(this,r);var o;o=t.call(this,n),xn(vn(o),"optionConfig",void 0),xn(vn(o),"datasourceBind",void 0),xn(vn(o),"showLinkOperation",void 0),xn(vn(o),"linkOperationOption",void 0),xn(vn(o),"options",void 0),xn(vn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;o.options=yt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(K);xn(Ks,"Rules",Fle);function A1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function Vle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zle(e,t){return t&&(Gle(t)==="object"||typeof t=="function")?t:A1(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}var Gle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hle(e){var t=Yle();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zle(this,o)}}var Vn=function(e){Vle(r,e);var t=Hle(r);function r(n){xle(this,r);var o;return o=t.call(this,n),kr(A1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return r}(ie);kr(Vn,"controlType","varchar-column"),kr(Vn,"controlName","\u77ED\u6587\u672C"),kr(Vn,"controlIcon","varchar-column"),kr(Vn,"controlFieldType",u.FieldTypes.VARCHAR),kr(Vn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}]);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},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&&hm(e,t)}function Wle(e,t){return t&&(Kle(t)==="object"||typeof t=="function")?t:M1(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}var Kle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qle(e){var t=Xle();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wle(this,o)}}var bm=function(e){Ule(r,e);var t=Qle(r);function r(n){qle(this,r);var o;return o=t.call(this,n),_m(M1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return r}(ue);_m(bm,"controlType","varchar-column"),_m(bm,"controlFieldType",u.FieldTypes.VARCHAR);var k1={Designer:Vn,Runtime:bm,Property:Ks};function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Js(e)}function L1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jle(e,t){return t&&(Zle(t)==="object"||typeof t=="function")?t:Dr(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}var Zle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j1(e){var t=eae();return function(){var n=Js(e),o;if(t){var i=Js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jle(this,o)}}var tae=function(e){L1(r,e);var t=j1(r);function r(n){D1(this,r);var o;return o=t.call(this,n),Qt.call(Dr(o),n),o}return r}(pt),Zs=function(e){L1(r,e);var t=j1(r);function r(n){D1(this,r);var o;o=t.call(this,n),gi(Dr(o),"escapeHTML",void 0),gi(Dr(o),"showLinkOperation",void 0),gi(Dr(o),"linkOperationOption",void 0),gi(Dr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:zn.controlName;var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);gi(Zs,"Rules",tae);function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rae(e,t,r){return t&&x1(e.prototype,t),r&&x1(e,r),e}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ey(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ey=Reflect.get:ey=function(o,i,c){var f=uae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ey(e,t,r||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function oae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function iae(e,t){return t&&(cae(t)==="object"||typeof t=="function")?t:F1(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function uae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}var cae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lae(e){var t=fae();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iae(this,o)}}var zn=function(e){oae(r,e);var t=lae(r);function r(n){nae(this,r);var o;return o=t.call(this,n),Lr(F1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return rae(r,[{key:"toDataBindModel",value:function(o){var i=ey(jr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.escapeHTML;i.props.escapeHTML=c}return i}}]),r}(ie);Lr(zn,"controlType","text-column"),Lr(zn,"controlName","\u957F\u6587\u672C"),Lr(zn,"controlIcon","text-column"),Lr(zn,"controlFieldType",u.FieldTypes.TEXT),Lr(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}]);function V1(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 mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function sae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pm(e,t)}function yae(e,t){return t&&(vae(t)==="object"||typeof t=="function")?t:V1(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}var vae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pae(e){var t=dae();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yae(this,o)}}var wm=function(e){sae(r,e);var t=pae(r);function r(n){aae(this,r);var o;return o=t.call(this,n),mm(V1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ue);mm(wm,"controlType","text-column"),mm(wm,"controlFieldType",u.FieldTypes.TEXT);var z1={Designer:zn,Runtime:wm,Property:Zs};function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function Y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function _ae(e,t){return t&&(hae(t)==="object"||typeof t=="function")?t:wt(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}var hae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H1(e){var t=bae();return function(){var n=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ae(this,o)}}var Oae=function(e){Y1(r,e);var t=H1(r);function r(n){G1(this,r);var o;return o=t.call(this,n),Qt.call(wt(o),n),o}return r}(pt),ry=function(e){Y1(r,e);var t=H1(r);function r(n){G1(this,r);var o;o=t.call(this,n),Vt(wt(o),"optionConfig",void 0),Vt(wt(o),"datasourceBind",void 0),Vt(wt(o),"showLinkOperation",void 0),Vt(wt(o),"linkOperationOption",void 0),Vt(wt(o),"options",void 0),Vt(wt(o),"precision",void 0),Vt(wt(o),"micrometer",void 0),Vt(wt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gn.controlName;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var s;o.options=yt((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);Vt(ry,"Rules",Oae);function q1(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 U1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mae(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?oy=Reflect.get:oy=function(o,i,c){var f=Rae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},oy(e,t,r||e)}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function Pae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function wae(e,t){return t&&(Tae(t)==="object"||typeof t=="function")?t:q1(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Rae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xr(e),e!==null););return e}var Tae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$ae();return function(){var n=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wae(this,o)}}var Gn=function(e){Pae(r,e);var t=Sae(r);function r(n){gae(this,r);var o;return o=t.call(this,n),Fr(q1(o),"props",void 0),o.props=new ry(n==null?void 0:n.props),o}return mae(r,[{key:"toDataBindModel",value:function(o){var i=oy(xr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}]),r}(ie);Fr(Gn,"controlType","decimal-column"),Fr(Gn,"controlName","\u6570\u503C"),Fr(Gn,"controlIcon","decimal-column"),Fr(Gn,"controlFieldType",u.FieldTypes.DECIMAL),Fr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION,u.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function W1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function Iae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cae(e,t){return t&&(Nae(t)==="object"||typeof t=="function")?t:W1(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}var Nae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aae(e){var t=Bae();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cae(this,o)}}var Em=function(e){Iae(r,e);var t=Aae(r);function r(n){Eae(this,r);var o;return o=t.call(this,n),$m(W1(o),"props",void 0),o.props=new ry(n==null?void 0:n.props),o}return r}(ue);$m(Em,"controlType","decimal-column"),$m(Em,"controlFieldType",u.FieldTypes.DECIMAL);var K1={Designer:Gn,Runtime:Em,Property:ry};function mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function Q1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mae(e,t){return t&&(kae(t)==="object"||typeof t=="function")?t:mi(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}var kae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J1(e){var t=Dae();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mae(this,o)}}var Lae=function(e){Q1(r,e);var t=J1(r);function r(n){X1(this,r);var o;return o=t.call(this,n),Qt.call(mi(o),n),o}return r}(pt),fy=function(e){Q1(r,e);var t=J1(r);function r(n){X1(this,r);var o;o=t.call(this,n),uy(mi(o),"dateType",void 0),uy(mi(o),"showLinkOperation",void 0),uy(mi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Yn.controlName,o}return r}(K);uy(fy,"Rules",Lae);function Z1(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 eA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fae(e,t,r){return t&&eA(e.prototype,t),r&&eA(e,r),e}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ly=Reflect.get:ly=function(o,i,c){var f=zae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},ly(e,t,r||e)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function xae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function Vae(e,t){return t&&(Gae(t)==="object"||typeof t=="function")?t:Z1(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function zae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zr(e),e!==null););return e}var Gae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hae(e){var t=Yae();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vae(this,o)}}var Yn=function(e){xae(r,e);var t=Hae(r);function r(n){jae(this,r);var o;return o=t.call(this,n),Vr(Z1(o),"props",void 0),o.props=new fy(n==null?void 0:n.props),o}return Fae(r,[{key:"toDataBindModel",value:function(o){var i=ly(zr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ie);Vr(Yn,"controlType","timescope-column"),Vr(Yn,"controlName","\u65E5\u671F\u533A\u95F4"),Vr(Yn,"controlIcon","timescope-column"),Vr(Yn,"controlFieldType",u.FieldTypes.TIMESCOPE),Vr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function Uae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function Wae(e,t){return t&&(Kae(t)==="object"||typeof t=="function")?t:tA(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}var Kae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qae(e){var t=Xae();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wae(this,o)}}var Am=function(e){Uae(r,e);var t=Qae(r);function r(n){qae(this,r);var o;return o=t.call(this,n),Nm(tA(o),"props",void 0),o.props=new fy(n==null?void 0:n.props),o}return r}(ue);Nm(Am,"controlType","timescope-column"),Nm(Am,"controlFieldType",u.FieldTypes.TIMESCOPE);var nA={Designer:Yn,Runtime:Am,Property:fy};function Pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function oA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function Jae(e,t){return t&&(Zae(t)==="object"||typeof t=="function")?t:Pi(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(e,t)}var Zae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ese(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iA(e){var t=ese();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jae(this,o)}}var tse=function(e){oA(r,e);var t=iA(r);function r(n){rA(this,r);var o;return o=t.call(this,n),Qt.call(Pi(o),n),o}return r}(pt),vy=function(e){oA(r,e);var t=iA(r);function r(n){rA(this,r);var o;o=t.call(this,n),sy(Pi(o),"dateType",void 0),sy(Pi(o),"showLinkOperation",void 0),sy(Pi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Hn.controlName,o}return r}(K);sy(vy,"Rules",tse);function uA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rse(e,t,r){return t&&cA(e.prototype,t),r&&cA(e,r),e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?dy=Reflect.get:dy=function(o,i,c){var f=use(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},dy(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function ose(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function ise(e,t){return t&&(cse(t)==="object"||typeof t=="function")?t:uA(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function use(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}var cse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lse(e){var t=fse();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ise(this,o)}}var Hn=function(e){ose(r,e);var t=lse(r);function r(n){nse(this,r);var o;return o=t.call(this,n),Gr(uA(o),"props",void 0),o.props=new vy(n==null?void 0:n.props),o}return rse(r,[{key:"toDataBindModel",value:function(o){var i=dy(Yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ie);Gr(Hn,"controlType","timestamp-column"),Gr(Hn,"controlName","\u65E5\u671F"),Gr(Hn,"controlIcon","timestamp-column"),Gr(Hn,"controlFieldType",u.FieldTypes.TIMESTAMP),Gr(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function fA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(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&&Lm(e,t)}function yse(e,t){return t&&(vse(t)==="object"||typeof t=="function")?t:fA(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}var vse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pse(e){var t=dse();return function(){var n=py(e),o;if(t){var i=py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yse(this,o)}}var jm=function(e){sse(r,e);var t=pse(r);function r(n){ase(this,r);var o;return o=t.call(this,n),Dm(fA(o),"props",void 0),o.props=new vy(n==null?void 0:n.props),o}return r}(ue);Dm(jm,"controlType","timestamp-column"),Dm(jm,"controlFieldType",u.FieldTypes.TIMESTAMP);var lA={Designer:Hn,Runtime:jm,Property:vy};function _y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},by(e)}function sA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _se(e,t){return t&&(hse(t)==="object"||typeof t=="function")?t:_y(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}var hse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yA(e){var t=bse();return function(){var n=by(e),o;if(t){var i=by(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _se(this,o)}}var Ose=function(e){sA(r,e);var t=yA(r);function r(n){return aA(this,r),t.call(this,n)}return r}(dd),Oy=function(e){sA(r,e);var t=yA(r);function r(n){aA(this,r);var o;o=t.call(this,n),hy(_y(o),"optionConfig",void 0),hy(_y(o),"datasourceBind",void 0),hy(_y(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:qn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new J(n==null?void 0:n.datasourceBind);var f;return o.options=yt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(K);hy(Oy,"Rules",Ose);function vA(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 Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gy(e)}function mse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xm(e,t)}function Pse(e,t){return t&&(wse(t)==="object"||typeof t=="function")?t:vA(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}var wse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tse(e){var t=Rse();return function(){var n=gy(e),o;if(t){var i=gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pse(this,o)}}var qn=function(e){mse(r,e);var t=Tse(r);function r(n){gse(this,r);var o;return o=t.call(this,n),Hr(vA(o),"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return r}(ie);Hr(qn,"controlType","array-column"),Hr(qn,"controlName","\u6570\u7EC4"),Hr(qn,"controlIcon","array-column"),Hr(qn,"controlFieldType",u.FieldTypes.ARRAY),Hr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function dA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function my(e){return my=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},my(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&&zm(e,t)}function Ese(e,t){return t&&(Ise(t)==="object"||typeof t=="function")?t:dA(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}var Ise=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nse(e){var t=Cse();return function(){var n=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ese(this,o)}}var Gm=function(e){Sse(r,e);var t=Nse(r);function r(n){$se(this,r);var o;return o=t.call(this,n),Vm(dA(o),"props",void 0),o.props=new Oy(n==null?void 0:n.props),o}return r}(ue);Vm(Gm,"controlType","array-column"),Vm(Gm,"controlFieldType",u.FieldTypes.ARRAY);var pA={Designer:qn,Runtime:Gm,Property:Oy};function _A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ase(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Py(e){return Py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Py(e)}function Mse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ym(e,t)}function kse(e,t){return t&&(Dse(t)==="object"||typeof t=="function")?t:_A(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}var Dse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jse(e){var t=Lse();return function(){var n=Py(e),o;if(t){var i=Py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kse(this,o)}}var Hm=function(e){Mse(r,e);var t=jse(r);function r(n){Bse(this,r);var o;o=t.call(this,n),Ase(_A(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Un.controlName;var c;return o.displayLevel=(c=n==null?void 0:n.displayLevel)!==null&&c!==void 0?c:1,o}return r}(K);function hA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xse(e,t,r){return t&&bA(e.prototype,t),r&&bA(e,r),e}function qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wy=Reflect.get:wy=function(o,i,c){var f=Gse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},wy(e,t,r||e)}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(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&&qm(e,t)}function zse(e,t){return t&&(Yse(t)==="object"||typeof t=="function")?t:hA(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function Gse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ur(e),e!==null););return e}var Yse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qse(e){var t=Hse();return function(){var n=Ur(e),o;if(t){var i=Ur(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zse(this,o)}}var Un=function(e){Vse(r,e);var t=qse(r);function r(n){Fse(this,r);var o;return o=t.call(this,n),qr(hA(o),"props",void 0),o.props=new Hm(n==null?void 0:n.props),o}return xse(r,[{key:"toDataBindModel",value:function(o){var i=wy(Ur(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.displayLevel;i.props.displayLevel=c}return i}}]),r}(ie);qr(Un,"controlType","department-column"),qr(Un,"controlName","\u90E8\u95E8"),qr(Un,"controlIcon","department-column"),qr(Un,"controlFieldType",u.FieldTypes.DEPARTMENTS),qr(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Use(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function Wse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function Kse(e,t){return t&&(Xse(t)==="object"||typeof t=="function")?t:OA(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}var Xse=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jse(e){var t=Qse();return function(){var n=Ry(e),o;if(t){var i=Ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kse(this,o)}}var Km=function(e){Wse(r,e);var t=Jse(r);function r(n){Use(this,r);var o;return o=t.call(this,n),Um(OA(o),"props",void 0),o.props=new Hm(n==null?void 0:n.props),o}return r}(ue);Um(Km,"controlType","department-column"),Um(Km,"controlFieldType",u.FieldTypes.DEPARTMENTS);var gA={Designer:Un,Runtime:Km,Property:Hm};function Ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function PA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function Zse(e,t){return t&&(eye(t)==="object"||typeof t=="function")?t:Ty(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}var eye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=tye();return function(){var n=$y(e),o;if(t){var i=$y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zse(this,o)}}var nye=function(e){PA(r,e);var t=wA(r);function r(n){mA(this,r);var o;return o=t.call(this,n),Qt.call(Ty(o),n),o}return r}(pt),Sy=function(e){PA(r,e);var t=wA(r);function r(n){mA(this,r);var o;o=t.call(this,n),Xm(Ty(o),"showLinkOperation",void 0),Xm(Ty(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wn.controlName;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);Xm(Sy,"Rules",nye);function RA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function oye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function iye(e,t){return t&&(uye(t)==="object"||typeof t=="function")?t:RA(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}var uye=function(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 fye(e){var t=cye();return function(){var n=Ey(e),o;if(t){var i=Ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iye(this,o)}}var Wn=function(e){oye(r,e);var t=fye(r);function r(n){rye(this,r);var o;return o=t.call(this,n),Wr(RA(o),"props",void 0),o.props=new Sy(n==null?void 0:n.props),o}return r}(ie);Wr(Wn,"controlType","auto-number-column"),Wr(Wn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Wr(Wn,"controlIcon","auto-number-column"),Wr(Wn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Wr(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iy(e){return Iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iy(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&&e0(e,t)}function sye(e,t){return t&&(yye(t)==="object"||typeof t=="function")?t:TA(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}var yye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dye(e){var t=vye();return function(){var n=Iy(e),o;if(t){var i=Iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sye(this,o)}}var t0=function(e){aye(r,e);var t=dye(r);function r(n){lye(this,r);var o;return o=t.call(this,n),Zm(TA(o),"props",void 0),o.props=new Sy(n==null?void 0:n.props),o}return r}(ue);Zm(t0,"controlType","auto-number-column"),Zm(t0,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var $A={Designer:Wn,Runtime:t0,Property:Sy};function pye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cy(e){return Cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cy(e)}function hye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function bye(e,t){return t&&(Oye(t)==="object"||typeof t=="function")?t:pye(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}var Oye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mye(e){var t=gye();return function(){var n=Cy(e),o;if(t){var i=Cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bye(this,o)}}var r0=function(e){hye(r,e);var t=mye(r);function r(n){_ye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName,o}return r}(K);function SA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ny(e){return Ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ny(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&&o0(e,t)}function Rye(e,t){return t&&(Tye(t)==="object"||typeof t=="function")?t:SA(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}var Tye=function(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 Sye(e){var t=$ye();return function(){var n=Ny(e),o;if(t){var i=Ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rye(this,o)}}var Kn=function(e){wye(r,e);var t=Sye(r);function r(n){Pye(this,r);var o;return o=t.call(this,n),Kr(SA(o),"props",void 0),o.props=new r0(n==null?void 0:n.props),o}return r}(ie);Kr(Kn,"controlType","file-column"),Kr(Kn,"controlName","\u9644\u4EF6"),Kr(Kn,"controlIcon","file-column"),Kr(Kn,"controlFieldType",u.FieldTypes.FILE),Kr(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function By(e){return By=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},By(e)}function 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&&u0(e,t)}function Cye(e,t){return t&&(Nye(t)==="object"||typeof t=="function")?t:EA(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}var Nye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aye(e){var t=Bye();return function(){var n=By(e),o;if(t){var i=By(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cye(this,o)}}var c0=function(e){Iye(r,e);var t=Aye(r);function r(n){Eye(this,r);var o;return o=t.call(this,n),i0(EA(o),"props",void 0),o.props=new r0(n==null?void 0:n.props),o}return r}(ue);i0(c0,"controlType","file-column"),i0(c0,"controlFieldType",u.FieldTypes.FILE);var IA={Designer:Kn,Runtime:c0,Property:r0};function Mye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ay(e){return Ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ay(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&&f0(e,t)}function Lye(e,t){return t&&(jye(t)==="object"||typeof t=="function")?t:Mye(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}var jye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xye(e){var t=Fye();return function(){var n=Ay(e),o;if(t){var i=Ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lye(this,o)}}var l0=function(e){Dye(r,e);var t=xye(r);function r(n){kye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName,o}return r}(K);function CA(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 Xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},My(e)}function zye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function Gye(e,t){return t&&(Yye(t)==="object"||typeof t=="function")?t:CA(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}var Yye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qye(e){var t=Hye();return function(){var n=My(e),o;if(t){var i=My(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gye(this,o)}}var Xn=function(e){zye(r,e);var t=qye(r);function r(n){Vye(this,r);var o;return o=t.call(this,n),Xr(CA(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return r}(ie);Xr(Xn,"controlType","image-column"),Xr(Xn,"controlName","\u56FE\u7247"),Xr(Xn,"controlIcon","image-column"),Xr(Xn,"controlFieldType",u.FieldTypes.IMAGE),Xr(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function NA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(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&&y0(e,t)}function Kye(e,t){return t&&(Xye(t)==="object"||typeof t=="function")?t:NA(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}var Xye=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jye(e){var t=Qye();return function(){var n=ky(e),o;if(t){var i=ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kye(this,o)}}var v0=function(e){Wye(r,e);var t=Jye(r);function r(n){Uye(this,r);var o;return o=t.call(this,n),s0(NA(o),"props",void 0),o.props=new l0(n==null?void 0:n.props),o}return r}(ue);s0(v0,"controlType","image-column"),s0(v0,"controlFieldType",u.FieldTypes.IMAGE);var BA={Designer:Xn,Runtime:v0,Property:l0};function Zye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(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&&d0(e,t)}function nve(e,t){return t&&(rve(t)==="object"||typeof t=="function")?t:Zye(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}var rve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ove(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ive(e){var t=ove();return function(){var n=Dy(e),o;if(t){var i=Dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nve(this,o)}}var p0=function(e){tve(r,e);var t=ive(r);function r(n){eve(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn.controlName,o}return r}(K);function AA(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 Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ly(e){return Ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ly(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&&_0(e,t)}function fve(e,t){return t&&(lve(t)==="object"||typeof t=="function")?t:AA(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}var lve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sve(e){var t=ave();return function(){var n=Ly(e),o;if(t){var i=Ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fve(this,o)}}var Qn=function(e){cve(r,e);var t=sve(r);function r(n){uve(this,r);var o;return o=t.call(this,n),Qr(AA(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return r}(ie);Qr(Qn,"controlType","people-column"),Qr(Qn,"controlName","\u4EBA\u5458"),Qr(Qn,"controlIcon","people-column"),Qr(Qn,"controlFieldType",u.FieldTypes.EMPLOYEES),Qr(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function vve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dve(e,t){return t&&(pve(t)==="object"||typeof t=="function")?t:MA(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}var pve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _ve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hve(e){var t=_ve();return function(){var n=jy(e),o;if(t){var i=jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dve(this,o)}}var O0=function(e){vve(r,e);var t=hve(r);function r(n){yve(this,r);var o;return o=t.call(this,n),h0(MA(o),"props",void 0),o.props=new p0(n==null?void 0:n.props),o}return r}(ue);h0(O0,"controlType","people-column"),h0(O0,"controlFieldType",u.FieldTypes.EMPLOYEES);var kA={Designer:Qn,Runtime:O0,Property:p0};function Fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xy(e){return xy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xy(e)}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function bve(e,t){return t&&(Ove(t)==="object"||typeof t=="function")?t:Fy(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}var Ove=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jA(e){var t=gve();return function(){var n=xy(e),o;if(t){var i=xy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bve(this,o)}}var mve=function(e){LA(r,e);var t=jA(r);function r(n){DA(this,r);var o;return o=t.call(this,n),Qt.call(Fy(o),n),o}return r}(pt),Vy=function(e){LA(r,e);var t=jA(r);function r(n){DA(this,r);var o;o=t.call(this,n),g0(Fy(o),"showLinkOperation",void 0),g0(Fy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption),o}return r}(K);g0(Vy,"Rules",mve);function FA(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 Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(e)}function wve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rve(e,t){return t&&(Tve(t)==="object"||typeof t=="function")?t:FA(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}var Tve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sve(e){var t=$ve();return function(){var n=zy(e),o;if(t){var i=zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rve(this,o)}}var Jn=function(e){wve(r,e);var t=Sve(r);function r(n){Pve(this,r);var o;return o=t.call(this,n),Jr(FA(o),"props",void 0),o.props=new Vy(n==null?void 0:n.props),o}return r}(ie);Jr(Jn,"controlType","location-column"),Jr(Jn,"controlName","\u5730\u5740"),Jr(Jn,"controlIcon","location-column"),Jr(Jn,"controlFieldType",u.FieldTypes.ADDRESS),Jr(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function xA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gy(e)}function Ive(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cve(e,t){return t&&(Nve(t)==="object"||typeof t=="function")?t:xA(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}var Nve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ave(e){var t=Bve();return function(){var n=Gy(e),o;if(t){var i=Gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cve(this,o)}}var T0=function(e){Ive(r,e);var t=Ave(r);function r(n){Eve(this,r);var o;return o=t.call(this,n),w0(xA(o),"props",void 0),o.props=new Vy(n==null?void 0:n.props),o}return r}(ue);w0(T0,"controlType","location-column"),w0(T0,"controlFieldType",u.FieldTypes.ADDRESS);var VA={Designer:Jn,Runtime:T0,Property:Vy};function zA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yy(e)}function Dve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Lve(e,t){return t&&(jve(t)==="object"||typeof t=="function")?t:zA(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}var jve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Fve();return function(){var n=Yy(e),o;if(t){var i=Yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lve(this,o)}}var S0=function(e){Dve(r,e);var t=xve(r);function r(n){Mve(this,r);var o;o=t.call(this,n),kve(zA(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn.controlName;var c;return o.fieldCodeList=(c=n==null?void 0:n.fieldCodeList)!==null&&c!==void 0?c:[],o}return r}(K);function Zr(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 GA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zve(e,t,r){return t&&GA(e.prototype,t),r&&GA(e,r),e}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wi=Reflect.get:wi=function(o,i,c){var f=Kve(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c):l.value}},wi(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(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&&E0(e,t)}function Yve(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Hve(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){st(e,o,r[o])})}return e}function qve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Uve(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qve(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Wve(e,t){return t&&(Xve(t)==="object"||typeof t=="function")?t:Zr(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Kve(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}var Xve=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jve(e){var t=Qve();return function(){var n=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wve(this,o)}}var Zve=1,dn=function(t){Gve(n,t);var r=Jve(n);function n(o){Vve(this,n);var i;i=r.call(this,o),st(Zr(i),"excludes",void 0),st(Zr(i),"childrenMaxLength",void 0),st(Zr(i),"props",void 0),st(Zr(i),"children",void 0);var c=Yve(this,n)?this.constructor:void 0,f=c.excludes,l=c.childrenMaxLength;return i.props=new S0(o==null?void 0:o.props),dt(Zr(i),"children",o==null?void 0:o.children),i.excludes=$t(f),i.childrenMaxLength=l,i}return zve(n,[{key:"judgeJoinChildren",value:function(i){var c=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return c&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var c=wi(Zn(n.prototype),"toDataBindModel",this).call(this,i);if(c){var f=this.props.fieldCodeList;c.props.fieldCodeList=f}return c}},{key:"toSchema",value:function(){var i=wi(Zn(n.prototype),"toSchema",this).call(this);return Uve(Hve({},i),{children:this.children.map(function(c){return c.toSchema()})})}}]),n}(ie);st(dn,"controlType","custom-column"),st(dn,"controlName","\u81EA\u5B9A\u4E49"),st(dn,"controlIcon","custom-column"),st(dn,"excludes",[]),st(dn,"childrenMaxLength",Zve),st(dn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ede(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qy(e){return qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qy(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&&C0(e,t)}function nde(e,t){return t&&(rde(t)==="object"||typeof t=="function")?t:Hy(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}var rde=function(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 n=qy(e),o;if(t){var i=qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nde(this,o)}}var YA=function(e){tde(r,e);var t=ide(r);function r(n){ede(this,r);var o;return o=t.call(this,n),I0(Hy(o),"props",void 0),I0(Hy(o),"children",void 0),o.props=new S0(n==null?void 0:n.props),dt(Hy(o),"children",n==null?void 0:n.children),o}return r}(ue);I0(YA,"controlType","custom-column");var HA={Designer:dn,Runtime:YA,Property:S0};function qA(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 cde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uy(e){return Uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uy(e)}function fde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function lde(e,t){return t&&(ade(t)==="object"||typeof t=="function")?t:qA(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}var ade=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yde(e){var t=sde();return function(){var n=Uy(e),o;if(t){var i=Uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lde(this,o)}}var B0=function(e){fde(r,e);var t=yde(r);function r(n){ude(this,r);var o;o=t.call(this,n),cde(qA(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pn.controlName;var c;return o.datasourceBind=new fo((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{attributes:pn.controlCustomAttributes}),o}return r}(K);function UA(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 WA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dde(e,t,r){return t&&WA(e.prototype,t),r&&WA(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wy(e)}function pde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function _de(e,t){return t&&(hde(t)==="object"||typeof t=="function")?t:UA(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}var hde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ode(e){var t=bde();return function(){var n=Wy(e),o;if(t){var i=Wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _de(this,o)}}var pn=function(e){pde(r,e);var t=Ode(r);function r(n){vde(this,r);var o;return o=t.call(this,n),eo(UA(o),"props",void 0),o.props=new B0(n==null?void 0:n.props),o}return dde(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ie);eo(pn,"controlType","employee-column"),eo(pn,"controlName","\u4EBA\u5458"),eo(pn,"controlIcon","employee-column"),eo(pn,"controlFieldType",u.FieldTypes.EMPLOYEES),eo(pn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function KA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ky(e){return Ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ky(e)}function mde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k0(e,t)}function Pde(e,t){return t&&(wde(t)==="object"||typeof t=="function")?t:KA(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}var wde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tde(e){var t=Rde();return function(){var n=Ky(e),o;if(t){var i=Ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pde(this,o)}}var D0=function(e){mde(r,e);var t=Tde(r);function r(n){gde(this,r);var o;return o=t.call(this,n),M0(KA(o),"props",void 0),o.props=new B0(n==null?void 0:n.props),o}return r}(ue);M0(D0,"controlType","employee-column"),M0(D0,"controlFieldType",u.FieldTypes.EMPLOYEES);var XA={Designer:pn,Runtime:D0,Property:B0};function Xy(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 L0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qy(e)}function Sde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function Ede(e,t){return t&&(Ide(t)==="object"||typeof t=="function")?t:Xy(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}var Ide=function(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 Nde(e){var t=Cde();return function(){var n=Qy(e),o;if(t){var i=Qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ede(this,o)}}var F0=function(e){Sde(r,e);var t=Nde(r);function r(n){$de(this,r);var o;o=t.call(this,n),L0(Xy(o),"lineEllipsis",void 0),L0(Xy(o),"showLinkOperation",void 0),L0(Xy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new St(n==null?void 0:n.linkOperationOption);var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(K);function x0(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 er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jy(e)}function Ade(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function Mde(e,t){return t&&(kde(t)==="object"||typeof t=="function")?t:x0(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}var kde=function(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 Lde(e){var t=Dde();return function(){var n=Jy(e),o;if(t){var i=Jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mde(this,o)}}var tr=function(e){Ade(r,e);var t=Lde(r);function r(n){Bde(this,r);var o;return o=t.call(this,n),er(x0(o),"props",void 0),er(x0(o),"children",void 0),o.props=new F0(n==null?void 0:n.props),o}return r}(ie);er(tr,"controlType","approval-status-column"),er(tr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),er(tr,"controlIcon","approval-status-column"),er(tr,"excludes",[]),er(tr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function z0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zy(e){return Zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zy(e)}function Fde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y0(e,t)}function xde(e,t){return t&&(Vde(t)==="object"||typeof t=="function")?t:z0(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}var Vde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gde(e){var t=zde();return function(){var n=Zy(e),o;if(t){var i=Zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xde(this,o)}}var QA=function(e){Fde(r,e);var t=Gde(r);function r(n){jde(this,r);var o;return o=t.call(this,n),G0(z0(o),"props",void 0),G0(z0(o),"children",void 0),o.props=new F0(n==null?void 0:n.props),o}return r}(ue);G0(QA,"controlType","approval-status-column");var JA={Designer:tr,Runtime:QA,Property:F0},Yde=Object.freeze({__proto__:null,VarcharColumn:k1,TextColumn:z1,DecimalColumn:K1,TimescopeColumn:nA,TimestampColumn:lA,ArrayColumn:pA,DepartmentColumn:gA,AutoNumberColumn:$A,FileColumn:IA,ImageColumn:BA,PeopleColumn:kA,LocationColumn:VA,CustomColumn:HA,OrderColumn:g1,OperationColumn:R1,EmployeeColumn:XA,ApprovalStatusColumn:JA});function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ev(e){return ev=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ev(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function Hde(e,t){return t&&(qde(t)==="object"||typeof t=="function")?t:zt(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}var qde=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ude(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tM(e){var t=Ude();return function(){var n=ev(e),o;if(t){var i=ev(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hde(this,o)}}var Wde=function(e){eM(r,e);var t=tM(r);function r(n){ZA(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(qt),tv=function(e){eM(r,e);var t=tM(r);function r(n){ZA(this,r);var o;o=t.call(this,n),Gt(zt(o),"search",void 0),Gt(zt(o),"cancel",void 0),Gt(zt(o),"searchType",void 0),Gt(zt(o),"labelPosition",void 0),Gt(zt(o),"viewType",void 0),Gt(zt(o),"isLoading",void 0),Gt(zt(o),"custom",void 0),Gt(zt(o),"queryTypeMap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;o.viewType=(f=n==null?void 0:n.viewType)!==null&&f!==void 0?f:"mini";var l;o.search=new Et((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Et((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(b){return new Et(b)});var v;return o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[],o}return r}(cu);Gt(tv,"RuntimeRules",Wde);function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nv(e){return nv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nv(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&&U0(e,t)}function Qde(e,t){return t&&(Jde(t)==="object"||typeof t=="function")?t:nM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}var Jde=function(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 epe(e){var t=Zde();return function(){var n=nv(e),o;if(t){var i=nv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qde(this,o)}}var W0=function(e){Xde(r,e);var t=epe(r);function r(n){Kde(this,r);var o;return o=t.call(this,n),q0(nM(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(Fw);q0(W0,"controlType","simple-search"),q0(W0,"setting",[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function K0(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 X0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rv(e){return rv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rv(e)}function npe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function rpe(e,t){return t&&(ope(t)==="object"||typeof t=="function")?t:K0(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}var ope=function(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 upe(e){var t=ipe();return function(){var n=rv(e),o;if(t){var i=rv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rpe(this,o)}}var rM=function(e){npe(r,e);var t=upe(r);function r(n){tpe(this,r);var o;o=t.call(this,n),X0(K0(o),"props",void 0),X0(K0(o),"children",void 0),o.props=new tv(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(Vw);X0(rM,"controlType","simple-search");var oM={Designer:W0,Runtime:rM,Property:tv},cpe=Object.freeze({__proto__:null,SimpleSearch:oM});function iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lpe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ov(e)}function ape(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function spe(e,t){return t&&(ype(t)==="object"||typeof t=="function")?t:iM(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}var ype=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dpe(e){var t=vpe();return function(){var n=ov(e),o;if(t){var i=ov(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return spe(this,o)}}var uM=function(e){ape(r,e);var t=dpe(r);function r(n){fpe(this,r);var o;o=t.call(this,n),lpe(iM(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}(su);function V_e(e){return e}var ppe={fields:[{key:"wholeRow",type:"boolean",component:"whole-row",label:"\u5145\u6EE1\u6574\u884C"}],groups:[{type:"tab",title:"\u5C5E\u6027",items:[{items:["wholeRow"]}]}]};function cM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hpe(e,t,r){return t&&fM(e.prototype,t),r&&fM(e,r),e}function lM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function bpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function Ope(e,t){return t&&(gpe(t)==="object"||typeof t=="function")?t:cM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}var gpe=function(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 Ppe(e){var t=mpe();return function(){var n=iv(e),o;if(t){var i=iv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ope(this,o)}}var aM=function(e){bpe(r,e);var t=Ppe(r);function r(n){_pe(this,r);var o;return o=t.call(this,n),lM(cM(o),"props",void 0),o.props=new uM(n==null?void 0:n.props),o}return hpe(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668Wrap"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(Gw);lM(aM,"setting",ppe);function wpe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tpe(e,t,r){return t&&sM(e.prototype,t),r&&sM(e,r),e}function uv(e){return uv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uv(e)}function $pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eP(e,t)}function Spe(e,t){return t&&(Epe(t)==="object"||typeof t=="function")?t:wpe(e)}function eP(e,t){return eP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eP(e,t)}var Epe=function(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 Cpe(e){var t=Ipe();return function(){var n=uv(e),o;if(t){var i=uv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Spe(this,o)}}var Npe=function(e){$pe(r,e);var t=Cpe(r);function r(n){return Rpe(this,r),t.call(this,n)}return Tpe(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(Hw),yM={Designer:aM,Runtime:Npe,Property:uM},Bpe=Object.freeze({__proto__:null,GridLayoutWrap:yM});function tP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ape(e){if(Array.isArray(e))return e}function Mpe(e){if(Array.isArray(e))return tP(e)}function kpe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dpe(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,c,f;try{for(r=r.call(e);!(o=(c=r.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,f=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw f}}return n}}function Lpe(){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 jpe(){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 Fpe(e,t){return Ape(e)||Dpe(e,t)||dM(e,t)||Lpe()}function vM(e){return Mpe(e)||kpe(e)||dM(e)||jpe()}function dM(e,t){if(!!e){if(typeof e=="string")return tP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tP(e,t)}}var xpe=function(e,t){var r=Array.isArray(e),n=r?e:[e];Jpe(t==null?void 0:t.events),qpe(n),Upe(n);var o=Hpe(n),i=Wpe(o,t),c=mn(Re(i,function(f){return Ype(f,t)}));return r?c:c[0]},Vpe=[u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.TITLE,u.CONTROL_TYPE.LINK,u.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],zpe=["subtable","grid-table"],Gpe=["simple-search"];function Ype(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Vpe.includes(i.type)?i.controlType="base":i.controlType="form",zpe.includes(i.type)&&(i.controlType="list"),Gpe.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),he(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),he(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),he(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var c;i.type="attachment",i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(he(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(he(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var l,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((l=i.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(R,S){var k=new FO.Designer;k.props.caption=he(R.field_name)?R.field_name.zh:R.field_name;var je=k.toSchema();je.id=R.header_id;var pe=i.children[0].children[S].children[0];return pe&&(je.children=[pe]),je}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(R){R.label=he(R.text)?R.text.zh:R.text,R.id=R.id||R.opt_id||R.optId||R.data_id}),i=e),e.type==="grid-row"){var y=24/i.children.length;i.children=i.children.map(function(R){var S=new Oa.Designer;S.props.span=y;var k=S.toSchema();return k.children.push(R),k})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var v=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],O={};v&&(pM(i,t),O.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.props.is_show_chn),b&&(O.unit=b.props.data_bind,i.props.default_value={unit:b.props.value}),i.props.dataBind=O,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var p=i==null?void 0:i.children[0],g=i==null?void 0:i.children[1],_={},m={};p&&(pM(i,t),i.id=p.id,_.amount=p.props.data_bind,i.props.range_min=gn(p.props.range_min),i.props.range_max=gn(p.props.range_max),m.amount=gn(p.props.value),i.props.required=p.props.required,i.props.is_hide=p.props.is_hide,i.props.default_state=p.props.default_state,i.props.caption=he(p.props.caption)?p.props.caption.zh:p.props.caption,i.props.is_hide_caption=p.props.is_hide_caption,i.props.showUpperCase=p.props.is_show_chn),g&&(_.currency=g.props.data_bind,m.currency=g.props.value,i.props.datasourceBind=g.props.datasource_bind,i.props.options=g.props.options.map(function(R){return{label:R.text,value:R.value}})),i.props.dataBind=_,i.props.defaultValue=m,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],P=i==null?void 0:i.children[1];i.props.placeholderStart=he(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=he(e.props.caption)?e.props.caption.zh:e.props.caption;var $={};w&&($.min=w.props.data_bind),P&&($.max=P.props.data_bind),i.props.dataBind=$,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=he(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=gn(e.props.range_min),i.props.range_max=gn(e.props.range_max),i.props.defaultValue=gn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),Zpe(i,t==null?void 0:t.control_events),i}function pM(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,c=e.id,f=e.children[0].id;n.forEach(function(l){l.id===c&&(l.id=f);var a=l.show_controls.findIndex(function(y){return y===c}),s=l.hide_controls.findIndex(function(y){return y===c});a>-1&&l.show_controls.splice(a,1,f),s>-1&&l.hide_controls.splice(s,1,f)}),i.forEach(function(l){l.ctrl_id===c&&(l.id=f)})}}function Hpe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Pg.Designer,n=r.toSchema();return n.children=e,[n]}function qpe(e){e.forEach(function(t){t.children&&Qpe(t.children)})}function Upe(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,c=r[n],f=(o=r[n])===null||o===void 0||(i=o.children)===null||i===void 0?void 0:i[0];c.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function Wpe(e,t){var r,n,o,i,c;if(!(Array.isArray(e)&&e.length===1))return e;var f=e[0];if(f.type!=="list-page")return e;var l=f.props,a=f.children,s=Fpe(a,3),y=s[0],v=s[1],b=s[2];Kpe(y),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,Xpe(b,v);var O,p=(O=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&O!==void 0?O:t==null?void 0:t.dataCode,g,_=((g=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:p)?"".concat(p,"_selectMore"):void 0,m,w=(m=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&m!==void 0?m:[],P=new bg.Designer;P.props.datasourceBind=new J({dataCode:p,svcCode:_,orders:PP(w)}),P.props.isShowSubList=l.is_show_sublist,P.props.triggerType=l.timing_type,P.props.triggerFieldCode=l.ctrl_field_code,l==null||(c=l.sublist_page)===null||c===void 0||c.sublists.forEach(function(R){R.title=he(R.title)?R.title.zh:R.title}),P.props.sublistPage=l.sublist_page;var $=P.toSchema();return $.children.push(y,b),[$]}function Kpe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=he(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Xpe(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:he(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=he(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var c;n.props.edit=(c=r.edit)!==null&&c!==void 0?c:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new J({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function Qpe(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function Jpe(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 Zpe(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var c;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(c=t[e.id][i]).push.apply(c,vM(e.props.events[i].map(function(f){return f.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,vM(t[e.id].on_blur))}}}var e_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return t_e(i)}));return r?o:o[0]};function t_e(e,t){if(e.type===u.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===u.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new xe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var n_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return r_e(i)}));return r?o:o[0]};function r_e(e,t){return[u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.FORM_SELECT_BUTTON,u.CONTROL_TYPE.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===u.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var o_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return i_e(i)}));return r?o:o[0]};function i_e(e,t){if(e.props.icon){var r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}var u_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return f_e(i)}));return r?o:o[0]},c_e=[u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.CARD_GROUP];function f_e(e,t){return e.type===u.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(c_e.includes(r.type))return r;var n=new CO.Designer,o=new Oa.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var l_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=mn(Re(n,function(i){return a_e(i)}));return r?o:o[0]};function a_e(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var s_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return y_e(i)});return r?o:o[0]};function y_e(e,t){return e.type===u.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return d_e(i)});return r?o:o[0]};function _n(e,t){e.field_code&&(e.field_type=t)}function d_e(e,t){var r,n=(r={},U(r,u.CONTROL_TYPE.TITLE,u.FieldTypes.AUTO_NUMBER),U(r,u.CONTROL_TYPE.ADDRESS,u.FieldTypes.ADDRESS),U(r,u.CONTROL_TYPE.ATTACHMENT,u.FieldTypes.FILE),U(r,u.CONTROL_TYPE.AUTO_NUMBER,u.FieldTypes.AUTO_NUMBER),U(r,u.CONTROL_TYPE.CHECKBOX,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.DATE_PICKER,u.FieldTypes.TIMESTAMP),U(r,u.CONTROL_TYPE.DEPARTMENT,u.FieldTypes.DEPARTMENTS),U(r,u.CONTROL_TYPE.EMPLOYEE,u.FieldTypes.EMPLOYEES),U(r,u.CONTROL_TYPE.EMPLOYEE2,u.FieldTypes.EMPLOYEES),U(r,u.CONTROL_TYPE.IMAGE,u.FieldTypes.IMAGE),U(r,u.CONTROL_TYPE.INPUT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.NUMBER,u.FieldTypes.DECIMAL),U(r,u.CONTROL_TYPE.RADIO,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.RICH_TEXT,u.FieldTypes.TEXT),U(r,u.CONTROL_TYPE.SCORE,u.FieldTypes.DECIMAL),U(r,u.CONTROL_TYPE.SELECT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.SELECT_MULTIPLE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SELECT_RELATION,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.TEXTAREA,u.FieldTypes.TEXT),U(r,u.CONTROL_TYPE.TREE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SEARCH_DATE_RANGE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SEARCH_INPUT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.SEARCH_NUMBER_RANGE,u.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&_n(e.props.data_bind,n[e.type]),e.type===u.CONTROL_TYPE.AMOUNT&&(_n(e.props.data_bind.amount,u.FieldTypes.DECIMAL),_n(e.props.data_bind.currency,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.CALC&&(_n(e.props.data_bind.result,u.FieldTypes.DECIMAL),_n(e.props.data_bind.unit,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.DATE_RANGE&&(_n(e.props.data_bind.min,u.FieldTypes.TIMESTAMP),_n(e.props.data_bind.max,u.FieldTypes.TIMESTAMP)),e.type===u.CONTROL_TYPE.VUE_FORM_ITEM){var o;_n(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY)}return e}var p_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return __e(i)});return r?o:o[0]};function __e(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var h_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return b_e(i)});return r?o:o[0]};function b_e(e,t){return e.type===u.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[u.FieldTypes.VARCHAR,u.FieldTypes.TEXT,u.FieldTypes.AUTO_NUMBER].includes((n=r.props)===null||n===void 0||(o=n.data_bind)===null||o===void 0?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var O_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return g_e(i)});return r?o:o[0]};function g_e(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var m_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return P_e(i)});return r?o:o[0]};function P_e(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var w_e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Re(n,function(i){return R_e(i)});return r?o:o[0]};function R_e(e,t){return e.type===u.CONTROL_TYPE.TITLE&&e.props.config.push(u.TitleConfigEnum.ShowTitle),e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===u.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var c;if(r.children=(c=r==null?void 0:r.children)!==null&&c!==void 0?c:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,l,a,s,y,v,b=new Bo.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(f=r.props)===null||f===void 0?void 0:f.check.content,b.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,b.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,b.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((y=r.props)===null||y===void 0)&&y.check.is_show&&r.children.push(b.toSchema()),(v=r.props)===null||v===void 0||delete v.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var O,p,g,_,m,w,P=new Bo.Designer;Object.defineProperty(P,"id",{value:"listPageEditBtnId"}),P.props.code="edit",P.props.icon="iconbianji1",P.props.command="edit",P.props.content=(O=r.props)===null||O===void 0?void 0:O.edit.content,P.props.priorityProcess=(p=r.props)===null||p===void 0?void 0:p.edit.priority_process,P.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,P.props.formKey=(_=r.props)===null||_===void 0?void 0:_.edit.form_key,!((m=r.props)===null||m===void 0)&&m.edit.is_show&&r.children.push(P.toSchema()),(w=r.props)===null||w===void 0||delete w.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var $,R,S,k,je,pe,_e=new Bo.Designer;Object.defineProperty(_e,"id",{value:"listPageDeleteBtnId"}),_e.props.code="delete",_e.props.icon="iconlajitong",_e.props.command="delete",_e.props.content=($=r.props)===null||$===void 0?void 0:$.delete.content,_e.props.priorityProcess=(R=r.props)===null||R===void 0?void 0:R.delete.priority_process,_e.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,_e.props.formKey=(k=r.props)===null||k===void 0?void 0:k.delete.form_key,_e.props.needConfirm=!0,_e.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((je=r.props)===null||je===void 0)&&je.delete.is_show&&r.children.push(_e.toSchema()),(pe=r.props)===null||pe===void 0||delete pe.delete}}}),[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var _M={"v1.0":xpe,"v2.0":e_e,"v2.1":n_e,"v2.2":o_e,"v2.3":u_e,"v2.4":l_e,"v2.5":s_e,"v2.6":v_e,"v2.7":p_e,"v2.8":h_e,"v2.9":O_e,"v2.10":m_e,"v3.0":w_e,"v3.1":function(){}};const hM=(e,t)=>{const r=bM(e),n=bM(t),o=r.pop(),i=n.pop(),c=mM(r,n);return c!==0?c:o&&i?mM(o.split("."),i.split(".")):o||i?o?-1:1:0},cv=(e,t,r)=>{E_e(r);const n=hM(e,t);return PM[r].includes(n)},T_e=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,bM=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(T_e);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},OM=e=>e==="*"||e==="x"||e==="X",gM=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},$_e=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],S_e=(e,t)=>{if(OM(e)||OM(t))return 0;const[r,n]=$_e(gM(e),gM(t));return r>n?1:r<n?-1:0},mM=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=S_e(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},PM={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},wM=Object.keys(PM),E_e=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(wM.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${wM.join("|")}`)};function I_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C_e(e,t,r){return t&&RM(e.prototype,t),r&&RM(e,r),e}function TM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nP(e){return e.replace(/^v/,"")}var to=Object.keys(_M).map(function(e){return nP(e)}).sort(hM),Ri=to[to.length-1],N_e=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ri;I_e(this,e),TM(this,"toVersion",void 0),TM(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,cv(r,Ri,">")?Ht("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Ri)):(!to.includes(nP(r))||!to.includes(nP(t)))&&Ht("Version Builder: Please give me a valid version number, The valid version is: ".concat(to.join(","),", But give me a ").concat(t))}return C_e(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(cv(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(c,f,l,a){var s,y=(s=a[l+1])!==null&&s!==void 0?s:o.toVersion;co("Version Builder: current version: ".concat(f,", nextVersion: ").concat(y));var v=_M[f],b=c;if(typeof v=="function"){var O=v(c,n);O&&(b=O)}return b},r);return co("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return to.filter(function(n){return cv(n,r.schemaVersion,">=")&&cv(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Ri}}],[{key:"version",get:function(){return Ri}}]),e}();const fv=[],rP={exports:{}};let oP=!1;const B_e=window.module,A_e=window.exports,M_e=window.require;function k_e(e){return oP||(window.module=rP,window.exports=rP.exports,window.require=function(t){return e[t]},oP=!0),function(){window.module=B_e,window.exports=A_e,window.require=M_e,oP=!1}}function D_e(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),c=k_e(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const l=fv.findIndex(a=>a===r);fv.splice(l,1),fv.length===0&&c()};i.onerror=function(l){f(),o(l)},i.onload=function(){n(rP.exports),f()},document.head.appendChild(i)});return fv.push(r),r}function iP(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 $M(e,t,r={fetch:iP}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const c={exports:{}};new Function("module","exports","require",i)(c,c.exports,function(f){return t[f]}),n(c.exports)}).catch(i=>{o(i)})})}function lv(e,t){return $M(e,t)}function L_e(e,t){return Ti(this,null,function*(){return yield Promise.all(e.map(r=>lv(r,t)))})}function av(e,t,r){let n;t==="runtime"?n=class extends te{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends F{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends ee{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function j_e(e,t,r,n){return Ti(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Ti(this,null,function*(){let c=!0,f;try{c=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,f=yield lv(l,r)}catch(l){c=!1,bn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),f=av(i.id,n.type,n.tipMessage)}if(c){let l="";if(n.type==="runtime"&&i.runtimecss!==void 0){const a=new RegExp(i.id+"-runtime-.*?$");l=i.runtime.replace(a,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const a=new RegExp(i.id+"-designer-.*?$");l=i.designer.replace(a,i.designercss)}if(l!==""){const a=document.createElement("link");a.href=l,a.rel="stylesheet",document.head.appendChild(a)}}SM(n.type,f,o,c,i)}))),e==null||e.map(i=>{const[c,f]=i.split(":");if(o.has(c)===!1){const a=av(c,n.type,n.tipMessage);SM(n.type,a,o,!1,{fieldType:"",id:c,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function SM(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&bn(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&bn(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function F_e(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(c=>{const[f,l]=c.split(":");o.props.id===f&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function x_e(e,t){return Ti(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield iP(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const c=yield lv(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let l=c.find(a=>t.type==="runtime"?a.Runtime.controlType===f.id:a.Designer.controlType===f.id);l===void 0&&(l=av(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:l})})}return n})}u.ActionBar=s1,u.Address=lI,u.AddressValue=KP,u.AdvancedContainer=e1,u.Amount=qE,u.AmountDataBind=HP,u.AmountValue=qP,u.ApprovalStatusColumn=JA,u.ArrayColumn=pA,u.Attachment=kE,u.AutoNumber=SI,u.AutoNumberColumn=$A,u.AutoWidth=$v,u.BaseControlProperty=B,u.BaseControlPropertyRules=le,u.BaseControlPropertyRuntimeRules=x,u.BaseStyle=ZP,u.BatchDeleteButton=W$,u.BatchPrintListButton=N$,u.BatchPrintRecordListButton=D$,u.BatchSubmissionListButton=HR,u.Button=fR,u.Calc=MI,u.CalcDataBind=XP,u.CalcScriptEchoItem=yD,u.CalcValue=QP,u.CardGroup=GN,u.Checkbox=fS,u.Col=Oa,u.ColumnControlProperty=K,u.ColumnControlPropertyRules=pt,u.ColumnOptionAndDataSourcePropertyRules=dd,u.CreateFormListButton=LR,u.CustomAttributeItem=Cv,u.CustomColumn=HA,u.CustomPermissionItem=vL,u.DEFAULT_LOCALE=lP,u.Dashboard=QT,u.DataBind=xe,u.DataSourceBind=J,u.DataSourceDataSetValue=VP,u.DataSourceOrderItem=Ev,u.DataSourceParamItem=aL,u.DataStorageDoc=AP,u.DataView=Pg,u.DatePicker=BS,u.DateRange=zS,u.DecimalColumn=K1,u.Department=OI,u.Department2=aN,u.DepartmentColumn=gA,u.DepartmentEntity=sv,u.DesignerColumnControl=ie,u.DesignerControl=F,u.DesignerFormControl=A,u.DesignerLayoutControl=Y,u.DesignerListControl=tu,u.DesignerSearchControl=Fw,u.DesignerWrapControl=Gw,u.DisplayBoListItem=Ai,u.Divider=mR,u.ElectronicSignature=XC,u.ElectronicSignatureConfig=lR,u.Employee=IE,u.Employee2=xC,u.EmployeeColumn=XA,u.EventLogic=EP,u.Explain=Tu,u.ExportListButton=nT,u.ExportRecordListButton=cT,u.ExportTemplate=Hd,u.FieldBindItem=DP,u.FieldFilterCondition=Bi,u.FieldFilterConditions=Sv,u.FieldTypeToColumnType=dD,u.FileColumn=IA,u.FillBackBind=Bv,u.FillPayloadBind=ki,u.FlexStyleConfig=vR,u.FormBind=wn,u.FormSelectBind=MP,u.FormSelectButton=RT,u.Grid=mN,u.GridLayoutContainer=vB,u.GridLayoutWrap=yM,u.GridRow=CO,u.GridTable=I1,u.GridTableColumn=iB,u.Image=FE,u.ImageColumn=BA,u.ImageOptionSetting=YP,u.ImportRecordListButton=pT,u.Input=tS,u.InvoiceCheckButton=w$,u.JSONCopy=$t,u.JoinRelation=xP,u.Language=sL,u.LayoutControlProperty=V,u.LeftVariable=FP,u.LimitDate=Ru,u.Link=rR,u.LinkOperationOption=St,u.ListBind=Ni,u.ListControlProperty=_o,u.ListSelectButton=AT,u.ListView=bg,u.ListViewSelect=c$,u.LocationColumn=VA,u.MetaAutoWidth=BP,u.MetaWidth=Ci,u.MultistageFillingItem=Te,u.Number=TS,u.ObjectDataBind=Di,u.OperationButton=Bo,u.OperationColumn=R1,u.OperationItem=Et,u.OptObject=ew,u.OptionAndDataSourcePropertyRules=Tn,u.OptionSetting=Mv,u.OrderColumn=g1,u.OrganizationDataSourceBind=zP,u.OrganizationSelection=hN,u.Page=XB,u.Pagination=VT,u.PeopleColumn=kA,u.Position=u1,u.PositioningContainer=r1,u.PrintTemplate=yR,u.Property=ee,u.PropertyRules=Z,u.PropertyRuntimeRules=qt,u.Radio=bS,u.RangeDataBind=UP,u.RangeDateValue=WP,u.RegisterControls=Ei,u.RegularRules=Av,u.RichText=nE,u.RightVariable=or,u.Row=AN,u.RulesMessage=h,u.RuntimeColumnControl=ue,u.RuntimeControl=te,u.RuntimeFormControl=M,u.RuntimeLayoutControl=W,u.RuntimeListControl=ld,u.RuntimeSearchControl=Vw,u.RuntimeWrapControl=Hw,u.SUBTABLE_DEFAULT_MAX_HEIGHT=sR,u.Score=ZE,u.SearchControlProperty=cu,u.SearchDateRange=eC,u.SearchInput=$C,u.SearchNumberRange=YI,u.Select=yE,u.SelectMultiple=OE,u.SelectRelation=hC,u.SelectedContentConfig=Mi,u.SimpleSearch=oM,u.SubListItem=LP,u.SubListPageConfig=jP,u.SubTable=d1,u.SubTableColumn=FO,u.SubTableRow=eB,u.SubmissionRecordListButton=XR,u.SuperDataSourceBind=fo,u.Tab=SB,u.TabPane=PB,u.Text=Jw,u.TextColumn=z1,u.TextOcrButton=p$,u.Textarea=KS,u.TimescopeColumn=nA,u.TimestampColumn=lA,u.Title=IR,u.Toolbox=MB,u.Tree=AC,u.TreeDataSourceBind=Nv,u.UndersignedPerson=Yd,u.UserEntity=yv,u.VarcharColumn=k1,u.VersionBuilder=N_e,u.ViewOperationItem=JP,u.VueFormItem=cC,u.WPS=rN,u.WPSSetting=aR,u.Watcher=$P,u.WpsOperationItem=qd,u.WrapControlProperty=su,u.baseControls=dG,u.camelizeKeys=PP,u.columnControls=Yde,u.controlHooksEmitter=fw,u.createValidator=cw,u.debounce=YD,u.decamelizeKeys=mn,u.defineArrayParent=Pw,u.defineControlArrayToProperty=dt,u.defineParent=Jv,u.error=Ht,u.formControls=yee,u.genNonDuplicateId=rt,u.getHackerControl=av,u.getNotRepeatItems=mP,u.initExpression=bo,u.initImageOptions=yL,u.initLinkOperationRules=Qt,u.initOptionAndDataSourceRules=Vi,u.initOptions=yt,u.initSuperDataSourceRules=vo,u.isArray=On,u.isBuiltInControls=qD,u.isFunction=jD,u.isJSONArray=zD,u.isJSONObject=GD,u.isLanguageObject=he,u.isNumber=Pv,u.isNumberAndEmptyStringArray=VD,u.isNumberArray=xD,u.isObject=LD,u.isPlainObject=mv,u.isString=gP,u.isStringArray=FD,u.layoutControls=Xce,u.listControls=kle,u.loadRemoteControl=lv,u.loadRemoteControls=L_e,u.loadScriptFromFetch=$M,u.loadScriptFromTag=D_e,u.log=co,u.logerror=pP,u.loop=Re,u.loopFormSchema=bv,u.nativeFetch=iP,u.noop=vD,u.referenceError=hv,u.registerByteluckControls=x_e,u.registerCustomControls=j_e,u.searchControls=cpe,u.setPropertyDontEnum=mw,u.toNumberOrEmpty=gn,u.updateValueFromKeys=bP,u.upgradeCustomControlSchema=F_e,u.wait=HD,u.warn=bn,u.wrapControls=Bpe,Object.defineProperty(u,"__esModule",{value:!0})});
|