@byteluck-fe/model-driven-upgrade 1.7.14-beta.8 → 1.7.14-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- (function(G,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(G=typeof globalThis!="undefined"?globalThis:G||self,ie(G.modelDrivenUpgrade={}))})(this,function(G){"use strict";var ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ni="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Li="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Mi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ji="{caption}\u5FC5\u586B",Hi="\u8BF7\u8F93\u5165\u6807\u9898",Ui="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Vi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qi="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Wi="\u8BF7\u7ED1\u5B9A\u8868\u5355",zi="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ki="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Gi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xi="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Qi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ji="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Zi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Yi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",eo="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",to="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",no="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ro="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",io="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",oo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",uo="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ao="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",lo="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",so="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",co="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",fo="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",yo="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",po="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",vo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ho="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_o="\u8BF7\u7ED1\u5B9A\u670D\u52A1",bo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",mo="\u8BF7\u9009\u62E9\u7701",go="\u8BF7\u9009\u62E9\u5E02",Eo="\u8BF7\u9009\u62E9\u533A",Io="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",wo="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ao="\u8BF7\u8F93\u5165\u5217\u5BBD",Oo="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",So="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ro="\u8BF7\u9009\u62E9\u63A7\u4EF6",Po="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Co="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Bo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",To="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ko="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Do="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",$o="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Fo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",No="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Lo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Mo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",jo="\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",Uo="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vo="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Wo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",zo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ko="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Go="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xo={isNotNumber:ie,isNotString:Ni,isNotObject:Li,isNotArray:xi,isNotBoolean:Mi,runtimeRequired:ji,pleaseEnterCaption:Hi,pleaseEnterCaptionTip:Ui,pleaseEnterPlaceholder:Vi,pleaseEnterFieldCode:qi,pleaseEnterForm:Wi,pleaseEnterList:zi,pleaseEnterProcess:Ki,pleaseEnterLabel:Gi,pleaseEnterValue:Xi,bizKeyNotBindFiled:Qi,pleaseSelectOneField:Ji,pleaseEnterNumberRange:Zi,pleaseEnterAValueGreaterThanMin:Yi,pleaseEnterAValueLessThanMax:eo,numberRangeSetError:to,stringRangeError:no,attachmentMaxSize:ro,pleaseEnterTotalScoreSetting:io,theTotalScoreMustNotBeLessThan1:oo,scoreDefaultValueRange:uo,attachmentLimitError:ao,PleaseReselectTheOptionalQuantity:lo,TheMaximumLengthIsGreaterThanTheMinimumLength:so,TheMinimumLengthIsGreaterThanTheMaximumLength:co,PleaseSelectTheCorrectOptionSettings:fo,optionIdIsRepeat:yo,optionIsRequired:po,pleaseEnterDataCode:vo,pleaseEnterValueFieldCode:ho,pleaseEnterSvcCode:_o,pleaseBindAtLeastOneDisplayValue:bo,pleaseSelectProvince:mo,pleaseSelectCity:go,pleaseSelectDistrict:Eo,limitRowsCannotBeLessThan0:Io,TheNumberOfRowsCannotBeLessThanMinRows:wo,pleaseEnterColumnWidth:Ao,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Oo,pleaseCompleteAllRulesAndConditions:So,pleaseSelectControl:Ro,pleaseSelectAtLeastOneColumn:Po,pleaseSelectFillBackMode:Co,pleaseSelectDashboard:Bo,rootNodeIsRequired:To,theViewNameCannotBeEmpty:ko,pleaseSelectOcrType:Do,pleaseSelectAtLeastOneFieldToFillIn:$o,pleaseChooseAtLeastOne:Fo,pleaseEnterButtonContent:No,pleaseEnterDataCodeInDataSetting:Lo,pleaseEnterValueFieldCodeInDataSetting:xo,pleaseEnterSvcCodeInDataSetting:Mo,pleaseBindAtLeastOneDisplayValueInDataSetting:jo,rootNodeIsRequiredInDataSetting:Ho,pleaseEnterMaxHeight:Uo,pleaseEnter:Vo,pleaseEnterWatermark:qo,pleaseEnterFileName:Wo,pleaseUploadAtLeastOnePrintTemplate:zo,pleaseAssignBusiness:Ko,pleaseAssignExternal:Go},Qo="Please enter a number",Jo="Please enter a string",Zo="Please enter an object",Yo="Please enter an array",eu="Please enter a boolean",tu="{caption} Required",nu="Please enter the title",ru="Please enter the bubble prompt",iu="Please enter the prompt text",ou="Please bind data items",uu="Please bind the form",au="Please bind the list",lu="Please bind the process",su="Please enter the displayed value",cu="Please enter the stored value",fu="The document number is not bound to the data item",du="Please select at least one display field",yu="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}",vu="Please enter a value less than or equal to {max}",hu="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}",bu="The attachment size must be between 0MB and 1000MB",mu="Please fill in the total score setting",gu="The total score cannot be less than 1",Eu="The default value must be between {min} and {max}",Iu="The number of attachments uploaded must be between {min} and {max}",wu="Please re-select the optional quantity",Au="The maximum length of the control must be greater than the minimum length",Ou="The minimum length of the control must be less than the maximum length",Su="Please select the correct option setting",Ru="Option ID cannot be repeated",Pu="Please enter at least one option",Cu="Please bind the data source",Bu="Please bind the stored value",Tu="Please bind the service",ku="At least one display value must be bound",Du="Please select a province",$u="Please select a city",Fu="Please select a district",Nu="The minimum number of lines to fill in cannot be less than 0",Lu="The number of rows cannot be less than {min} rows",xu="Please enter the column width",Mu="Please set the logical relationship of all rule conditions",ju="Please complete all rules and conditions",Hu="please select control",Uu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Vu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ku="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Xu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ju="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ea="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ta="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",na="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ra="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ia="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",oa="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ua={isNotNumber:Qo,isNotString:Jo,isNotObject:Zo,isNotArray:Yo,isNotBoolean:eu,runtimeRequired:tu,pleaseEnterCaption:nu,pleaseEnterCaptionTip:ru,pleaseEnterPlaceholder:iu,pleaseEnterFieldCode:ou,pleaseEnterForm:uu,pleaseEnterList:au,pleaseEnterProcess:lu,pleaseEnterLabel:su,pleaseEnterValue:cu,bizKeyNotBindFiled:fu,pleaseSelectOneField:du,pleaseEnterNumberRange:yu,pleaseEnterAValueGreaterThanMin:pu,pleaseEnterAValueLessThanMax:vu,numberRangeSetError:hu,stringRangeError:_u,attachmentMaxSize:bu,pleaseEnterTotalScoreSetting:mu,theTotalScoreMustNotBeLessThan1:gu,scoreDefaultValueRange:Eu,attachmentLimitError:Iu,PleaseReselectTheOptionalQuantity:wu,TheMaximumLengthIsGreaterThanTheMinimumLength:Au,TheMinimumLengthIsGreaterThanTheMaximumLength:Ou,PleaseSelectTheCorrectOptionSettings:Su,optionIdIsRepeat:Ru,optionIsRequired:Pu,pleaseEnterDataCode:Cu,pleaseEnterValueFieldCode:Bu,pleaseEnterSvcCode:Tu,pleaseBindAtLeastOneDisplayValue:ku,pleaseSelectProvince:Du,pleaseSelectCity:$u,pleaseSelectDistrict:Fu,limitRowsCannotBeLessThan0:Nu,TheNumberOfRowsCannotBeLessThanMinRows:Lu,pleaseEnterColumnWidth:xu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mu,pleaseCompleteAllRulesAndConditions:ju,pleaseSelectControl:Hu,pleaseSelectDashboard:Uu,theViewNameCannotBeEmpty:Vu,pleaseSelectOcrType:qu,pleaseSelectAtLeastOneFieldToFillIn:Wu,pleaseChooseAtLeastOne:zu,pleaseEnterButtonContent:Ku,pleaseEnterDataCodeInDataSetting:Gu,pleaseEnterValueFieldCodeInDataSetting:Xu,pleaseEnterSvcCodeInDataSetting:Qu,pleaseBindAtLeastOneDisplayValueInDataSetting:Ju,rootNodeIsRequiredInDataSetting:Zu,pleaseEnterMaxHeight:Yu,pleaseEnter:ea,pleaseEnterWatermark:ta,pleaseEnterFileName:na,pleaseUploadAtLeastOnePrintTemplate:ra,pleaseAssignBusiness:ia,pleaseAssignExternal:oa},aa="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",la="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ca="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",da="{caption}\u5FC5\u9808",ya="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",va="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_a="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ba="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ma="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ga="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\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",Aa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sa="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Pa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ca="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ba="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ta="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ka="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Da="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",$a="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fa="\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",Na="\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",La="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ma="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ja="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ha="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ua="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Va="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",qa="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",za="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ka="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ga="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qa="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ja="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Za="please select control",Ya="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",el="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tl="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",nl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",rl="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",il="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ol="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ul="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",al="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ll="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",sl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",fl="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",dl="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",yl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pl="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",vl="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_l={isNotNumber:aa,isNotString:la,isNotObject:sa,isNotArray:ca,isNotBoolean:fa,runtimeRequired:da,pleaseEnterCaption:ya,pleaseEnterCaptionTip:pa,pleaseEnterPlaceholder:va,pleaseEnterFieldCode:ha,pleaseEnterForm:_a,pleaseEnterList:ba,pleaseEnterProcess:ma,pleaseEnterLabel:ga,pleaseEnterValue:Ea,bizKeyNotBindFiled:Ia,pleaseSelectOneField:wa,pleaseEnterNumberRange:Aa,pleaseEnterAValueGreaterThanMin:Oa,pleaseEnterAValueLessThanMax:Sa,numberRangeSetError:Ra,stringRangeError:Pa,attachmentMaxSize:Ca,pleaseEnterTotalScoreSetting:Ba,theTotalScoreMustNotBeLessThan1:Ta,scoreDefaultValueRange:ka,attachmentLimitError:Da,PleaseReselectTheOptionalQuantity:$a,TheMaximumLengthIsGreaterThanTheMinimumLength:Fa,TheMinimumLengthIsGreaterThanTheMaximumLength:Na,PleaseSelectTheCorrectOptionSettings:La,optionIdIsRepeat:xa,optionIsRequired:Ma,pleaseEnterDataCode:ja,pleaseEnterValueFieldCode:Ha,pleaseEnterSvcCode:Ua,pleaseBindAtLeastOneDisplayValue:Va,pleaseSelectProvince:qa,pleaseSelectCity:Wa,pleaseSelectDistrict:za,limitRowsCannotBeLessThan0:Ka,TheNumberOfRowsCannotBeLessThanMinRows:Ga,pleaseEnterColumnWidth:Xa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Qa,pleaseCompleteAllRulesAndConditions:Ja,pleaseSelectControl:Za,pleaseSelectDashboard:Ya,theViewNameCannotBeEmpty:el,pleaseSelectOcrType:tl,pleaseSelectAtLeastOneFieldToFillIn:nl,pleaseChooseAtLeastOne:rl,pleaseEnterButtonContent:il,pleaseEnterDataCodeInDataSetting:ol,pleaseEnterValueFieldCodeInDataSetting:ul,pleaseEnterSvcCodeInDataSetting:al,pleaseBindAtLeastOneDisplayValueInDataSetting:ll,rootNodeIsRequiredInDataSetting:sl,pleaseEnterMaxHeight:cl,pleaseEnter:fl,pleaseEnterWatermark:dl,pleaseEnterFileName:yl,pleaseUploadAtLeastOnePrintTemplate:pl,pleaseAssignBusiness:vl,pleaseAssignExternal:hl},bl={zhCN:Xo,enUS:ua,jaJP:_l},zn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(zn||(zn={}));var Kn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Kn||(Kn={}));var ml="zh-CN";function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Gn||(Gn={}));var y;(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.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.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"})(y||(y={}));var d;(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"})(d||(d={}));var B;B={},k(B,d.ARRAY,y.ARRAY_COLUMN),k(B,d.AUTO_NUMBER,y.AUTO_NUMBER_COLUMN),k(B,d.DECIMAL,y.DECIMAL_COLUMN),k(B,d.DEPARTMENTS,y.DEPARTMENT_COLUMN),k(B,d.FILE,y.FILE_COLUMN),k(B,d.IMAGE,y.IMAGE_COLUMN),k(B,d.ADDRESS,y.LOCATION_COLUMN),k(B,d.EMPLOYEES,y.EMPLOYEE_COLUMN),k(B,d.TEXT,y.TEXT_COLUMN),k(B,d.TIMESCOPE,y.TIMESCOPE_COLUMN),k(B,d.TIMESTAMP,y.TIMESTAMP_COLUMN),k(B,d.VARCHAR,y.VARCHAR_COLUMN),k(B,d.RELATION,y.VARCHAR_COLUMN);var Xn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(Xn||(Xn={}));var Qn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",gl=Qn+"0123456789";function be(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Qn:gl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function ht(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 El(e){if(Array.isArray(e))return ht(e)}function Il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jn(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&&ue(a,u.prototype),a},me.apply(null,arguments)}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oe(e)}function Zn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ue(e,t)}function Al(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ol(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Sl(){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 Rl(e,t){return t&&(Pl(t)==="object"||typeof t=="function")?t:Il(e)}function ue(e,t){return ue=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ue(e,t)}function Yn(e){return El(e)||Ol(e)||Cl(e)||Sl()}var Pl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cl(e,t){if(!!e){if(typeof e=="string")return ht(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 ht(e,t)}}function _t(e){var t=typeof Map=="function"?new Map:void 0;return _t=function(n){if(n===null||!Al(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,oe(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ue(i,n)},_t(e)}function Bl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function er(e){var t=Bl();return function(){var n=oe(e),i;if(t){var o=oe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Rl(this,i)}}var bt=console;function Tl(){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=bt).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Yn(i)))}function ge(){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=bt).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Yn(i)))}function kl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var mt=function(e){Zn(r,e);var t=er(r);function r(n){Jn(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?kl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(_t(Error)),Dl=function(e){Zn(r,e);var t=er(r);function r(n){Jn(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(mt);function tr(e){throw new mt(e)}function nr(e){throw new Dl(e)}function $l(e){bt.error(new mt(e))}var Fl=Object.prototype.toString;function rr(e,t){return Fl.call(e)==="[object "+t+"]"}function Nl(e){return rr(e,"String")}function Ll(e){return rr(e,"Promise")}var xl=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();Ll(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&&!Nl(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 Ml(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){Ml(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]:ml;return new xl({locale:r,messages:bl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function jl(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)){Tl("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 Hl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gt={exports:{}};(function(e){(function(t){var r=function(p,_,P){if(!a(_)||v(_)||h(_)||g(_)||c(_))return _;var A,O=0,L=0;if(f(_))for(A=[],L=_.length;O<L;O++)A.push(r(p,_[O],P));else{A={};for(var S in _)Object.prototype.hasOwnProperty.call(_,S)&&(A[p(S,P)]=r(p,_[S],P))}return A},n=function(p,_){_=_||{};var P=_.separator||"_",A=_.split||/(?=[A-Z])/;return p.split(A).join(P)},i=function(p){return w(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(_,P){return P?P.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var _=i(p);return _.substr(0,1).toUpperCase()+_.substr(1)},u=function(p,_){return n(p,_).toLowerCase()},s=Object.prototype.toString,c=function(p){return typeof p=="function"},a=function(p){return p===Object(p)},f=function(p){return s.call(p)=="[object Array]"},v=function(p){return s.call(p)=="[object Date]"},h=function(p){return s.call(p)=="[object RegExp]"},g=function(p){return s.call(p)=="[object Boolean]"},w=function(p){return p=p-0,p===p},b=function(p,_){var P=_&&"process"in _?_.process:_;return typeof P!="function"?p:function(A,O){return P(A,p,O)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(p,_){return r(b(i,_),p)},decamelizeKeys:function(p,_){return r(b(u,_),p,_)},pascalizeKeys:function(p,_){return r(b(o,_),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(Hl)})(gt);var ir={};Object.defineProperty(ir,"__esModule",{value:!0});function Et(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Et(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Et(n)}return t}}var Ul=ir.default=Et;function W(e){if(e!==void 0)return typeof e=="object"?Ul(e):e}function T(e){return or(e)&&"zh"in e}function or(e){return Object.prototype.toString.call(e)==="[object Object]"}function Vl(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function ql(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function F(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=F(n.children,t)),t(i)})),r}function Wl(e){return gt.exports.camelizeKeys(e)}function Q(e){return gt.exports.decamelizeKeys(e)}function It(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 zl(e){if(Array.isArray(e))return It(e)}function ur(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 Kl(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){ur(o,n,i,u,s,"next",c)}function s(c){ur(o,n,i,u,s,"throw",c)}u(void 0)})}}function Gl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ql(){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 wt(e){return zl(e)||Xl(e)||Jl(e)||Ql()}function Jl(e,t){if(!!e){if(typeof e=="string")return It(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 It(e,t)}}var Zl=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(f){return c([a,f])}}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(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Yl=function(){function e(){Gl(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 Kl(function(){var c,a,f,v,h,g,w,b,E,p,_,P;return Zl(this,function(A){switch(A.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];f=c.slice(),v=!0,h=!1,g=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=f[Symbol.iterator](),A.label=2;case 2:if(v=(b=w.next()).done)return[3,7];if(E=b.value,!c.includes(E))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),s.debug&&ge.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(wt(o))),[4,E.apply(null,wt(o))];case 4:return p=A.sent(),s.debug&&ge.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(wt(o),[p])),a.push(p),p===!1?[3,7]:[3,6];case 5:return _=A.sent(),$l(String(_)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=A.sent(),h=!0,g=P,[3,10];case 9:try{!v&&w.return!=null&&w.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}(),es=[];new Set(es.map(function(e){return e.Designer.controlType}));function ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function At(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ot(e,t)}function lr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ts(e,t){return t&&(ns(t)==="object"||typeof t=="function")?t:ar(e)}function Ot(e,t){return Ot=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ot(e,t)}var ns=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function St(e){var t=rs();return function(){var n=Ee(e),i;if(t){var o=Ee(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ts(this,i)}}var Ie=function e(t){R(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:""},sr=function e(t){R(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},cr=function(e){At(r,e);var t=St(r);function r(n){R(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}(sr),is=function e(t){R(this,e),this.pc=new cr(t==null?void 0:t.pc);var r;this.mobile=(r=t==null?void 0:t.mobile)!==null&&r!==void 0?r:new cr({width:130,minWidth:180})},fr=function e(t){R(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:""},os=function e(t){R(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:d.VARCHAR},us=function(e){At(r,e);var t=St(r);function r(n){R(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}(fr),as=function e(t){R(this,e);var r,n;this.type="sublist-page",this.formBind=new fr(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 os(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 us(u)}))!==null&&o!==void 0?o:[]},ls=function e(t){R(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},ss=function e(t){R(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:[]},cs=function e(t){var r=this;R(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();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 f,v=new dr(s);(f=r.children)===null||f===void 0||f.push(v)}}))},dr=function e(t){R(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:be();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 ls(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ss(t==null?void 0:t.rightVariableBo)},fs=function e(t){R(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){R(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},ys=function e(t){R(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 yr(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(o){return o.children!==void 0?new cs(o):new dr(o)}))!==null&&r!==void 0?r:[],lr(this,ae)||lr(this,vs)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(o){return new ys(o)}))!==null&&i!==void 0?i:[]}}var ae=function e(t){var r=this;R(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=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(c){var a;(a=r.displayBoList)===null||a===void 0||a.push(new ds(c))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var s;this.svcCode=(s=t==null?void 0:t.svcCode)!==null&&s!==void 0?s:"",yr.call(this,t)},ps=function e(t){R(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 fs(u)}))!==null&&o!==void 0?o:[]},vs=function(e){At(r,e);var t=St(r);function r(n){R(this,r);var i;return i=t.call(this,n),yr.call(ar(i),n),i}return r}(ps),hs=function e(t){R(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:""},pr;(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"})(pr||(pr={}));var l;(function(e){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.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 Rt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Rt||(Rt={}));var le=function e(t){R(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},_s=function e(t){R(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"};function bs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ms(){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 ms()?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&&ce(a,u.prototype),a},we.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(e)}function gs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Es(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Is(e,t){return t&&(ws(t)==="object"||typeof t=="function")?t:bs(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ce(e,t)}var ws=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ct(e){var t=typeof Map=="function"?new Map:void 0;return Ct=function(n){if(n===null||!Es(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,se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ce(i,n)},Ct(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 Os(e){var t=As();return function(){var n=se(e),i;if(t){var o=se(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Is(this,i)}}var fe=function e(t){Pt(this,e),this.isHide={type:"boolean"}},Ae=function(e){gs(r,e);var t=Os(r);function r(n){return Pt(this,r),t.call(this)}return r}(Ct(Array)),M=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Pt(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new _s(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=fe,M.RuntimeRules=Ae;function N(){return N=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},N.apply(this,arguments)}function Ss(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Bt(e){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bt(e)}function Oe(e,t){return Oe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Oe(e,t)}function Rs(){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 Se(e,t,r){return Rs()?Se=Reflect.construct:Se=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&Oe(a,u.prototype),a},Se.apply(null,arguments)}function Ps(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Tt(e){var t=typeof Map=="function"?new Map:void 0;return Tt=function(n){if(n===null||!Ps(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 Se(n,arguments,Bt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Oe(i,n)},Tt(e)}var Cs=/%[sdj%]/g,vr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(vr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function kt(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 D(){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(Cs,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 Bs(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function C(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Bs(t)&&typeof e=="string"&&!e)}function Ts(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 hr(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 ks(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var _r=function(e){Ss(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}(Tt(Error));function Ds(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 _r(E,kt(E))):v()},w=ks(e);hr(w,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=[],f=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 _r(a,kt(a))):v()};u.length||(n(a),v()),u.forEach(function(w){var b=e[w];o.indexOf(w)!==-1?hr(b,r,g):Ts(b,r,g)})});return f.catch(function(v){return v}),f}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 mr(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]=N(N({},e[r]),n):e[r]=n}}return e}function gr(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||C(t,o||e.type))&&n.push(D(i.messages.required,e.fullField))}function $s(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(D(i.messages.whitespace,e.fullField))}var Dt={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},de={integer:function(t){return de.number(t)&&parseInt(t,10)===t},float:function(t){return de.number(t)&&!de.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"&&!de.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Dt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Dt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Dt.hex)}};function Fs(e,t,r,n,i){if(e.required&&t===void 0){gr(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?de[u](t)||n.push(D(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(D(i.messages.types[u],e.fullField,e.type))}function Ns(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,f=null,v=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(v?f="number":h?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),o?a!==e.len&&n.push(D(i.messages[f].len,e.fullField,e.len)):u&&!s&&a<e.min?n.push(D(i.messages[f].min,e.fullField,e.min)):s&&!u&&a>e.max?n.push(D(i.messages[f].max,e.fullField,e.max)):u&&s&&(a<e.min||a>e.max)&&n.push(D(i.messages[f].range,e.fullField,e.min,e.max))}var J="enum";function Ls(e,t,r,n,i){e[J]=Array.isArray(e[J])?e[J]:[],e[J].indexOf(t)===-1&&n.push(D(i.messages[J],e.fullField,e[J].join(", ")))}function xs(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(D(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(D(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:gr,whitespace:$s,type:Fs,range:Ns,enum:Ls,pattern:xs};function Ms(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"string")&&!e.required)return r();I.required(e,t,n,o,i,"string"),C(t,"string")||(I.type(e,t,n,o,i),I.range(e,t,n,o,i),I.pattern(e,t,n,o,i),e.whitespace===!0&&I.whitespace(e,t,n,o,i))}r(o)}function js(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I.type(e,t,n,o,i)}r(o)}function Hs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function Us(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I.type(e,t,n,o,i)}r(o)}function Vs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),C(t)||I.type(e,t,n,o,i)}r(o)}function qs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function Ws(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function zs(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();I.required(e,t,n,o,i,"array"),t!=null&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function Ks(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I.type(e,t,n,o,i)}r(o)}var Gs="enum";function Xs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I[Gs](e,t,n,o,i)}r(o)}function Qs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"string")&&!e.required)return r();I.required(e,t,n,o,i),C(t,"string")||I.pattern(e,t,n,o,i)}r(o)}function Js(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"date")&&!e.required)return r();if(I.required(e,t,n,o,i),!C(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),I.type(e,s,n,o,i),s&&I.range(e,s.getTime(),n,o,i)}}r(o)}function Zs(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;I.required(e,t,n,o,i,u),r(o)}function $t(e,t,r,n,i){var o=e.type,u=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(C(t,o)&&!e.required)return r();I.required(e,t,n,u,i,o),C(t,o)||I.type(e,t,n,u,i)}r(u)}function Ys(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t)&&!e.required)return r();I.required(e,t,n,o,i)}r(o)}var ye={string:Ms,method:js,number:Hs,boolean:Us,regexp:Vs,integer:qs,float:Ws,array:zs,object:Ks,enum:Xs,pattern:Qs,date:Js,url:$t,hex:$t,email:$t,required:Zs,any:Ys};function Ft(){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 Nt=Ft();function j(e){this.rules=null,this._messages=Nt,this.define(e)}j.prototype={messages:function(t){return t&&(this._messages=mr(Ft(),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,p=[],_={};function P(A){if(Array.isArray(A)){var O;p=(O=p).concat.apply(O,A)}else p.push(A)}for(E=0;E<b.length;E++)P(b[E]);p.length?_=kt(p):(p=null,_=null),s(p,_)}if(u.messages){var a=this.messages();a===Nt&&(a=Ft()),mr(a,u.messages),u.messages=a}else u.messages=this.messages();var f,v,h={},g=u.keys||Object.keys(this.rules);g.forEach(function(b){f=i.rules[b],v=o[b],f.forEach(function(E){var p=E;typeof p.transform=="function"&&(o===t&&(o=N({},o)),v=o[b]=p.transform(v)),typeof p=="function"?p={validator:p}:p=N({},p),p.validator=i.getValidationMethod(p),p.field=b,p.fullField=p.fullField||b,p.type=i.getType(p),p.validator&&(h[b]=h[b]||[],h[b].push({rule:p,value:v,source:o,field:b}))})});var w={};return Ds(h,u,function(b,E){var p=b.rule,_=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");_=_&&(p.required||!p.required&&b.value),p.field=b.field;function P(L,S){return N(N({},S),{},{fullField:p.fullField+"."+L})}function A(L){L===void 0&&(L=[]);var S=L;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&j.warning("async-validator:",S),S.length&&p.message!==void 0&&(S=[].concat(p.message)),S=S.map(br(p)),u.first&&S.length)return w[p.field]=1,E(S);if(!_)E(S);else{if(p.required&&!b.value)return p.message!==void 0?S=[].concat(p.message).map(br(p)):u.error&&(S=[u.error(p,D(u.messages.required,p.field))]),E(S);var x={};if(p.defaultField)for(var $i in b.value)b.value.hasOwnProperty($i)&&(x[$i]=p.defaultField);x=N(N({},x),b.rule.fields);for(var ne in x)if(x.hasOwnProperty(ne)){var mh=Array.isArray(x[ne])?x[ne]:[x[ne]];x[ne]=mh.map(P.bind(null,ne))}var Fi=new j(x);Fi.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Fi.validate(b.value,b.rule.options||u,function(Wn){var re=[];S&&S.length&&re.push.apply(re,S),Wn&&Wn.length&&re.push.apply(re,Wn),E(re.length?re:null)})}}var O;p.asyncValidator?O=p.asyncValidator(p,b.value,A,b.source,u):p.validator&&(O=p.validator(p,b.value,A,b.source,u),O===!0?A():O===!1?A(p.message||p.field+" fails"):O instanceof Array?A(O):O instanceof Error&&A(O.message)),O&&O.then&&O.then(function(){return A()},function(L){return A(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&&!ye.hasOwnProperty(t.type))throw new Error(D("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"?ye.required:ye[this.getType(t)]||!1}},j.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");ye[t]=r},j.warning=vr,j.messages=Nt,j.validators=ye;var ec={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 tc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new j(e);return r.messages(Object.assign(ec,t)),r}var nc=new Yl;function Lt(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 rc(e){if(Array.isArray(e))return e}function ic(e){if(Array.isArray(e))return Lt(e)}function Er(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 Ir(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Er(o,n,i,u,s,"next",c)}function s(c){Er(o,n,i,u,s,"throw",c)}u(void 0)})}}function oc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uc(e,t,r){return t&&wr(e.prototype,t),r&&wr(e,r),e}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ar(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Or(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lc(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sr(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){ac(e,i,r[i])})}return e}function cc(e){return rc(e)||Or(e)||Rr(e)||lc()}function xt(e){return ic(e)||Or(e)||Rr(e)||sc()}function Rr(e,t){if(!!e){if(typeof e=="string")return Lt(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 Lt(e,t)}}var Pr=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(f){return c([a,f])}}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(f){a=[6,f],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;oc(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Br,this.removeSetting=Cr,this._callControlHooks("preInstance",n);var o=Ar(this,t)?this.constructor:void 0,u=o.controlName,s=o.controlIcon,c=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,g=o.setting;u&&s&&c||nr("The ".concat(h," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:be(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,(Ar(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=W(g);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:a,this.eventKeys=W(f),this.customEvents=W(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=cc(o),a=c[0],f=c.slice(1);return(s=nc).emit.apply(s,[a,this].concat(xt(f)))},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),jl(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return Ir(function(){var o,u,s;return Pr(this,function(c){switch(c.label){case 0:return o=Sr({},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 Ir(function(){var s,c,a,f;return Pr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:s=v.sent(),c=s!==void 0?s:Sr({},u.rules),Array.isArray(o)&&o.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=tc(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 f=v.sent(),f.control||(f.control=u),f;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,f=c.datasourceBind,v=c.optionConfig,h=c.caption,g=c.required,w=c.maxLength,b=c.options,E=c.encrypted,p=c.encryptedMode;if(!(!o&&!a&&!f)){var _={parentId:i,fieldType:o,controlId:u,caption:h,type:s,props:{}};switch(a&&(_.dataBind=a),v){case"datasource":case void 0:f&&(_.datasourceBind=f);break;case"custom":_.props.options=b;break}return g!==void 0&&(_.required=g),w!==void 0&&(_.maxLength=w),E!==void 0&&(_.encrypted=E),p!==void 0&&(_.encryptedMode=p),_}},r.preToSchema=function(){this._callControlHooks("preToSchema",this)},r.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:W(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,xt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},uc(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=Cr,$.updateSettingItem=Br;function Cr(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 Br(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,xt(t.showItems))}}}})}function fc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dc(e,t,r){return t&&Tr(e.prototype,t),r&&Tr(e,r),e}function yc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var pe=function(){function t(r){fc(this,t),this.customEvents=[],this.parent=null;var n=yc(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,s=n.controlCustomEvents;i||nr("The ".concat(u," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:be(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 f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"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:Rt.UNKNOWN}return dc(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}();pe.controlType="control",pe.__is_control__=!0,pe.controlCustomEvents=[];function pc(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=ql(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 vc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mt(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(r){return r.__proto__||Object.getPrototypeOf(r)},Re(e)}function jt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ht(e,t)}function hc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _c(e,t){return t&&(bc(t)==="object"||typeof t=="function")?t:vc(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ht(e,t)}var bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ut(e){var t=mc();return function(){var n=Re(e),i;if(t){var o=Re(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return _c(this,i)}}var Vt=function(e){jt(r,e);var t=Ut(r);function r(n){Mt(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(hc(n.dataBind,Ie))i.dataBind={type:"object",required:!0,fields:W(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:W(o),message:m.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(fe),qt=function(e){jt(r,e);var t=Ut(r);function r(n){Mt(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),Z=function(e){jt(r,e);var t=Ut(r);function r(n){Mt(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 f;i.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"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 Ie(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return r}(M);Z.Rules=Vt,Z.RuntimeRules=qt;function gc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ec(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 Ic(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wt(e,t)}function wc(e,t){return t&&(Ac(t)==="object"||typeof t=="function")?t:gc(e)}function Wt(e,t){return Wt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wt(e,t)}var Ac=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sc(e){var t=Oc();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 wc(this,i)}}var zt=function(e){Ic(r,e);var t=Sc(r);function r(n){Ec(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Z(n==null?void 0:n.props),i}return r}($);zt.controlEventKeys=["on_change","on_focus","on_blur"];function Rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ce(e)}function Cc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bc(e,t){return t&&(Tc(t)==="object"||typeof t=="function")?t:Rc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var Tc=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 Dc(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 Bc(this,i)}}var $c=function(e){Cc(r,e);var t=Dc(r);function r(n){Pc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Z(n==null?void 0:n.props),i}return r}(pe);function Fc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nc(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 Lc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gt(e,t)}function xc(e,t){return t&&(Mc(t)==="object"||typeof t=="function")?t:Fc(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gt(e,t)}var Mc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hc(e){var t=jc();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 xc(this,i)}}var H=function(e){Lc(r,e);var t=Hc(r);function r(n){return Nc(this,r),t.call(this,n)}return r}(M);function Xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Uc(e){if(Array.isArray(e))return Xt(e)}function Vc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function kr(e){return Uc(e)||Vc(e)||Wc(e)||qc()}function Wc(e,t){if(!!e){if(typeof e=="string")return Xt(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 Xt(e,t)}}function zc(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Dr(e,t){e.parent=t,zc(e,"parent")}function Kc(e,t){e.forEach(function(r){Dr(r,t)})}var $r=Symbol("targetKey");function Fr(e){var t;return(t=e[$r])!==null&&t!==void 0?t:e}function Nr(e,t){return Kc(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===$r?n:(c=Reflect).get.apply(c,[n,i].concat(kr(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(Vl(e)&&i==="length"&&o===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,o].concat(kr(s)));return or(o)&&Dr(o,t),f}})}function Qt(e,t,r,n){var i=n!=null?n:e,o=Nr(Fr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Nr(Fr(s),i)},enumerable:!0})}function Jt(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 Gc(e){if(Array.isArray(e))return Jt(e)}function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xr(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 Xc(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){xr(o,n,i,u,s,"next",c)}function s(c){xr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Qc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Y=Reflect.get:Y=function(i,o,u){var s=af(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},Y(e,t,r||e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U(e)}function Zc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function Yc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ef(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tf(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nf(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){Jc(e,i,r[i])})}return e}function rf(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 of(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function uf(e,t){return t&&(lf(t)==="object"||typeof t=="function")?t:Lr(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zt(e,t)}function af(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=U(e),e!==null););return e}function Mr(e){return Gc(e)||ef(e)||sf(e)||tf()}var lf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sf(e,t){if(!!e){if(typeof e=="string")return Jt(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 Jt(e,t)}}function cf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ff(e){var t=cf();return function(){var n=U(e),i;if(t){var o=U(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return uf(this,i)}}var df=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(f){return c([a,f])}}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(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},yf=1e4,z=function(t){Zc(n,t);var r=ff(n);function n(o){Qc(this,n);var u;u=r.call(this,o),u.controlType="layout";var s=Yc(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return u.props=new H(o==null?void 0:o.props),Qt(Lr(u),"children",o==null?void 0:o.children),u.excludes=W(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,f=function(){return Y(U(n.prototype),"validate",c)};return Xc(function(){return df(this,function(v){switch(v.label){case 0:return[4,f().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=Y(U(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,f){var v=f.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(g){return!!g});return Mr(a).concat(Mr(h))}return v&&a.push(v),a},c)},i.toSchema=function(){var u=Y(U(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return of(nf({},u),{children:s})},n}($);z.excludes=!1,z.childrenMaxLength=yf;function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pf(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 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&&Yt(e,t)}function hf(e,t){return t&&(_f(t)==="object"||typeof t=="function")?t:jr(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var _f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mf(e){var t=bf();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 hf(this,i)}}var ve=function(e){vf(r,e);var t=mf(r);function r(n){pf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new H(n==null?void 0:n.props),Qt(jr(i),"children",n==null?void 0:n.children),i}return r}(pe);function Hr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(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&&en(e,t)}function If(e,t){return t&&(wf(t)==="object"||typeof t=="function")?t:Hr(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var wf=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 Of(e){var t=Af();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 If(this,i)}}var Sf=function(e){Ef(r,e);var t=Of(r);function r(n,i){gf(this,r);var o;return o=t.call(this,i),Qt(Hr(o),"headers",i==null?void 0:i.headers,n),o}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 Rf(e){if(Array.isArray(e))return tn(e)}function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(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 Pf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Vr(o,n,i,u,s,"next",c)}function s(c){Vr(o,n,i,u,s,"throw",c)}u(void 0)})}}function Cf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ee=Reflect.get:ee=function(i,o,u){var s=Nf(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},ee(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(e)}function Tf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Df(){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){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){Bf(e,i,r[i])})}return e}function $f(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 Wr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$f(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ff(e,t){return t&&(Lf(t)==="object"||typeof t=="function")?t:Ur(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nn(e,t)}function Nf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function zr(e){return Rf(e)||kf(e)||xf(e)||Df()}var Lf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xf(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 Mf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jf(e){var t=Mf();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 Ff(this,i)}}var Hf=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(f){return c([a,f])}}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(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},Uf=function(e){Tf(r,e);var t=jf(r);function r(i){Cf(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Sf(Ur(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 ee(V(r.prototype),"validate",s)};return Pf(function(){return Hf(this,function(f){switch(f.label){case 0:return[4,a().call(c,o)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=ee(V(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,a){var f=a.toDataBindModel(s);if(Array.isArray(f)){var v=f.filter(function(h){return!!h});return zr(c).concat(zr(v))}return f&&c.push(f),c},u)},n.toSchema=function(){var o=ee(V(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(s){return s.toSchema()});return Wr(qr({},o),{props:Wr(qr({},this.props),{headers:u})})},r}($);Uf.controlFieldType=d.LIST;function Vf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(e)}function Gr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qf(e,t){return t&&(Wf(t)==="object"||typeof t=="function")?t:Vf(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},rn(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 Xr(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 Kf=function(e){Gr(r,e);var t=Xr(r);function r(n){Kr(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}(fe),Gf=function(e){Gr(r,e);var t=Xr(r);function r(n){Kr(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 sr(n==null?void 0:n.autoWidth),i.dataBind=new Ie(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);Gf.Rules=Kf,console.log("sourcemap 4"),l.IS_HIDE,l.IS_HIDE;function Xf(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 $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function Jf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}function Zf(e,t){return t&&(Yf(t)==="object"||typeof t=="function")?t:Xf(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}var Yf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function td(e){var t=ed();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 Zf(this,i)}}var nd=function(e){Jf(r,e);var t=td(r);function r(n){Qf(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 f;i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var v;i.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;return i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,i}return r}(M);function rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function od(e,t,r){return t&&Qr(e.prototype,t),r&&Qr(e,r),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ad(e,t){return t&&(ld(t)==="object"||typeof t=="function")?t:rd(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var ld=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cd(e){var t=sd();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 ad(this,i)}}var Jr=function(e){ud(r,e);var t=cd(r);function r(n){id(this,r);var i;return i=t.call(this,n),i.props=new nd(n==null?void 0:n.props),i}return od(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}($);Jr.controlEventKeys=["on_click"],Jr.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 Zr;(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"})(Zr||(Zr={}));var Yr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Yr||(Yr={}));var ei;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(ei||(ei={}));var ti;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(ti||(ti={}));var ni;(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"})(ni||(ni={}));function ri(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ii;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ii||(ii={}));var oi;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(oi||(oi={}));var ui;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ui||(ui={}));var ai;(function(e){e.ALL="all",e.ASSIGN="assign"})(ai||(ai={}));var li;(function(e){e.ALL="all",e.ADMIN="admin"})(li||(li={})),l.IS_HIDE,d.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,l.IS_HIDE,l.IS_HIDE;function fd(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 Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function ln(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sn(e,t)}function dd(e,t){return t&&(yd(t)==="object"||typeof t=="function")?t:fd(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}var yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cn(e){var t=pd();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 dd(this,i)}}var vd=function(e){ln(r,e);var t=cn(r);function r(n){an(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=ri(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Vt),hd=function(e){ln(r,e);var t=cn(r);function r(n){an(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:ri(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(qt),fn=function(e){ln(r,e);var t=cn(r);function r(n){an(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 hs(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:xe.controlName;var a;i.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var f;i.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var v;return i.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",i}return r}(Z);fn.Rules=vd,fn.RuntimeRules=hd;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 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 md(e,t,r){return t&&si(e.prototype,t),r&&si(e,r),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(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&&dn(e,t)}function Ed(e,t){return t&&(Id(t)==="object"||typeof t=="function")?t:_d(e)}function dn(e,t){return dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},dn(e,t)}var Id=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 Ad(e){var t=wd();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 Ed(this,i)}}var xe=function(e){gd(r,e);var t=Ad(r);function r(n){bd(this,r);var i;return i=t.call(this,n),i.props=new fn(n==null?void 0:n.props),i}return md(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);xe.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xe.controlFieldType=d.VARCHAR,xe.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}],d.VARCHAR,d.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.ARRAY,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.VARCHAR,d.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,d.DECIMAL,d.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TIMESTAMP,d.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TIMESCOPE,d.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TEXT,d.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TEXT,d.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,d.VARCHAR,d.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,d.ARRAY,d.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.EMPLOYEES;function Od(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function pn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vn(e,t)}function Sd(e,t){return t&&(Rd(t)==="object"||typeof t=="function")?t:Od(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var Rd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hn(e){var t=Pd();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 Sd(this,i)}}var Cd=104857600,Bd=1048576e3,Td=function(e){pn(r,e);var t=hn(r);function r(n){yn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:Bd,message:m.getMessage("attachmentMaxSize")},i}return r}(Vt),kd=function(e){pn(r,e);var t=hn(r);function r(n){yn(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),je=function(e){pn(r,e);var t=hn(r);function r(n){yn(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 f;i.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:Cd;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ue.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}(Z);je.Rules=Td,je.RuntimeRules=kd;function Dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $d(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 Fd(e,t,r){return t&&ci(e.prototype,t),r&&ci(e,r),e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function Nd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ld(e,t){return t&&(xd(t)==="object"||typeof t=="function")?t:Dd(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var xd=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 jd(e){var t=Md();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 Ld(this,i)}}var Ue=function(e){Nd(r,e);var t=jd(r);function r(n){$d(this,r);var i;return i=t.call(this,n),i.props=new je(n==null?void 0:n.props),i}return Fd(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(zt);Ue.controlEventKeys=["on_change"],Ue.controlFieldType=d.FILE,Ue.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 Hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vd(e,t,r){return t&&fi(e.prototype,t),r&&fi(e,r),e}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ve(e)}function qd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wd(e,t){return t&&(zd(t)==="object"||typeof t=="function")?t:Hd(e)}function bn(e,t){return bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},bn(e,t)}var zd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gd(e){var t=Kd();return function(){var n=Ve(e),i;if(t){var o=Ve(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Wd(this,i)}}var Xd=function(e){qd(r,e);var t=Gd(r);function r(n){Ud(this,r);var i;return i=t.call(this,n),i.props=new je(n==null?void 0:n.props),i}return Vd(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}($c);Xd.controlFieldType=d.FILE,d.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.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,d.MONEY,d.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.DECIMAL,d.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,d.ADDRESS,d.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.DEPARTMENTS,d.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.AUTO_NUMBER,d.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,d.CALC,d.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.DECIMAL_RANGE,d.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.ARRAY,d.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,d.ANY,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.IS_SHOW_CAPTION_TIP,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,d.VARCHAR,d.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,d.ARRAY,d.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.EMPLOYEES,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.VARCHAR,d.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,d.FILE,d.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.DEPARTMENTS,y.GRID;function Qd(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 qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mn(e,t)}function Yd(e,t){return t&&(ey(t)==="object"||typeof t=="function")?t:Qd(e)}function mn(e,t){return mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},mn(e,t)}var ey=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ty(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ny(e){var t=ty();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 Yd(this,i)}}var ry=24,gn=function(e){Zd(r,e);var t=ny(r);function r(n){Jd(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:ry;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(H);function iy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uy(e,t,r){return t&&di(e.prototype,t),r&&di(e,r),e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function ay(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&En(e,t)}function ly(e,t){return t&&(sy(t)==="object"||typeof t=="function")?t:iy(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var sy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fy(e){var t=cy();return function(){var n=We(e),i;if(t){var o=We(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ly(this,i)}}var In=function(e){ay(r,e);var t=fy(r);function r(n){oy(this,r);var i;return i=t.call(this,n),i.props=new gn(n==null?void 0:n.props),i}return uy(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(z);In.excludes=[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.DIVIDER],In.childrenMaxLength=1;function dy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function py(e,t,r){return t&&yi(e.prototype,t),r&&yi(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}function hy(e,t){return t&&(_y(t)==="object"||typeof t=="function")?t:dy(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var _y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function by(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function my(e){var t=by();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 hy(this,i)}}var gy=function(e){vy(r,e);var t=my(r);function r(n){yy(this,r);var i;return i=t.call(this,n),i.props=new gn(n==null?void 0:n.props),i}return py(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(ve),pi={Designer:In,Runtime:gy,Property:gn};function Ey(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ay(e,t){return t&&(Oy(t)==="object"||typeof t=="function")?t:Ey(e)}function An(e,t){return An=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},An(e,t)}var Oy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ry(e){var t=Sy();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 Ay(this,i)}}var On=function(e){wy(r,e);var t=Ry(r);function r(n){Iy(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}(H);function Py(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function By(e,t,r){return t&&vi(e.prototype,t),r&&vi(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function Ty(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ky(e,t){return t&&(Dy(t)==="object"||typeof t=="function")?t:Py(e)}function Sn(e,t){return Sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Sn(e,t)}var Dy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fy(e){var t=$y();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 ky(this,i)}}var Rn=function(e){Ty(r,e);var t=Fy(r);function r(n){Cy(this,r);var i;return i=t.call(this,n),i.props=new On(n==null?void 0:n.props),i}return By(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(z);Rn.excludes=[y.ROW],Rn.setting=[{key:"col-setting",visible:!0}];function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xy(e,t,r){return t&&hi(e.prototype,t),r&&hi(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function My(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pn(e,t)}function jy(e,t){return t&&(Hy(t)==="object"||typeof t=="function")?t:Ny(e)}function Pn(e,t){return Pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pn(e,t)}var Hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vy(e){var t=Uy();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 jy(this,i)}}var qy=function(e){My(r,e);var t=Vy(r);function r(n){Ly(this,r);var i;return i=t.call(this,n),i.props=new On(n==null?void 0:n.props),i}return xy(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(ve);function Wy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zy(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 Ky(e,t,r){return t&&_i(e.prototype,t),r&&_i(e,r),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Xy(e,t){return t&&(Qy(t)==="object"||typeof t=="function")?t:Wy(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var Qy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zy(e){var t=Jy();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 Xy(this,i)}}var Yy=4,Je=function(e){Gy(r,e);var t=Zy(r);function r(n){return zy(this,r),t.call(this,n)}return Ky(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}(Rn);Je.excludes=[y.GRID_ROW],Je.setting=[],Je.childrenMaxLength=Yy;function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function np(e,t,r){return t&&bi(e.prototype,t),r&&bi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(e)}function rp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ip(e,t){return t&&(op(t)==="object"||typeof t=="function")?t:ep(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var op=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function up(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ap(e){var t=up();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 ip(this,i)}}var lp=function(e){rp(r,e);var t=ap(r);function r(n){return tp(this,r),t.call(this,n)}return np(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(qy);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 Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tn(e,t)}function dp(e,t){return t&&(yp(t)==="object"||typeof t=="function")?t:sp(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tn(e,t)}var yp=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 vp(e){var t=pp();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 dp(this,i)}}var hp=function(e){fp(r,e);var t=vp(r);function r(n){return cp(this,r),t.call(this,n)}return r}(On),_p={Designer:Je,Runtime:lp,Property:hp};function bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ep(e,t){return t&&(Ip(t)==="object"||typeof t=="function")?t:bp(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kn(e,t)}var Ip=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 Ap(e){var t=wp();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 Ep(this,i)}}H.Rules,l.CAPTION,l.IS_HIDE,y.CARD_GROUP;function Op(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 tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function gi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dn(e,t)}function Sp(e,t){return t&&(Rp(t)==="object"||typeof t=="function")?t:Op(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var Rp=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 Ei(e){var t=Pp();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 Sp(this,i)}}var Cp=function(e){gi(r,e);var t=Ei(r);function r(n){mi(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")},i.width.required=n.widthType==="px",n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(fe),nt=function(e){gi(r,e);var t=Ei(r);function r(n){mi(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,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:!1;var c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;i.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;return i.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1,i.metaAutoWidth=new is(n==null?void 0:n.metaAutoWidth),i}return r}(H);nt.Rules=Cp;function Bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function kp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dp(e,t){return t&&($p(t)==="object"||typeof t=="function")?t:Bp(e)}function $n(e,t){return $n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},$n(e,t)}var $p=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Np(e){var t=Fp();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 Dp(this,i)}}var K=function(e){kp(r,e);var t=Np(r);function r(n){Tp(this,r);var i;return i=t.call(this,n),i.props=new nt(n==null?void 0:n.props),i}return r}(z);K.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",K.controlType="subtable-column",K.controlIcon="subtable-column",K.childrenMaxLength=1,K.excludes=[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT],K.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 Lp(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 it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(e)}function Mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jp(e,t){return t&&(Hp(t)==="object"||typeof t=="function")?t:Lp(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var Hp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Up(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vp(e){var t=Up();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 jp(this,i)}}var Ii=function(e){Mp(r,e);var t=Vp(r);function r(n){xp(this,r);var i;return i=t.call(this,n),i.props=new nt(n==null?void 0:n.props),i}return r}(ve);Ii.controlType="subtable-column";var qp={Designer:K,Runtime:Ii,Property:nt};y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT,l.CAPTION,y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT,l.CAPTION,y.TAB,l.CAPTION,l.IS_HIDE,y.TAB,y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX;function wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nn(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 Ln(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xn(e,t)}function Wp(e,t){return t&&(zp(t)==="object"||typeof t=="function")?t:wi(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var zp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Kp();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 Wp(this,i)}}var ut;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ut||(ut={}));var Gp=function(e){Ln(r,e);var t=Mn(r);function r(n){Nn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),Xp=function(e){Ln(r,e);var t=Mn(r);function r(n){Nn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ut.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),pc.call(wi(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}(fe),he=function(e){Ln(r,e);var t=Mn(r);function r(n){Nn(this,r);var i;i=t.call(this,n),i.datasourceBind=new ae(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:ut.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new as(n==null?void 0:n.sublistPage);var a;i.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"stretch";var f;i.showFullScreen=(f=n==null?void 0:n.showFullScreen)!==null&&f!==void 0?f:!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}(H);he.Rules=Xp,he.RuntimeRules=Gp;function Qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zp(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function Yp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jn(e,t)}function ev(e,t){return t&&(tv(t)==="object"||typeof t=="function")?t:Qp(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var tv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rv(e){var t=nv();return function(){var n=at(e),i;if(t){var o=at(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ev(this,i)}}var lt=function(e){Yp(r,e);var t=rv(r);function r(n){Jp(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return Zp(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}(z);lt.excludes=[y.ROW],lt.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"],lt.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 iv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uv(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function av(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hn(e,t)}function lv(e,t){return t&&(sv(t)==="object"||typeof t=="function")?t:iv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var sv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fv(e){var t=cv();return function(){var n=st(e),i;if(t){var o=st(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return lv(this,i)}}var dv=function(e){av(r,e);var t=fv(r);function r(n){ov(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return uv(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(ve),yv={Designer:lt,Runtime:dv,Property:he};function pv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Si(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 Ri(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Un(e,t)}function vv(e,t){return t&&(hv(t)==="object"||typeof t=="function")?t:pv(e)}function Un(e,t){return Un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Un(e,t)}var hv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pi(e){var t=_v();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 vv(this,i)}}var bv=function(e){Ri(r,e);var t=Pi(r);function r(n){Si(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),ft=function(e){Ri(r,e);var t=Pi(r);function r(n){Si(this,r);var i;i=t.call(this,n);var o;i.save=new le((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new le((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;i.saveAs=new le((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 le((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 le(v)});var f;return i.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,i.datasourceBind=new ae(n==null?void 0:n.datasourceBind),i}return r}(H);ft.RuntimeRules=bv;function mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ev(e,t,r){return t&&Ci(e.prototype,t),r&&Ci(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(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&&Vn(e,t)}function wv(e,t){return t&&(Av(t)==="object"||typeof t=="function")?t:mv(e)}function Vn(e,t){return Vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vn(e,t)}var Av=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sv(e){var t=Ov();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 wv(this,i)}}var Bi=function(e){Iv(r,e);var t=Sv(r);function r(n){gv(this,r);var i;return i=t.call(this,n),i.props=new ft(n==null?void 0:n.props),i}return Ev(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(z);Bi.excludes=[];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 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 Cv(e,t,r){return t&&Ti(e.prototype,t),r&&Ti(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function Bv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qn(e,t)}function Tv(e,t){return t&&(kv(t)==="object"||typeof t=="function")?t:Rv(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var kv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $v(e){var t=Dv();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 Tv(this,i)}}var Fv=function(e){Bv(r,e);var t=$v(r);function r(n){Pv(this,r);var i;return i=t.call(this,n),i.props=new ft(n==null?void 0:n.props),i}return Cv(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(ve),Nv={Designer:Bi,Runtime:Fv,Property:ft};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,d.DECIMAL,l.CAPTION,d.FILE,d.VARCHAR,l.CAPTION,d.VARCHAR,d.TEXT,l.CAPTION,d.TEXT,d.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,d.DECIMAL,d.TIMESCOPE,l.CAPTION,d.TIMESCOPE,d.TIMESTAMP,l.CAPTION,d.TIMESTAMP,d.ARRAY,l.CAPTION,d.ARRAY,d.DEPARTMENTS,l.CAPTION,d.DEPARTMENTS,d.AUTO_NUMBER,l.CAPTION,d.AUTO_NUMBER,d.FILE,l.CAPTION,d.FILE,d.IMAGE,l.CAPTION,d.IMAGE,d.EMPLOYEES,l.CAPTION,d.EMPLOYEES,d.ADDRESS,l.CAPTION,d.ADDRESS,l.CAPTION,d.EMPLOYEES,l.CAPTION,d.EMPLOYEES,l.IS_HIDE;const Lv=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Xv(t==null?void 0:t.events),Vv(n),qv(n);const i=Uv(n),o=Wv(i,t);let u=Q(F(o,s=>Hv(s,t)));return r?u:u[0]},xv=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Mv=["subtable","grid-table"],jv=["simple-search"];function Hv(e,t){var i,o,u,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":xv.includes(r.type)?r.controlType="base":r.controlType="form",Mv.includes(r.type)&&(r.controlType="list"),jv.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),T((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),T((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"&&(T(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(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 f=r.props.entry_type||r.props.entryType;r.props.openType=f==="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 qp.Designer;g.props.widthType=v.header_width_config==="1"?"auto":"px",g.props.width=v.header_width===""?200:Number(v.header_width),g.props.caption=T(v.field_name)?v.field_name.zh:v.field_name;const w=g.toSchema();w.id=v.header_id;const b=r.children[0].children[h].children[0];return b&&(w.children=[b]),w}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=T(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(v=>{const h=new pi.Designer;h.props.span=f;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 f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={};f&&(ki(r,t),h.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.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 f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={},g={};f&&(ki(r,t),r.id=f.id,h.amount=f.props.data_bind,r.props.range_min=X(f.props.range_min),r.props.range_max=X(f.props.range_max),g.amount=X(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=T(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.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(w=>({label:w.text,value:w.value}))),r.props.dataBind=h,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};f&&(h.min=f.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=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=X(e.props.range_min),r.props.range_max=X(e.props.range_max),r.props.defaultValue=X(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"),Qv(r,t==null?void 0:t.control_events),r}function ki(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 Uv(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Nv.Designer().toSchema();return n.children=e,[n]}function Vv(e){e.forEach(t=>{t.children&&Gv(t.children)})}function qv(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 Wv(e,t){var g,w,b,E,p,_,P,A;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;zv(o),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,Kv(s,u);const c=(b=(w=n==null?void 0:n.source_config)==null?void 0:w.data_code)!=null?b:t==null?void 0:t.dataCode,a=((p=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?p:c)?`${c}_selectMore`:void 0,f=(P=(_=n==null?void 0:n.source_config)==null?void 0:_.orders)!=null?P:[],v=new yv.Designer;v.props.datasourceBind=new ae({dataCode:c,svcCode:a,orders:Wl(f)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(A=n==null?void 0:n.sublist_page)==null||A.sublists.forEach(O=>{O.title=T(O.title)?O.title.zh:O.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function zv(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=T(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 Kv(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:T(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=T(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 ae({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 Gv(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 Xv(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 Qv(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 Jv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>Zv(o)));return r?i:i[0]};function Zv(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ie({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const Yv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>eh(o)));return r?i:i[0]};function eh(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.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===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const th=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>nh(o)));return r?i:i[0]};function nh(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 rh=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>oh(o)));return r?i:i[0]},ih=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function oh(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(ih.includes(r.type))return r;const n=new _p.Designer,i=new pi.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const uh=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>ah(o)));return r?i:i[0]};function ah(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const lh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>sh(o));return r?i:i[0]};function sh(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const ch=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>fh(o));return r?i:i[0]};function q(e,t){e.field_code&&(e.field_type=t)}function fh(e,t){var n;const r={[y.TITLE]:d.AUTO_NUMBER,[y.ADDRESS]:d.ADDRESS,[y.ATTACHMENT]:d.FILE,[y.AUTO_NUMBER]:d.AUTO_NUMBER,[y.CHECKBOX]:d.ARRAY,[y.DATE_PICKER]:d.TIMESTAMP,[y.DEPARTMENT]:d.DEPARTMENTS,[y.EMPLOYEE]:d.EMPLOYEES,[y.EMPLOYEE2]:d.EMPLOYEES,[y.IMAGE]:d.IMAGE,[y.INPUT]:d.VARCHAR,[y.NUMBER]:d.DECIMAL,[y.RADIO]:d.VARCHAR,[y.RICH_TEXT]:d.TEXT,[y.SCORE]:d.DECIMAL,[y.SELECT]:d.VARCHAR,[y.SELECT_MULTIPLE]:d.ARRAY,[y.SELECT_RELATION]:d.VARCHAR,[y.TEXTAREA]:d.TEXT,[y.TREE]:d.ARRAY,[y.SEARCH_DATE_RANGE]:d.ARRAY,[y.SEARCH_INPUT]:d.VARCHAR,[y.SEARCH_NUMBER_RANGE]:d.ARRAY};return r.hasOwnProperty(e.type)&&q(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(q(e.props.data_bind.amount,d.DECIMAL),q(e.props.data_bind.currency,d.VARCHAR)),e.type===y.CALC&&(q(e.props.data_bind.result,d.DECIMAL),q(e.props.data_bind.unit,d.VARCHAR)),e.type===y.DATE_RANGE&&(q(e.props.data_bind.min,d.TIMESTAMP),q(e.props.data_bind.max,d.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&q(e.props.data_bind,(n=e.field_type)!=null?n:d.ANY),e}const dh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>yh(o));return r?i:i[0]};function yh(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const ph=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>vh(o));return r?i:i[0]};function vh(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,i;[d.VARCHAR,d.TEXT,d.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 hh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>_h(o));return r?i:i[0]};function _h(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2].includes(e.type)&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2].includes(r.children[0].type)&&(r.children[0].props.open_multistage_filling=!0)}),e}var Di={"v1.0":Lv,"v2.0":Jv,"v2.1":Yv,"v2.2":th,"v2.3":rh,"v2.4":uh,"v2.5":lh,"v2.6":ch,"v2.7":dh,"v2.8":ph,"v2.9":hh,"v2.10":()=>{}};function pt(e){return e.replace(/^v/,"")}function vt(e){return Number(pt(e))}const te=Object.keys(Di).map(e=>pt(e)).sort((e,t)=>{let[r,n]=e.split("."),[i,o]=t.split(".");return n.length===1&&(n="0"+n),o.length===1&&(o="0"+o),Number(r+"."+n)-Number(i+"."+o)}),_e=te[te.length-1];class bh{constructor(t,r=_e){this.schemaVersion=t,this.toVersion=r,vt(r)>vt(_e)?tr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${_e}`):(!te.includes(pt(r))||!te.includes(pt(t)))&&tr(`Version Builder: Please give me a valid version number, The valid version is: ${te.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===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;ge(`Version Builder: current version: ${o}, nextVersion: ${c}`);const a=Di[o];let f=i;if(typeof a=="function"){const h=a(i,r);h&&(f=h)}return f},t);return ge(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return te.filter(t=>{let[r,n]=t.split("."),[i,o]=this._schemaVersion.toString().split(".");return n.length===1&&(n="0"+n),o.length===1&&(o="0"+o),Number(r+"."+n)>=Number(i+"."+o)&&Number(r+"."+n)<this._version})}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return vt(this.toVersion)}get _schemaVersion(){return vt(this.schemaVersion)}get version(){return _e}static get version(){return _e}}G.VersionBuilder=bh,Object.defineProperty(G,"__esModule",{value:!0})});
1
+ (function(G,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(G=typeof globalThis!="undefined"?globalThis:G||self,ie(G.modelDrivenUpgrade={}))})(this,function(G){"use strict";var ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Di="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ki="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",$i="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Fi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ni="{caption}\u5FC5\u586B",Li="\u8BF7\u8F93\u5165\u6807\u9898",xi="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Mi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ji="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Hi="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ui="\u8BF7\u7ED1\u5B9A\u5217\u8868",Vi="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",qi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",zi="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Wi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ki="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Gi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Xi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Qi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ji="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Zi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Yi="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",eo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",to="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",no="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ro="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",io="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",oo="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",uo="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ao="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",lo="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",so="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",co="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",fo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",yo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",po="\u8BF7\u9009\u62E9\u7701",vo="\u8BF7\u9009\u62E9\u5E02",ho="\u8BF7\u9009\u62E9\u533A",_o="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",bo="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",mo="\u8BF7\u8F93\u5165\u5217\u5BBD",go="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Eo="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Io="\u8BF7\u9009\u62E9\u63A7\u4EF6",wo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ao="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Oo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",So="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ro="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Po="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Co="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Bo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",To="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Do="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ko="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",$o="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",No="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Lo="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",xo="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Mo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",jo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ho="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Vo="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",qo={isNotNumber:ie,isNotString:Di,isNotObject:ki,isNotArray:$i,isNotBoolean:Fi,runtimeRequired:Ni,pleaseEnterCaption:Li,pleaseEnterCaptionTip:xi,pleaseEnterPlaceholder:Mi,pleaseEnterFieldCode:ji,pleaseEnterForm:Hi,pleaseEnterList:Ui,pleaseEnterProcess:Vi,pleaseEnterLabel:qi,pleaseEnterValue:zi,bizKeyNotBindFiled:Wi,pleaseEnterNumberRange:Ki,pleaseEnterAValueGreaterThanMin:Gi,pleaseEnterAValueLessThanMax:Xi,numberRangeSetError:Qi,stringRangeError:Ji,attachmentMaxSize:Zi,pleaseEnterTotalScoreSetting:Yi,theTotalScoreMustNotBeLessThan1:eo,scoreDefaultValueRange:to,attachmentLimitError:no,PleaseReselectTheOptionalQuantity:ro,TheMaximumLengthIsGreaterThanTheMinimumLength:io,TheMinimumLengthIsGreaterThanTheMaximumLength:oo,PleaseSelectTheCorrectOptionSettings:uo,optionIdIsRepeat:ao,optionIsRequired:lo,pleaseEnterDataCode:so,pleaseEnterValueFieldCode:co,pleaseEnterSvcCode:fo,pleaseBindAtLeastOneDisplayValue:yo,pleaseSelectProvince:po,pleaseSelectCity:vo,pleaseSelectDistrict:ho,limitRowsCannotBeLessThan0:_o,TheNumberOfRowsCannotBeLessThanMinRows:bo,pleaseEnterColumnWidth:mo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:go,pleaseCompleteAllRulesAndConditions:Eo,pleaseSelectControl:Io,pleaseSelectAtLeastOneColumn:wo,pleaseSelectFillBackMode:Ao,pleaseSelectDashboard:Oo,rootNodeIsRequired:So,theViewNameCannotBeEmpty:Ro,pleaseSelectOcrType:Po,pleaseSelectAtLeastOneFieldToFillIn:Co,pleaseChooseAtLeastOne:Bo,pleaseEnterButtonContent:To,pleaseEnterDataCodeInDataSetting:Do,pleaseEnterValueFieldCodeInDataSetting:ko,pleaseEnterSvcCodeInDataSetting:$o,pleaseBindAtLeastOneDisplayValueInDataSetting:Fo,rootNodeIsRequiredInDataSetting:No,pleaseEnterMaxHeight:Lo,pleaseEnter:xo,pleaseEnterWatermark:Mo,pleaseEnterFileName:jo,pleaseUploadAtLeastOnePrintTemplate:Ho,pleaseAssignBusiness:Uo,pleaseAssignExternal:Vo},zo="Please enter a number",Wo="Please enter a string",Ko="Please enter an object",Go="Please enter an array",Xo="Please enter a boolean",Qo="{caption} Required",Jo="Please enter the title",Zo="Please enter the bubble prompt",Yo="Please enter the prompt text",eu="Please bind data items",tu="Please bind the form",nu="Please bind the list",ru="Please bind the process",iu="Please enter the displayed value",ou="Please enter the stored value",uu="The document number is not bound to the data item",au="Please enter a value greater than or equal to {min} and less than or equal to {max}",lu="Please enter a value greater than or equal to {min}",su="Please enter a value less than or equal to {max}",cu="The value range is set incorrectly",fu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",du="The attachment size must be between 0MB and 1000MB",yu="Please fill in the total score setting",pu="The total score cannot be less than 1",vu="The default value must be between {min} and {max}",hu="The number of attachments uploaded must be between {min} and {max}",_u="Please re-select the optional quantity",bu="The maximum length of the control must be greater than the minimum length",mu="The minimum length of the control must be less than the maximum length",gu="Please select the correct option setting",Eu="Option ID cannot be repeated",Iu="Please enter at least one option",wu="Please bind the data source",Au="Please bind the stored value",Ou="Please bind the service",Su="At least one display value must be bound",Ru="Please select a province",Pu="Please select a city",Cu="Please select a district",Bu="The minimum number of lines to fill in cannot be less than 0",Tu="The number of rows cannot be less than {min} rows",Du="Please enter the column width",ku="Please set the logical relationship of all rule conditions",$u="Please complete all rules and conditions",Fu="please select control",Nu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Lu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Mu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ju="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Hu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Vu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",qu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",zu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ku="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Xu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ju="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Yu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ea={isNotNumber:zo,isNotString:Wo,isNotObject:Ko,isNotArray:Go,isNotBoolean:Xo,runtimeRequired:Qo,pleaseEnterCaption:Jo,pleaseEnterCaptionTip:Zo,pleaseEnterPlaceholder:Yo,pleaseEnterFieldCode:eu,pleaseEnterForm:tu,pleaseEnterList:nu,pleaseEnterProcess:ru,pleaseEnterLabel:iu,pleaseEnterValue:ou,bizKeyNotBindFiled:uu,pleaseEnterNumberRange:au,pleaseEnterAValueGreaterThanMin:lu,pleaseEnterAValueLessThanMax:su,numberRangeSetError:cu,stringRangeError:fu,attachmentMaxSize:du,pleaseEnterTotalScoreSetting:yu,theTotalScoreMustNotBeLessThan1:pu,scoreDefaultValueRange:vu,attachmentLimitError:hu,PleaseReselectTheOptionalQuantity:_u,TheMaximumLengthIsGreaterThanTheMinimumLength:bu,TheMinimumLengthIsGreaterThanTheMaximumLength:mu,PleaseSelectTheCorrectOptionSettings:gu,optionIdIsRepeat:Eu,optionIsRequired:Iu,pleaseEnterDataCode:wu,pleaseEnterValueFieldCode:Au,pleaseEnterSvcCode:Ou,pleaseBindAtLeastOneDisplayValue:Su,pleaseSelectProvince:Ru,pleaseSelectCity:Pu,pleaseSelectDistrict:Cu,limitRowsCannotBeLessThan0:Bu,TheNumberOfRowsCannotBeLessThanMinRows:Tu,pleaseEnterColumnWidth:Du,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ku,pleaseCompleteAllRulesAndConditions:$u,pleaseSelectControl:Fu,pleaseSelectDashboard:Nu,theViewNameCannotBeEmpty:Lu,pleaseSelectOcrType:xu,pleaseSelectAtLeastOneFieldToFillIn:Mu,pleaseChooseAtLeastOne:ju,pleaseEnterButtonContent:Hu,pleaseEnterDataCodeInDataSetting:Uu,pleaseEnterValueFieldCodeInDataSetting:Vu,pleaseEnterSvcCodeInDataSetting:qu,pleaseBindAtLeastOneDisplayValueInDataSetting:zu,rootNodeIsRequiredInDataSetting:Wu,pleaseEnterMaxHeight:Ku,pleaseEnter:Gu,pleaseEnterWatermark:Xu,pleaseEnterFileName:Qu,pleaseUploadAtLeastOnePrintTemplate:Ju,pleaseAssignBusiness:Zu,pleaseAssignExternal:Yu},ta="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",na="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ra="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ia="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ua="{caption}\u5FC5\u9808",aa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",la="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ca="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ya="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",va="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",_a="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ba="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ma="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ga="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ea="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ia="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",wa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Aa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Oa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ra="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Pa="\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",Ca="\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",Ba="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ta="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Da="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ka="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$a="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Na="\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",xa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ma="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ja="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ha="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ua="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",za="please select control",Wa="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ka="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ga="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ja="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Za="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ya="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",el="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",il="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ol="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ul="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",al="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ll="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",sl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cl={isNotNumber:ta,isNotString:na,isNotObject:ra,isNotArray:ia,isNotBoolean:oa,runtimeRequired:ua,pleaseEnterCaption:aa,pleaseEnterCaptionTip:la,pleaseEnterPlaceholder:sa,pleaseEnterFieldCode:ca,pleaseEnterForm:fa,pleaseEnterList:da,pleaseEnterProcess:ya,pleaseEnterLabel:pa,pleaseEnterValue:va,bizKeyNotBindFiled:ha,pleaseEnterNumberRange:_a,pleaseEnterAValueGreaterThanMin:ba,pleaseEnterAValueLessThanMax:ma,numberRangeSetError:ga,stringRangeError:Ea,attachmentMaxSize:Ia,pleaseEnterTotalScoreSetting:wa,theTotalScoreMustNotBeLessThan1:Aa,scoreDefaultValueRange:Oa,attachmentLimitError:Sa,PleaseReselectTheOptionalQuantity:Ra,TheMaximumLengthIsGreaterThanTheMinimumLength:Pa,TheMinimumLengthIsGreaterThanTheMaximumLength:Ca,PleaseSelectTheCorrectOptionSettings:Ba,optionIdIsRepeat:Ta,optionIsRequired:Da,pleaseEnterDataCode:ka,pleaseEnterValueFieldCode:$a,pleaseEnterSvcCode:Fa,pleaseBindAtLeastOneDisplayValue:Na,pleaseSelectProvince:La,pleaseSelectCity:xa,pleaseSelectDistrict:Ma,limitRowsCannotBeLessThan0:ja,TheNumberOfRowsCannotBeLessThanMinRows:Ha,pleaseEnterColumnWidth:Ua,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Va,pleaseCompleteAllRulesAndConditions:qa,pleaseSelectControl:za,pleaseSelectDashboard:Wa,theViewNameCannotBeEmpty:Ka,pleaseSelectOcrType:Ga,pleaseSelectAtLeastOneFieldToFillIn:Xa,pleaseChooseAtLeastOne:Qa,pleaseEnterButtonContent:Ja,pleaseEnterDataCodeInDataSetting:Za,pleaseEnterValueFieldCodeInDataSetting:Ya,pleaseEnterSvcCodeInDataSetting:el,pleaseBindAtLeastOneDisplayValueInDataSetting:tl,rootNodeIsRequiredInDataSetting:nl,pleaseEnterMaxHeight:rl,pleaseEnter:il,pleaseEnterWatermark:ol,pleaseEnterFileName:ul,pleaseUploadAtLeastOnePrintTemplate:al,pleaseAssignBusiness:ll,pleaseAssignExternal:sl},fl={zhCN:qo,enUS:ea,jaJP:cl},Vn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Vn||(Vn={}));var qn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(qn||(qn={}));var dl="zh-CN";function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(zn||(zn={}));var y;(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.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.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"})(y||(y={}));var d;(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"})(d||(d={}));var B;B={},D(B,d.ARRAY,y.ARRAY_COLUMN),D(B,d.AUTO_NUMBER,y.AUTO_NUMBER_COLUMN),D(B,d.DECIMAL,y.DECIMAL_COLUMN),D(B,d.DEPARTMENTS,y.DEPARTMENT_COLUMN),D(B,d.FILE,y.FILE_COLUMN),D(B,d.IMAGE,y.IMAGE_COLUMN),D(B,d.ADDRESS,y.LOCATION_COLUMN),D(B,d.EMPLOYEES,y.EMPLOYEE_COLUMN),D(B,d.TEXT,y.TEXT_COLUMN),D(B,d.TIMESCOPE,y.TIMESCOPE_COLUMN),D(B,d.TIMESTAMP,y.TIMESTAMP_COLUMN),D(B,d.VARCHAR,y.VARCHAR_COLUMN),D(B,d.RELATION,y.VARCHAR_COLUMN);var Wn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(Wn||(Wn={}));var Kn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",yl=Kn+"0123456789";function oe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Kn:yl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function ht(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 pl(e){if(Array.isArray(e))return ht(e)}function vl(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 hl(){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 hl()?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&&ae(a,u.prototype),a},me.apply(null,arguments)}function ue(e){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ue(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&&ae(e,t)}function _l(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ml(){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 gl(e,t){return t&&(El(t)==="object"||typeof t=="function")?t:vl(e)}function ae(e,t){return ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ae(e,t)}function Qn(e){return pl(e)||bl(e)||Il(e)||ml()}var El=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Il(e,t){if(!!e){if(typeof e=="string")return ht(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 ht(e,t)}}function _t(e){var t=typeof Map=="function"?new Map:void 0;return _t=function(n){if(n===null||!_l(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,ue(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ae(i,n)},_t(e)}function wl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wl();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 gl(this,i)}}var bt=console;function Al(){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=bt).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Qn(i)))}function ge(){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=bt).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Qn(i)))}function Ol(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var mt=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?Ol(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(_t(Error)),Sl=function(e){Xn(r,e);var t=Jn(r);function r(n){Gn(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(mt);function Zn(e){throw new mt(e)}function Yn(e){throw new Sl(e)}function Rl(e){bt.error(new mt(e))}var Pl=Object.prototype.toString;function er(e,t){return Pl.call(e)==="[object "+t+"]"}function Cl(e){return er(e,"String")}function Bl(e){return er(e,"Promise")}var Tl=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();Bl(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&&!Cl(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 Dl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function(){function e(){Dl(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]:dl;return new Tl({locale:r,messages:fl})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();m.$i18n=m.resetI18n();function kl(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)){Al("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 $l=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gt={exports:{}};(function(e){(function(t){var r=function(p,_,R){if(!a(_)||v(_)||h(_)||g(_)||c(_))return _;var A,O=0,L=0;if(f(_))for(A=[],L=_.length;O<L;O++)A.push(r(p,_[O],R));else{A={};for(var S in _)Object.prototype.hasOwnProperty.call(_,S)&&(A[p(S,R)]=r(p,_[S],R))}return A},n=function(p,_){_=_||{};var R=_.separator||"_",A=_.split||/(?=[A-Z])/;return p.split(A).join(R)},i=function(p){return w(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(_,R){return R?R.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var _=i(p);return _.substr(0,1).toUpperCase()+_.substr(1)},u=function(p,_){return n(p,_).toLowerCase()},s=Object.prototype.toString,c=function(p){return typeof p=="function"},a=function(p){return p===Object(p)},f=function(p){return s.call(p)=="[object Array]"},v=function(p){return s.call(p)=="[object Date]"},h=function(p){return s.call(p)=="[object RegExp]"},g=function(p){return s.call(p)=="[object Boolean]"},w=function(p){return p=p-0,p===p},b=function(p,_){var R=_&&"process"in _?_.process:_;return typeof R!="function"?p:function(A,O){return R(A,p,O)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(p,_){return r(b(i,_),p)},decamelizeKeys:function(p,_){return r(b(u,_),p,_)},pascalizeKeys:function(p,_){return r(b(o,_),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})($l)})(gt);function z(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function T(e){return tr(e)&&"zh"in e}function tr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Fl(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function Nl(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function F(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=F(n.children,t)),t(i)})),r}function Ll(e){return gt.exports.camelizeKeys(e)}function Q(e){return gt.exports.decamelizeKeys(e)}function Et(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 xl(e){if(Array.isArray(e))return Et(e)}function nr(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 Ml(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){nr(o,n,i,u,s,"next",c)}function s(c){nr(o,n,i,u,s,"throw",c)}u(void 0)})}}function jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ul(){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 It(e){return xl(e)||Hl(e)||Vl(e)||Ul()}function Vl(e,t){if(!!e){if(typeof e=="string")return Et(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 Et(e,t)}}var ql=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(f){return c([a,f])}}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(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},zl=function(){function e(){jl(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 Ml(function(){var c,a,f,v,h,g,w,b,E,p,_,R;return ql(this,function(A){switch(A.label){case 0:if(c=s._events.get(n),a=[],!c)return[3,10];f=c.slice(),v=!0,h=!1,g=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=f[Symbol.iterator](),A.label=2;case 2:if(v=(b=w.next()).done)return[3,7];if(E=b.value,!c.includes(E))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),s.debug&&ge.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(It(o))),[4,E.apply(null,It(o))];case 4:return p=A.sent(),s.debug&&ge.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(It(o),[p])),a.push(p),p===!1?[3,7]:[3,6];case 5:return _=A.sent(),Rl(String(_)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return R=A.sent(),h=!0,g=R,[3,10];case 9:try{!v&&w.return!=null&&w.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}(),Wl=[];new Set(Wl.map(function(e){return e.Designer.controlType}));function rr(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 Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function ir(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 or(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Kl(e,t){return t&&(Gl(t)==="object"||typeof t=="function")?t:rr(e)}function wt(e,t){return wt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wt(e,t)}var Gl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ur(e){var t=Xl();return function(){var n=Ee(e),i;if(t){var o=Ee(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Kl(this,i)}}var Ie=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:""},ar=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:""},Ql=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:d.VARCHAR},Jl=function(e){ir(r,e);var t=ur(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}(ar),Zl=function e(t){C(this,e);var r,n;this.type="sublist-page",this.formBind=new ar(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 Ql(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 Jl(u)}))!==null&&o!==void 0?o:[]},Yl=function e(t){C(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},es=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:[]},ts=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:oe();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 f,v=new lr(s);(f=r.children)===null||f===void 0||f.push(v)}}))},lr=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:oe();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 Yl(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new es(t==null?void 0:t.rightVariableBo)},ns=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:""},rs=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},is=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 sr(e){var t,r;if(this.filters=(r=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(o){return o.children!==void 0?new ts(o):new lr(o)}))!==null&&r!==void 0?r:[],or(this,le)||or(this,us)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(o){return new is(o)}))!==null&&i!==void 0?i:[]}}var le=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=[],Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(c){var a;(a=r.displayBoList)===null||a===void 0||a.push(new rs(c))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var s;this.svcCode=(s=t==null?void 0:t.svcCode)!==null&&s!==void 0?s:"",sr.call(this,t)},os=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 ns(u)}))!==null&&o!==void 0?o:[]},us=function(e){ir(r,e);var t=ur(r);function r(n){C(this,r);var i;return i=t.call(this,n),sr.call(rr(i),n),i}return r}(os),as=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:""},cr;(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"})(cr||(cr={}));var l;(function(e){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.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 At;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(At||(At={}));var se=function e(t){C(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:oe(8);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"";var i;this.isShow=(i=t==null?void 0:t.isShow)!==null&&i!==void 0?i:!0,this.invalidType=t==null?void 0:t.invalidType,this.condition=t==null?void 0:t.condition;var o;this.content=(o=t==null?void 0:t.content)!==null&&o!==void 0?o:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"",this.icon=t==null?void 0:t.icon,this.showType=t==null?void 0:t.showType;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1,this.needConfirm=t==null?void 0:t.needConfirm,this.confirmMessage=t==null?void 0:t.confirmMessage},ls=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"};function ss(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cs(){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 cs()?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&&fe(a,u.prototype),a},we.apply(null,arguments)}function ce(e){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ce(e)}function fs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}function ds(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ys(e,t){return t&&(ps(t)==="object"||typeof t=="function")?t:ss(e)}function fe(e,t){return fe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fe(e,t)}var ps=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function St(e){var t=typeof Map=="function"?new Map:void 0;return St=function(n){if(n===null||!ds(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,ce(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),fe(i,n)},St(e)}function vs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=vs();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 ys(this,i)}}var de=function e(t){Ot(this,e),this.isHide={type:"boolean"}},Ae=function(e){fs(r,e);var t=hs(r);function r(n){return Ot(this,r),t.call(this)}return r}(St(Array)),M=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ot(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new ls(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=de,M.RuntimeRules=Ae;function N(){return N=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},N.apply(this,arguments)}function _s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Rt(e){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rt(e)}function Oe(e,t){return Oe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Oe(e,t)}function bs(){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 Se(e,t,r){return bs()?Se=Reflect.construct:Se=function(i,o,u){var s=[null];s.push.apply(s,o);var c=Function.bind.apply(i,s),a=new c;return u&&Oe(a,u.prototype),a},Se.apply(null,arguments)}function ms(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Pt(e){var t=typeof Map=="function"?new Map:void 0;return Pt=function(n){if(n===null||!ms(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 Se(n,arguments,Rt(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Oe(i,n)},Pt(e)}var gs=/%[sdj%]/g,fr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(fr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Ct(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 k(){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(gs,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 Es(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||Es(t)&&typeof e=="string"&&!e)}function Is(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 dr(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 ws(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var yr=function(e){_s(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}(Pt(Error));function As(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 yr(E,Ct(E))):v()},w=ws(e);dr(w,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=[],f=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 yr(a,Ct(a))):v()};u.length||(n(a),v()),u.forEach(function(w){var b=e[w];o.indexOf(w)!==-1?dr(b,r,g):Is(b,r,g)})});return f.catch(function(v){return v}),f}function pr(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 vr(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]=N(N({},e[r]),n):e[r]=n}}return e}function hr(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||P(t,o||e.type))&&n.push(k(i.messages.required,e.fullField))}function Os(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(k(i.messages.whitespace,e.fullField))}var Bt={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(Bt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Bt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Bt.hex)}};function Ss(e,t,r,n,i){if(e.required&&t===void 0){hr(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(k(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(k(i.messages.types[u],e.fullField,e.type))}function Rs(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,f=null,v=typeof t=="number",h=typeof t=="string",g=Array.isArray(t);if(v?f="number":h?f="string":g&&(f="array"),!f)return!1;g&&(a=t.length),h&&(a=t.replace(c,"_").length),o?a!==e.len&&n.push(k(i.messages[f].len,e.fullField,e.len)):u&&!s&&a<e.min?n.push(k(i.messages[f].min,e.fullField,e.min)):s&&!u&&a>e.max?n.push(k(i.messages[f].max,e.fullField,e.max)):u&&s&&(a<e.min||a>e.max)&&n.push(k(i.messages[f].range,e.fullField,e.min,e.max))}var J="enum";function Ps(e,t,r,n,i){e[J]=Array.isArray(e[J])?e[J]:[],e[J].indexOf(t)===-1&&n.push(k(i.messages[J],e.fullField,e[J].join(", ")))}function Cs(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(k(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(k(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var I={required:hr,whitespace:Os,type:Ss,range:Rs,enum:Ps,pattern:Cs};function Bs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t,"string")&&!e.required)return r();I.required(e,t,n,o,i,"string"),P(t,"string")||(I.type(e,t,n,o,i),I.range(e,t,n,o,i),I.pattern(e,t,n,o,i),e.whitespace===!0&&I.whitespace(e,t,n,o,i))}r(o)}function Ts(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I.type(e,t,n,o,i)}r(o)}function Ds(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function ks(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I.type(e,t,n,o,i)}r(o)}function $s(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),P(t)||I.type(e,t,n,o,i)}r(o)}function Fs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function Ns(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function Ls(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();I.required(e,t,n,o,i,"array"),t!=null&&(I.type(e,t,n,o,i),I.range(e,t,n,o,i))}r(o)}function xs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I.type(e,t,n,o,i)}r(o)}var Ms="enum";function js(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i),t!==void 0&&I[Ms](e,t,n,o,i)}r(o)}function Hs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t,"string")&&!e.required)return r();I.required(e,t,n,o,i),P(t,"string")||I.pattern(e,t,n,o,i)}r(o)}function Us(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t,"date")&&!e.required)return r();if(I.required(e,t,n,o,i),!P(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),I.type(e,s,n,o,i),s&&I.range(e,s.getTime(),n,o,i)}}r(o)}function Vs(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;I.required(e,t,n,o,i,u),r(o)}function Tt(e,t,r,n,i){var o=e.type,u=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(P(t,o)&&!e.required)return r();I.required(e,t,n,u,i,o),P(t,o)||I.type(e,t,n,u,i)}r(u)}function qs(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(P(t)&&!e.required)return r();I.required(e,t,n,o,i)}r(o)}var pe={string:Bs,method:Ts,number:Ds,boolean:ks,regexp:$s,integer:Fs,float:Ns,array:Ls,object:xs,enum:js,pattern:Hs,date:Us,url:Tt,hex:Tt,email:Tt,required:Vs,any:qs};function Dt(){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 kt=Dt();function j(e){this.rules=null,this._messages=kt,this.define(e)}j.prototype={messages:function(t){return t&&(this._messages=vr(Dt(),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,p=[],_={};function R(A){if(Array.isArray(A)){var O;p=(O=p).concat.apply(O,A)}else p.push(A)}for(E=0;E<b.length;E++)R(b[E]);p.length?_=Ct(p):(p=null,_=null),s(p,_)}if(u.messages){var a=this.messages();a===kt&&(a=Dt()),vr(a,u.messages),u.messages=a}else u.messages=this.messages();var f,v,h={},g=u.keys||Object.keys(this.rules);g.forEach(function(b){f=i.rules[b],v=o[b],f.forEach(function(E){var p=E;typeof p.transform=="function"&&(o===t&&(o=N({},o)),v=o[b]=p.transform(v)),typeof p=="function"?p={validator:p}:p=N({},p),p.validator=i.getValidationMethod(p),p.field=b,p.fullField=p.fullField||b,p.type=i.getType(p),p.validator&&(h[b]=h[b]||[],h[b].push({rule:p,value:v,source:o,field:b}))})});var w={};return As(h,u,function(b,E){var p=b.rule,_=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");_=_&&(p.required||!p.required&&b.value),p.field=b.field;function R(L,S){return N(N({},S),{},{fullField:p.fullField+"."+L})}function A(L){L===void 0&&(L=[]);var S=L;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&j.warning("async-validator:",S),S.length&&p.message!==void 0&&(S=[].concat(p.message)),S=S.map(pr(p)),u.first&&S.length)return w[p.field]=1,E(S);if(!_)E(S);else{if(p.required&&!b.value)return p.message!==void 0?S=[].concat(p.message).map(pr(p)):u.error&&(S=[u.error(p,k(u.messages.required,p.field))]),E(S);var x={};if(p.defaultField)for(var Bi in b.value)b.value.hasOwnProperty(Bi)&&(x[Bi]=p.defaultField);x=N(N({},x),b.rule.fields);for(var ne in x)if(x.hasOwnProperty(ne)){var ch=Array.isArray(x[ne])?x[ne]:[x[ne]];x[ne]=ch.map(R.bind(null,ne))}var Ti=new j(x);Ti.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Ti.validate(b.value,b.rule.options||u,function(Un){var re=[];S&&S.length&&re.push.apply(re,S),Un&&Un.length&&re.push.apply(re,Un),E(re.length?re:null)})}}var O;p.asyncValidator?O=p.asyncValidator(p,b.value,A,b.source,u):p.validator&&(O=p.validator(p,b.value,A,b.source,u),O===!0?A():O===!1?A(p.message||p.field+" fails"):O instanceof Array?A(O):O instanceof Error&&A(O.message)),O&&O.then&&O.then(function(){return A()},function(L){return A(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&&!pe.hasOwnProperty(t.type))throw new Error(k("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"?pe.required:pe[this.getType(t)]||!1}},j.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[t]=r},j.warning=fr,j.messages=kt,j.validators=pe;var zs={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 Ws(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new j(e);return r.messages(Object.assign(zs,t)),r}var Ks=new zl;function $t(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 Gs(e){if(Array.isArray(e))return e}function Xs(e){if(Array.isArray(e))return $t(e)}function _r(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 br(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){_r(o,n,i,u,s,"next",c)}function s(c){_r(o,n,i,u,s,"throw",c)}u(void 0)})}}function Qs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Js(e,t,r){return t&&mr(e.prototype,t),r&&mr(e,r),e}function Zs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Er(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ys(){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 ec(){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 Ir(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){Zs(e,i,r[i])})}return e}function tc(e){return Gs(e)||Er(e)||wr(e)||Ys()}function Ft(e){return Xs(e)||Er(e)||wr(e)||ec()}function wr(e,t){if(!!e){if(typeof e=="string")return $t(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 $t(e,t)}}var Ar=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(f){return c([a,f])}}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(f){a=[6,f],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;Qs(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Sr,this.removeSetting=Or,this._callControlHooks("preInstance",n);var o=gr(this,t)?this.constructor:void 0,u=o.controlName,s=o.controlIcon,c=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,g=o.setting;u&&s&&c||Yn("The ".concat(h," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:oe(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,(gr(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 p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:a,this.eventKeys=z(f),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=tc(o),a=c[0],f=c.slice(1);return(s=Ks).emit.apply(s,[a,this].concat(Ft(f)))},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),kl(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return br(function(){var o,u,s;return Ar(this,function(c){switch(c.label){case 0:return o=Ir({},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 br(function(){var s,c,a,f;return Ar(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:s=v.sent(),c=s!==void 0?s:Ir({},u.rules),Array.isArray(o)&&o.forEach(function(h){c.hasOwnProperty(h)&&delete c[h]}),a=Ws(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 f=v.sent(),f.control||(f.control=u),f;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,f=c.datasourceBind,v=c.optionConfig,h=c.caption,g=c.required,w=c.maxLength,b=c.options,E=c.encrypted,p=c.encryptedMode;if(!(!o&&!a&&!f)){var _={parentId:i,fieldType:o,controlId:u,caption:h,type:s,props:{}};switch(a&&(_.dataBind=a),v){case"datasource":case void 0:f&&(_.datasourceBind=f);break;case"custom":_.props.options=b;break}return g!==void 0&&(_.required=g),w!==void 0&&(_.maxLength=w),E!==void 0&&(_.encrypted=E),p!==void 0&&(_.encryptedMode=p),_}},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,Ft(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},Js(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=Or,$.updateSettingItem=Sr;function Or(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 Sr(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,Ft(t.showItems))}}}})}function nc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rc(e,t,r){return t&&Rr(e.prototype,t),r&&Rr(e,r),e}function ic(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ve=function(){function t(r){nc(this,t),this.customEvents=[],this.parent=null;var n=ic(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,s=n.controlCustomEvents;i||Yn("The ".concat(u," controlType is not define"));var c;this.id=(c=r==null?void 0:r.id)!==null&&c!==void 0?c:oe(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 f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"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:At.UNKNOWN}return rc(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}();ve.controlType="control",ve.__is_control__=!0,ve.controlCustomEvents=[];function oc(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=Nl(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 uc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nt(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(r){return r.__proto__||Object.getPrototypeOf(r)},Re(e)}function Lt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}function ac(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function lc(e,t){return t&&(sc(t)==="object"||typeof t=="function")?t:uc(e)}function xt(e,t){return xt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xt(e,t)}var sc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mt(e){var t=cc();return function(){var n=Re(e),i;if(t){var o=Re(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return lc(this,i)}}var jt=function(e){Lt(r,e);var t=Mt(r);function r(n){Nt(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(ac(n.dataBind,Ie))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}(de),Ht=function(e){Lt(r,e);var t=Mt(r);function r(n){Nt(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),Z=function(e){Lt(r,e);var t=Mt(r);function r(n){Nt(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 f;i.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"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 Ie(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return r}(M);Z.Rules=jt,Z.RuntimeRules=Ht;function fc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(e)}function yc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pc(e,t){return t&&(vc(t)==="object"||typeof t=="function")?t:fc(e)}function Ut(e,t){return Ut=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ut(e,t)}var vc=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 _c(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 pc(this,i)}}var Vt=function(e){yc(r,e);var t=_c(r);function r(n){dc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Z(n==null?void 0:n.props),i}return r}($);Vt.controlEventKeys=["on_change","on_focus","on_blur"];function bc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ce(e)}function gc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Ec(e,t){return t&&(Ic(t)==="object"||typeof t=="function")?t:bc(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qt(e,t)}var Ic=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ac(e){var t=wc();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 Ec(this,i)}}var Oc=function(e){gc(r,e);var t=Ac(r);function r(n){mc(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Z(n==null?void 0:n.props),i}return r}(ve);function Sc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function Pc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cc(e,t){return t&&(Bc(t)==="object"||typeof t=="function")?t:Sc(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zt(e,t)}var Bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dc(e){var t=Tc();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 Cc(this,i)}}var H=function(e){Pc(r,e);var t=Dc(r);function r(n){return Rc(this,r),t.call(this,n)}return r}(M);function Wt(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 kc(e){if(Array.isArray(e))return Wt(e)}function $c(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pr(e){return kc(e)||$c(e)||Nc(e)||Fc()}function Nc(e,t){if(!!e){if(typeof e=="string")return Wt(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 Wt(e,t)}}function Lc(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Cr(e,t){e.parent=t,Lc(e,"parent")}function xc(e,t){e.forEach(function(r){Cr(r,t)})}var Br=Symbol("targetKey");function Tr(e){var t;return(t=e[Br])!==null&&t!==void 0?t:e}function Dr(e,t){return xc(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===Br?n:(c=Reflect).get.apply(c,[n,i].concat(Pr(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(Fl(e)&&i==="length"&&o===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,o].concat(Pr(s)));return tr(o)&&Cr(o,t),f}})}function Kt(e,t,r,n){var i=n!=null?n:e,o=Dr(Tr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Dr(Tr(s),i)},enumerable:!0})}function Gt(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 Mc(e){if(Array.isArray(e))return Gt(e)}function kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $r(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 jc(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){$r(o,n,i,u,s,"next",c)}function s(c){$r(o,n,i,u,s,"throw",c)}u(void 0)})}}function Hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Y=Reflect.get:Y=function(i,o,u){var s=Jc(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},Y(e,t,r||e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U(e)}function Vc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function qc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function zc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wc(){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 Kc(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){Uc(e,i,r[i])})}return e}function Gc(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 Xc(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gc(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Qc(e,t){return t&&(Zc(t)==="object"||typeof t=="function")?t:kr(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xt(e,t)}function Jc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=U(e),e!==null););return e}function Fr(e){return Mc(e)||zc(e)||Yc(e)||Wc()}var Zc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Yc(e,t){if(!!e){if(typeof e=="string")return Gt(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 Gt(e,t)}}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=U(e),i;if(t){var o=U(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Qc(this,i)}}var nf=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(f){return c([a,f])}}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(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},rf=1e4,W=function(t){Vc(n,t);var r=tf(n);function n(o){Hc(this,n);var u;u=r.call(this,o),u.controlType="layout";var s=qc(this,n)?this.constructor:void 0,c=s.excludes,a=s.childrenMaxLength;return u.props=new H(o==null?void 0:o.props),Kt(kr(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,f=function(){return Y(U(n.prototype),"validate",c)};return jc(function(){return nf(this,function(v){switch(v.label){case 0:return[4,f().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=Y(U(n.prototype),"toDataBindModel",this).call(this),c=s?[s]:[];return this.children.reduce(function(a,f){var v=f.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(g){return!!g});return Fr(a).concat(Fr(h))}return v&&a.push(v),a},c)},i.toSchema=function(){var u=Y(U(n.prototype),"toSchema",this).call(this),s=this.children.map(function(c){var a=c.toSchema();return a});return Xc(Kc({},u),{children:s})},n}($);W.excludes=!1,W.childrenMaxLength=rf;function Nr(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&&Qt(e,t)}function af(e,t){return t&&(lf(t)==="object"||typeof t=="function")?t:Nr(e)}function Qt(e,t){return Qt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qt(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 he=function(e){uf(r,e);var t=cf(r);function r(n){of(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new H(n==null?void 0:n.props),Kt(Nr(i),"children",n==null?void 0:n.children),i}return r}(ve);function Lr(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 De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(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&&Jt(e,t)}function yf(e,t){return t&&(pf(t)==="object"||typeof t=="function")?t:Lr(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jt(e,t)}var pf=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 n=De(e),i;if(t){var o=De(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return yf(this,i)}}var _f=function(e){df(r,e);var t=hf(r);function r(n,i){ff(this,r);var o;return o=t.call(this,i),Kt(Lr(o),"headers",i==null?void 0:i.headers,n),o}return r}(M);function Zt(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 bf(e){if(Array.isArray(e))return Zt(e)}function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mr(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 mf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(c){Mr(o,n,i,u,s,"next",c)}function s(c){Mr(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 Ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ee=Reflect.get:ee=function(i,o,u){var s=Rf(i,o);if(!!s){var c=Object.getOwnPropertyDescriptor(s,o);return c.get?c.get.call(u):c.value}},ee(e,t,r||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V(e)}function If(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function wf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Af(){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 jr(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){Ef(e,i,r[i])})}return e}function Of(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 Hr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Of(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Sf(e,t){return t&&(Pf(t)==="object"||typeof t=="function")?t:xr(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}function Rf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Ur(e){return bf(e)||wf(e)||Cf(e)||Af()}var Pf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cf(e,t){if(!!e){if(typeof e=="string")return Zt(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 Zt(e,t)}}function Bf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tf(e){var t=Bf();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 Sf(this,i)}}var Df=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(f){return c([a,f])}}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(f){a=[6,f],n=0}finally{r=i=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}},kf=function(e){If(r,e);var t=Tf(r);function r(i){gf(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new _f(xr(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 ee(V(r.prototype),"validate",s)};return mf(function(){return Df(this,function(f){switch(f.label){case 0:return[4,a().call(c,o)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=ee(V(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],s=this.id;return this.props.headers.reduce(function(c,a){var f=a.toDataBindModel(s);if(Array.isArray(f)){var v=f.filter(function(h){return!!h});return Ur(c).concat(Ur(v))}return f&&c.push(f),c},u)},n.toSchema=function(){var o=ee(V(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(s){return s.toSchema()});return Hr(jr({},o),{props:Hr(jr({},this.props),{headers:u})})},r}($);kf.controlFieldType=d.LIST;function $f(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(e)}function qr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ff(e,t){return t&&(Nf(t)==="object"||typeof t=="function")?t:$f(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var Nf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zr(e){var t=Lf();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 Ff(this,i)}}var xf=function(e){qr(r,e);var t=zr(r);function r(n){Vr(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}(de),Mf=function(e){qr(r,e);var t=zr(r);function r(n){Vr(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.dataBind=new Ie(n==null?void 0:n.dataBind);var c;return 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,i}return r}(M);Mf.Rules=xf,l.IS_HIDE,l.IS_HIDE;function jf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(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&&tn(e,t)}function Vf(e,t){return t&&(qf(t)==="object"||typeof t=="function")?t:jf(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},tn(e,t)}var qf=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 Wf(e){var t=zf();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 Vf(this,i)}}var Kf=function(e){Uf(r,e);var t=Wf(r);function r(n){Hf(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 f;i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var v;i.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;return i.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,i}return r}(M);function Gf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qf(e,t,r){return t&&Wr(e.prototype,t),r&&Wr(e,r),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function Jf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function Zf(e,t){return t&&(Yf(t)==="object"||typeof t=="function")?t:Gf(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nn(e,t)}var Yf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function td(e){var t=ed();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 Zf(this,i)}}var Kr=function(e){Jf(r,e);var t=td(r);function r(n){Xf(this,r);var i;return i=t.call(this,n),i.props=new Kf(n==null?void 0:n.props),i}return Qf(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}($);Kr.controlEventKeys=["on_click"],Kr.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 Gr;(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"})(Gr||(Gr={}));var Xr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(Xr||(Xr={}));var Qr;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Qr||(Qr={}));var Jr;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Jr||(Jr={}));var Zr;(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"})(Zr||(Zr={}));function Yr(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ei;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ei||(ei={}));var ti;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(ti||(ti={}));var ni;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ni||(ni={}));var ri;(function(e){e.ALL="all",e.ASSIGN="assign"})(ri||(ri={}));var ii;(function(e){e.ALL="all",e.ADMIN="admin"})(ii||(ii={})),l.IS_HIDE,d.AUTO_NUMBER,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,l.IS_HIDE;function nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(e)}function on(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rd(e,t){return t&&(id(t)==="object"||typeof t=="function")?t:nd(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var id=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function od(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function an(e){var t=od();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 rd(this,i)}}var ud=function(e){on(r,e);var t=an(r);function r(n){rn(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=Yr(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(jt),ad=function(e){on(r,e);var t=an(r);function r(n){rn(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:Yr(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(Ht),ln=function(e){on(r,e);var t=an(r);function r(n){rn(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 as(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:xe.controlName;var a;i.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var f;i.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var v;return i.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",i}return r}(Z);ln.Rules=ud,ln.RuntimeRules=ad;function ld(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 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 cd(e,t,r){return t&&oi(e.prototype,t),r&&oi(e,r),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(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&&sn(e,t)}function dd(e,t){return t&&(yd(t)==="object"||typeof t=="function")?t:ld(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sn(e,t)}var yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vd(e){var t=pd();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 dd(this,i)}}var xe=function(e){fd(r,e);var t=vd(r);function r(n){sd(this,r);var i;return i=t.call(this,n),i.props=new ln(n==null?void 0:n.props),i}return cd(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}(Vt);xe.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xe.controlFieldType=d.VARCHAR,xe.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}],d.VARCHAR,d.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.ARRAY,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.VARCHAR,d.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,d.DECIMAL,d.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TIMESTAMP,d.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TIMESCOPE,d.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TEXT,d.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.TEXT,d.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,d.VARCHAR,d.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,d.ARRAY,d.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.EMPLOYEES;function hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cn(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(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function fn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _d(e,t){return t&&(bd(t)==="object"||typeof t=="function")?t:hd(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 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 yn(e){var t=md();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 _d(this,i)}}var gd=104857600,Ed=1048576e3,Id=function(e){fn(r,e);var t=yn(r);function r(n){cn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:Ed,message:m.getMessage("attachmentMaxSize")},i}return r}(jt),wd=function(e){fn(r,e);var t=yn(r);function r(n){cn(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}(Ht),je=function(e){fn(r,e);var t=yn(r);function r(n){cn(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 f;i.maxSize=(f=n==null?void 0:n.maxSize)!==null&&f!==void 0?f:gd;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ue.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}(Z);je.Rules=Id,je.RuntimeRules=wd;function Ad(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Od(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ui(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sd(e,t,r){return t&&ui(e.prototype,t),r&&ui(e,r),e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function Rd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pn(e,t)}function Pd(e,t){return t&&(Cd(t)==="object"||typeof t=="function")?t:Ad(e)}function pn(e,t){return pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},pn(e,t)}var Cd=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 Td(e){var t=Bd();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 Pd(this,i)}}var Ue=function(e){Rd(r,e);var t=Td(r);function r(n){Od(this,r);var i;return i=t.call(this,n),i.props=new je(n==null?void 0:n.props),i}return Sd(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Vt);Ue.controlEventKeys=["on_change"],Ue.controlFieldType=d.FILE,Ue.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 Dd(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 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 $d(e,t,r){return t&&ai(e.prototype,t),r&&ai(e,r),e}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ve(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&&vn(e,t)}function Nd(e,t){return t&&(Ld(t)==="object"||typeof t=="function")?t:Dd(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var Ld=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Md(e){var t=xd();return function(){var n=Ve(e),i;if(t){var o=Ve(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Nd(this,i)}}var jd=function(e){Fd(r,e);var t=Md(r);function r(n){kd(this,r);var i;return i=t.call(this,n),i.props=new je(n==null?void 0:n.props),i}return $d(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Oc);jd.controlFieldType=d.FILE,d.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.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,d.MONEY,d.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.DECIMAL,d.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,d.ADDRESS,d.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.DEPARTMENTS,d.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.AUTO_NUMBER,d.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,d.CALC,d.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.DECIMAL_RANGE,d.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.ARRAY,d.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,d.ANY,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.IS_SHOW_CAPTION_TIP,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,d.VARCHAR,d.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,d.ARRAY,d.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.EMPLOYEES,d.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,d.VARCHAR,d.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,d.FILE,d.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,d.DEPARTMENTS,y.GRID;function Hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(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&&hn(e,t)}function qd(e,t){return t&&(zd(t)==="object"||typeof t=="function")?t:Hd(e)}function hn(e,t){return hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},hn(e,t)}var zd=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 Kd(e){var t=Wd();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 qd(this,i)}}var Gd=24,_n=function(e){Vd(r,e);var t=Kd(r);function r(n){Ud(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:Gd;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(H);function Xd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qd(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 Jd(e,t,r){return t&&li(e.prototype,t),r&&li(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bn(e,t)}function Yd(e,t){return t&&(ey(t)==="object"||typeof t=="function")?t:Xd(e)}function bn(e,t){return bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},bn(e,t)}var ey=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ty(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ny(e){var t=ty();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 Yd(this,i)}}var mn=function(e){Zd(r,e);var t=ny(r);function r(n){Qd(this,r);var i;return i=t.call(this,n),i.props=new _n(n==null?void 0:n.props),i}return Jd(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);mn.excludes=[y.COL,y.CARD_GROUP,y.SUBTABLE,y.SUBTABLE_COLUMN,y.DIVIDER],mn.childrenMaxLength=1;function ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oy(e,t,r){return t&&si(e.prototype,t),r&&si(e,r),e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function uy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gn(e,t)}function ay(e,t){return t&&(ly(t)==="object"||typeof t=="function")?t:ry(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},gn(e,t)}var ly=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cy(e){var t=sy();return function(){var n=We(e),i;if(t){var o=We(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ay(this,i)}}var fy=function(e){uy(r,e);var t=cy(r);function r(n){iy(this,r);var i;return i=t.call(this,n),i.props=new _n(n==null?void 0:n.props),i}return oy(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(he),ci={Designer:mn,Runtime:fy,Property:_n};function dy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(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&&En(e,t)}function vy(e,t){return t&&(hy(t)==="object"||typeof t=="function")?t:dy(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function by(e){var t=_y();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 vy(this,i)}}var In=function(e){py(r,e);var t=by(r);function r(n){yy(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}(H);function my(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 fi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ey(e,t,r){return t&&fi(e.prototype,t),r&&fi(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function Iy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}function wy(e,t){return t&&(Ay(t)==="object"||typeof t=="function")?t:my(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var Ay=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sy(e){var t=Oy();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 wy(this,i)}}var An=function(e){Iy(r,e);var t=Sy(r);function r(n){gy(this,r);var i;return i=t.call(this,n),i.props=new In(n==null?void 0:n.props),i}return Ey(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);An.excludes=[y.ROW],An.setting=[{key:"col-setting",visible:!0}];function Ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Py(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cy(e,t,r){return t&&di(e.prototype,t),r&&di(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function By(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&On(e,t)}function Ty(e,t){return t&&(Dy(t)==="object"||typeof t=="function")?t:Ry(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},On(e,t)}var Dy=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 $y(e){var t=ky();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 Ty(this,i)}}var Fy=function(e){By(r,e);var t=$y(r);function r(n){Py(this,r);var i;return i=t.call(this,n),i.props=new In(n==null?void 0:n.props),i}return Cy(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(he);function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xy(e,t,r){return t&&yi(e.prototype,t),r&&yi(e,r),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function My(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jy(e,t){return t&&(Hy(t)==="object"||typeof t=="function")?t:Ny(e)}function Sn(e,t){return Sn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Sn(e,t)}var Hy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vy(e){var t=Uy();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 jy(this,i)}}var qy=4,Je=function(e){My(r,e);var t=Vy(r);function r(n){return Ly(this,r),t.call(this,n)}return xy(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}(An);Je.excludes=[y.GRID_ROW],Je.setting=[],Je.childrenMaxLength=qy;function zy(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 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 Ky(e,t,r){return t&&pi(e.prototype,t),r&&pi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(e)}function Gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rn(e,t)}function Xy(e,t){return t&&(Qy(t)==="object"||typeof t=="function")?t:zy(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Qy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zy(e){var t=Jy();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 Xy(this,i)}}var Yy=function(e){Gy(r,e);var t=Zy(r);function r(n){return Wy(this,r),t.call(this,n)}return Ky(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Fy);function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function np(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pn(e,t)}function rp(e,t){return t&&(ip(t)==="object"||typeof t=="function")?t:ep(e)}function Pn(e,t){return Pn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pn(e,t)}var ip=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function op(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function up(e){var t=op();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 rp(this,i)}}var ap=function(e){np(r,e);var t=up(r);function r(n){return tp(this,r),t.call(this,n)}return r}(In),lp={Designer:Je,Runtime:Yy,Property:ap};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 et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function fp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function dp(e,t){return t&&(yp(t)==="object"||typeof t=="function")?t:sp(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var yp=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 vp(e){var t=pp();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 dp(this,i)}}H.Rules,l.CAPTION,l.IS_HIDE,y.CARD_GROUP;function hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function hi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _p(e,t){return t&&(bp(t)==="object"||typeof t=="function")?t:hp(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var bp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _i(e){var t=mp();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 _p(this,i)}}var gp=function(e){hi(r,e);var t=_i(r);function r(n){vi(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")},i.width.required=n.widthType==="px",n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(de),nt=function(e){hi(r,e);var t=_i(r);function r(n){vi(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,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:!1;var c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;i.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var f;return i.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1,i}return r}(H);nt.Rules=gp;function Ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rt(e)}function wp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ap(e,t){return t&&(Op(t)==="object"||typeof t=="function")?t:Ep(e)}function Tn(e,t){return Tn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tn(e,t)}var Op=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rp(e){var t=Sp();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 Ap(this,i)}}var K=function(e){wp(r,e);var t=Rp(r);function r(n){Ip(this,r);var i;return i=t.call(this,n),i.props=new nt(n==null?void 0:n.props),i}return r}(W);K.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",K.controlType="subtable-column",K.controlIcon="subtable-column",K.childrenMaxLength=1,K.excludes=[y.SUBTABLE,y.SUBTABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT],K.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];function Pp(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 it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(e)}function Bp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tp(e,t){return t&&(Dp(t)==="object"||typeof t=="function")?t:Pp(e)}function Dn(e,t){return Dn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Dn(e,t)}var Dp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $p(e){var t=kp();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 Tp(this,i)}}var bi=function(e){Bp(r,e);var t=$p(r);function r(n){Cp(this,r);var i;return i=t.call(this,n),i.props=new nt(n==null?void 0:n.props),i}return r}(he);bi.controlType="subtable-column";var Fp={Designer:K,Runtime:bi,Property:nt};y.SUBTABLE,y.SUBTABLE_COLUMN,y.SUBTABLE_ROW,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT,l.CAPTION,y.GRID_TABLE,y.GRID_TABLE_COLUMN,y.ROW,y.COL,y.CARD_GROUP,y.DIVIDER,y.TEXT,l.CAPTION,y.TAB,l.CAPTION,l.IS_HIDE,y.TAB,y.GRID_ROW,y.ROW,y.GRID,y.SUBTABLE,y.TAB,y.TOOLBOX;function mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kn(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 $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&&Fn(e,t)}function Np(e,t){return t&&(Lp(t)==="object"||typeof t=="function")?t:mi(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(e,t)}var Lp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nn(e){var t=xp();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 Np(this,i)}}var ut;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ut||(ut={}));var Mp=function(e){$n(r,e);var t=Nn(r);function r(n){kn(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),jp=function(e){$n(r,e);var t=Nn(r);function r(n){kn(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ut.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}),oc.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}(de),_e=function(e){$n(r,e);var t=Nn(r);function r(n){kn(this,r);var i;i=t.call(this,n),i.datasourceBind=new le(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:ut.CLICK_ROW;var c;i.triggerFieldCode=(c=n==null?void 0:n.triggerFieldCode)!==null&&c!==void 0?c:"",i.sublistPage=new Zl(n==null?void 0:n.sublistPage);var a;i.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"stretch";var f;i.showFullScreen=(f=n==null?void 0:n.showFullScreen)!==null&&f!==void 0?f:!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}(H);_e.Rules=jp,_e.RuntimeRules=Mp;function Hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vp(e,t,r){return t&&gi(e.prototype,t),r&&gi(e,r),e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function qp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zp(e,t){return t&&(Wp(t)==="object"||typeof t=="function")?t:Hp(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ln(e,t)}var Wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gp(e){var t=Kp();return function(){var n=at(e),i;if(t){var o=at(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return zp(this,i)}}var lt=function(e){qp(r,e);var t=Gp(r);function r(n){Up(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return Vp(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);lt.excludes=[y.ROW],lt.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],lt.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 Xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ei(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jp(e,t,r){return t&&Ei(e.prototype,t),r&&Ei(e,r),e}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function Zp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yp(e,t){return t&&(ev(t)==="object"||typeof t=="function")?t:Xp(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var ev=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nv(e){var t=tv();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 Yp(this,i)}}var rv=function(e){Zp(r,e);var t=nv(r);function r(n){Qp(this,r);var i;return i=t.call(this,n),i.props=new _e(n==null?void 0:n.props),i}return Jp(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(he),iv={Designer:lt,Runtime:rv,Property:_e};function ov(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ii(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function wi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mn(e,t)}function uv(e,t){return t&&(av(t)==="object"||typeof t=="function")?t:ov(e)}function Mn(e,t){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(e,t)}var av=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 Ai(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 uv(this,i)}}var sv=function(e){wi(r,e);var t=Ai(r);function r(n){Ii(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(Ae),ft=function(e){wi(r,e);var t=Ai(r);function r(n){Ii(this,r);var i;i=t.call(this,n);var o;i.save=new se((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new se((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;i.saveAs=new se((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 se((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 se(v)});var f;return i.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,i.datasourceBind=new le(n==null?void 0:n.datasourceBind),i}return r}(H);ft.RuntimeRules=sv;function cv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 dv(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function yv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jn(e,t)}function pv(e,t){return t&&(vv(t)==="object"||typeof t=="function")?t:cv(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var vv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _v(e){var t=hv();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 pv(this,i)}}var Si=function(e){yv(r,e);var t=_v(r);function r(n){fv(this,r);var i;return i=t.call(this,n),i.props=new ft(n==null?void 0:n.props),i}return dv(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(W);Si.excludes=[];function bv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gv(e,t,r){return t&&Ri(e.prototype,t),r&&Ri(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function Ev(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iv(e,t){return t&&(wv(t)==="object"||typeof t=="function")?t:bv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(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 Ov(e){var t=Av();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 Iv(this,i)}}var Sv=function(e){Ev(r,e);var t=Ov(r);function r(n){mv(this,r);var i;return i=t.call(this,n),i.props=new ft(n==null?void 0:n.props),i}return gv(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(he),Rv={Designer:Si,Runtime:Sv,Property:ft};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,d.DECIMAL,l.CAPTION,l.CAN_CHECK,l.CAN_EDIT,l.CAN_DELETE,d.FILE,d.VARCHAR,l.CAPTION,d.VARCHAR,d.TEXT,l.CAPTION,d.TEXT,d.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,d.DECIMAL,d.TIMESCOPE,l.CAPTION,d.TIMESCOPE,d.TIMESTAMP,l.CAPTION,d.TIMESTAMP,d.ARRAY,l.CAPTION,d.ARRAY,d.DEPARTMENTS,l.CAPTION,d.DEPARTMENTS,d.AUTO_NUMBER,l.CAPTION,d.AUTO_NUMBER,d.FILE,l.CAPTION,d.FILE,d.IMAGE,l.CAPTION,d.IMAGE,d.EMPLOYEES,l.CAPTION,d.EMPLOYEES,d.ADDRESS,l.CAPTION,d.ADDRESS,l.CAPTION,d.EMPLOYEES,l.CAPTION,d.EMPLOYEES,l.IS_HIDE;const Pv=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];jv(t==null?void 0:t.events),$v(n),Fv(n);const i=kv(n),o=Nv(i,t);let u=Q(F(o,s=>Dv(s,t)));return r?u:u[0]},Cv=[y.DIVIDER,y.TEXT,y.TITLE,y.LINK,y.BUTTON,"list-btn-export-list","list-btn-export-record"],Bv=["subtable","grid-table"],Tv=["simple-search"];function Dv(e,t){var i,o,u,s,c,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Cv.includes(r.type)?r.controlType="base":r.controlType="form",Bv.includes(r.type)&&(r.controlType="list"),Tv.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),T((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),T((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"&&(T(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(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 f=r.props.entry_type||r.props.entryType;r.props.openType=f==="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 Fp.Designer;g.props.widthType=v.header_width_config==="1"?"auto":"px",g.props.width=v.header_width===""?200:Number(v.header_width),g.props.caption=T(v.field_name)?v.field_name.zh:v.field_name;const w=g.toSchema();w.id=v.header_id;const b=r.children[0].children[h].children[0];return b&&(w.children=[b]),w}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=T(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(v=>{const h=new ci.Designer;h.props.span=f;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 f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={};f&&(Pi(r,t),h.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.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 f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],h={},g={};f&&(Pi(r,t),r.id=f.id,h.amount=f.props.data_bind,r.props.range_min=X(f.props.range_min),r.props.range_max=X(f.props.range_max),g.amount=X(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=T(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.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(w=>({label:w.text,value:w.value}))),r.props.dataBind=h,r.props.defaultValue=g,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};f&&(h.min=f.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=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=X(e.props.range_min),r.props.range_max=X(e.props.range_max),r.props.defaultValue=X(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"),Hv(r,t==null?void 0:t.control_events),r}function Pi(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 kv(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new Rv.Designer().toSchema();return n.children=e,[n]}function $v(e){e.forEach(t=>{t.children&&Mv(t.children)})}function Fv(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 Nv(e,t){var g,w,b,E,p,_,R,A;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;Lv(o),s.props.is_fixed_header=(g=n==null?void 0:n.source_config)==null?void 0:g.is_fixed_header,xv(s,u);const c=(b=(w=n==null?void 0:n.source_config)==null?void 0:w.data_code)!=null?b:t==null?void 0:t.dataCode,a=((p=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?p:c)?`${c}_selectMore`:void 0,f=(R=(_=n==null?void 0:n.source_config)==null?void 0:_.orders)!=null?R:[],v=new iv.Designer;v.props.datasourceBind=new le({dataCode:c,svcCode:a,orders:Ll(f)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(A=n==null?void 0:n.sublist_page)==null||A.sublists.forEach(O=>{O.title=T(O.title)?O.title.zh:O.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function Lv(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=T(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 xv(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:T(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=T(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 le({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 Mv(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 jv(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 Hv(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 Uv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>Vv(o)));return r?i:i[0]};function Vv(e,t){return e.type===y.LIST_VIEW&&e.children.find(n=>n.type===y.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ie({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const qv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>zv(o)));return r?i:i[0]};function zv(e,t){return[y.BUTTON,y.CREATE_FORM_LIST_BUTTON,y.BATCH_SUBMISSION_LIST_BUTTON,y.SUBMISSION_RECORD_LIST_BUTTON,y.IMPORT_RECORD_LIST_BUTTON,y.EXPORT_RECORD_LIST_BUTTON,y.EXPORT_LIST_BUTTON,y.FORM_SELECT_BUTTON,y.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===y.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===y.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Wv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>Kv(o)));return r?i:i[0]};function Kv(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 Gv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>Qv(o)));return r?i:i[0]},Xv=[y.ROW,y.TAB,y.SUBTABLE,y.GRID_ROW,y.CARD_GROUP];function Qv(e,t){return e.type===y.TAB_PANE&&(e.children=e.children.map(r=>{if(Xv.includes(r.type))return r;const n=new lp.Designer,i=new ci.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const Jv=(e,t)=>{const r=Array.isArray(e);let i=Q(F(r?e:[e],o=>Zv(o)));return r?i:i[0]};function Zv(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===y.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Yv=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>eh(o));return r?i:i[0]};function eh(e,t){return e.type===y.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const th=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>nh(o));return r?i:i[0]};function q(e,t){e.field_code&&(e.field_type=t)}function nh(e,t){var n;const r={[y.TITLE]:d.AUTO_NUMBER,[y.ADDRESS]:d.ADDRESS,[y.ATTACHMENT]:d.FILE,[y.AUTO_NUMBER]:d.AUTO_NUMBER,[y.CHECKBOX]:d.ARRAY,[y.DATE_PICKER]:d.TIMESTAMP,[y.DEPARTMENT]:d.DEPARTMENTS,[y.EMPLOYEE]:d.EMPLOYEES,[y.EMPLOYEE2]:d.EMPLOYEES,[y.IMAGE]:d.IMAGE,[y.INPUT]:d.VARCHAR,[y.NUMBER]:d.DECIMAL,[y.RADIO]:d.VARCHAR,[y.RICH_TEXT]:d.TEXT,[y.SCORE]:d.DECIMAL,[y.SELECT]:d.VARCHAR,[y.SELECT_MULTIPLE]:d.ARRAY,[y.SELECT_RELATION]:d.VARCHAR,[y.TEXTAREA]:d.TEXT,[y.TREE]:d.ARRAY,[y.SEARCH_DATE_RANGE]:d.ARRAY,[y.SEARCH_INPUT]:d.VARCHAR,[y.SEARCH_NUMBER_RANGE]:d.ARRAY};return r.hasOwnProperty(e.type)&&q(e.props.data_bind,r[e.type]),e.type===y.AMOUNT&&(q(e.props.data_bind.amount,d.DECIMAL),q(e.props.data_bind.currency,d.VARCHAR)),e.type===y.CALC&&(q(e.props.data_bind.result,d.DECIMAL),q(e.props.data_bind.unit,d.VARCHAR)),e.type===y.DATE_RANGE&&(q(e.props.data_bind.min,d.TIMESTAMP),q(e.props.data_bind.max,d.TIMESTAMP)),e.type===y.VUE_FORM_ITEM&&q(e.props.data_bind,(n=e.field_type)!=null?n:d.ANY),e}const rh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>ih(o));return r?i:i[0]};function ih(e,t){return e.type===y.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===y.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const oh=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>uh(o));return r?i:i[0]};function uh(e,t){return e.type===y.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,i;[d.VARCHAR,d.TEXT,d.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 ah=(e,t)=>{const r=Array.isArray(e);let i=F(r?e:[e],o=>lh(o));return r?i:i[0]};function lh(e,t){return[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2].includes(e.type)&&(e.props.open_multistage_filling=!0),e.type===y.SUBTABLE&&e.props.headers.forEach(r=>{[y.SELECT,y.SELECT_RELATION,y.SELECT_MULTIPLE,y.RADIO,y.CHECKBOX,y.TREE,y.DEPARTMENT2,y.EMPLOYEE2].includes(r.children[0].type)&&(r.children[0].props.open_multistage_filling=!0)}),e}var Ci={"v1.0":Pv,"v2.0":Uv,"v2.1":qv,"v2.2":Wv,"v2.3":Gv,"v2.4":Jv,"v2.5":Yv,"v2.6":th,"v2.7":rh,"v2.8":oh,"v2.9":ah,"v2.10":()=>{}};function pt(e){return e.replace(/^v/,"")}function vt(e){return Number(pt(e))}const te=Object.keys(Ci).map(e=>pt(e)).sort((e,t)=>{let[r,n]=e.split("."),[i,o]=t.split(".");return n.length===1&&(n="0"+n),o.length===1&&(o="0"+o),Number(r+"."+n)-Number(i+"."+o)}),be=te[te.length-1];class sh{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,vt(r)>vt(be)?Zn(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!te.includes(pt(r))||!te.includes(pt(t)))&&Zn(`Version Builder: Please give me a valid version number, The valid version is: ${te.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===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;ge(`Version Builder: current version: ${o}, nextVersion: ${c}`);const a=Ci[o];let f=i;if(typeof a=="function"){const h=a(i,r);h&&(f=h)}return f},t);return ge(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return te.filter(t=>{let[r,n]=t.split("."),[i,o]=this._schemaVersion.toString().split(".");return n.length===1&&(n="0"+n),o.length===1&&(o="0"+o),Number(r+"."+n)>=Number(i+"."+o)&&Number(r+"."+n)<this._version})}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return vt(this.toVersion)}get _schemaVersion(){return vt(this.schemaVersion)}get version(){return be}static get version(){return be}}G.VersionBuilder=sh,Object.defineProperty(G,"__esModule",{value:!0})});
@@ -1,13 +1,13 @@
1
- import { DataCleanerPayload } from './types';
2
- export declare class VersionBuilder {
3
- toVersion: string;
4
- schemaVersion: string;
5
- constructor(schemaVersion: string, version?: string);
6
- dataCleaner(schema: any, payload?: DataCleanerPayload): any;
7
- private get runDataCleanerKeys();
8
- private get callDataCleanerKeys();
9
- private get _version();
10
- private get _schemaVersion();
11
- get version(): string;
12
- static get version(): string;
13
- }
1
+ import { DataCleanerPayload } from './types';
2
+ export declare class VersionBuilder {
3
+ toVersion: string;
4
+ schemaVersion: string;
5
+ constructor(schemaVersion: string, version?: string);
6
+ dataCleaner(schema: any, payload?: DataCleanerPayload): any;
7
+ private get runDataCleanerKeys();
8
+ private get callDataCleanerKeys();
9
+ private get _version();
10
+ private get _schemaVersion();
11
+ get version(): string;
12
+ static get version(): string;
13
+ }
@@ -1,2 +1,2 @@
1
- export * from './VersionBuilder';
2
- export * from './types';
1
+ export * from './VersionBuilder';
2
+ export * from './types';
@@ -1,11 +1,11 @@
1
- export interface DataCleanerPayload {
2
- displayBoList?: any[];
3
- dataCode?: string;
4
- behaviors?: any[];
5
- control_events?: Record<string, any>;
6
- events?: Record<'did_mount' | 'will_submit' | 'did_submit', Array<Record<string, any>>>;
7
- }
8
- export interface DataCleaner {
9
- (schemaItems: any, payload?: DataCleanerPayload): any;
10
- (schemaItems: any[], payload?: DataCleanerPayload): any[];
11
- }
1
+ export interface DataCleanerPayload {
2
+ displayBoList?: any[];
3
+ dataCode?: string;
4
+ behaviors?: any[];
5
+ control_events?: Record<string, any>;
6
+ events?: Record<'did_mount' | 'will_submit' | 'did_submit', Array<Record<string, any>>>;
7
+ }
8
+ export interface DataCleaner {
9
+ (schemaItems: any, payload?: DataCleanerPayload): any;
10
+ (schemaItems: any[], payload?: DataCleanerPayload): any[];
11
+ }
@@ -1,15 +1,15 @@
1
- declare const _default: {
2
- 'v1.0': import("..").DataCleaner;
3
- 'v2.0': import("..").DataCleaner;
4
- 'v2.1': import("..").DataCleaner;
5
- 'v2.2': import("..").DataCleaner;
6
- 'v2.3': import("..").DataCleaner;
7
- 'v2.4': import("..").DataCleaner;
8
- 'v2.5': import("..").DataCleaner;
9
- 'v2.6': import("..").DataCleaner;
10
- 'v2.7': import("..").DataCleaner;
11
- 'v2.8': import("..").DataCleaner;
12
- 'v2.9': import("..").DataCleaner;
13
- 'v2.10': () => void;
14
- };
15
- export default _default;
1
+ declare const _default: {
2
+ 'v1.0': import("..").DataCleaner;
3
+ 'v2.0': import("..").DataCleaner;
4
+ 'v2.1': import("..").DataCleaner;
5
+ 'v2.2': import("..").DataCleaner;
6
+ 'v2.3': import("..").DataCleaner;
7
+ 'v2.4': import("..").DataCleaner;
8
+ 'v2.5': import("..").DataCleaner;
9
+ 'v2.6': import("..").DataCleaner;
10
+ 'v2.7': import("..").DataCleaner;
11
+ 'v2.8': import("..").DataCleaner;
12
+ 'v2.9': import("..").DataCleaner;
13
+ 'v2.10': () => void;
14
+ };
15
+ export default _default;
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
@@ -1,3 +1,3 @@
1
- import { DataCleaner } from '../types';
2
- declare const dataCleaner: DataCleaner;
3
- export { dataCleaner };
1
+ import { DataCleaner } from '../types';
2
+ declare const dataCleaner: DataCleaner;
3
+ export { dataCleaner };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-upgrade",
3
- "version": "1.7.14-beta.8",
3
+ "version": "1.7.14-beta.9",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -22,10 +22,10 @@
22
22
  "postpublish": "node ../../scripts/postpublish.js"
23
23
  },
24
24
  "dependencies": {
25
- "@byteluck-fe/model-driven-controls": "1.7.14-beta.7",
26
- "@byteluck-fe/model-driven-core": "1.7.14-beta.7",
25
+ "@byteluck-fe/model-driven-controls": "1.7.14-beta.9",
26
+ "@byteluck-fe/model-driven-core": "1.7.14-beta.9",
27
27
  "@byteluck-fe/model-driven-shared": "1.7.14-beta.7",
28
28
  "tslib": "^2.1.0"
29
29
  },
30
- "gitHead": "7c780dcdcccbc2c6101c6f054b6189844c76e5e6"
30
+ "gitHead": "a1fd3839c388424b5a7806a6ce7b45fa9944f0e2"
31
31
  }