@byteluck-fe/model-driven-upgrade 1.8.0-beta.3 → 1.8.0-beta.5

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,oe){typeof exports=="object"&&typeof module!="undefined"?oe(exports):typeof define=="function"&&define.amd?define(["exports"],oe):(G=typeof globalThis!="undefined"?globalThis:G||self,oe(G.modelDrivenUpgrade={}))})(this,function(G){"use strict";var oe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Vi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ki="{caption}\u5FC5\u586B",Gi="\u8BF7\u8F93\u5165\u6807\u9898",Xi="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Qi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ji="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Zi="\u8BF7\u7ED1\u5B9A\u8868\u5355",Yi="\u8BF7\u7ED1\u5B9A\u5217\u8868",eo="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",to="\u8BF7\u8F93\u5165\u663E\u793A\u503C",no="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ro="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",io="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",oo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",uo="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ao="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",lo="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",co="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",so="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",yo="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",po="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vo="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ho="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",bo="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",_o="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",mo="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",go="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Eo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Io="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Oo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",wo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ao="\u8BF7\u9009\u62E9\u7701",So="\u8BF7\u9009\u62E9\u5E02",Ro="\u8BF7\u9009\u62E9\u533A",Po="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Co="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Bo="\u8BF7\u8F93\u5165\u5217\u5BBD",$o="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ko="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",To="\u8BF7\u9009\u62E9\u63A7\u4EF6",Do="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Fo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",No="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xo="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Lo="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Mo="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ho="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Uo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Vo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Wo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ko="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Go="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Xo="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Jo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Yo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",tu={isNotNumber:oe,isNotString:Vi,isNotObject:qi,isNotArray:zi,isNotBoolean:Wi,runtimeRequired:Ki,pleaseEnterCaption:Gi,pleaseEnterCaptionTip:Xi,pleaseEnterPlaceholder:Qi,pleaseEnterFieldCode:Ji,pleaseEnterForm:Zi,pleaseEnterList:Yi,pleaseEnterProcess:eo,pleaseEnterLabel:to,pleaseEnterValue:no,bizKeyNotBindFiled:ro,pleaseEnterNumberRange:io,pleaseEnterAValueGreaterThanMin:oo,pleaseEnterAValueLessThanMax:uo,numberRangeSetError:ao,stringRangeError:lo,attachmentMaxSize:co,pleaseEnterTotalScoreSetting:so,theTotalScoreMustNotBeLessThan1:fo,scoreDefaultValueRange:yo,attachmentLimitError:po,PleaseReselectTheOptionalQuantity:vo,TheMaximumLengthIsGreaterThanTheMinimumLength:ho,TheMinimumLengthIsGreaterThanTheMaximumLength:bo,PleaseSelectTheCorrectOptionSettings:_o,optionIdIsRepeat:mo,optionIsRequired:go,pleaseEnterDataCode:Eo,pleaseEnterValueFieldCode:Io,pleaseEnterSvcCode:Oo,pleaseBindAtLeastOneDisplayValue:wo,pleaseSelectProvince:Ao,pleaseSelectCity:So,pleaseSelectDistrict:Ro,limitRowsCannotBeLessThan0:Po,TheNumberOfRowsCannotBeLessThanMinRows:Co,pleaseEnterColumnWidth:Bo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$o,pleaseCompleteAllRulesAndConditions:ko,pleaseSelectControl:To,pleaseSelectAtLeastOneColumn:Do,pleaseSelectFillBackMode:Fo,pleaseSelectDashboard:No,rootNodeIsRequired:xo,theViewNameCannotBeEmpty:Lo,pleaseSelectOcrType:Mo,pleaseSelectAtLeastOneFieldToFillIn:jo,pleaseChooseAtLeastOne:Ho,pleaseEnterButtonContent:Uo,pleaseEnterDataCodeInDataSetting:Vo,pleaseEnterValueFieldCodeInDataSetting:qo,pleaseEnterSvcCodeInDataSetting:zo,pleaseBindAtLeastOneDisplayValueInDataSetting:Wo,rootNodeIsRequiredInDataSetting:Ko,pleaseEnterMaxHeight:Go,pleaseEnter:Xo,pleaseEnterWatermark:Qo,pleaseEnterFileName:Jo,pleaseUploadAtLeastOnePrintTemplate:Zo,pleaseAssignBusiness:Yo,pleaseAssignExternal:eu},nu="Please enter a number",ru="Please enter a string",iu="Please enter an object",ou="Please enter an array",uu="Please enter a boolean",au="{caption} Required",lu="Please enter the title",cu="Please enter the bubble prompt",su="Please enter the prompt text",fu="Please bind data items",yu="Please bind the form",du="Please bind the list",pu="Please bind the process",vu="Please enter the displayed value",hu="Please enter the stored value",bu="The document number is not bound to the data item",_u="Please enter a value greater than or equal to {min} and less than or equal to {max}",mu="Please enter a value greater than or equal to {min}",gu="Please enter a value less than or equal to {max}",Eu="The value range is set incorrectly",Iu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ou="The attachment size must be between 0MB and 1000MB",wu="Please fill in the total score setting",Au="The total score cannot be less than 1",Su="The default value must be between {min} and {max}",Ru="The number of attachments uploaded must be between {min} and {max}",Pu="Please re-select the optional quantity",Cu="The maximum length of the control must be greater than the minimum length",Bu="The minimum length of the control must be less than the maximum length",$u="Please select the correct option setting",ku="Option ID cannot be repeated",Tu="Please enter at least one option",Du="Please bind the data source",Fu="Please bind the stored value",Nu="Please bind the service",xu="At least one display value must be bound",Lu="Please select a province",Mu="Please select a city",ju="Please select a district",Hu="The minimum number of lines to fill in cannot be less than 0",Uu="The number of rows cannot be less than {min} rows",Vu="Please enter the column width",qu="Please set the logical relationship of all rule conditions",zu="Please complete all rules and conditions",Wu="please select control",Ku="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ju="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ta="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",na="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ra="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ia="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",oa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ua="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",aa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",la="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ca="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",sa="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",fa={isNotNumber:nu,isNotString:ru,isNotObject:iu,isNotArray:ou,isNotBoolean:uu,runtimeRequired:au,pleaseEnterCaption:lu,pleaseEnterCaptionTip:cu,pleaseEnterPlaceholder:su,pleaseEnterFieldCode:fu,pleaseEnterForm:yu,pleaseEnterList:du,pleaseEnterProcess:pu,pleaseEnterLabel:vu,pleaseEnterValue:hu,bizKeyNotBindFiled:bu,pleaseEnterNumberRange:_u,pleaseEnterAValueGreaterThanMin:mu,pleaseEnterAValueLessThanMax:gu,numberRangeSetError:Eu,stringRangeError:Iu,attachmentMaxSize:Ou,pleaseEnterTotalScoreSetting:wu,theTotalScoreMustNotBeLessThan1:Au,scoreDefaultValueRange:Su,attachmentLimitError:Ru,PleaseReselectTheOptionalQuantity:Pu,TheMaximumLengthIsGreaterThanTheMinimumLength:Cu,TheMinimumLengthIsGreaterThanTheMaximumLength:Bu,PleaseSelectTheCorrectOptionSettings:$u,optionIdIsRepeat:ku,optionIsRequired:Tu,pleaseEnterDataCode:Du,pleaseEnterValueFieldCode:Fu,pleaseEnterSvcCode:Nu,pleaseBindAtLeastOneDisplayValue:xu,pleaseSelectProvince:Lu,pleaseSelectCity:Mu,pleaseSelectDistrict:ju,limitRowsCannotBeLessThan0:Hu,TheNumberOfRowsCannotBeLessThanMinRows:Uu,pleaseEnterColumnWidth:Vu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qu,pleaseCompleteAllRulesAndConditions:zu,pleaseSelectControl:Wu,pleaseSelectDashboard:Ku,theViewNameCannotBeEmpty:Gu,pleaseSelectOcrType:Xu,pleaseSelectAtLeastOneFieldToFillIn:Qu,pleaseChooseAtLeastOne:Ju,pleaseEnterButtonContent:Zu,pleaseEnterDataCodeInDataSetting:Yu,pleaseEnterValueFieldCodeInDataSetting:ea,pleaseEnterSvcCodeInDataSetting:ta,pleaseBindAtLeastOneDisplayValueInDataSetting:na,rootNodeIsRequiredInDataSetting:ra,pleaseEnterMaxHeight:ia,pleaseEnter:oa,pleaseEnterWatermark:ua,pleaseEnterFileName:aa,pleaseUploadAtLeastOnePrintTemplate:la,pleaseAssignBusiness:ca,pleaseAssignExternal:sa},ya="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",da="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",va="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="{caption}\u5FC5\u9808",_a="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ga="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ia="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Aa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ra="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Pa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ca="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ba="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ka="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Da="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Na="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",La="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ma="\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",ja="\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",Ha="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ua="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Va="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",qa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ka="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ga="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qa="\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",Za="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ya="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",el="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tl="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",nl="please select control",rl="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",il="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ol="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ul="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",al="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ll="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",cl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",sl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",fl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",yl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",dl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",pl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vl="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",hl="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",bl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_l="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ml="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",gl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",El={isNotNumber:ya,isNotString:da,isNotObject:pa,isNotArray:va,isNotBoolean:ha,runtimeRequired:ba,pleaseEnterCaption:_a,pleaseEnterCaptionTip:ma,pleaseEnterPlaceholder:ga,pleaseEnterFieldCode:Ea,pleaseEnterForm:Ia,pleaseEnterList:Oa,pleaseEnterProcess:wa,pleaseEnterLabel:Aa,pleaseEnterValue:Sa,bizKeyNotBindFiled:Ra,pleaseEnterNumberRange:Pa,pleaseEnterAValueGreaterThanMin:Ca,pleaseEnterAValueLessThanMax:Ba,numberRangeSetError:$a,stringRangeError:ka,attachmentMaxSize:Ta,pleaseEnterTotalScoreSetting:Da,theTotalScoreMustNotBeLessThan1:Fa,scoreDefaultValueRange:Na,attachmentLimitError:xa,PleaseReselectTheOptionalQuantity:La,TheMaximumLengthIsGreaterThanTheMinimumLength:Ma,TheMinimumLengthIsGreaterThanTheMaximumLength:ja,PleaseSelectTheCorrectOptionSettings:Ha,optionIdIsRepeat:Ua,optionIsRequired:Va,pleaseEnterDataCode:qa,pleaseEnterValueFieldCode:za,pleaseEnterSvcCode:Wa,pleaseBindAtLeastOneDisplayValue:Ka,pleaseSelectProvince:Ga,pleaseSelectCity:Xa,pleaseSelectDistrict:Qa,limitRowsCannotBeLessThan0:Ja,TheNumberOfRowsCannotBeLessThanMinRows:Za,pleaseEnterColumnWidth:Ya,pleaseSetTheLogicalRelationshipOfAllRuleConditions:el,pleaseCompleteAllRulesAndConditions:tl,pleaseSelectControl:nl,pleaseSelectDashboard:rl,theViewNameCannotBeEmpty:il,pleaseSelectOcrType:ol,pleaseSelectAtLeastOneFieldToFillIn:ul,pleaseChooseAtLeastOne:al,pleaseEnterButtonContent:ll,pleaseEnterDataCodeInDataSetting:cl,pleaseEnterValueFieldCodeInDataSetting:sl,pleaseEnterSvcCodeInDataSetting:fl,pleaseBindAtLeastOneDisplayValueInDataSetting:yl,rootNodeIsRequiredInDataSetting:dl,pleaseEnterMaxHeight:pl,pleaseEnter:vl,pleaseEnterWatermark:hl,pleaseEnterFileName:bl,pleaseUploadAtLeastOnePrintTemplate:_l,pleaseAssignBusiness:ml,pleaseAssignExternal:gl},Il={zhCN:tu,enUS:fa,jaJP:El},Zn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Zn||(Zn={}));var Yn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Yn||(Yn={}));var Ol="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 er;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(er||(er={}));var p;(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"})(p||(p={}));var y;(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"})(y||(y={}));var $;$={},D($,y.ARRAY,p.ARRAY_COLUMN),D($,y.AUTO_NUMBER,p.AUTO_NUMBER_COLUMN),D($,y.DECIMAL,p.DECIMAL_COLUMN),D($,y.DEPARTMENTS,p.DEPARTMENT_COLUMN),D($,y.FILE,p.FILE_COLUMN),D($,y.IMAGE,p.IMAGE_COLUMN),D($,y.ADDRESS,p.LOCATION_COLUMN),D($,y.EMPLOYEES,p.EMPLOYEE_COLUMN),D($,y.TEXT,p.TEXT_COLUMN),D($,y.TIMESCOPE,p.TIMESCOPE_COLUMN),D($,y.TIMESTAMP,p.TIMESTAMP_COLUMN),D($,y.VARCHAR,p.VARCHAR_COLUMN),D($,y.RELATION,p.VARCHAR_COLUMN);var tr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(tr||(tr={}));var nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",wl=nr+"0123456789";function _e(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?nr:wl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function mt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Al(e){if(Array.isArray(e))return mt(e)}function Sl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rl(){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 Rl()?me=Reflect.construct:me=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;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 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&&ae(e,t)}function Pl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Cl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bl(){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 $l(e,t){return t&&(kl(t)==="object"||typeof t=="function")?t:Sl(e)}function ae(e,t){return ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ae(e,t)}function or(e){return Al(e)||Cl(e)||Tl(e)||Bl()}var kl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tl(e,t){if(!!e){if(typeof e=="string")return mt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mt(e,t)}}function gt(e){var t=typeof Map=="function"?new Map:void 0;return gt=function(n){if(n===null||!Pl(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)},gt(e)}function Dl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dl();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 $l(this,i)}}var Et=console;function Fl(){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=Et).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(or(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=Et).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(or(i)))}function Nl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var It=function(e){ir(r,e);var t=ur(r);function r(n){rr(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?Nl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(gt(Error)),xl=function(e){ir(r,e);var t=ur(r);function r(n){rr(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(It);function ar(e){throw new It(e)}function lr(e){throw new xl(e)}function Ll(e){Et.error(new It(e))}var Ml=Object.prototype.toString;function cr(e,t){return Ml.call(e)==="[object "+t+"]"}function jl(e){return cr(e,"String")}function Hl(e){return cr(e,"Promise")}var Ul=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();Hl(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,c){if(i!==void 0){var s=i[o];if(!(u===c.length-1&&!jl(s)))return s}},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 Vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var g=function(){function e(){Vl(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]:Ol;return new Ul({locale:r,messages:Il})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();g.$i18n=g.resetI18n();function ql(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,u){return"."+u}).split("."),i=!1;return n.reduce(function(o,u,c,s){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,u)){Fl("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 c===s.length-1&&!Object.is(a[u],r)&&(a[u]=r,i=!0),a[u]}},e),i}var zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ot={exports:{}};(function(e){(function(t){var r=function(d,b,P){if(!a(b)||v(b)||h(b)||m(b)||s(b))return b;var O,S=0,N=0;if(f(b))for(O=[],N=b.length;S<N;S++)O.push(r(d,b[S],P));else{O={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&(O[d(R,P)]=r(d,b[R],P))}return O},n=function(d,b){b=b||{};var P=b.separator||"_",O=b.split||/(?=[A-Z])/;return d.split(O).join(P)},i=function(d){return I(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var b=i(d);return b.substr(0,1).toUpperCase()+b.substr(1)},u=function(d,b){return n(d,b).toLowerCase()},c=Object.prototype.toString,s=function(d){return typeof d=="function"},a=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},v=function(d){return c.call(d)=="[object Date]"},h=function(d){return c.call(d)=="[object RegExp]"},m=function(d){return c.call(d)=="[object Boolean]"},I=function(d){return d=d-0,d===d},_=function(d,b){var P=b&&"process"in b?b.process:b;return typeof P!="function"?d:function(O,S){return P(O,d,S)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(d,b){return r(_(i,b),d)},decamelizeKeys:function(d,b){return r(_(u,b),d,b)},pascalizeKeys:function(d,b){return r(_(o,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(zl)})(Ot);function z(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function k(e){return sr(e)&&"zh"in e}function sr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Wl(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function Kl(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function x(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=x(n.children,t)),t(i)})),r}function Gl(e){return Ot.exports.camelizeKeys(e)}function Q(e){return Ot.exports.decamelizeKeys(e)}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 Xl(e){if(Array.isArray(e))return wt(e)}function fr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Ql(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){fr(o,n,i,u,c,"next",s)}function c(s){fr(o,n,i,u,c,"throw",s)}u(void 0)})}}function Jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yl(){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 At(e){return Xl(e)||Zl(e)||ec(e)||Yl()}function ec(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)}}var tc=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},nc=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 c=this;return Ql(function(){var s,a,f,v,h,m,I,_,E,d,b,P;return tc(this,function(O){switch(O.label){case 0:if(s=c._events.get(n),a=[],!s)return[3,10];f=s.slice(),v=!0,h=!1,m=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),I=f[Symbol.iterator](),O.label=2;case 2:if(v=(_=I.next()).done)return[3,7];if(E=_.value,!s.includes(E))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),c.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(At(o))),[4,E.apply(null,At(o))];case 4:return d=O.sent(),c.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(At(o),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return b=O.sent(),Ll(String(b)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=O.sent(),h=!0,m=P,[3,10];case 9:try{!v&&I.return!=null&&I.return()}finally{if(h)throw m}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}(),rc=[];new Set(rc.map(function(e){return e.Designer.controlType}));function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&St(e,t)}function pr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ic(e,t){return t&&(oc(t)==="object"||typeof t=="function")?t:yr(e)}function St(e,t){return St=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},St(e,t)}var oc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vr(e){var t=uc();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 ic(this,i)}}var Ie=function e(t){B(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:""},hr=function e(t){B(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:""},ac=function e(t){B(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:y.VARCHAR},lc=function(e){dr(r,e);var t=vr(r);function r(n){B(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 c;i.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var s;return i.filters=(s=n==null?void 0:n.filters)!==null&&s!==void 0?s:[],i}return r}(hr),cc=function e(t){B(this,e);var r,n;this.type="sublist-page",this.formBind=new hr(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 ac(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 lc(u)}))!==null&&o!==void 0?o:[]},sc=function e(t){B(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},fc=function e(t){B(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:[]},yc=function e(t){var r=this;B(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_e();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(c){if(c.children!==void 0){var s,a=new e(c);(s=r.children)===null||s===void 0||s.push(a)}else{var f,v=new br(c);(f=r.children)===null||f===void 0||f.push(v)}}))},br=function e(t){B(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_e();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 sc(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new fc(t==null?void 0:t.rightVariableBo)},dc=function e(t){B(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:""},pc=function e(t){B(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},vc=function e(t){B(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 _r(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 yc(o):new br(o)}))!==null&&r!==void 0?r:[],pr(this,le)||pr(this,bc)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(o){return new vc(o)}))!==null&&i!==void 0?i:[]}}var le=function e(t){var r=this;B(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(s){var a;(a=r.displayBoList)===null||a===void 0||a.push(new pc(s))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",_r.call(this,t)},hc=function e(t){B(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 dc(u)}))!==null&&o!==void 0?o:[]},bc=function(e){dr(r,e);var t=vr(r);function r(n){B(this,r);var i;return i=t.call(this,n),_r.call(yr(i),n),i}return r}(hc),_c=function e(t){B(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:""},mr;(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"})(mr||(mr={}));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 ce=function e(t){B(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 c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},mc=function e(t){B(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 gc(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 Ec(){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 Oe(e,t,r){return Ec()?Oe=Reflect.construct:Oe=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&fe(a,u.prototype),a},Oe.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(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&&fe(e,t)}function Oc(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wc(e,t){return t&&(Ac(t)==="object"||typeof t=="function")?t:gc(e)}function fe(e,t){return fe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fe(e,t)}var Ac=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||!Oc(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 Oe(n,arguments,se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),fe(i,n)},Ct(e)}function Sc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rc(e){var t=Sc();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 wc(this,i)}}var ye=function e(t){Pt(this,e),this.isHide={type:"boolean"}},we=function(e){Ic(r,e);var t=Rc(r);function r(n){return Pt(this,r),t.call(this)}return r}(Ct(Array)),L=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 mc(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};L.Rules=ye,L.RuntimeRules=we;function M(){return M=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},M.apply(this,arguments)}function Pc(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 Ae(e,t){return Ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ae(e,t)}function Cc(){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 Cc()?Se=Reflect.construct:Se=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&Ae(a,u.prototype),a},Se.apply(null,arguments)}function Bc(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $t(e){var t=typeof Map=="function"?new Map:void 0;return $t=function(n){if(n===null||!Bc(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}}),Ae(i,n)},$t(e)}var $c=/%[sdj%]/g,gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(gr=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 F(){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($c,function(c){if(c==="%%")return"%";if(n>=o)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(s){return"[Circular]"}break;default:return c}});return u}return i}function kc(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||kc(t)&&typeof e=="string"&&!e)}function Tc(e,t,r){var n=[],i=0,o=e.length;function u(c){n.push.apply(n,c),i++,i===o&&r(n)}e.forEach(function(c){t(c,u)})}function Er(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<i?t(e[c],o):r([])}o([])}function Dc(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Ir=function(e){Pc(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}($t(Error));function Fc(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var m=function(E){return n(E),E.length?h(new Ir(E,kt(E))):v()},I=Dc(e);Er(I,r,m)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),c=u.length,s=0,a=[],f=new Promise(function(v,h){var m=function(_){if(a.push.apply(a,_),s++,s===c)return n(a),a.length?h(new Ir(a,kt(a))):v()};u.length||(n(a),v()),u.forEach(function(I){var _=e[I];o.indexOf(I)!==-1?Er(_,r,m):Tc(_,r,m)})});return f.catch(function(v){return v}),f}function Or(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 wr(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]=M(M({},e[r]),n):e[r]=n}}return e}function Ar(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||C(t,o||e.type))&&n.push(F(i.messages.required,e.fullField))}function Nc(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(F(i.messages.whitespace,e.fullField))}var Tt={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(Tt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Tt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Tt.hex)}};function xc(e,t,r,n,i){if(e.required&&t===void 0){Ar(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(F(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(F(i.messages.types[u],e.fullField,e.type))}function Lc(e,t,r,n,i){var o=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,v=typeof t=="number",h=typeof t=="string",m=Array.isArray(t);if(v?f="number":h?f="string":m&&(f="array"),!f)return!1;m&&(a=t.length),h&&(a=t.replace(s,"_").length),o?a!==e.len&&n.push(F(i.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(F(i.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(F(i.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(F(i.messages[f].range,e.fullField,e.min,e.max))}var J="enum";function Mc(e,t,r,n,i){e[J]=Array.isArray(e[J])?e[J]:[],e[J].indexOf(t)===-1&&n.push(F(i.messages[J],e.fullField,e[J].join(", ")))}function jc(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(F(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(F(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var w={required:Ar,whitespace:Nc,type:xc,range:Lc,enum:Mc,pattern:jc};function Hc(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();w.required(e,t,n,o,i,"string"),C(t,"string")||(w.type(e,t,n,o,i),w.range(e,t,n,o,i),w.pattern(e,t,n,o,i),e.whitespace===!0&&w.whitespace(e,t,n,o,i))}r(o)}function Uc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function Vc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),C(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function qc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function zc(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();w.required(e,t,n,o,i),C(t)||w.type(e,t,n,o,i)}r(o)}function Wc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Kc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Gc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();w.required(e,t,n,o,i,"array"),t!=null&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Xc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}var Qc="enum";function Jc(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();w.required(e,t,n,o,i),t!==void 0&&w[Qc](e,t,n,o,i)}r(o)}function Zc(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();w.required(e,t,n,o,i),C(t,"string")||w.pattern(e,t,n,o,i)}r(o)}function Yc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"date")&&!e.required)return r();if(w.required(e,t,n,o,i),!C(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),w.type(e,c,n,o,i),c&&w.range(e,c.getTime(),n,o,i)}}r(o)}function es(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;w.required(e,t,n,o,i,u),r(o)}function Dt(e,t,r,n,i){var o=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(C(t,o)&&!e.required)return r();w.required(e,t,n,u,i,o),C(t,o)||w.type(e,t,n,u,i)}r(u)}function ts(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();w.required(e,t,n,o,i)}r(o)}var pe={string:Hc,method:Uc,number:Vc,boolean:qc,regexp:zc,integer:Wc,float:Kc,array:Gc,object:Xc,enum:Jc,pattern:Zc,date:Yc,url:Dt,hex:Dt,email:Dt,required:es,any:ts};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=wr(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,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(_){var E,d=[],b={};function P(O){if(Array.isArray(O)){var S;d=(S=d).concat.apply(S,O)}else d.push(O)}for(E=0;E<_.length;E++)P(_[E]);d.length?b=kt(d):(d=null,b=null),c(d,b)}if(u.messages){var a=this.messages();a===Nt&&(a=Ft()),wr(a,u.messages),u.messages=a}else u.messages=this.messages();var f,v,h={},m=u.keys||Object.keys(this.rules);m.forEach(function(_){f=i.rules[_],v=o[_],f.forEach(function(E){var d=E;typeof d.transform=="function"&&(o===t&&(o=M({},o)),v=o[_]=d.transform(v)),typeof d=="function"?d={validator:d}:d=M({},d),d.validator=i.getValidationMethod(d),d.field=_,d.fullField=d.fullField||_,d.type=i.getType(d),d.validator&&(h[_]=h[_]||[],h[_].push({rule:d,value:v,source:o,field:_}))})});var I={};return Fc(h,u,function(_,E){var d=_.rule,b=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");b=b&&(d.required||!d.required&&_.value),d.field=_.field;function P(N,R){return M(M({},R),{},{fullField:d.fullField+"."+N})}function O(N){N===void 0&&(N=[]);var R=N;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&j.warning("async-validator:",R),R.length&&d.message!==void 0&&(R=[].concat(d.message)),R=R.map(Or(d)),u.first&&R.length)return I[d.field]=1,E(R);if(!b)E(R);else{if(d.required&&!_.value)return d.message!==void 0?R=[].concat(d.message).map(Or(d)):u.error&&(R=[u.error(d,F(u.messages.required,d.field))]),E(R);var A={};if(d.defaultField)for(var Hi in _.value)_.value.hasOwnProperty(Hi)&&(A[Hi]=d.defaultField);A=M(M({},A),_.rule.fields);for(var re in A)if(A.hasOwnProperty(re)){var zh=Array.isArray(A[re])?A[re]:[A[re]];A[re]=zh.map(P.bind(null,re))}var Ui=new j(A);Ui.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),Ui.validate(_.value,_.rule.options||u,function(Jn){var ie=[];R&&R.length&&ie.push.apply(ie,R),Jn&&Jn.length&&ie.push.apply(ie,Jn),E(ie.length?ie:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,_.value,O,_.source,u):d.validator&&(S=d.validator(d,_.value,O,_.source,u),S===!0?O():S===!1?O(d.message||d.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(N){return O(N)})},function(_){s(_)})},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(F("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=gr,j.messages=Nt,j.validators=pe;var ns={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 rs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new j(e);return r.messages(Object.assign(ns,t)),r}var is=new nc;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 os(e){if(Array.isArray(e))return e}function us(e){if(Array.isArray(e))return xt(e)}function Sr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Rr(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Sr(o,n,i,u,c,"next",s)}function c(s){Sr(o,n,i,u,c,"throw",s)}u(void 0)})}}function as(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ls(e,t,r){return t&&Pr(e.prototype,t),r&&Pr(e,r),e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Br(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ss(){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 fs(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){cs(e,i,r[i])})}return e}function ys(e){return os(e)||Br(e)||kr(e)||ss()}function Lt(e){return us(e)||Br(e)||kr(e)||fs()}function kr(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)}}var Tr=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},T=function(){function t(n){var i=this;as(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Fr,this.removeSetting=Dr,this._callControlHooks("preInstance",n);var o=Cr(this,t)?this.constructor:void 0,u=o.controlName,c=o.controlIcon,s=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,m=o.setting;u&&c&&s||lr("The ".concat(h," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:_e(10),this.name=u,this.icon=c;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:s,this.props=new L(n==null?void 0:n.props,(Cr(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(m);var d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d: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 c,s=ys(o),a=s[0],f=s.slice(1);return(c=is).emit.apply(c,[a,this].concat(Lt(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),ql(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return Rr(function(){var o,u,c;return Tr(this,function(s){switch(s.label){case 0:return o=$r({},i.rules),[4,i._callControlHooks("preValidate",o)];case 1:return u=s.sent(),c=u[u.length-1],[2,c===!1?void 0:c]}})})()},r.validate=function(i,o){var u=this;return Rr(function(){var c,s,a,f;return Tr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:c=v.sent(),s=c!==void 0?c:$r({},u.rules),Array.isArray(o)&&o.forEach(function(h){s.hasOwnProperty(h)&&delete s[h]}),a=rs(s,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,c=this.type,s=this.props,a=s.dataBind,f=s.datasourceBind,v=s.optionConfig,h=s.caption,m=s.required,I=s.maxLength,_=s.options,E=s.encrypted,d=s.encryptedMode;if(!(!o&&!a&&!f)){var b={parentId:i,fieldType:o,controlId:u,caption:h,type:c,props:{}};switch(a&&(b.dataBind=a),v){case"datasource":case void 0:f&&(b.datasourceBind=f);break;case"custom":b.props.options=_;break}return m!==void 0&&(b.required=m),I!==void 0&&(b.maxLength=I),E!==void 0&&(b.encrypted=E),d!==void 0&&(b.encryptedMode=d),b}},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,Lt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},ls(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();T.controlName="\u63A7\u4EF6",T.controlIcon="icon",T.controlType="control",T.controlEventKeys=[],T.controlCustomEvents=[],T.setting=[],T.__is_control__=!0,T.removeSettingItem=Dr,T.updateSettingItem=Fr;function Dr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i=typeof n!="string",o=t.setting.findIndex(function(s){return s.key===(i?n.key:n)});if(o!==-1){var u,c;i?t.setting[o].showItems=(u=t.setting[o].showItems)===null||u===void 0?void 0:u.filter(function(s){return!n.hideItems.includes(s)}):t.setting.splice(o,1),i&&!(!((c=t.setting[o].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(o,1)}})}function Fr(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,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")o.showItems=t.showItems;else{var s;(s=o.showItems).push.apply(s,Lt(t.showItems))}}}})}function ds(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ps(e,t,r){return t&&Nr(e.prototype,t),r&&Nr(e,r),e}function vs(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Z=function(){function t(r){ds(this,t),this.customEvents=[],this.parent=null;var n=vs(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,c=n.controlCustomEvents;i||lr("The ".concat(u," controlType is not define"));var s;this.id=(s=r==null?void 0:r.id)!==null&&s!==void 0?s:_e(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new L(r==null?void 0:r.props),this.customEvents=c;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 ps(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}();Z.controlType="control",Z.__is_control__=!0,Z.controlCustomEvents=[];function hs(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:g.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:g.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:g.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(g.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(c){return c.value}),u=Kl(o);o.length!==u.length?i(g.getMessage("optionIdIsRepeat")):i()},message:g.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:g.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(g.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:g.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:g.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:g.getMessage("isNotBoolean")}}}}]}}])}function bs(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 _s(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ms(e,t){return t&&(gs(t)==="object"||typeof t=="function")?t:bs(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ht(e,t)}var gs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Es(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Es();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 ms(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:g.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:g.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")}};if(_s(n.dataBind,Ie))i.dataBind={type:"object",required:!0,fields:z(o),message:g.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:g.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:z(o),message:g.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(ye),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:g.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(we),Y=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 c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var s;i.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";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 m;i.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",i.dataBind=new Ie(n==null?void 0:n.dataBind);var I;return i.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:"",i}return r}(L);Y.Rules=Vt,Y.RuntimeRules=qt;function Is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Os(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(e)}function ws(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zt(e,t)}function As(e,t){return t&&(Ss(t)==="object"||typeof t=="function")?t:Is(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zt(e,t)}var Ss=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 Ps(e){var t=Rs();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 As(this,i)}}var Wt=function(e){ws(r,e);var t=Ps(r);function r(n){Os(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Y(n==null?void 0:n.props),i}return r}(T);Wt.controlEventKeys=["on_change","on_focus","on_blur"];function Cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bs(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 $s(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ks(e,t){return t&&(Ts(t)==="object"||typeof t=="function")?t:Cs(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var Ts=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ds(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fs(e){var t=Ds();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 ks(this,i)}}var Ns=function(e){$s(r,e);var t=Fs(r);function r(n){Bs(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Y(n==null?void 0:n.props),i}return r}(Z);function xs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ls(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function Ms(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gt(e,t)}function js(e,t){return t&&(Hs(t)==="object"||typeof t=="function")?t:xs(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gt(e,t)}var Hs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Us(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vs(e){var t=Us();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 js(this,i)}}var H=function(e){Ms(r,e);var t=Vs(r);function r(n){return Ls(this,r),t.call(this,n)}return r}(L);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 qs(e){if(Array.isArray(e))return Xt(e)}function zs(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ws(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xr(e){return qs(e)||zs(e)||Ks(e)||Ws()}function Ks(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 Gs(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Lr(e,t){e.parent=t,Gs(e,"parent")}function Xs(e,t){e.forEach(function(r){Lr(r,t)})}var Mr=Symbol("targetKey");function jr(e){var t;return(t=e[Mr])!==null&&t!==void 0?t:e}function Hr(e,t){return Xs(e,t),new Proxy(e,{get:function(n,i){for(var o=arguments.length,u=new Array(o>2?o-2:0),c=2;c<o;c++)u[c-2]=arguments[c];var s;return i===Mr?n:(s=Reflect).get.apply(s,[n,i].concat(xr(u)))},set:function(n,i,o){for(var u=arguments.length,c=new Array(u>3?u-3:0),s=3;s<u;s++)c[s-3]=arguments[s];var a;if(Wl(e)&&i==="length"&&o===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,o].concat(xr(c)));return sr(o)&&Lr(o,t),f}})}function Qt(e,t,r,n){var i=n!=null?n:e,o=Hr(jr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(c){o=Hr(jr(c),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 Qs(e){if(Array.isArray(e))return Jt(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 c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Js(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Vr(o,n,i,u,c,"next",s)}function c(s){Vr(o,n,i,u,c,"throw",s)}u(void 0)})}}function Zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ys(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ee=Reflect.get:ee=function(i,o,u){var c=cf(i,o);if(!!c){var s=Object.getOwnPropertyDescriptor(c,o);return s.get?s.get.call(u):s.value}},ee(e,t,r||e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U(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&&Zt(e,t)}function tf(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rf(){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 of(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){Ys(e,i,r[i])})}return e}function uf(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 af(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lf(e,t){return t&&(sf(t)==="object"||typeof t=="function")?t:Ur(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zt(e,t)}function cf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=U(e),e!==null););return e}function qr(e){return Qs(e)||nf(e)||ff(e)||rf()}var sf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ff(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 yf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function df(e){var t=yf();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 lf(this,i)}}var pf=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},vf=1e4,W=function(t){ef(n,t);var r=df(n);function n(o){Zs(this,n);var u;u=r.call(this,o),u.controlType="layout";var c=tf(this,n)?this.constructor:void 0,s=c.excludes,a=c.childrenMaxLength;return u.props=new H(o==null?void 0:o.props),Qt(Ur(u),"children",o==null?void 0:o.children),u.excludes=z(s),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 c=this.judgeExcludesChildren(u);return c&&this.childrenMaxLength>this.children.length},i.validate=function(u,c){var s=this,a=this,f=function(){return ee(U(n.prototype),"validate",s)};return Js(function(){return pf(this,function(v){switch(v.label){case 0:return[4,f().call(a,u,c)];case 1:return v.sent(),[4,Promise.all(a.children.map(function(h){return h.validate(u,c)}))];case 2:return v.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=ee(U(n.prototype),"toDataBindModel",this).call(this),s=c?[c]:[];return this.children.reduce(function(a,f){var v=f.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(m){return!!m});return qr(a).concat(qr(h))}return v&&a.push(v),a},s)},i.toSchema=function(){var u=ee(U(n.prototype),"toSchema",this).call(this),c=this.children.map(function(s){var a=s.toSchema();return a});return af(of({},u),{children:c})},n}(T);W.excludes=!1,W.childrenMaxLength=vf;function zr(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 bf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function _f(e,t){return t&&(mf(t)==="object"||typeof t=="function")?t:zr(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ef(e){var t=gf();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 _f(this,i)}}var ve=function(e){bf(r,e);var t=Ef(r);function r(n){hf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new H(n==null?void 0:n.props),Qt(zr(i),"children",n==null?void 0:n.children),i}return r}(Z);function Wr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function If(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(e)}function Of(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function wf(e,t){return t&&(Af(t)==="object"||typeof t=="function")?t:Wr(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var Af=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 Rf(e){var t=Sf();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 wf(this,i)}}var Pf=function(e){Of(r,e);var t=Rf(r);function r(n,i){If(this,r);var o;return o=t.call(this,i),Qt(Wr(o),"headers",i==null?void 0:i.headers,n),o}return r}(L);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 Cf(e){if(Array.isArray(e))return tn(e)}function Kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Bf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Gr(o,n,i,u,c,"next",s)}function c(s){Gr(o,n,i,u,c,"throw",s)}u(void 0)})}}function $f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?te=Reflect.get:te=function(i,o,u){var c=Lf(i,o);if(!!c){var s=Object.getOwnPropertyDescriptor(c,o);return s.get?s.get.call(u):s.value}},te(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 Df(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ff(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){kf(e,i,r[i])})}return e}function Nf(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 Qr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function xf(e,t){return t&&(Mf(t)==="object"||typeof t=="function")?t:Kr(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nn(e,t)}function Lf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Jr(e){return Cf(e)||Df(e)||jf(e)||Ff()}var Mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jf(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 Hf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uf(e){var t=Hf();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 xf(this,i)}}var Vf=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},qf=function(e){Tf(r,e);var t=Uf(r);function r(i){$f(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Pf(Kr(o),i==null?void 0:i.props),o}var n=r.prototype;return n.validate=function(o,u){var c=this,s=this,a=function(){return te(V(r.prototype),"validate",c)};return Bf(function(){return Vf(this,function(f){switch(f.label){case 0:return[4,a().call(s,o)];case 1:return f.sent(),[4,Promise.all(s.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=te(V(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],c=this.id;return this.props.headers.reduce(function(s,a){var f=a.toDataBindModel(c);if(Array.isArray(f)){var v=f.filter(function(h){return!!h});return Jr(s).concat(Jr(v))}return f&&s.push(f),s},u)},n.toSchema=function(){var o=te(V(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(c){return c.toSchema()});return Qr(Xr({},o),{props:Qr(Xr({},this.props),{headers:u})})},r}(T);qf.controlFieldType=y.LIST;function zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zr(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 Yr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wf(e,t){return t&&(Kf(t)==="object"||typeof t=="function")?t:zf(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},rn(e,t)}var Kf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ei(e){var t=Gf();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 Wf(this,i)}}var Xf=function(e){Yr(r,e);var t=ei(r);function r(n){Zr(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(ye),Qf=function(e){Yr(r,e);var t=ei(r);function r(n){Zr(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 c;i.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",i.dataBind=new Ie(n==null?void 0:n.dataBind);var s;return i.sort=(s=n==null?void 0:n.sort)!==null&&s!==void 0?s:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i}return r}(L);Qf.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 Zf(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 Yf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}function ey(e,t){return t&&(ty(t)==="object"||typeof t=="function")?t:Jf(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}var ty=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ny(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ry(e){var t=ny();return function(){var n=De(e),i;if(t){var o=De(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ey(this,i)}}var iy=function(e){Yf(r,e);var t=ry(r);function r(n){Zf(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 c;i.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var s;i.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"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}(L);function oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(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 ay(e,t,r){return t&&ti(e.prototype,t),r&&ti(e,r),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function ly(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function cy(e,t){return t&&(sy(t)==="object"||typeof t=="function")?t:oy(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var sy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yy(e){var t=fy();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 cy(this,i)}}var ni=function(e){ly(r,e);var t=yy(r);function r(n){uy(this,r);var i;return i=t.call(this,n),i.props=new iy(n==null?void 0:n.props),i}return ay(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(T);ni.controlEventKeys=["on_click"],ni.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 ri;(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"})(ri||(ri={}));var ii;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ii||(ii={}));var oi;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(oi||(oi={}));var ui;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(ui||(ui={}));var ai;(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"})(ai||(ai={}));function li(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ci;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ci||(ci={}));var si;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(si||(si={}));var fi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(fi||(fi={}));var yi;(function(e){e.ALL="all",e.ASSIGN="assign"})(yi||(yi={}));var di;(function(e){e.ALL="all",e.ADMIN="admin"})(di||(di={})),l.IS_HIDE,y.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;function dy(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 Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(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&&an(e,t)}function hy(e,t){return t&&(by(t)==="object"||typeof t=="function")?t:dy(e)}function an(e,t){return an=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},an(e,t)}var by=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 my(e){var t=_y();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 hy(this,i)}}var ln=function(e){vy(r,e);var t=my(r);function r(n){py(this,r);var i;i=t.call(this,n);var o;i.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE",i.code=n==null?void 0:n.code;var u;i.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;i.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",i.icon=n==null?void 0:n.icon,i.formKey=n==null?void 0:n.formKey,i.openType=n==null?void 0:n.openType,i.needConfirm=n==null?void 0:n.needConfirm,i.confirmMessage=n==null?void 0:n.confirmMessage,i.options=n==null?void 0:n.options;var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var a;return i.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,i}return r}(L);function gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Iy(e,t,r){return t&&pi(e.prototype,t),r&&pi(e,r),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(e)}function Oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cn(e,t)}function wy(e,t){return t&&(Ay(t)==="object"||typeof t=="function")?t:gy(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},cn(e,t)}var Ay=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=xe(e),i;if(t){var o=xe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return wy(this,i)}}var sn=function(e){Oy(r,e);var t=Ry(r);function r(n){Ey(this,r);var i;return i=t.call(this,n),i.props=new ln(n==null?void 0:n.props),i}return Iy(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(T);sn.controlEventKeys=["on_click"],sn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.IS_HIDE]},{key:"super-setting",visible:!0}];function 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 Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(e)}function $y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}function ky(e,t){return t&&(Ty(t)==="object"||typeof t=="function")?t:Py(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fn(e,t)}var Ty=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dy();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 ky(this,i)}}var Ny=function(e){$y(r,e);var t=Fy(r);function r(n){Cy(this,r);var i;return i=t.call(this,n),i.props=new ln(n==null?void 0:n.props),i}return By(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Z),yn={Designer:sn,Runtime:Ny,Property:ln};function xy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ly(e,t){return t&&(My(t)==="object"||typeof t=="function")?t:xy(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var My=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 hn(e){var t=jy();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 Ly(this,i)}}var Hy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=li(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Vt),Uy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i.push({type:"string",message:g.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:g.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(qt),bn=function(e){pn(r,e);var t=hn(r);function r(n){dn(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 _c(n==null?void 0:n.regularRules);var c;i.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var s;i.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:He.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}(Y);bn.Rules=Hy,bn.RuntimeRules=Uy;function Vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zy(e,t,r){return t&&hi(e.prototype,t),r&&hi(e,r),e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(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&&_n(e,t)}function Ky(e,t){return t&&(Gy(t)==="object"||typeof t=="function")?t:Vy(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var Gy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qy(e){var t=Xy();return function(){var n=je(e),i;if(t){var o=je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ky(this,i)}}var He=function(e){Wy(r,e);var t=Qy(r);function r(n){qy(this,r);var i;return i=t.call(this,n),i.props=new bn(n==null?void 0:n.props),i}return zy(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}(Wt);He.controlEventKeys=["on_change","on_input","on_focus","on_blur"],He.controlFieldType=y.VARCHAR,He.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}],y.VARCHAR,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,y.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,y.DECIMAL,y.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TIMESTAMP,y.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TIMESCOPE,y.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TEXT,y.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TEXT,y.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,y.VARCHAR,y.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,y.ARRAY,y.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.EMPLOYEES;function Jy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ue(e)}function gn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zy(e,t){return t&&(Yy(t)==="object"||typeof t=="function")?t:Jy(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var Yy=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 In(e){var t=ed();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 Zy(this,i)}}var td=104857600,nd=1048576e3,rd=function(e){gn(r,e);var t=In(r);function r(n){mn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:nd,message:g.getMessage("attachmentMaxSize")},i}return r}(Vt),id=function(e){gn(r,e);var t=In(r);function r(n){mn(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:g.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(qt),Ve=function(e){gn(r,e);var t=In(r);function r(n){mn(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 c;i.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var s;i.maxLimit=(s=n==null?void 0:n.maxLimit)!==null&&s!==void 0?s: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:td;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:ze.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}(Y);Ve.Rules=rd,Ve.RuntimeRules=id;function od(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 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 ad(e,t,r){return t&&bi(e.prototype,t),r&&bi(e,r),e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cd(e,t){return t&&(sd(t)==="object"||typeof t=="function")?t:od(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},On(e,t)}var sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yd(e){var t=fd();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 cd(this,i)}}var ze=function(e){ld(r,e);var t=yd(r);function r(n){ud(this,r);var i;return i=t.call(this,n),i.props=new Ve(n==null?void 0:n.props),i}return ad(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Wt);ze.controlEventKeys=["on_change"],ze.controlFieldType=y.FILE,ze.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 pd(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 vd(e,t,r){return t&&_i(e.prototype,t),r&&_i(e,r),e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}function bd(e,t){return t&&(_d(t)==="object"||typeof t=="function")?t:dd(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var _d=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 gd(e){var t=md();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 bd(this,i)}}var Ed=function(e){hd(r,e);var t=gd(r);function r(n){pd(this,r);var i;return i=t.call(this,n),i.props=new Ve(n==null?void 0:n.props),i}return vd(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Ns);Ed.controlFieldType=y.FILE,y.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.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,y.MONEY,y.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,y.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.ADDRESS,y.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.DEPARTMENTS,y.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.AUTO_NUMBER,y.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,y.CALC,y.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.DECIMAL_RANGE,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.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,y.ANY,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,y.VARCHAR,y.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,y.ARRAY,y.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.EMPLOYEES,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,y.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,y.FILE,y.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.DEPARTMENTS,p.GRID;function Id(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 Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&An(e,t)}function Ad(e,t){return t&&(Sd(t)==="object"||typeof t=="function")?t:Id(e)}function An(e,t){return An=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},An(e,t)}var Sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pd(e){var t=Rd();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 Ad(this,i)}}var Cd=24,Sn=function(e){wd(r,e);var t=Pd(r);function r(n){Od(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:Cd;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(H);function Bd(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 mi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kd(e,t,r){return t&&mi(e.prototype,t),r&&mi(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function Td(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dd(e,t){return t&&(Fd(t)==="object"||typeof t=="function")?t:Bd(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Fd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xd(e){var t=Nd();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 Dd(this,i)}}var Pn=function(e){Td(r,e);var t=xd(r);function r(n){$d(this,r);var i;return i=t.call(this,n),i.props=new Sn(n==null?void 0:n.props),i}return kd(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);Pn.excludes=[p.COL,p.CARD_GROUP,p.SUBTABLE,p.SUBTABLE_COLUMN,p.DIVIDER],Pn.childrenMaxLength=1;function Ld(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jd(e,t,r){return t&&gi(e.prototype,t),r&&gi(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Ud(e,t){return t&&(Vd(t)==="object"||typeof t=="function")?t:Ld(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var Vd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zd(e){var t=qd();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 Ud(this,i)}}var Wd=function(e){Hd(r,e);var t=zd(r);function r(n){Md(this,r);var i;return i=t.call(this,n),i.props=new Sn(n==null?void 0:n.props),i}return jd(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(ve),Ei={Designer:Pn,Runtime:Wd,Property:Sn};function Kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Xd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)}function Qd(e,t){return t&&(Jd(t)==="object"||typeof t=="function")?t:Kd(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var Jd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yd(e){var t=Zd();return function(){var n=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 $n=function(e){Xd(r,e);var t=Yd(r);function r(n){Gd(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 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 Ii(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function np(e,t,r){return t&&Ii(e.prototype,t),r&&Ii(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(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&&kn(e,t)}function ip(e,t){return t&&(op(t)==="object"||typeof t=="function")?t:ep(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kn(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=Je(e),i;if(t){var o=Je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ip(this,i)}}var Tn=function(e){rp(r,e);var t=ap(r);function r(n){tp(this,r);var i;return i=t.call(this,n),i.props=new $n(n==null?void 0:n.props),i}return np(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);Tn.excludes=[p.ROW],Tn.setting=[{key:"col-setting",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 cp(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 sp(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(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&&Dn(e,t)}function yp(e,t){return t&&(dp(t)==="object"||typeof t=="function")?t:lp(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 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=Ze(e),i;if(t){var o=Ze(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return yp(this,i)}}var hp=function(e){fp(r,e);var t=vp(r);function r(n){cp(this,r);var i;return i=t.call(this,n),i.props=new $n(n==null?void 0:n.props),i}return sp(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(ve);function bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mp(e,t,r){return t&&wi(e.prototype,t),r&&wi(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(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&&Fn(e,t)}function Ep(e,t){return t&&(Ip(t)==="object"||typeof t=="function")?t:bp(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(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 wp(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 Ep(this,i)}}var Ap=4,et=function(e){gp(r,e);var t=wp(r);function r(n){return _p(this,r),t.call(this,n)}return mp(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}(Tn);et.excludes=[p.GRID_ROW],et.setting=[],et.childrenMaxLength=Ap;function Sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rp(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 Pp(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function Cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nn(e,t)}function Bp(e,t){return t&&($p(t)==="object"||typeof t=="function")?t:Sp(e)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nn(e,t)}var $p=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 Tp(e){var t=kp();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 Bp(this,i)}}var Dp=function(e){Cp(r,e);var t=Tp(r);function r(n){return Rp(this,r),t.call(this,n)}return Pp(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(hp);function Fp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(e)}function xp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lp(e,t){return t&&(Mp(t)==="object"||typeof t=="function")?t:Fp(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var Mp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hp(e){var t=jp();return function(){var n=nt(e),i;if(t){var o=nt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Lp(this,i)}}var Up=function(e){xp(r,e);var t=Hp(r);function r(n){return Np(this,r),t.call(this,n)}return r}($n),Vp={Designer:et,Runtime:Dp,Property:Up};function qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(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&&Ln(e,t)}function Kp(e,t){return t&&(Gp(t)==="object"||typeof t=="function")?t:qp(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ln(e,t)}var Gp=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 Qp(e){var t=Xp();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 Kp(this,i)}}H.Rules,l.CAPTION,l.IS_HIDE,p.CARD_GROUP;function Jp(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 it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(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&&Mn(e,t)}function Zp(e,t){return t&&(Yp(t)==="object"||typeof t=="function")?t:Jp(e)}function Mn(e,t){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(e,t)}var Yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pi(e){var t=ev();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 Zp(this,i)}}var tv=function(e){Ri(r,e);var t=Pi(r);function r(n){Si(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},i.width.required=n.widthType==="px",n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(ye),ot=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.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 c;i.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!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);ot.Rules=tv;function nv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(e)}function 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&&jn(e,t)}function ov(e,t){return t&&(uv(t)==="object"||typeof t=="function")?t:nv(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var uv=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 lv(e){var t=av();return function(){var n=ut(e),i;if(t){var o=ut(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ov(this,i)}}var K=function(e){iv(r,e);var t=lv(r);function r(n){rv(this,r);var i;return i=t.call(this,n),i.props=new ot(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=[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.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 cv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function fv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yv(e,t){return t&&(dv(t)==="object"||typeof t=="function")?t:cv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var dv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vv(e){var t=pv();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 yv(this,i)}}var Ci=function(e){fv(r,e);var t=vv(r);function r(n){sv(this,r);var i;return i=t.call(this,n),i.props=new ot(n==null?void 0:n.props),i}return r}(ve);Ci.controlType="subtable-column";var hv={Designer:K,Runtime:Ci,Property:ot};p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,l.CAPTION,p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,l.CAPTION,p.TAB,l.CAPTION,l.IS_HIDE,p.TAB,p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX;function Bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function Vn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bv(e,t){return t&&(_v(t)==="object"||typeof t=="function")?t:Bi(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var _v=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zn(e){var t=mv();return function(){var n=lt(e),i;if(t){var o=lt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return bv(this,i)}}var ct;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ct||(ct={}));var gv=function(e){Vn(r,e);var t=zn(r);function r(n){Un(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(we),Ev=function(e){Vn(r,e);var t=zn(r);function r(n){Un(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ct.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")}),hs.call(Bi(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}(ye),he=function(e){Vn(r,e);var t=zn(r);function r(n){Un(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 c;i.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:ct.CLICK_ROW;var s;i.triggerFieldCode=(s=n==null?void 0:n.triggerFieldCode)!==null&&s!==void 0?s:"",i.sublistPage=new cc(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}return r}(H);he.Rules=Ev,he.RuntimeRules=gv;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 $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 wv(e,t,r){return t&&$i(e.prototype,t),r&&$i(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&&Wn(e,t)}function Sv(e,t){return t&&(Rv(t)==="object"||typeof t=="function")?t:Iv(e)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wn(e,t)}var Rv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cv(e){var t=Pv();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 Sv(this,i)}}var ft=function(e){Av(r,e);var t=Cv(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 wv(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);ft.excludes=[p.ROW],ft.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"],ft.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 Bv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kv(e,t,r){return t&&ki(e.prototype,t),r&&ki(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function Tv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}function Dv(e,t){return t&&(Fv(t)==="object"||typeof t=="function")?t:Bv(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kn(e,t)}var Fv=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 xv(e){var t=Nv();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 Dv(this,i)}}var Lv=function(e){Tv(r,e);var t=xv(r);function r(n){$v(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return kv(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(ve),Mv={Designer:ft,Runtime:Lv,Property:he};function jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ti(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Di(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gn(e,t)}function Hv(e,t){return t&&(Uv(t)==="object"||typeof t=="function")?t:jv(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gn(e,t)}var Uv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fi(e){var t=Vv();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 Hv(this,i)}}var qv=function(e){Di(r,e);var t=Fi(r);function r(n){Ti(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(we),pt=function(e){Di(r,e);var t=Fi(r);function r(n){Ti(this,r);var i;i=t.call(this,n);var o;i.save=new ce((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new ce((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;i.saveAs=new ce((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var s;i.print=new ce((s=n==null?void 0:n.print)!==null&&s!==void 0?s:{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 ce(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);pt.RuntimeRules=qv;function zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kv(e,t,r){return t&&Ni(e.prototype,t),r&&Ni(e,r),e}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function Gv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xn(e,t)}function Xv(e,t){return t&&(Qv(t)==="object"||typeof t=="function")?t:zv(e)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xn(e,t)}var Qv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zv(e){var t=Jv();return function(){var n=vt(e),i;if(t){var o=vt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Xv(this,i)}}var xi=function(e){Gv(r,e);var t=Zv(r);function r(n){Wv(this,r);var i;return i=t.call(this,n),i.props=new pt(n==null?void 0:n.props),i}return Kv(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(W);xi.excludes=[];function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 th(e,t,r){return t&&Li(e.prototype,t),r&&Li(e,r),e}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qn(e,t)}function rh(e,t){return t&&(ih(t)==="object"||typeof t=="function")?t:Yv(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qn(e,t)}var ih=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uh(e){var t=oh();return function(){var n=ht(e),i;if(t){var o=ht(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return rh(this,i)}}var ah=function(e){nh(r,e);var t=uh(r);function r(n){eh(this,r);var i;return i=t.call(this,n),i.props=new pt(n==null?void 0:n.props),i}return th(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(ve),lh={Designer:xi,Runtime:ah,Property:pt};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,l.CAPTION,y.FILE,y.VARCHAR,l.CAPTION,y.VARCHAR,y.TEXT,l.CAPTION,y.TEXT,y.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,y.DECIMAL,y.TIMESCOPE,l.CAPTION,y.TIMESCOPE,y.TIMESTAMP,l.CAPTION,y.TIMESTAMP,y.ARRAY,l.CAPTION,y.ARRAY,y.DEPARTMENTS,l.CAPTION,y.DEPARTMENTS,y.AUTO_NUMBER,l.CAPTION,y.AUTO_NUMBER,y.FILE,l.CAPTION,y.FILE,y.IMAGE,l.CAPTION,y.IMAGE,y.EMPLOYEES,l.CAPTION,y.EMPLOYEES,y.ADDRESS,l.CAPTION,y.ADDRESS,l.CAPTION,y.EMPLOYEES,l.CAPTION,y.EMPLOYEES,l.IS_HIDE;const ch=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Eh(t==null?void 0:t.events),vh(n),hh(n);const i=ph(n),o=bh(i,t);let u=Q(x(o,c=>dh(c,t)));return r?u:u[0]},sh=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],fh=["subtable","grid-table"],yh=["simple-search"];function dh(e,t){var i,o,u,c,s,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":sh.includes(r.type)?r.controlType="base":r.controlType="form",fh.includes(r.type)&&(r.controlType="list"),yh.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(k(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(k(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const 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 m=new hv.Designer;m.props.widthType=v.header_width_config==="1"?"auto":"px",m.props.width=v.header_width===""?200:Number(v.header_width),m.props.caption=k(v.field_name)?v.field_name.zh:v.field_name;const I=m.toSchema();I.id=v.header_id;const _=r.children[0].children[h].children[0];return _&&(I.children=[_]),I}),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=k(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 Ei.Designer;h.props.span=f;const m=h.toSchema();return m.children.push(v),m})}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&&(Mi(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={},m={};f&&(Mi(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),m.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=k(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,m.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(I=>({label:I.text,value:I.value}))),r.props.dataBind=h,r.props.defaultValue=m,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=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};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=k(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"),Ih(r,t==null?void 0:t.control_events),r}function Mi(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 c=u.show_controls.findIndex(a=>a===i),s=u.hide_controls.findIndex(a=>a===i);c>-1&&u.show_controls.splice(c,1,o),s>-1&&u.hide_controls.splice(s,1,o)}),n.forEach(u=>{u.ctrl_id===i&&(u.id=o)})}function ph(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new lh.Designer().toSchema();return n.children=e,[n]}function vh(e){e.forEach(t=>{t.children&&gh(t.children)})}function hh(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],c=(i=(n=r[o])==null?void 0:n.children)==null?void 0:i[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(o,1,c)}})}function bh(e,t){var m,I,_,E,d,b,P,O;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:i}=r,[o,u,c]=i;_h(o),c.props.is_fixed_header=(m=n==null?void 0:n.source_config)==null?void 0:m.is_fixed_header,mh(c,u);const s=(_=(I=n==null?void 0:n.source_config)==null?void 0:I.data_code)!=null?_:t==null?void 0:t.dataCode,a=((d=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?d:s)?`${s}_selectMore`:void 0,f=(P=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?P:[],v=new Mv.Designer;v.props.datasourceBind=new le({dataCode:s,svcCode:a,orders:Gl(f)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(O=n==null?void 0:n.sublist_page)==null||O.sublists.forEach(S=>{S.title=k(S.title)?S.title.zh:S.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,c),[h]}function _h(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(i=(n=t.dateType)==null?void 0:n.replace)==null?void 0:i.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function mh(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var i,o,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(i=r.check)!=null?i:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new 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 gh(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 Eh(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 Ih(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 Oh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>wh(o)));return r?i:i[0]};function wh(e,t){return e.type===p.LIST_VIEW&&e.children.find(n=>n.type===p.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 Ah=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Sh(o)));return r?i:i[0]};function Sh(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.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===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Rh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Ph(o)));return r?i:i[0]};function Ph(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 Ch=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>$h(o)));return r?i:i[0]},Bh=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function $h(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(r=>{if(Bh.includes(r.type))return r;const n=new Vp.Designer,i=new Ei.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const kh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Th(o)));return r?i:i[0]};function Th(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===p.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Dh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Fh(o));return r?i:i[0]};function Fh(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Nh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>xh(o));return r?i:i[0]};function q(e,t){e.field_code&&(e.field_type=t)}function xh(e,t){var n;const r={[p.TITLE]:y.AUTO_NUMBER,[p.ADDRESS]:y.ADDRESS,[p.ATTACHMENT]:y.FILE,[p.AUTO_NUMBER]:y.AUTO_NUMBER,[p.CHECKBOX]:y.ARRAY,[p.DATE_PICKER]:y.TIMESTAMP,[p.DEPARTMENT]:y.DEPARTMENTS,[p.EMPLOYEE]:y.EMPLOYEES,[p.EMPLOYEE2]:y.EMPLOYEES,[p.IMAGE]:y.IMAGE,[p.INPUT]:y.VARCHAR,[p.NUMBER]:y.DECIMAL,[p.RADIO]:y.VARCHAR,[p.RICH_TEXT]:y.TEXT,[p.SCORE]:y.DECIMAL,[p.SELECT]:y.VARCHAR,[p.SELECT_MULTIPLE]:y.ARRAY,[p.SELECT_RELATION]:y.VARCHAR,[p.TEXTAREA]:y.TEXT,[p.TREE]:y.ARRAY,[p.SEARCH_DATE_RANGE]:y.ARRAY,[p.SEARCH_INPUT]:y.VARCHAR,[p.SEARCH_NUMBER_RANGE]:y.ARRAY};return r.hasOwnProperty(e.type)&&q(e.props.data_bind,r[e.type]),e.type===p.AMOUNT&&(q(e.props.data_bind.amount,y.DECIMAL),q(e.props.data_bind.currency,y.VARCHAR)),e.type===p.CALC&&(q(e.props.data_bind.result,y.DECIMAL),q(e.props.data_bind.unit,y.VARCHAR)),e.type===p.DATE_RANGE&&(q(e.props.data_bind.min,y.TIMESTAMP),q(e.props.data_bind.max,y.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&q(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const Lh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Mh(o));return r?i:i[0]};function Mh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===p.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const jh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Hh(o));return r?i:i[0]};function Hh(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,i;[y.VARCHAR,y.TEXT,y.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 Uh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Vh(o));return r?i:i[0]};function Vh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.map(r=>{var n,i,o,u,c,s,a,f,v,h,m,I,_,E,d,b,P,O,S,N,R;if(r.type===p.OPERATION_COLUMN){if(r.children=[],delete r.props.custom,((n=r.props)==null?void 0:n.check)!==void 0){const A=new yn.Designer;A.props.code="view",A.props.command="view",A.props.content=(i=r.props)==null?void 0:i.check.content,A.props.priorityProcess=(o=r.props)==null?void 0:o.check.priority_process,A.props.openType=(u=r.props)==null?void 0:u.check.open_type,A.props.formKey=(c=r.props)==null?void 0:c.check.form_key,(s=r.props)!=null&&s.check.is_show&&r.children.push(A.toSchema()),(a=r.props)==null||delete a.check}if(((f=r.props)==null?void 0:f.edit)!==void 0){const A=new yn.Designer;A.props.code="edit",A.props.command="edit",A.props.content=(v=r.props)==null?void 0:v.edit.content,A.props.priorityProcess=(h=r.props)==null?void 0:h.edit.priority_process,A.props.openType=(m=r.props)==null?void 0:m.edit.open_type,A.props.formKey=(I=r.props)==null?void 0:I.edit.form_key,(_=r.props)!=null&&_.edit.is_show&&r.children.push(A.toSchema()),(E=r.props)==null||delete E.edit}if(((d=r.props)==null?void 0:d.delete)!==void 0){const A=new yn.Designer;A.props.code="delete",A.props.command="delete",A.props.content=(b=r.props)==null?void 0:b.delete.content,A.props.priorityProcess=(P=r.props)==null?void 0:P.delete.priority_process,A.props.openType=(O=r.props)==null?void 0:O.delete.open_type,A.props.formKey=(S=r.props)==null?void 0:S.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(N=r.props)!=null&&N.delete.is_show&&r.children.push(A.toSchema()),(R=r.props)==null||delete R.delete}}}),e}var ji={"v1.0":ch,"v2.0":Oh,"v2.1":Ah,"v2.2":Rh,"v2.3":Ch,"v2.4":kh,"v2.5":Dh,"v2.6":Nh,"v2.7":Lh,"v2.8":jh,"v2.9":Uh,"v2.10":()=>{}};function bt(e){return e.replace(/^v/,"")}function _t(e){return Number(bt(e))}const ne=Object.keys(ji).map(e=>bt(e)).sort((e,t)=>Number(e)-Number(t)),be=ne[ne.length-1];class qh{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,_t(r)>_t(be)?ar(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!ne.includes(bt(r))||!ne.includes(bt(t)))&&ar(`Version Builder: Please give me a valid version number, The valid version is: ${ne.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===this._schemaVersion)return t;const n=this.callDataCleanerKeys.reduce((i,o,u,c)=>{var v;const s=(v=c[u+1])!=null?v:this.toVersion;ge(`Version Builder: current version: ${o}, nextVersion: ${s}`);const a=ji[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 ne.filter(t=>Number(t)>=this._schemaVersion&&Number(t)<this._version)}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return _t(this.toVersion)}get _schemaVersion(){return _t(this.schemaVersion)}get version(){return be}static get version(){return be}}G.VersionBuilder=qh,Object.defineProperty(G,"__esModule",{value:!0})});
1
+ (function(G,oe){typeof exports=="object"&&typeof module!="undefined"?oe(exports):typeof define=="function"&&define.amd?define(["exports"],oe):(G=typeof globalThis!="undefined"?globalThis:G||self,oe(G.modelDrivenUpgrade={}))})(this,function(G){"use strict";var oe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Vi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ki="{caption}\u5FC5\u586B",Gi="\u8BF7\u8F93\u5165\u6807\u9898",Xi="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Qi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ji="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Zi="\u8BF7\u7ED1\u5B9A\u8868\u5355",Yi="\u8BF7\u7ED1\u5B9A\u5217\u8868",eo="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",to="\u8BF7\u8F93\u5165\u663E\u793A\u503C",no="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ro="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",io="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",oo="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",uo="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ao="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",lo="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",co="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",so="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fo="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",yo="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",po="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vo="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ho="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",bo="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",_o="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",mo="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",go="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Eo="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Io="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Oo="\u8BF7\u7ED1\u5B9A\u670D\u52A1",wo="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ao="\u8BF7\u9009\u62E9\u7701",So="\u8BF7\u9009\u62E9\u5E02",Ro="\u8BF7\u9009\u62E9\u533A",Po="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Co="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Bo="\u8BF7\u8F93\u5165\u5217\u5BBD",$o="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ko="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",To="\u8BF7\u9009\u62E9\u63A7\u4EF6",Do="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Fo="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",No="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",xo="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Lo="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Mo="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ho="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Uo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Vo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Wo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ko="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Go="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Xo="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qo="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Jo="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Yo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",tu={isNotNumber:oe,isNotString:Vi,isNotObject:qi,isNotArray:zi,isNotBoolean:Wi,runtimeRequired:Ki,pleaseEnterCaption:Gi,pleaseEnterCaptionTip:Xi,pleaseEnterPlaceholder:Qi,pleaseEnterFieldCode:Ji,pleaseEnterForm:Zi,pleaseEnterList:Yi,pleaseEnterProcess:eo,pleaseEnterLabel:to,pleaseEnterValue:no,bizKeyNotBindFiled:ro,pleaseEnterNumberRange:io,pleaseEnterAValueGreaterThanMin:oo,pleaseEnterAValueLessThanMax:uo,numberRangeSetError:ao,stringRangeError:lo,attachmentMaxSize:co,pleaseEnterTotalScoreSetting:so,theTotalScoreMustNotBeLessThan1:fo,scoreDefaultValueRange:yo,attachmentLimitError:po,PleaseReselectTheOptionalQuantity:vo,TheMaximumLengthIsGreaterThanTheMinimumLength:ho,TheMinimumLengthIsGreaterThanTheMaximumLength:bo,PleaseSelectTheCorrectOptionSettings:_o,optionIdIsRepeat:mo,optionIsRequired:go,pleaseEnterDataCode:Eo,pleaseEnterValueFieldCode:Io,pleaseEnterSvcCode:Oo,pleaseBindAtLeastOneDisplayValue:wo,pleaseSelectProvince:Ao,pleaseSelectCity:So,pleaseSelectDistrict:Ro,limitRowsCannotBeLessThan0:Po,TheNumberOfRowsCannotBeLessThanMinRows:Co,pleaseEnterColumnWidth:Bo,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$o,pleaseCompleteAllRulesAndConditions:ko,pleaseSelectControl:To,pleaseSelectAtLeastOneColumn:Do,pleaseSelectFillBackMode:Fo,pleaseSelectDashboard:No,rootNodeIsRequired:xo,theViewNameCannotBeEmpty:Lo,pleaseSelectOcrType:Mo,pleaseSelectAtLeastOneFieldToFillIn:jo,pleaseChooseAtLeastOne:Ho,pleaseEnterButtonContent:Uo,pleaseEnterDataCodeInDataSetting:Vo,pleaseEnterValueFieldCodeInDataSetting:qo,pleaseEnterSvcCodeInDataSetting:zo,pleaseBindAtLeastOneDisplayValueInDataSetting:Wo,rootNodeIsRequiredInDataSetting:Ko,pleaseEnterMaxHeight:Go,pleaseEnter:Xo,pleaseEnterWatermark:Qo,pleaseEnterFileName:Jo,pleaseUploadAtLeastOnePrintTemplate:Zo,pleaseAssignBusiness:Yo,pleaseAssignExternal:eu},nu="Please enter a number",ru="Please enter a string",iu="Please enter an object",ou="Please enter an array",uu="Please enter a boolean",au="{caption} Required",lu="Please enter the title",cu="Please enter the bubble prompt",su="Please enter the prompt text",fu="Please bind data items",yu="Please bind the form",du="Please bind the list",pu="Please bind the process",vu="Please enter the displayed value",hu="Please enter the stored value",bu="The document number is not bound to the data item",_u="Please enter a value greater than or equal to {min} and less than or equal to {max}",mu="Please enter a value greater than or equal to {min}",gu="Please enter a value less than or equal to {max}",Eu="The value range is set incorrectly",Iu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ou="The attachment size must be between 0MB and 1000MB",wu="Please fill in the total score setting",Au="The total score cannot be less than 1",Su="The default value must be between {min} and {max}",Ru="The number of attachments uploaded must be between {min} and {max}",Pu="Please re-select the optional quantity",Cu="The maximum length of the control must be greater than the minimum length",Bu="The minimum length of the control must be less than the maximum length",$u="Please select the correct option setting",ku="Option ID cannot be repeated",Tu="Please enter at least one option",Du="Please bind the data source",Fu="Please bind the stored value",Nu="Please bind the service",xu="At least one display value must be bound",Lu="Please select a province",Mu="Please select a city",ju="Please select a district",Hu="The minimum number of lines to fill in cannot be less than 0",Uu="The number of rows cannot be less than {min} rows",Vu="Please enter the column width",qu="Please set the logical relationship of all rule conditions",zu="Please complete all rules and conditions",Wu="please select control",Ku="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ju="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ta="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",na="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ra="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ia="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",oa="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ua="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",aa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",la="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ca="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",sa="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",fa={isNotNumber:nu,isNotString:ru,isNotObject:iu,isNotArray:ou,isNotBoolean:uu,runtimeRequired:au,pleaseEnterCaption:lu,pleaseEnterCaptionTip:cu,pleaseEnterPlaceholder:su,pleaseEnterFieldCode:fu,pleaseEnterForm:yu,pleaseEnterList:du,pleaseEnterProcess:pu,pleaseEnterLabel:vu,pleaseEnterValue:hu,bizKeyNotBindFiled:bu,pleaseEnterNumberRange:_u,pleaseEnterAValueGreaterThanMin:mu,pleaseEnterAValueLessThanMax:gu,numberRangeSetError:Eu,stringRangeError:Iu,attachmentMaxSize:Ou,pleaseEnterTotalScoreSetting:wu,theTotalScoreMustNotBeLessThan1:Au,scoreDefaultValueRange:Su,attachmentLimitError:Ru,PleaseReselectTheOptionalQuantity:Pu,TheMaximumLengthIsGreaterThanTheMinimumLength:Cu,TheMinimumLengthIsGreaterThanTheMaximumLength:Bu,PleaseSelectTheCorrectOptionSettings:$u,optionIdIsRepeat:ku,optionIsRequired:Tu,pleaseEnterDataCode:Du,pleaseEnterValueFieldCode:Fu,pleaseEnterSvcCode:Nu,pleaseBindAtLeastOneDisplayValue:xu,pleaseSelectProvince:Lu,pleaseSelectCity:Mu,pleaseSelectDistrict:ju,limitRowsCannotBeLessThan0:Hu,TheNumberOfRowsCannotBeLessThanMinRows:Uu,pleaseEnterColumnWidth:Vu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qu,pleaseCompleteAllRulesAndConditions:zu,pleaseSelectControl:Wu,pleaseSelectDashboard:Ku,theViewNameCannotBeEmpty:Gu,pleaseSelectOcrType:Xu,pleaseSelectAtLeastOneFieldToFillIn:Qu,pleaseChooseAtLeastOne:Ju,pleaseEnterButtonContent:Zu,pleaseEnterDataCodeInDataSetting:Yu,pleaseEnterValueFieldCodeInDataSetting:ea,pleaseEnterSvcCodeInDataSetting:ta,pleaseBindAtLeastOneDisplayValueInDataSetting:na,rootNodeIsRequiredInDataSetting:ra,pleaseEnterMaxHeight:ia,pleaseEnter:oa,pleaseEnterWatermark:ua,pleaseEnterFileName:aa,pleaseUploadAtLeastOnePrintTemplate:la,pleaseAssignBusiness:ca,pleaseAssignExternal:sa},ya="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",da="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",va="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="{caption}\u5FC5\u9808",_a="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ga="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ia="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Aa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ra="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Pa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ca="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ba="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ka="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Da="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Na="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",La="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ma="\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",ja="\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",Ha="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ua="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Va="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",qa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ka="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ga="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qa="\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",Za="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ya="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",el="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tl="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",nl="please select control",rl="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",il="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ol="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ul="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",al="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ll="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",cl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",sl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",fl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",yl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",dl="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",pl="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",vl="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",hl="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",bl="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_l="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ml="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",gl="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",El={isNotNumber:ya,isNotString:da,isNotObject:pa,isNotArray:va,isNotBoolean:ha,runtimeRequired:ba,pleaseEnterCaption:_a,pleaseEnterCaptionTip:ma,pleaseEnterPlaceholder:ga,pleaseEnterFieldCode:Ea,pleaseEnterForm:Ia,pleaseEnterList:Oa,pleaseEnterProcess:wa,pleaseEnterLabel:Aa,pleaseEnterValue:Sa,bizKeyNotBindFiled:Ra,pleaseEnterNumberRange:Pa,pleaseEnterAValueGreaterThanMin:Ca,pleaseEnterAValueLessThanMax:Ba,numberRangeSetError:$a,stringRangeError:ka,attachmentMaxSize:Ta,pleaseEnterTotalScoreSetting:Da,theTotalScoreMustNotBeLessThan1:Fa,scoreDefaultValueRange:Na,attachmentLimitError:xa,PleaseReselectTheOptionalQuantity:La,TheMaximumLengthIsGreaterThanTheMinimumLength:Ma,TheMinimumLengthIsGreaterThanTheMaximumLength:ja,PleaseSelectTheCorrectOptionSettings:Ha,optionIdIsRepeat:Ua,optionIsRequired:Va,pleaseEnterDataCode:qa,pleaseEnterValueFieldCode:za,pleaseEnterSvcCode:Wa,pleaseBindAtLeastOneDisplayValue:Ka,pleaseSelectProvince:Ga,pleaseSelectCity:Xa,pleaseSelectDistrict:Qa,limitRowsCannotBeLessThan0:Ja,TheNumberOfRowsCannotBeLessThanMinRows:Za,pleaseEnterColumnWidth:Ya,pleaseSetTheLogicalRelationshipOfAllRuleConditions:el,pleaseCompleteAllRulesAndConditions:tl,pleaseSelectControl:nl,pleaseSelectDashboard:rl,theViewNameCannotBeEmpty:il,pleaseSelectOcrType:ol,pleaseSelectAtLeastOneFieldToFillIn:ul,pleaseChooseAtLeastOne:al,pleaseEnterButtonContent:ll,pleaseEnterDataCodeInDataSetting:cl,pleaseEnterValueFieldCodeInDataSetting:sl,pleaseEnterSvcCodeInDataSetting:fl,pleaseBindAtLeastOneDisplayValueInDataSetting:yl,rootNodeIsRequiredInDataSetting:dl,pleaseEnterMaxHeight:pl,pleaseEnter:vl,pleaseEnterWatermark:hl,pleaseEnterFileName:bl,pleaseUploadAtLeastOnePrintTemplate:_l,pleaseAssignBusiness:ml,pleaseAssignExternal:gl},Il={zhCN:tu,enUS:fa,jaJP:El},Zn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Zn||(Zn={}));var Yn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Yn||(Yn={}));var Ol="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 er;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(er||(er={}));var p;(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"})(p||(p={}));var y;(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"})(y||(y={}));var $;$={},D($,y.ARRAY,p.ARRAY_COLUMN),D($,y.AUTO_NUMBER,p.AUTO_NUMBER_COLUMN),D($,y.DECIMAL,p.DECIMAL_COLUMN),D($,y.DEPARTMENTS,p.DEPARTMENT_COLUMN),D($,y.FILE,p.FILE_COLUMN),D($,y.IMAGE,p.IMAGE_COLUMN),D($,y.ADDRESS,p.LOCATION_COLUMN),D($,y.EMPLOYEES,p.EMPLOYEE_COLUMN),D($,y.TEXT,p.TEXT_COLUMN),D($,y.TIMESCOPE,p.TIMESCOPE_COLUMN),D($,y.TIMESTAMP,p.TIMESTAMP_COLUMN),D($,y.VARCHAR,p.VARCHAR_COLUMN),D($,y.RELATION,p.VARCHAR_COLUMN);var tr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(tr||(tr={}));var nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",wl=nr+"0123456789";function _e(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?nr:wl,i=Math.random()*n.length;t+=n[parseInt(String(i),10)]}return t}function mt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Al(e){if(Array.isArray(e))return mt(e)}function Sl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rl(){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 Rl()?me=Reflect.construct:me=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;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 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&&ae(e,t)}function Pl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Cl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Bl(){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 $l(e,t){return t&&(kl(t)==="object"||typeof t=="function")?t:Sl(e)}function ae(e,t){return ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ae(e,t)}function or(e){return Al(e)||Cl(e)||Tl(e)||Bl()}var kl=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tl(e,t){if(!!e){if(typeof e=="string")return mt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mt(e,t)}}function gt(e){var t=typeof Map=="function"?new Map:void 0;return gt=function(n){if(n===null||!Pl(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)},gt(e)}function Dl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dl();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 $l(this,i)}}var Et=console;function Fl(){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=Et).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(or(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=Et).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(or(i)))}function Nl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var It=function(e){ir(r,e);var t=ur(r);function r(n){rr(this,r);var i;return i=t.call(this,n),i.name="\u{1F4A5} Driven Error",i.message=n?Nl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return r}(gt(Error)),xl=function(e){ir(r,e);var t=ur(r);function r(n){rr(this,r);var i;return i=t.call(this,n),i.name="\u{1F6A8} Driven Reference Error",i}return r}(It);function ar(e){throw new It(e)}function lr(e){throw new xl(e)}function Ll(e){Et.error(new It(e))}var Ml=Object.prototype.toString;function cr(e,t){return Ml.call(e)==="[object "+t+"]"}function jl(e){return cr(e,"String")}function Hl(e){return cr(e,"Promise")}var Ul=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();Hl(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,c){if(i!==void 0){var s=i[o];if(!(u===c.length-1&&!jl(s)))return s}},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 Vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var g=function(){function e(){Vl(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]:Ol;return new Ul({locale:r,messages:Il})},e.setLocale=function(r){return this.$i18n.setLocale(r)},e}();g.$i18n=g.resetI18n();function ql(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,u){return"."+u}).split("."),i=!1;return n.reduce(function(o,u,c,s){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,u)){Fl("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 c===s.length-1&&!Object.is(a[u],r)&&(a[u]=r,i=!0),a[u]}},e),i}var zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ot={exports:{}};(function(e){(function(t){var r=function(d,b,P){if(!a(b)||v(b)||h(b)||m(b)||s(b))return b;var O,S=0,N=0;if(f(b))for(O=[],N=b.length;S<N;S++)O.push(r(d,b[S],P));else{O={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&(O[d(R,P)]=r(d,b[R],P))}return O},n=function(d,b){b=b||{};var P=b.separator||"_",O=b.split||/(?=[A-Z])/;return d.split(O).join(P)},i=function(d){return I(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(b,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var b=i(d);return b.substr(0,1).toUpperCase()+b.substr(1)},u=function(d,b){return n(d,b).toLowerCase()},c=Object.prototype.toString,s=function(d){return typeof d=="function"},a=function(d){return d===Object(d)},f=function(d){return c.call(d)=="[object Array]"},v=function(d){return c.call(d)=="[object Date]"},h=function(d){return c.call(d)=="[object RegExp]"},m=function(d){return c.call(d)=="[object Boolean]"},I=function(d){return d=d-0,d===d},_=function(d,b){var P=b&&"process"in b?b.process:b;return typeof P!="function"?d:function(O,S){return P(O,d,S)}},E={camelize:i,decamelize:u,pascalize:o,depascalize:u,camelizeKeys:function(d,b){return r(_(i,b),d)},decamelizeKeys:function(d,b){return r(_(u,b),d,b)},pascalizeKeys:function(d,b){return r(_(o,b),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(zl)})(Ot);function z(e){if(e!==void 0)return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}function k(e){return sr(e)&&"zh"in e}function sr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Wl(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function Kl(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function x(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=x(n.children,t)),t(i)})),r}function Gl(e){return Ot.exports.camelizeKeys(e)}function Q(e){return Ot.exports.decamelizeKeys(e)}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 Xl(e){if(Array.isArray(e))return wt(e)}function fr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Ql(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){fr(o,n,i,u,c,"next",s)}function c(s){fr(o,n,i,u,c,"throw",s)}u(void 0)})}}function Jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yl(){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 At(e){return Xl(e)||Zl(e)||ec(e)||Yl()}function ec(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)}}var tc=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},nc=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 c=this;return Ql(function(){var s,a,f,v,h,m,I,_,E,d,b,P;return tc(this,function(O){switch(O.label){case 0:if(s=c._events.get(n),a=[],!s)return[3,10];f=s.slice(),v=!0,h=!1,m=void 0,O.label=1;case 1:O.trys.push([1,8,9,10]),I=f[Symbol.iterator](),O.label=2;case 2:if(v=(_=I.next()).done)return[3,7];if(E=_.value,!s.includes(E))return[3,6];O.label=3;case 3:return O.trys.push([3,5,,6]),c.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(At(o))),[4,E.apply(null,At(o))];case 4:return d=O.sent(),c.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(At(o),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return b=O.sent(),Ll(String(b)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return P=O.sent(),h=!0,m=P,[3,10];case 9:try{!v&&I.return!=null&&I.return()}finally{if(h)throw m}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}(),rc=[];new Set(rc.map(function(e){return e.Designer.controlType}));function yr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ee(e)}function dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&St(e,t)}function pr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ic(e,t){return t&&(oc(t)==="object"||typeof t=="function")?t:yr(e)}function St(e,t){return St=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},St(e,t)}var oc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vr(e){var t=uc();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 ic(this,i)}}var Ie=function e(t){B(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:""},hr=function e(t){B(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:""},ac=function e(t){B(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:y.VARCHAR},lc=function(e){dr(r,e);var t=vr(r);function r(n){B(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 c;i.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var s;return i.filters=(s=n==null?void 0:n.filters)!==null&&s!==void 0?s:[],i}return r}(hr),cc=function e(t){B(this,e);var r,n;this.type="sublist-page",this.formBind=new hr(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 ac(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 lc(u)}))!==null&&o!==void 0?o:[]},sc=function e(t){B(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},fc=function e(t){B(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:[]},yc=function e(t){var r=this;B(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:_e();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(c){if(c.children!==void 0){var s,a=new e(c);(s=r.children)===null||s===void 0||s.push(a)}else{var f,v=new br(c);(f=r.children)===null||f===void 0||f.push(v)}}))},br=function e(t){B(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:_e();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 sc(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new fc(t==null?void 0:t.rightVariableBo)},dc=function e(t){B(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:""},pc=function e(t){B(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},vc=function e(t){B(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 _r(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 yc(o):new br(o)}))!==null&&r!==void 0?r:[],pr(this,le)||pr(this,bc)){var n,i;this.orders=(i=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(o){return new vc(o)}))!==null&&i!==void 0?i:[]}}var le=function e(t){var r=this;B(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(s){var a;(a=r.displayBoList)===null||a===void 0||a.push(new pc(s))}));var u;this.showOrder=(u=t==null?void 0:t.showOrder)!==null&&u!==void 0?u:!0;var c;this.svcCode=(c=t==null?void 0:t.svcCode)!==null&&c!==void 0?c:"",_r.call(this,t)},hc=function e(t){B(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 dc(u)}))!==null&&o!==void 0?o:[]},bc=function(e){dr(r,e);var t=vr(r);function r(n){B(this,r);var i;return i=t.call(this,n),_r.call(yr(i),n),i}return r}(hc),_c=function e(t){B(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:""},mr;(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"})(mr||(mr={}));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 ce=function e(t){B(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 c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},mc=function e(t){B(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 gc(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 Ec(){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 Oe(e,t,r){return Ec()?Oe=Reflect.construct:Oe=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&fe(a,u.prototype),a},Oe.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},se(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&&fe(e,t)}function Oc(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function wc(e,t){return t&&(Ac(t)==="object"||typeof t=="function")?t:gc(e)}function fe(e,t){return fe=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fe(e,t)}var Ac=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||!Oc(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 Oe(n,arguments,se(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),fe(i,n)},Ct(e)}function Sc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rc(e){var t=Sc();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 wc(this,i)}}var ye=function e(t){Pt(this,e),this.isHide={type:"boolean"}},we=function(e){Ic(r,e);var t=Rc(r);function r(n){return Pt(this,r),t.call(this)}return r}(Ct(Array)),L=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 mc(t==null?void 0:t.style);var i;this.caption=(i=t==null?void 0:t.caption)!==null&&i!==void 0?i:r};L.Rules=ye,L.RuntimeRules=we;function M(){return M=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},M.apply(this,arguments)}function Pc(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 Ae(e,t){return Ae=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ae(e,t)}function Cc(){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 Cc()?Se=Reflect.construct:Se=function(i,o,u){var c=[null];c.push.apply(c,o);var s=Function.bind.apply(i,c),a=new s;return u&&Ae(a,u.prototype),a},Se.apply(null,arguments)}function Bc(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $t(e){var t=typeof Map=="function"?new Map:void 0;return $t=function(n){if(n===null||!Bc(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}}),Ae(i,n)},$t(e)}var $c=/%[sdj%]/g,gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(gr=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 F(){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($c,function(c){if(c==="%%")return"%";if(n>=o)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(s){return"[Circular]"}break;default:return c}});return u}return i}function kc(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||kc(t)&&typeof e=="string"&&!e)}function Tc(e,t,r){var n=[],i=0,o=e.length;function u(c){n.push.apply(n,c),i++,i===o&&r(n)}e.forEach(function(c){t(c,u)})}function Er(e,t,r){var n=0,i=e.length;function o(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<i?t(e[c],o):r([])}o([])}function Dc(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Ir=function(e){Pc(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}($t(Error));function Fc(e,t,r,n){if(t.first){var i=new Promise(function(v,h){var m=function(E){return n(E),E.length?h(new Ir(E,kt(E))):v()},I=Dc(e);Er(I,r,m)});return i.catch(function(v){return v}),i}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var u=Object.keys(e),c=u.length,s=0,a=[],f=new Promise(function(v,h){var m=function(_){if(a.push.apply(a,_),s++,s===c)return n(a),a.length?h(new Ir(a,kt(a))):v()};u.length||(n(a),v()),u.forEach(function(I){var _=e[I];o.indexOf(I)!==-1?Er(_,r,m):Tc(_,r,m)})});return f.catch(function(v){return v}),f}function Or(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 wr(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]=M(M({},e[r]),n):e[r]=n}}return e}function Ar(e,t,r,n,i,o){e.required&&(!r.hasOwnProperty(e.field)||C(t,o||e.type))&&n.push(F(i.messages.required,e.fullField))}function Nc(e,t,r,n,i){(/^\s+$/.test(t)||t==="")&&n.push(F(i.messages.whitespace,e.fullField))}var Tt={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(Tt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Tt.url)},hex:function(t){return typeof t=="string"&&!!t.match(Tt.hex)}};function xc(e,t,r,n,i){if(e.required&&t===void 0){Ar(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(F(i.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(F(i.messages.types[u],e.fullField,e.type))}function Lc(e,t,r,n,i){var o=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,v=typeof t=="number",h=typeof t=="string",m=Array.isArray(t);if(v?f="number":h?f="string":m&&(f="array"),!f)return!1;m&&(a=t.length),h&&(a=t.replace(s,"_").length),o?a!==e.len&&n.push(F(i.messages[f].len,e.fullField,e.len)):u&&!c&&a<e.min?n.push(F(i.messages[f].min,e.fullField,e.min)):c&&!u&&a>e.max?n.push(F(i.messages[f].max,e.fullField,e.max)):u&&c&&(a<e.min||a>e.max)&&n.push(F(i.messages[f].range,e.fullField,e.min,e.max))}var J="enum";function Mc(e,t,r,n,i){e[J]=Array.isArray(e[J])?e[J]:[],e[J].indexOf(t)===-1&&n.push(F(i.messages[J],e.fullField,e[J].join(", ")))}function jc(e,t,r,n,i){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(F(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(F(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var w={required:Ar,whitespace:Nc,type:xc,range:Lc,enum:Mc,pattern:jc};function Hc(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();w.required(e,t,n,o,i,"string"),C(t,"string")||(w.type(e,t,n,o,i),w.range(e,t,n,o,i),w.pattern(e,t,n,o,i),e.whitespace===!0&&w.whitespace(e,t,n,o,i))}r(o)}function Uc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function Vc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),C(t)&&!e.required)return r();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function qc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}function zc(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();w.required(e,t,n,o,i),C(t)||w.type(e,t,n,o,i)}r(o)}function Wc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Kc(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();w.required(e,t,n,o,i),t!==void 0&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Gc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();w.required(e,t,n,o,i,"array"),t!=null&&(w.type(e,t,n,o,i),w.range(e,t,n,o,i))}r(o)}function Xc(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();w.required(e,t,n,o,i),t!==void 0&&w.type(e,t,n,o,i)}r(o)}var Qc="enum";function Jc(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();w.required(e,t,n,o,i),t!==void 0&&w[Qc](e,t,n,o,i)}r(o)}function Zc(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();w.required(e,t,n,o,i),C(t,"string")||w.pattern(e,t,n,o,i)}r(o)}function Yc(e,t,r,n,i){var o=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(C(t,"date")&&!e.required)return r();if(w.required(e,t,n,o,i),!C(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),w.type(e,c,n,o,i),c&&w.range(e,c.getTime(),n,o,i)}}r(o)}function es(e,t,r,n,i){var o=[],u=Array.isArray(t)?"array":typeof t;w.required(e,t,n,o,i,u),r(o)}function Dt(e,t,r,n,i){var o=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(C(t,o)&&!e.required)return r();w.required(e,t,n,u,i,o),C(t,o)||w.type(e,t,n,u,i)}r(u)}function ts(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();w.required(e,t,n,o,i)}r(o)}var pe={string:Hc,method:Uc,number:Vc,boolean:qc,regexp:zc,integer:Wc,float:Kc,array:Gc,object:Xc,enum:Jc,pattern:Zc,date:Yc,url:Dt,hex:Dt,email:Dt,required:es,any:ts};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=wr(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,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(_){var E,d=[],b={};function P(O){if(Array.isArray(O)){var S;d=(S=d).concat.apply(S,O)}else d.push(O)}for(E=0;E<_.length;E++)P(_[E]);d.length?b=kt(d):(d=null,b=null),c(d,b)}if(u.messages){var a=this.messages();a===Nt&&(a=Ft()),wr(a,u.messages),u.messages=a}else u.messages=this.messages();var f,v,h={},m=u.keys||Object.keys(this.rules);m.forEach(function(_){f=i.rules[_],v=o[_],f.forEach(function(E){var d=E;typeof d.transform=="function"&&(o===t&&(o=M({},o)),v=o[_]=d.transform(v)),typeof d=="function"?d={validator:d}:d=M({},d),d.validator=i.getValidationMethod(d),d.field=_,d.fullField=d.fullField||_,d.type=i.getType(d),d.validator&&(h[_]=h[_]||[],h[_].push({rule:d,value:v,source:o,field:_}))})});var I={};return Fc(h,u,function(_,E){var d=_.rule,b=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");b=b&&(d.required||!d.required&&_.value),d.field=_.field;function P(N,R){return M(M({},R),{},{fullField:d.fullField+"."+N})}function O(N){N===void 0&&(N=[]);var R=N;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&j.warning("async-validator:",R),R.length&&d.message!==void 0&&(R=[].concat(d.message)),R=R.map(Or(d)),u.first&&R.length)return I[d.field]=1,E(R);if(!b)E(R);else{if(d.required&&!_.value)return d.message!==void 0?R=[].concat(d.message).map(Or(d)):u.error&&(R=[u.error(d,F(u.messages.required,d.field))]),E(R);var A={};if(d.defaultField)for(var Hi in _.value)_.value.hasOwnProperty(Hi)&&(A[Hi]=d.defaultField);A=M(M({},A),_.rule.fields);for(var re in A)if(A.hasOwnProperty(re)){var zh=Array.isArray(A[re])?A[re]:[A[re]];A[re]=zh.map(P.bind(null,re))}var Ui=new j(A);Ui.messages(u.messages),_.rule.options&&(_.rule.options.messages=u.messages,_.rule.options.error=u.error),Ui.validate(_.value,_.rule.options||u,function(Jn){var ie=[];R&&R.length&&ie.push.apply(ie,R),Jn&&Jn.length&&ie.push.apply(ie,Jn),E(ie.length?ie:null)})}}var S;d.asyncValidator?S=d.asyncValidator(d,_.value,O,_.source,u):d.validator&&(S=d.validator(d,_.value,O,_.source,u),S===!0?O():S===!1?O(d.message||d.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(N){return O(N)})},function(_){s(_)})},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(F("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=gr,j.messages=Nt,j.validators=pe;var ns={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 rs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new j(e);return r.messages(Object.assign(ns,t)),r}var is=new nc;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 os(e){if(Array.isArray(e))return e}function us(e){if(Array.isArray(e))return xt(e)}function Sr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Rr(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Sr(o,n,i,u,c,"next",s)}function c(s){Sr(o,n,i,u,c,"throw",s)}u(void 0)})}}function as(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ls(e,t,r){return t&&Pr(e.prototype,t),r&&Pr(e,r),e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Br(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ss(){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 fs(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){cs(e,i,r[i])})}return e}function ys(e){return os(e)||Br(e)||kr(e)||ss()}function Lt(e){return us(e)||Br(e)||kr(e)||fs()}function kr(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)}}var Tr=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},T=function(){function t(n){var i=this;as(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Fr,this.removeSetting=Dr,this._callControlHooks("preInstance",n);var o=Cr(this,t)?this.constructor:void 0,u=o.controlName,c=o.controlIcon,s=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,v=o.controlCustomEvents,h=o.name,m=o.setting;u&&c&&s||lr("The ".concat(h," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:_e(10),this.name=u,this.icon=c;var _;this.type=(_=n==null?void 0:n.type)!==null&&_!==void 0?_:s,this.props=new L(n==null?void 0:n.props,(Cr(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(m);var d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d: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 c,s=ys(o),a=s[0],f=s.slice(1);return(c=is).emit.apply(c,[a,this].concat(Lt(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),ql(this.props,i,o),this.postUpdate(i,o)},r.preValidate=function(){var i=this;return Rr(function(){var o,u,c;return Tr(this,function(s){switch(s.label){case 0:return o=$r({},i.rules),[4,i._callControlHooks("preValidate",o)];case 1:return u=s.sent(),c=u[u.length-1],[2,c===!1?void 0:c]}})})()},r.validate=function(i,o){var u=this;return Rr(function(){var c,s,a,f;return Tr(this,function(v){switch(v.label){case 0:return[4,u.preValidate()];case 1:c=v.sent(),s=c!==void 0?c:$r({},u.rules),Array.isArray(o)&&o.forEach(function(h){s.hasOwnProperty(h)&&delete s[h]}),a=rs(s,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,c=this.type,s=this.props,a=s.dataBind,f=s.datasourceBind,v=s.optionConfig,h=s.caption,m=s.required,I=s.maxLength,_=s.options,E=s.encrypted,d=s.encryptedMode;if(!(!o&&!a&&!f)){var b={parentId:i,fieldType:o,controlId:u,caption:h,type:c,props:{}};switch(a&&(b.dataBind=a),v){case"datasource":case void 0:f&&(b.datasourceBind=f);break;case"custom":b.props.options=_;break}return m!==void 0&&(b.required=m),I!==void 0&&(b.maxLength=I),E!==void 0&&(b.encrypted=E),d!==void 0&&(b.encryptedMode=d),b}},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,Lt(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}},ls(t,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}}]),t}();T.controlName="\u63A7\u4EF6",T.controlIcon="icon",T.controlType="control",T.controlEventKeys=[],T.controlCustomEvents=[],T.setting=[],T.__is_control__=!0,T.removeSettingItem=Dr,T.updateSettingItem=Fr;function Dr(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var i=typeof n!="string",o=t.setting.findIndex(function(s){return s.key===(i?n.key:n)});if(o!==-1){var u,c;i?t.setting[o].showItems=(u=t.setting[o].showItems)===null||u===void 0?void 0:u.filter(function(s){return!n.hideItems.includes(s)}):t.setting.splice(o,1),i&&!(!((c=t.setting[o].showItems)===null||c===void 0)&&c.length)&&t.setting.splice(o,1)}})}function Fr(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,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")o.showItems=t.showItems;else{var s;(s=o.showItems).push.apply(s,Lt(t.showItems))}}}})}function ds(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ps(e,t,r){return t&&Nr(e.prototype,t),r&&Nr(e,r),e}function vs(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Z=function(){function t(r){ds(this,t),this.customEvents=[],this.parent=null;var n=vs(this,t)?this.constructor:void 0,i=n.controlType,o=n.controlFieldType,u=n.name,c=n.controlCustomEvents;i||lr("The ".concat(u," controlType is not define"));var s;this.id=(s=r==null?void 0:r.id)!==null&&s!==void 0?s:_e(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:i,this.props=new L(r==null?void 0:r.props),this.customEvents=c;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 ps(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}();Z.controlType="control",Z.__is_control__=!0,Z.controlCustomEvents=[];function hs(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:g.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:g.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:g.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,i){n.length===0&&i(g.getMessage("optionIsRequired")),i()}},{type:"array",validator:function(r,n,i){var o=n.map(function(c){return c.value}),u=Kl(o);o.length!==u.length?i(g.getMessage("optionIdIsRepeat")):i()},message:g.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:g.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:g.getMessage("isNotArray")},{type:"array",validator:function(r,n,i){n.length===0&&i(g.getMessage("pleaseBindAtLeastOneDisplayValue")),i()},message:g.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:g.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:g.getMessage("isNotBoolean")}}}}]}}])}function bs(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 _s(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ms(e,t){return t&&(gs(t)==="object"||typeof t=="function")?t:bs(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ht(e,t)}var gs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Es(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Es();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 ms(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:g.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:g.getMessage("pleaseEnterCaptionTip")};var o={fieldCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")}};if(_s(n.dataBind,Ie))i.dataBind={type:"object",required:!0,fields:z(o),message:g.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:g.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:z(o),message:g.getMessage("pleaseEnterFieldCode")}}),i.dataBind=u}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(ye),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:g.getMessage("runtimeRequired",{caption:n.caption})}),i}return r}(we),Y=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 c;i.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var s;i.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";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 m;i.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",i.dataBind=new Ie(n==null?void 0:n.dataBind);var I;return i.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:"",i}return r}(L);Y.Rules=Vt,Y.RuntimeRules=qt;function Is(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Os(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pe(e)}function ws(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zt(e,t)}function As(e,t){return t&&(Ss(t)==="object"||typeof t=="function")?t:Is(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},zt(e,t)}var Ss=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 Ps(e){var t=Rs();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 As(this,i)}}var Wt=function(e){ws(r,e);var t=Ps(r);function r(n){Os(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Y(n==null?void 0:n.props),i}return r}(T);Wt.controlEventKeys=["on_change","on_focus","on_blur"];function Cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bs(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 $s(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ks(e,t){return t&&(Ts(t)==="object"||typeof t=="function")?t:Cs(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kt(e,t)}var Ts=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ds(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fs(e){var t=Ds();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 ks(this,i)}}var Ns=function(e){$s(r,e);var t=Fs(r);function r(n){Bs(this,r);var i;return i=t.call(this,n),i.controlType="form",i.props=new Y(n==null?void 0:n.props),i}return r}(Z);function xs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ls(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Be(e)}function Ms(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gt(e,t)}function js(e,t){return t&&(Hs(t)==="object"||typeof t=="function")?t:xs(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gt(e,t)}var Hs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Us(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vs(e){var t=Us();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 js(this,i)}}var H=function(e){Ms(r,e);var t=Vs(r);function r(n){return Ls(this,r),t.call(this,n)}return r}(L);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 qs(e){if(Array.isArray(e))return Xt(e)}function zs(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ws(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xr(e){return qs(e)||zs(e)||Ks(e)||Ws()}function Ks(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 Gs(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Lr(e,t){e.parent=t,Gs(e,"parent")}function Xs(e,t){e.forEach(function(r){Lr(r,t)})}var Mr=Symbol("targetKey");function jr(e){var t;return(t=e[Mr])!==null&&t!==void 0?t:e}function Hr(e,t){return Xs(e,t),new Proxy(e,{get:function(n,i){for(var o=arguments.length,u=new Array(o>2?o-2:0),c=2;c<o;c++)u[c-2]=arguments[c];var s;return i===Mr?n:(s=Reflect).get.apply(s,[n,i].concat(xr(u)))},set:function(n,i,o){for(var u=arguments.length,c=new Array(u>3?u-3:0),s=3;s<u;s++)c[s-3]=arguments[s];var a;if(Wl(e)&&i==="length"&&o===e.length)return!0;var f=(a=Reflect).set.apply(a,[n,i,o].concat(xr(c)));return sr(o)&&Lr(o,t),f}})}function Qt(e,t,r,n){var i=n!=null?n:e,o=Hr(jr(r!=null?r:[]),i);Object.defineProperty(e,t,{get:function(){return o},set:function(c){o=Hr(jr(c),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 Qs(e){if(Array.isArray(e))return Jt(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 c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Js(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Vr(o,n,i,u,c,"next",s)}function c(s){Vr(o,n,i,u,c,"throw",s)}u(void 0)})}}function Zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ys(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ee(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ee=Reflect.get:ee=function(i,o,u){var c=cf(i,o);if(!!c){var s=Object.getOwnPropertyDescriptor(c,o);return s.get?s.get.call(u):s.value}},ee(e,t,r||e)}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U(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&&Zt(e,t)}function tf(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nf(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rf(){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 of(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){Ys(e,i,r[i])})}return e}function uf(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 af(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lf(e,t){return t&&(sf(t)==="object"||typeof t=="function")?t:Ur(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zt(e,t)}function cf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=U(e),e!==null););return e}function qr(e){return Qs(e)||nf(e)||ff(e)||rf()}var sf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ff(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 yf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function df(e){var t=yf();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 lf(this,i)}}var pf=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},vf=1e4,W=function(t){ef(n,t);var r=df(n);function n(o){Zs(this,n);var u;u=r.call(this,o),u.controlType="layout";var c=tf(this,n)?this.constructor:void 0,s=c.excludes,a=c.childrenMaxLength;return u.props=new H(o==null?void 0:o.props),Qt(Ur(u),"children",o==null?void 0:o.children),u.excludes=z(s),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 c=this.judgeExcludesChildren(u);return c&&this.childrenMaxLength>this.children.length},i.validate=function(u,c){var s=this,a=this,f=function(){return ee(U(n.prototype),"validate",s)};return Js(function(){return pf(this,function(v){switch(v.label){case 0:return[4,f().call(a,u,c)];case 1:return v.sent(),[4,Promise.all(a.children.map(function(h){return h.validate(u,c)}))];case 2:return v.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=ee(U(n.prototype),"toDataBindModel",this).call(this),s=c?[c]:[];return this.children.reduce(function(a,f){var v=f.toDataBindModel(u);if(Array.isArray(v)){var h=v.filter(function(m){return!!m});return qr(a).concat(qr(h))}return v&&a.push(v),a},s)},i.toSchema=function(){var u=ee(U(n.prototype),"toSchema",this).call(this),c=this.children.map(function(s){var a=s.toSchema();return a});return af(of({},u),{children:c})},n}(T);W.excludes=!1,W.childrenMaxLength=vf;function zr(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 bf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function _f(e,t){return t&&(mf(t)==="object"||typeof t=="function")?t:zr(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Yt(e,t)}var mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ef(e){var t=gf();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 _f(this,i)}}var ve=function(e){bf(r,e);var t=Ef(r);function r(n){hf(this,r);var i;return i=t.call(this,n),i.controlType="layout",i.props=new H(n==null?void 0:n.props),Qt(zr(i),"children",n==null?void 0:n.children),i}return r}(Z);function Wr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function If(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ke(e)}function Of(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function wf(e,t){return t&&(Af(t)==="object"||typeof t=="function")?t:Wr(e)}function en(e,t){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,t)}var Af=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 Rf(e){var t=Sf();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 wf(this,i)}}var Pf=function(e){Of(r,e);var t=Rf(r);function r(n,i){If(this,r);var o;return o=t.call(this,i),Qt(Wr(o),"headers",i==null?void 0:i.headers,n),o}return r}(L);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 Cf(e){if(Array.isArray(e))return tn(e)}function Kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gr(e,t,r,n,i,o,u){try{var c=e[o](u),s=c.value}catch(a){r(a);return}c.done?t(s):Promise.resolve(s).then(n,i)}function Bf(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function u(s){Gr(o,n,i,u,c,"next",s)}function c(s){Gr(o,n,i,u,c,"throw",s)}u(void 0)})}}function $f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function te(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?te=Reflect.get:te=function(i,o,u){var c=Lf(i,o);if(!!c){var s=Object.getOwnPropertyDescriptor(c,o);return s.get?s.get.call(u):s.value}},te(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 Df(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ff(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){kf(e,i,r[i])})}return e}function Nf(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 Qr(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Nf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function xf(e,t){return t&&(Mf(t)==="object"||typeof t=="function")?t:Kr(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nn(e,t)}function Lf(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function Jr(e){return Cf(e)||Df(e)||jf(e)||Ff()}var Mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jf(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 Hf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uf(e){var t=Hf();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 xf(this,i)}}var Vf=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(a){return function(f){return s([a,f])}}function s(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}}},qf=function(e){Tf(r,e);var t=Uf(r);function r(i){$f(this,r);var o;return o=t.call(this,i),o.controlType="list",o.props=new Pf(Kr(o),i==null?void 0:i.props),o}var n=r.prototype;return n.validate=function(o,u){var c=this,s=this,a=function(){return te(V(r.prototype),"validate",c)};return Bf(function(){return Vf(this,function(f){switch(f.label){case 0:return[4,a().call(s,o)];case 1:return f.sent(),[4,Promise.all(s.props.headers.map(function(v){return v.validate(o,u)}))];case 2:return f.sent(),[2,!0]}})})()},n.toDataBindModel=function(){var o=te(V(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],c=this.id;return this.props.headers.reduce(function(s,a){var f=a.toDataBindModel(c);if(Array.isArray(f)){var v=f.filter(function(h){return!!h});return Jr(s).concat(Jr(v))}return f&&s.push(f),s},u)},n.toSchema=function(){var o=te(V(r.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(c){return c.toSchema()});return Qr(Xr({},o),{props:Qr(Xr({},this.props),{headers:u})})},r}(T);qf.controlFieldType=y.LIST;function zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zr(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 Yr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wf(e,t){return t&&(Kf(t)==="object"||typeof t=="function")?t:zf(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},rn(e,t)}var Kf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ei(e){var t=Gf();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 Wf(this,i)}}var Xf=function(e){Yr(r,e);var t=ei(r);function r(n){Zr(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},i.width.required=n.widthType==="px",i}return r}(ye),Qf=function(e){Yr(r,e);var t=ei(r);function r(n){Zr(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 c;i.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",i.dataBind=new Ie(n==null?void 0:n.dataBind);var s;return i.sort=(s=n==null?void 0:n.sort)!==null&&s!==void 0?s:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i}return r}(L);Qf.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 Zf(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 Yf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}function ey(e,t){return t&&(ty(t)==="object"||typeof t=="function")?t:Jf(e)}function on(e,t){return on=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},on(e,t)}var ty=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ny(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ry(e){var t=ny();return function(){var n=De(e),i;if(t){var o=De(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ey(this,i)}}var iy=function(e){Yf(r,e);var t=ry(r);function r(n){Zf(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 c;i.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var s;i.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"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}(L);function oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(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 ay(e,t,r){return t&&ti(e.prototype,t),r&&ti(e,r),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fe(e)}function ly(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function cy(e,t){return t&&(sy(t)==="object"||typeof t=="function")?t:oy(e)}function un(e,t){return un=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},un(e,t)}var sy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yy(e){var t=fy();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 cy(this,i)}}var ni=function(e){ly(r,e);var t=yy(r);function r(n){uy(this,r);var i;return i=t.call(this,n),i.props=new iy(n==null?void 0:n.props),i}return ay(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(T);ni.controlEventKeys=["on_click"],ni.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 ri;(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"})(ri||(ri={}));var ii;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ii||(ii={}));var oi;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(oi||(oi={}));var ui;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(ui||(ui={}));var ai;(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"})(ai||(ai={}));function li(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var ci;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(ci||(ci={}));var si;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(si||(si={}));var fi;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(fi||(fi={}));var yi;(function(e){e.ALL="all",e.ASSIGN="assign"})(yi||(yi={}));var di;(function(e){e.ALL="all",e.ADMIN="admin"})(di||(di={})),l.IS_HIDE,y.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;function dy(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 Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ne(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&&an(e,t)}function hy(e,t){return t&&(by(t)==="object"||typeof t=="function")?t:dy(e)}function an(e,t){return an=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},an(e,t)}var by=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 my(e){var t=_y();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 hy(this,i)}}var ln=function(e){vy(r,e);var t=my(r);function r(n){py(this,r);var i;i=t.call(this,n);var o;i.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE",i.code=n==null?void 0:n.code;var u;i.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;i.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",i.icon=n==null?void 0:n.icon,i.formKey=n==null?void 0:n.formKey,i.openType=n==null?void 0:n.openType,i.needConfirm=n==null?void 0:n.needConfirm,i.confirmMessage=n==null?void 0:n.confirmMessage,i.options=n==null?void 0:n.options;var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default",i.priorityProcess=n==null?void 0:n.priorityProcess;var a;return i.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,i}return r}(L);function gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Iy(e,t,r){return t&&pi(e.prototype,t),r&&pi(e,r),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(e)}function Oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cn(e,t)}function wy(e,t){return t&&(Ay(t)==="object"||typeof t=="function")?t:gy(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},cn(e,t)}var Ay=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=xe(e),i;if(t){var o=xe(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return wy(this,i)}}var sn=function(e){Oy(r,e);var t=Ry(r);function r(n){Ey(this,r);var i;return i=t.call(this,n),i.props=new ln(n==null?void 0:n.props),i}return Iy(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(T);sn.controlEventKeys=["on_click"],sn.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.IS_HIDE]},{key:"super-setting",visible:!0}];function 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 Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Le(e)}function $y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}function ky(e,t){return t&&(Ty(t)==="object"||typeof t=="function")?t:Py(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fn(e,t)}var Ty=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dy();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 ky(this,i)}}var Ny=function(e){$y(r,e);var t=Fy(r);function r(n){Cy(this,r);var i;return i=t.call(this,n),i.props=new ln(n==null?void 0:n.props),i}return By(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Z),yn={Designer:sn,Runtime:Ny,Property:ln};function xy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ly(e,t){return t&&(My(t)==="object"||typeof t=="function")?t:xy(e)}function vn(e,t){return vn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},vn(e,t)}var My=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 hn(e){var t=jy();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 Ly(this,i)}}var Hy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i.maxLength={type:"number",min:0,message:g.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},i.minLength={type:"number",max:200,message:g.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},i.defaultValue=[{type:"string",max:200,min:0,message:g.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=g.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),i.defaultValue[1].pattern=li(n.regularRules.expression),i.defaultValue[1].message=n.regularRules.errMessage,i}return r}(Vt),Uy=function(e){pn(r,e);var t=hn(r);function r(n){dn(this,r);var i;return i=t.call(this,n),i.push({type:"string",message:g.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:g.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&i.push({pattern:li(n.regularRules.expression),message:n.regularRules.errMessage}),i}return r}(qt),bn=function(e){pn(r,e);var t=hn(r);function r(n){dn(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 _c(n==null?void 0:n.regularRules);var c;i.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var s;i.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:He.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}(Y);bn.Rules=Hy,bn.RuntimeRules=Uy;function Vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zy(e,t,r){return t&&hi(e.prototype,t),r&&hi(e,r),e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(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&&_n(e,t)}function Ky(e,t){return t&&(Gy(t)==="object"||typeof t=="function")?t:Vy(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},_n(e,t)}var Gy=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qy(e){var t=Xy();return function(){var n=je(e),i;if(t){var o=je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Ky(this,i)}}var He=function(e){Wy(r,e);var t=Qy(r);function r(n){qy(this,r);var i;return i=t.call(this,n),i.props=new bn(n==null?void 0:n.props),i}return zy(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}(Wt);He.controlEventKeys=["on_change","on_input","on_focus","on_blur"],He.controlFieldType=y.VARCHAR,He.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}],y.VARCHAR,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,y.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,y.DECIMAL,y.TIMESTAMP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TIMESTAMP,y.TIMESCOPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TIMESCOPE,y.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TEXT,y.TEXT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.TEXT,y.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,y.VARCHAR,y.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,y.ARRAY,y.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.EMPLOYEES;function Jy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ue(e)}function gn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zy(e,t){return t&&(Yy(t)==="object"||typeof t=="function")?t:Jy(e)}function En(e,t){return En=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},En(e,t)}var Yy=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 In(e){var t=ed();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 Zy(this,i)}}var td=104857600,nd=1048576e3,rd=function(e){gn(r,e);var t=In(r);function r(n){mn(this,r);var i;return i=t.call(this,n),i.maxSize={type:"number",min:0,max:nd,message:g.getMessage("attachmentMaxSize")},i}return r}(Vt),id=function(e){gn(r,e);var t=In(r);function r(n){mn(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:g.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),i}return r}(qt),Ve=function(e){gn(r,e);var t=In(r);function r(n){mn(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 c;i.attachmentAccept=(c=n==null?void 0:n.attachmentAccept)!==null&&c!==void 0?c:[];var s;i.maxLimit=(s=n==null?void 0:n.maxLimit)!==null&&s!==void 0?s: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:td;var v;i.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:ze.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}(Y);Ve.Rules=rd,Ve.RuntimeRules=id;function od(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 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 ad(e,t,r){return t&&bi(e.prototype,t),r&&bi(e,r),e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function ld(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cd(e,t){return t&&(sd(t)==="object"||typeof t=="function")?t:od(e)}function On(e,t){return On=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},On(e,t)}var sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yd(e){var t=fd();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 cd(this,i)}}var ze=function(e){ld(r,e);var t=yd(r);function r(n){ud(this,r);var i;return i=t.call(this,n),i.props=new Ve(n==null?void 0:n.props),i}return ad(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(Wt);ze.controlEventKeys=["on_change"],ze.controlFieldType=y.FILE,ze.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 pd(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 vd(e,t,r){return t&&_i(e.prototype,t),r&&_i(e,r),e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wn(e,t)}function bd(e,t){return t&&(_d(t)==="object"||typeof t=="function")?t:dd(e)}function wn(e,t){return wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wn(e,t)}var _d=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 gd(e){var t=md();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 bd(this,i)}}var Ed=function(e){hd(r,e);var t=gd(r);function r(n){pd(this,r);var i;return i=t.call(this,n),i.props=new Ve(n==null?void 0:n.props),i}return vd(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Ns);Ed.controlFieldType=y.FILE,y.IMAGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.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,y.MONEY,y.DECIMAL,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,y.ADDRESS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.ADDRESS,y.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.DEPARTMENTS,y.AUTO_NUMBER,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.AUTO_NUMBER,y.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,y.CALC,y.DECIMAL_RANGE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.DECIMAL_RANGE,y.ARRAY,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.ARRAY,y.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,y.ANY,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,y.VARCHAR,y.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,y.ARRAY,y.EMPLOYEES,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.EMPLOYEES,y.VARCHAR,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,y.VARCHAR,y.FILE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,y.FILE,y.DEPARTMENTS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,y.DEPARTMENTS,p.GRID;function Id(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 Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&An(e,t)}function Ad(e,t){return t&&(Sd(t)==="object"||typeof t=="function")?t:Id(e)}function An(e,t){return An=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},An(e,t)}var Sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pd(e){var t=Rd();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 Ad(this,i)}}var Cd=24,Sn=function(e){wd(r,e);var t=Pd(r);function r(n){Od(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:Cd;var u;return i.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,i}return r}(H);function Bd(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 mi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kd(e,t,r){return t&&mi(e.prototype,t),r&&mi(e,r),e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function Td(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dd(e,t){return t&&(Fd(t)==="object"||typeof t=="function")?t:Bd(e)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Rn(e,t)}var Fd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xd(e){var t=Nd();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 Dd(this,i)}}var Pn=function(e){Td(r,e);var t=xd(r);function r(n){$d(this,r);var i;return i=t.call(this,n),i.props=new Sn(n==null?void 0:n.props),i}return kd(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);Pn.excludes=[p.COL,p.CARD_GROUP,p.SUBTABLE,p.SUBTABLE_COLUMN,p.DIVIDER],Pn.childrenMaxLength=1;function Ld(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Md(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jd(e,t,r){return t&&gi(e.prototype,t),r&&gi(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cn(e,t)}function Ud(e,t){return t&&(Vd(t)==="object"||typeof t=="function")?t:Ld(e)}function Cn(e,t){return Cn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Cn(e,t)}var Vd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zd(e){var t=qd();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 Ud(this,i)}}var Wd=function(e){Hd(r,e);var t=zd(r);function r(n){Md(this,r);var i;return i=t.call(this,n),i.props=new Sn(n==null?void 0:n.props),i}return jd(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(ve),Ei={Designer:Pn,Runtime:Wd,Property:Sn};function Kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function Xd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)}function Qd(e,t){return t&&(Jd(t)==="object"||typeof t=="function")?t:Kd(e)}function Bn(e,t){return Bn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Bn(e,t)}var Jd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yd(e){var t=Zd();return function(){var n=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 $n=function(e){Xd(r,e);var t=Yd(r);function r(n){Gd(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 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 Ii(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function np(e,t,r){return t&&Ii(e.prototype,t),r&&Ii(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(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&&kn(e,t)}function ip(e,t){return t&&(op(t)==="object"||typeof t=="function")?t:ep(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kn(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=Je(e),i;if(t){var o=Je(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ip(this,i)}}var Tn=function(e){rp(r,e);var t=ap(r);function r(n){tp(this,r);var i;return i=t.call(this,n),i.props=new $n(n==null?void 0:n.props),i}return np(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);Tn.excludes=[p.ROW],Tn.setting=[{key:"col-setting",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 cp(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 sp(e,t,r){return t&&Oi(e.prototype,t),r&&Oi(e,r),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ze(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&&Dn(e,t)}function yp(e,t){return t&&(dp(t)==="object"||typeof t=="function")?t:lp(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 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=Ze(e),i;if(t){var o=Ze(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return yp(this,i)}}var hp=function(e){fp(r,e);var t=vp(r);function r(n){cp(this,r);var i;return i=t.call(this,n),i.props=new $n(n==null?void 0:n.props),i}return sp(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(ve);function bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mp(e,t,r){return t&&wi(e.prototype,t),r&&wi(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(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&&Fn(e,t)}function Ep(e,t){return t&&(Ip(t)==="object"||typeof t=="function")?t:bp(e)}function Fn(e,t){return Fn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Fn(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 wp(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 Ep(this,i)}}var Ap=4,et=function(e){gp(r,e);var t=wp(r);function r(n){return _p(this,r),t.call(this,n)}return mp(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}(Tn);et.excludes=[p.GRID_ROW],et.setting=[],et.childrenMaxLength=Ap;function Sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rp(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 Pp(e,t,r){return t&&Ai(e.prototype,t),r&&Ai(e,r),e}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function Cp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nn(e,t)}function Bp(e,t){return t&&($p(t)==="object"||typeof t=="function")?t:Sp(e)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nn(e,t)}var $p=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 Tp(e){var t=kp();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 Bp(this,i)}}var Dp=function(e){Cp(r,e);var t=Tp(r);function r(n){return Rp(this,r),t.call(this,n)}return Pp(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(hp);function Fp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(e)}function xp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lp(e,t){return t&&(Mp(t)==="object"||typeof t=="function")?t:Fp(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xn(e,t)}var Mp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hp(e){var t=jp();return function(){var n=nt(e),i;if(t){var o=nt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Lp(this,i)}}var Up=function(e){xp(r,e);var t=Hp(r);function r(n){return Np(this,r),t.call(this,n)}return r}($n),Vp={Designer:et,Runtime:Dp,Property:Up};function qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zp(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&&Ln(e,t)}function Kp(e,t){return t&&(Gp(t)==="object"||typeof t=="function")?t:qp(e)}function Ln(e,t){return Ln=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ln(e,t)}var Gp=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 Qp(e){var t=Xp();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 Kp(this,i)}}H.Rules,l.CAPTION,l.IS_HIDE,p.CARD_GROUP;function Jp(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 it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(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&&Mn(e,t)}function Zp(e,t){return t&&(Yp(t)==="object"||typeof t=="function")?t:Jp(e)}function Mn(e,t){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(e,t)}var Yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pi(e){var t=ev();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 Zp(this,i)}}var tv=function(e){Ri(r,e);var t=Pi(r);function r(n){Si(this,r);var i;return i=t.call(this,n),i.caption={type:"string",required:!0,message:g.getMessage("pleaseEnterCaption")},i.width={type:"number",required:!1,message:g.getMessage("pleaseEnterColumnWidth")},i.captionTip={type:"string",required:!1,message:g.getMessage("pleaseEnterCaptionTip")},i.width.required=n.widthType==="px",n.isShowCaptionTip&&(i.captionTip.required=!0),i}return r}(ye),ot=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.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 c;i.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!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);ot.Rules=tv;function nv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(e)}function 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&&jn(e,t)}function ov(e,t){return t&&(uv(t)==="object"||typeof t=="function")?t:nv(e)}function jn(e,t){return jn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},jn(e,t)}var uv=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 lv(e){var t=av();return function(){var n=ut(e),i;if(t){var o=ut(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return ov(this,i)}}var K=function(e){iv(r,e);var t=lv(r);function r(n){rv(this,r);var i;return i=t.call(this,n),i.props=new ot(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=[p.SUBTABLE,p.SUBTABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.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 cv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function fv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yv(e,t){return t&&(dv(t)==="object"||typeof t=="function")?t:cv(e)}function Hn(e,t){return Hn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hn(e,t)}var dv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vv(e){var t=pv();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 yv(this,i)}}var Ci=function(e){fv(r,e);var t=vv(r);function r(n){sv(this,r);var i;return i=t.call(this,n),i.props=new ot(n==null?void 0:n.props),i}return r}(ve);Ci.controlType="subtable-column";var hv={Designer:K,Runtime:Ci,Property:ot};p.SUBTABLE,p.SUBTABLE_COLUMN,p.SUBTABLE_ROW,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,l.CAPTION,p.GRID_TABLE,p.GRID_TABLE_COLUMN,p.ROW,p.COL,p.CARD_GROUP,p.DIVIDER,p.TEXT,l.CAPTION,p.TAB,l.CAPTION,l.IS_HIDE,p.TAB,p.GRID_ROW,p.ROW,p.GRID,p.SUBTABLE,p.TAB,p.TOOLBOX;function Bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lt(e)}function Vn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bv(e,t){return t&&(_v(t)==="object"||typeof t=="function")?t:Bi(e)}function qn(e,t){return qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qn(e,t)}var _v=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zn(e){var t=mv();return function(){var n=lt(e),i;if(t){var o=lt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return bv(this,i)}}var ct;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ct||(ct={}));var gv=function(e){Vn(r,e);var t=zn(r);function r(n){Un(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(we),Ev=function(e){Vn(r,e);var t=zn(r);function r(n){Un(this,r);var i;if(i=t.call(this,n),i.triggerFieldCode={type:"any"},i.datasourceBind={type:"any"},n.triggerType===ct.CLICK_CELL&&n.isShowSubList&&(i.triggerFieldCode={type:"string",required:!0,message:g.getMessage("pleaseEnterFieldCode")}),hs.call(Bi(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}(ye),he=function(e){Vn(r,e);var t=zn(r);function r(n){Un(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 c;i.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:ct.CLICK_ROW;var s;i.triggerFieldCode=(s=n==null?void 0:n.triggerFieldCode)!==null&&s!==void 0?s:"",i.sublistPage=new cc(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}return r}(H);he.Rules=Ev,he.RuntimeRules=gv;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 $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 wv(e,t,r){return t&&$i(e.prototype,t),r&&$i(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&&Wn(e,t)}function Sv(e,t){return t&&(Rv(t)==="object"||typeof t=="function")?t:Iv(e)}function Wn(e,t){return Wn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Wn(e,t)}var Rv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cv(e){var t=Pv();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 Sv(this,i)}}var ft=function(e){Av(r,e);var t=Cv(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 wv(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);ft.excludes=[p.ROW],ft.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"],ft.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 Bv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kv(e,t,r){return t&&ki(e.prototype,t),r&&ki(e,r),e}function yt(e){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yt(e)}function Tv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kn(e,t)}function Dv(e,t){return t&&(Fv(t)==="object"||typeof t=="function")?t:Bv(e)}function Kn(e,t){return Kn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Kn(e,t)}var Fv=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 xv(e){var t=Nv();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 Dv(this,i)}}var Lv=function(e){Tv(r,e);var t=xv(r);function r(n){$v(this,r);var i;return i=t.call(this,n),i.props=new he(n==null?void 0:n.props),i}return kv(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(ve),Mv={Designer:ft,Runtime:Lv,Property:he};function jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ti(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(e)}function Di(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gn(e,t)}function Hv(e,t){return t&&(Uv(t)==="object"||typeof t=="function")?t:jv(e)}function Gn(e,t){return Gn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gn(e,t)}var Uv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fi(e){var t=Vv();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 Hv(this,i)}}var qv=function(e){Di(r,e);var t=Fi(r);function r(n){Ti(this,r);var i;return i=t.call(this,n),i.push({type:"object",fields:{}}),i}return r}(we),pt=function(e){Di(r,e);var t=Fi(r);function r(n){Ti(this,r);var i;i=t.call(this,n);var o;i.save=new ce((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;i.cancel=new ce((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;i.saveAs=new ce((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var s;i.print=new ce((s=n==null?void 0:n.print)!==null&&s!==void 0?s:{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 ce(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);pt.RuntimeRules=qv;function zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kv(e,t,r){return t&&Ni(e.prototype,t),r&&Ni(e,r),e}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vt(e)}function Gv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xn(e,t)}function Xv(e,t){return t&&(Qv(t)==="object"||typeof t=="function")?t:zv(e)}function Xn(e,t){return Xn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Xn(e,t)}var Qv=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zv(e){var t=Jv();return function(){var n=vt(e),i;if(t){var o=vt(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return Xv(this,i)}}var xi=function(e){Gv(r,e);var t=Zv(r);function r(n){Wv(this,r);var i;return i=t.call(this,n),i.props=new pt(n==null?void 0:n.props),i}return Kv(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(W);xi.excludes=[];function Yv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 th(e,t,r){return t&&Li(e.prototype,t),r&&Li(e,r),e}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ht(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qn(e,t)}function rh(e,t){return t&&(ih(t)==="object"||typeof t=="function")?t:Yv(e)}function Qn(e,t){return Qn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Qn(e,t)}var ih=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uh(e){var t=oh();return function(){var n=ht(e),i;if(t){var o=ht(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return rh(this,i)}}var ah=function(e){nh(r,e);var t=uh(r);function r(n){eh(this,r);var i;return i=t.call(this,n),i.props=new pt(n==null?void 0:n.props),i}return th(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(ve),lh={Designer:xi,Runtime:ah,Property:pt};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,y.DECIMAL,l.CAPTION,y.FILE,y.VARCHAR,l.CAPTION,y.VARCHAR,y.TEXT,l.CAPTION,y.TEXT,y.DECIMAL,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,y.DECIMAL,y.TIMESCOPE,l.CAPTION,y.TIMESCOPE,y.TIMESTAMP,l.CAPTION,y.TIMESTAMP,y.ARRAY,l.CAPTION,y.ARRAY,y.DEPARTMENTS,l.CAPTION,y.DEPARTMENTS,y.AUTO_NUMBER,l.CAPTION,y.AUTO_NUMBER,y.FILE,l.CAPTION,y.FILE,y.IMAGE,l.CAPTION,y.IMAGE,y.EMPLOYEES,l.CAPTION,y.EMPLOYEES,y.ADDRESS,l.CAPTION,y.ADDRESS,l.CAPTION,y.EMPLOYEES,l.CAPTION,y.EMPLOYEES,l.IS_HIDE;const ch=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Eh(t==null?void 0:t.events),vh(n),hh(n);const i=ph(n),o=bh(i,t);let u=Q(x(o,c=>dh(c,t)));return r?u:u[0]},sh=[p.DIVIDER,p.TEXT,p.TITLE,p.LINK,p.BUTTON,"list-btn-export-list","list-btn-export-record"],fh=["subtable","grid-table"],yh=["simple-search"];function dh(e,t){var i,o,u,c,s,a;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":sh.includes(r.type)?r.controlType="base":r.controlType="form",fh.includes(r.type)&&(r.controlType="list"),yh.includes(r.type)&&(r.controlType="search-view")),delete r.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),k((i=e==null?void 0:e.props)==null?void 0:i.caption)&&(r.props.caption=e.props.caption.zh),k((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),k((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(k(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(k(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const 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 m=new hv.Designer;m.props.widthType=v.header_width_config==="1"?"auto":"px",m.props.width=v.header_width===""?200:Number(v.header_width),m.props.caption=k(v.field_name)?v.field_name.zh:v.field_name;const I=m.toSchema();I.id=v.header_id;const _=r.children[0].children[h].children[0];return _&&(I.children=[_]),I}),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=k(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 Ei.Designer;h.props.span=f;const m=h.toSchema();return m.children.push(v),m})}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&&(Mi(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={},m={};f&&(Mi(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),m.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=k(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,m.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(I=>({label:I.text,value:I.value}))),r.props.dataBind=h,r.props.defaultValue=m,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=k(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=k(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};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=k(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"),Ih(r,t==null?void 0:t.control_events),r}function Mi(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 c=u.show_controls.findIndex(a=>a===i),s=u.hide_controls.findIndex(a=>a===i);c>-1&&u.show_controls.splice(c,1,o),s>-1&&u.hide_controls.splice(s,1,o)}),n.forEach(u=>{u.ctrl_id===i&&(u.id=o)})}function ph(e){if(!Array.isArray(e)||!e.find(i=>i.type==="grid"))return e;const n=new lh.Designer().toSchema();return n.children=e,[n]}function vh(e){e.forEach(t=>{t.children&&gh(t.children)})}function hh(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],c=(i=(n=r[o])==null?void 0:n.children)==null?void 0:i[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(o,1,c)}})}function bh(e,t){var m,I,_,E,d,b,P,O;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:i}=r,[o,u,c]=i;_h(o),c.props.is_fixed_header=(m=n==null?void 0:n.source_config)==null?void 0:m.is_fixed_header,mh(c,u);const s=(_=(I=n==null?void 0:n.source_config)==null?void 0:I.data_code)!=null?_:t==null?void 0:t.dataCode,a=((d=(E=n==null?void 0:n.source_config)==null?void 0:E.svc_code)!=null?d:s)?`${s}_selectMore`:void 0,f=(P=(b=n==null?void 0:n.source_config)==null?void 0:b.orders)!=null?P:[],v=new Mv.Designer;v.props.datasourceBind=new le({dataCode:s,svcCode:a,orders:Gl(f)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(O=n==null?void 0:n.sublist_page)==null||O.sublists.forEach(S=>{S.title=k(S.title)?S.title.zh:S.title}),v.props.sublistPage=n.sublist_page;const h=v.toSchema();return h.children.push(o,c),[h]}function _h(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,i;const r=k(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(i=(n=t.dateType)==null?void 0:n.replace)==null?void 0:i.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function mh(e,t){e.children=t.children.filter(r=>r.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(r=>{var i,o,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:k(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=k(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order"?(n.type="order-column",n.props.fixed=!0):r.table_header_type==="operation"?(n.type="operation-column",n.props.check=(i=r.check)!=null?i:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new 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 gh(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 Eh(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 Ih(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 Oh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>wh(o)));return r?i:i[0]};function wh(e,t){return e.type===p.LIST_VIEW&&e.children.find(n=>n.type===p.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 Ah=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Sh(o)));return r?i:i[0]};function Sh(e,t){return[p.BUTTON,p.CREATE_FORM_LIST_BUTTON,p.BATCH_SUBMISSION_LIST_BUTTON,p.SUBMISSION_RECORD_LIST_BUTTON,p.IMPORT_RECORD_LIST_BUTTON,p.EXPORT_RECORD_LIST_BUTTON,p.EXPORT_LIST_BUTTON,p.FORM_SELECT_BUTTON,p.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===p.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===p.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Rh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Ph(o)));return r?i:i[0]};function Ph(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 Ch=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>$h(o)));return r?i:i[0]},Bh=[p.ROW,p.TAB,p.SUBTABLE,p.GRID_ROW,p.CARD_GROUP];function $h(e,t){return e.type===p.TAB_PANE&&(e.children=e.children.map(r=>{if(Bh.includes(r.type))return r;const n=new Vp.Designer,i=new Ei.Designer;n.children.push(i);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const kh=(e,t)=>{const r=Array.isArray(e);let i=Q(x(r?e:[e],o=>Th(o)));return r?i:i[0]};function Th(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===p.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Dh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Fh(o));return r?i:i[0]};function Fh(e,t){return e.type===p.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Nh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>xh(o));return r?i:i[0]};function q(e,t){e.field_code&&(e.field_type=t)}function xh(e,t){var n;const r={[p.TITLE]:y.AUTO_NUMBER,[p.ADDRESS]:y.ADDRESS,[p.ATTACHMENT]:y.FILE,[p.AUTO_NUMBER]:y.AUTO_NUMBER,[p.CHECKBOX]:y.ARRAY,[p.DATE_PICKER]:y.TIMESTAMP,[p.DEPARTMENT]:y.DEPARTMENTS,[p.EMPLOYEE]:y.EMPLOYEES,[p.EMPLOYEE2]:y.EMPLOYEES,[p.IMAGE]:y.IMAGE,[p.INPUT]:y.VARCHAR,[p.NUMBER]:y.DECIMAL,[p.RADIO]:y.VARCHAR,[p.RICH_TEXT]:y.TEXT,[p.SCORE]:y.DECIMAL,[p.SELECT]:y.VARCHAR,[p.SELECT_MULTIPLE]:y.ARRAY,[p.SELECT_RELATION]:y.VARCHAR,[p.TEXTAREA]:y.TEXT,[p.TREE]:y.ARRAY,[p.SEARCH_DATE_RANGE]:y.ARRAY,[p.SEARCH_INPUT]:y.VARCHAR,[p.SEARCH_NUMBER_RANGE]:y.ARRAY};return r.hasOwnProperty(e.type)&&q(e.props.data_bind,r[e.type]),e.type===p.AMOUNT&&(q(e.props.data_bind.amount,y.DECIMAL),q(e.props.data_bind.currency,y.VARCHAR)),e.type===p.CALC&&(q(e.props.data_bind.result,y.DECIMAL),q(e.props.data_bind.unit,y.VARCHAR)),e.type===p.DATE_RANGE&&(q(e.props.data_bind.min,y.TIMESTAMP),q(e.props.data_bind.max,y.TIMESTAMP)),e.type===p.VUE_FORM_ITEM&&q(e.props.data_bind,(n=e.field_type)!=null?n:y.ANY),e}const Lh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Mh(o));return r?i:i[0]};function Mh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===p.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const jh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Hh(o));return r?i:i[0]};function Hh(e,t){return e.type===p.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,i;[y.VARCHAR,y.TEXT,y.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 Uh=(e,t)=>{const r=Array.isArray(e);let i=x(r?e:[e],o=>Vh(o));return r?i:i[0]};function Vh(e,t){return e.type===p.GRID_TABLE&&e.props.headers.map(r=>{var n,i,o,u,c,s,a,f,v,h,m,I,_,E,d,b,P,O,S,N,R;if(r.type===p.OPERATION_COLUMN){if(r.children=[],delete r.props.custom,((n=r.props)==null?void 0:n.check)!==void 0){const A=new yn.Designer;A.props.code="view",A.props.command="view",A.props.content=(i=r.props)==null?void 0:i.check.content,A.props.priorityProcess=(o=r.props)==null?void 0:o.check.priority_process,A.props.openType=(u=r.props)==null?void 0:u.check.open_type,A.props.formKey=(c=r.props)==null?void 0:c.check.form_key,(s=r.props)!=null&&s.check.is_show&&r.children.push(A.toSchema()),(a=r.props)==null||delete a.check}if(((f=r.props)==null?void 0:f.edit)!==void 0){const A=new yn.Designer;A.props.code="edit",A.props.command="edit",A.props.content=(v=r.props)==null?void 0:v.edit.content,A.props.priorityProcess=(h=r.props)==null?void 0:h.edit.priority_process,A.props.openType=(m=r.props)==null?void 0:m.edit.open_type,A.props.formKey=(I=r.props)==null?void 0:I.edit.form_key,(_=r.props)!=null&&_.edit.is_show&&r.children.push(A.toSchema()),(E=r.props)==null||delete E.edit}if(((d=r.props)==null?void 0:d.delete)!==void 0){const A=new yn.Designer;A.props.code="delete",A.props.command="delete",A.props.content=(b=r.props)==null?void 0:b.delete.content,A.props.priorityProcess=(P=r.props)==null?void 0:P.delete.priority_process,A.props.openType=(O=r.props)==null?void 0:O.delete.open_type,A.props.formKey=(S=r.props)==null?void 0:S.delete.form_key,A.props.needConfirm=!0,A.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(N=r.props)!=null&&N.delete.is_show&&r.children.push(A.toSchema()),(R=r.props)==null||delete R.delete}}}),e}var ji={"v1.0":ch,"v2.0":Oh,"v2.1":Ah,"v2.2":Rh,"v2.3":Ch,"v2.4":kh,"v2.5":Dh,"v2.6":Nh,"v2.7":Lh,"v2.8":jh,"v2.9":Uh,"v2.10":()=>{}};function bt(e){return e.replace(/^v/,"")}function _t(e){return Number(bt(e))}const ne=Object.keys(ji).map(e=>bt(e)).sort((e,t)=>Number(e)-Number(t)),be=ne[ne.length-1];class qh{constructor(t,r=be){this.schemaVersion=t,this.toVersion=r,_t(r)>_t(be)?ar(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${be}`):(!ne.includes(bt(r))||!ne.includes(bt(t)))&&ar(`Version Builder: Please give me a valid version number, The valid version is: ${ne.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(this._version===this._schemaVersion)return t;const n=this.callDataCleanerKeys.reduce((i,o,u,c)=>{var v;const s=(v=c[u+1])!=null?v:this.toVersion;ge(`Version Builder: current version: ${o}, nextVersion: ${s}`);const a=ji[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 ne.filter(t=>Number(t)>=this._schemaVersion&&Number(t)<this._version)}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get _version(){return _t(this.toVersion)}get _schemaVersion(){return _t(this.schemaVersion)}get version(){return be}static get version(){return be}}G.VersionBuilder=qh,Object.defineProperty(G,"__esModule",{value:!0})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-upgrade",
3
- "version": "1.8.0-beta.3",
3
+ "version": "1.8.0-beta.5",
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.8.0-beta.3",
25
+ "@byteluck-fe/model-driven-controls": "^1.8.0-beta.5",
26
26
  "@byteluck-fe/model-driven-core": "^1.8.0-beta.3",
27
27
  "@byteluck-fe/model-driven-shared": "^1.8.0-beta.1",
28
28
  "tslib": "^2.1.0"
29
29
  },
30
- "gitHead": "e56ad55aee5978785b387413f3e35f41533c59b8"
30
+ "gitHead": "ac973e65f14a3c9c60feaf96b070c0fea5a4cff6"
31
31
  }