@byteluck-fe/model-driven-upgrade 2.6.0-alpha.1 → 2.6.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/VersionBuilder.js +34 -32
- package/dist/esm/index.js +2 -2
- package/dist/esm/upgrade/index.js +27 -27
- package/dist/esm/upgrade/v1_0.js +182 -182
- package/dist/esm/upgrade/v2_0.js +2 -2
- package/dist/esm/upgrade/v2_1.js +10 -10
- package/dist/esm/upgrade/v2_10.js +3 -3
- package/dist/esm/upgrade/v2_2.js +13 -13
- package/dist/esm/upgrade/v2_3.js +3 -3
- package/dist/esm/upgrade/v2_4.js +1 -1
- package/dist/esm/upgrade/v2_5.js +1 -1
- package/dist/esm/upgrade/v2_6.js +3 -3
- package/dist/esm/upgrade/v2_7.js +5 -5
- package/dist/esm/upgrade/v2_8.js +4 -4
- package/dist/esm/upgrade/v2_9.js +3 -3
- package/dist/esm/upgrade/v3_0.js +51 -51
- package/dist/esm/upgrade/v3_1.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/VersionBuilder.d.ts +11 -11
- package/dist/types/index.d.ts +2 -2
- package/dist/types/types.d.ts +11 -11
- package/dist/types/upgrade/index.d.ts +17 -17
- package/dist/types/upgrade/v1_0.d.ts +3 -3
- package/dist/types/upgrade/v2_0.d.ts +3 -3
- package/dist/types/upgrade/v2_1.d.ts +3 -3
- package/dist/types/upgrade/v2_10.d.ts +3 -3
- package/dist/types/upgrade/v2_2.d.ts +3 -3
- package/dist/types/upgrade/v2_3.d.ts +3 -3
- package/dist/types/upgrade/v2_4.d.ts +3 -3
- package/dist/types/upgrade/v2_5.d.ts +3 -3
- package/dist/types/upgrade/v2_6.d.ts +3 -3
- package/dist/types/upgrade/v2_7.d.ts +3 -3
- package/dist/types/upgrade/v2_8.d.ts +3 -3
- package/dist/types/upgrade/v2_9.d.ts +3 -3
- package/dist/types/upgrade/v3_0.d.ts +3 -3
- package/dist/types/upgrade/v3_1.d.ts +3 -3
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(X,ae){typeof exports=="object"&&typeof module!="undefined"?ae(exports):typeof define=="function"&&define.amd?define(["exports"],ae):(X=typeof globalThis!="undefined"?globalThis:X||self,ae(X.modelDrivenUpgrade={}))})(this,function(X){"use strict";var ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",io="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",uo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ao="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lo="{caption}\u5FC5\u586B",so="\u8BF7\u8F93\u5165\u6807\u9898",co="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",fo="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",po="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",yo="\u8BF7\u7ED1\u5B9A\u8868\u5355",vo="\u8BF7\u7ED1\u5B9A\u5217\u8868",ho="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",_o="\u8BF7\u8F93\u5165\u663E\u793A\u503C",bo="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",go="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",mo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Eo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Io="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Oo="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wo="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ao="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",So="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ro="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Po="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Co="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bo="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",To="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ko="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Do="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",$o="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Fo="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",No="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Lo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xo="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Mo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",jo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ho="\u8BF7\u9009\u62E9\u7701",Uo="\u8BF7\u9009\u62E9\u5E02",Vo="\u8BF7\u9009\u62E9\u533A",qo="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Wo="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",zo="\u8BF7\u8F93\u5165\u5217\u5BBD",Ko="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Go="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Xo="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Jo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Zo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Yo="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",eu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",nu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ru="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",iu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ou="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",lu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",su="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",fu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",du="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",yu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",vu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_u={isNotNumber:ae,isNotString:io,isNotObject:oo,isNotArray:uo,isNotBoolean:ao,runtimeRequired:lo,pleaseEnterCaption:so,pleaseEnterCaptionTip:co,pleaseEnterPlaceholder:fo,pleaseEnterFieldCode:po,pleaseEnterForm:yo,pleaseEnterList:vo,pleaseEnterProcess:ho,pleaseEnterLabel:_o,pleaseEnterValue:bo,bizKeyNotBindFiled:go,pleaseSelectOneField:mo,pleaseEnterNumberRange:Eo,pleaseEnterAValueGreaterThanMin:Io,pleaseEnterAValueLessThanMax:Oo,numberRangeSetError:wo,stringRangeError:Ao,attachmentMaxSize:So,pleaseEnterTotalScoreSetting:Ro,theTotalScoreMustNotBeLessThan1:Po,scoreDefaultValueRange:Co,attachmentLimitError:Bo,PleaseReselectTheOptionalQuantity:To,TheMaximumLengthIsGreaterThanTheMinimumLength:ko,TheMinimumLengthIsGreaterThanTheMaximumLength:Do,PleaseSelectTheCorrectOptionSettings:$o,optionIdIsRepeat:Fo,optionIsRequired:No,pleaseEnterDataCode:Lo,pleaseEnterValueFieldCode:xo,pleaseEnterSvcCode:Mo,pleaseBindAtLeastOneDisplayValue:jo,pleaseSelectProvince:Ho,pleaseSelectCity:Uo,pleaseSelectDistrict:Vo,limitRowsCannotBeLessThan0:qo,TheNumberOfRowsCannotBeLessThanMinRows:Wo,pleaseEnterColumnWidth:zo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ko,pleaseCompleteAllRulesAndConditions:Go,pleaseSelectControl:Xo,pleaseSelectAtLeastOneColumn:Qo,pleaseSelectFillBackMode:Jo,pleaseSelectDashboard:Zo,rootNodeIsRequired:Yo,theViewNameCannotBeEmpty:eu,pleaseSelectOcrType:tu,pleaseSelectAtLeastOneFieldToFillIn:nu,pleaseChooseAtLeastOne:ru,pleaseEnterButtonContent:iu,pleaseEnterDataCodeInDataSetting:ou,pleaseEnterValueFieldCodeInDataSetting:uu,pleaseEnterSvcCodeInDataSetting:au,pleaseBindAtLeastOneDisplayValueInDataSetting:lu,rootNodeIsRequiredInDataSetting:su,pleaseEnterMaxHeight:cu,pleaseEnter:fu,pleaseEnterWatermark:du,pleaseEnterFileName:pu,pleaseUploadAtLeastOnePrintTemplate:yu,pleaseAssignBusiness:vu,pleaseAssignExternal:hu},bu="Please enter a number",gu="Please enter a string",mu="Please enter an object",Eu="Please enter an array",Iu="Please enter a boolean",Ou="{caption} Required",wu="Please enter the title",Au="Please enter the bubble prompt",Su="Please enter the prompt text",Ru="Please bind data items",Pu="Please bind the form",Cu="Please bind the list",Bu="Please bind the process",Tu="Please enter the displayed value",ku="Please enter the stored value",Du="The document number is not bound to the data item",$u="Please select at least one display field",Fu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Nu="Please enter a value greater than or equal to {min}",Lu="Please enter a value less than or equal to {max}",xu="The value range is set incorrectly",Mu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ju="The attachment size must be between 0MB and 1000MB",Hu="Please fill in the total score setting",Uu="The total score cannot be less than 1",Vu="The default value must be between {min} and {max}",qu="The number of attachments uploaded must be between {min} and {max}",Wu="Please re-select the optional quantity",zu="The maximum length of the control must be greater than the minimum length",Ku="The minimum length of the control must be less than the maximum length",Gu="Please select the correct option setting",Xu="Option ID cannot be repeated",Qu="Please enter at least one option",Ju="Please bind the data source",Zu="Please bind the stored value",Yu="Please bind the service",ea="At least one display value must be bound",ta="Please select a province",na="Please select a city",ra="Please select a district",ia="The minimum number of lines to fill in cannot be less than 0",oa="The number of rows cannot be less than {min} rows",ua="Please enter the column width",aa="Please set the logical relationship of all rule conditions",la="Please complete all rules and conditions",sa="please select control",ca="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",da="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ya="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",va="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ha="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_a="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ba="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ma="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ea="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ia="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Oa="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Aa="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sa="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ra="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Pa={isNotNumber:bu,isNotString:gu,isNotObject:mu,isNotArray:Eu,isNotBoolean:Iu,runtimeRequired:Ou,pleaseEnterCaption:wu,pleaseEnterCaptionTip:Au,pleaseEnterPlaceholder:Su,pleaseEnterFieldCode:Ru,pleaseEnterForm:Pu,pleaseEnterList:Cu,pleaseEnterProcess:Bu,pleaseEnterLabel:Tu,pleaseEnterValue:ku,bizKeyNotBindFiled:Du,pleaseSelectOneField:$u,pleaseEnterNumberRange:Fu,pleaseEnterAValueGreaterThanMin:Nu,pleaseEnterAValueLessThanMax:Lu,numberRangeSetError:xu,stringRangeError:Mu,attachmentMaxSize:ju,pleaseEnterTotalScoreSetting:Hu,theTotalScoreMustNotBeLessThan1:Uu,scoreDefaultValueRange:Vu,attachmentLimitError:qu,PleaseReselectTheOptionalQuantity:Wu,TheMaximumLengthIsGreaterThanTheMinimumLength:zu,TheMinimumLengthIsGreaterThanTheMaximumLength:Ku,PleaseSelectTheCorrectOptionSettings:Gu,optionIdIsRepeat:Xu,optionIsRequired:Qu,pleaseEnterDataCode:Ju,pleaseEnterValueFieldCode:Zu,pleaseEnterSvcCode:Yu,pleaseBindAtLeastOneDisplayValue:ea,pleaseSelectProvince:ta,pleaseSelectCity:na,pleaseSelectDistrict:ra,limitRowsCannotBeLessThan0:ia,TheNumberOfRowsCannotBeLessThanMinRows:oa,pleaseEnterColumnWidth:ua,pleaseSetTheLogicalRelationshipOfAllRuleConditions:aa,pleaseCompleteAllRulesAndConditions:la,pleaseSelectControl:sa,pleaseSelectDashboard:ca,theViewNameCannotBeEmpty:fa,pleaseSelectOcrType:da,pleaseSelectAtLeastOneFieldToFillIn:pa,pleaseChooseAtLeastOne:ya,pleaseEnterButtonContent:va,pleaseEnterDataCodeInDataSetting:ha,pleaseEnterValueFieldCodeInDataSetting:_a,pleaseEnterSvcCodeInDataSetting:ba,pleaseBindAtLeastOneDisplayValueInDataSetting:ga,rootNodeIsRequiredInDataSetting:ma,pleaseEnterMaxHeight:Ea,pleaseEnter:Ia,pleaseEnterWatermark:Oa,pleaseEnterFileName:wa,pleaseUploadAtLeastOnePrintTemplate:Aa,pleaseAssignBusiness:Sa,pleaseAssignExternal:Ra},Ca="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ta="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ka="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Da="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="{caption}\u5FC5\u9808",Fa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",La="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ma="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ja="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ha="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ua="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qa="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Wa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",za="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ka="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ga="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Qa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Za="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ya="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",el="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tl="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nl="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rl="\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",il="\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",ol="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ul="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",al="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ll="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sl="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cl="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fl="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",dl="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pl="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yl="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vl="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hl="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_l="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bl="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gl="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ml="please select control",El="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Il="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ol="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Al="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Sl="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Rl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Pl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Cl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Tl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",kl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Dl="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$l="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nl="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ll="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ml={isNotNumber:Ca,isNotString:Ba,isNotObject:Ta,isNotArray:ka,isNotBoolean:Da,runtimeRequired:$a,pleaseEnterCaption:Fa,pleaseEnterCaptionTip:Na,pleaseEnterPlaceholder:La,pleaseEnterFieldCode:xa,pleaseEnterForm:Ma,pleaseEnterList:ja,pleaseEnterProcess:Ha,pleaseEnterLabel:Ua,pleaseEnterValue:Va,bizKeyNotBindFiled:qa,pleaseSelectOneField:Wa,pleaseEnterNumberRange:za,pleaseEnterAValueGreaterThanMin:Ka,pleaseEnterAValueLessThanMax:Ga,numberRangeSetError:Xa,stringRangeError:Qa,attachmentMaxSize:Ja,pleaseEnterTotalScoreSetting:Za,theTotalScoreMustNotBeLessThan1:Ya,scoreDefaultValueRange:el,attachmentLimitError:tl,PleaseReselectTheOptionalQuantity:nl,TheMaximumLengthIsGreaterThanTheMinimumLength:rl,TheMinimumLengthIsGreaterThanTheMaximumLength:il,PleaseSelectTheCorrectOptionSettings:ol,optionIdIsRepeat:ul,optionIsRequired:al,pleaseEnterDataCode:ll,pleaseEnterValueFieldCode:sl,pleaseEnterSvcCode:cl,pleaseBindAtLeastOneDisplayValue:fl,pleaseSelectProvince:dl,pleaseSelectCity:pl,pleaseSelectDistrict:yl,limitRowsCannotBeLessThan0:vl,TheNumberOfRowsCannotBeLessThanMinRows:hl,pleaseEnterColumnWidth:_l,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bl,pleaseCompleteAllRulesAndConditions:gl,pleaseSelectControl:ml,pleaseSelectDashboard:El,theViewNameCannotBeEmpty:Il,pleaseSelectOcrType:Ol,pleaseSelectAtLeastOneFieldToFillIn:wl,pleaseChooseAtLeastOne:Al,pleaseEnterButtonContent:Sl,pleaseEnterDataCodeInDataSetting:Rl,pleaseEnterValueFieldCodeInDataSetting:Pl,pleaseEnterSvcCodeInDataSetting:Cl,pleaseBindAtLeastOneDisplayValueInDataSetting:Bl,rootNodeIsRequiredInDataSetting:Tl,pleaseEnterMaxHeight:kl,pleaseEnter:Dl,pleaseEnterWatermark:$l,pleaseEnterFileName:Fl,pleaseUploadAtLeastOnePrintTemplate:Nl,pleaseAssignBusiness:Ll,pleaseAssignExternal:xl},jl={zhCN:_u,enUS:Pa,jaJP:Ml},or;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(or||(or={}));var ur;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ur||(ur={}));var Hl="zh-CN";function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ar;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(ar||(ar={}));var f;(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.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.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"})(f||(f={}));var p;(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"})(p||(p={}));var T;T={},F(T,p.ARRAY,f.ARRAY_COLUMN),F(T,p.AUTO_NUMBER,f.AUTO_NUMBER_COLUMN),F(T,p.DECIMAL,f.DECIMAL_COLUMN),F(T,p.DEPARTMENTS,f.DEPARTMENT_COLUMN),F(T,p.FILE,f.FILE_COLUMN),F(T,p.IMAGE,f.IMAGE_COLUMN),F(T,p.ADDRESS,f.LOCATION_COLUMN),F(T,p.EMPLOYEES,f.EMPLOYEE_COLUMN),F(T,p.TEXT,f.TEXT_COLUMN),F(T,p.TIMESCOPE,f.TIMESCOPE_COLUMN),F(T,p.TIMESTAMP,f.TIMESTAMP_COLUMN),F(T,p.VARCHAR,f.VARCHAR_COLUMN),F(T,p.RELATION,f.VARCHAR_COLUMN);var lr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(lr||(lr={}));var sr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ul=sr+"0123456789";function ge(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?sr:Ul,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function mt(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 Vl(e){if(Array.isArray(e))return mt(e)}function ql(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 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 me(e,t,r){return Wl()?me=Reflect.construct:me=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&se(a,u.prototype),a},me.apply(null,arguments)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},le(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&&se(e,t)}function zl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Kl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Gl(){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 Xl(e,t){return t&&(Ql(t)==="object"||typeof t=="function")?t:ql(e)}function se(e,t){return se=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},se(e,t)}function dr(e){return Vl(e)||Kl(e)||Jl(e)||Gl()}var Ql=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jl(e,t){if(!!e){if(typeof e=="string")return mt(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 mt(e,t)}}function Et(e){var t=typeof Map=="function"?new Map:void 0;return Et=function(n){if(n===null||!zl(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,i)}function i(){return me(n,arguments,le(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),se(i,n)},Et(e)}function Zl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pr(e){var t=Zl();return function(){var n=le(e),i;if(t){var o=le(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Xl(this,i)}}var It=console;function Yl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t.slice(1);(n=It).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(dr(i)))}function Ee(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=t.slice(1);(n=It).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(dr(i)))}function es(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ot=function(e){fr(r,e);var t=pr(r);function r(n){cr(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?es(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(Et(Error)),ts=function(e){fr(r,e);var t=pr(r);function r(n){cr(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(Ot);function yr(e){throw new Ot(e)}function vr(e){throw new ts(e)}function ns(e){It.error(new Ot(e))}var rs=Object.prototype.toString;function hr(e,t){return rs.call(e)==="[object "+t+"]"}function is(e){return hr(e,"String")}function os(e){return hr(e,"Promise")}var us=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();os(n)?n.then(function(i){r._messageCache.clear(),r.messages[r.localeInMessageKey]=i}):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 i=this.getMessage(t);return i?this.formatMessage(i,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(i,o,u,s){if(i!==void 0){var c=i[o];if(!(u===s.length-1&&!is(c)))return c}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,i){var o=r[i];return o!==void 0?String(o):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 as(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){as(this,e)}return e.getMessage=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)},e.resetI18n=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hl;return new us({locale:r,messages:jl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function ls(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,u){return"."+u}).split("."),i=!1;return n.reduce(function(o,u,s,c){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,u)){Yl("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),o,o);return}return s===c.length-1&&!Object.is(a[u],r)&&(a[u]=r,i=!0),a[u]}},e),i}var ss=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wt={exports:{}};(function(e){(function(t){var r=function(y,_,P){if(!a(_)||v(_)||h(_)||g(_)||c(_))return _;var O,S=0,L=0;if(d(_))for(O=[],L=_.length;S<L;S++)O.push(r(y,_[S],P));else{O={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&(O[y(R,P)]=r(y,_[R],P))}return O},n=function(y,_){_=_||{};var P=_.separator||"_",O=_.split||/(?=[A-Z])/;return y.split(O).join(P)},i=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(_,P){return P?P.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},o=function(y){var _=i(y);return _.substr(0,1).toUpperCase()+_.substr(1)},u=function(y,_){return n(y,_).toLowerCase()},s=Object.prototype.toString,c=function(y){return typeof y=="function"},a=function(y){return y===Object(y)},d=function(y){return s.call(y)=="[object Array]"},v=function(y){return s.call(y)=="[object Date]"},h=function(y){return s.call(y)=="[object RegExp]"},g=function(y){return s.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,_){var P=_&&"process"in _?_.process:_;return typeof P!="function"?y:function(O,S){return P(O,y,S)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(y,_){return r(b(i,_),y)},decamelizeKeys:function(y,_){return r(b(u,_),y,_)},pascalizeKeys:function(y,_){return r(b(o,_),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(ss)})(wt);var _r={};Object.defineProperty(_r,"__esModule",{value:!0});function At(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:At(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:At(n)}return t}}var cs=_r.default=At;function z(e){if(e!==void 0)return typeof e=="object"?cs(e):e}function k(e){return br(e)&&"zh"in e}function br(e){return Object.prototype.toString.call(e)==="[object Object]"}function fs(e){return Array.isArray(e)}function Q(e){return isNaN(parseFloat(e))?"":Number(e)}function ds(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function D(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var i=n;return Array.isArray(n==null?void 0:n.children)&&(i.children=D(n.children,t)),t(i)})),r}function ps(e){return wt.exports.camelizeKeys(e)}function J(e){return wt.exports.decamelizeKeys(e)}function St(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 ys(e){if(Array.isArray(e))return St(e)}function gr(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function vs(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){gr(o,n,i,u,s,"next",c)}function s(c){gr(o,n,i,u,s,"throw",c)}u(void 0)})}}function hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _s(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bs(){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 Rt(e){return ys(e)||_s(e)||gs(e)||bs()}function gs(e,t){if(!!e){if(typeof e=="string")return St(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 St(e,t)}}var ms=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(d){return c([a,d])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Es=function(){function e(){hs(this,e),this._events=new Map,this.debug=!1}var t=e.prototype;return t.emit=function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),u=1;u<i;u++)o[u-1]=arguments[u];var s=this;return vs(function(){var c,a,d,v,h,g,I,b,E,y,_,P;return ms(this,function(O){switch(O.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];d=c.slice(),v=!0,h=!1,g=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),I=d[Symbol.iterator](),O.label=2;case 2:if(v=(b=I.next()).done)return[3,7];if(E=b.value,!c.includes(E))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),s.debug&&Ee.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Rt(o))),[4,E.apply(null,Rt(o))];case 4:return y=O.sent(),s.debug&&Ee.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.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(Rt(o),[y])),a.push(y),y===!1?[3,7]:[3,6];case 5:return _=O.sent(),ns(String(_)+":"+String(_.stack)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=O.sent(),h=!0,g=P,[3,10];case 9:try{!v&&I.return!=null&&I.return()}finally{if(h)throw g}return[7];case 10:return[2,a]}})})()},t.on=function(n,i){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(i)}else this._events.set(n,[i])},t.off=function(n,i){if(this._events.has(n)){var o=this._events.get(n),u=o==null?void 0:o.indexOf(i);o==null||o.splice(u,1)}},t.delete=function(n){this._events.has(n)&&this._events.delete(n)},t.clear=function(){this._events=new Map},e}(),Is=[];new Set(Is.map(function(e){return e.Designer.controlType}));function mr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ie(e)}function Pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ct(e,t)}function Er(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Os(e,t){return t&&(ws(t)==="object"||typeof t=="function")?t:mr(e)}function Ct(e,t){return Ct=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ct(e,t)}var ws=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function As(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bt(e){var t=As();return function(){var n=Ie(e),i;if(t){var o=Ie(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Os(this,i)}}var Oe=function e(t){C(this,e);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 i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:""},Ir=function e(t){C(this,e);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},Tt=function(e){Pt(r,e);var t=Bt(r);function r(n){C(this,r);var i;i=t.call(this,n);var o;i.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:240;var u;return i.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",i}return r}(Ir),Ss=function e(t){C(this,e),this.pc=new Tt(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Tt(t==null?void 0:t.mobile):new Tt({width:130,minWidth:180})},Or=function e(t){C(this,e);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 i;this.appId=(i=t==null?void 0:t.appId)!==null&&i!==void 0?i:""},Rs=function e(t){C(this,e);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 i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:p.VARCHAR},Ps=function(e){Pt(r,e);var t=Bt(r);function r(n){C(this,r);var i;i=t.call(this,n);var o;i.title=(o=n==null?void 0:n.title)!==null&&o!==void 0?o:"";var u;i.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var s;i.isOpenFilter=(s=n==null?void 0:n.isOpenFilter)!==null&&s!==void 0?s:!1;var c;return i.filters=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],i}return r}(Or),Cs=function e(t){C(this,e);var r,n;this.type="sublist-page",this.formBind=new Or(t==null?void 0:t.formBind);var i;this.displayFields=(i=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new Rs(u)}))!==null&&i!==void 0?i:[];var o;this.sublists=(o=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new Ps(u)}))!==null&&o!==void 0?o:[]},Bs=function e(t){C(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Ts=function e(t){C(this,e);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 i;this.displayBos=(i=t==null?void 0:t.displayBos)!==null&&i!==void 0?i:[]},wr=function e(t){var r=this;C(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:ge();var i;this.ruleId=(i=t==null?void 0:t.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var o;this.level=(o=t==null?void 0:t.level)!==null&&o!==void 0?o:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(s){if(s.children!==void 0){var c,a=new e(s);(c=r.children)===null||c===void 0||c.push(a)}else{var d,v=new kt(s);(d=r.children)===null||d===void 0||d.push(v)}}))},kt=function e(t){C(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:ge();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var i;this.symbol=(i=t==null?void 0:t.symbol)!==null&&i!==void 0?i:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new Bs(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ts(t==null?void 0:t.rightVariableBo)},ks=function e(t){C(this,e);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 i;this.fieldType=(i=t==null?void 0:t.fieldType)!==null&&i!==void 0?i:"";var o;this.propName=(o=t==null?void 0:t.propName)!==null&&o!==void 0?o:""},Ds=function e(t){C(this,e);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},$s=function e(t){C(this,e);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};function Ar(e){var t,r,n;this.filters=(n=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(s){return s.children!==void 0?new wr(s):new kt(s)}))!==null&&n!==void 0?n:[];var i;if(this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new wr(s):new kt(s)}))!==null&&i!==void 0?i:[],Er(this,ce)||Er(this,Ns)){var o,u;this.orders=(u=e==null||(o=e.orders)===null||o===void 0?void 0:o.map(function(s){return new $s(s)}))!==null&&u!==void 0?u:[]}}var ce=function e(t){var r=this;C(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var i;this.appId=(i=t==null?void 0:t.appId)!==null&&i!==void 0?i:"";var o;this.valueFieldCode=(o=t==null?void 0:t.valueFieldCode)!==null&&o!==void 0?o:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(a){var d;(d=r.displayBoList)===null||d===void 0||d.push(new Ds(a))}));var s;this.showOrder=(s=t==null?void 0:t.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",Ar.call(this,t)},Fs=function e(t){C(this,e);var r,n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var i;this.appId=(i=t==null?void 0:t.appId)!==null&&i!==void 0?i:"";var o;this.fillList=(o=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new ks(u)}))!==null&&o!==void 0?o:[]},Ns=function(e){Pt(r,e);var t=Bt(r);function r(n){C(this,r);var i;return i=t.call(this,n),Ar.call(mr(i),n),i}return r}(Fs),Ls=function e(t){C(this,e);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 i;this.errMessage=(i=t==null?void 0:t.errMessage)!==null&&i!==void 0?i:""},Sr;(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"})(Sr||(Sr={}));var l;(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"})(l||(l={}));var Dt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Dt||(Dt={}));var fe=function e(t){C(this,e);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 i;this.formKey=(i=t==null?void 0:t.formKey)!==null&&i!==void 0?i:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},xs=function e(t){C(this,e);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 i;this.widthConfig=(i=t==null?void 0:t.widthConfig)!==null&&i!==void 0?i:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"},Ms=function e(t){C(this,e);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 js(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 Hs(){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 we(e,t,r){return Hs()?we=Reflect.construct:we=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&pe(a,u.prototype),a},we.apply(null,arguments)}function de(e){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},de(e)}function Us(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pe(e,t)}function Vs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qs(e,t){return t&&(Ws(t)==="object"||typeof t=="function")?t:js(e)}function pe(e,t){return pe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},pe(e,t)}var Ws=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ft(e){var t=typeof Map=="function"?new Map:void 0;return Ft=function(n){if(n===null||!Vs(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,i)}function i(){return we(n,arguments,de(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),pe(i,n)},Ft(e)}function zs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zs();return function(){var n=de(e),i;if(t){var o=de(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return qs(this,i)}}var Z=function e(t){$t(this,e),this.isHide={type:"boolean"}},Ae=function(e){Us(r,e);var t=Ks(r);function r(n){return $t(this,r),t.call(this)}return r}(Ft(Array)),M=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";$t(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new xs(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};M.Rules=Z,M.RuntimeRules=Ae;function j(){return j=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},j.apply(this,arguments)}function Gs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nt(e)}function Se(e,t){return Se=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Se(e,t)}function Xs(){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 Re(e,t,r){return Xs()?Re=Reflect.construct:Re=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&Se(a,u.prototype),a},Re.apply(null,arguments)}function Qs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Lt(e){var t=typeof Map=="function"?new Map:void 0;return Lt=function(n){if(n===null||!Qs(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,i)}function i(){return Re(n,arguments,Nt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Se(i,n)},Lt(e)}var Js=/%[sdj%]/g,Rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function xt(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 N(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,i=t[0],o=t.length;if(typeof i=="function")return i.apply(null,t.slice(1));if(typeof i=="string"){var u=String(i).replace(Js,function(s){if(s==="%%")return"%";if(n>=o)return s;switch(s){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(c){return"[Circular]"}break;default:return s}});return u}return i}function Zs(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function B(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Zs(t)&&typeof e=="string"&&!e)}function Ys(e,t,r){var n=[],i=0,o=e.length;function u(s){n.push.apply(n,s),i++,i===o&&r(n)}e.forEach(function(s){t(s,u)})}function Pr(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var s=n;n=n+1,s<i?t(e[s],o):r([])}o([])}function ec(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Cr=function(e){Gs(t,e);function t(r,n){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=r,i.fields=n,i}return t}(Lt(Error));function tc(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var g=function(E){return n(E),E.length?h(new Cr(E,xt(E))):v()},I=ec(e);Pr(I,r,g)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),s=u.length,c=0,a=[],d=new Promise(function(v,h){var g=function(b){if(a.push.apply(a,b),c++,c===s)return n(a),a.length?h(new Cr(a,xt(a))):v()};u.length||(n(a),v()),u.forEach(function(I){var b=e[I];o.indexOf(I)!==-1?Pr(b,r,g):Ys(b,r,g)})});return d.catch(function(v){return v}),d}function Br(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 Tr(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]=j(j({},e[r]),n):e[r]=n}}return e}function kr(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||B(t,o||e.type))&&n.push(N(i.messages.required,e.fullField))}function nc(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(N(i.messages.whitespace,e.fullField))}var Mt={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},ye={integer:function(t){return ye.number(t)&&parseInt(t,10)===t},float:function(t){return ye.number(t)&&!ye.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"&&!ye.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Mt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Mt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Mt.hex)}};function rc(e,t,r,n,i){if(e.required&&t===void 0){kr(e,t,r,n,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;o.indexOf(u)>-1?ye[u](t)||n.push(N(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(N(i.messages.types[u],e.fullField,e.type))}function ic(e,t,r,n,i){var o=typeof e.len=="number",u=typeof e.min=="number",s=typeof e.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,d=null,v=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(v?d="number":h?d="string":g&&(d="array"),!d)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),o?a!==e.len&&n.push(N(i.messages[d].len,e.fullField,e.len)):u&&!s&&a<e.min?n.push(N(i.messages[d].min,e.fullField,e.min)):s&&!u&&a>e.max?n.push(N(i.messages[d].max,e.fullField,e.max)):u&&s&&(a<e.min||a>e.max)&&n.push(N(i.messages[d].range,e.fullField,e.min,e.max))}var Y="enum";function oc(e,t,r,n,i){e[Y]=Array.isArray(e[Y])?e[Y]:[],e[Y].indexOf(t)===-1&&n.push(N(i.messages[Y],e.fullField,e[Y].join(", ")))}function uc(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(N(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||n.push(N(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var w={required:kr,whitespace:nc,type:rc,range:ic,enum:oc,pattern:uc};function ac(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t,"string")&&!e.required)return r();w.required(e,t,n,o,i,"string"),B(t,"string")||(w.type(e,t,n,o,i),w.range(e,t,n,o,i),w.pattern(e,t,n,o,i),e.whitespace===!0&&w.whitespace(e,t,n,o,i))}r(o)}function lc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function sc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function cc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function fc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),B(t)||w.type(e,t,n,o,i)}r(o)}function dc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function pc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function yc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();w.required(e,t,n,o,i,"array"),t!=null&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function vc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}var hc="enum";function _c(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&w[hc](e,t,n,o,i)}r(o)}function bc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t,"string")&&!e.required)return r();w.required(e,t,n,o,i),B(t,"string")||w.pattern(e,t,n,o,i)}r(o)}function gc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t,"date")&&!e.required)return r();if(w.required(e,t,n,o,i),!B(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),w.type(e,s,n,o,i),s&&w.range(e,s.getTime(),n,o,i)}}r(o)}function mc(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;w.required(e,t,n,o,i,u),r(o)}function jt(e,t,r,n,i){var o=e.type,u=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(B(t,o)&&!e.required)return r();w.required(e,t,n,u,i,o),B(t,o)||w.type(e,t,n,u,i)}r(u)}function Ec(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(B(t)&&!e.required)return r();w.required(e,t,n,o,i)}r(o)}var ve={string:ac,method:lc,number:sc,boolean:cc,regexp:fc,integer:dc,float:pc,array:yc,object:vc,enum:_c,pattern:bc,date:gc,url:jt,hex:jt,email:jt,required:mc,any:Ec};function Ht(){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 Ut=Ht();function H(e){this.rules=null,this._messages=Ut,this.define(e)}H.prototype={messages:function(t){return t&&(this._messages=Tr(Ht(),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 i=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var o=t,u=r,s=n;if(typeof u=="function"&&(s=u,u={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function c(b){var E,y=[],_={};function P(O){if(Array.isArray(O)){var S;y=(S=y).concat.apply(S,O)}else y.push(O)}for(E=0;E<b.length;E++)P(b[E]);y.length?_=xt(y):(y=null,_=null),s(y,_)}if(u.messages){var a=this.messages();a===Ut&&(a=Ht()),Tr(a,u.messages),u.messages=a}else u.messages=this.messages();var d,v,h={},g=u.keys||Object.keys(this.rules);g.forEach(function(b){d=i.rules[b],v=o[b],d.forEach(function(E){var y=E;typeof y.transform=="function"&&(o===t&&(o=j({},o)),v=o[b]=y.transform(v)),typeof y=="function"?y={validator:y}:y=j({},y),y.validator=i.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=i.getType(y),y.validator&&(h[b]=h[b]||[],h[b].push({rule:y,value:v,source:o,field:b}))})});var I={};return tc(h,u,function(b,E){var y=b.rule,_=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");_=_&&(y.required||!y.required&&b.value),y.field=b.field;function P(L,R){return j(j({},R),{},{fullField:y.fullField+"."+L})}function O(L){L===void 0&&(L=[]);var R=L;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&H.warning("async-validator:",R),R.length&&y.message!==void 0&&(R=[].concat(y.message)),R=R.map(Br(y)),u.first&&R.length)return I[y.field]=1,E(R);if(!_)E(R);else{if(y.required&&!b.value)return y.message!==void 0?R=[].concat(y.message).map(Br(y)):u.error&&(R=[u.error(y,N(u.messages.required,y.field))]),E(R);var x={};if(y.defaultField)for(var A in b.value)b.value.hasOwnProperty(A)&&(x[A]=y.defaultField);x=j(j({},x),b.rule.fields);for(var oe in x)if(x.hasOwnProperty(oe)){var __=Array.isArray(x[oe])?x[oe]:[x[oe]];x[oe]=__.map(P.bind(null,oe))}var ro=new H(x);ro.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),ro.validate(b.value,b.rule.options||u,function(ir){var ue=[];R&&R.length&&ue.push.apply(ue,R),ir&&ir.length&&ue.push.apply(ue,ir),E(ue.length?ue:null)})}}var S;y.asyncValidator?S=y.asyncValidator(y,b.value,O,b.source,u):y.validator&&(S=y.validator(y,b.value,O,b.source,u),S===!0?O():S===!1?O(y.message||y.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(L){return O(L)})},function(b){c(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ve.hasOwnProperty(t.type))throw new Error(N("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"?ve.required:ve[this.getType(t)]||!1}},H.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");ve[t]=r},H.warning=Rr,H.messages=Ut,H.validators=ve;var Ic={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Oc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new H(e);return r.messages(Object.assign(Ic,t)),r}var wc=new Es;function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ac(e){if(Array.isArray(e))return e}function Sc(e){if(Array.isArray(e))return Vt(e)}function Dr(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function $r(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Dr(o,n,i,u,s,"next",c)}function s(c){Dr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Rc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pc(e,t,r){return t&&Fr(e.prototype,t),r&&Fr(e,r),e}function Cc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Lr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bc(){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 Tc(){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 xr(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(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){Cc(e,i,r[i])})}return e}function kc(e){return Ac(e)||Lr(e)||Mr(e)||Bc()}function qt(e){return Sc(e)||Lr(e)||Mr(e)||Tc()}function Mr(e,t){if(!!e){if(typeof e=="string")return Vt(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 Vt(e,t)}}var jr=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(d){return c([a,d])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},$=function(){function t(n){var i=this;Rc(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ur,this.removeSetting=Hr,this._callControlHooks("preInstance",n);var o=Nr(this,t)?this.constructor:void 0,u=o.controlName,s=o.controlIcon,c=o.controlType,a=o.controlFieldType,d=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,g=o.setting;u&&s&&c||vr("The ".concat(h," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:ge(10),this.name=u,this.icon=s;var b;this.type=(b=n==null?void 0:n.type)!==null&&b!==void 0?b:c,this.props=new M(n==null?void 0:n.props,(Nr(this,t)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=z(g);var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:a,this.eventKeys=z(d),this.customEvents=z(v),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}var r=t.prototype;return r._callControlHooks=function(){for(var i=arguments.length,o=new Array(i),u=0;u<i;u++)o[u]=arguments[u];var s,c=kc(o),a=c[0],d=c.slice(1);return(s=wc).emit.apply(s,[a,this].concat(qt(d)))},r.preUpdate=function(i,o){this._callControlHooks("preUpdateProps",i,o)},r.postUpdate=function(i,o){this._callControlHooks("postUpdateProps",i,o)},r.updateProps=function(i,o){this.preUpdate(i,o),ls(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return $r(function(){var o,u,s;return jr(this,function(c){switch(c.label){case 0:return o=xr({},i.rules),[4,i._callControlHooks("preValidate",o)];case 1:return u=c.sent(),s=u[u.length-1],[2,s===!1?void 0:s]}})})()},r.validate=function(i,o){var u=this;return $r(function(){var s,c,a,d;return jr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:s=v.sent(),c=s!==void 0?s:xr({},u.rules),Array.isArray(o)&&o.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=Oc(c,i),v.label=2;case 2:return v.trys.push([2,4,,5]),[4,a.validate(u.props)];case 3:return v.sent(),[2,!0];case 4:throw d=v.sent(),d.control||(d.control=u),d;case 5:return[2]}})})()},r.toDataBindModel=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,u=this.id,s=this.type,c=this.props,a=c.dataBind,d=c.datasourceBind,v=c.optionConfig,h=c.caption,g=c.required,I=c.maxLength,b=c.options,E=c.encrypted,y=c.encryptedMode;if(!(!o&&!a&&!d)){var _={parentId:i,fieldType:o,controlId:u,caption:h,type:s,props:{}};switch(a&&(_.dataBind=a),v){case"datasource":case void 0:d&&(_.datasourceBind=d);break;case"custom":_.props.options=b;break}return g!==void 0&&(_.required=g),I!==void 0&&(_.maxLength=I),E!==void 0&&(_.encrypted=E),y!==void 0&&(_.encryptedMode=y),_}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:z(this.props),fieldType:this.fieldType,controlType:this.controlType}},t.updateBasicControl=function(i,o){if(i==="setting"){if(o.add){var u;(u=this.setting).push.apply(u,qt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},Pc(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();$.controlName="\u63A7\u4EF6",$.controlIcon="icon",$.controlType="control",$.controlEventKeys=[],$.controlCustomEvents=[],$.setting=[],$.__is_control__=!0,$.removeSettingItem=Hr,$.updateSettingItem=Ur;function Hr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i=typeof n!="string",o=t.setting.findIndex(function(c){return c.key===(i?n.key:n)});if(o!==-1){var u,s;i?t.setting[o].showItems=(u=t.setting[o].showItems)===null||u===void 0?void 0:u.filter(function(c){return!n.hideItems.includes(c)}):t.setting.splice(o,1),i&&!(!((s=t.setting[o].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(o,1)}})}function Ur(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(i){var o=r.setting.find(function(a){return a.key===i});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var u,s=(u=t.type)!==null&&u!==void 0?u:"replace";if(s==="replace")o.showItems=t.showItems;else{var c;(c=o.showItems).push.apply(c,qt(t.showItems))}}}})}function Dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $c(e,t,r){return t&&Vr(e.prototype,t),r&&Vr(e,r),e}function Fc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ee=function(){function t(r){Dc(this,t),this.customEvents=[],this.parent=null;var n=Fc(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,s=n.controlCustomEvents;i||vr("The ".concat(u," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:ge(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new M(r==null?void 0:r.props),this.customEvents=s;var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=r==null?void 0:r.fieldType)!==null&&v!==void 0?v:o;var h;this.pageStatus=(h=r==null?void 0:r.pageStatus)!==null&&h!==void 0?h:Dt.UNKNOWN}return $c(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var i=new n(this.props);return Array.from(i)}return[]}}]),t}();ee.controlType="control",ee.__is_control__=!0,ee.controlCustomEvents=[];function Nc(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:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:m.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:m.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(s){return s.value}),u=ds(o);o.length!==u.length?i(m.getMessage("optionIdIsRepeat")):i()},message:m.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(m.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:m.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:m.getMessage("isNotBoolean")}}}}]}}])}function Lc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(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&&Kt(e,t)}function xc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Mc(e,t){return t&&(jc(t)==="object"||typeof t=="function")?t:Lc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var jc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gt(e){var t=Hc();return function(){var n=Pe(e),i;if(t){var o=Pe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Mc(this,i)}}var Xt=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;i=t.call(this,n),i.dataBind={},i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.isHideCaption={type:"boolean"},i.labelPosition={type:"enum",enum:["top","left"]},i.defaultState={type:"enum",enum:["default","readonly"]},i.required={type:"boolean"},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}};if(xc(n.dataBind,Oe))i.dataBind={type:"object",required:!0,fields:z(o),message:m.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:m.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(s){u.fields[s]={type:"object",required:!0,fields:z(o),message:m.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(Z),Qt=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;return i=t.call(this,n),i.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:m.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(Ae),te=function(e){zt(r,e);var t=Gt(r);function r(n){Wt(this,r);var i;i=t.call(this,n);var o;i.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var u;i.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var c;i.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;i.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var d;i.labelPosition=(d=n==null?void 0:n.labelPosition)!==null&&d!==void 0?d:"top";var v;i.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"";var h;i.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new Oe(n==null?void 0:n.dataBind);var I;return i.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:"",i}return r}(M);te.Rules=Xt,te.RuntimeRules=Qt;function Uc(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 Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ce(e)}function qc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function Wc(e,t){return t&&(zc(t)==="object"||typeof t=="function")?t:Uc(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jt(e,t)}var zc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gc(e){var t=Kc();return function(){var n=Ce(e),i;if(t){var o=Ce(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Wc(this,i)}}var Zt=function(e){qc(r,e);var t=Gc(r);function r(n){Vc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new te(n==null?void 0:n.props),i}return r}($);Zt.controlEventKeys=["on_change","on_focus","on_blur"];function Xc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function Jc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function Zc(e,t){return t&&(Yc(t)==="object"||typeof t=="function")?t:Xc(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var Yc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ef(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ef();return function(){var n=Be(e),i;if(t){var o=Be(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zc(this,i)}}var nf=function(e){Jc(r,e);var t=tf(r);function r(n){Qc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new te(n==null?void 0:n.props),i}return r}(ee);function rf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Te(e)}function uf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function af(e,t){return t&&(lf(t)==="object"||typeof t=="function")?t:rf(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var lf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cf(e){var t=sf();return function(){var n=Te(e),i;if(t){var o=Te(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return af(this,i)}}var U=function(e){uf(r,e);var t=cf(r);function r(n){return of(this,r),t.call(this,n)}return r}(M);function tn(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 ff(e){if(Array.isArray(e))return tn(e)}function df(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pf(){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 qr(e){return ff(e)||df(e)||yf(e)||pf()}function yf(e,t){if(!!e){if(typeof e=="string")return tn(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 tn(e,t)}}function vf(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Wr(e,t){e.parent=t,vf(e,"parent")}function hf(e,t){e.forEach(function(r){Wr(r,t)})}var zr=Symbol("targetKey");function Kr(e){var t;return(t=e[zr])!==null&&t!==void 0?t:e}function Gr(e,t){return hf(e,t),new Proxy(e,{get:function(n,i){for(var o=arguments.length,u=new Array(o>2?o-2:0),s=2;s<o;s++)u[s-2]=arguments[s];var c;return i===zr?n:(c=Reflect).get.apply(c,[n,i].concat(qr(u)))},set:function(n,i,o){for(var u=arguments.length,s=new Array(u>3?u-3:0),c=3;c<u;c++)s[c-3]=arguments[c];var a;if(fs(e)&&i==="length"&&o===e.length)return!0;var d=(a=Reflect).set.apply(a,[n,i,o].concat(qr(s)));return br(o)&&Wr(o,t),d}})}function nn(e,t,r,n){var i=n!=null?n:e,o=Gr(Kr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Gr(Kr(s),i)},enumerable:!0})}function rn(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 _f(e){if(Array.isArray(e))return rn(e)}function Xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qr(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function bf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Qr(o,n,i,u,s,"next",c)}function s(c){Qr(o,n,i,u,s,"throw",c)}u(void 0)})}}function gf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ne(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ne=Reflect.get:ne=function(i,o,u){var s=Cf(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},ne(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(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&&on(e,t)}function If(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Of(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wf(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Af(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(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){mf(e,i,r[i])})}return e}function Sf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Rf(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Pf(e,t){return t&&(Bf(t)==="object"||typeof t=="function")?t:Xr(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}function Cf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Jr(e){return _f(e)||Of(e)||Tf(e)||wf()}var Bf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tf(e,t){if(!!e){if(typeof e=="string")return rn(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 rn(e,t)}}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 Df(e){var t=kf();return function(){var n=V(e),i;if(t){var o=V(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Pf(this,i)}}var $f=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(d){return c([a,d])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Ff=1e4,K=function(t){Ef(n,t);var r=Df(n);function n(o){gf(this,n);var u;u=r.call(this,o),u.controlType="layout";var s=If(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return u.props=new U(o==null?void 0:o.props),nn(Xr(u),"children",o==null?void 0:o.children),u.excludes=z(c),u.childrenMaxLength=a,u}var i=n.prototype;return i.judgeExcludesChildren=function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)},i.judgeJoinChildren=function(u){var s=this.judgeExcludesChildren(u);return s&&this.childrenMaxLength>this.children.length},i.validate=function(u,s){var c=this,a=this,d=function(){return ne(V(n.prototype),"validate",c)};return bf(function(){return $f(this,function(v){switch(v.label){case 0:return[4,d().call(a,u,s)];case 1:return v.sent(),[4,Promise.all(a.children.map(function(h){return h.validate(u,s)}))];case 2:return v.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=ne(V(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,d){var v=d.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(g){return!!g});return Jr(a).concat(Jr(h))}return v&&a.push(v),a},c)},i.toSchema=function(){var u=ne(V(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return Rf(Af({},u),{children:s})},n}($);K.excludes=!1,K.childrenMaxLength=Ff;function Zr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(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&&un(e,t)}function xf(e,t){return t&&(Mf(t)==="object"||typeof t=="function")?t:Zr(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var Mf=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 Hf(e){var t=jf();return function(){var n=ke(e),i;if(t){var o=ke(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return xf(this,i)}}var he=function(e){Lf(r,e);var t=Hf(r);function r(n){Nf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new U(n==null?void 0:n.props),nn(Zr(i),"children",n==null?void 0:n.children),i}return r}(ee);function Yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(e)}function Vf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&an(e,t)}function qf(e,t){return t&&(Wf(t)==="object"||typeof t=="function")?t:Yr(e)}function an(e,t){return an=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},an(e,t)}var Wf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zf();return function(){var n=De(e),i;if(t){var o=De(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return qf(this,i)}}var Gf=function(e){Vf(r,e);var t=Kf(r);function r(n,i){Uf(this,r);var o;return o=t.call(this,i),nn(Yr(o),"headers",i==null?void 0:i.headers,n),o}return r}(M);function ln(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 Xf(e){if(Array.isArray(e))return ln(e)}function ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ti(e,t,r,n,i,o,u){try{var s=e[o](u),c=s.value}catch(a){r(a);return}s.done?t(c):Promise.resolve(c).then(n,i)}function Qf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){ti(o,n,i,u,s,"next",c)}function s(c){ti(o,n,i,u,s,"throw",c)}u(void 0)})}}function Jf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 re(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(i,o,u){var s=id(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},re(e,t,r||e)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q(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&&sn(e,t)}function ed(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function td(){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 ni(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(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){Zf(e,i,r[i])})}return e}function nd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ri(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nd(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function rd(e,t){return t&&(od(t)==="object"||typeof t=="function")?t:ei(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}function id(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=q(e),e!==null););return e}function ii(e){return Xf(e)||ed(e)||ud(e)||td()}var od=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ud(e,t){if(!!e){if(typeof e=="string")return ln(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 ln(e,t)}}function ad(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ld(e){var t=ad();return function(){var n=q(e),i;if(t){var o=q(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return rd(this,i)}}var sd=function(e,t){var r,n,i,o,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(a){return function(d){return c([a,d])}}function c(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=a[0]&2?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[a[0]&2,i.value]),a[0]){case 0:case 1:i=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!i||a[1]>i[0]&&a[1]<i[3])){u.label=a[1];break}if(a[0]===6&&u.label<i[1]){u.label=i[1],i=a;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(a);break}i[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(d){a=[6,d],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},cd=function(e){Yf(r,e);var t=ld(r);function r(i){Jf(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Gf(ei(o),i==null?void 0:i.props),o}var n=r.prototype;return n.validate=function(o,u){var s=this,c=this,a=function(){return re(q(r.prototype),"validate",s)};return Qf(function(){return sd(this,function(d){switch(d.label){case 0:return[4,a().call(c,o)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return d.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=re(q(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,a){var d=a.toDataBindModel(s);if(Array.isArray(d)){var v=d.filter(function(h){return!!h});return ii(c).concat(ii(v))}return d&&c.push(d),c},u)},n.toSchema=function(){var o=re(q(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(s){return s.toSchema()});return ri(ni({},o),{props:ri(ni({},this.props),{headers:u})})},r}($);cd.controlFieldType=p.LIST;function fd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function ui(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cn(e,t)}function dd(e,t){return t&&(pd(t)==="object"||typeof t=="function")?t:fd(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},cn(e,t)}var pd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ai(e){var t=yd();return function(){var n=$e(e),i;if(t){var o=$e(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return dd(this,i)}}var vd=function(e){ui(r,e);var t=ai(r);function r(n){oi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(Z),hd=function(e){ui(r,e);var t=ai(r);function r(n){oi(this,r);var i;i=t.call(this,n);var o;i.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var s;i.fixed=(s=n==null?void 0:n.fixed)!==null&&s!==void 0?s:"none",i.autoWidth=new Ir(n==null?void 0:n.autoWidth),i.dataBind=new Oe(n==null?void 0:n.dataBind);var c;i.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var a;return i.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,i}return r}(M);hd.Rules=vd,l.IS_HIDE,l.IS_HIDE;function _d(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function gd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}function md(e,t){return t&&(Ed(t)==="object"||typeof t=="function")?t:_d(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fn(e,t)}var Ed=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Id(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Od(e){var t=Id();return function(){var n=Fe(e),i;if(t){var o=Fe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return md(this,i)}}var wd=function(e){gd(r,e);var t=Od(r);function r(n){bd(this,r);var i;i=t.call(this,n);var o;i.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE";var u;i.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var s;i.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"text";var c;i.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary";var a;i.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var v;i.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1;var g;return i.optObj=new Ms((g=n==null?void 0:n.optObj)!==null&&g!==void 0?g:{}),i}return r}(M);function Ad(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rd(e,t,r){return t&&li(e.prototype,t),r&&li(e,r),e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dn(e,t)}function Cd(e,t){return t&&(Bd(t)==="object"||typeof t=="function")?t:Ad(e)}function dn(e,t){return dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},dn(e,t)}var Bd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 kd(e){var t=Td();return function(){var n=Ne(e),i;if(t){var o=Ne(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Cd(this,i)}}var si=function(e){Pd(r,e);var t=kd(r);function r(n){Sd(this,r);var i;return i=t.call(this,n),i.props=new wd(n==null?void 0:n.props),i}return Rd(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}($);si.controlEventKeys=["on_click","on_click_finish"],si.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:[l.IS_HIDE]},{key:"super-setting",visible:!0}];var pn;(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"})(pn||(pn={}));var ci;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ci||(ci={}));var fi;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(fi||(fi={}));var di;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(di||(di={}));var pi;(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"})(pi||(pi={}));function yi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var vi;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(vi||(vi={}));var hi;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(hi||(hi={}));var _i;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(_i||(_i={}));var bi;(function(e){e.ALL="all",e.ASSIGN="assign"})(bi||(bi={}));var gi;(function(e){e.ALL="all",e.ADMIN="admin"})(gi||(gi={})),l.IS_HIDE,p.AUTO_NUMBER,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(e)}function Ei(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yn(e,t)}function $d(e,t){return t&&(Fd(t)==="object"||typeof t=="function")?t:Dd(e)}function yn(e,t){return yn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},yn(e,t)}var Fd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ii(e){var t=Nd();return function(){var n=Le(e),i;if(t){var o=Le(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return $d(this,i)}}var Ld=function(e){Ei(r,e);var t=Ii(r);function r(n){mi(this,r);var i;return i=t.call(this,n),i.formKey={type:"string",required:!1},(n.command==="edit"||n.command==="view")&&(i.formKey={type:"string",required:!0,message:m.getMessage("pleaseEnterForm")}),i}return r}(Z),xe=function(e){Ei(r,e);var t=Ii(r);function r(n){mi(this,r);var i;i=t.call(this,n);var o;i.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE",i.code=n==null?void 0:n.code;var u;i.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var s;i.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"primary",i.icon=n==null?void 0:n.icon,i.formKey=n==null?void 0:n.formKey,i.openType=n==null?void 0:n.openType,i.needConfirm=n==null?void 0:n.needConfirm,i.confirmMessage=n==null?void 0:n.confirmMessage,i.options=n==null?void 0:n.options;var c;i.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",i.priorityProcess=n==null?void 0:n.priorityProcess;var a;return i.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,i}return r}(M);xe.Rules=Ld;function xd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(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 jd(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vn(e,t)}function Ud(e,t){return t&&(Vd(t)==="object"||typeof t=="function")?t:xd(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var Vd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wd(e){var t=qd();return function(){var n=Me(e),i;if(t){var o=Me(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ud(this,i)}}var hn=function(e){Hd(r,e);var t=Wd(r);function r(n){Md(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return jd(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}($);hn.controlEventKeys=["on_click"],hn.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:[l.IS_HIDE]},{key:"super-setting",visible:!0}];function zd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gd(e,t,r){return t&&wi(e.prototype,t),r&&wi(e,r),e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(e)}function Xd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qd(e,t){return t&&(Jd(t)==="object"||typeof t=="function")?t:zd(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var Jd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yd(e){var t=Zd();return function(){var n=je(e),i;if(t){var o=je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Qd(this,i)}}var ep=function(e){Xd(r,e);var t=Yd(r);function r(n){Kd(this,r);var i;return i=t.call(this,n),i.props=new xe(n==null?void 0:n.props),i}return Gd(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(ee),bn={Designer:hn,Runtime:ep,Property:xe};l.IS_HIDE;function tp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function mn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&En(e,t)}function np(e,t){return t&&(rp(t)==="object"||typeof t=="function")?t:tp(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ip(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function In(e){var t=ip();return function(){var n=He(e),i;if(t){var o=He(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return np(this,i)}}var op=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:m.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:m.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:m.getMessage("stringRangeError")},{pattern:"",message:""}],i.maxLength.min=n.minLength,i.minLength.max=n.maxLength,i.defaultValue[0].max=n.maxLength,i.defaultValue[0].min=n.minLength,i.defaultValue[0].message=m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=yi(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Xt),up=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;return i=t.call(this,n),i.push({type:"string",message:m.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:m.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:yi(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(Qt),On=function(e){mn(r,e);var t=In(r);function r(n){gn(this,r);var i;i=t.call(this,n);var o;i.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:200;var u;i.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,i.regularRules=new Ls(n==null?void 0:n.regularRules);var s;i.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var c;i.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ve.controlName;var a;i.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var d;i.encrypted=(d=n==null?void 0:n.encrypted)!==null&&d!==void 0?d:!1;var v;return i.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",i}return r}(te);On.Rules=op,On.RuntimeRules=up;function ap(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ai(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sp(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ue(e)}function cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}function fp(e,t){return t&&(dp(t)==="object"||typeof t=="function")?t:ap(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var dp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yp(e){var t=pp();return function(){var n=Ue(e),i;if(t){var o=Ue(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return fp(this,i)}}var Ve=function(e){cp(r,e);var t=yp(r);function r(n){lp(this,r);var i;return i=t.call(this,n),i.props=new On(n==null?void 0:n.props),i}return sp(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}(Zt);Ve.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ve.controlFieldType=p.VARCHAR,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.CAPTION,l.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:[l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.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}],p.VARCHAR,p.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.ARRAY,p.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.VARCHAR,p.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,p.DECIMAL,p.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.TIMESTAMP,p.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.TIMESCOPE,p.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.TEXT,p.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.TEXT,p.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,p.VARCHAR,p.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,p.ARRAY,p.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,p.EMPLOYEES;function vp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function Sn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rn(e,t)}function hp(e,t){return t&&(_p(t)==="object"||typeof t=="function")?t:vp(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var _p=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pn(e){var t=bp();return function(){var n=qe(e),i;if(t){var o=qe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return hp(this,i)}}var gp=104857600,mp=1048576e3,Ep=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:mp,message:m.getMessage("attachmentMaxSize")},i}return r}(Xt),Ip=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;return i=t.call(this,n),i[0].type="array",i.push({type:"array",max:n.maxLimit,min:n.minLimit,message:m.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(Qt),We=function(e){Sn(r,e);var t=Pn(r);function r(n){An(this,r);var i;i=t.call(this,n);var o;i.defaultValue=(o=n==null?void 0:n.defaultValue)!==null&&o!==void 0?o:[];var u;i.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var s;i.attachmentAccept=(s=n==null?void 0:n.attachmentAccept)!==null&&s!==void 0?s:[];var c;i.maxLimit=(c=n==null?void 0:n.maxLimit)!==null&&c!==void 0?c:10;var a;i.minLimit=(a=n==null?void 0:n.minLimit)!==null&&a!==void 0?a:0;var d;i.maxSize=(d=n==null?void 0:n.maxSize)!==null&&d!==void 0?d:gp;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ke.controlName;var h;return i.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",i}return r}(te);We.Rules=Ep,We.RuntimeRules=Ip;function Op(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ap(e,t,r){return t&&Si(e.prototype,t),r&&Si(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function Sp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Rp(e,t){return t&&(Pp(t)==="object"||typeof t=="function")?t:Op(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var Pp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bp(e){var t=Cp();return function(){var n=ze(e),i;if(t){var o=ze(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Rp(this,i)}}var Ke=function(e){Sp(r,e);var t=Bp(r);function r(n){wp(this,r);var i;return i=t.call(this,n),i.props=new We(n==null?void 0:n.props),i}return Ap(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Zt);Ke.controlEventKeys=["on_change"],Ke.controlFieldType=p.FILE,Ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.CAPTION,l.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:[l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.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 Tp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(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 Dp(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function $p(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)}function Fp(e,t){return t&&(Np(t)==="object"||typeof t=="function")?t:Tp(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var Np=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xp(e){var t=Lp();return function(){var n=Ge(e),i;if(t){var o=Ge(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Fp(this,i)}}var Mp=function(e){$p(r,e);var t=xp(r);function r(n){kp(this,r);var i;return i=t.call(this,n),i.props=new We(n==null?void 0:n.props),i}return Dp(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(nf);Mp.controlFieldType=p.FILE,p.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.MONEY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,p.MONEY,p.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.DECIMAL,p.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,p.ADDRESS,p.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,p.DEPARTMENTS,p.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.AUTO_NUMBER,p.CALC,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,p.CALC,p.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.DECIMAL_RANGE,p.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.ARRAY,p.ANY,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,p.ANY,p.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.IS_SHOW_CAPTION_TIP,p.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,p.VARCHAR,p.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.DEFAULT_DISPLAY,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,p.ARRAY,p.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,p.EMPLOYEES,p.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,p.VARCHAR,p.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,p.FILE,p.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,p.DEPARTMENTS,p.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,p.DEPARTMENTS,f.GRID;function jp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Up(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tn(e,t)}function Vp(e,t){return t&&(qp(t)==="object"||typeof t=="function")?t:jp(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tn(e,t)}var qp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zp(e){var t=Wp();return function(){var n=Xe(e),i;if(t){var o=Xe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Vp(this,i)}}var Kp=24,kn=function(e){Up(r,e);var t=zp(r);function r(n){Hp(this,r);var i;i=t.call(this,n);var o;i.span=(o=n==null?void 0:n.span)!==null&&o!==void 0?o:Kp;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(U);function Gp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xp(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 Qp(e,t,r){return t&&Pi(e.prototype,t),r&&Pi(e,r),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dn(e,t)}function Zp(e,t){return t&&(Yp(t)==="object"||typeof t=="function")?t:Gp(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var Yp=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 ty(e){var t=ey();return function(){var n=Qe(e),i;if(t){var o=Qe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zp(this,i)}}var $n=function(e){Jp(r,e);var t=ty(r);function r(n){Xp(this,r);var i;return i=t.call(this,n),i.props=new kn(n==null?void 0:n.props),i}return Qp(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(K);$n.excludes=[f.COL,f.CARD_GROUP,f.SUBTABLE,f.SUBTABLE_COLUMN,f.DIVIDER],$n.childrenMaxLength=1;function ny(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 Ci(e,t){for(var r=0;r<t.length;r++){var 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&&Ci(e.prototype,t),r&&Ci(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fn(e,t)}function uy(e,t){return t&&(ay(t)==="object"||typeof t=="function")?t:ny(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var ay=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ly(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ly();return function(){var n=Je(e),i;if(t){var o=Je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return uy(this,i)}}var cy=function(e){oy(r,e);var t=sy(r);function r(n){ry(this,r);var i;return i=t.call(this,n),i.props=new kn(n==null?void 0:n.props),i}return iy(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(he),Bi={Designer:$n,Runtime:cy,Property:kn};function fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(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&&Nn(e,t)}function yy(e,t){return t&&(vy(t)==="object"||typeof t=="function")?t:fy(e)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nn(e,t)}var vy=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 _y(e){var t=hy();return function(){var n=Ze(e),i;if(t){var o=Ze(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return yy(this,i)}}var Ln=function(e){py(r,e);var t=_y(r);function r(n){dy(this,r);var i;i=t.call(this,n);var o;i.layoutMode=(o=n==null?void 0:n.layoutMode)!==null&&o!==void 0?o:"select";var u;return i.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,i}return r}(U);function by(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 Ti(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function my(e,t,r){return t&&Ti(e.prototype,t),r&&Ti(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function Ey(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xn(e,t)}function Iy(e,t){return t&&(Oy(t)==="object"||typeof t=="function")?t:by(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var Oy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ay(e){var t=wy();return function(){var n=Ye(e),i;if(t){var o=Ye(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Iy(this,i)}}var Mn=function(e){Ey(r,e);var t=Ay(r);function r(n){gy(this,r);var i;return i=t.call(this,n),i.props=new Ln(n==null?void 0:n.props),i}return my(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(K);Mn.excludes=[f.ROW],Mn.setting=[{key:"col-setting",visible:!0}];function Sy(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 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 Py(e,t,r){return t&&ki(e.prototype,t),r&&ki(e,r),e}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(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&&jn(e,t)}function By(e,t){return t&&(Ty(t)==="object"||typeof t=="function")?t:Sy(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var Ty=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=et(e),i;if(t){var o=et(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return By(this,i)}}var $y=function(e){Cy(r,e);var t=Dy(r);function r(n){Ry(this,r);var i;return i=t.call(this,n),i.props=new Ln(n==null?void 0:n.props),i}return Py(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(he);function Fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ny(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 Ly(e,t,r){return t&&Di(e.prototype,t),r&&Di(e,r),e}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function xy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hn(e,t)}function My(e,t){return t&&(jy(t)==="object"||typeof t=="function")?t:Fy(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var jy=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 Uy(e){var t=Hy();return function(){var n=tt(e),i;if(t){var o=tt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return My(this,i)}}var Vy=4,nt=function(e){xy(r,e);var t=Uy(r);function r(n){return Ny(this,r),t.call(this,n)}return Ly(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}(Mn);nt.excludes=[f.GRID_ROW],nt.setting=[],nt.childrenMaxLength=Vy;function qy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 zy(e,t,r){return t&&$i(e.prototype,t),r&&$i(e,r),e}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function Ky(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}function Gy(e,t){return t&&(Xy(t)==="object"||typeof t=="function")?t:qy(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Un(e,t)}var Xy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jy(e){var t=Qy();return function(){var n=rt(e),i;if(t){var o=rt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Gy(this,i)}}var Zy=function(e){Ky(r,e);var t=Jy(r);function r(n){return Wy(this,r),t.call(this,n)}return zy(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}($y);function Yy(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 it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(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&&Vn(e,t)}function nv(e,t){return t&&(rv(t)==="object"||typeof t=="function")?t:Yy(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vn(e,t)}var rv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ov(e){var t=iv();return function(){var n=it(e),i;if(t){var o=it(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return nv(this,i)}}var uv=function(e){tv(r,e);var t=ov(r);function r(n){return ev(this,r),t.call(this,n)}return r}(Ln),av={Designer:nt,Runtime:Zy,Property:uv};function lv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ot(e)}function cv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qn(e,t)}function fv(e,t){return t&&(dv(t)==="object"||typeof t=="function")?t:lv(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var dv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yv(e){var t=pv();return function(){var n=ot(e),i;if(t){var o=ot(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return fv(this,i)}}U.Rules,l.CAPTION,l.IS_HIDE,f.CARD_GROUP;function vv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(e)}function Ni(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wn(e,t)}function hv(e,t){return t&&(_v(t)==="object"||typeof t=="function")?t:vv(e)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wn(e,t)}var _v=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 Li(e){var t=bv();return function(){var n=ut(e),i;if(t){var o=ut(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return hv(this,i)}}var gv=function(e){Ni(r,e);var t=Li(r);function r(n){Fi(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:m.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(Z),at=function(e){Ni(r,e);var t=Li(r);function r(n){Fi(this,r);var i;i=t.call(this,n);var o;i.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var u;i.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var c;i.captionTip=(c=n==null?void 0:n.captionTip)!==null&&c!==void 0?c:"";var a;return i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,i.metaAutoWidth=new Ss(n==null?void 0:n.metaAutoWidth),i}return r}(U);at.Rules=gv;function mv(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 lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(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&&zn(e,t)}function Ov(e,t){return t&&(wv(t)==="object"||typeof t=="function")?t:mv(e)}function zn(e,t){return zn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zn(e,t)}var wv=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 Sv(e){var t=Av();return function(){var n=lt(e),i;if(t){var o=lt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ov(this,i)}}var G=function(e){Iv(r,e);var t=Sv(r);function r(n){Ev(this,r);var i;return i=t.call(this,n),i.props=new at(n==null?void 0:n.props),i}return r}(K);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[f.SUBTABLE,f.SUBTABLE_COLUMN,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT],G.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Rv(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 st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function Cv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}function Bv(e,t){return t&&(Tv(t)==="object"||typeof t=="function")?t:Rv(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kn(e,t)}var Tv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dv(e){var t=kv();return function(){var n=st(e),i;if(t){var o=st(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Bv(this,i)}}var xi=function(e){Cv(r,e);var t=Dv(r);function r(n){Pv(this,r);var i;return i=t.call(this,n),i.props=new at(n==null?void 0:n.props),i}return r}(he);xi.controlType="subtable-column";var $v={Designer:G,Runtime:xi,Property:at};f.SUBTABLE,f.SUBTABLE_COLUMN,f.SUBTABLE_ROW,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT,l.CAPTION,f.GRID_TABLE,f.GRID_TABLE_COLUMN,f.ROW,f.COL,f.CARD_GROUP,f.DIVIDER,f.TEXT,l.CAPTION,f.TAB,l.CAPTION,l.IS_HIDE,f.TAB,f.GRID_ROW,f.ROW,f.GRID,f.SUBTABLE,f.TAB,f.TOOLBOX;function Mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function Xn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qn(e,t)}function Fv(e,t){return t&&(Nv(t)==="object"||typeof t=="function")?t:Mi(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qn(e,t)}var Nv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jn(e){var t=Lv();return function(){var n=ct(e),i;if(t){var o=ct(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Fv(this,i)}}var ft;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ft||(ft={}));var xv=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),Mv=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ft.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),Nc.call(Mi(i),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(i.datasourceBind)&&i.datasourceBind.length>1){var o=i.datasourceBind.find(function(u){return u.type==="object"&&u.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return i}return r}(Z),_e=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;i=t.call(this,n),i.datasourceBind=new ce(n==null?void 0:n.datasourceBind);var o;i.isLoading=(o=n==null?void 0:n.isLoading)!==null&&o!==void 0?o:!1;var u;i.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var s;i.triggerType=(s=n==null?void 0:n.triggerType)!==null&&s!==void 0?s:ft.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new Cs(n==null?void 0:n.sublistPage);var a;i.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"stretch";var d;i.showFullScreen=(d=n==null?void 0:n.showFullScreen)!==null&&d!==void 0?d:!1;var v;i.isFixedHeader=(v=n==null?void 0:n.isFixedHeader)!==null&&v!==void 0?v:!1;var h;return i.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,i.countType=n==null?void 0:n.countType,i}return r}(U);_e.Rules=Mv,_e.RuntimeRules=xv;function jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ji(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uv(e,t,r){return t&&ji(e.prototype,t),r&&ji(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zn(e,t)}function qv(e,t){return t&&(Wv(t)==="object"||typeof t=="function")?t:jv(e)}function Zn(e,t){return Zn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zn(e,t)}var Wv=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 Kv(e){var t=zv();return function(){var n=dt(e),i;if(t){var o=dt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return qv(this,i)}}var pt=function(e){Vv(r,e);var t=Kv(r);function r(n){Hv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return Uv(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}(K);pt.excludes=[f.ROW],pt.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"],pt.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function Gv(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 Hi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qv(e,t,r){return t&&Hi(e.prototype,t),r&&Hi(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function Jv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yn(e,t)}function Zv(e,t){return t&&(Yv(t)==="object"||typeof t=="function")?t:Gv(e)}function Yn(e,t){return Yn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yn(e,t)}var Yv=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=yt(e),i;if(t){var o=yt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Zv(this,i)}}var nh=function(e){Jv(r,e);var t=th(r);function r(n){Xv(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return Qv(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(he),rh={Designer:pt,Runtime:nh,Property:_e};function ih(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function Vi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&er(e,t)}function oh(e,t){return t&&(uh(t)==="object"||typeof t=="function")?t:ih(e)}function er(e,t){return er=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},er(e,t)}var uh=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 qi(e){var t=ah();return function(){var n=vt(e),i;if(t){var o=vt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return oh(this,i)}}var lh=function(e){Vi(r,e);var t=qi(r);function r(n){Ui(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),ht=function(e){Vi(r,e);var t=qi(r);function r(n){Ui(this,r);var i;i=t.call(this,n);var o;i.save=new fe((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new fe((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;i.saveAs=new fe((s=n==null?void 0:n.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var c;i.print=new fe((c=n==null?void 0:n.print)!==null&&c!==void 0?c:{content:"\u6253\u5370",type:"print",isShow:!1});var a;i.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(v){return new fe(v)});var d;return i.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1,i.datasourceBind=new ce(n==null?void 0:n.datasourceBind),i}return r}(U);ht.RuntimeRules=lh;function sh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fh(e,t,r){return t&&Wi(e.prototype,t),r&&Wi(e,r),e}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_t(e)}function dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tr(e,t)}function ph(e,t){return t&&(yh(t)==="object"||typeof t=="function")?t:sh(e)}function tr(e,t){return tr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},tr(e,t)}var yh=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hh(e){var t=vh();return function(){var n=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ph(this,i)}}var zi=function(e){dh(r,e);var t=hh(r);function r(n){ch(this,r);var i;return i=t.call(this,n),i.props=new ht(n==null?void 0:n.props),i}return fh(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(K);zi.excludes=[];function _h(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gh(e,t,r){return t&&Ki(e.prototype,t),r&&Ki(e,r),e}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bt(e)}function mh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nr(e,t)}function Eh(e,t){return t&&(Ih(t)==="object"||typeof t=="function")?t:_h(e)}function nr(e,t){return nr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nr(e,t)}var Ih=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 wh(e){var t=Oh();return function(){var n=bt(e),i;if(t){var o=bt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Eh(this,i)}}var Ah=function(e){mh(r,e);var t=wh(r);function r(n){bh(this,r);var i;return i=t.call(this,n),i.props=new ht(n==null?void 0:n.props),i}return gh(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(he),Sh={Designer:zi,Runtime:Ah,Property:ht};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,p.DECIMAL,l.CAPTION,p.FILE,p.VARCHAR,l.CAPTION,p.VARCHAR,p.TEXT,l.CAPTION,p.TEXT,p.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,p.DECIMAL,p.TIMESCOPE,l.CAPTION,p.TIMESCOPE,p.TIMESTAMP,l.CAPTION,p.TIMESTAMP,p.ARRAY,l.CAPTION,p.ARRAY,p.DEPARTMENTS,l.CAPTION,p.DEPARTMENTS,p.AUTO_NUMBER,l.CAPTION,p.AUTO_NUMBER,p.FILE,l.CAPTION,p.FILE,p.IMAGE,l.CAPTION,p.IMAGE,p.EMPLOYEES,l.CAPTION,p.EMPLOYEES,p.ADDRESS,l.CAPTION,p.ADDRESS,l.CAPTION,p.EMPLOYEES,l.CAPTION,p.EMPLOYEES,l.IS_HIDE;const Rh=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Mh(t==null?void 0:t.events),Dh(n),$h(n);const i=kh(n),o=Fh(i,t);let u=J(D(o,s=>Th(s,t)));return r?u:u[0]},Ph=[f.DIVIDER,f.TEXT,f.TITLE,f.LINK,f.BUTTON,"list-btn-export-list","list-btn-export-record"],Ch=["subtable","grid-table"],Bh=["simple-search"];function Th(e,t){var i,o,u,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Ph.includes(r.type)?r.controlType="base":r.controlType="form",Ch.includes(r.type)&&(r.controlType="list"),Bh.includes(r.type)&&(r.controlType="search-view")),delete r.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),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(k(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(k(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const d=r.props.entry_type||r.props.entryType;r.props.openType=d==="subpage"?"modal":"default",((a=r.children[0])==null?void 0:a.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((v,h)=>{const g=new $v.Designer;g.props.caption=k(v.field_name)?v.field_name.zh:v.field_name;const I=g.toSchema();I.id=v.header_id;const b=r.children[0].children[h].children[0];return b&&(I.children=[b]),I}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(d=>{d.label=k(d.text)?d.text.zh:d.text,d.id=d.id||d.opt_id||d.optId||d.data_id}),r=e),e.type==="grid-row"){const d=24/r.children.length;r.children=r.children.map(v=>{const h=new Bi.Designer;h.props.span=d;const g=h.toSchema();return g.children.push(v),g})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={};d&&(Gi(r,t),h.result=d.props.data_bind,r.id=d.id,r.props=d.props,r.props.script_src=d.props.script_src,r.props.script_echo=d.props.script_echo,r.props.precision=d.props.precision,r.props.micrometer=d.props.is_show_money,r.props.showUpperCase=d.props.is_show_chn),v&&(h.unit=v.props.data_bind,r.props.default_value={unit:v.props.value}),r.props.dataBind=h,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={},g={};d&&(Gi(r,t),r.id=d.id,h.amount=d.props.data_bind,r.props.range_min=Q(d.props.range_min),r.props.range_max=Q(d.props.range_max),g.amount=Q(d.props.value),r.props.required=d.props.required,r.props.is_hide=d.props.is_hide,r.props.default_state=d.props.default_state,r.props.caption=k(d.props.caption)?d.props.caption.zh:d.props.caption,r.props.is_hide_caption=d.props.is_hide_caption,r.props.showUpperCase=d.props.is_show_chn),v&&(h.currency=v.props.data_bind,g.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(I=>({label:I.text,value:I.value}))),r.props.dataBind=h,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const d=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};d&&(h.min=d.props.data_bind),v&&(h.max=v.props.data_bind),r.props.dataBind=h,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=k(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Q(e.props.range_min),r.props.range_max=Q(e.props.range_max),r.props.defaultValue=Q(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(r.props.buttonType="default"),jh(r,t==null?void 0:t.control_events),r}function Gi(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,i=e.id,o=e.children[0].id;r.forEach(u=>{u.id===i&&(u.id=o);const s=u.show_controls.findIndex(a=>a===i),c=u.hide_controls.findIndex(a=>a===i);s>-1&&u.show_controls.splice(s,1,o),c>-1&&u.hide_controls.splice(c,1,o)}),n.forEach(u=>{u.ctrl_id===i&&(u.id=o)})}function kh(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Sh.Designer().toSchema();return n.children=e,[n]}function Dh(e){e.forEach(t=>{t.children&&xh(t.children)})}function $h(e){e.forEach(t=>{var n,i;if(!(t&&t.children))return;const r=t.children;for(let o=0;o<r.length;o++){const u=r[o],s=(i=(n=r[o])==null?void 0:n.children)==null?void 0:i[0];u.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&r.splice(o,1,s)}})}function Fh(e,t){var g,I,b,E,y,_,P,O;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:i}=r,[o,u,s]=i;Nh(o),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,Lh(s,u);const c=(b=(I=n==null?void 0:n.source_config)==null?void 0:I.data_code)!=null?b:t==null?void 0:t.dataCode,a=((y=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?y:c)?`${c}_selectMore`:void 0,d=(P=(_=n==null?void 0:n.source_config)==null?void 0:_.orders)!=null?P:[],v=new rh.Designer;v.props.datasourceBind=new ce({dataCode:c,svcCode:a,orders:ps(d)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(O=n==null?void 0:n.sublist_page)==null||O.sublists.forEach(S=>{S.title=k(S.title)?S.title.zh:S.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function Nh(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(i=(n=t.dateType)==null?void 0:n.replace)==null?void 0:i.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Lh(e,t){e.children=t.children.filter(r=>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(r=>{var i,o,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(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):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(i=r.check)!=null?i:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ce({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 xh(e){var r;let t=null;for(let n=0;n<e.length;n++){const i=e[n];if(!!i){if(i.children&&((r=i.children[0])==null?void 0:r.type)==="group-panel"){t=i.children[0];continue}t&&(t.children.push(i),e.splice(n,1),n--)}}}function Mh(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function jh(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(i=>{!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),t[e.id][i].push(...e.props.events[i].map(o=>o.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Hh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Uh(o)));return r?i:i[0]};function Uh(e,t){return e.type===f.LIST_VIEW&&e.children.find(n=>n.type===f.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Oe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Vh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>qh(o)));return r?i:i[0]};function qh(e,t){return[f.BUTTON,f.CREATE_FORM_LIST_BUTTON,f.BATCH_SUBMISSION_LIST_BUTTON,f.SUBMISSION_RECORD_LIST_BUTTON,f.IMPORT_RECORD_LIST_BUTTON,f.EXPORT_RECORD_LIST_BUTTON,f.EXPORT_LIST_BUTTON,f.FORM_SELECT_BUTTON,f.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===f.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===f.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Wh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>zh(o)));return r?i:i[0]};function zh(e,t){if(e.props.icon){let 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}const Kh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Xh(o)));return r?i:i[0]},Gh=[f.ROW,f.TAB,f.SUBTABLE,f.GRID_ROW,f.CARD_GROUP];function Xh(e,t){return e.type===f.TAB_PANE&&(e.children=e.children.map(r=>{if(Gh.includes(r.type))return r;const n=new av.Designer,i=new Bi.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const Qh=(e,t)=>{const r=Array.isArray(e);let i=J(D(r?e:[e],o=>Jh(o)));return r?i:i[0]};function Jh(e,t){return e.type===f.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===f.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Zh=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>Yh(o));return r?i:i[0]};function Yh(e,t){return e.type===f.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const e_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>t_(o));return r?i:i[0]};function W(e,t){e.field_code&&(e.field_type=t)}function t_(e,t){var n;const r={[f.TITLE]:p.AUTO_NUMBER,[f.ADDRESS]:p.ADDRESS,[f.ATTACHMENT]:p.FILE,[f.AUTO_NUMBER]:p.AUTO_NUMBER,[f.CHECKBOX]:p.ARRAY,[f.DATE_PICKER]:p.TIMESTAMP,[f.DEPARTMENT]:p.DEPARTMENTS,[f.EMPLOYEE]:p.EMPLOYEES,[f.EMPLOYEE2]:p.EMPLOYEES,[f.IMAGE]:p.IMAGE,[f.INPUT]:p.VARCHAR,[f.NUMBER]:p.DECIMAL,[f.RADIO]:p.VARCHAR,[f.RICH_TEXT]:p.TEXT,[f.SCORE]:p.DECIMAL,[f.SELECT]:p.VARCHAR,[f.SELECT_MULTIPLE]:p.ARRAY,[f.SELECT_RELATION]:p.VARCHAR,[f.TEXTAREA]:p.TEXT,[f.TREE]:p.ARRAY,[f.SEARCH_DATE_RANGE]:p.ARRAY,[f.SEARCH_INPUT]:p.VARCHAR,[f.SEARCH_NUMBER_RANGE]:p.ARRAY};return r.hasOwnProperty(e.type)&&W(e.props.data_bind,r[e.type]),e.type===f.AMOUNT&&(W(e.props.data_bind.amount,p.DECIMAL),W(e.props.data_bind.currency,p.VARCHAR)),e.type===f.CALC&&(W(e.props.data_bind.result,p.DECIMAL),W(e.props.data_bind.unit,p.VARCHAR)),e.type===f.DATE_RANGE&&(W(e.props.data_bind.min,p.TIMESTAMP),W(e.props.data_bind.max,p.TIMESTAMP)),e.type===f.VUE_FORM_ITEM&&W(e.props.data_bind,(n=e.field_type)!=null?n:p.ANY),e}const n_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>r_(o));return r?i:i[0]};function r_(e,t){return e.type===f.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===f.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const i_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>o_(o));return r?i:i[0]};function o_(e,t){return e.type===f.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,i;[p.VARCHAR,p.TEXT,p.AUTO_NUMBER].includes((i=(n=r.props)==null?void 0:n.data_bind)==null?void 0:i.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const u_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>a_(o));return r?i:i[0]};function a_(e,t){return[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const l_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>s_(o));return r?i:i[0]};function s_(e,t){return[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const c_=(e,t)=>{const r=Array.isArray(e);let i=D(r?e:[e],o=>f_(o));return r?i:i[0]};function f_(e,t){return e.type===f.TITLE&&e.props.config.push(pn.ShowTitle),e.type===f.GRID_TABLE&&e.props.headers.map(r=>{var n,i,o,u,s,c,a,d,v,h,g,I,b,E,y,_,P,O,S,L,R,x;if(r.type===f.OPERATION_COLUMN){if(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",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((i=r.props)==null?void 0:i.check)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageCheckBtnId"}),A.props.code="view",A.props.icon="iconliulan1",A.props.command="view",A.props.content=(o=r.props)==null?void 0:o.check.content,A.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,A.props.openType=(s=r.props)==null?void 0:s.check.open_type,A.props.formKey=(c=r.props)==null?void 0:c.check.form_key,(a=r.props)!=null&&a.check.is_show&&r.children.push(A.toSchema()),(d=r.props)==null||delete d.check}if(((v=r.props)==null?void 0:v.edit)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageEditBtnId"}),A.props.code="edit",A.props.icon="iconbianji1",A.props.command="edit",A.props.content=(h=r.props)==null?void 0:h.edit.content,A.props.priorityProcess=(g=r.props)==null?void 0:g.edit.priority_process,A.props.openType=(I=r.props)==null?void 0:I.edit.open_type,A.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(E=r.props)!=null&&E.edit.is_show&&r.children.push(A.toSchema()),(y=r.props)==null||delete y.edit}if(((_=r.props)==null?void 0:_.delete)!==void 0){const A=new bn.Designer;Object.defineProperty(A,"id",{value:"listPageDeleteBtnId"}),A.props.code="delete",A.props.icon="iconlajitong",A.props.command="delete",A.props.content=(P=r.props)==null?void 0:P.delete.content,A.props.priorityProcess=(O=r.props)==null?void 0:O.delete.priority_process,A.props.openType=(S=r.props)==null?void 0:S.delete.open_type,A.props.formKey=(L=r.props)==null?void 0:L.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(R=r.props)!=null&&R.delete.is_show&&r.children.push(A.toSchema()),(x=r.props)==null||delete x.delete}}}),[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===f.SUBTABLE&&e.props.headers.forEach(r=>{[f.SELECT,f.SELECT_RELATION,f.SELECT_MULTIPLE,f.RADIO,f.CHECKBOX,f.TREE,f.DEPARTMENT2,f.EMPLOYEE2,f.DEPARTMENT,f.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 Xi={"v1.0":Rh,"v2.0":Hh,"v2.1":Vh,"v2.2":Wh,"v2.3":Kh,"v2.4":Qh,"v2.5":Zh,"v2.6":e_,"v2.7":n_,"v2.8":i_,"v2.9":u_,"v2.10":l_,"v3.0":c_,"v3.1":()=>{}};const Qi=(e,t)=>{const r=Ji(e),n=Ji(t),i=r.pop(),o=n.pop(),u=eo(r,n);return u!==0?u:i&&o?eo(i.split("."),o.split(".")):i||o?i?-1:1:0},gt=(e,t,r)=>{v_(r);const n=Qi(e,t);return to[r].includes(n)},d_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ji=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(d_);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Zi=e=>e==="*"||e==="x"||e==="X",Yi=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},p_=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],y_=(e,t)=>{if(Zi(e)||Zi(t))return 0;const[r,n]=p_(Yi(e),Yi(t));return r>n?1:r<n?-1:0},eo=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=y_(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},to={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},no=Object.keys(to),v_=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(no.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${no.join("|")}`)};function rr(e){return e.replace(/^v/,"")}const ie=Object.keys(Xi).map(e=>rr(e)).sort(Qi),be=ie[ie.length-1];class h_{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,gt(r,be,">")?yr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!ie.includes(rr(r))||!ie.includes(rr(t)))&&yr(`Version Builder: Please give me a valid version number, The valid version is: ${ie.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(gt(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((i,o,u,s)=>{var v;const c=(v=s[u+1])!=null?v:this.toVersion;Ee(`Version Builder: current version: ${o}, nextVersion: ${c}`);const a=Xi[o];let d=i;if(typeof a=="function"){const h=a(i,r);h&&(d=h)}return d},t);return Ee(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return ie.filter(t=>gt(t,this.schemaVersion,">=")&>(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return be}static get version(){return be}}X.VersionBuilder=h_,Object.defineProperty(X,"__esModule",{value:!0})});
|
|
1
|
+
(function(W,re){typeof exports=="object"&&typeof module!="undefined"?re(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],re):(W=typeof globalThis!="undefined"?globalThis:W||self,re(W.modelDrivenUpgrade={},W.regeneratorRuntime))})(this,function(W,re){"use strict";function Zr(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var j=Zr(re),Yr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ei="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ti="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ni="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ri="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ii="{caption}\u5FC5\u586B",ui="\u8BF7\u8F93\u5165\u6807\u9898",oi="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ai="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",li="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",si="\u8BF7\u7ED1\u5B9A\u8868\u5355",ci="\u8BF7\u7ED1\u5B9A\u5217\u8868",fi="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",di="\u8BF7\u8F93\u5165\u663E\u793A\u503C",pi="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",yi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",vi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",hi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_i="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",mi="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ei="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ii="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ai="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",wi="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Oi="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Si="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ri="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ki="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ci="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Bi="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Pi="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Di="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ti="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$i="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Fi="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ni="\u8BF7\u9009\u62E9\u7701",Li="\u8BF7\u9009\u62E9\u5E02",Mi="\u8BF7\u9009\u62E9\u533A",xi="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Hi="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ji="\u8BF7\u8F93\u5165\u5217\u5BBD",Ui="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Vi="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",qi="\u8BF7\u9009\u62E9\u63A7\u4EF6",Wi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",zi="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ki="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gi="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qi="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ji="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Yi="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ru="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",iu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",uu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ou="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",au="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",du={isNotNumber:Yr,isNotString:ei,isNotObject:ti,isNotArray:ni,isNotBoolean:ri,runtimeRequired:ii,pleaseEnterCaption:ui,pleaseEnterCaptionTip:oi,pleaseEnterPlaceholder:ai,pleaseEnterFieldCode:li,pleaseEnterForm:si,pleaseEnterList:ci,pleaseEnterProcess:fi,pleaseEnterLabel:di,pleaseEnterValue:pi,bizKeyNotBindFiled:yi,pleaseSelectOneField:vi,pleaseEnterNumberRange:hi,pleaseEnterAValueGreaterThanMin:bi,pleaseEnterAValueLessThanMax:_i,numberRangeSetError:gi,stringRangeError:mi,attachmentMaxSize:Ei,pleaseEnterTotalScoreSetting:Ii,theTotalScoreMustNotBeLessThan1:Ai,scoreDefaultValueRange:wi,attachmentLimitError:Oi,PleaseReselectTheOptionalQuantity:Si,TheMaximumLengthIsGreaterThanTheMinimumLength:Ri,TheMinimumLengthIsGreaterThanTheMaximumLength:ki,PleaseSelectTheCorrectOptionSettings:Ci,optionIdIsRepeat:Bi,optionIsRequired:Pi,pleaseEnterDataCode:Di,pleaseEnterValueFieldCode:Ti,pleaseEnterSvcCode:$i,pleaseBindAtLeastOneDisplayValue:Fi,pleaseSelectProvince:Ni,pleaseSelectCity:Li,pleaseSelectDistrict:Mi,limitRowsCannotBeLessThan0:xi,TheNumberOfRowsCannotBeLessThanMinRows:Hi,pleaseEnterColumnWidth:ji,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ui,pleaseCompleteAllRulesAndConditions:Vi,pleaseSelectControl:qi,pleaseSelectAtLeastOneColumn:Wi,pleaseSelectFillBackMode:zi,pleaseSelectDashboard:Ki,rootNodeIsRequired:Gi,theViewNameCannotBeEmpty:Xi,pleaseSelectOcrType:Qi,pleaseSelectAtLeastOneFieldToFillIn:Ji,pleaseChooseAtLeastOne:Zi,pleaseEnterButtonContent:Yi,pleaseEnterDataCodeInDataSetting:eu,pleaseEnterValueFieldCodeInDataSetting:tu,pleaseEnterSvcCodeInDataSetting:nu,pleaseBindAtLeastOneDisplayValueInDataSetting:ru,rootNodeIsRequiredInDataSetting:iu,pleaseEnterMaxHeight:uu,pleaseEnter:ou,pleaseEnterWatermark:au,pleaseEnterFileName:lu,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:cu,pleaseAssignExternal:fu},pu="Please enter a number",yu="Please enter a string",vu="Please enter an object",hu="Please enter an array",bu="Please enter a boolean",_u="{caption} Required",gu="Please enter the title",mu="Please enter the bubble prompt",Eu="Please enter the prompt text",Iu="Please bind data items",Au="Please bind the form",wu="Please bind the list",Ou="Please bind the process",Su="Please enter the displayed value",Ru="Please enter the stored value",ku="The document number is not bound to the data item",Cu="Please select at least one display field",Bu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Pu="Please enter a value greater than or equal to {min}",Du="Please enter a value less than or equal to {max}",Tu="The value range is set incorrectly",$u="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Fu="The attachment size must be between 0MB and 1000MB",Nu="Please fill in the total score setting",Lu="The total score cannot be less than 1",Mu="The default value must be between {min} and {max}",xu="The number of attachments uploaded must be between {min} and {max}",Hu="Please re-select the optional quantity",ju="The maximum length of the control must be greater than the minimum length",Uu="The minimum length of the control must be less than the maximum length",Vu="Please select the correct option setting",qu="Option ID cannot be repeated",Wu="Please enter at least one option",zu="Please bind the data source",Ku="Please bind the stored value",Gu="Please bind the service",Xu="At least one display value must be bound",Qu="Please select a province",Ju="Please select a city",Zu="Please select a district",Yu="The minimum number of lines to fill in cannot be less than 0",eo="The number of rows cannot be less than {min} rows",to="Please enter the column width",no="Please set the logical relationship of all rule conditions",ro="Please complete all rules and conditions",io="please select control",uo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",oo="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ao="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",lo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",so="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",co="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",po="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",vo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ho="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bo="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_o="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",go="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",mo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Eo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Io="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ao="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",wo={isNotNumber:pu,isNotString:yu,isNotObject:vu,isNotArray:hu,isNotBoolean:bu,runtimeRequired:_u,pleaseEnterCaption:gu,pleaseEnterCaptionTip:mu,pleaseEnterPlaceholder:Eu,pleaseEnterFieldCode:Iu,pleaseEnterForm:Au,pleaseEnterList:wu,pleaseEnterProcess:Ou,pleaseEnterLabel:Su,pleaseEnterValue:Ru,bizKeyNotBindFiled:ku,pleaseSelectOneField:Cu,pleaseEnterNumberRange:Bu,pleaseEnterAValueGreaterThanMin:Pu,pleaseEnterAValueLessThanMax:Du,numberRangeSetError:Tu,stringRangeError:$u,attachmentMaxSize:Fu,pleaseEnterTotalScoreSetting:Nu,theTotalScoreMustNotBeLessThan1:Lu,scoreDefaultValueRange:Mu,attachmentLimitError:xu,PleaseReselectTheOptionalQuantity:Hu,TheMaximumLengthIsGreaterThanTheMinimumLength:ju,TheMinimumLengthIsGreaterThanTheMaximumLength:Uu,PleaseSelectTheCorrectOptionSettings:Vu,optionIdIsRepeat:qu,optionIsRequired:Wu,pleaseEnterDataCode:zu,pleaseEnterValueFieldCode:Ku,pleaseEnterSvcCode:Gu,pleaseBindAtLeastOneDisplayValue:Xu,pleaseSelectProvince:Qu,pleaseSelectCity:Ju,pleaseSelectDistrict:Zu,limitRowsCannotBeLessThan0:Yu,TheNumberOfRowsCannotBeLessThanMinRows:eo,pleaseEnterColumnWidth:to,pleaseSetTheLogicalRelationshipOfAllRuleConditions:no,pleaseCompleteAllRulesAndConditions:ro,pleaseSelectControl:io,pleaseSelectDashboard:uo,theViewNameCannotBeEmpty:oo,pleaseSelectOcrType:ao,pleaseSelectAtLeastOneFieldToFillIn:lo,pleaseChooseAtLeastOne:so,pleaseEnterButtonContent:co,pleaseEnterDataCodeInDataSetting:fo,pleaseEnterValueFieldCodeInDataSetting:po,pleaseEnterSvcCodeInDataSetting:yo,pleaseBindAtLeastOneDisplayValueInDataSetting:vo,rootNodeIsRequiredInDataSetting:ho,pleaseEnterMaxHeight:bo,pleaseEnter:_o,pleaseEnterWatermark:go,pleaseEnterFileName:mo,pleaseUploadAtLeastOnePrintTemplate:Eo,pleaseAssignBusiness:Io,pleaseAssignExternal:Ao},Oo="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",So="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ro="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ko="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Co="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bo="{caption}\u5FC5\u9808",Po="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Do="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",To="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$o="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fo="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",No="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lo="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Mo="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xo="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ho="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",jo="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Uo="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vo="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qo="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wo="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",zo="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ko="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Go="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xo="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qo="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jo="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Zo="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yo="\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",ea="\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",ta="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",na="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ra="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ia="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ua="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",la="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ca="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fa="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",da="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",va="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ha="please select control",ba="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_a="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ga="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ma="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ea="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ia="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Aa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Oa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ra="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ka="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ca="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ba="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Pa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Da="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ta="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$a="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Fa={isNotNumber:Oo,isNotString:So,isNotObject:Ro,isNotArray:ko,isNotBoolean:Co,runtimeRequired:Bo,pleaseEnterCaption:Po,pleaseEnterCaptionTip:Do,pleaseEnterPlaceholder:To,pleaseEnterFieldCode:$o,pleaseEnterForm:Fo,pleaseEnterList:No,pleaseEnterProcess:Lo,pleaseEnterLabel:Mo,pleaseEnterValue:xo,bizKeyNotBindFiled:Ho,pleaseSelectOneField:jo,pleaseEnterNumberRange:Uo,pleaseEnterAValueGreaterThanMin:Vo,pleaseEnterAValueLessThanMax:qo,numberRangeSetError:Wo,stringRangeError:zo,attachmentMaxSize:Ko,pleaseEnterTotalScoreSetting:Go,theTotalScoreMustNotBeLessThan1:Xo,scoreDefaultValueRange:Qo,attachmentLimitError:Jo,PleaseReselectTheOptionalQuantity:Zo,TheMaximumLengthIsGreaterThanTheMinimumLength:Yo,TheMinimumLengthIsGreaterThanTheMaximumLength:ea,PleaseSelectTheCorrectOptionSettings:ta,optionIdIsRepeat:na,optionIsRequired:ra,pleaseEnterDataCode:ia,pleaseEnterValueFieldCode:ua,pleaseEnterSvcCode:oa,pleaseBindAtLeastOneDisplayValue:aa,pleaseSelectProvince:la,pleaseSelectCity:sa,pleaseSelectDistrict:ca,limitRowsCannotBeLessThan0:fa,TheNumberOfRowsCannotBeLessThanMinRows:da,pleaseEnterColumnWidth:pa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ya,pleaseCompleteAllRulesAndConditions:va,pleaseSelectControl:ha,pleaseSelectDashboard:ba,theViewNameCannotBeEmpty:_a,pleaseSelectOcrType:ga,pleaseSelectAtLeastOneFieldToFillIn:ma,pleaseChooseAtLeastOne:Ea,pleaseEnterButtonContent:Ia,pleaseEnterDataCodeInDataSetting:Aa,pleaseEnterValueFieldCodeInDataSetting:wa,pleaseEnterSvcCodeInDataSetting:Oa,pleaseBindAtLeastOneDisplayValueInDataSetting:Sa,rootNodeIsRequiredInDataSetting:Ra,pleaseEnterMaxHeight:ka,pleaseEnter:Ca,pleaseEnterWatermark:Ba,pleaseEnterFileName:Pa,pleaseUploadAtLeastOnePrintTemplate:Da,pleaseAssignBusiness:Ta,pleaseAssignExternal:$a},Na={zhCN:du,enUS:wo,jaJP:Fa},dn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(dn||(dn={}));var pn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(pn||(pn={}));var La="zh-CN";function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(yn||(yn={}));var c;(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.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"})(c||(c={}));var m;(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"})(m||(m={}));var D;D={},F(D,m.ARRAY,c.ARRAY_COLUMN),F(D,m.AUTO_NUMBER,c.AUTO_NUMBER_COLUMN),F(D,m.DECIMAL,c.DECIMAL_COLUMN),F(D,m.DEPARTMENTS,c.DEPARTMENT_COLUMN),F(D,m.FILE,c.FILE_COLUMN),F(D,m.IMAGE,c.IMAGE_COLUMN),F(D,m.ADDRESS,c.LOCATION_COLUMN),F(D,m.EMPLOYEES,c.EMPLOYEE_COLUMN),F(D,m.TEXT,c.TEXT_COLUMN),F(D,m.TIMESCOPE,c.TIMESCOPE_COLUMN),F(D,m.TIMESTAMP,c.TIMESTAMP_COLUMN),F(D,m.VARCHAR,c.VARCHAR_COLUMN),F(D,m.RELATION,c.VARCHAR_COLUMN);var vn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(vn||(vn={}));var hn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ma=hn+"0123456789";function be(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?hn:Ma,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function tt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xa(e){if(Array.isArray(e))return tt(e)}function Ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ja(){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 _e(e,t,n){return ja()?_e=Reflect.construct:_e=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ue(p,a.prototype),p},_e.apply(null,arguments)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ie(e)}function _n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ue(e,t)}function Ua(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Va(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qa(){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 Wa(e,t){return t&&(za(t)==="object"||typeof t=="function")?t:Ha(e)}function ue(e,t){return ue=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ue(e,t)}function gn(e){return xa(e)||Va(e)||Ka(e)||qa()}var za=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ka(e,t){if(!!e){if(typeof e=="string")return tt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tt(e,t)}}function nt(e){var t=typeof Map=="function"?new Map:void 0;return nt=function(r){if(r===null||!Ua(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return _e(r,arguments,ie(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ue(u,r)},nt(e)}function Ga(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mn(e){var t=Ga();return function(){var r=ie(e),u;if(t){var o=ie(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Wa(this,u)}}var rt=console;function Xa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=rt).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(gn(u)))}function ge(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=rt).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(gn(u)))}function Qa(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var it=function(e){_n(n,e);var t=mn(n);function n(r){bn(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?Qa(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(nt(Error)),Ja=function(e){_n(n,e);var t=mn(n);function n(r){bn(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(it);function En(e){throw new it(e)}function In(e){throw new Ja(e)}function Za(e){rt.error(new it(e))}var Ya=Object.prototype.toString;function An(e,t){return Ya.call(e)==="[object "+t+"]"}function el(e){return An(e,"String")}function tl(e){return An(e,"Promise")}var nl=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();tl(r)?r.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var u=this.getMessage(t);return u?this.formatMessage(u,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(u,o,a,s){if(u!==void 0){var f=u[o];if(!(a===s.length-1&&!el(f)))return f}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,u){var o=n[u];return o!==void 0?String(o):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function rl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function il(e,t,n){return t&&wn(e.prototype,t),n&&wn(e,n),e}var C=function(){function e(){rl(this,e)}return il(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:La;return new nl({locale:n,messages:Na})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();C.$i18n=C.resetI18n();function ul(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,a){return"."+a}).split("."),u=!1;return r.reduce(function(o,a,s,f){var p=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,a)){Xa("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),o,o);return}return s===f.length-1&&!Object.is(p[a],n)&&(p[a]=n,u=!0),p[a]}},e),u}var ol=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ut={exports:{}};(function(e){(function(t){var n=function(d,g,_){if(!p(g)||v(g)||h(g)||E(g)||f(g))return g;var S,R=0,L=0;if(y(g))for(S=[],L=g.length;R<L;R++)S.push(n(d,g[R],_));else{S={};for(var k in g)Object.prototype.hasOwnProperty.call(g,k)&&(S[d(k,_)]=n(d,g[k],_))}return S},r=function(d,g){g=g||{};var _=g.separator||"_",S=g.split||/(?=[A-Z])/;return d.split(S).join(_)},u=function(d){return O(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,_){return _?_.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var g=u(d);return g.substr(0,1).toUpperCase()+g.substr(1)},a=function(d,g){return r(d,g).toLowerCase()},s=Object.prototype.toString,f=function(d){return typeof d=="function"},p=function(d){return d===Object(d)},y=function(d){return s.call(d)=="[object Array]"},v=function(d){return s.call(d)=="[object Date]"},h=function(d){return s.call(d)=="[object RegExp]"},E=function(d){return s.call(d)=="[object Boolean]"},O=function(d){return d=d-0,d===d},b=function(d,g){var _=g&&"process"in g?g.process:g;return typeof _!="function"?d:function(S,R){return _(S,d,R)}},I={camelize:u,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(d,g){return n(b(u,g),d)},decamelizeKeys:function(d,g){return n(b(a,g),d,g)},pascalizeKeys:function(d,g){return n(b(o,g),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=I:t.humps=I})(ol)})(ut);var On={};Object.defineProperty(On,"__esModule",{value:!0});function ot(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ot(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ot(r)}return t}}var al=On.default=ot;function oe(e){if(e!==void 0)return typeof e=="object"?al(e):e}function T(e){return Sn(e)&&"zh"in e}function Sn(e){return Object.prototype.toString.call(e)==="[object Object]"}function ll(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function sl(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function $(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(r){var u=r;return Array.isArray(r==null?void 0:r.children)&&(u.children=$(r.children,t)),t(u)})),n}function cl(e){return ut.exports.camelizeKeys(e)}function Q(e){return ut.exports.decamelizeKeys(e)}function at(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fl(e){if(Array.isArray(e))return at(e)}function Rn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function dl(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){Rn(o,r,u,a,s,"next",f)}function s(f){Rn(o,r,u,a,s,"throw",f)}a(void 0)})}}function pl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yl(e,t,n){return t&&kn(e.prototype,t),n&&kn(e,n),e}function vl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hl(){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 lt(e){return fl(e)||vl(e)||bl(e)||hl()}function bl(e,t){if(!!e){if(typeof e=="string")return at(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(e,t)}}var _l=function(){function e(){pl(this,e),this._events=new Map,this.debug=!1}return yl(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var a=this;return dl(j.default.mark(function s(){var f,p,y,v,h,E,O,b,I,d;return j.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(f=a._events.get(n),p=[],!f){_.next=42;break}y=f.slice(),v=!0,h=!1,E=void 0,_.prev=5,O=y[Symbol.iterator]();case 7:if(v=(b=O.next()).done){_.next=28;break}if(I=b.value,f.includes(I)){_.next=11;break}return _.abrupt("continue",25);case 11:return _.prev=11,a.debug&&ge.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(lt(u))),_.next=15,I.apply(null,lt(u));case 15:if(d=_.sent,a.debug&&ge.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(lt(u),[d])),p.push(d),d!==!1){_.next=20;break}return _.abrupt("break",28);case 20:_.next=25;break;case 22:_.prev=22,_.t0=_.catch(11),Za(String(_.t0)+":"+String(_.t0.stack));case 25:v=!0,_.next=7;break;case 28:_.next=34;break;case 30:_.prev=30,_.t1=_.catch(5),h=!0,E=_.t1;case 34:_.prev=34,_.prev=35,!v&&O.return!=null&&O.return();case 37:if(_.prev=37,!h){_.next=40;break}throw E;case 40:return _.finish(37);case 41:return _.finish(34);case 42:return _.abrupt("return",p);case 43:case"end":return _.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}(),gl=[];new Set(gl.map(function(e){return e.Designer.controlType}));function Cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},me(e)}function st(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ct(e,t)}function Bn(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function ml(e,t){return t&&(El(t)==="object"||typeof t=="function")?t:Cn(e)}function ct(e,t){return ct=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ct(e,t)}var El=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Il(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ft(e){var t=Il();return function(){var r=me(e),u;if(t){var o=me(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ml(this,u)}}var Al=function e(t){B(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:""},wl=function e(t){B(this,e);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},dt=function(e){st(n,e);var t=ft(n);function n(r){B(this,n);var u;u=t.call(this,r);var o;u.width=(o=r==null?void 0:r.width)!==null&&o!==void 0?o:240;var a;return u.widthType=(a=r==null?void 0:r.widthType)!==null&&a!==void 0?a:"auto",u}return n}(wl),Ol=function e(t){B(this,e),this.pc=new dt(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new dt(t==null?void 0:t.mobile):new dt({width:130,minWidth:180})},Pn=function e(t){B(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:""},Sl=function e(t){B(this,e);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:m.VARCHAR},Rl=function(e){st(n,e);var t=ft(n);function n(r){B(this,n);var u;u=t.call(this,r);var o;u.title=(o=r==null?void 0:r.title)!==null&&o!==void 0?o:"";var a;u.svcCode=(a=r==null?void 0:r.svcCode)!==null&&a!==void 0?a:"";var s;u.isOpenFilter=(s=r==null?void 0:r.isOpenFilter)!==null&&s!==void 0?s:!1;var f;return u.filters=(f=r==null?void 0:r.filters)!==null&&f!==void 0?f:[],u}return n}(Pn),kl=function e(t){B(this,e);var n,r;this.type="sublist-page",this.formBind=new Pn(t==null?void 0:t.formBind);var u;this.displayFields=(u=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(a){return new Sl(a)}))!==null&&u!==void 0?u:[];var o;this.sublists=(o=t==null||(r=t.sublists)===null||r===void 0?void 0:r.map(function(a){return new Rl(a)}))!==null&&o!==void 0?o:[]},Cl=function e(t){B(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Bl=function e(t){B(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:[];var u;this.displayBos=(u=t==null?void 0:t.displayBos)!==null&&u!==void 0?u:[]},Dn=function e(t){B(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.level=(u=t==null?void 0:t.level)!==null&&u!==void 0?u:0;var o;if(this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"and",this.children=[],Array.isArray(t==null?void 0:t.children)){var a=this;t==null||t.children.map(function(s){if(s.children!==void 0){var f,p=new e(s);(f=a.children)===null||f===void 0||f.push(p)}else{var y,v=new pt(s);(y=a.children)===null||y===void 0||y.push(v)}})}},pt=function e(t){B(this,e),this.type="condition";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.symbol=(u=t==null?void 0:t.symbol)!==null&&u!==void 0?u:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var a;this.describe=(a=t==null?void 0:t.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Cl(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Bl(t==null?void 0:t.rightVariableBo)},Pl=function e(t){B(this,e);var n;this.controlId=(n=t==null?void 0:t.controlId)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"";var o;this.propName=(o=t==null?void 0:t.propName)!==null&&o!==void 0?o:""},Dl=function e(t){B(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:"",this.fieldType=t==null?void 0:t.fieldType},Tl=function e(t){B(this,e);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var r;this.desc=(r=t.desc)!==null&&r!==void 0?r:!1};function Tn(e){var t,n,r;this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Dn(f):new pt(f)}))!==null&&r!==void 0?r:[];var u;if(this.viewFilters=(u=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Dn(f):new pt(f)}))!==null&&u!==void 0?u:[],Bn(this,ae)||Bn(this,Fl)){var o,a,s;this.orders=(s=(o=e)===null||o===void 0||(a=o.orders)===null||a===void 0?void 0:a.map(function(f){return new Tl(f)}))!==null&&s!==void 0?s:[]}}var ae=function e(t){B(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var u;this.valueFieldCode=(u=t==null?void 0:t.valueFieldCode)!==null&&u!==void 0?u:"",this.displayBoList=[];var o;if(this.isOpenViewFilters=(o=t==null?void 0:t.isOpenViewFilters)!==null&&o!==void 0?o:0,Array.isArray(t==null?void 0:t.displayBoList)){var a=this;t==null||t.displayBoList.map(function(p){var y;(y=a.displayBoList)===null||y===void 0||y.push(new Dl(p))})}var s;this.showOrder=(s=t==null?void 0:t.showOrder)!==null&&s!==void 0?s:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",Tn.call(this,t)},$l=function e(t){B(this,e);var n,r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:"";var o;this.fillList=(o=t==null||(n=t.fillList)===null||n===void 0?void 0:n.map(function(a){return new Pl(a)}))!==null&&o!==void 0?o:[]},Fl=function(e){st(n,e);var t=ft(n);function n(r){B(this,n);var u;return u=t.call(this,r),Tn.call(Cn(u),r),u}return n}($l),$n;(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"})($n||($n={}));var l;(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"})(l||(l={}));var yt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(yt||(yt={}));var le=function e(t){B(this,e);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var r;this.content=(r=t==null?void 0:t.content)!==null&&r!==void 0?r:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var a;this.type=(a=t==null?void 0:t.type)!==null&&a!==void 0?a:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},Nl=function e(t){B(this,e);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Ll(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ml(){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 Ee(e,t,n){return Ml()?Ee=Reflect.construct:Ee=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ce(p,a.prototype),p},Ee.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},se(e)}function xl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}function Hl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function jl(e,t){return t&&(Ul(t)==="object"||typeof t=="function")?t:Ll(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ce(e,t)}var Ul=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ht(e){var t=typeof Map=="function"?new Map:void 0;return ht=function(r){if(r===null||!Hl(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Ee(r,arguments,se(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ce(u,r)},ht(e)}function Vl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ql(e){var t=Vl();return function(){var r=se(e),u;if(t){var o=se(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return jl(this,u)}}var Ie=function e(t){vt(this,e),this.isHide={type:"boolean"}},bt=function(e){xl(n,e);var t=ql(n);function n(r){return vt(this,n),t.call(this)}return n}(ht(Array)),J=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";vt(this,e);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Nl(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};J.Rules=Ie,J.RuntimeRules=bt;function H(){return H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H.apply(this,arguments)}function Wl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(e)}function Ae(e,t){return Ae=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ae(e,t)}function zl(){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 we(e,t,n){return zl()?we=Reflect.construct:we=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&Ae(p,a.prototype),p},we.apply(null,arguments)}function Kl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function gt(e){var t=typeof Map=="function"?new Map:void 0;return gt=function(r){if(r===null||!Kl(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return we(r,arguments,_t(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ae(u,r)},gt(e)}var Gl=/%[sdj%]/g,Fn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Fn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function mt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function N(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(Gl,function(s){if(s==="%%")return"%";if(r>=o)return s;switch(s){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(f){return"[Circular]"}break;default:return s}});return a}return u}function Xl(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function P(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Xl(t)&&typeof e=="string"&&!e)}function Ql(e,t,n){var r=[],u=0,o=e.length;function a(s){r.push.apply(r,s),u++,u===o&&n(r)}e.forEach(function(s){t(s,a)})}function Nn(e,t,n){var r=0,u=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<u?t(e[s],o):n([])}o([])}function Jl(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Ln=function(e){Wl(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(gt(Error));function Zl(e,t,n,r){if(t.first){var u=new Promise(function(v,h){var E=function(I){return r(I),I.length?h(new Ln(I,mt(I))):v()},O=Jl(e);Nn(O,n,E)});return u.catch(function(v){return v}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,f=0,p=[],y=new Promise(function(v,h){var E=function(b){if(p.push.apply(p,b),f++,f===s)return r(p),p.length?h(new Ln(p,mt(p))):v()};a.length||(r(p),v()),a.forEach(function(O){var b=e[O];o.indexOf(O)!==-1?Nn(b,n,E):Ql(b,n,E)})});return y.catch(function(v){return v}),y}function Mn(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 xn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=H(H({},e[n]),r):e[n]=r}}return e}function Hn(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||P(t,o||e.type))&&r.push(N(u.messages.required,e.fullField))}function Yl(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(N(u.messages.whitespace,e.fullField))}var Et={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},fe={integer:function(t){return fe.number(t)&&parseInt(t,10)===t},float:function(t){return fe.number(t)&&!fe.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!fe.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Et.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Et.url)},hex:function(t){return typeof t=="string"&&!!t.match(Et.hex)}};function es(e,t,n,r,u){if(e.required&&t===void 0){Hn(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?fe[a](t)||r.push(N(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(N(u.messages.types[a],e.fullField,e.type))}function ts(e,t,n,r,u){var o=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=t,y=null,v=typeof t=="number",h=typeof t=="string",E=Array.isArray(t);if(v?y="number":h?y="string":E&&(y="array"),!y)return!1;E&&(p=t.length),h&&(p=t.replace(f,"_").length),o?p!==e.len&&r.push(N(u.messages[y].len,e.fullField,e.len)):a&&!s&&p<e.min?r.push(N(u.messages[y].min,e.fullField,e.min)):s&&!a&&p>e.max?r.push(N(u.messages[y].max,e.fullField,e.max)):a&&s&&(p<e.min||p>e.max)&&r.push(N(u.messages[y].range,e.fullField,e.min,e.max))}var Z="enum";function ns(e,t,n,r,u){e[Z]=Array.isArray(e[Z])?e[Z]:[],e[Z].indexOf(t)===-1&&r.push(N(u.messages[Z],e.fullField,e[Z].join(", ")))}function rs(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(N(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(N(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var A={required:Hn,whitespace:Yl,type:es,range:ts,enum:ns,pattern:rs};function is(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t,"string")&&!e.required)return n();A.required(e,t,r,o,u,"string"),P(t,"string")||(A.type(e,t,r,o,u),A.range(e,t,r,o,u),A.pattern(e,t,r,o,u),e.whitespace===!0&&A.whitespace(e,t,r,o,u))}n(o)}function us(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}function os(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function as(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}function ls(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),P(t)||A.type(e,t,r,o,u)}n(o)}function ss(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function cs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function fs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return n();A.required(e,t,r,o,u,"array"),t!=null&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function ds(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}var ps="enum";function ys(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A[ps](e,t,r,o,u)}n(o)}function vs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t,"string")&&!e.required)return n();A.required(e,t,r,o,u),P(t,"string")||A.pattern(e,t,r,o,u)}n(o)}function hs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t,"date")&&!e.required)return n();if(A.required(e,t,r,o,u),!P(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),A.type(e,s,r,o,u),s&&A.range(e,s.getTime(),r,o,u)}}n(o)}function bs(e,t,n,r,u){var o=[],a=Array.isArray(t)?"array":typeof t;A.required(e,t,r,o,u,a),n(o)}function It(e,t,n,r,u){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(P(t,o)&&!e.required)return n();A.required(e,t,r,a,u,o),P(t,o)||A.type(e,t,r,a,u)}n(a)}function _s(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(P(t)&&!e.required)return n();A.required(e,t,r,o,u)}n(o)}var de={string:is,method:us,number:os,boolean:as,regexp:ls,integer:ss,float:cs,array:fs,object:ds,enum:ys,pattern:vs,date:hs,url:It,hex:It,email:It,required:bs,any:_s};function At(){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 wt=At();function U(e){this.rules=null,this._messages=wt,this.define(e)}U.prototype={messages:function(t){return t&&(this._messages=xn(At(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,a=n,s=r;if(typeof a=="function"&&(s=a,a={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function f(b){var I,d=[],g={};function _(S){if(Array.isArray(S)){var R;d=(R=d).concat.apply(R,S)}else d.push(S)}for(I=0;I<b.length;I++)_(b[I]);d.length?g=mt(d):(d=null,g=null),s(d,g)}if(a.messages){var p=this.messages();p===wt&&(p=At()),xn(p,a.messages),a.messages=p}else a.messages=this.messages();var y,v,h={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){y=u.rules[b],v=o[b],y.forEach(function(I){var d=I;typeof d.transform=="function"&&(o===t&&(o=H({},o)),v=o[b]=d.transform(v)),typeof d=="function"?d={validator:d}:d=H({},d),d.validator=u.getValidationMethod(d),d.field=b,d.fullField=d.fullField||b,d.type=u.getType(d),!!d.validator&&(h[b]=h[b]||[],h[b].push({rule:d,value:v,source:o,field:b}))})});var O={};return Zl(h,a,function(b,I){var d=b.rule,g=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");g=g&&(d.required||!d.required&&b.value),d.field=b.field;function _(L,k){return H(H({},k),{},{fullField:d.fullField+"."+L})}function S(L){L===void 0&&(L=[]);var k=L;if(Array.isArray(k)||(k=[k]),!a.suppressWarning&&k.length&&U.warning("async-validator:",k),k.length&&d.message!==void 0&&(k=[].concat(d.message)),k=k.map(Mn(d)),a.first&&k.length)return O[d.field]=1,I(k);if(!g)I(k);else{if(d.required&&!b.value)return d.message!==void 0?k=[].concat(d.message).map(Mn(d)):a.error&&(k=[a.error(d,N(a.messages.required,d.field))]),I(k);var M={};if(d.defaultField)for(var w in b.value)b.value.hasOwnProperty(w)&&(M[w]=d.defaultField);M=H(H({},M),b.rule.fields);for(var te in M)if(M.hasOwnProperty(te)){var sy=Array.isArray(M[te])?M[te]:[M[te]];M[te]=sy.map(_.bind(null,te))}var Jr=new U(M);Jr.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),Jr.validate(b.value,b.rule.options||a,function(fn){var ne=[];k&&k.length&&ne.push.apply(ne,k),fn&&fn.length&&ne.push.apply(ne,fn),I(ne.length?ne:null)})}}var R;d.asyncValidator?R=d.asyncValidator(d,b.value,S,b.source,a):d.validator&&(R=d.validator(d,b.value,S,b.source,a),R===!0?S():R===!1?S(d.message||d.field+" fails"):R instanceof Array?S(R):R instanceof Error&&S(R.message)),R&&R.then&&R.then(function(){return S()},function(L){return S(L)})},function(b){f(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!de.hasOwnProperty(t.type))throw new Error(N("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?de.required:de[this.getType(t)]||!1}},U.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");de[t]=n},U.warning=Fn,U.messages=wt,U.validators=de;var gs={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 ms(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new U(e);return n.messages(Object.assign(gs,t)),n}var Es=new _l;function Ot(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Is(e){if(Array.isArray(e))return e}function As(e){if(Array.isArray(e))return Ot(e)}function jn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function Un(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){jn(o,r,u,a,s,"next",f)}function s(f){jn(o,r,u,a,s,"throw",f)}a(void 0)})}}function ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Os(e,t,n){return t&&Vn(e.prototype,t),n&&Vn(e,n),e}function Ss(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qn(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Wn(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rs(){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 ks(){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 zn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Ss(e,u,n[u])})}return e}function Cs(e){return Is(e)||Wn(e)||Kn(e,i)||Rs()}function St(e){return As(e)||Wn(e)||Kn(e)||ks()}function Kn(e,t){if(!!e){if(typeof e=="string")return Ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ot(e,t)}}var x=function(){function t(n){var r=this;ws(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Xn,this.removeSetting=Gn,this._callControlHooks("preInstance",n);var u=qn(this,t)?this.constructor:void 0,o=u.controlName,a=u.controlIcon,s=u.controlType,f=u.controlFieldType,p=u.controlEventKeys,y=u.controlCustomEvents,v=u.name,h=u.setting;o&&a&&s||In("The ".concat(v," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:be(10),this.name=o,this.icon=a;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:s,this.props=new J(n==null?void 0:n.props,(qn(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=n==null?void 0:n.controlType)!==null&&b!==void 0?b:"base",this.setting=oe(h);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:f,this.eventKeys=oe(p),this.customEvents=oe(y),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return Os(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var a,s=Cs(u),f=s[0],p=s.slice(1);return(a=Es).emit.apply(a,[f,this].concat(St(p)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),ul(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return Un(j.default.mark(function u(){var o,a,s;return j.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return o=zn({},r.rules),p.next=3,r._callControlHooks("preValidate",o);case 3:return a=p.sent,s=a[a.length-1],p.abrupt("return",s===!1?void 0:s);case 6:case"end":return p.stop()}},u)}))()}},{key:"validate",value:function(r,u){var o=this;return Un(j.default.mark(function a(){var s,f,p;return j.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.preValidate();case 2:return s=v.sent,f=s!==void 0?s:zn({},o.rules),Array.isArray(u)&&u.forEach(function(h){f.hasOwnProperty(h)&&delete f[h]}),p=ms(f,r),v.prev=6,v.next=9,p.validate(o.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=o),v.t0;case 16:case"end":return v.stop()}},a,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,a=this.type,s=this.props,f=s.dataBind,p=s.datasourceBind,y=s.optionConfig,v=s.caption,h=s.required,E=s.maxLength,O=s.options,b=s.encrypted,I=s.encryptedMode;if(!(!u&&!f&&!p)){var d={parentId:r,fieldType:u,controlId:o,caption:v,type:a,props:{}};switch(f&&(d.dataBind=f),y){case"datasource":case void 0:p&&(d.datasourceBind=p);break;case"custom":d.props.options=O;break}return h!==void 0&&(d.required=h),E!==void 0&&(d.maxLength=E),b!==void 0&&(d.encrypted=b),I!==void 0&&(d.encryptedMode=I),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,St(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=Gn,x.updateSettingItem=Xn;function Gn(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u=typeof r!="string",o=t.setting.findIndex(function(f){return f.key===(u?r.key:r)});if(o!==-1){var a,s;u?t.setting[o].showItems=(a=t.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(f){return!r.hideItems.includes(f)}):t.setting.splice(o,1),u&&!((s=t.setting[o].showItems)===null||s===void 0?void 0:s.length)&&t.setting.splice(o,1)}})}function Xn(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(p){return p.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var a,s=(a=t.type)!==null&&a!==void 0?a:"replace";if(s==="replace")o.showItems=t.showItems;else{var f;(f=o.showItems).push.apply(f,St(t.showItems))}}}})}function Bs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ps(e,t,n){return t&&Qn(e.prototype,t),n&&Qn(e,n),e}function Ds(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var pe=function(){function t(n){Bs(this,t),this.customEvents=[],this.parent=null;var r=Ds(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,a=r.name,s=r.controlCustomEvents;u||In("The ".concat(a," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:be(10);var p;this.type=(p=n==null?void 0:n.type)!==null&&p!==void 0?p:u,this.props=new J(n==null?void 0:n.props),this.customEvents=s;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:o;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:yt.UNKNOWN}return Ps(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();pe.controlType="control",pe.__is_control__=!0,pe.controlCustomEvents=[];function Ts(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:C.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:C.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:C.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,r,u){r.length===0&&u(C.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,r,u){var o=r.map(function(s){return s.value}),a=sl(o);o.length!==a.length?u(C.getMessage("optionIdIsRepeat")):u()},message:C.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:C.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:C.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:C.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:C.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:C.getMessage("isNotArray")},{type:"array",validator:function(n,r,u){r.length===0&&u(C.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:C.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:C.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:C.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:C.getMessage("isNotBoolean")}}}}]}}])}function $s(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(e)}function Ns(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rt(e,t)}function Ls(e,t){return t&&(Ms(t)==="object"||typeof t=="function")?t:$s(e)}function Rt(e,t){return Rt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Rt(e,t)}var Ms=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hs(e){var t=xs();return function(){var r=Oe(e),u;if(t){var o=Oe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Ls(this,u)}}var z=function(e){Ns(n,e);var t=Hs(n);function n(r){return Fs(this,n),t.call(this,r)}return n}(J);function kt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function js(e){if(Array.isArray(e))return kt(e)}function Us(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vs(){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 Jn(e){return js(e)||Us(e)||qs(e)||Vs()}function qs(e,t){if(!!e){if(typeof e=="string")return kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kt(e,t)}}function Ws(e,t){var n;((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function Zn(e,t){e.parent=t,Ws(e,"parent")}function zs(e,t){e.forEach(function(n){Zn(n,t)})}var Yn=Symbol("targetKey");function er(e){var t;return(t=e[Yn])!==null&&t!==void 0?t:e}function tr(e,t){return zs(e,t),new Proxy(e,{get:function(r,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var f;return u===Yn?r:(f=Reflect).get.apply(f,[r,u].concat(Jn(a)))},set:function(r,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),f=3;f<a;f++)s[f-3]=arguments[f];var p;if(ll(e)&&u==="length"&&o===e.length)return!0;var y=(p=Reflect).set.apply(p,[r,u,o].concat(Jn(s)));return Sn(o)&&Zn(o,t),y}})}function nr(e,t,n,r){var u=r!=null?r:e,o=tr(er(n!=null?n:[]),u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=tr(er(s),u)},enumerable:!0})}function Ct(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ks(e){if(Array.isArray(e))return Ct(e)}function rr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ir(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function Gs(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){ir(o,r,u,a,s,"next",f)}function s(f){ir(o,r,u,a,s,"throw",f)}a(void 0)})}}function Xs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qs(e,t,n){return t&&ur(e.prototype,t),n&&ur(e,n),e}function Js(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Y=Reflect.get:Y=function(u,o,a){var s=ic(u,o);if(!!s){var f=Object.getOwnPropertyDescriptor(s,o);return f.get?f.get.call(a):f.value}},Y(e,t,n||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},V(e)}function Zs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}function Ys(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function ec(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tc(){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 nc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Js(e,u,n[u])})}return e}function rc(e,t){return t&&(uc(t)==="object"||typeof t=="function")?t:rr(e)}function Bt(e,t){return Bt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Bt(e,t)}function ic(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function or(e){return Ks(e)||ec(e)||oc(e)||tc()}var uc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oc(e,t){if(!!e){if(typeof e=="string")return Ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ct(e,t)}}function ac(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lc(e){var t=ac();return function(){var r=V(e),u;if(t){var o=V(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return rc(this,u)}}var sc=1e4,K=function(t){Zs(r,t);var n=lc(r);function r(u){Xs(this,r);var o;o=n.call(this,u),o.controlType="layout";var a=Ys(this,r)?this.constructor:void 0,s=a.excludes,f=a.childrenMaxLength;return o.props=new z(u==null?void 0:u.props),nr(rr(o),"children",u==null?void 0:u.children),o.excludes=oe(s),o.childrenMaxLength=f,o}return Qs(r,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var a=this.judgeExcludesChildren(o);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,a){var s=this,f=this,p=function(){return Y(V(r.prototype),"validate",s)};return Gs(j.default.mark(function y(){return j.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,p().call(f,o,a);case 2:return h.next=4,Promise.all(f.children.map(function(E){return E.validate(o,a)}));case 4:return h.abrupt("return",!0);case 5:case"end":return h.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=Y(V(r.prototype),"toDataBindModel",this).call(this),s=a?[a]:[];return this.children.reduce(function(f,p){var y=p.toDataBindModel(o);if(Array.isArray(y)){var v=y.filter(function(h){return!!h});return or(f).concat(or(v))}return y&&f.push(y),f},s)}},{key:"toSchema",value:function(){var o=Y(V(r.prototype),"toSchema",this).call(this),a=this.children.map(function(s){var f=s.toSchema();return f});return nc({},o,{children:a})}}]),r}(x);K.excludes=!1,K.childrenMaxLength=sc;function ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(e)}function fc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pt(e,t)}function dc(e,t){return t&&(pc(t)==="object"||typeof t=="function")?t:ar(e)}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Pt(e,t)}var pc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vc(e){var t=yc();return function(){var r=Se(e),u;if(t){var o=Se(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return dc(this,u)}}var ye=function(e){fc(n,e);var t=vc(n);function n(r){cc(this,n);var u;return u=t.call(this,r),u.controlType="layout",u.props=new z(r==null?void 0:r.props),nr(ar(u),"children",r==null?void 0:r.children),u}return n}(pe);l.IS_HIDE,l.IS_HIDE,l.IS_HIDE;var Dt;(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"})(Dt||(Dt={}));var lr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(lr||(lr={}));var sr;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(sr||(sr={}));var cr;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(cr||(cr={}));var fr;(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"})(fr||(fr={}));var dr;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(dr||(dr={}));var pr;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(pr||(pr={}));var yr;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(yr||(yr={}));var vr;(function(e){e.ALL="all",e.ASSIGN="assign"})(vr||(vr={}));var hr;(function(e){e.ALL="all",e.ADMIN="admin"})(hr||(hr={})),l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function hc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function br(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(e)}function _r(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tt(e,t)}function bc(e,t){return t&&(_c(t)==="object"||typeof t=="function")?t:hc(e)}function Tt(e,t){return Tt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Tt(e,t)}var _c=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gr(e){var t=gc();return function(){var r=Re(e),u;if(t){var o=Re(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return bc(this,u)}}var mc=function(e){_r(n,e);var t=gr(n);function n(r){br(this,n);var u;return u=t.call(this,r),u.formKey={type:"string",required:!1},(r.command==="edit"||r.command==="view")&&(u.formKey={type:"string",required:!0,message:C.getMessage("pleaseEnterForm")}),u}return n}(Ie),ke=function(e){_r(n,e);var t=gr(n);function n(r){br(this,n);var u;u=t.call(this,r);var o;u.content=(o=r==null?void 0:r.content)!==null&&o!==void 0?o:"\u6309\u94AE",u.code=r==null?void 0:r.code;var a;u.command=(a=r==null?void 0:r.command)!==null&&a!==void 0?a:"custom";var s;u.color=(s=r==null?void 0:r.color)!==null&&s!==void 0?s:"primary",u.icon=r==null?void 0:r.icon,u.formKey=r==null?void 0:r.formKey,u.openType=r==null?void 0:r.openType,u.needConfirm=r==null?void 0:r.needConfirm,u.confirmMessage=r==null?void 0:r.confirmMessage,u.options=r==null?void 0:r.options;var f;u.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default",u.priorityProcess=r==null?void 0:r.priorityProcess;var p;return u.isLoading=(p=r==null?void 0:r.isLoading)!==null&&p!==void 0?p:!1,u}return n}(J);ke.Rules=mc;function Ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ic(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ac(e,t,n){return t&&mr(e.prototype,t),n&&mr(e,n),e}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(e)}function wc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$t(e,t)}function Oc(e,t){return t&&(Sc(t)==="object"||typeof t=="function")?t:Ec(e)}function $t(e,t){return $t=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$t(e,t)}var Sc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kc(e){var t=Rc();return function(){var r=Ce(e),u;if(t){var o=Ce(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Oc(this,u)}}var Ft=function(e){wc(n,e);var t=kc(n);function n(r){Ic(this,n);var u;return u=t.call(this,r),u.props=new ke(r==null?void 0:r.props),u}return Ac(n,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),n}(x);Ft.controlEventKeys=["on_click"],Ft.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:[l.IS_HIDE]},{key:"super-setting",visible:!0}];function Cc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pc(e,t,n){return t&&Er(e.prototype,t),n&&Er(e,n),e}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function Dc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nt(e,t)}function Tc(e,t){return t&&($c(t)==="object"||typeof t=="function")?t:Cc(e)}function Nt(e,t){return Nt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Nt(e,t)}var $c=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nc(e){var t=Fc();return function(){var r=Be(e),u;if(t){var o=Be(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Tc(this,u)}}var Lc=function(e){Dc(n,e);var t=Nc(n);function n(r){Bc(this,n);var u;return u=t.call(this,r),u.props=new ke(r==null?void 0:r.props),u}return Pc(n,null,[{key:"controlType",get:function(){return"operation-button"}}]),n}(pe),Lt={Designer:Ft,Runtime:Lc,Property:ke};l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.DEFAULT_DISPLAY,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,c.GRID;function Mc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(e)}function Hc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mt(e,t)}function jc(e,t){return t&&(Uc(t)==="object"||typeof t=="function")?t:Mc(e)}function Mt(e,t){return Mt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Mt(e,t)}var Uc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qc(e){var t=Vc();return function(){var r=Pe(e),u;if(t){var o=Pe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return jc(this,u)}}var Wc=24,xt=function(e){Hc(n,e);var t=qc(n);function n(r){xc(this,n);var u;u=t.call(this,r);var o;u.span=(o=r==null?void 0:r.span)!==null&&o!==void 0?o:Wc;var a;return u.offset=(a=r==null?void 0:r.offset)!==null&&a!==void 0?a:0,u}return n}(z);function zc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gc(e,t,n){return t&&Ir(e.prototype,t),n&&Ir(e,n),e}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function Xc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ht(e,t)}function Qc(e,t){return t&&(Jc(t)==="object"||typeof t=="function")?t:zc(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ht(e,t)}var Jc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yc(e){var t=Zc();return function(){var r=De(e),u;if(t){var o=De(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Qc(this,u)}}var jt=function(e){Xc(n,e);var t=Yc(n);function n(r){Kc(this,n);var u;return u=t.call(this,r),u.props=new xt(r==null?void 0:r.props),u}return Gc(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),n}(K);jt.excludes=[c.COL,c.CARD_GROUP,c.SUBTABLE,c.SUBTABLE_COLUMN,c.DIVIDER],jt.childrenMaxLength=1;function ef(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 Ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nf(e,t,n){return t&&Ar(e.prototype,t),n&&Ar(e,n),e}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function rf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ut(e,t)}function uf(e,t){return t&&(of(t)==="object"||typeof t=="function")?t:ef(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ut(e,t)}var of=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 lf(e){var t=af();return function(){var r=Te(e),u;if(t){var o=Te(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return uf(this,u)}}var sf=function(e){rf(n,e);var t=lf(n);function n(r){tf(this,n);var u;return u=t.call(this,r),u.props=new xt(r==null?void 0:r.props),u}return nf(n,null,[{key:"controlType",get:function(){return"col"}}]),n}(ye),wr={Designer:jt,Runtime:sf,Property:xt};function cf(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 $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(e)}function df(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vt(e,t)}function pf(e,t){return t&&(yf(t)==="object"||typeof t=="function")?t:cf(e)}function Vt(e,t){return Vt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Vt(e,t)}var yf=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 hf(e){var t=vf();return function(){var r=$e(e),u;if(t){var o=$e(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return pf(this,u)}}var qt=function(e){df(n,e);var t=hf(n);function n(r){ff(this,n);var u;u=t.call(this,r);var o;u.layoutMode=(o=r==null?void 0:r.layoutMode)!==null&&o!==void 0?o:"select";var a;return u.gutter=(a=r==null?void 0:r.gutter)!==null&&a!==void 0?a:0,u}return n}(z);function bf(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 Or(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gf(e,t,n){return t&&Or(e.prototype,t),n&&Or(e,n),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(e)}function mf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wt(e,t)}function Ef(e,t){return t&&(If(t)==="object"||typeof t=="function")?t:bf(e)}function Wt(e,t){return Wt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Wt(e,t)}var If=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 wf(e){var t=Af();return function(){var r=Fe(e),u;if(t){var o=Fe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Ef(this,u)}}var zt=function(e){mf(n,e);var t=wf(n);function n(r){_f(this,n);var u;return u=t.call(this,r),u.props=new qt(r==null?void 0:r.props),u}return gf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(K);zt.excludes=[c.ROW],zt.setting=[{key:"col-setting",visible:!0}];function Of(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 Sr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rf(e,t,n){return t&&Sr(e.prototype,t),n&&Sr(e,n),e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(e)}function kf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kt(e,t)}function Cf(e,t){return t&&(Bf(t)==="object"||typeof t=="function")?t:Of(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Kt(e,t)}var Bf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Df(e){var t=Pf();return function(){var r=Ne(e),u;if(t){var o=Ne(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Cf(this,u)}}var Tf=function(e){kf(n,e);var t=Df(n);function n(r){Sf(this,n);var u;return u=t.call(this,r),u.props=new qt(r==null?void 0:r.props),u}return Rf(n,null,[{key:"controlType",get:function(){return"row"}}]),n}(ye);function $f(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 Rr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nf(e,t,n){return t&&Rr(e.prototype,t),n&&Rr(e,n),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(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&&Gt(e,t)}function Mf(e,t){return t&&(xf(t)==="object"||typeof t=="function")?t:$f(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Gt(e,t)}var xf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jf(e){var t=Hf();return function(){var r=Le(e),u;if(t){var o=Le(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Mf(this,u)}}var Uf=4,Me=function(e){Lf(n,e);var t=jf(n);function n(r){return Ff(this,n),t.call(this,r)}return Nf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),n}(zt);Me.excludes=[c.GRID_ROW],Me.setting=[],Me.childrenMaxLength=Uf;function Vf(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 kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wf(e,t,n){return t&&kr(e.prototype,t),n&&kr(e,n),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(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&&Xt(e,t)}function Kf(e,t){return t&&(Gf(t)==="object"||typeof t=="function")?t:Vf(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}var Gf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qf(e){var t=Xf();return function(){var r=xe(e),u;if(t){var o=xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Kf(this,u)}}var Jf=function(e){zf(n,e);var t=Qf(n);function n(r){return qf(this,n),t.call(this,r)}return Wf(n,null,[{key:"controlType",get:function(){return"grid-row"}}]),n}(Tf);function Zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function ed(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qt(e,t)}function td(e,t){return t&&(nd(t)==="object"||typeof t=="function")?t:Zf(e)}function Qt(e,t){return Qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Qt(e,t)}var nd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function id(e){var t=rd();return function(){var r=He(e),u;if(t){var o=He(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return td(this,u)}}var ud=function(e){ed(n,e);var t=id(n);function n(r){return Yf(this,n),t.call(this,r)}return n}(qt),od={Designer:Me,Runtime:Jf,Property:ud};l.CAPTION,l.IS_HIDE,c.CARD_GROUP;function ad(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 je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function Br(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function ld(e,t){return t&&(sd(t)==="object"||typeof t=="function")?t:ad(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}var sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pr(e){var t=cd();return function(){var r=je(e),u;if(t){var o=je(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ld(this,u)}}var fd=function(e){Br(n,e);var t=Pr(n);function n(r){Cr(this,n);var u;return u=t.call(this,r),u.caption={type:"string",required:!0,message:C.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:C.getMessage("pleaseEnterColumnWidth")},u.captionTip={type:"string",required:!1,message:C.getMessage("pleaseEnterCaptionTip")},r.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Ie),Ue=function(e){Br(n,e);var t=Pr(n);function n(r){Cr(this,n);var u;u=t.call(this,r);var o;u.caption=(o=r==null?void 0:r.caption)!==null&&o!==void 0?o:"";var a;u.fixed=(a=r==null?void 0:r.fixed)!==null&&a!==void 0?a:!1;var s;u.isShowCaptionTip=(s=r==null?void 0:r.isShowCaptionTip)!==null&&s!==void 0?s:!1;var f;u.captionTip=(f=r==null?void 0:r.captionTip)!==null&&f!==void 0?f:"";var p;return u.isHideCaption=(p=r==null?void 0:r.isHideCaption)!==null&&p!==void 0?p:!1,u.metaAutoWidth=new Ol(r==null?void 0:r.metaAutoWidth),u}return n}(z);Ue.Rules=fd;function dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ve(e)}function yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function vd(e,t){return t&&(hd(t)==="object"||typeof t=="function")?t:dd(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Zt(e,t)}var hd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _d(e){var t=bd();return function(){var r=Ve(e),u;if(t){var o=Ve(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return vd(this,u)}}var G=function(e){yd(n,e);var t=_d(n);function n(r){pd(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return n}(K);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[c.SUBTABLE,c.SUBTABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT],G.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function gd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function Ed(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function Id(e,t){return t&&(Ad(t)==="object"||typeof t=="function")?t:gd(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Yt(e,t)}var Ad=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Od(e){var t=wd();return function(){var r=qe(e),u;if(t){var o=qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Id(this,u)}}var Dr=function(e){Ed(n,e);var t=Od(n);function n(r){md(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return n}(ye);Dr.controlType="subtable-column";var Sd={Designer:G,Runtime:Dr,Property:Ue};c.SUBTABLE,c.SUBTABLE_COLUMN,c.SUBTABLE_ROW,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_TABLE,c.GRID_TABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.TAB,l.CAPTION,l.IS_HIDE,c.TAB,c.GRID_ROW,c.ROW,c.GRID,c.SUBTABLE,c.TAB,c.TOOLBOX;function Tr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function en(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function tn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function Rd(e,t){return t&&(kd(t)==="object"||typeof t=="function")?t:Tr(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}var kd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rn(e){var t=Cd();return function(){var r=We(e),u;if(t){var o=We(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Rd(this,u)}}var ze;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ze||(ze={}));var Bd=function(e){tn(n,e);var t=rn(n);function n(r){en(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(bt),Pd=function(e){tn(n,e);var t=rn(n);function n(r){en(this,n);var u;if(u=t.call(this,r),u.triggerFieldCode={type:"any"},u.datasourceBind={type:"any"},r.triggerType===ze.CLICK_CELL&&r.isShowSubList&&(u.triggerFieldCode={type:"string",required:!0,message:C.getMessage("pleaseEnterFieldCode")}),Ts.call(Tr(u),{optionConfig:"datasource",datasourceBind:r.datasourceBind,options:[]}),Array.isArray(u.datasourceBind)&&u.datasourceBind.length>1){var o=u.datasourceBind.find(function(a){return a.type==="object"&&a.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return u}return n}(Ie),ve=function(e){tn(n,e);var t=rn(n);function n(r){en(this,n);var u;u=t.call(this,r),u.datasourceBind=new ae(r==null?void 0:r.datasourceBind);var o;u.isLoading=(o=r==null?void 0:r.isLoading)!==null&&o!==void 0?o:!1;var a;u.isShowSubList=(a=r==null?void 0:r.isShowSubList)!==null&&a!==void 0?a:!1;var s;u.triggerType=(s=r==null?void 0:r.triggerType)!==null&&s!==void 0?s:ze.CLICK_ROW;var f;u.triggerFieldCode=(f=r==null?void 0:r.triggerFieldCode)!==null&&f!==void 0?f:"",u.sublistPage=new kl(r==null?void 0:r.sublistPage);var p;u.showType=(p=r==null?void 0:r.showType)!==null&&p!==void 0?p:"stretch";var y;u.showFullScreen=(y=r==null?void 0:r.showFullScreen)!==null&&y!==void 0?y:!1;var v;u.isFixedHeader=(v=r==null?void 0:r.isFixedHeader)!==null&&v!==void 0?v:!1;var h;return u.isAllLoaded=(h=r==null?void 0:r.isAllLoaded)!==null&&h!==void 0?h:!0,u.countType=r==null?void 0:r.countType,u}return n}(z);ve.Rules=Pd,ve.RuntimeRules=Bd;function Dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $d(e,t,n){return t&&$r(e.prototype,t),n&&$r(e,n),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function Fd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function Nd(e,t){return t&&(Ld(t)==="object"||typeof t=="function")?t:Dd(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}var Ld=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Md(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xd(e){var t=Md();return function(){var r=Ke(e),u;if(t){var o=Ke(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Nd(this,u)}}var Ge=function(e){Fd(n,e);var t=xd(n);function n(r){Td(this,n);var u;return u=t.call(this,r),u.props=new ve(r==null?void 0:r.props),u}return $d(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(K);Ge.excludes=[c.ROW],Ge.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"],Ge.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function Hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ud(e,t,n){return t&&Fr(e.prototype,t),n&&Fr(e,n),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function Vd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}function qd(e,t){return t&&(Wd(t)==="object"||typeof t=="function")?t:Hd(e)}function on(e,t){return on=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},on(e,t)}var Wd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kd(e){var t=zd();return function(){var r=Xe(e),u;if(t){var o=Xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return qd(this,u)}}var Gd=function(e){Vd(n,e);var t=Kd(n);function n(r){jd(this,n);var u;return u=t.call(this,r),u.props=new ve(r==null?void 0:r.props),u}return Ud(n,null,[{key:"controlType",get:function(){return"list-view"}}]),n}(ye),Xd={Designer:Ge,Runtime:Gd,Property:ve};function Qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function Lr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&an(e,t)}function Jd(e,t){return t&&(Zd(t)==="object"||typeof t=="function")?t:Qd(e)}function an(e,t){return an=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},an(e,t)}var Zd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mr(e){var t=Yd();return function(){var r=Qe(e),u;if(t){var o=Qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Jd(this,u)}}var ep=function(e){Lr(n,e);var t=Mr(n);function n(r){Nr(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(bt),Je=function(e){Lr(n,e);var t=Mr(n);function n(r){Nr(this,n);var u;u=t.call(this,r);var o;u.save=new le((o=r==null?void 0:r.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var a;u.cancel=new le((a=r==null?void 0:r.cancel)!==null&&a!==void 0?a:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;u.saveAs=new le((s=r==null?void 0:r.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;u.print=new le((f=r==null?void 0:r.print)!==null&&f!==void 0?f:{content:"\u6253\u5370",type:"print",isShow:!1});var p;u.custom=((p=r==null?void 0:r.custom)!==null&&p!==void 0?p:[]).map(function(v){return new le(v)});var y;return u.isLoading=(y=r==null?void 0:r.isLoading)!==null&&y!==void 0?y:!1,u.datasourceBind=new ae(r==null?void 0:r.datasourceBind),u}return n}(z);Je.RuntimeRules=ep;function tp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rp(e,t,n){return t&&xr(e.prototype,t),n&&xr(e,n),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function ip(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ln(e,t)}function up(e,t){return t&&(op(t)==="object"||typeof t=="function")?t:tp(e)}function ln(e,t){return ln=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ln(e,t)}var op=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ap(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lp(e){var t=ap();return function(){var r=Ze(e),u;if(t){var o=Ze(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return up(this,u)}}var Hr=function(e){ip(n,e);var t=lp(n);function n(r){np(this,n);var u;return u=t.call(this,r),u.props=new Je(r==null?void 0:r.props),u}return rp(n,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),n}(K);Hr.excludes=[];function sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fp(e,t,n){return t&&jr(e.prototype,t),n&&jr(e,n),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sn(e,t)}function pp(e,t){return t&&(yp(t)==="object"||typeof t=="function")?t:sp(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},sn(e,t)}var yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hp(e){var t=vp();return function(){var r=Ye(e),u;if(t){var o=Ye(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return pp(this,u)}}var bp=function(e){dp(n,e);var t=hp(n);function n(r){cp(this,n);var u;return u=t.call(this,r),u.props=new Je(r==null?void 0:r.props),u}return fp(n,null,[{key:"controlType",get:function(){return"data-view"}}]),n}(ye),_p={Designer:Hr,Runtime:bp,Property:Je};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.IS_HIDE;const gp=(e,t)=>{const n=Array.isArray(e),r=n?e:[e];Pp(t==null?void 0:t.events),Op(r),Sp(r);const u=wp(r),o=Rp(u,t);let a=Q($(o,s=>Ap(s,t)));return n?a:a[0]},mp=[c.DIVIDER,c.TEXT,c.TITLE,c.LINK,c.BUTTON,"list-btn-export-list","list-btn-export-record"],Ep=["subtable","grid-table"],Ip=["simple-search"];function Ap(e,t){var u,o,a,s,f,p;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":mp.includes(n.type)?n.controlType="base":n.controlType="form",Ep.includes(n.type)&&(n.controlType="list"),Ip.includes(n.type)&&(n.controlType="search-view")),delete n.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),T((u=e==null?void 0:e.props)==null?void 0:u.caption)&&(n.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),T((a=e==null?void 0:e.props)==null?void 0:a.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(T(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const y=n.props.entry_type||n.props.entryType;n.props.openType=y==="subpage"?"modal":"default",((p=n.children[0])==null?void 0:p.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((v,h)=>{const E=new Sd.Designer;E.props.caption=T(v.field_name)?v.field_name.zh:v.field_name;const O=E.toSchema();O.id=v.header_id;const b=n.children[0].children[h].children[0];return!!b&&(O.children=[b]),O}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(y=>{y.label=T(y.text)?y.text.zh:y.text,y.id=y.id||y.opt_id||y.optId||y.data_id}),n=e),e.type==="grid-row"){const y=24/n.children.length;n.children=n.children.map(v=>{const h=new wr.Designer;h.props.span=y;const E=h.toSchema();return E.children.push(v),E})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],h={};y&&(Ur(n,t),h.result=y.props.data_bind,n.id=y.id,n.props=y.props,n.props.script_src=y.props.script_src,n.props.script_echo=y.props.script_echo,n.props.precision=y.props.precision,n.props.micrometer=y.props.is_show_money,n.props.showUpperCase=y.props.is_show_chn),v&&(h.unit=v.props.data_bind,n.props.default_value={unit:v.props.value}),n.props.dataBind=h,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],h={},E={};y&&(Ur(n,t),n.id=y.id,h.amount=y.props.data_bind,n.props.range_min=X(y.props.range_min),n.props.range_max=X(y.props.range_max),E.amount=X(y.props.value),n.props.required=y.props.required,n.props.is_hide=y.props.is_hide,n.props.default_state=y.props.default_state,n.props.caption=T(y.props.caption)?y.props.caption.zh:y.props.caption,n.props.is_hide_caption=y.props.is_hide_caption,n.props.showUpperCase=y.props.is_show_chn),v&&(h.currency=v.props.data_bind,E.currency=v.props.value,n.props.datasourceBind=v.props.datasource_bind,n.props.options=v.props.options.map(O=>({label:O.text,value:O.value}))),n.props.dataBind=h,n.props.defaultValue=E,delete n.children}if(e.type==="date-range"){n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1];n.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};y&&(h.min=y.props.data_bind),v&&(h.max=v.props.data_bind),n.props.dataBind=h,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=X(e.props.range_min),n.props.range_max=X(e.props.range_max),n.props.defaultValue=X(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),Dp(n,t==null?void 0:t.control_events),n}function Ur(e,t){if(!t)return;const{displayBoList:n=[],behaviors:r=[]}=t,u=e.id,o=e.children[0].id;n.forEach(a=>{a.id===u&&(a.id=o);const s=a.show_controls.findIndex(p=>p===u),f=a.hide_controls.findIndex(p=>p===u);s>-1&&a.show_controls.splice(s,1,o),f>-1&&a.hide_controls.splice(f,1,o)}),r.forEach(a=>{a.ctrl_id===u&&(a.id=o)})}function wp(e){if(!Array.isArray(e)||!e.find(u=>u.type==="grid"))return e;const r=new _p.Designer().toSchema();return r.children=e,[r]}function Op(e){e.forEach(t=>{t.children&&Bp(t.children)})}function Sp(e){e.forEach(t=>{var r,u;if(!(t&&t.children))return;const n=t.children;for(let o=0;o<n.length;o++){const a=n[o],s=(u=(r=n[o])==null?void 0:r.children)==null?void 0:u[0];a.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&n.splice(o,1,s)}})}function Rp(e,t){var E,O,b,I,d,g,_,S;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:r,children:u}=n,[o,a,s]=u;kp(o),s.props.is_fixed_header=(E=r==null?void 0:r.source_config)==null?void 0:E.is_fixed_header,Cp(s,a);const f=(b=(O=r==null?void 0:r.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,p=((d=(I=r==null?void 0:r.source_config)==null?void 0:I.svc_code)!=null?d:f)?`${f}_selectMore`:void 0,y=(_=(g=r==null?void 0:r.source_config)==null?void 0:g.orders)!=null?_:[],v=new Xd.Designer;v.props.datasourceBind=new ae({dataCode:f,svcCode:p,orders:cl(y)}),v.props.isShowSubList=r.is_show_sublist,v.props.triggerType=r.timing_type,v.props.triggerFieldCode=r.ctrl_field_code,(S=r==null?void 0:r.sublist_page)==null||S.sublists.forEach(R=>{R.title=T(R.title)?R.title.zh:R.title}),v.props.sublistPage=r.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function kp(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var r,u;const n=T(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(u=(r=t.dateType)==null?void 0:r.replace)==null?void 0:u.call(r,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Cp(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var u,o,a;let r={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:T(n.field_name)?n.field_name.zh:n.field_name}};return r.props.caption=T(n.field_name)?n.field_name.zh:n.field_name,r.props.filter_tags=n.is_filter_tags,r.props.fixed=n.fixed,r.props.display_bo_list=n.display_bo_list,r.props.date_type=n.date_type,r.props.optionConfig="none",n.header_width_config&&(r.props.widthType=n.header_width_config==="1"?"auto":"px"),r.props.widthType==="px"&&n.header_width&&(r.props.width=Number(n.header_width)),n.table_header_type==="order"?(r.type="order-column",r.props.fixed=!0):n.table_header_type==="operation"?(r.type="operation-column",r.props.check=(u=n.check)!=null?u:{},r.props.check.openType="window",r.props.delete=(o=n.delete)!=null?o:{},r.props.delete.openType="window",r.props.edit=(a=n.edit)!=null?a:{},r.props.edit.openType="window",r.props.fixed=!0):(r.type=n.field_type+"-column",n.field_type==="auto_number"&&(r.type="auto-number-column"),n.field_type==="relation"&&(r.type="varchar-column")),n.convert_switch&&(r.props.optionConfig=n.convert_type===1?"datasource":"custom"),r.props.optionConfig==="datasource"?r.props.datasource_bind=new ae({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):r.props.optionConfig==="custom"&&(r.props.options=n.custom_match_bo_list),r}))}function Bp(e){var n;let t=null;for(let r=0;r<e.length;r++){const u=e[r];if(!!u){if(u.children&&((n=u.children[0])==null?void 0:n.type)==="group-panel"){t=u.children[0];continue}t&&(t.children.push(u),e.splice(r,1),r--)}}}function Pp(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function Dp(e,t){var r;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(u=>{!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),t[e.id][u].push(...e.props.events[u].map(o=>o.name)))}),((r=t[e.id])==null?void 0:r.on_blur)&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Tp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>$p(o)));return n?u:u[0]};function $p(e,t){return e.type===c.LIST_VIEW&&e.children.find(r=>r.type===c.GRID_TABLE).props.headers.forEach(r=>{!r.props.data_bind&&r.props.field_code&&(r.props.data_bind=new Al({dataCode:e.props.datasource_bind.data_code,fieldCode:r.props.field_code}))}),e}const Fp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Np(o)));return n?u:u[0]};function Np(e,t){return[c.BUTTON,c.CREATE_FORM_LIST_BUTTON,c.BATCH_SUBMISSION_LIST_BUTTON,c.SUBMISSION_RECORD_LIST_BUTTON,c.IMPORT_RECORD_LIST_BUTTON,c.EXPORT_RECORD_LIST_BUTTON,c.EXPORT_LIST_BUTTON,c.FORM_SELECT_BUTTON,c.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===c.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Lp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Mp(o)));return n?u:u[0]};function Mp(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const xp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>jp(o)));return n?u:u[0]},Hp=[c.ROW,c.TAB,c.SUBTABLE,c.GRID_ROW,c.CARD_GROUP];function jp(e,t){return e.type===c.TAB_PANE&&(e.children=e.children.map(n=>{if(Hp.includes(n.type))return n;const r=new od.Designer,u=new wr.Designer;r.children.push(u);const o=r.toSchema();return o.children[0].children.push(n),o})),e}const Up=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Vp(o)));return n?u:u[0]};function Vp(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===c.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const qp=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>Wp(o));return n?u:u[0]};function Wp(e,t){return e.type===c.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const zp=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>Kp(o));return n?u:u[0]};function q(e,t){e.field_code&&(e.field_type=t)}function Kp(e,t){var r;const n={[c.TITLE]:m.AUTO_NUMBER,[c.ADDRESS]:m.ADDRESS,[c.ATTACHMENT]:m.FILE,[c.AUTO_NUMBER]:m.AUTO_NUMBER,[c.CHECKBOX]:m.ARRAY,[c.DATE_PICKER]:m.TIMESTAMP,[c.DEPARTMENT]:m.DEPARTMENTS,[c.EMPLOYEE]:m.EMPLOYEES,[c.EMPLOYEE2]:m.EMPLOYEES,[c.IMAGE]:m.IMAGE,[c.INPUT]:m.VARCHAR,[c.NUMBER]:m.DECIMAL,[c.RADIO]:m.VARCHAR,[c.RICH_TEXT]:m.TEXT,[c.SCORE]:m.DECIMAL,[c.SELECT]:m.VARCHAR,[c.SELECT_MULTIPLE]:m.ARRAY,[c.SELECT_RELATION]:m.VARCHAR,[c.TEXTAREA]:m.TEXT,[c.TREE]:m.ARRAY,[c.SEARCH_DATE_RANGE]:m.ARRAY,[c.SEARCH_INPUT]:m.VARCHAR,[c.SEARCH_NUMBER_RANGE]:m.ARRAY};return n.hasOwnProperty(e.type)&&q(e.props.data_bind,n[e.type]),e.type===c.AMOUNT&&(q(e.props.data_bind.amount,m.DECIMAL),q(e.props.data_bind.currency,m.VARCHAR)),e.type===c.CALC&&(q(e.props.data_bind.result,m.DECIMAL),q(e.props.data_bind.unit,m.VARCHAR)),e.type===c.DATE_RANGE&&(q(e.props.data_bind.min,m.TIMESTAMP),q(e.props.data_bind.max,m.TIMESTAMP)),e.type===c.VUE_FORM_ITEM&&q(e.props.data_bind,(r=e.field_type)!=null?r:m.ANY),e}const Gp=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>Xp(o));return n?u:u[0]};function Xp(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===c.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const Qp=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>Jp(o));return n?u:u[0]};function Jp(e,t){return e.type===c.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var r,u;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((u=(r=n.props)==null?void 0:r.data_bind)==null?void 0:u.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const Zp=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>Yp(o));return n?u:u[0]};function Yp(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const ey=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>ty(o));return n?u:u[0]};function ty(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const ny=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>ry(o));return n?u:u[0]};function ry(e,t){return e.type===c.TITLE&&e.props.config.push(Dt.ShowTitle),e.type===c.GRID_TABLE&&e.props.headers.map(n=>{var r,u,o,a,s,f,p,y,v,h,E,O,b,I,d,g,_,S,R,L,k,M;if(n.type===c.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(r=n==null?void 0:n.children)!=null?r:[],delete n.props.custom,((u=n.props)==null?void 0:u.check)!==void 0){const w=new Lt.Designer;Object.defineProperty(w,"id",{value:"listPageCheckBtnId"}),w.props.code="view",w.props.icon="iconliulan1",w.props.command="view",w.props.content=(o=n.props)==null?void 0:o.check.content,w.props.priorityProcess=(a=n.props)==null?void 0:a.check.priority_process,w.props.openType=(s=n.props)==null?void 0:s.check.open_type,w.props.formKey=(f=n.props)==null?void 0:f.check.form_key,((p=n.props)==null?void 0:p.check.is_show)&&n.children.push(w.toSchema()),(y=n.props)==null||delete y.check}if(((v=n.props)==null?void 0:v.edit)!==void 0){const w=new Lt.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(h=n.props)==null?void 0:h.edit.content,w.props.priorityProcess=(E=n.props)==null?void 0:E.edit.priority_process,w.props.openType=(O=n.props)==null?void 0:O.edit.open_type,w.props.formKey=(b=n.props)==null?void 0:b.edit.form_key,((I=n.props)==null?void 0:I.edit.is_show)&&n.children.push(w.toSchema()),(d=n.props)==null||delete d.edit}if(((g=n.props)==null?void 0:g.delete)!==void 0){const w=new Lt.Designer;Object.defineProperty(w,"id",{value:"listPageDeleteBtnId"}),w.props.code="delete",w.props.icon="iconlajitong",w.props.command="delete",w.props.content=(_=n.props)==null?void 0:_.delete.content,w.props.priorityProcess=(S=n.props)==null?void 0:S.delete.priority_process,w.props.openType=(R=n.props)==null?void 0:R.delete.open_type,w.props.formKey=(L=n.props)==null?void 0:L.delete.form_key,w.props.needConfirm=!0,w.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",((k=n.props)==null?void 0:k.delete.is_show)&&n.children.push(w.toSchema()),(M=n.props)==null||delete M.delete}}}),[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var Vr={"v1.0":gp,"v2.0":Tp,"v2.1":Fp,"v2.2":Lp,"v2.3":xp,"v2.4":Up,"v2.5":qp,"v2.6":zp,"v2.7":Gp,"v2.8":Qp,"v2.9":Zp,"v2.10":ey,"v3.0":ny,"v3.1":()=>{}};const qr=(e,t)=>{const n=Wr(e),r=Wr(t),u=n.pop(),o=r.pop(),a=Gr(n,r);return a!==0?a:u&&o?Gr(u.split("."),o.split(".")):u||o?u?-1:1:0},et=(e,t,n)=>{ay(n);const r=qr(e,t);return Xr[n].includes(r)},iy=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Wr=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(iy);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},zr=e=>e==="*"||e==="x"||e==="X",Kr=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},uy=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],oy=(e,t)=>{if(zr(e)||zr(t))return 0;const[n,r]=uy(Kr(e),Kr(t));return n>r?1:n<r?-1:0},Gr=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=oy(e[n]||"0",t[n]||"0");if(r!==0)return r}return 0},Xr={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},Qr=Object.keys(Xr),ay=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Qr.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Qr.join("|")}`)};function cn(e){return e.replace(/^v/,"")}const ee=Object.keys(Vr).map(e=>cn(e)).sort(qr),he=ee[ee.length-1];class ly{constructor(t,n=he){this.schemaVersion=t,this.toVersion=n,et(n,he,">")?En(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${he}`):(!ee.includes(cn(n))||!ee.includes(cn(t)))&&En(`Version Builder: Please give me a valid version number, The valid version is: ${ee.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(et(this.toVersion,this.schemaVersion,"="))return t;const r=this.callDataCleanerKeys.reduce((u,o,a,s)=>{var v;const f=(v=s[a+1])!=null?v:this.toVersion;ge(`Version Builder: current version: ${o}, nextVersion: ${f}`);const p=Vr[o];let y=u;if(typeof p=="function"){const h=p(u,n);h&&(y=h)}return y},t);return ge(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),r}get runDataCleanerKeys(){return ee.filter(t=>et(t,this.schemaVersion,">=")&&et(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return he}static get version(){return he}}W.VersionBuilder=ly,Object.defineProperty(W,"__esModule",{value:!0})});
|