@byteluck-fe/model-driven-upgrade 2.7.0-alpha.15a → 2.7.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(ae,be){typeof exports=="object"&&typeof module!="undefined"?be(exports):typeof define=="function"&&define.amd?define(["exports"],be):(ae=typeof globalThis!="undefined"?globalThis:ae||self,be(ae.modelDrivenUpgrade={}))})(this,function(ae){"use strict";var be="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",pi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",hi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bi="{caption}\u5FC5\u586B",gi="\u8BF7\u8F93\u5165\u6807\u9898",_i="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",mi="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ei="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ii="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ai="\u8BF7\u7ED1\u5B9A\u8868\u5355",wi="\u8BF7\u7ED1\u5B9A\u5217\u8868",Si="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Oi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ci="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ri="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ki="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Bi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Pi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Di="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ti="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",$i="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ni="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Li="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Mi="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ji="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xi="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Hi="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ui="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vi="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",qi="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Wi="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",zi="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ki="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Gi="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Xi="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qi="\u8BF7\u9009\u62E9\u7701",Ji="\u8BF7\u9009\u62E9\u5E02",Zi="\u8BF7\u9009\u62E9\u533A",Yi="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",eu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",tu="\u8BF7\u8F93\u5165\u5217\u5BBD",nu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ru="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",iu="\u8BF7\u9009\u62E9\u63A7\u4EF6",uu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ou="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",au="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",lu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",su="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",du="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",pu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",bu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_u="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",mu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Eu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Iu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Au="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",wu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ou="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Cu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ru="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ku="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Bu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Pu={isNotNumber:be,isNotString:pi,isNotObject:yi,isNotArray:vi,isNotBoolean:hi,runtimeRequired:bi,pleaseEnterCaption:gi,pleaseEnterCaptionTip:_i,pleaseEnterRowCaption:mi,pleaseEnterPlaceholder:Ei,pleaseEnterFieldCode:Ii,pleaseEnterForm:Ai,pleaseEnterList:wi,pleaseEnterProcess:Si,pleaseEnterLabel:Oi,pleaseEnterValue:Ci,bizKeyNotBindFiled:Ri,pleaseSelectOneField:ki,pleaseEnterNumberRange:Bi,pleaseEnterAValueGreaterThanMin:Pi,pleaseEnterAValueLessThanMax:Di,numberRangeSetError:Ti,stringRangeError:$i,attachmentMaxSize:Fi,pleaseEnterTotalScoreSetting:Ni,theTotalScoreMustNotBeLessThan1:Li,scoreDefaultValueRange:Mi,attachmentLimitError:ji,PleaseReselectTheOptionalQuantity:xi,TheMaximumLengthIsGreaterThanTheMinimumLength:Hi,TheMinimumLengthIsGreaterThanTheMaximumLength:Ui,PleaseSelectTheCorrectOptionSettings:Vi,optionIdIsRepeat:qi,optionIsRequired:Wi,pleaseEnterDataCode:zi,pleaseEnterValueFieldCode:Ki,pleaseEnterSvcCode:Gi,pleaseBindAtLeastOneDisplayValue:Xi,pleaseSelectProvince:Qi,pleaseSelectCity:Ji,pleaseSelectDistrict:Zi,limitRowsCannotBeLessThan0:Yi,TheNumberOfRowsCannotBeLessThanMinRows:eu,pleaseEnterColumnWidth:tu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nu,pleaseCompleteAllRulesAndConditions:ru,pleaseSelectControl:iu,pleaseSelectAtLeastOneColumn:uu,pleaseSelectFillBackMode:ou,pleaseSelectDashboard:au,rootNodeIsRequired:lu,theViewNameCannotBeEmpty:su,pleaseSelectOcrType:cu,pleaseSelectAtLeastOneFieldToFillIn:fu,pleaseChooseAtLeastOne:du,pleaseEnterButtonContent:pu,pleaseEnterDataCodeInDataSetting:yu,pleaseEnterValueFieldCodeInDataSetting:vu,pleaseEnterSvcCodeInDataSetting:hu,pleaseBindAtLeastOneDisplayValueInDataSetting:bu,rootNodeIsRequiredInDataSetting:gu,pleaseEnterMaxHeight:_u,pleaseEnter:mu,pleaseEnterWatermark:Eu,pleaseEnterFileName:Iu,pleaseUploadAtLeastOnePrintTemplate:Au,pleaseAssignBusiness:wu,pleaseAssignExternal:Su,pleaseEnterAliasCode:Ou,pleaseSelectDataCode:Cu,pleaseSelectSvcCode:Ru,pleaseSelectJoinFieldCode:ku,pleaseSelectMainFieldCode:Bu},Du="Please enter a number",Tu="Please enter a string",$u="Please enter an object",Fu="Please enter an array",Nu="Please enter a boolean",Lu="{caption} Required",Mu="Please enter the title",ju="Please enter the bubble prompt",xu="Please enter the row title",Hu="Please enter the prompt text",Uu="Please bind data items",Vu="Please bind the form",qu="Please bind the list",Wu="Please bind the process",zu="Please enter the displayed value",Ku="Please enter the stored value",Gu="The document number is not bound to the data item",Xu="Please select at least one display field",Qu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ju="Please enter a value greater than or equal to {min}",Zu="Please enter a value less than or equal to {max}",Yu="The value range is set incorrectly",eo="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",to="The attachment size must be between 0MB and 1000MB",no="Please fill in the total score setting",ro="The total score cannot be less than 1",io="The default value must be between {min} and {max}",uo="The number of attachments uploaded must be between {min} and {max}",oo="Please re-select the optional quantity",ao="The maximum length of the control must be greater than the minimum length",lo="The minimum length of the control must be less than the maximum length",so="Please select the correct option setting",co="Option ID cannot be repeated",fo="Please enter at least one option",po="Please bind the data source",yo="Please bind the stored value",vo="Please bind the service",ho="At least one display value must be bound",bo="Please select a province",go="Please select a city",_o="Please select a district",mo="The minimum number of lines to fill in cannot be less than 0",Eo="The number of rows cannot be less than {min} rows",Io="Please enter the column width",Ao="Please set the logical relationship of all rule conditions",wo="Please complete all rules and conditions",So="please select control",Oo="Please select the dashboard",Co="View name cannot be empty",Ro="Please select recognition type",ko="Please select at least one field to fill in",Bo="Please select at least one",Po="Please enter the button title",Do="Please bind the business model in the data settings",To="Please bind storage values in data settings",$o="Please bind the service in the data settings",Fo="Please bind at least one display value in the data settings",No="Please select the root node in the data settings",Lo="Please enter the maximum height",Mo="The input content cannot be empty",jo="Watermark cannot be empty",xo="File name cannot be empty",Ho="Please upload at least one printing template!\uFF01",Uo="Please select a specific business department",Vo="Please select a specified external organization",qo="Please enter a sub table alias",Wo="Please select the associated table to set the business model",zo="Please select the association table to set the binding service",Ko="Select associated sub table fields",Go="Please select the associated main table field",Xo={isNotNumber:Du,isNotString:Tu,isNotObject:$u,isNotArray:Fu,isNotBoolean:Nu,runtimeRequired:Lu,pleaseEnterCaption:Mu,pleaseEnterCaptionTip:ju,pleaseEnterRowCaption:xu,pleaseEnterPlaceholder:Hu,pleaseEnterFieldCode:Uu,pleaseEnterForm:Vu,pleaseEnterList:qu,pleaseEnterProcess:Wu,pleaseEnterLabel:zu,pleaseEnterValue:Ku,bizKeyNotBindFiled:Gu,pleaseSelectOneField:Xu,pleaseEnterNumberRange:Qu,pleaseEnterAValueGreaterThanMin:Ju,pleaseEnterAValueLessThanMax:Zu,numberRangeSetError:Yu,stringRangeError:eo,attachmentMaxSize:to,pleaseEnterTotalScoreSetting:no,theTotalScoreMustNotBeLessThan1:ro,scoreDefaultValueRange:io,attachmentLimitError:uo,PleaseReselectTheOptionalQuantity:oo,TheMaximumLengthIsGreaterThanTheMinimumLength:ao,TheMinimumLengthIsGreaterThanTheMaximumLength:lo,PleaseSelectTheCorrectOptionSettings:so,optionIdIsRepeat:co,optionIsRequired:fo,pleaseEnterDataCode:po,pleaseEnterValueFieldCode:yo,pleaseEnterSvcCode:vo,pleaseBindAtLeastOneDisplayValue:ho,pleaseSelectProvince:bo,pleaseSelectCity:go,pleaseSelectDistrict:_o,limitRowsCannotBeLessThan0:mo,TheNumberOfRowsCannotBeLessThanMinRows:Eo,pleaseEnterColumnWidth:Io,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ao,pleaseCompleteAllRulesAndConditions:wo,pleaseSelectControl:So,pleaseSelectDashboard:Oo,theViewNameCannotBeEmpty:Co,pleaseSelectOcrType:Ro,pleaseSelectAtLeastOneFieldToFillIn:ko,pleaseChooseAtLeastOne:Bo,pleaseEnterButtonContent:Po,pleaseEnterDataCodeInDataSetting:Do,pleaseEnterValueFieldCodeInDataSetting:To,pleaseEnterSvcCodeInDataSetting:$o,pleaseBindAtLeastOneDisplayValueInDataSetting:Fo,rootNodeIsRequiredInDataSetting:No,pleaseEnterMaxHeight:Lo,pleaseEnter:Mo,pleaseEnterWatermark:jo,pleaseEnterFileName:xo,pleaseUploadAtLeastOnePrintTemplate:Ho,pleaseAssignBusiness:Uo,pleaseAssignExternal:Vo,pleaseEnterAliasCode:qo,pleaseSelectDataCode:Wo,pleaseSelectSvcCode:zo,pleaseSelectJoinFieldCode:Ko,pleaseSelectMainFieldCode:Go},Qo="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jo="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zo="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yo="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ea="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ta="{caption}\u5FC5\u9808",na="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ra="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ia="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ua="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",la="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ca="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",da="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ya="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",va="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ha="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ba="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ga="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ma="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ea="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ia="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Aa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wa="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sa="\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",Oa="\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",Ca="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ra="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ka="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ba="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pa="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Da="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ta="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$a="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Na="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",La="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ma="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ja="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ha="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ua="please select control",Va="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wa="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",za="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ka="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ya="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",el="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tl="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",nl="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",rl="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",il="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",ul="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ol="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",al="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ll="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",sl="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cl="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",fl="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dl={isNotNumber:Qo,isNotString:Jo,isNotObject:Zo,isNotArray:Yo,isNotBoolean:ea,runtimeRequired:ta,pleaseEnterCaption:na,pleaseEnterCaptionTip:ra,pleaseEnterRowCaption:ia,pleaseEnterPlaceholder:ua,pleaseEnterFieldCode:oa,pleaseEnterForm:aa,pleaseEnterList:la,pleaseEnterProcess:sa,pleaseEnterLabel:ca,pleaseEnterValue:fa,bizKeyNotBindFiled:da,pleaseSelectOneField:pa,pleaseEnterNumberRange:ya,pleaseEnterAValueGreaterThanMin:va,pleaseEnterAValueLessThanMax:ha,numberRangeSetError:ba,stringRangeError:ga,attachmentMaxSize:_a,pleaseEnterTotalScoreSetting:ma,theTotalScoreMustNotBeLessThan1:Ea,scoreDefaultValueRange:Ia,attachmentLimitError:Aa,PleaseReselectTheOptionalQuantity:wa,TheMaximumLengthIsGreaterThanTheMinimumLength:Sa,TheMinimumLengthIsGreaterThanTheMaximumLength:Oa,PleaseSelectTheCorrectOptionSettings:Ca,optionIdIsRepeat:Ra,optionIsRequired:ka,pleaseEnterDataCode:Ba,pleaseEnterValueFieldCode:Pa,pleaseEnterSvcCode:Da,pleaseBindAtLeastOneDisplayValue:Ta,pleaseSelectProvince:$a,pleaseSelectCity:Fa,pleaseSelectDistrict:Na,limitRowsCannotBeLessThan0:La,TheNumberOfRowsCannotBeLessThanMinRows:Ma,pleaseEnterColumnWidth:ja,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xa,pleaseCompleteAllRulesAndConditions:Ha,pleaseSelectControl:Ua,pleaseSelectDashboard:Va,theViewNameCannotBeEmpty:qa,pleaseSelectOcrType:Wa,pleaseSelectAtLeastOneFieldToFillIn:za,pleaseChooseAtLeastOne:Ka,pleaseEnterButtonContent:Ga,pleaseEnterDataCodeInDataSetting:Xa,pleaseEnterValueFieldCodeInDataSetting:Qa,pleaseEnterSvcCodeInDataSetting:Ja,pleaseBindAtLeastOneDisplayValueInDataSetting:Za,rootNodeIsRequiredInDataSetting:Ya,pleaseEnterMaxHeight:el,pleaseEnter:tl,pleaseEnterWatermark:nl,pleaseEnterFileName:rl,pleaseUploadAtLeastOnePrintTemplate:il,pleaseAssignBusiness:ul,pleaseAssignExternal:ol,pleaseEnterAliasCode:al,pleaseSelectDataCode:ll,pleaseSelectSvcCode:sl,pleaseSelectJoinFieldCode:cl,pleaseSelectMainFieldCode:fl},pl={zhCN:Pu,enUS:Xo,jaJP:dl},Rn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Rn||(Rn={}));var kn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(kn||(kn={}));var yl="zh-CN";function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(Bn||(Bn={}));var c;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(c||(c={}));var w;(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"})(w||(w={}));var x;x={},z(x,w.ARRAY,c.ARRAY_COLUMN),z(x,w.AUTO_NUMBER,c.AUTO_NUMBER_COLUMN),z(x,w.DECIMAL,c.DECIMAL_COLUMN),z(x,w.DEPARTMENTS,c.DEPARTMENT_COLUMN),z(x,w.FILE,c.FILE_COLUMN),z(x,w.IMAGE,c.IMAGE_COLUMN),z(x,w.ADDRESS,c.LOCATION_COLUMN),z(x,w.EMPLOYEES,c.EMPLOYEE_COLUMN),z(x,w.TEXT,c.TEXT_COLUMN),z(x,w.TIMESCOPE,c.TIMESCOPE_COLUMN),z(x,w.TIMESTAMP,c.TIMESTAMP_COLUMN),z(x,w.VARCHAR,c.VARCHAR_COLUMN),z(x,w.RELATION,c.VARCHAR_COLUMN);var Pn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Pn||(Pn={}));var Dn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vl=Dn+"0123456789";function Pe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?Dn:vl,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function ht(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hl(e){if(Array.isArray(e))return ht(e)}function bl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(){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 De(e,t,n){return gl()?De=Reflect.construct:De=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),d=new f;return a&&_e(d,a.prototype),d},De.apply(null,arguments)}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(e)}function $n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}function _l(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ml(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function El(){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 Il(e,t){return t&&(Al(t)==="object"||typeof t=="function")?t:bl(e)}function _e(e,t){return _e=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},_e(e,t)}function Fn(e){return hl(e)||ml(e)||wl(e)||El()}var Al=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wl(e,t){if(!!e){if(typeof e=="string")return ht(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ht(e,t)}}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(r){if(r===null||!_l(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return De(r,arguments,ge(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),_e(u,r)},bt(e)}function Sl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nn(e){var t=Sl();return function(){var r=ge(e),u;if(t){var o=ge(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Il(this,u)}}var gt=console;function Ol(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=gt).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Fn(u)))}function Te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=gt).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Fn(u)))}function Cl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _t=function(e){$n(n,e);var t=Nn(n);function n(r){Tn(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?Cl(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(bt(Error)),Rl=function(e){$n(n,e);var t=Nn(n);function n(r){Tn(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(_t);function Ln(e){throw new _t(e)}function Mn(e){throw new Rl(e)}function kl(e){gt.error(new _t(e))}var Bl=Object.prototype.toString;function jn(e,t){return Bl.call(e)==="[object "+t+"]"}function Pl(e){return jn(e,"String")}function Dl(e){return jn(e,"Promise")}var Tl=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();Dl(r)?r.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var u=this.getMessage(t);return u?this.formatMessage(u,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(u,o,a,s){if(u!==void 0){var f=u[o];if(!(a===s.length-1&&!Pl(f)))return f}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,u){var o=n[u];return o!==void 0?String(o):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function $l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fl(e,t,n){return t&&xn(e.prototype,t),n&&xn(e,n),e}var T=function(){function e(){$l(this,e)}return Fl(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yl;return new Tl({locale:n,messages:pl})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();T.$i18n=T.resetI18n();function Nl(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,a){return"."+a}).split("."),u=!1;return r.reduce(function(o,a,s,f){var d=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,a)){Ol("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),o,o);return}return s===f.length-1&&!Object.is(d[a],n)&&(d[a]=n,u=!0),d[a]}},e),u}var Ll=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},mt={exports:{}};(function(e){(function(t){var n=function(p,E,I){if(!d(E)||v(E)||_(E)||S(E)||f(E))return E;var D,P=0,j=0;if(y(E))for(D=[],j=E.length;P<j;P++)D.push(n(p,E[P],I));else{D={};for(var $ in E)Object.prototype.hasOwnProperty.call(E,$)&&(D[p($,I)]=n(p,E[$],I))}return D},r=function(p,E){E=E||{};var I=E.separator||"_",D=E.split||/(?=[A-Z])/;return p.split(D).join(I)},u=function(p){return R(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(E,I){return I?I.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},o=function(p){var E=u(p);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(p,E){return r(p,E).toLowerCase()},s=Object.prototype.toString,f=function(p){return typeof p=="function"},d=function(p){return p===Object(p)},y=function(p){return s.call(p)=="[object Array]"},v=function(p){return s.call(p)=="[object Date]"},_=function(p){return s.call(p)=="[object RegExp]"},S=function(p){return s.call(p)=="[object Boolean]"},R=function(p){return p=p-0,p===p},m=function(p,E){var I=E&&"process"in E?E.process:E;return typeof I!="function"?p:function(D,P){return I(D,p,P)}},O={camelize:u,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(p,E){return n(m(u,E),p)},decamelizeKeys:function(p,E){return n(m(a,E),p,E)},pascalizeKeys:function(p,E){return n(m(o,E),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(Ll)})(mt);var Hn={};Object.defineProperty(Hn,"__esModule",{value:!0});function Et(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Et(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:Et(r)}return t}}var Ml=Hn.default=Et;function me(e){if(e!==void 0)return typeof e=="object"?Ml(e):e}function H(e){return Un(e)&&"zh"in e}function Un(e){return Object.prototype.toString.call(e)==="[object Object]"}function jl(e){return Array.isArray(e)}function le(e){return isNaN(parseFloat(e))?"":Number(e)}function xl(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function U(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(r){var u=r;return Array.isArray(r==null?void 0:r.children)&&(u.children=U(r.children,t)),t(u)})),n}function Hl(e){return mt.exports.camelizeKeys(e)}function se(e){return mt.exports.decamelizeKeys(e)}var Vn={exports:{}};(function(e){var t=function(n){var r=Object.prototype,u=r.hasOwnProperty,o=Object.defineProperty||function(b,h,g){b[h]=g.value},a,s=typeof Symbol=="function"?Symbol:{},f=s.iterator||"@@iterator",d=s.asyncIterator||"@@asyncIterator",y=s.toStringTag||"@@toStringTag";function v(b,h,g){return Object.defineProperty(b,h,{value:g,enumerable:!0,configurable:!0,writable:!0}),b[h]}try{v({},"")}catch(b){v=function(h,g,k){return h[g]=k}}function _(b,h,g,k){var A=h&&h.prototype instanceof I?h:I,F=Object.create(A.prototype),V=new Sn(k||[]);return o(F,"_invoke",{value:vt(b,g,V)}),F}n.wrap=_;function S(b,h,g){try{return{type:"normal",arg:b.call(h,g)}}catch(k){return{type:"throw",arg:k}}}var R="suspendedStart",m="suspendedYield",O="executing",p="completed",E={};function I(){}function D(){}function P(){}var j={};v(j,f,function(){return this});var $=Object.getPrototypeOf,M=$&&$($(On([])));M&&M!==r&&u.call(M,f)&&(j=M);var C=P.prototype=I.prototype=Object.create(j);D.prototype=P,o(C,"constructor",{value:P,configurable:!0}),o(P,"constructor",{value:D,configurable:!0}),D.displayName=v(P,y,"GeneratorFunction");function J(b){["next","throw","return"].forEach(function(h){v(b,h,function(g){return this._invoke(h,g)})})}n.isGeneratorFunction=function(b){var h=typeof b=="function"&&b.constructor;return h?h===D||(h.displayName||h.name)==="GeneratorFunction":!1},n.mark=function(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,P):(b.__proto__=P,v(b,y,"GeneratorFunction")),b.prototype=Object.create(C),b},n.awrap=function(b){return{__await:b}};function ve(b,h){function g(F,V,q,X){var W=S(b[F],b,V);if(W.type==="throw")X(W.arg);else{var Cn=W.arg,Be=Cn.value;return Be&&typeof Be=="object"&&u.call(Be,"__await")?h.resolve(Be.__await).then(function(oe){g("next",oe,q,X)},function(oe){g("throw",oe,q,X)}):h.resolve(Be).then(function(oe){Cn.value=oe,q(Cn)},function(oe){return g("throw",oe,q,X)})}}var k;function A(F,V){function q(){return new h(function(X,W){g(F,V,X,W)})}return k=k?k.then(q,q):q()}o(this,"_invoke",{value:A})}J(ve.prototype),v(ve.prototype,d,function(){return this}),n.AsyncIterator=ve,n.async=function(b,h,g,k,A){A===void 0&&(A=Promise);var F=new ve(_(b,h,g,k),A);return n.isGeneratorFunction(h)?F:F.next().then(function(V){return V.done?V.value:F.next()})};function vt(b,h,g){var k=R;return function(F,V){if(k===O)throw new Error("Generator is already running");if(k===p){if(F==="throw")throw V;return xy()}for(g.method=F,g.arg=V;;){var q=g.delegate;if(q){var X=he(q,g);if(X){if(X===E)continue;return X}}if(g.method==="next")g.sent=g._sent=g.arg;else if(g.method==="throw"){if(k===R)throw k=p,g.arg;g.dispatchException(g.arg)}else g.method==="return"&&g.abrupt("return",g.arg);k=O;var W=S(b,h,g);if(W.type==="normal"){if(k=g.done?p:m,W.arg===E)continue;return{value:W.arg,done:g.done}}else W.type==="throw"&&(k=p,g.method="throw",g.arg=W.arg)}}}function he(b,h){var g=h.method,k=b.iterator[g];if(k===a)return h.delegate=null,g==="throw"&&b.iterator.return&&(h.method="return",h.arg=a,he(b,h),h.method==="throw")||g!=="return"&&(h.method="throw",h.arg=new TypeError("The iterator does not provide a '"+g+"' method")),E;var A=S(k,b.iterator,h.arg);if(A.type==="throw")return h.method="throw",h.arg=A.arg,h.delegate=null,E;var F=A.arg;if(!F)return h.method="throw",h.arg=new TypeError("iterator result is not an object"),h.delegate=null,E;if(F.done)h[b.resultName]=F.value,h.next=b.nextLoc,h.method!=="return"&&(h.method="next",h.arg=a);else return F;return h.delegate=null,E}J(C),v(C,y,"Generator"),v(C,f,function(){return this}),v(C,"toString",function(){return"[object Generator]"});function ne(b){var h={tryLoc:b[0]};1 in b&&(h.catchLoc=b[1]),2 in b&&(h.finallyLoc=b[2],h.afterLoc=b[3]),this.tryEntries.push(h)}function wn(b){var h=b.completion||{};h.type="normal",delete h.arg,b.completion=h}function Sn(b){this.tryEntries=[{tryLoc:"root"}],b.forEach(ne,this),this.reset(!0)}n.keys=function(b){var h=Object(b),g=[];for(var k in h)g.push(k);return g.reverse(),function A(){for(;g.length;){var F=g.pop();if(F in h)return A.value=F,A.done=!1,A}return A.done=!0,A}};function On(b){if(b||b===""){var h=b[f];if(h)return h.call(b);if(typeof b.next=="function")return b;if(!isNaN(b.length)){var g=-1,k=function A(){for(;++g<b.length;)if(u.call(b,g))return A.value=b[g],A.done=!1,A;return A.value=a,A.done=!0,A};return k.next=k}}throw new TypeError(typeof b+" is not iterable")}n.values=On;function xy(){return{value:a,done:!0}}return Sn.prototype={constructor:Sn,reset:function(b){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(wn),!b)for(var h in this)h.charAt(0)==="t"&&u.call(this,h)&&!isNaN(+h.slice(1))&&(this[h]=a)},stop:function(){this.done=!0;var b=this.tryEntries[0],h=b.completion;if(h.type==="throw")throw h.arg;return this.rval},dispatchException:function(b){if(this.done)throw b;var h=this;function g(X,W){return F.type="throw",F.arg=b,h.next=X,W&&(h.method="next",h.arg=a),!!W}for(var k=this.tryEntries.length-1;k>=0;--k){var A=this.tryEntries[k],F=A.completion;if(A.tryLoc==="root")return g("end");if(A.tryLoc<=this.prev){var V=u.call(A,"catchLoc"),q=u.call(A,"finallyLoc");if(V&&q){if(this.prev<A.catchLoc)return g(A.catchLoc,!0);if(this.prev<A.finallyLoc)return g(A.finallyLoc)}else if(V){if(this.prev<A.catchLoc)return g(A.catchLoc,!0)}else if(q){if(this.prev<A.finallyLoc)return g(A.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(b,h){for(var g=this.tryEntries.length-1;g>=0;--g){var k=this.tryEntries[g];if(k.tryLoc<=this.prev&&u.call(k,"finallyLoc")&&this.prev<k.finallyLoc){var A=k;break}}A&&(b==="break"||b==="continue")&&A.tryLoc<=h&&h<=A.finallyLoc&&(A=null);var F=A?A.completion:{};return F.type=b,F.arg=h,A?(this.method="next",this.next=A.finallyLoc,E):this.complete(F)},complete:function(b,h){if(b.type==="throw")throw b.arg;return b.type==="break"||b.type==="continue"?this.next=b.arg:b.type==="return"?(this.rval=this.arg=b.arg,this.method="return",this.next="end"):b.type==="normal"&&h&&(this.next=h),E},finish:function(b){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.finallyLoc===b)return this.complete(g.completion,g.afterLoc),wn(g),E}},catch:function(b){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.tryLoc===b){var k=g.completion;if(k.type==="throw"){var A=k.arg;wn(g)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(b,h,g){return this.delegate={iterator:On(b),resultName:h,nextLoc:g},this.method==="next"&&(this.arg=a),E}},n}(e.exports);try{regeneratorRuntime=t}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Vn);var Z=Vn.exports;function It(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ul(e){if(Array.isArray(e))return It(e)}function qn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(d){n(d);return}s.done?t(f):Promise.resolve(f).then(r,u)}function Vl(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){qn(o,r,u,a,s,"next",f)}function s(f){qn(o,r,u,a,s,"throw",f)}a(void 0)})}}function ql(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wl(e,t,n){return t&&Wn(e.prototype,t),n&&Wn(e,n),e}function zl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kl(){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 Ul(e)||zl(e)||Gl(e)||Kl()}function Gl(e,t){if(!!e){if(typeof e=="string")return It(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return It(e,t)}}var Xl=function(){function e(){ql(this,e),this._events=new Map,this.debug=!1}return Wl(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var a=this;return Vl(Z.mark(function s(){var f,d,y,v,_,S,R,m,O,p;return Z.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(f=a._events.get(n),d=[],!f){I.next=42;break}y=f.slice(),v=!0,_=!1,S=void 0,I.prev=5,R=y[Symbol.iterator]();case 7:if(v=(m=R.next()).done){I.next=28;break}if(O=m.value,f.includes(O)){I.next=11;break}return I.abrupt("continue",25);case 11:return I.prev=11,a.debug&&Te.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(At(u))),I.next=15,O.apply(null,At(u));case 15:if(p=I.sent,a.debug&&Te.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(At(u),[p])),d.push(p),p!==!1){I.next=20;break}return I.abrupt("break",28);case 20:I.next=25;break;case 22:I.prev=22,I.t0=I.catch(11),kl(String(I.t0)+":"+String(I.t0.stack));case 25:v=!0,I.next=7;break;case 28:I.next=34;break;case 30:I.prev=30,I.t1=I.catch(5),_=!0,S=I.t1;case 34:I.prev=34,I.prev=35,!v&&R.return!=null&&R.return();case 37:if(I.prev=37,!_){I.next=40;break}throw S;case 40:return I.finish(37);case 41:return I.finish(34);case 42:return I.abrupt("return",d);case 43:case"end":return I.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ql(e){if(Array.isArray(e))return wt(e)}function Jl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Zl(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zn(e){return Ql(e)||Jl(e)||Yl(e)||Zl()}function Yl(e,t){if(!!e){if(typeof e=="string")return wt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wt(e,t)}}function es(e,t){var n;((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function Kn(e,t,n){n==="Designer"&&(e.parent=t,es(e,"parent"))}function ts(e,t,n){e.forEach(function(r){Kn(r,t,n)})}var Gn=Symbol("targetKey");function Xn(e){var t;return(t=e[Gn])!==null&&t!==void 0?t:e}function Qn(e,t,n){return ts(e,t,n),new Proxy(e,{get:function(u,o){for(var a=arguments.length,s=new Array(a>2?a-2:0),f=2;f<a;f++)s[f-2]=arguments[f];var d;return o===Gn?u:(d=Reflect).get.apply(d,[u,o].concat(zn(s)))},set:function(u,o,a){for(var s=arguments.length,f=new Array(s>3?s-3:0),d=3;d<s;d++)f[d-3]=arguments[d];var y;if(jl(e)&&o==="length"&&a===e.length)return!0;var v=(y=Reflect).set.apply(y,[u,o,a].concat(zn(f)));return Un(a)&&Kn(a,t,n),v}})}function Jn(e,t,n,r,u){var o=r!=null?r:e,a=Qn(Xn(n!=null?n:[]),o,u);Object.defineProperty(e,t,{get:function(){return a},set:function(f){a=Qn(Xn(f),o,u)},enumerable:!0})}var ns=[];new Set(ns.map(function(e){return e.Designer.controlType}));function rs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(e)}function Zn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&St(e,t)}function is(e,t){return t&&(us(t)==="object"||typeof t=="function")?t:rs(e)}function St(e,t){return St=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},St(e,t)}var us=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function os(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yn(e){var t=os();return function(){var r=$e(e),u;if(t){var o=$e(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return is(this,u)}}var as=function e(t){L(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},ls=function e(t){L(this,e);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},Ot=function(e){Zn(n,e);var t=Yn(n);function n(r){L(this,n);var u;u=t.call(this,r);var o;u.width=(o=r==null?void 0:r.width)!==null&&o!==void 0?o:240;var a;return u.widthType=(a=r==null?void 0:r.widthType)!==null&&a!==void 0?a:"auto",u}return n}(ls),ss=function e(t){L(this,e),this.pc=new Ot(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new Ot(t==null?void 0:t.mobile):new Ot({width:130,minWidth:180})},er=function e(t){L(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:""},cs=function e(t){L(this,e);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:w.VARCHAR},fs=function(e){Zn(n,e);var t=Yn(n);function n(r){L(this,n);var u;u=t.call(this,r);var o;u.title=(o=r==null?void 0:r.title)!==null&&o!==void 0?o:"";var a;u.svcCode=(a=r==null?void 0:r.svcCode)!==null&&a!==void 0?a:"";var s;u.isOpenFilter=(s=r==null?void 0:r.isOpenFilter)!==null&&s!==void 0?s:!1;var f;return u.filters=(f=r==null?void 0:r.filters)!==null&&f!==void 0?f:[],u}return n}(er),ds=function e(t){L(this,e);var n,r;this.type="sublist-page",this.formBind=new er(t==null?void 0:t.formBind);var u;this.displayFields=(u=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(a){return new cs(a)}))!==null&&u!==void 0?u:[];var o;this.sublists=(o=t==null||(r=t.sublists)===null||r===void 0?void 0:r.map(function(a){return new fs(a)}))!==null&&o!==void 0?o:[]},ps=function e(t){L(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},ys=function e(t){L(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:[];var u;this.displayBos=(u=t==null?void 0:t.displayBos)!==null&&u!==void 0?u:[]},tr=function e(t){L(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Pe();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.level=(u=t==null?void 0:t.level)!==null&&u!==void 0?u:0;var o;if(this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"and",this.children=[],Array.isArray(t==null?void 0:t.children)){var a=this;t==null||t.children.map(function(s){if(s.children!==void 0){var f,d=new e(s);(f=a.children)===null||f===void 0||f.push(d)}else{var y,v=new Ct(s);(y=a.children)===null||y===void 0||y.push(v)}})}},Ct=function e(t){L(this,e),this.type="condition";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Pe();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.symbol=(u=t==null?void 0:t.symbol)!==null&&u!==void 0?u:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var a;this.describe=(a=t==null?void 0:t.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new ps(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ys(t==null?void 0:t.rightVariableBo)},vs=function e(t){L(this,e);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Ee(t==null?void 0:t.datasourceBind);var r;this.relationFields=(r=t==null?void 0:t.relationFields)!==null&&r!==void 0?r:[]},hs=function e(t){L(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:"",this.fieldType=t==null?void 0:t.fieldType},bs=function e(t){L(this,e);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var r;this.desc=(r=t.desc)!==null&&r!==void 0?r:!1};function gs(e){var t,n,r,u,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new tr(f):new Ct(f)}))!==null&&o!==void 0?o:[];var a;this.viewFilters=(a=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new tr(f):new Ct(f)}))!==null&&a!==void 0?a:[];var s;this.orders=(s=(r=e)===null||r===void 0||(u=r.orders)===null||u===void 0?void 0:u.map(function(f){return new bs(f)}))!==null&&s!==void 0?s:[]}var Ee=function e(t){L(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var u;this.valueFieldCode=(u=t==null?void 0:t.valueFieldCode)!==null&&u!==void 0?u:"",this.displayBoList=[];var o;if(this.isOpenViewFilters=(o=t==null?void 0:t.isOpenViewFilters)!==null&&o!==void 0?o:0,Array.isArray(t==null?void 0:t.displayBoList)){var a=this;t==null||t.displayBoList.map(function(y){var v;(v=a.displayBoList)===null||v===void 0||v.push(new hs(y))})}var s;this.keywordMapping=(s=t==null?void 0:t.keywordMapping)!==null&&s!==void 0?s:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var d;this.svcCode=(d=t==null?void 0:t.svcCode)!==null&&d!==void 0?d:"",gs.call(this,t)},nr;(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"})(nr||(nr={}));var l;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(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 Ie=function e(t){L(this,e);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var r;this.content=(r=t==null?void 0:t.content)!==null&&r!==void 0?r:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var a;this.type=(a=t==null?void 0:t.type)!==null&&a!==void 0?a:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},_s=function e(t){L(this,e);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function ms(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Es(){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 Fe(e,t,n){return Es()?Fe=Reflect.construct:Fe=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),d=new f;return a&&we(d,a.prototype),d},Fe.apply(null,arguments)}function Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(e)}function Is(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&we(e,t)}function As(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ws(e,t){return t&&(Ss(t)==="object"||typeof t=="function")?t:ms(e)}function we(e,t){return we=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},we(e,t)}var Ss=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bt(e){var t=typeof Map=="function"?new Map:void 0;return Bt=function(r){if(r===null||!As(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Fe(r,arguments,Ae(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),we(u,r)},Bt(e)}function Os(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cs(e){var t=Os();return function(){var r=Ae(e),u;if(t){var o=Ae(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ws(this,u)}}var Ne=function e(t){kt(this,e),this.isHide={type:"boolean"}},Pt=function(e){Is(n,e);var t=Cs(n);function n(r){return kt(this,n),t.call(this)}return n}(Bt(Array)),ce=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";kt(this,e);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new _s(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};ce.Rules=Ne,ce.RuntimeRules=Pt;function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(this,arguments)}function Rs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Dt(e){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(e)}function Le(e,t){return Le=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Le(e,t)}function ks(){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,n){return ks()?Me=Reflect.construct:Me=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),d=new f;return a&&Le(d,a.prototype),d},Me.apply(null,arguments)}function Bs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Tt(e){var t=typeof Map=="function"?new Map:void 0;return Tt=function(r){if(r===null||!Bs(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Me(r,arguments,Dt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Le(u,r)},Tt(e)}var Ps=/%[sdj%]/g,rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(rr=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function $t(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(Ps,function(s){if(s==="%%")return"%";if(r>=o)return s;switch(s){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(f){return"[Circular]"}break;default:return s}});return a}return u}function Ds(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function N(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Ds(t)&&typeof e=="string"&&!e)}function Ts(e,t,n){var r=[],u=0,o=e.length;function a(s){r.push.apply(r,s),u++,u===o&&n(r)}e.forEach(function(s){t(s,a)})}function ir(e,t,n){var r=0,u=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<u?t(e[s],o):n([])}o([])}function $s(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var ur=function(e){Rs(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(Tt(Error));function Fs(e,t,n,r){if(t.first){var u=new Promise(function(v,_){var S=function(O){return r(O),O.length?_(new ur(O,$t(O))):v()},R=$s(e);ir(R,n,S)});return u.catch(function(v){return v}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,f=0,d=[],y=new Promise(function(v,_){var S=function(m){if(d.push.apply(d,m),f++,f===s)return r(d),d.length?_(new ur(d,$t(d))):v()};a.length||(r(d),v()),a.forEach(function(R){var m=e[R];o.indexOf(R)!==-1?ir(m,n,S):Ts(m,n,S)})});return y.catch(function(v){return v}),y}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 ar(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Q(Q({},e[n]),r):e[n]=r}}return e}function lr(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||N(t,o||e.type))&&r.push(K(u.messages.required,e.fullField))}function Ns(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(K(u.messages.whitespace,e.fullField))}var Ft={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},Se={integer:function(t){return Se.number(t)&&parseInt(t,10)===t},float:function(t){return Se.number(t)&&!Se.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Se.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ft.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ft.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ft.hex)}};function Ls(e,t,n,r,u){if(e.required&&t===void 0){lr(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?Se[a](t)||r.push(K(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(K(u.messages.types[a],e.fullField,e.type))}function Ms(e,t,n,r,u){var o=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=t,y=null,v=typeof t=="number",_=typeof t=="string",S=Array.isArray(t);if(v?y="number":_?y="string":S&&(y="array"),!y)return!1;S&&(d=t.length),_&&(d=t.replace(f,"_").length),o?d!==e.len&&r.push(K(u.messages[y].len,e.fullField,e.len)):a&&!s&&d<e.min?r.push(K(u.messages[y].min,e.fullField,e.min)):s&&!a&&d>e.max?r.push(K(u.messages[y].max,e.fullField,e.max)):a&&s&&(d<e.min||d>e.max)&&r.push(K(u.messages[y].range,e.fullField,e.min,e.max))}var fe="enum";function js(e,t,n,r,u){e[fe]=Array.isArray(e[fe])?e[fe]:[],e[fe].indexOf(t)===-1&&r.push(K(u.messages[fe],e.fullField,e[fe].join(", ")))}function xs(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(K(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(K(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var B={required:lr,whitespace:Ns,type:Ls,range:Ms,enum:js,pattern:xs};function Hs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t,"string")&&!e.required)return n();B.required(e,t,r,o,u,"string"),N(t,"string")||(B.type(e,t,r,o,u),B.range(e,t,r,o,u),B.pattern(e,t,r,o,u),e.whitespace===!0&&B.whitespace(e,t,r,o,u))}n(o)}function Us(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&B.type(e,t,r,o,u)}n(o)}function Vs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&(B.type(e,t,r,o,u),B.range(e,t,r,o,u))}n(o)}function qs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&B.type(e,t,r,o,u)}n(o)}function Ws(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),N(t)||B.type(e,t,r,o,u)}n(o)}function zs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&(B.type(e,t,r,o,u),B.range(e,t,r,o,u))}n(o)}function Ks(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&(B.type(e,t,r,o,u),B.range(e,t,r,o,u))}n(o)}function Gs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return n();B.required(e,t,r,o,u,"array"),t!=null&&(B.type(e,t,r,o,u),B.range(e,t,r,o,u))}n(o)}function Xs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&B.type(e,t,r,o,u)}n(o)}var Qs="enum";function Js(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u),t!==void 0&&B[Qs](e,t,r,o,u)}n(o)}function Zs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t,"string")&&!e.required)return n();B.required(e,t,r,o,u),N(t,"string")||B.pattern(e,t,r,o,u)}n(o)}function Ys(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t,"date")&&!e.required)return n();if(B.required(e,t,r,o,u),!N(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),B.type(e,s,r,o,u),s&&B.range(e,s.getTime(),r,o,u)}}n(o)}function ec(e,t,n,r,u){var o=[],a=Array.isArray(t)?"array":typeof t;B.required(e,t,r,o,u,a),n(o)}function Nt(e,t,n,r,u){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(N(t,o)&&!e.required)return n();B.required(e,t,r,a,u,o),N(t,o)||B.type(e,t,r,a,u)}n(a)}function tc(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return n();B.required(e,t,r,o,u)}n(o)}var Oe={string:Hs,method:Us,number:Vs,boolean:qs,regexp:Ws,integer:zs,float:Ks,array:Gs,object:Xs,enum:Js,pattern:Zs,date:Ys,url:Nt,hex:Nt,email:Nt,required:ec,any:tc};function Lt(){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 Mt=Lt();function Y(e){this.rules=null,this._messages=Mt,this.define(e)}Y.prototype={messages:function(t){return t&&(this._messages=ar(Lt(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,a=n,s=r;if(typeof a=="function"&&(s=a,a={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function f(m){var O,p=[],E={};function I(D){if(Array.isArray(D)){var P;p=(P=p).concat.apply(P,D)}else p.push(D)}for(O=0;O<m.length;O++)I(m[O]);p.length?E=$t(p):(p=null,E=null),s(p,E)}if(a.messages){var d=this.messages();d===Mt&&(d=Lt()),ar(d,a.messages),a.messages=d}else a.messages=this.messages();var y,v,_={},S=a.keys||Object.keys(this.rules);S.forEach(function(m){y=u.rules[m],v=o[m],y.forEach(function(O){var p=O;typeof p.transform=="function"&&(o===t&&(o=Q({},o)),v=o[m]=p.transform(v)),typeof p=="function"?p={validator:p}:p=Q({},p),p.validator=u.getValidationMethod(p),p.field=m,p.fullField=p.fullField||m,p.type=u.getType(p),!!p.validator&&(_[m]=_[m]||[],_[m].push({rule:p,value:v,source:o,field:m}))})});var R={};return Fs(_,a,function(m,O){var p=m.rule,E=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");E=E&&(p.required||!p.required&&m.value),p.field=m.field;function I(j,$){return Q(Q({},$),{},{fullField:p.fullField+"."+j})}function D(j){j===void 0&&(j=[]);var $=j;if(Array.isArray($)||($=[$]),!a.suppressWarning&&$.length&&Y.warning("async-validator:",$),$.length&&p.message!==void 0&&($=[].concat(p.message)),$=$.map(or(p)),a.first&&$.length)return R[p.field]=1,O($);if(!E)O($);else{if(p.required&&!m.value)return p.message!==void 0?$=[].concat(p.message).map(or(p)):a.error&&($=[a.error(p,K(a.messages.required,p.field))]),O($);var M={};if(p.defaultField)for(var C in m.value)m.value.hasOwnProperty(C)&&(M[C]=p.defaultField);M=Q(Q({},M),m.rule.fields);for(var J in M)if(M.hasOwnProperty(J)){var ve=Array.isArray(M[J])?M[J]:[M[J]];M[J]=ve.map(I.bind(null,J))}var vt=new Y(M);vt.messages(a.messages),m.rule.options&&(m.rule.options.messages=a.messages,m.rule.options.error=a.error),vt.validate(m.value,m.rule.options||a,function(he){var ne=[];$&&$.length&&ne.push.apply(ne,$),he&&he.length&&ne.push.apply(ne,he),O(ne.length?ne:null)})}}var P;p.asyncValidator?P=p.asyncValidator(p,m.value,D,m.source,a):p.validator&&(P=p.validator(p,m.value,D,m.source,a),P===!0?D():P===!1?D(p.message||p.field+" fails"):P instanceof Array?D(P):P instanceof Error&&D(P.message)),P&&P.then&&P.then(function(){return D()},function(j){return D(j)})},function(m){f(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Oe.hasOwnProperty(t.type))throw new Error(K("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Oe.required:Oe[this.getType(t)]||!1}},Y.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Oe[t]=n},Y.warning=rr,Y.messages=Mt,Y.validators=Oe;var nc={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 rc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Y(e);return n.messages(Object.assign(nc,t)),n}var ic=new Xl;function jt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function uc(e){if(Array.isArray(e))return e}function oc(e){if(Array.isArray(e))return jt(e)}function sr(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(d){n(d);return}s.done?t(f):Promise.resolve(f).then(r,u)}function cr(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){sr(o,r,u,a,s,"next",f)}function s(f){sr(o,r,u,a,s,"throw",f)}a(void 0)})}}function ac(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lc(e,t,n){return t&&fr(e.prototype,t),n&&fr(e,n),e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function pr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cc(){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 fc(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function yr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){sc(e,u,n[u])})}return e}function dc(e){return uc(e)||pr(e)||vr(e,i)||cc()}function xt(e){return oc(e)||pr(e)||vr(e)||fc()}function vr(e,t){if(!!e){if(typeof e=="string")return jt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jt(e,t)}}var G=function(){function t(n){var r=this;ac(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=br,this.removeSetting=hr,this._callControlHooks("preInstance",n);var u=dr(this,t)?this.constructor:void 0,o=u.controlName,a=u.controlIcon,s=u.controlType,f=u.controlFieldType,d=u.controlEventKeys,y=u.controlCustomEvents,v=u.name,_=u.setting;o&&a&&s||Mn("The ".concat(v," controlName,controlIcon,controlType is not define"));var S;this.id=(S=n==null?void 0:n.id)!==null&&S!==void 0?S:Pe(10),this.name=o,this.icon=a;var R;this.type=(R=n==null?void 0:n.type)!==null&&R!==void 0?R:s,this.props=new ce(n==null?void 0:n.props,(dr(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=me(_);var O;this.fieldType=(O=n==null?void 0:n.fieldType)!==null&&O!==void 0?O:f,this.eventKeys=me(d),this.customEvents=me(y),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return lc(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var a,s=dc(u),f=s[0],d=s.slice(1);return(a=ic).emit.apply(a,[f,this].concat(xt(d)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),Nl(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return cr(Z.mark(function u(){var o,a,s;return Z.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return o=yr({},r.rules),d.next=3,r._callControlHooks("preValidate",o);case 3:return a=d.sent,s=a[a.length-1],d.abrupt("return",s===!1?void 0:s);case 6:case"end":return d.stop()}},u)}))()}},{key:"validate",value:function(r,u){var o=this;return cr(Z.mark(function a(){var s,f,d;return Z.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.preValidate();case 2:return s=v.sent,f=s!==void 0?s:yr({},o.rules),Array.isArray(u)&&u.forEach(function(_){f.hasOwnProperty(_)&&delete f[_]}),d=rc(f,r),v.prev=6,v.next=9,d.validate(o.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=o),v.t0;case 16:case"end":return v.stop()}},a,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,a=this.type,s=this.props,f=s.dataBind,d=s.datasourceBind,y=s.optionConfig,v=s.caption,_=s.required,S=s.maxLength,R=s.options,m=s.encrypted,O=s.encryptedMode;if(!(!u&&!f&&!d)){var p={parentId:r,fieldType:u,controlId:o,caption:v,type:a,props:{}};switch(f&&(p.dataBind=f),y){case"datasource":case void 0:d&&(p.datasourceBind=d);break;case"custom":p.props.options=R;break}return _!==void 0&&(p.required=_),S!==void 0&&(p.maxLength=S),m!==void 0&&(p.encrypted=m),O!==void 0&&(p.encryptedMode=O),p}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:me(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,xt(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();G.mode="Designer",G.controlName="\u63A7\u4EF6",G.controlIcon="icon",G.controlType="control",G.controlEventKeys=[],G.controlCustomEvents=[],G.setting=[],G.__is_control__=!0,G.removeSettingItem=hr,G.updateSettingItem=br;function hr(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,o=typeof r!="string",a=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(d){return d.key===(o?r.key:r)});if(a!==-1){var s,f;o?t.setting[a].showItems=(s=t.setting[a].showItems)===null||s===void 0?void 0:s.filter(function(d){return!r.hideItems.includes(d)}):t.setting.splice(a,1),o&&!((f=t.setting[a].showItems)===null||f===void 0?void 0:f.length)&&t.setting.splice(a,1)}})}function br(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(d){return d.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var a,s=(a=t.type)!==null&&a!==void 0?a:"replace";if(s==="replace")o.showItems=t.showItems;else{var f;(f=o.showItems).push.apply(f,xt(t.showItems))}}}})}function pc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yc(e,t,n){return t&&gr(e.prototype,t),n&&gr(e,n),e}function vc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var de=function(){function t(n){pc(this,t),this.customEvents=[],this.parent=null;var r=vc(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,a=r.name,s=r.controlCustomEvents;u||Mn("The ".concat(a," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:Pe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:u,this.props=new ce(n==null?void 0:n.props),this.customEvents=s;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:o;var _;this.pageStatus=(_=n==null?void 0:n.pageStatus)!==null&&_!==void 0?_:Rt.UNKNOWN}return yc(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();de.mode="Runtime",de.controlType="control",de.__is_control__=!0,de.controlCustomEvents=[];function hc(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:T.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:T.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:T.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,r,u){r.length===0&&u(T.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,r,u){var o=r.map(function(s){return s.value}),a=xl(o);o.length!==a.length?u(T.getMessage("optionIdIsRepeat")):u()},message:T.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:T.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:T.getMessage("isNotArray")},{type:"array",validator:function(n,r,u){r.length===0&&u(T.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:T.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:T.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:T.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:T.getMessage("isNotBoolean")}}}}]}}])}function bc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function _c(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mc(e,t){return t&&(Ec(t)==="object"||typeof t=="function")?t:bc(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ht(e,t)}var Ec=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ic(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ac(e){var t=Ic();return function(){var r=je(e),u;if(t){var o=je(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return mc(this,u)}}var re=function(e){_c(n,e);var t=Ac(n);function n(r){return gc(this,n),t.call(this,r)}return n}(ce);function Ut(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wc(e){if(Array.isArray(e))return Ut(e)}function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mr(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(d){n(d);return}s.done?t(f):Promise.resolve(f).then(r,u)}function Sc(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){mr(o,r,u,a,s,"next",f)}function s(f){mr(o,r,u,a,s,"throw",f)}a(void 0)})}}function Oc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cc(e,t,n){return t&&Er(e.prototype,t),n&&Er(e,n),e}function Rc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pe=Reflect.get:pe=function(u,o,a){var s=Fc(u,o);if(!!s){var f=Object.getOwnPropertyDescriptor(s,o);return f.get?f.get.call(a):f.value}},pe(e,t,n||e)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ee(e)}function kc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vt(e,t)}function Bc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Pc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dc(){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 Tc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Rc(e,u,n[u])})}return e}function $c(e,t){return t&&(Nc(t)==="object"||typeof t=="function")?t:_r(e)}function Vt(e,t){return Vt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Vt(e,t)}function Fc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ee(e),e!==null););return e}function Ir(e){return wc(e)||Pc(e)||Lc(e)||Dc()}var Nc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lc(e,t){if(!!e){if(typeof e=="string")return Ut(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ut(e,t)}}function Mc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jc(e){var t=Mc();return function(){var r=ee(e),u;if(t){var o=ee(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return $c(this,u)}}var xc=1e4,ie=function(t){kc(r,t);var n=jc(r);function r(u){Oc(this,r);var o;o=n.call(this,u),o.controlType="layout";var a=Bc(this,r)?this.constructor:void 0,s=a.excludes,f=a.childrenMaxLength;return o.props=new re(u==null?void 0:u.props),Jn(_r(o),"children",u==null?void 0:u.children,void 0,"Designer"),o.excludes=me(s),o.childrenMaxLength=f,o}return Cc(r,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var a=this.judgeExcludesChildren(o);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,a){var s=this,f=this,d=function(){return pe(ee(r.prototype),"validate",s)};return Sc(Z.mark(function y(){return Z.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,d().call(f,o,a);case 2:return _.next=4,Promise.all(f.children.map(function(S){return S.validate(o,a)}));case 4:return _.abrupt("return",!0);case 5:case"end":return _.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=pe(ee(r.prototype),"toDataBindModel",this).call(this),s=a?[a]:[];return this.children.reduce(function(f,d){var y=d.toDataBindModel(o);if(Array.isArray(y)){var v=y.filter(function(_){return!!_});return Ir(f).concat(Ir(v))}return y&&f.push(y),f},s)}},{key:"toSchema",value:function(){var o=pe(ee(r.prototype),"toSchema",this).call(this),a=this.children.map(function(s){var f=s.toSchema();return f});return Tc({},o,{children:a})}}]),r}(G);ie.excludes=!1,ie.childrenMaxLength=xc;function Ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function Uc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Vc(e,t){return t&&(qc(t)==="object"||typeof t=="function")?t:Ar(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},qt(e,t)}var qc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zc(e){var t=Wc();return function(){var r=xe(e),u;if(t){var o=xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Vc(this,u)}}var Ce=function(e){Uc(n,e);var t=zc(n);function n(r){Hc(this,n);var u;return u=t.call(this,r),u.controlType="layout",u.props=new re(r==null?void 0:r.props),Jn(Ar(u),"children",r==null?void 0:r.children,void 0,"Runtime"),u}return n}(de);l.IS_HIDE,l.IS_HIDE,l.IS_HIDE;var Wt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Wt||(Wt={}));var wr;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(wr||(wr={}));var Sr;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Sr||(Sr={}));var Or;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(Or||(Or={}));var Cr;(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"})(Cr||(Cr={}));var Rr;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Rr||(Rr={}));var kr;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(kr||(kr={}));var Br;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Br||(Br={}));var Pr;(function(e){e.ALL="all",e.ASSIGN="assign"})(Pr||(Pr={}));var Dr;(function(e){e.ALL="all",e.ADMIN="admin"})(Dr||(Dr={})),l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function $r(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zt(e,t)}function Gc(e,t){return t&&(Xc(t)==="object"||typeof t=="function")?t:Kc(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},zt(e,t)}var Xc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fr(e){var t=Qc();return function(){var r=He(e),u;if(t){var o=He(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Gc(this,u)}}var Jc=function(e){$r(n,e);var t=Fr(n);function n(r){Tr(this,n);var u;return u=t.call(this,r),u.formKey={type:"string",required:!1},(r.command==="edit"||r.command==="view")&&(u.formKey={type:"string",required:!0,message:T.getMessage("pleaseEnterForm")}),u}return n}(Ne),Ue=function(e){$r(n,e);var t=Fr(n);function n(r){Tr(this,n);var u;u=t.call(this,r);var o;u.content=(o=r==null?void 0:r.content)!==null&&o!==void 0?o:"\u6309\u94AE",u.code=r==null?void 0:r.code;var a;u.command=(a=r==null?void 0:r.command)!==null&&a!==void 0?a:"custom";var s;u.color=(s=r==null?void 0:r.color)!==null&&s!==void 0?s:"primary",u.icon=r==null?void 0:r.icon,u.formKey=r==null?void 0:r.formKey,u.openType=r==null?void 0:r.openType,u.needConfirm=r==null?void 0:r.needConfirm,u.confirmMessage=r==null?void 0:r.confirmMessage,u.options=r==null?void 0:r.options;var f;u.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default",u.priorityProcess=r==null?void 0:r.priorityProcess;var d;return u.isLoading=(d=r==null?void 0:r.isLoading)!==null&&d!==void 0?d:!1,u}return n}(ce);Ue.Rules=Jc;function Zc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ef(e,t,n){return t&&Nr(e.prototype,t),n&&Nr(e,n),e}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ve(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&&Kt(e,t)}function nf(e,t){return t&&(rf(t)==="object"||typeof t=="function")?t:Zc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Kt(e,t)}var rf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function of(e){var t=uf();return function(){var r=Ve(e),u;if(t){var o=Ve(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return nf(this,u)}}var Gt=function(e){tf(n,e);var t=of(n);function n(r){Yc(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return ef(n,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),n}(G);Gt.controlEventKeys=["on_click"],Gt.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 af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sf(e,t,n){return t&&Lr(e.prototype,t),n&&Lr(e,n),e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function ff(e,t){return t&&(df(t)==="object"||typeof t=="function")?t:af(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}var df=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yf(e){var t=pf();return function(){var r=qe(e),u;if(t){var o=qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ff(this,u)}}var vf=function(e){cf(n,e);var t=yf(n);function n(r){lf(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return sf(n,null,[{key:"controlType",get:function(){return"operation-button"}}]),n}(de),Qt={Designer:Gt,Runtime:vf,Property:Ue};l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,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.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.DEFAULT_DISPLAY,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,c.GRID;function hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function gf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function _f(e,t){return t&&(mf(t)==="object"||typeof t=="function")?t:hf(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}var mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ef(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function If(e){var t=Ef();return function(){var r=We(e),u;if(t){var o=We(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return _f(this,u)}}var Af=24,Zt=function(e){gf(n,e);var t=If(n);function n(r){bf(this,n);var u;u=t.call(this,r);var o;u.span=(o=r==null?void 0:r.span)!==null&&o!==void 0?o:Af;var a;return u.offset=(a=r==null?void 0:r.offset)!==null&&a!==void 0?a:0,u}return n}(re);function wf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Of(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(e)}function Cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function Rf(e,t){return t&&(kf(t)==="object"||typeof t=="function")?t:wf(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Yt(e,t)}var kf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pf(e){var t=Bf();return function(){var r=ze(e),u;if(t){var o=ze(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Rf(this,u)}}var en=function(e){Cf(n,e);var t=Pf(n);function n(r){Sf(this,n);var u;return u=t.call(this,r),u.props=new Zt(r==null?void 0:r.props),u}return Of(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),n}(ie);en.excludes=[c.COL,c.CARD_GROUP,c.SUBTABLE,c.SUBTABLE_COLUMN,c.DIVIDER],en.childrenMaxLength=1;function Df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $f(e,t,n){return t&&jr(e.prototype,t),n&&jr(e,n),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function Ff(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tn(e,t)}function Nf(e,t){return t&&(Lf(t)==="object"||typeof t=="function")?t:Df(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},tn(e,t)}var Lf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jf(e){var t=Mf();return function(){var r=Ke(e),u;if(t){var o=Ke(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Nf(this,u)}}var xf=function(e){Ff(n,e);var t=jf(n);function n(r){Tf(this,n);var u;return u=t.call(this,r),u.props=new Zt(r==null?void 0:r.props),u}return $f(n,null,[{key:"controlType",get:function(){return"col"}}]),n}(Ce),xr={Designer:en,Runtime:xf,Property:Zt};function Hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function Vf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function qf(e,t){return t&&(Wf(t)==="object"||typeof t=="function")?t:Hf(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}var Wf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kf(e){var t=zf();return function(){var r=Ge(e),u;if(t){var o=Ge(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return qf(this,u)}}var rn=function(e){Vf(n,e);var t=Kf(n);function n(r){Uf(this,n);var u;u=t.call(this,r);var o;u.layoutMode=(o=r==null?void 0:r.layoutMode)!==null&&o!==void 0?o:"select";var a;return u.gutter=(a=r==null?void 0:r.gutter)!==null&&a!==void 0?a:0,u}return n}(re);function Gf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qf(e,t,n){return t&&Hr(e.prototype,t),n&&Hr(e,n),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function Jf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function Zf(e,t){return t&&(Yf(t)==="object"||typeof t=="function")?t:Gf(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}var Yf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function td(e){var t=ed();return function(){var r=Xe(e),u;if(t){var o=Xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Zf(this,u)}}var on=function(e){Jf(n,e);var t=td(n);function n(r){Xf(this,n);var u;return u=t.call(this,r),u.props=new rn(r==null?void 0:r.props),u}return Qf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(ie);on.excludes=[c.ROW],on.setting=[{key:"col-setting",visible:!0}];function nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function id(e,t,n){return t&&Ur(e.prototype,t),n&&Ur(e,n),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&an(e,t)}function od(e,t){return t&&(ad(t)==="object"||typeof t=="function")?t:nd(e)}function an(e,t){return an=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},an(e,t)}var ad=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ld(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sd(e){var t=ld();return function(){var r=Qe(e),u;if(t){var o=Qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return od(this,u)}}var cd=function(e){ud(n,e);var t=sd(n);function n(r){rd(this,n);var u;return u=t.call(this,r),u.props=new rn(r==null?void 0:r.props),u}return id(n,null,[{key:"controlType",get:function(){return"row"}}]),n}(Ce);function fd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pd(e,t,n){return t&&Vr(e.prototype,t),n&&Vr(e,n),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Je(e)}function yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ln(e,t)}function vd(e,t){return t&&(hd(t)==="object"||typeof t=="function")?t:fd(e)}function ln(e,t){return ln=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ln(e,t)}var hd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gd(e){var t=bd();return function(){var r=Je(e),u;if(t){var o=Je(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return vd(this,u)}}var _d=4,Ze=function(e){yd(n,e);var t=gd(n);function n(r){return dd(this,n),t.call(this,r)}return pd(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),n}(on);Ze.excludes=[c.GRID_ROW],Ze.setting=[],Ze.childrenMaxLength=_d;function md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Id(e,t,n){return t&&qr(e.prototype,t),n&&qr(e,n),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function Ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sn(e,t)}function wd(e,t){return t&&(Sd(t)==="object"||typeof t=="function")?t:md(e)}function sn(e,t){return sn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},sn(e,t)}var Sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Od(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cd(e){var t=Od();return function(){var r=Ye(e),u;if(t){var o=Ye(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return wd(this,u)}}var Rd=function(e){Ad(n,e);var t=Cd(n);function n(r){return Ed(this,n),t.call(this,r)}return Id(n,null,[{key:"controlType",get:function(){return"grid-row"}}]),n}(cd);function kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},et(e)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cn(e,t)}function Dd(e,t){return t&&(Td(t)==="object"||typeof t=="function")?t:kd(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},cn(e,t)}var Td=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fd(e){var t=$d();return function(){var r=et(e),u;if(t){var o=et(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Dd(this,u)}}var Nd=function(e){Pd(n,e);var t=Fd(n);function n(r){return Bd(this,n),t.call(this,r)}return n}(rn),Ld={Designer:Ze,Runtime:Rd,Property:Nd};l.CAPTION,l.IS_HIDE,c.CARD_GROUP;function Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tt(e)}function zr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jd(e,t){return t&&(xd(t)==="object"||typeof t=="function")?t:Md(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},fn(e,t)}var xd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kr(e){var t=Hd();return function(){var r=tt(e),u;if(t){var o=tt(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return jd(this,u)}}var Ud=function(e){zr(n,e);var t=Kr(n);function n(r){Wr(this,n);var u;return u=t.call(this,r),u.caption={type:"string",required:!0,message:T.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:T.getMessage("pleaseEnterColumnWidth")},u.captionTip={type:"string",required:!1,message:T.getMessage("pleaseEnterCaptionTip")},r.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Ne),nt=function(e){zr(n,e);var t=Kr(n);function n(r){Wr(this,n);var u;u=t.call(this,r);var o;u.caption=(o=r==null?void 0:r.caption)!==null&&o!==void 0?o:"";var a;u.fixed=(a=r==null?void 0:r.fixed)!==null&&a!==void 0?a:!1;var s;u.isShowCaptionTip=(s=r==null?void 0:r.isShowCaptionTip)!==null&&s!==void 0?s:!1;var f;u.captionTip=(f=r==null?void 0:r.captionTip)!==null&&f!==void 0?f:"";var d;return u.isHideCaption=(d=r==null?void 0:r.isHideCaption)!==null&&d!==void 0?d:!1,u.metaAutoWidth=new ss(r==null?void 0:r.metaAutoWidth),u}return n}(re);nt.Rules=Ud;function Vd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rt(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&&dn(e,t)}function zd(e,t){return t&&(Kd(t)==="object"||typeof t=="function")?t:Vd(e)}function dn(e,t){return dn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},dn(e,t)}var Kd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gd();return function(){var r=rt(e),u;if(t){var o=rt(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return zd(this,u)}}var ue=function(e){Wd(n,e);var t=Xd(n);function n(r){qd(this,n);var u;return u=t.call(this,r),u.props=new nt(r==null?void 0:r.props),u}return n}(ie);ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.excludes=[c.SUBTABLE,c.SUBTABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT],ue.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},it(e)}function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pn(e,t)}function Yd(e,t){return t&&(ep(t)==="object"||typeof t=="function")?t:Qd(e)}function pn(e,t){return pn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},pn(e,t)}var ep=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function np(e){var t=tp();return function(){var r=it(e),u;if(t){var o=it(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Yd(this,u)}}var Gr=function(e){Zd(n,e);var t=np(n);function n(r){Jd(this,n);var u;return u=t.call(this,r),u.props=new nt(r==null?void 0:r.props),u}return n}(Ce);Gr.controlType="subtable-column";var rp={Designer:ue,Runtime:Gr,Property:nt};c.SUBTABLE,c.SUBTABLE_COLUMN,c.SUBTABLE_ROW,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_TABLE,c.GRID_TABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_LAYOUT_CONTAINER,c.CARD_GROUP,c.TAB,c.TAB,l.CAPTION,l.IS_HIDE,c.TAB,c.GRID_ROW,c.ROW,c.GRID,c.SUBTABLE,c.TAB,c.TOOLBOX;function Xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ut(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&&hn(e,t)}function ip(e,t){return t&&(up(t)==="object"||typeof t=="function")?t:Xr(e)}function hn(e,t){return hn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},hn(e,t)}var up=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 bn(e){var t=op();return function(){var r=ut(e),u;if(t){var o=ut(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ip(this,u)}}var ot;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ot||(ot={}));var ap=function(e){vn(n,e);var t=bn(n);function n(r){yn(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(Pt),lp=function(e){vn(n,e);var t=bn(n);function n(r){yn(this,n);var u;if(u=t.call(this,r),u.triggerFieldCode={type:"any"},u.datasourceBind={type:"any"},u.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),r.triggerType===ot.CLICK_CELL&&r.isShowSubList&&(u.triggerFieldCode={type:"string",required:!0,message:T.getMessage("pleaseEnterFieldCode")}),r.isShowJoinRelation&&(u.joinRelation=[{type:"object",message:T.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:T.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:T.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),hc.call(Xr(u),{optionConfig:"datasource",datasourceBind:r.datasourceBind,options:[]}),Array.isArray(u.datasourceBind)&&u.datasourceBind.length>1){var o=u.datasourceBind.find(function(a){return a.type==="object"&&a.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return u}return n}(Ne),Re=function(e){vn(n,e);var t=bn(n);function n(r){yn(this,n);var u;u=t.call(this,r),u.datasourceBind=new Ee(r==null?void 0:r.datasourceBind);var o;u.isLoading=(o=r==null?void 0:r.isLoading)!==null&&o!==void 0?o:!1;var a;u.isShowSubList=(a=r==null?void 0:r.isShowSubList)!==null&&a!==void 0?a:!1;var s;u.triggerType=(s=r==null?void 0:r.triggerType)!==null&&s!==void 0?s:ot.CLICK_ROW;var f;u.triggerFieldCode=(f=r==null?void 0:r.triggerFieldCode)!==null&&f!==void 0?f:"",u.sublistPage=new ds(r==null?void 0:r.sublistPage);var d;u.isShowJoinRelation=(d=r==null?void 0:r.isShowJoinRelation)!==null&&d!==void 0?d:!1,u.joinRelation=new vs(r==null?void 0:r.joinRelation);var y;u.showType=(y=r==null?void 0:r.showType)!==null&&y!==void 0?y:"stretch";var v;u.showFullScreen=(v=r==null?void 0:r.showFullScreen)!==null&&v!==void 0?v:!1;var _;u.selectionType=(_=r==null?void 0:r.selectionType)!==null&&_!==void 0?_:"multiple";var S;u.isFixedHeader=(S=r==null?void 0:r.isFixedHeader)!==null&&S!==void 0?S:!1;var R;u.isShowSelection=(R=r==null?void 0:r.isShowSelection)!==null&&R!==void 0?R:!1;var m;return u.isAllLoaded=(m=r==null?void 0:r.isAllLoaded)!==null&&m!==void 0?m:!0,u.countType=r==null?void 0:r.countType,u}return n}(re);Re.Rules=lp,Re.RuntimeRules=ap;function sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fp(e,t,n){return t&&Qr(e.prototype,t),n&&Qr(e,n),e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(e)}function dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gn(e,t)}function pp(e,t){return t&&(yp(t)==="object"||typeof t=="function")?t:sp(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},gn(e,t)}var yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hp(e){var t=vp();return function(){var r=at(e),u;if(t){var o=at(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return pp(this,u)}}var lt=function(e){dp(n,e);var t=hp(n);function n(r){cp(this,n);var u;return u=t.call(this,r),u.props=new Re(r==null?void 0:r.props),u}return fp(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(ie);lt.excludes=[c.ROW],lt.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],lt.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];function bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _p(e,t,n){return t&&Jr(e.prototype,t),n&&Jr(e,n),e}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(e)}function mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_n(e,t)}function Ep(e,t){return t&&(Ip(t)==="object"||typeof t=="function")?t:bp(e)}function _n(e,t){return _n=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},_n(e,t)}var Ip=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ap(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wp(e){var t=Ap();return function(){var r=st(e),u;if(t){var o=st(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Ep(this,u)}}var Sp=function(e){mp(n,e);var t=wp(n);function n(r){gp(this,n);var u;return u=t.call(this,r),u.props=new Re(r==null?void 0:r.props),u}return _p(n,null,[{key:"controlType",get:function(){return"list-view"}}]),n}(Ce),Op={Designer:lt,Runtime:Sp,Property:Re};function Cp(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 ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(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&&mn(e,t)}function Rp(e,t){return t&&(kp(t)==="object"||typeof t=="function")?t:Cp(e)}function mn(e,t){return mn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},mn(e,t)}var kp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ei(e){var t=Bp();return function(){var r=ct(e),u;if(t){var o=ct(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Rp(this,u)}}var Pp=function(e){Yr(n,e);var t=ei(n);function n(r){Zr(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(Pt),ft=function(e){Yr(n,e);var t=ei(n);function n(r){Zr(this,n);var u;u=t.call(this,r);var o;u.save=new Ie((o=r==null?void 0:r.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var a;u.cancel=new Ie((a=r==null?void 0:r.cancel)!==null&&a!==void 0?a:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;u.saveAs=new Ie((s=r==null?void 0:r.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;u.print=new Ie((f=r==null?void 0:r.print)!==null&&f!==void 0?f:{content:"\u6253\u5370",type:"print",isShow:!1});var d;u.custom=((d=r==null?void 0:r.custom)!==null&&d!==void 0?d:[]).map(function(v){return new Ie(v)});var y;return u.isLoading=(y=r==null?void 0:r.isLoading)!==null&&y!==void 0?y:!1,u.datasourceBind=new Ee(r==null?void 0:r.datasourceBind),u}return n}(re);ft.RuntimeRules=Pp;function Dp(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 ti(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $p(e,t,n){return t&&ti(e.prototype,t),n&&ti(e,n),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(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&&En(e,t)}function Np(e,t){return t&&(Lp(t)==="object"||typeof t=="function")?t:Dp(e)}function En(e,t){return En=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},En(e,t)}var Lp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jp(e){var t=Mp();return function(){var r=dt(e),u;if(t){var o=dt(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Np(this,u)}}var ni=function(e){Fp(n,e);var t=jp(n);function n(r){Tp(this,n);var u;return u=t.call(this,r),u.props=new ft(r==null?void 0:r.props),u}return $p(n,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),n}(ie);ni.excludes=[];function xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ri(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Up(e,t,n){return t&&ri(e.prototype,t),n&&ri(e,n),e}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pt(e)}function Vp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&In(e,t)}function qp(e,t){return t&&(Wp(t)==="object"||typeof t=="function")?t:xp(e)}function In(e,t){return In=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},In(e,t)}var Wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kp(e){var t=zp();return function(){var r=pt(e),u;if(t){var o=pt(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return qp(this,u)}}var Gp=function(e){Vp(n,e);var t=Kp(n);function n(r){Hp(this,n);var u;return u=t.call(this,r),u.props=new ft(r==null?void 0:r.props),u}return Up(n,null,[{key:"controlType",get:function(){return"data-view"}}]),n}(Ce),Xp={Designer:ni,Runtime:Gp,Property:ft};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.IS_PASTE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.IS_HIDE;const Qp=(e,t)=>{const n=Array.isArray(e),r=n?e:[e];ly(t==null?void 0:t.events),ny(r),ry(r);const u=ty(r),o=iy(u,t);let a=se(U(o,s=>ey(s,t)));return n?a:a[0]},Jp=[c.DIVIDER,c.TEXT,c.TITLE,c.LINK,c.BUTTON,"list-btn-export-list","list-btn-export-record"],Zp=["subtable","grid-table"],Yp=["simple-search"];function ey(e,t){var u,o,a,s,f,d;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Jp.includes(n.type)?n.controlType="base":n.controlType="form",Zp.includes(n.type)&&(n.controlType="list"),Yp.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),H((u=e==null?void 0:e.props)==null?void 0:u.caption)&&(n.props.caption=e.props.caption.zh),H((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),H((a=e==null?void 0:e.props)==null?void 0:a.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(H(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(H(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const y=n.props.entry_type||n.props.entryType;n.props.openType=y==="subpage"?"modal":"default",((d=n.children[0])==null?void 0:d.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((v,_)=>{const S=new rp.Designer;S.props.caption=H(v.field_name)?v.field_name.zh:v.field_name;const R=S.toSchema();R.id=v.header_id;const m=n.children[0].children[_].children[0];return!!m&&(R.children=[m]),R}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(y=>{y.label=H(y.text)?y.text.zh:y.text,y.id=y.id||y.opt_id||y.optId||y.data_id}),n=e),e.type==="grid-row"){const y=24/n.children.length;n.children=n.children.map(v=>{const _=new xr.Designer;_.props.span=y;const S=_.toSchema();return S.children.push(v),S})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],_={};y&&(ii(n,t),_.result=y.props.data_bind,n.id=y.id,n.props=y.props,n.props.script_src=y.props.script_src,n.props.script_echo=y.props.script_echo,n.props.precision=y.props.precision,n.props.micrometer=y.props.is_show_money,n.props.showUpperCase=y.props.is_show_chn),v&&(_.unit=v.props.data_bind,n.props.default_value={unit:v.props.value}),n.props.dataBind=_,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],_={},S={};y&&(ii(n,t),n.id=y.id,_.amount=y.props.data_bind,n.props.range_min=le(y.props.range_min),n.props.range_max=le(y.props.range_max),S.amount=le(y.props.value),n.props.required=y.props.required,n.props.is_hide=y.props.is_hide,n.props.default_state=y.props.default_state,n.props.caption=H(y.props.caption)?y.props.caption.zh:y.props.caption,n.props.is_hide_caption=y.props.is_hide_caption,n.props.showUpperCase=y.props.is_show_chn),v&&(_.currency=v.props.data_bind,S.currency=v.props.value,n.props.datasourceBind=v.props.datasource_bind,n.props.options=v.props.options.map(R=>({label:R.text,value:R.value}))),n.props.dataBind=_,n.props.defaultValue=S,delete n.children}if(e.type==="date-range"){n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1];n.props.placeholderStart=H(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=H(e.props.caption)?e.props.caption.zh:e.props.caption;const _={};y&&(_.min=y.props.data_bind),v&&(_.max=v.props.data_bind),n.props.dataBind=_,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=H(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=le(e.props.range_min),n.props.range_max=le(e.props.range_max),n.props.defaultValue=le(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),sy(n,t==null?void 0:t.control_events),n}function ii(e,t){if(!t)return;const{displayBoList:n=[],behaviors:r=[]}=t,u=e.id,o=e.children[0].id;n.forEach(a=>{a.id===u&&(a.id=o);const s=a.show_controls.findIndex(d=>d===u),f=a.hide_controls.findIndex(d=>d===u);s>-1&&a.show_controls.splice(s,1,o),f>-1&&a.hide_controls.splice(f,1,o)}),r.forEach(a=>{a.ctrl_id===u&&(a.id=o)})}function ty(e){if(!Array.isArray(e)||!e.find(u=>u.type==="grid"))return e;const r=new Xp.Designer().toSchema();return r.children=e,[r]}function ny(e){e.forEach(t=>{t.children&&ay(t.children)})}function ry(e){e.forEach(t=>{var r,u;if(!(t&&t.children))return;const n=t.children;for(let o=0;o<n.length;o++){const a=n[o],s=(u=(r=n[o])==null?void 0:r.children)==null?void 0:u[0];a.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&n.splice(o,1,s)}})}function iy(e,t){var S,R,m,O,p,E,I,D;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:r,children:u}=n,[o,a,s]=u;uy(o),s.props.is_fixed_header=(S=r==null?void 0:r.source_config)==null?void 0:S.is_fixed_header,oy(s,a);const f=(m=(R=r==null?void 0:r.source_config)==null?void 0:R.data_code)!=null?m:t==null?void 0:t.dataCode,d=((p=(O=r==null?void 0:r.source_config)==null?void 0:O.svc_code)!=null?p:f)?`${f}_selectMore`:void 0,y=(I=(E=r==null?void 0:r.source_config)==null?void 0:E.orders)!=null?I:[],v=new Op.Designer;v.props.datasourceBind=new Ee({dataCode:f,svcCode:d,orders:Hl(y)}),v.props.isShowSubList=r.is_show_sublist,v.props.triggerType=r.timing_type,v.props.triggerFieldCode=r.ctrl_field_code,(D=r==null?void 0:r.sublist_page)==null||D.sublists.forEach(P=>{P.title=H(P.title)?P.title.zh:P.title}),v.props.sublistPage=r.sublist_page;const _=v.toSchema();return _.children.push(o,s),[_]}function uy(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var r,u;const n=H(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(u=(r=t.dateType)==null?void 0:r.replace)==null?void 0:u.call(r,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function oy(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var u,o,a;let r={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:H(n.field_name)?n.field_name.zh:n.field_name}};return r.props.caption=H(n.field_name)?n.field_name.zh:n.field_name,r.props.filter_tags=n.is_filter_tags,r.props.fixed=n.fixed,r.props.display_bo_list=n.display_bo_list,r.props.date_type=n.date_type,r.props.optionConfig="none",n.header_width_config&&(r.props.widthType=n.header_width_config==="1"?"auto":"px"),r.props.widthType==="px"&&n.header_width&&(r.props.width=Number(n.header_width)),n.table_header_type==="order"?(r.type="order-column",r.props.fixed=!0):n.table_header_type==="operation"?(r.type="operation-column",r.props.check=(u=n.check)!=null?u:{},r.props.check.openType="window",r.props.delete=(o=n.delete)!=null?o:{},r.props.delete.openType="window",r.props.edit=(a=n.edit)!=null?a:{},r.props.edit.openType="window",r.props.fixed=!0):(r.type=n.field_type+"-column",n.field_type==="auto_number"&&(r.type="auto-number-column"),n.field_type==="relation"&&(r.type="varchar-column")),n.convert_switch&&(r.props.optionConfig=n.convert_type===1?"datasource":"custom"),r.props.optionConfig==="datasource"?r.props.datasource_bind=new Ee({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):r.props.optionConfig==="custom"&&(r.props.options=n.custom_match_bo_list),r}))}function ay(e){var n;let t=null;for(let r=0;r<e.length;r++){const u=e[r];if(!!u){if(u.children&&((n=u.children[0])==null?void 0:n.type)==="group-panel"){t=u.children[0];continue}t&&(t.children.push(u),e.splice(r,1),r--)}}}function ly(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 sy(e,t){var r;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(u=>{!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),t[e.id][u].push(...e.props.events[u].map(o=>o.name)))}),((r=t[e.id])==null?void 0:r.on_blur)&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const cy=(e,t)=>{const n=Array.isArray(e);let u=se(U(n?e:[e],o=>fy(o)));return n?u:u[0]};function fy(e,t){return e.type===c.LIST_VIEW&&e.children.find(r=>r.type===c.GRID_TABLE).props.headers.forEach(r=>{!r.props.data_bind&&r.props.field_code&&(r.props.data_bind=new as({dataCode:e.props.datasource_bind.data_code,fieldCode:r.props.field_code}))}),e}const dy=(e,t)=>{const n=Array.isArray(e);let u=se(U(n?e:[e],o=>py(o)));return n?u:u[0]};function py(e,t){return[c.BUTTON,c.CREATE_FORM_LIST_BUTTON,c.BATCH_SUBMISSION_LIST_BUTTON,c.SUBMISSION_RECORD_LIST_BUTTON,c.IMPORT_RECORD_LIST_BUTTON,c.EXPORT_RECORD_LIST_BUTTON,c.EXPORT_LIST_BUTTON,c.FORM_SELECT_BUTTON,c.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===c.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const yy=(e,t)=>{const n=Array.isArray(e);let u=se(U(n?e:[e],o=>vy(o)));return n?u:u[0]};function vy(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const hy=(e,t)=>{const n=Array.isArray(e);let u=se(U(n?e:[e],o=>gy(o)));return n?u:u[0]},by=[c.ROW,c.TAB,c.SUBTABLE,c.GRID_ROW,c.CARD_GROUP];function gy(e,t){return e.type===c.TAB_PANE&&(e.children=e.children.map(n=>{if(by.includes(n.type))return n;const r=new Ld.Designer,u=new xr.Designer;r.children.push(u);const o=r.toSchema();return o.children[0].children.push(n),o})),e}const _y=(e,t)=>{const n=Array.isArray(e);let u=se(U(n?e:[e],o=>my(o)));return n?u:u[0]};function my(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===c.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const Ey=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>Iy(o));return n?u:u[0]};function Iy(e,t){return e.type===c.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Ay=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>wy(o));return n?u:u[0]};function te(e,t){e.field_code&&(e.field_type=t)}function wy(e,t){var r;const n={[c.TITLE]:w.AUTO_NUMBER,[c.ADDRESS]:w.ADDRESS,[c.ATTACHMENT]:w.FILE,[c.AUTO_NUMBER]:w.AUTO_NUMBER,[c.CHECKBOX]:w.ARRAY,[c.DATE_PICKER]:w.TIMESTAMP,[c.DEPARTMENT]:w.DEPARTMENTS,[c.EMPLOYEE]:w.EMPLOYEES,[c.EMPLOYEE2]:w.EMPLOYEES,[c.IMAGE]:w.IMAGE,[c.INPUT]:w.VARCHAR,[c.NUMBER]:w.DECIMAL,[c.RADIO]:w.VARCHAR,[c.RICH_TEXT]:w.TEXT,[c.SCORE]:w.DECIMAL,[c.SELECT]:w.VARCHAR,[c.SELECT_MULTIPLE]:w.ARRAY,[c.SELECT_RELATION]:w.VARCHAR,[c.TEXTAREA]:w.TEXT,[c.TREE]:w.ARRAY,[c.SEARCH_DATE_RANGE]:w.ARRAY,[c.SEARCH_INPUT]:w.VARCHAR,[c.SEARCH_NUMBER_RANGE]:w.ARRAY};return n.hasOwnProperty(e.type)&&te(e.props.data_bind,n[e.type]),e.type===c.AMOUNT&&(te(e.props.data_bind.amount,w.DECIMAL),te(e.props.data_bind.currency,w.VARCHAR)),e.type===c.CALC&&(te(e.props.data_bind.result,w.DECIMAL),te(e.props.data_bind.unit,w.VARCHAR)),e.type===c.DATE_RANGE&&(te(e.props.data_bind.min,w.TIMESTAMP),te(e.props.data_bind.max,w.TIMESTAMP)),e.type===c.VUE_FORM_ITEM&&te(e.props.data_bind,(r=e.field_type)!=null?r:w.ANY),e}const Sy=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>Oy(o));return n?u:u[0]};function Oy(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===c.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const Cy=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>Ry(o));return n?u:u[0]};function Ry(e,t){return e.type===c.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var r,u;[w.VARCHAR,w.TEXT,w.AUTO_NUMBER].includes((u=(r=n.props)==null?void 0:r.data_bind)==null?void 0:u.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const ky=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>By(o));return n?u:u[0]};function By(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Py=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>Dy(o));return n?u:u[0]};function Dy(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const Ty=(e,t)=>{const n=Array.isArray(e);let u=U(n?e:[e],o=>$y(o));return n?u:u[0]};function $y(e,t){return e.type===c.TITLE&&e.props.config.push(Wt.ShowTitle),e.type===c.GRID_TABLE&&e.props.headers.map(n=>{var r,u,o,a,s,f,d,y,v,_,S,R,m,O,p,E,I,D,P,j,$,M;if(n.type===c.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(r=n==null?void 0:n.children)!=null?r:[],delete n.props.custom,((u=n.props)==null?void 0:u.check)!==void 0){const C=new Qt.Designer;Object.defineProperty(C,"id",{value:"listPageCheckBtnId"}),C.props.code="view",C.props.icon="iconliulan1",C.props.command="view",C.props.content=(o=n.props)==null?void 0:o.check.content,C.props.priorityProcess=(a=n.props)==null?void 0:a.check.priority_process,C.props.openType=(s=n.props)==null?void 0:s.check.open_type,C.props.formKey=(f=n.props)==null?void 0:f.check.form_key,((d=n.props)==null?void 0:d.check.is_show)&&n.children.push(C.toSchema()),(y=n.props)==null||delete y.check}if(((v=n.props)==null?void 0:v.edit)!==void 0){const C=new Qt.Designer;Object.defineProperty(C,"id",{value:"listPageEditBtnId"}),C.props.code="edit",C.props.icon="iconbianji1",C.props.command="edit",C.props.content=(_=n.props)==null?void 0:_.edit.content,C.props.priorityProcess=(S=n.props)==null?void 0:S.edit.priority_process,C.props.openType=(R=n.props)==null?void 0:R.edit.open_type,C.props.formKey=(m=n.props)==null?void 0:m.edit.form_key,((O=n.props)==null?void 0:O.edit.is_show)&&n.children.push(C.toSchema()),(p=n.props)==null||delete p.edit}if(((E=n.props)==null?void 0:E.delete)!==void 0){const C=new Qt.Designer;Object.defineProperty(C,"id",{value:"listPageDeleteBtnId"}),C.props.code="delete",C.props.icon="iconlajitong",C.props.command="delete",C.props.content=(I=n.props)==null?void 0:I.delete.content,C.props.priorityProcess=(D=n.props)==null?void 0:D.delete.priority_process,C.props.openType=(P=n.props)==null?void 0:P.delete.open_type,C.props.formKey=(j=n.props)==null?void 0:j.delete.form_key,C.props.needConfirm=!0,C.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(($=n.props)==null?void 0:$.delete.is_show)&&n.children.push(C.toSchema()),(M=n.props)==null||delete M.delete}}}),[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var ui={"v1.0":Qp,"v2.0":cy,"v2.1":dy,"v2.2":yy,"v2.3":hy,"v2.4":_y,"v2.5":Ey,"v2.6":Ay,"v2.7":Sy,"v2.8":Cy,"v2.9":ky,"v2.10":Py,"v3.0":Ty,"v3.1":()=>{}};const oi=(e,t)=>{const n=ai(e),r=ai(t),u=n.pop(),o=r.pop(),a=ci(n,r);return a!==0?a:u&&o?ci(u.split("."),o.split(".")):u||o?u?-1:1:0},yt=(e,t,n)=>{My(n);const r=oi(e,t);return fi[n].includes(r)},Fy=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ai=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Fy);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},li=e=>e==="*"||e==="x"||e==="X",si=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Ny=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Ly=(e,t)=>{if(li(e)||li(t))return 0;const[n,r]=Ny(si(e),si(t));return n>r?1:n<r?-1:0},ci=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=Ly(e[n]||"0",t[n]||"0");if(r!==0)return r}return 0},fi={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},di=Object.keys(fi),My=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(di.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${di.join("|")}`)};function An(e){return e.replace(/^v/,"")}const ye=Object.keys(ui).map(e=>An(e)).sort(oi),ke=ye[ye.length-1];class jy{constructor(t,n=ke){this.schemaVersion=t,this.toVersion=n,yt(n,ke,">")?Ln(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${ke}`):(!ye.includes(An(n))||!ye.includes(An(t)))&&Ln(`Version Builder: Please give me a valid version number, The valid version is: ${ye.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(yt(this.toVersion,this.schemaVersion,"="))return t;const r=this.callDataCleanerKeys.reduce((u,o,a,s)=>{var v;const f=(v=s[a+1])!=null?v:this.toVersion;Te(`Version Builder: current version: ${o}, nextVersion: ${f}`);const d=ui[o];let y=u;if(typeof d=="function"){const _=d(u,n);_&&(y=_)}return y},t);return Te(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),r}get runDataCleanerKeys(){return ye.filter(t=>yt(t,this.schemaVersion,">=")&&yt(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return ke}static get version(){return ke}}ae.VersionBuilder=jy,Object.defineProperty(ae,"__esModule",{value:!0})});
|
|
1
|
+
(function(ae,he){typeof exports=="object"&&typeof module!="undefined"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(ae=typeof globalThis!="undefined"?globalThis:ae||self,he(ae.modelDrivenUpgrade={}))})(this,function(ae){"use strict";var he="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",pi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",hi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bi="{caption}\u5FC5\u586B",gi="\u8BF7\u8F93\u5165\u6807\u9898",_i="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",mi="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ei="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ii="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ai="\u8BF7\u7ED1\u5B9A\u8868\u5355",wi="\u8BF7\u7ED1\u5B9A\u5217\u8868",Si="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Oi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ci="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ri="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ki="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Bi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Pi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Di="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ti="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",$i="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Fi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ni="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Li="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Mi="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ji="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xi="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Hi="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ui="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vi="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",qi="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Wi="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",zi="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ki="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Gi="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Xi="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qi="\u8BF7\u9009\u62E9\u7701",Ji="\u8BF7\u9009\u62E9\u5E02",Zi="\u8BF7\u9009\u62E9\u533A",Yi="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",eu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",tu="\u8BF7\u8F93\u5165\u5217\u5BBD",ru="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",nu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",iu="\u8BF7\u9009\u62E9\u63A7\u4EF6",uu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ou="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",au="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",lu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",su="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",du="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",pu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",bu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_u="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",mu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Eu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Iu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Au="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",wu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ou="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Cu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ru="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ku="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Bu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Pu={isNotNumber:he,isNotString:pi,isNotObject:yi,isNotArray:vi,isNotBoolean:hi,runtimeRequired:bi,pleaseEnterCaption:gi,pleaseEnterCaptionTip:_i,pleaseEnterRowCaption:mi,pleaseEnterPlaceholder:Ei,pleaseEnterFieldCode:Ii,pleaseEnterForm:Ai,pleaseEnterList:wi,pleaseEnterProcess:Si,pleaseEnterLabel:Oi,pleaseEnterValue:Ci,bizKeyNotBindFiled:Ri,pleaseSelectOneField:ki,pleaseEnterNumberRange:Bi,pleaseEnterAValueGreaterThanMin:Pi,pleaseEnterAValueLessThanMax:Di,numberRangeSetError:Ti,stringRangeError:$i,attachmentMaxSize:Fi,pleaseEnterTotalScoreSetting:Ni,theTotalScoreMustNotBeLessThan1:Li,scoreDefaultValueRange:Mi,attachmentLimitError:ji,PleaseReselectTheOptionalQuantity:xi,TheMaximumLengthIsGreaterThanTheMinimumLength:Hi,TheMinimumLengthIsGreaterThanTheMaximumLength:Ui,PleaseSelectTheCorrectOptionSettings:Vi,optionIdIsRepeat:qi,optionIsRequired:Wi,pleaseEnterDataCode:zi,pleaseEnterValueFieldCode:Ki,pleaseEnterSvcCode:Gi,pleaseBindAtLeastOneDisplayValue:Xi,pleaseSelectProvince:Qi,pleaseSelectCity:Ji,pleaseSelectDistrict:Zi,limitRowsCannotBeLessThan0:Yi,TheNumberOfRowsCannotBeLessThanMinRows:eu,pleaseEnterColumnWidth:tu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ru,pleaseCompleteAllRulesAndConditions:nu,pleaseSelectControl:iu,pleaseSelectAtLeastOneColumn:uu,pleaseSelectFillBackMode:ou,pleaseSelectDashboard:au,rootNodeIsRequired:lu,theViewNameCannotBeEmpty:su,pleaseSelectOcrType:cu,pleaseSelectAtLeastOneFieldToFillIn:fu,pleaseChooseAtLeastOne:du,pleaseEnterButtonContent:pu,pleaseEnterDataCodeInDataSetting:yu,pleaseEnterValueFieldCodeInDataSetting:vu,pleaseEnterSvcCodeInDataSetting:hu,pleaseBindAtLeastOneDisplayValueInDataSetting:bu,rootNodeIsRequiredInDataSetting:gu,pleaseEnterMaxHeight:_u,pleaseEnter:mu,pleaseEnterWatermark:Eu,pleaseEnterFileName:Iu,pleaseUploadAtLeastOnePrintTemplate:Au,pleaseAssignBusiness:wu,pleaseAssignExternal:Su,pleaseEnterAliasCode:Ou,pleaseSelectDataCode:Cu,pleaseSelectSvcCode:Ru,pleaseSelectJoinFieldCode:ku,pleaseSelectMainFieldCode:Bu},Du="Please enter a number",Tu="Please enter a string",$u="Please enter an object",Fu="Please enter an array",Nu="Please enter a boolean",Lu="{caption} Required",Mu="Please enter the title",ju="Please enter the bubble prompt",xu="Please enter the row title",Hu="Please enter the prompt text",Uu="Please bind data items",Vu="Please bind the form",qu="Please bind the list",Wu="Please bind the process",zu="Please enter the displayed value",Ku="Please enter the stored value",Gu="The document number is not bound to the data item",Xu="Please select at least one display field",Qu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ju="Please enter a value greater than or equal to {min}",Zu="Please enter a value less than or equal to {max}",Yu="The value range is set incorrectly",eo="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",to="The attachment size must be between 0MB and 1000MB",ro="Please fill in the total score setting",no="The total score cannot be less than 1",io="The default value must be between {min} and {max}",uo="The number of attachments uploaded must be between {min} and {max}",oo="Please re-select the optional quantity",ao="The maximum length of the control must be greater than the minimum length",lo="The minimum length of the control must be less than the maximum length",so="Please select the correct option setting",co="Option ID cannot be repeated",fo="Please enter at least one option",po="Please bind the data source",yo="Please bind the stored value",vo="Please bind the service",ho="At least one display value must be bound",bo="Please select a province",go="Please select a city",_o="Please select a district",mo="The minimum number of lines to fill in cannot be less than 0",Eo="The number of rows cannot be less than {min} rows",Io="Please enter the column width",Ao="Please set the logical relationship of all rule conditions",wo="Please complete all rules and conditions",So="please select control",Oo="Please select the dashboard",Co="View name cannot be empty",Ro="Please select recognition type",ko="Please select at least one field to fill in",Bo="Please select at least one",Po="Please enter the button title",Do="Please bind the business model in the data settings",To="Please bind storage values in data settings",$o="Please bind the service in the data settings",Fo="Please bind at least one display value in the data settings",No="Please select the root node in the data settings",Lo="Please enter the maximum height",Mo="The input content cannot be empty",jo="Watermark cannot be empty",xo="File name cannot be empty",Ho="Please upload at least one printing template!\uFF01",Uo="Please select a specific business department",Vo="Please select a specified external organization",qo="Please enter a sub table alias",Wo="Please select the associated table to set the business model",zo="Please select the association table to set the binding service",Ko="Select associated sub table fields",Go="Please select the associated main table field",Xo={isNotNumber:Du,isNotString:Tu,isNotObject:$u,isNotArray:Fu,isNotBoolean:Nu,runtimeRequired:Lu,pleaseEnterCaption:Mu,pleaseEnterCaptionTip:ju,pleaseEnterRowCaption:xu,pleaseEnterPlaceholder:Hu,pleaseEnterFieldCode:Uu,pleaseEnterForm:Vu,pleaseEnterList:qu,pleaseEnterProcess:Wu,pleaseEnterLabel:zu,pleaseEnterValue:Ku,bizKeyNotBindFiled:Gu,pleaseSelectOneField:Xu,pleaseEnterNumberRange:Qu,pleaseEnterAValueGreaterThanMin:Ju,pleaseEnterAValueLessThanMax:Zu,numberRangeSetError:Yu,stringRangeError:eo,attachmentMaxSize:to,pleaseEnterTotalScoreSetting:ro,theTotalScoreMustNotBeLessThan1:no,scoreDefaultValueRange:io,attachmentLimitError:uo,PleaseReselectTheOptionalQuantity:oo,TheMaximumLengthIsGreaterThanTheMinimumLength:ao,TheMinimumLengthIsGreaterThanTheMaximumLength:lo,PleaseSelectTheCorrectOptionSettings:so,optionIdIsRepeat:co,optionIsRequired:fo,pleaseEnterDataCode:po,pleaseEnterValueFieldCode:yo,pleaseEnterSvcCode:vo,pleaseBindAtLeastOneDisplayValue:ho,pleaseSelectProvince:bo,pleaseSelectCity:go,pleaseSelectDistrict:_o,limitRowsCannotBeLessThan0:mo,TheNumberOfRowsCannotBeLessThanMinRows:Eo,pleaseEnterColumnWidth:Io,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ao,pleaseCompleteAllRulesAndConditions:wo,pleaseSelectControl:So,pleaseSelectDashboard:Oo,theViewNameCannotBeEmpty:Co,pleaseSelectOcrType:Ro,pleaseSelectAtLeastOneFieldToFillIn:ko,pleaseChooseAtLeastOne:Bo,pleaseEnterButtonContent:Po,pleaseEnterDataCodeInDataSetting:Do,pleaseEnterValueFieldCodeInDataSetting:To,pleaseEnterSvcCodeInDataSetting:$o,pleaseBindAtLeastOneDisplayValueInDataSetting:Fo,rootNodeIsRequiredInDataSetting:No,pleaseEnterMaxHeight:Lo,pleaseEnter:Mo,pleaseEnterWatermark:jo,pleaseEnterFileName:xo,pleaseUploadAtLeastOnePrintTemplate:Ho,pleaseAssignBusiness:Uo,pleaseAssignExternal:Vo,pleaseEnterAliasCode:qo,pleaseSelectDataCode:Wo,pleaseSelectSvcCode:zo,pleaseSelectJoinFieldCode:Ko,pleaseSelectMainFieldCode:Go},Qo="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jo="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zo="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yo="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ea="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ta="{caption}\u5FC5\u9808",ra="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",na="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ia="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ua="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",la="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ca="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",da="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ya="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",va="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ha="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ba="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ga="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ma="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ea="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ia="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Aa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wa="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Sa="\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",Oa="\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",Ca="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ra="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ka="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ba="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pa="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Da="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ta="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",$a="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Fa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Na="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",La="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ma="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ja="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ha="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ua="please select control",Va="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wa="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",za="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ka="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ya="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",el="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tl="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",rl="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",nl="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",il="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",ul="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ol="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",al="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ll="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",sl="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cl="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",fl="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dl={isNotNumber:Qo,isNotString:Jo,isNotObject:Zo,isNotArray:Yo,isNotBoolean:ea,runtimeRequired:ta,pleaseEnterCaption:ra,pleaseEnterCaptionTip:na,pleaseEnterRowCaption:ia,pleaseEnterPlaceholder:ua,pleaseEnterFieldCode:oa,pleaseEnterForm:aa,pleaseEnterList:la,pleaseEnterProcess:sa,pleaseEnterLabel:ca,pleaseEnterValue:fa,bizKeyNotBindFiled:da,pleaseSelectOneField:pa,pleaseEnterNumberRange:ya,pleaseEnterAValueGreaterThanMin:va,pleaseEnterAValueLessThanMax:ha,numberRangeSetError:ba,stringRangeError:ga,attachmentMaxSize:_a,pleaseEnterTotalScoreSetting:ma,theTotalScoreMustNotBeLessThan1:Ea,scoreDefaultValueRange:Ia,attachmentLimitError:Aa,PleaseReselectTheOptionalQuantity:wa,TheMaximumLengthIsGreaterThanTheMinimumLength:Sa,TheMinimumLengthIsGreaterThanTheMaximumLength:Oa,PleaseSelectTheCorrectOptionSettings:Ca,optionIdIsRepeat:Ra,optionIsRequired:ka,pleaseEnterDataCode:Ba,pleaseEnterValueFieldCode:Pa,pleaseEnterSvcCode:Da,pleaseBindAtLeastOneDisplayValue:Ta,pleaseSelectProvince:$a,pleaseSelectCity:Fa,pleaseSelectDistrict:Na,limitRowsCannotBeLessThan0:La,TheNumberOfRowsCannotBeLessThanMinRows:Ma,pleaseEnterColumnWidth:ja,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xa,pleaseCompleteAllRulesAndConditions:Ha,pleaseSelectControl:Ua,pleaseSelectDashboard:Va,theViewNameCannotBeEmpty:qa,pleaseSelectOcrType:Wa,pleaseSelectAtLeastOneFieldToFillIn:za,pleaseChooseAtLeastOne:Ka,pleaseEnterButtonContent:Ga,pleaseEnterDataCodeInDataSetting:Xa,pleaseEnterValueFieldCodeInDataSetting:Qa,pleaseEnterSvcCodeInDataSetting:Ja,pleaseBindAtLeastOneDisplayValueInDataSetting:Za,rootNodeIsRequiredInDataSetting:Ya,pleaseEnterMaxHeight:el,pleaseEnter:tl,pleaseEnterWatermark:rl,pleaseEnterFileName:nl,pleaseUploadAtLeastOnePrintTemplate:il,pleaseAssignBusiness:ul,pleaseAssignExternal:ol,pleaseEnterAliasCode:al,pleaseSelectDataCode:ll,pleaseSelectSvcCode:sl,pleaseSelectJoinFieldCode:cl,pleaseSelectMainFieldCode:fl},pl={zhCN:Pu,enUS:Xo,jaJP:dl},Cr;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Cr||(Cr={}));var Rr;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(Rr||(Rr={}));var yl="zh-CN";function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kr;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(kr||(kr={}));var c;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(c||(c={}));var w;(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"})(w||(w={}));var x;x={},z(x,w.ARRAY,c.ARRAY_COLUMN),z(x,w.AUTO_NUMBER,c.AUTO_NUMBER_COLUMN),z(x,w.DECIMAL,c.DECIMAL_COLUMN),z(x,w.DEPARTMENTS,c.DEPARTMENT_COLUMN),z(x,w.FILE,c.FILE_COLUMN),z(x,w.IMAGE,c.IMAGE_COLUMN),z(x,w.ADDRESS,c.LOCATION_COLUMN),z(x,w.EMPLOYEES,c.EMPLOYEE_COLUMN),z(x,w.TEXT,c.TEXT_COLUMN),z(x,w.TIMESCOPE,c.TIMESCOPE_COLUMN),z(x,w.TIMESTAMP,c.TIMESTAMP_COLUMN),z(x,w.VARCHAR,c.VARCHAR_COLUMN),z(x,w.RELATION,c.VARCHAR_COLUMN);var Br;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Br||(Br={}));var Pr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vl=Pr+"0123456789";function Pe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Pr:vl,u=Math.random()*n.length;t+=n[parseInt(String(u),10)]}return t}function ht(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function hl(e){if(Array.isArray(e))return ht(e)}function bl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(){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 De(e,t,r){return gl()?De=Reflect.construct:De=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ge(p,a.prototype),p},De.apply(null,arguments)}function be(e){return be=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},be(e)}function Tr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}function _l(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ml(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function El(){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 Il(e,t){return t&&(Al(t)==="object"||typeof t=="function")?t:bl(e)}function ge(e,t){return ge=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ge(e,t)}function $r(e){return hl(e)||ml(e)||wl(e)||El()}var Al=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wl(e,t){if(!!e){if(typeof e=="string")return ht(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ht(e,t)}}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(n){if(n===null||!_l(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,u)}function u(){return De(n,arguments,be(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ge(u,n)},bt(e)}function Sl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fr(e){var t=Sl();return function(){var n=be(e),u;if(t){var o=be(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Il(this,u)}}var gt=console;function Ol(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,u=t.slice(1);(n=gt).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat($r(u)))}function Te(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,u=t.slice(1);(n=gt).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat($r(u)))}function Cl(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _t=function(e){Tr(r,e);var t=Fr(r);function r(n){Dr(this,r);var u;return u=t.call(this,n),u.name="\u{1F4A5} Driven Error",u.message=n?Cl(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return r}(bt(Error)),Rl=function(e){Tr(r,e);var t=Fr(r);function r(n){Dr(this,r);var u;return u=t.call(this,n),u.name="\u{1F6A8} Driven Reference Error",u}return r}(_t);function Nr(e){throw new _t(e)}function Lr(e){throw new Rl(e)}function kl(e){gt.error(new _t(e))}var Bl=Object.prototype.toString;function Mr(e,t){return Bl.call(e)==="[object "+t+"]"}function Pl(e){return Mr(e,"String")}function Dl(e){return Mr(e,"Promise")}var Tl=function(){function e(t){var r,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(r=t.messages)!==null&&r!==void 0?r:this.getPreImport(t.locale))!==null&&n!==void 0?n:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var r=this;this.locale=t,this._messageCache.clear();var n=this.getMessageData();Dl(n)?n.then(function(u){r._messageCache.clear(),r.messages[r.localeInMessageKey]=u}):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 u=this.getMessage(t);return u?this.formatMessage(u,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(u,o,a,s){if(u!==void 0){var f=u[o];if(!(a===s.length-1&&!Pl(f)))return f}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,u){var o=r[u];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 $l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fl(e,t,r){return t&&jr(e.prototype,t),r&&jr(e,r),e}var T=function(){function e(){$l(this,e)}return Fl(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yl;return new Tl({locale:r,messages:pl})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();T.$i18n=T.resetI18n();function Nl(e,t,r){var n=t.replace(/\[(\d)]/g,function(o,a){return"."+a}).split("."),u=!1;return n.reduce(function(o,a,s,f){var p=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,a)){Ol("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),o,o);return}return s===f.length-1&&!Object.is(p[a],r)&&(p[a]=r,u=!0),p[a]}},e),u}var Ll=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},mt={exports:{}};(function(e){(function(t){var r=function(d,E,I){if(!p(E)||v(E)||_(E)||S(E)||f(E))return E;var D,P=0,j=0;if(y(E))for(D=[],j=E.length;P<j;P++)D.push(r(d,E[P],I));else{D={};for(var $ in E)Object.prototype.hasOwnProperty.call(E,$)&&(D[d($,I)]=r(d,E[$],I))}return D},n=function(d,E){E=E||{};var I=E.separator||"_",D=E.split||/(?=[A-Z])/;return d.split(D).join(I)},u=function(d){return R(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(E,I){return I?I.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var E=u(d);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(d,E){return n(d,E).toLowerCase()},s=Object.prototype.toString,f=function(d){return typeof d=="function"},p=function(d){return d===Object(d)},y=function(d){return s.call(d)=="[object Array]"},v=function(d){return s.call(d)=="[object Date]"},_=function(d){return s.call(d)=="[object RegExp]"},S=function(d){return s.call(d)=="[object Boolean]"},R=function(d){return d=d-0,d===d},m=function(d,E){var I=E&&"process"in E?E.process:E;return typeof I!="function"?d:function(D,P){return I(D,d,P)}},O={camelize:u,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(d,E){return r(m(u,E),d)},decamelizeKeys:function(d,E){return r(m(a,E),d,E)},pascalizeKeys:function(d,E){return r(m(o,E),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:t.humps=O})(Ll)})(mt);var xr={};Object.defineProperty(xr,"__esModule",{value:!0});function Et(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Et(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Et(n)}return t}}var Ml=xr.default=Et;function _e(e){if(e!==void 0)return typeof e=="object"?Ml(e):e}function H(e){return Hr(e)&&"zh"in e}function Hr(e){return Object.prototype.toString.call(e)==="[object Object]"}function jl(e){return Array.isArray(e)}function le(e){return isNaN(parseFloat(e))?"":Number(e)}function xl(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function U(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var u=n;return Array.isArray(n==null?void 0:n.children)&&(u.children=U(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(u.footers=U(n.footers,t)),t(u)})),r}function Hl(e){return mt.exports.camelizeKeys(e)}function se(e){return mt.exports.decamelizeKeys(e)}var Ur={exports:{}};(function(e){var t=function(r){var n=Object.prototype,u=n.hasOwnProperty,o=Object.defineProperty||function(b,h,g){b[h]=g.value},a,s=typeof Symbol=="function"?Symbol:{},f=s.iterator||"@@iterator",p=s.asyncIterator||"@@asyncIterator",y=s.toStringTag||"@@toStringTag";function v(b,h,g){return Object.defineProperty(b,h,{value:g,enumerable:!0,configurable:!0,writable:!0}),b[h]}try{v({},"")}catch(b){v=function(h,g,k){return h[g]=k}}function _(b,h,g,k){var A=h&&h.prototype instanceof I?h:I,F=Object.create(A.prototype),V=new wr(k||[]);return o(F,"_invoke",{value:vt(b,g,V)}),F}r.wrap=_;function S(b,h,g){try{return{type:"normal",arg:b.call(h,g)}}catch(k){return{type:"throw",arg:k}}}var R="suspendedStart",m="suspendedYield",O="executing",d="completed",E={};function I(){}function D(){}function P(){}var j={};v(j,f,function(){return this});var $=Object.getPrototypeOf,M=$&&$($(Sr([])));M&&M!==n&&u.call(M,f)&&(j=M);var C=P.prototype=I.prototype=Object.create(j);D.prototype=P,o(C,"constructor",{value:P,configurable:!0}),o(P,"constructor",{value:D,configurable:!0}),D.displayName=v(P,y,"GeneratorFunction");function J(b){["next","throw","return"].forEach(function(h){v(b,h,function(g){return this._invoke(h,g)})})}r.isGeneratorFunction=function(b){var h=typeof b=="function"&&b.constructor;return h?h===D||(h.displayName||h.name)==="GeneratorFunction":!1},r.mark=function(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,P):(b.__proto__=P,v(b,y,"GeneratorFunction")),b.prototype=Object.create(C),b},r.awrap=function(b){return{__await:b}};function ye(b,h){function g(F,V,q,G){var W=S(b[F],b,V);if(W.type==="throw")G(W.arg);else{var Or=W.arg,Be=Or.value;return Be&&typeof Be=="object"&&u.call(Be,"__await")?h.resolve(Be.__await).then(function(oe){g("next",oe,q,G)},function(oe){g("throw",oe,q,G)}):h.resolve(Be).then(function(oe){Or.value=oe,q(Or)},function(oe){return g("throw",oe,q,G)})}}var k;function A(F,V){function q(){return new h(function(G,W){g(F,V,G,W)})}return k=k?k.then(q,q):q()}o(this,"_invoke",{value:A})}J(ye.prototype),v(ye.prototype,p,function(){return this}),r.AsyncIterator=ye,r.async=function(b,h,g,k,A){A===void 0&&(A=Promise);var F=new ye(_(b,h,g,k),A);return r.isGeneratorFunction(h)?F:F.next().then(function(V){return V.done?V.value:F.next()})};function vt(b,h,g){var k=R;return function(F,V){if(k===O)throw new Error("Generator is already running");if(k===d){if(F==="throw")throw V;return xy()}for(g.method=F,g.arg=V;;){var q=g.delegate;if(q){var G=ve(q,g);if(G){if(G===E)continue;return G}}if(g.method==="next")g.sent=g._sent=g.arg;else if(g.method==="throw"){if(k===R)throw k=d,g.arg;g.dispatchException(g.arg)}else g.method==="return"&&g.abrupt("return",g.arg);k=O;var W=S(b,h,g);if(W.type==="normal"){if(k=g.done?d:m,W.arg===E)continue;return{value:W.arg,done:g.done}}else W.type==="throw"&&(k=d,g.method="throw",g.arg=W.arg)}}}function ve(b,h){var g=h.method,k=b.iterator[g];if(k===a)return h.delegate=null,g==="throw"&&b.iterator.return&&(h.method="return",h.arg=a,ve(b,h),h.method==="throw")||g!=="return"&&(h.method="throw",h.arg=new TypeError("The iterator does not provide a '"+g+"' method")),E;var A=S(k,b.iterator,h.arg);if(A.type==="throw")return h.method="throw",h.arg=A.arg,h.delegate=null,E;var F=A.arg;if(!F)return h.method="throw",h.arg=new TypeError("iterator result is not an object"),h.delegate=null,E;if(F.done)h[b.resultName]=F.value,h.next=b.nextLoc,h.method!=="return"&&(h.method="next",h.arg=a);else return F;return h.delegate=null,E}J(C),v(C,y,"Generator"),v(C,f,function(){return this}),v(C,"toString",function(){return"[object Generator]"});function re(b){var h={tryLoc:b[0]};1 in b&&(h.catchLoc=b[1]),2 in b&&(h.finallyLoc=b[2],h.afterLoc=b[3]),this.tryEntries.push(h)}function Ar(b){var h=b.completion||{};h.type="normal",delete h.arg,b.completion=h}function wr(b){this.tryEntries=[{tryLoc:"root"}],b.forEach(re,this),this.reset(!0)}r.keys=function(b){var h=Object(b),g=[];for(var k in h)g.push(k);return g.reverse(),function A(){for(;g.length;){var F=g.pop();if(F in h)return A.value=F,A.done=!1,A}return A.done=!0,A}};function Sr(b){if(b||b===""){var h=b[f];if(h)return h.call(b);if(typeof b.next=="function")return b;if(!isNaN(b.length)){var g=-1,k=function A(){for(;++g<b.length;)if(u.call(b,g))return A.value=b[g],A.done=!1,A;return A.value=a,A.done=!0,A};return k.next=k}}throw new TypeError(typeof b+" is not iterable")}r.values=Sr;function xy(){return{value:a,done:!0}}return wr.prototype={constructor:wr,reset:function(b){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(Ar),!b)for(var h in this)h.charAt(0)==="t"&&u.call(this,h)&&!isNaN(+h.slice(1))&&(this[h]=a)},stop:function(){this.done=!0;var b=this.tryEntries[0],h=b.completion;if(h.type==="throw")throw h.arg;return this.rval},dispatchException:function(b){if(this.done)throw b;var h=this;function g(G,W){return F.type="throw",F.arg=b,h.next=G,W&&(h.method="next",h.arg=a),!!W}for(var k=this.tryEntries.length-1;k>=0;--k){var A=this.tryEntries[k],F=A.completion;if(A.tryLoc==="root")return g("end");if(A.tryLoc<=this.prev){var V=u.call(A,"catchLoc"),q=u.call(A,"finallyLoc");if(V&&q){if(this.prev<A.catchLoc)return g(A.catchLoc,!0);if(this.prev<A.finallyLoc)return g(A.finallyLoc)}else if(V){if(this.prev<A.catchLoc)return g(A.catchLoc,!0)}else if(q){if(this.prev<A.finallyLoc)return g(A.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(b,h){for(var g=this.tryEntries.length-1;g>=0;--g){var k=this.tryEntries[g];if(k.tryLoc<=this.prev&&u.call(k,"finallyLoc")&&this.prev<k.finallyLoc){var A=k;break}}A&&(b==="break"||b==="continue")&&A.tryLoc<=h&&h<=A.finallyLoc&&(A=null);var F=A?A.completion:{};return F.type=b,F.arg=h,A?(this.method="next",this.next=A.finallyLoc,E):this.complete(F)},complete:function(b,h){if(b.type==="throw")throw b.arg;return b.type==="break"||b.type==="continue"?this.next=b.arg:b.type==="return"?(this.rval=this.arg=b.arg,this.method="return",this.next="end"):b.type==="normal"&&h&&(this.next=h),E},finish:function(b){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.finallyLoc===b)return this.complete(g.completion,g.afterLoc),Ar(g),E}},catch:function(b){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.tryLoc===b){var k=g.completion;if(k.type==="throw"){var A=k.arg;Ar(g)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(b,h,g){return this.delegate={iterator:Sr(b),resultName:h,nextLoc:g},this.method==="next"&&(this.arg=a),E}},r}(e.exports);try{regeneratorRuntime=t}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Ur);var Z=Ur.exports;function It(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ul(e){if(Array.isArray(e))return It(e)}function Vr(e,t,r,n,u,o,a){try{var s=e[o](a),f=s.value}catch(p){r(p);return}s.done?t(f):Promise.resolve(f).then(n,u)}function Vl(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(f){Vr(o,n,u,a,s,"next",f)}function s(f){Vr(o,n,u,a,s,"throw",f)}a(void 0)})}}function ql(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wl(e,t,r){return t&&qr(e.prototype,t),r&&qr(e,r),e}function zl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kl(){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 Ul(e)||zl(e)||Gl(e)||Kl()}function Gl(e,t){if(!!e){if(typeof e=="string")return It(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return It(e,t)}}var Xl=function(){function e(){ql(this,e),this._events=new Map,this.debug=!1}return Wl(e,[{key:"emit",value:function(r){for(var n=arguments.length,u=new Array(n>1?n-1:0),o=1;o<n;o++)u[o-1]=arguments[o];var a=this;return Vl(Z.mark(function s(){var f,p,y,v,_,S,R,m,O,d;return Z.wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(f=a._events.get(r),p=[],!f){I.next=42;break}y=f.slice(),v=!0,_=!1,S=void 0,I.prev=5,R=y[Symbol.iterator]();case 7:if(v=(m=R.next()).done){I.next=28;break}if(O=m.value,f.includes(O)){I.next=11;break}return I.abrupt("continue",25);case 11:return I.prev=11,a.debug&&Te.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(At(u))),I.next=15,O.apply(null,At(u));case 15:if(d=I.sent,a.debug&&Te.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(O.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+O.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(At(u),[d])),p.push(d),d!==!1){I.next=20;break}return I.abrupt("break",28);case 20:I.next=25;break;case 22:I.prev=22,I.t0=I.catch(11),kl(String(I.t0)+":"+String(I.t0.stack));case 25:v=!0,I.next=7;break;case 28:I.next=34;break;case 30:I.prev=30,I.t1=I.catch(5),_=!0,S=I.t1;case 34:I.prev=34,I.prev=35,!v&&R.return!=null&&R.return();case 37:if(I.prev=37,!_){I.next=40;break}throw S;case 40:return I.finish(37);case 41:return I.finish(34);case 42:return I.abrupt("return",p);case 43:case"end":return I.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(r,n){if(this._events.has(r)){var u;(u=this._events.get(r))===null||u===void 0||u.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var u=this._events.get(r),o=u==null?void 0:u.indexOf(n);u==null||u.splice(o,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}(),Ql=[];new Set(Ql.map(function(e){return e.Designer.controlType}));function Jl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$e(e)}function Wr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wt(e,t)}function Zl(e,t){return t&&(Yl(t)==="object"||typeof t=="function")?t:Jl(e)}function wt(e,t){return wt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},wt(e,t)}var Yl=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 zr(e){var t=es();return function(){var n=$e(e),u;if(t){var o=$e(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Zl(this,u)}}var ts=function e(t){L(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 u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},rs=function e(t){L(this,e);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},St=function(e){Wr(r,e);var t=zr(r);function r(n){L(this,r);var u;u=t.call(this,n);var o;u.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:240;var a;return u.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",u}return r}(rs),ns=function e(t){L(this,e),this.pc=new St(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new St(t==null?void 0:t.mobile):new St({width:130,minWidth:180})},Kr=function e(t){L(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 u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:""},is=function e(t){L(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 u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:w.VARCHAR},us=function(e){Wr(r,e);var t=zr(r);function r(n){L(this,r);var u;u=t.call(this,n);var o;u.title=(o=n==null?void 0:n.title)!==null&&o!==void 0?o:"";var a;u.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var s;u.isOpenFilter=(s=n==null?void 0:n.isOpenFilter)!==null&&s!==void 0?s:!1;var f;return u.filters=(f=n==null?void 0:n.filters)!==null&&f!==void 0?f:[],u}return r}(Kr),os=function e(t){L(this,e);var r,n;this.type="sublist-page",this.formBind=new Kr(t==null?void 0:t.formBind);var u;this.displayFields=(u=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(a){return new is(a)}))!==null&&u!==void 0?u:[];var o;this.sublists=(o=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(a){return new us(a)}))!==null&&o!==void 0?o:[]},as=function e(t){L(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},ls=function e(t){L(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 u;this.displayBos=(u=t==null?void 0:t.displayBos)!==null&&u!==void 0?u:[]},Gr=function e(t){L(this,e),this.type="conditions";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Pe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var u;this.level=(u=t==null?void 0:t.level)!==null&&u!==void 0?u:0;var o;if(this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"and",this.children=[],Array.isArray(t==null?void 0:t.children)){var a=this;t==null||t.children.map(function(s){if(s.children!==void 0){var f,p=new e(s);(f=a.children)===null||f===void 0||f.push(p)}else{var y,v=new Ot(s);(y=a.children)===null||y===void 0||y.push(v)}})}},Ot=function e(t){L(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Pe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var u;this.symbol=(u=t==null?void 0:t.symbol)!==null&&u!==void 0?u:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var a;this.describe=(a=t==null?void 0:t.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new as(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ls(t==null?void 0:t.rightVariableBo)},ss=function e(t){L(this,e);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new me(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},cs=function e(t){L(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},fs=function e(t){L(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 ds(e){var t,r,n,u,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Gr(f):new Ot(f)}))!==null&&o!==void 0?o:[];var a;this.viewFilters=(a=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new Gr(f):new Ot(f)}))!==null&&a!==void 0?a:[];var s;this.orders=(s=(n=e)===null||n===void 0||(u=n.orders)===null||u===void 0?void 0:u.map(function(f){return new fs(f)}))!==null&&s!==void 0?s:[]}var me=function e(t){L(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var u;this.valueFieldCode=(u=t==null?void 0:t.valueFieldCode)!==null&&u!==void 0?u:"",this.displayBoList=[];var o;if(this.isOpenViewFilters=(o=t==null?void 0:t.isOpenViewFilters)!==null&&o!==void 0?o:0,Array.isArray(t==null?void 0:t.displayBoList)){var a=this;t==null||t.displayBoList.map(function(y){var v;(v=a.displayBoList)===null||v===void 0||v.push(new cs(y))})}var s;this.keywordMapping=(s=t==null?void 0:t.keywordMapping)!==null&&s!==void 0?s:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var p;this.svcCode=(p=t==null?void 0:t.svcCode)!==null&&p!==void 0?p:"",ds.call(this,t)},Xr;(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"})(Xr||(Xr={}));var l;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"})(l||(l={}));var Ct;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Ct||(Ct={}));var Ee=function e(t){L(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 u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var a;this.type=(a=t==null?void 0:t.type)!==null&&a!==void 0?a:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},ps=function e(t){L(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 u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vs(){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 Fe(e,t,r){return vs()?Fe=Reflect.construct:Fe=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&Ae(p,a.prototype),p},Fe.apply(null,arguments)}function Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ie(e)}function hs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function gs(e,t){return t&&(_s(t)==="object"||typeof t=="function")?t:ys(e)}function Ae(e,t){return Ae=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ae(e,t)}var _s=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kt(e){var t=typeof Map=="function"?new Map:void 0;return kt=function(n){if(n===null||!bs(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,u)}function u(){return Fe(n,arguments,Ie(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ae(u,n)},kt(e)}function ms(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Es(e){var t=ms();return function(){var n=Ie(e),u;if(t){var o=Ie(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return gs(this,u)}}var Ne=function e(t){Rt(this,e),this.isHide={type:"boolean"}},Bt=function(e){hs(r,e);var t=Es(r);function r(n){return Rt(this,r),t.call(this)}return r}(kt(Array)),ce=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Rt(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new ps(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:r};ce.Rules=Ne,ce.RuntimeRules=Bt;function Q(){return Q=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},Q.apply(this,arguments)}function Is(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Pt(e){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pt(e)}function Le(e,t){return Le=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Le(e,t)}function As(){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 As()?Me=Reflect.construct:Me=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&Le(p,a.prototype),p},Me.apply(null,arguments)}function ws(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Dt(e){var t=typeof Map=="function"?new Map:void 0;return Dt=function(n){if(n===null||!ws(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,u)}function u(){return Me(n,arguments,Pt(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Le(u,n)},Dt(e)}var Ss=/%[sdj%]/g,Qr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qr=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Tt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function K(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(Ss,function(s){if(s==="%%")return"%";if(n>=o)return s;switch(s){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(f){return"[Circular]"}break;default:return s}});return a}return u}function Os(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function N(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Os(t)&&typeof e=="string"&&!e)}function Cs(e,t,r){var n=[],u=0,o=e.length;function a(s){n.push.apply(n,s),u++,u===o&&r(n)}e.forEach(function(s){t(s,a)})}function Jr(e,t,r){var n=0,u=e.length;function o(a){if(a&&a.length){r(a);return}var s=n;n=n+1,s<u?t(e[s],o):r([])}o([])}function Rs(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var Zr=function(e){Is(t,e);function t(r,n){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=r,u.fields=n,u}return t}(Dt(Error));function ks(e,t,r,n){if(t.first){var u=new Promise(function(v,_){var S=function(O){return n(O),O.length?_(new Zr(O,Tt(O))):v()},R=Rs(e);Jr(R,r,S)});return u.catch(function(v){return v}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,f=0,p=[],y=new Promise(function(v,_){var S=function(m){if(p.push.apply(p,m),f++,f===s)return n(p),p.length?_(new Zr(p,Tt(p))):v()};a.length||(n(p),v()),a.forEach(function(R){var m=e[R];o.indexOf(R)!==-1?Jr(m,r,S):Cs(m,r,S)})});return y.catch(function(v){return v}),y}function Yr(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 en(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]=Q(Q({},e[r]),n):e[r]=n}}return e}function tn(e,t,r,n,u,o){e.required&&(!r.hasOwnProperty(e.field)||N(t,o||e.type))&&n.push(K(u.messages.required,e.fullField))}function Bs(e,t,r,n,u){(/^\s+$/.test(t)||t==="")&&n.push(K(u.messages.whitespace,e.fullField))}var $t={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},we={integer:function(t){return we.number(t)&&parseInt(t,10)===t},float:function(t){return we.number(t)&&!we.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"&&!we.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match($t.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match($t.url)},hex:function(t){return typeof t=="string"&&!!t.match($t.hex)}};function Ps(e,t,r,n,u){if(e.required&&t===void 0){tn(e,t,r,n,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?we[a](t)||n.push(K(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(K(u.messages.types[a],e.fullField,e.type))}function Ds(e,t,r,n,u){var o=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=t,y=null,v=typeof t=="number",_=typeof t=="string",S=Array.isArray(t);if(v?y="number":_?y="string":S&&(y="array"),!y)return!1;S&&(p=t.length),_&&(p=t.replace(f,"_").length),o?p!==e.len&&n.push(K(u.messages[y].len,e.fullField,e.len)):a&&!s&&p<e.min?n.push(K(u.messages[y].min,e.fullField,e.min)):s&&!a&&p>e.max?n.push(K(u.messages[y].max,e.fullField,e.max)):a&&s&&(p<e.min||p>e.max)&&n.push(K(u.messages[y].range,e.fullField,e.min,e.max))}var fe="enum";function Ts(e,t,r,n,u){e[fe]=Array.isArray(e[fe])?e[fe]:[],e[fe].indexOf(t)===-1&&n.push(K(u.messages[fe],e.fullField,e[fe].join(", ")))}function $s(e,t,r,n,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(K(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||n.push(K(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var B={required:tn,whitespace:Bs,type:Ps,range:Ds,enum:Ts,pattern:$s};function Fs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t,"string")&&!e.required)return r();B.required(e,t,n,o,u,"string"),N(t,"string")||(B.type(e,t,n,o,u),B.range(e,t,n,o,u),B.pattern(e,t,n,o,u),e.whitespace===!0&&B.whitespace(e,t,n,o,u))}r(o)}function Ns(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&B.type(e,t,n,o,u)}r(o)}function Ls(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&(B.type(e,t,n,o,u),B.range(e,t,n,o,u))}r(o)}function Ms(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&B.type(e,t,n,o,u)}r(o)}function js(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),N(t)||B.type(e,t,n,o,u)}r(o)}function xs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&(B.type(e,t,n,o,u),B.range(e,t,n,o,u))}r(o)}function Hs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&(B.type(e,t,n,o,u),B.range(e,t,n,o,u))}r(o)}function Us(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return r();B.required(e,t,n,o,u,"array"),t!=null&&(B.type(e,t,n,o,u),B.range(e,t,n,o,u))}r(o)}function Vs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&B.type(e,t,n,o,u)}r(o)}var qs="enum";function Ws(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u),t!==void 0&&B[qs](e,t,n,o,u)}r(o)}function zs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t,"string")&&!e.required)return r();B.required(e,t,n,o,u),N(t,"string")||B.pattern(e,t,n,o,u)}r(o)}function Ks(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t,"date")&&!e.required)return r();if(B.required(e,t,n,o,u),!N(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),B.type(e,s,n,o,u),s&&B.range(e,s.getTime(),n,o,u)}}r(o)}function Gs(e,t,r,n,u){var o=[],a=Array.isArray(t)?"array":typeof t;B.required(e,t,n,o,u,a),r(o)}function Ft(e,t,r,n,u){var o=e.type,a=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(N(t,o)&&!e.required)return r();B.required(e,t,n,a,u,o),N(t,o)||B.type(e,t,n,a,u)}r(a)}function Xs(e,t,r,n,u){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(N(t)&&!e.required)return r();B.required(e,t,n,o,u)}r(o)}var Se={string:Fs,method:Ns,number:Ls,boolean:Ms,regexp:js,integer:xs,float:Hs,array:Us,object:Vs,enum:Ws,pattern:zs,date:Ks,url:Ft,hex:Ft,email:Ft,required:Gs,any:Xs};function Nt(){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 Lt=Nt();function Y(e){this.rules=null,this._messages=Lt,this.define(e)}Y.prototype={messages:function(t){return t&&(this._messages=en(Nt(),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 u=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var o=t,a=r,s=n;if(typeof a=="function"&&(s=a,a={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function f(m){var O,d=[],E={};function I(D){if(Array.isArray(D)){var P;d=(P=d).concat.apply(P,D)}else d.push(D)}for(O=0;O<m.length;O++)I(m[O]);d.length?E=Tt(d):(d=null,E=null),s(d,E)}if(a.messages){var p=this.messages();p===Lt&&(p=Nt()),en(p,a.messages),a.messages=p}else a.messages=this.messages();var y,v,_={},S=a.keys||Object.keys(this.rules);S.forEach(function(m){y=u.rules[m],v=o[m],y.forEach(function(O){var d=O;typeof d.transform=="function"&&(o===t&&(o=Q({},o)),v=o[m]=d.transform(v)),typeof d=="function"?d={validator:d}:d=Q({},d),d.validator=u.getValidationMethod(d),d.field=m,d.fullField=d.fullField||m,d.type=u.getType(d),!!d.validator&&(_[m]=_[m]||[],_[m].push({rule:d,value:v,source:o,field:m}))})});var R={};return ks(_,a,function(m,O){var d=m.rule,E=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");E=E&&(d.required||!d.required&&m.value),d.field=m.field;function I(j,$){return Q(Q({},$),{},{fullField:d.fullField+"."+j})}function D(j){j===void 0&&(j=[]);var $=j;if(Array.isArray($)||($=[$]),!a.suppressWarning&&$.length&&Y.warning("async-validator:",$),$.length&&d.message!==void 0&&($=[].concat(d.message)),$=$.map(Yr(d)),a.first&&$.length)return R[d.field]=1,O($);if(!E)O($);else{if(d.required&&!m.value)return d.message!==void 0?$=[].concat(d.message).map(Yr(d)):a.error&&($=[a.error(d,K(a.messages.required,d.field))]),O($);var M={};if(d.defaultField)for(var C in m.value)m.value.hasOwnProperty(C)&&(M[C]=d.defaultField);M=Q(Q({},M),m.rule.fields);for(var J in M)if(M.hasOwnProperty(J)){var ye=Array.isArray(M[J])?M[J]:[M[J]];M[J]=ye.map(I.bind(null,J))}var vt=new Y(M);vt.messages(a.messages),m.rule.options&&(m.rule.options.messages=a.messages,m.rule.options.error=a.error),vt.validate(m.value,m.rule.options||a,function(ve){var re=[];$&&$.length&&re.push.apply(re,$),ve&&ve.length&&re.push.apply(re,ve),O(re.length?re:null)})}}var P;d.asyncValidator?P=d.asyncValidator(d,m.value,D,m.source,a):d.validator&&(P=d.validator(d,m.value,D,m.source,a),P===!0?D():P===!1?D(d.message||d.field+" fails"):P instanceof Array?D(P):P instanceof Error&&D(P.message)),P&&P.then&&P.then(function(){return D()},function(j){return D(j)})},function(m){f(m)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Se.hasOwnProperty(t.type))throw new Error(K("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Se.required:Se[this.getType(t)]||!1}},Y.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Se[t]=r},Y.warning=Qr,Y.messages=Lt,Y.validators=Se;var Qs={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 Js(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Y(e);return r.messages(Object.assign(Qs,t)),r}var Zs=new Xl;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 Ys(e){if(Array.isArray(e))return e}function ec(e){if(Array.isArray(e))return Mt(e)}function rn(e,t,r,n,u,o,a){try{var s=e[o](a),f=s.value}catch(p){r(p);return}s.done?t(f):Promise.resolve(f).then(n,u)}function nn(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(f){rn(o,n,u,a,s,"next",f)}function s(f){rn(o,n,u,a,s,"throw",f)}a(void 0)})}}function tc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rc(e,t,r){return t&&un(e.prototype,t),r&&un(e,r),e}function nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function on(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function an(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ic(){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 uc(){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 ln(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(u){return Object.getOwnPropertyDescriptor(r,u).enumerable}))),n.forEach(function(u){nc(e,u,r[u])})}return e}function oc(e){return Ys(e)||an(e)||sn(e,i)||ic()}function jt(e){return ec(e)||an(e)||sn(e)||uc()}function sn(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)}}var X=function(){function t(r){var n=this;tc(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=fn,this.removeSetting=cn,this._callControlHooks("preInstance",r);var u=on(this,t)?this.constructor:void 0,o=u.controlName,a=u.controlIcon,s=u.controlType,f=u.controlFieldType,p=u.controlEventKeys,y=u.controlCustomEvents,v=u.name,_=u.setting;o&&a&&s||Lr("The ".concat(v," controlName,controlIcon,controlType is not define"));var S;this.id=(S=r==null?void 0:r.id)!==null&&S!==void 0?S:Pe(10),this.name=o,this.icon=a;var R;this.type=(R=r==null?void 0:r.type)!==null&&R!==void 0?R:s,this.props=new ce(r==null?void 0:r.props,(on(this,t)?this.constructor:void 0).controlName);var m;this.controlType=(m=r==null?void 0:r.controlType)!==null&&m!==void 0?m:"base",this.setting=_e(_);var O;this.fieldType=(O=r==null?void 0:r.fieldType)!==null&&O!==void 0?O:f,this.eventKeys=_e(p),this.customEvents=_e(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return rc(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,u=new Array(n),o=0;o<n;o++)u[o]=arguments[o];var a,s=oc(u),f=s[0],p=s.slice(1);return(a=Zs).emit.apply(a,[f,this].concat(jt(p)))}},{key:"preUpdate",value:function(n,u){this._callControlHooks("preUpdateProps",n,u)}},{key:"postUpdate",value:function(n,u){this._callControlHooks("postUpdateProps",n,u)}},{key:"updateProps",value:function(n,u){this.preUpdate(n,u),Nl(this.props,n,u),this.postUpdate(n,u)}},{key:"preValidate",value:function(){var n=this;return nn(Z.mark(function u(){var o,a,s;return Z.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return o=ln({},n.rules),p.next=3,n._callControlHooks("preValidate",o);case 3:return a=p.sent,s=a[a.length-1],p.abrupt("return",s===!1?void 0:s);case 6:case"end":return p.stop()}},u)}))()}},{key:"validate",value:function(n,u){var o=this;return nn(Z.mark(function a(){var s,f,p;return Z.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.preValidate();case 2:return s=v.sent,f=s!==void 0?s:ln({},o.rules),Array.isArray(u)&&u.forEach(function(_){f.hasOwnProperty(_)&&delete f[_]}),p=Js(f,n),v.prev=6,v.next=9,p.validate(o.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=o),v.t0;case 16:case"end":return v.stop()}},a,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,a=this.type,s=this.props,f=s.dataBind,p=s.datasourceBind,y=s.optionConfig,v=s.caption,_=s.required,S=s.maxLength,R=s.options,m=s.encrypted,O=s.encryptedMode;if(!(!u&&!f&&!p)){var d={parentId:n,fieldType:u,controlId:o,caption:v,type:a,props:{}};switch(f&&(d.dataBind=f),y){case"datasource":case void 0:p&&(d.datasourceBind=p);break;case"custom":d.props.options=R;break}return _!==void 0&&(d.required=_),S!==void 0&&(d.maxLength=S),m!==void 0&&(d.encrypted=m),O!==void 0&&(d.encryptedMode=O),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:_e(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,u){if(n==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,jt(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();X.controlName="\u63A7\u4EF6",X.controlIcon="icon",X.controlType="control",X.controlEventKeys=[],X.controlCustomEvents=[],X.setting=[],X.__is_control__=!0,X.removeSettingItem=cn,X.updateSettingItem=fn;function cn(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var u,o=typeof n!="string",a=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(p){return p.key===(o?n.key:n)});if(a!==-1){var s,f;o?t.setting[a].showItems=(s=t.setting[a].showItems)===null||s===void 0?void 0:s.filter(function(p){return!n.hideItems.includes(p)}):t.setting.splice(a,1),o&&!((f=t.setting[a].showItems)===null||f===void 0?void 0:f.length)&&t.setting.splice(a,1)}})}function fn(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(u){var o=r.setting.find(function(p){return p.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var a,s=(a=t.type)!==null&&a!==void 0?a:"replace";if(s==="replace")o.showItems=t.showItems;else{var f;(f=o.showItems).push.apply(f,jt(t.showItems))}}}})}function ac(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lc(e,t,r){return t&&dn(e.prototype,t),r&&dn(e,r),e}function sc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var Oe=function(){function t(r){ac(this,t),this.customEvents=[],this.parent=null;var n=sc(this,t)?this.constructor:void 0,u=n.controlType,o=n.controlFieldType,a=n.name,s=n.controlCustomEvents;u||Lr("The ".concat(a," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:Pe(10);var p;this.type=(p=r==null?void 0:r.type)!==null&&p!==void 0?p:u,this.props=new ce(r==null?void 0:r.props),this.customEvents=s;var y;this.controlType=(y=r==null?void 0:r.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=r==null?void 0:r.fieldType)!==null&&v!==void 0?v:o;var _;this.pageStatus=(_=r==null?void 0:r.pageStatus)!==null&&_!==void 0?_:Ct.UNKNOWN}return lc(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),t}();Oe.controlType="control",Oe.__is_control__=!0,Oe.controlCustomEvents=[];function cc(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:T.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:T.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:T.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,u){n.length===0&&u(T.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(r,n,u){var o=n.map(function(s){return s.value}),a=xl(o);o.length!==a.length?u(T.getMessage("optionIdIsRepeat")):u()},message:T.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:T.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:T.getMessage("isNotArray")},{type:"array",validator:function(r,n,u){n.length===0&&u(T.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:T.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:T.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:T.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:T.getMessage("isNotBoolean")}}}}]}}])}function fc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},je(e)}function pc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}function yc(e,t){return t&&(vc(t)==="object"||typeof t=="function")?t:fc(e)}function xt(e,t){return xt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},xt(e,t)}var vc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bc(e){var t=hc();return function(){var n=je(e),u;if(t){var o=je(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return yc(this,u)}}var ne=function(e){pc(r,e);var t=bc(r);function r(n){return dc(this,r),t.call(this,n)}return r}(ce);function Ht(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function gc(e){if(Array.isArray(e))return Ht(e)}function _c(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mc(){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 pn(e){return gc(e)||_c(e)||Ec(e)||mc()}function Ec(e,t){if(!!e){if(typeof e=="string")return Ht(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ht(e,t)}}function Ic(e,t){var r;((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0?void 0:r.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function yn(e,t){e.parent=t,Ic(e,"parent")}function Ac(e,t){e.forEach(function(r){yn(r,t)})}var vn=Symbol("targetKey");function hn(e){var t;return(t=e[vn])!==null&&t!==void 0?t:e}function bn(e,t){return Ac(e,t),new Proxy(e,{get:function(n,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var f;return u===vn?n:(f=Reflect).get.apply(f,[n,u].concat(pn(a)))},set:function(n,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),f=3;f<a;f++)s[f-3]=arguments[f];var p;if(jl(e)&&u==="length"&&o===e.length)return!0;var y=(p=Reflect).set.apply(p,[n,u,o].concat(pn(s)));return Hr(o)&&yn(o,t),y}})}function gn(e,t,r,n){var u=n!=null?n:e,o=bn(hn(r!=null?r:[]),u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=bn(hn(s),u)},enumerable:!0})}function Ut(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 wc(e){if(Array.isArray(e))return Ut(e)}function _n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mn(e,t,r,n,u,o,a){try{var s=e[o](a),f=s.value}catch(p){r(p);return}s.done?t(f):Promise.resolve(f).then(n,u)}function Sc(e){return function(){var t=this,r=arguments;return new Promise(function(n,u){var o=e.apply(t,r);function a(f){mn(o,n,u,a,s,"next",f)}function s(f){mn(o,n,u,a,s,"throw",f)}a(void 0)})}}function Oc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function En(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cc(e,t,r){return t&&En(e.prototype,t),r&&En(e,r),e}function Rc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function de(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?de=Reflect.get:de=function(u,o,a){var s=Fc(u,o);if(!!s){var f=Object.getOwnPropertyDescriptor(s,o);return f.get?f.get.call(a):f.value}},de(e,t,r||e)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ee(e)}function kc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vt(e,t)}function Bc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Pc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Dc(){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 Tc(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(u){return Object.getOwnPropertyDescriptor(r,u).enumerable}))),n.forEach(function(u){Rc(e,u,r[u])})}return e}function $c(e,t){return t&&(Nc(t)==="object"||typeof t=="function")?t:_n(e)}function Vt(e,t){return Vt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vt(e,t)}function Fc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ee(e),e!==null););return e}function In(e){return wc(e)||Pc(e)||Lc(e)||Dc()}var Nc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lc(e,t){if(!!e){if(typeof e=="string")return Ut(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 Ut(e,t)}}function Mc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jc(e){var t=Mc();return function(){var n=ee(e),u;if(t){var o=ee(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return $c(this,u)}}var xc=1e4,ie=function(t){kc(n,t);var r=jc(n);function n(u){Oc(this,n);var o;o=r.call(this,u),o.controlType="layout";var a=Bc(this,n)?this.constructor:void 0,s=a.excludes,f=a.childrenMaxLength;return o.props=new ne(u==null?void 0:u.props),gn(_n(o),"children",u==null?void 0:u.children),o.excludes=_e(s),o.childrenMaxLength=f,o}return Cc(n,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var a=this.judgeExcludesChildren(o);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,a){var s=this,f=this,p=function(){return de(ee(n.prototype),"validate",s)};return Sc(Z.mark(function y(){return Z.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,p().call(f,o,a);case 2:return _.next=4,Promise.all(f.children.map(function(S){return S.validate(o,a)}));case 4:return _.abrupt("return",!0);case 5:case"end":return _.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=de(ee(n.prototype),"toDataBindModel",this).call(this),s=a?[a]:[];return this.children.reduce(function(f,p){var y=p.toDataBindModel(o);if(Array.isArray(y)){var v=y.filter(function(_){return!!_});return In(f).concat(In(v))}return y&&f.push(y),f},s)}},{key:"toSchema",value:function(){var o=de(ee(n.prototype),"toSchema",this).call(this),a=this.children.map(function(s){var f=s.toSchema();return f});return Tc({},o,{children:a})}}]),n}(X);ie.excludes=!1,ie.childrenMaxLength=xc;function An(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xe(e)}function Uc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Vc(e,t){return t&&(qc(t)==="object"||typeof t=="function")?t:An(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},qt(e,t)}var qc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zc(e){var t=Wc();return function(){var n=xe(e),u;if(t){var o=xe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Vc(this,u)}}var Ce=function(e){Uc(r,e);var t=zc(r);function r(n){Hc(this,r);var u;return u=t.call(this,n),u.controlType="layout",u.props=new ne(n==null?void 0:n.props),gn(An(u),"children",n==null?void 0:n.children),u}return r}(Oe);l.IS_HIDE,l.IS_HIDE,l.IS_HIDE;var Wt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Wt||(Wt={}));var wn;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(wn||(wn={}));var Sn;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(Sn||(Sn={}));var On;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(On||(On={}));var Cn;(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"})(Cn||(Cn={}));var Rn;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Rn||(Rn={}));var kn;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(kn||(kn={}));var Bn;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(Bn||(Bn={}));var Pn;(function(e){e.ALL="all",e.ASSIGN="assign"})(Pn||(Pn={}));var Dn;(function(e){e.ALL="all",e.ADMIN="admin"})(Dn||(Dn={})),l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},He(e)}function $n(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zt(e,t)}function Gc(e,t){return t&&(Xc(t)==="object"||typeof t=="function")?t:Kc(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},zt(e,t)}var Xc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fn(e){var t=Qc();return function(){var n=He(e),u;if(t){var o=He(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Gc(this,u)}}var Jc=function(e){$n(r,e);var t=Fn(r);function r(n){Tn(this,r);var u;return u=t.call(this,n),u.formKey={type:"string",required:!1},(n.command==="edit"||n.command==="view")&&(u.formKey={type:"string",required:!0,message:T.getMessage("pleaseEnterForm")}),u}return r}(Ne),Ue=function(e){$n(r,e);var t=Fn(r);function r(n){Tn(this,r);var u;u=t.call(this,n);var o;u.content=(o=n==null?void 0:n.content)!==null&&o!==void 0?o:"\u6309\u94AE",u.code=n==null?void 0:n.code;var a;u.command=(a=n==null?void 0:n.command)!==null&&a!==void 0?a:"custom";var s;u.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"primary",u.icon=n==null?void 0:n.icon,u.formKey=n==null?void 0:n.formKey,u.openType=n==null?void 0:n.openType,u.needConfirm=n==null?void 0:n.needConfirm,u.confirmMessage=n==null?void 0:n.confirmMessage,u.options=n==null?void 0:n.options;var f;u.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",u.priorityProcess=n==null?void 0:n.priorityProcess;var p;return u.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,u}return r}(ce);Ue.Rules=Jc;function Zc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ef(e,t,r){return t&&Nn(e.prototype,t),r&&Nn(e,r),e}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ve(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&&Kt(e,t)}function rf(e,t){return t&&(nf(t)==="object"||typeof t=="function")?t:Zc(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Kt(e,t)}var nf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function of(e){var t=uf();return function(){var n=Ve(e),u;if(t){var o=Ve(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return rf(this,u)}}var Gt=function(e){tf(r,e);var t=of(r);function r(n){Yc(this,r);var u;return u=t.call(this,n),u.props=new Ue(n==null?void 0:n.props),u}return ef(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}(X);Gt.controlEventKeys=["on_click"],Gt.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 af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ln(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sf(e,t,r){return t&&Ln(e.prototype,t),r&&Ln(e,r),e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qe(e)}function cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function ff(e,t){return t&&(df(t)==="object"||typeof t=="function")?t:af(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Xt(e,t)}var df=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yf(e){var t=pf();return function(){var n=qe(e),u;if(t){var o=qe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return ff(this,u)}}var vf=function(e){cf(r,e);var t=yf(r);function r(n){lf(this,r);var u;return u=t.call(this,n),u.props=new Ue(n==null?void 0:n.props),u}return sf(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Oe),Qt={Designer:Gt,Runtime:vf,Property:Ue};l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,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.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.DEFAULT_DISPLAY,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,c.GRID;function hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},We(e)}function gf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function _f(e,t){return t&&(mf(t)==="object"||typeof t=="function")?t:hf(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Jt(e,t)}var mf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ef(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function If(e){var t=Ef();return function(){var n=We(e),u;if(t){var o=We(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return _f(this,u)}}var Af=24,Zt=function(e){gf(r,e);var t=If(r);function r(n){bf(this,r);var u;u=t.call(this,n);var o;u.span=(o=n==null?void 0:n.span)!==null&&o!==void 0?o:Af;var a;return u.offset=(a=n==null?void 0:n.offset)!==null&&a!==void 0?a:0,u}return r}(ne);function wf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Of(e,t,r){return t&&Mn(e.prototype,t),r&&Mn(e,r),e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(e)}function Cf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yt(e,t)}function Rf(e,t){return t&&(kf(t)==="object"||typeof t=="function")?t:wf(e)}function Yt(e,t){return Yt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yt(e,t)}var kf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pf(e){var t=Bf();return function(){var n=ze(e),u;if(t){var o=ze(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Rf(this,u)}}var er=function(e){Cf(r,e);var t=Pf(r);function r(n){Sf(this,r);var u;return u=t.call(this,n),u.props=new Zt(n==null?void 0:n.props),u}return Of(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ie);er.excludes=[c.COL,c.CARD_GROUP,c.SUBTABLE,c.SUBTABLE_COLUMN,c.DIVIDER],er.childrenMaxLength=1;function Df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $f(e,t,r){return t&&jn(e.prototype,t),r&&jn(e,r),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ke(e)}function Ff(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tr(e,t)}function Nf(e,t){return t&&(Lf(t)==="object"||typeof t=="function")?t:Df(e)}function tr(e,t){return tr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},tr(e,t)}var Lf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jf(e){var t=Mf();return function(){var n=Ke(e),u;if(t){var o=Ke(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Nf(this,u)}}var xf=function(e){Ff(r,e);var t=jf(r);function r(n){Tf(this,r);var u;return u=t.call(this,n),u.props=new Zt(n==null?void 0:n.props),u}return $f(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Ce),xn={Designer:er,Runtime:xf,Property:Zt};function Hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ge(e)}function Vf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rr(e,t)}function qf(e,t){return t&&(Wf(t)==="object"||typeof t=="function")?t:Hf(e)}function rr(e,t){return rr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},rr(e,t)}var Wf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kf(e){var t=zf();return function(){var n=Ge(e),u;if(t){var o=Ge(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return qf(this,u)}}var nr=function(e){Vf(r,e);var t=Kf(r);function r(n){Uf(this,r);var u;u=t.call(this,n);var o;u.layoutMode=(o=n==null?void 0:n.layoutMode)!==null&&o!==void 0?o:"select";var a;return u.gutter=(a=n==null?void 0:n.gutter)!==null&&a!==void 0?a:0,u}return r}(ne);function Gf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qf(e,t,r){return t&&Hn(e.prototype,t),r&&Hn(e,r),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xe(e)}function Jf(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ir(e,t)}function Zf(e,t){return t&&(Yf(t)==="object"||typeof t=="function")?t:Gf(e)}function ir(e,t){return ir=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ir(e,t)}var Yf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ed(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function td(e){var t=ed();return function(){var n=Xe(e),u;if(t){var o=Xe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Zf(this,u)}}var ur=function(e){Jf(r,e);var t=td(r);function r(n){Xf(this,r);var u;return u=t.call(this,n),u.props=new nr(n==null?void 0:n.props),u}return Qf(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(ie);ur.excludes=[c.ROW],ur.setting=[{key:"col-setting",visible:!0}];function rd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function id(e,t,r){return t&&Un(e.prototype,t),r&&Un(e,r),e}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qe(e)}function ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&or(e,t)}function od(e,t){return t&&(ad(t)==="object"||typeof t=="function")?t:rd(e)}function or(e,t){return or=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},or(e,t)}var ad=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ld(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sd(e){var t=ld();return function(){var n=Qe(e),u;if(t){var o=Qe(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return od(this,u)}}var cd=function(e){ud(r,e);var t=sd(r);function r(n){nd(this,r);var u;return u=t.call(this,n),u.props=new nr(n==null?void 0:n.props),u}return id(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Ce);function fd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pd(e,t,r){return t&&Vn(e.prototype,t),r&&Vn(e,r),e}function Je(e){return Je=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Je(e)}function yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ar(e,t)}function vd(e,t){return t&&(hd(t)==="object"||typeof t=="function")?t:fd(e)}function ar(e,t){return ar=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ar(e,t)}var hd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gd(e){var t=bd();return function(){var n=Je(e),u;if(t){var o=Je(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return vd(this,u)}}var _d=4,Ze=function(e){yd(r,e);var t=gd(r);function r(n){return dd(this,r),t.call(this,n)}return pd(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}(ur);Ze.excludes=[c.GRID_ROW],Ze.setting=[],Ze.childrenMaxLength=_d;function md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ed(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Id(e,t,r){return t&&qn(e.prototype,t),r&&qn(e,r),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ye(e)}function Ad(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lr(e,t)}function wd(e,t){return t&&(Sd(t)==="object"||typeof t=="function")?t:md(e)}function lr(e,t){return lr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},lr(e,t)}var Sd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Od(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cd(e){var t=Od();return function(){var n=Ye(e),u;if(t){var o=Ye(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return wd(this,u)}}var Rd=function(e){Ad(r,e);var t=Cd(r);function r(n){return Ed(this,r),t.call(this,n)}return Id(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(cd);function kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},et(e)}function Pd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sr(e,t)}function Dd(e,t){return t&&(Td(t)==="object"||typeof t=="function")?t:kd(e)}function sr(e,t){return sr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},sr(e,t)}var Td=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $d(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fd(e){var t=$d();return function(){var n=et(e),u;if(t){var o=et(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Dd(this,u)}}var Nd=function(e){Pd(r,e);var t=Fd(r);function r(n){return Bd(this,r),t.call(this,n)}return r}(nr),Ld={Designer:Ze,Runtime:Rd,Property:Nd};l.CAPTION,l.IS_HIDE,c.CARD_GROUP;function Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tt(e)}function zn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cr(e,t)}function jd(e,t){return t&&(xd(t)==="object"||typeof t=="function")?t:Md(e)}function cr(e,t){return cr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},cr(e,t)}var xd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kn(e){var t=Hd();return function(){var n=tt(e),u;if(t){var o=tt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return jd(this,u)}}var Ud=function(e){zn(r,e);var t=Kn(r);function r(n){Wn(this,r);var u;return u=t.call(this,n),u.caption={type:"string",required:!0,message:T.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:T.getMessage("pleaseEnterColumnWidth")},u.captionTip={type:"string",required:!1,message:T.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(u.captionTip.required=!0),u}return r}(Ne),rt=function(e){zn(r,e);var t=Kn(r);function r(n){Wn(this,r);var u;u=t.call(this,n);var o;u.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var a;u.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:!1;var s;u.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var f;u.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var p;return u.isHideCaption=(p=n==null?void 0:n.isHideCaption)!==null&&p!==void 0?p:!1,u.metaAutoWidth=new ns(n==null?void 0:n.metaAutoWidth),u}return r}(ne);rt.Rules=Ud;function Vd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nt(e){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nt(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&&fr(e,t)}function zd(e,t){return t&&(Kd(t)==="object"||typeof t=="function")?t:Vd(e)}function fr(e,t){return fr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},fr(e,t)}var Kd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gd(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gd();return function(){var n=nt(e),u;if(t){var o=nt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return zd(this,u)}}var ue=function(e){Wd(r,e);var t=Xd(r);function r(n){qd(this,r);var u;return u=t.call(this,n),u.props=new rt(n==null?void 0:n.props),u}return r}(ie);ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.excludes=[c.SUBTABLE,c.SUBTABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT],ue.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e){return it=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},it(e)}function Zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dr(e,t)}function Yd(e,t){return t&&(ep(t)==="object"||typeof t=="function")?t:Qd(e)}function dr(e,t){return dr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},dr(e,t)}var ep=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rp(e){var t=tp();return function(){var n=it(e),u;if(t){var o=it(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Yd(this,u)}}var Gn=function(e){Zd(r,e);var t=rp(r);function r(n){Jd(this,r);var u;return u=t.call(this,n),u.props=new rt(n==null?void 0:n.props),u}return r}(Ce);Gn.controlType="subtable-column";var np={Designer:ue,Runtime:Gn,Property:rt};c.SUBTABLE,c.SUBTABLE_COLUMN,c.SUBTABLE_ROW,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_TABLE,c.GRID_TABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_LAYOUT_CONTAINER,c.CARD_GROUP,c.TAB,c.TAB,l.CAPTION,l.IS_HIDE,c.TAB,c.GRID_ROW,c.ROW,c.GRID,c.SUBTABLE,c.TAB,c.TOOLBOX;function Xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(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&&vr(e,t)}function ip(e,t){return t&&(up(t)==="object"||typeof t=="function")?t:Xn(e)}function vr(e,t){return vr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},vr(e,t)}var up=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 hr(e){var t=op();return function(){var n=ut(e),u;if(t){var o=ut(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return ip(this,u)}}var ot;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ot||(ot={}));var ap=function(e){yr(r,e);var t=hr(r);function r(n){pr(this,r);var u;return u=t.call(this,n),u.push({type:"object",fields:{}}),u}return r}(Bt),lp=function(e){yr(r,e);var t=hr(r);function r(n){pr(this,r);var u;if(u=t.call(this,n),u.triggerFieldCode={type:"any"},u.datasourceBind={type:"any"},u.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),n.triggerType===ot.CLICK_CELL&&n.isShowSubList&&(u.triggerFieldCode={type:"string",required:!0,message:T.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(u.joinRelation=[{type:"object",message:T.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:T.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:T.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:T.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:T.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),cc.call(Xn(u),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(u.datasourceBind)&&u.datasourceBind.length>1){var o=u.datasourceBind.find(function(a){return a.type==="object"&&a.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return u}return r}(Ne),Re=function(e){yr(r,e);var t=hr(r);function r(n){pr(this,r);var u;u=t.call(this,n),u.datasourceBind=new me(n==null?void 0:n.datasourceBind);var o;u.isLoading=(o=n==null?void 0:n.isLoading)!==null&&o!==void 0?o:!1;var a;u.isShowSubList=(a=n==null?void 0:n.isShowSubList)!==null&&a!==void 0?a:!1;var s;u.triggerType=(s=n==null?void 0:n.triggerType)!==null&&s!==void 0?s:ot.CLICK_ROW;var f;u.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",u.sublistPage=new os(n==null?void 0:n.sublistPage);var p;u.isShowJoinRelation=(p=n==null?void 0:n.isShowJoinRelation)!==null&&p!==void 0?p:!1,u.joinRelation=new ss(n==null?void 0:n.joinRelation);var y;u.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var v;u.showFullScreen=(v=n==null?void 0:n.showFullScreen)!==null&&v!==void 0?v:!1;var _;u.selectionType=(_=n==null?void 0:n.selectionType)!==null&&_!==void 0?_:"multiple";var S;u.isFixedHeader=(S=n==null?void 0:n.isFixedHeader)!==null&&S!==void 0?S:!1;var R;u.isShowSelection=(R=n==null?void 0:n.isShowSelection)!==null&&R!==void 0?R:!1;var m;return u.isAllLoaded=(m=n==null?void 0:n.isAllLoaded)!==null&&m!==void 0?m:!0,u.countType=n==null?void 0:n.countType,u}return r}(ne);Re.Rules=lp,Re.RuntimeRules=ap;function sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fp(e,t,r){return t&&Qn(e.prototype,t),r&&Qn(e,r),e}function at(e){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},at(e)}function dp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&br(e,t)}function pp(e,t){return t&&(yp(t)==="object"||typeof t=="function")?t:sp(e)}function br(e,t){return br=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},br(e,t)}var yp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hp(e){var t=vp();return function(){var n=at(e),u;if(t){var o=at(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return pp(this,u)}}var lt=function(e){dp(r,e);var t=hp(r);function r(n){cp(this,r);var u;return u=t.call(this,n),u.props=new Re(n==null?void 0:n.props),u}return fp(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}(ie);lt.excludes=[c.ROW],lt.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],lt.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];function bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _p(e,t,r){return t&&Jn(e.prototype,t),r&&Jn(e,r),e}function st(e){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},st(e)}function mp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gr(e,t)}function Ep(e,t){return t&&(Ip(t)==="object"||typeof t=="function")?t:bp(e)}function gr(e,t){return gr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},gr(e,t)}var Ip=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ap(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wp(e){var t=Ap();return function(){var n=st(e),u;if(t){var o=st(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Ep(this,u)}}var Sp=function(e){mp(r,e);var t=wp(r);function r(n){gp(this,r);var u;return u=t.call(this,n),u.props=new Re(n==null?void 0:n.props),u}return _p(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Ce),Op={Designer:lt,Runtime:Sp,Property:Re};function Cp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ct(e)}function Yn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_r(e,t)}function Rp(e,t){return t&&(kp(t)==="object"||typeof t=="function")?t:Cp(e)}function _r(e,t){return _r=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},_r(e,t)}var kp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Bp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ei(e){var t=Bp();return function(){var n=ct(e),u;if(t){var o=ct(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Rp(this,u)}}var Pp=function(e){Yn(r,e);var t=ei(r);function r(n){Zn(this,r);var u;return u=t.call(this,n),u.push({type:"object",fields:{}}),u}return r}(Bt),ft=function(e){Yn(r,e);var t=ei(r);function r(n){Zn(this,r);var u;u=t.call(this,n);var o;u.save=new Ee((o=n==null?void 0:n.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var a;u.cancel=new Ee((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;u.saveAs=new Ee((s=n==null?void 0:n.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;u.print=new Ee((f=n==null?void 0:n.print)!==null&&f!==void 0?f:{content:"\u6253\u5370",type:"print",isShow:!1});var p;u.custom=((p=n==null?void 0:n.custom)!==null&&p!==void 0?p:[]).map(function(v){return new Ee(v)});var y;return u.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1,u.datasourceBind=new me(n==null?void 0:n.datasourceBind),u}return r}(ne);ft.RuntimeRules=Pp;function Dp(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 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 $p(e,t,r){return t&&ti(e.prototype,t),r&&ti(e,r),e}function dt(e){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dt(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&&mr(e,t)}function Np(e,t){return t&&(Lp(t)==="object"||typeof t=="function")?t:Dp(e)}function mr(e,t){return mr=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},mr(e,t)}var Lp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jp(e){var t=Mp();return function(){var n=dt(e),u;if(t){var o=dt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return Np(this,u)}}var ri=function(e){Fp(r,e);var t=jp(r);function r(n){Tp(this,r);var u;return u=t.call(this,n),u.props=new ft(n==null?void 0:n.props),u}return $p(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ie);ri.excludes=[];function xp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Up(e,t,r){return t&&ni(e.prototype,t),r&&ni(e,r),e}function pt(e){return pt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pt(e)}function Vp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Er(e,t)}function qp(e,t){return t&&(Wp(t)==="object"||typeof t=="function")?t:xp(e)}function Er(e,t){return Er=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Er(e,t)}var Wp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kp(e){var t=zp();return function(){var n=pt(e),u;if(t){var o=pt(this).constructor;u=Reflect.construct(n,arguments,o)}else u=n.apply(this,arguments);return qp(this,u)}}var Gp=function(e){Vp(r,e);var t=Kp(r);function r(n){Hp(this,r);var u;return u=t.call(this,n),u.props=new ft(n==null?void 0:n.props),u}return Up(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Ce),Xp={Designer:ri,Runtime:Gp,Property:ft};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.IS_PASTE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.IS_HIDE;const Qp=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];ly(t==null?void 0:t.events),ry(n),ny(n);const u=ty(n),o=iy(u,t);let a=se(U(o,s=>ey(s,t)));return r?a:a[0]},Jp=[c.DIVIDER,c.TEXT,c.TITLE,c.LINK,c.BUTTON,"list-btn-export-list","list-btn-export-record"],Zp=["subtable","grid-table"],Yp=["simple-search"];function ey(e,t){var u,o,a,s,f,p;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Jp.includes(r.type)?r.controlType="base":r.controlType="form",Zp.includes(r.type)&&(r.controlType="list"),Yp.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),H((u=e==null?void 0:e.props)==null?void 0:u.caption)&&(r.props.caption=e.props.caption.zh),H((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),H((a=e==null?void 0:e.props)==null?void 0:a.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(H(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(H(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 y=r.props.entry_type||r.props.entryType;r.props.openType=y==="subpage"?"modal":"default",((p=r.children[0])==null?void 0:p.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((v,_)=>{const S=new np.Designer;S.props.caption=H(v.field_name)?v.field_name.zh:v.field_name;const R=S.toSchema();R.id=v.header_id;const m=r.children[0].children[_].children[0];return!!m&&(R.children=[m]),R}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(y=>{y.label=H(y.text)?y.text.zh:y.text,y.id=y.id||y.opt_id||y.optId||y.data_id}),r=e),e.type==="grid-row"){const y=24/r.children.length;r.children=r.children.map(v=>{const _=new xn.Designer;_.props.span=y;const S=_.toSchema();return S.children.push(v),S})}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 y=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],_={};y&&(ii(r,t),_.result=y.props.data_bind,r.id=y.id,r.props=y.props,r.props.script_src=y.props.script_src,r.props.script_echo=y.props.script_echo,r.props.precision=y.props.precision,r.props.micrometer=y.props.is_show_money,r.props.showUpperCase=y.props.is_show_chn),v&&(_.unit=v.props.data_bind,r.props.default_value={unit:v.props.value}),r.props.dataBind=_,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const y=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1],_={},S={};y&&(ii(r,t),r.id=y.id,_.amount=y.props.data_bind,r.props.range_min=le(y.props.range_min),r.props.range_max=le(y.props.range_max),S.amount=le(y.props.value),r.props.required=y.props.required,r.props.is_hide=y.props.is_hide,r.props.default_state=y.props.default_state,r.props.caption=H(y.props.caption)?y.props.caption.zh:y.props.caption,r.props.is_hide_caption=y.props.is_hide_caption,r.props.showUpperCase=y.props.is_show_chn),v&&(_.currency=v.props.data_bind,S.currency=v.props.value,r.props.datasourceBind=v.props.datasource_bind,r.props.options=v.props.options.map(R=>({label:R.text,value:R.value}))),r.props.dataBind=_,r.props.defaultValue=S,delete r.children}if(e.type==="date-range"){r.controlType="form";const y=r==null?void 0:r.children[0],v=r==null?void 0:r.children[1];r.props.placeholderStart=H(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=H(e.props.caption)?e.props.caption.zh:e.props.caption;const _={};y&&(_.min=y.props.data_bind),v&&(_.max=v.props.data_bind),r.props.dataBind=_,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=H(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=le(e.props.range_min),r.props.range_max=le(e.props.range_max),r.props.defaultValue=le(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"),sy(r,t==null?void 0:t.control_events),r}function ii(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,u=e.id,o=e.children[0].id;r.forEach(a=>{a.id===u&&(a.id=o);const s=a.show_controls.findIndex(p=>p===u),f=a.hide_controls.findIndex(p=>p===u);s>-1&&a.show_controls.splice(s,1,o),f>-1&&a.hide_controls.splice(f,1,o)}),n.forEach(a=>{a.ctrl_id===u&&(a.id=o)})}function ty(e){if(!Array.isArray(e)||!e.find(u=>u.type==="grid"))return e;const n=new Xp.Designer().toSchema();return n.children=e,[n]}function ry(e){e.forEach(t=>{t.children&&ay(t.children)})}function ny(e){e.forEach(t=>{var n,u;if(!(t&&t.children))return;const r=t.children;for(let o=0;o<r.length;o++){const a=r[o],s=(u=(n=r[o])==null?void 0:n.children)==null?void 0:u[0];a.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&r.splice(o,1,s)}})}function iy(e,t){var S,R,m,O,d,E,I,D;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:u}=r,[o,a,s]=u;uy(o),s.props.is_fixed_header=(S=n==null?void 0:n.source_config)==null?void 0:S.is_fixed_header,oy(s,a);const f=(m=(R=n==null?void 0:n.source_config)==null?void 0:R.data_code)!=null?m:t==null?void 0:t.dataCode,p=((d=(O=n==null?void 0:n.source_config)==null?void 0:O.svc_code)!=null?d:f)?`${f}_selectMore`:void 0,y=(I=(E=n==null?void 0:n.source_config)==null?void 0:E.orders)!=null?I:[],v=new Op.Designer;v.props.datasourceBind=new me({dataCode:f,svcCode:p,orders:Hl(y)}),v.props.isShowSubList=n.is_show_sublist,v.props.triggerType=n.timing_type,v.props.triggerFieldCode=n.ctrl_field_code,(D=n==null?void 0:n.sublist_page)==null||D.sublists.forEach(P=>{P.title=H(P.title)?P.title.zh:P.title}),v.props.sublistPage=n.sublist_page;const _=v.toSchema();return _.children.push(o,s),[_]}function uy(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,u;const r=H(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=(u=(n=t.dateType)==null?void 0:n.replace)==null?void 0:u.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function oy(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 u,o,a;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:H(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=H(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=(u=r.check)!=null?u:{},n.props.check.openType="window",n.props.delete=(o=r.delete)!=null?o:{},n.props.delete.openType="window",n.props.edit=(a=r.edit)!=null?a:{},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 me({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 ay(e){var r;let t=null;for(let n=0;n<e.length;n++){const u=e[n];if(!!u){if(u.children&&((r=u.children[0])==null?void 0:r.type)==="group-panel"){t=u.children[0];continue}t&&(t.children.push(u),e.splice(n,1),n--)}}}function ly(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 sy(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(u=>{!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),t[e.id][u].push(...e.props.events[u].map(o=>o.name)))}),((n=t[e.id])==null?void 0: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 cy=(e,t)=>{const r=Array.isArray(e);let u=se(U(r?e:[e],o=>fy(o)));return r?u:u[0]};function fy(e,t){return e.type===c.LIST_VIEW&&e.children.find(n=>n.type===c.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new ts({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const dy=(e,t)=>{const r=Array.isArray(e);let u=se(U(r?e:[e],o=>py(o)));return r?u:u[0]};function py(e,t){return[c.BUTTON,c.CREATE_FORM_LIST_BUTTON,c.BATCH_SUBMISSION_LIST_BUTTON,c.SUBMISSION_RECORD_LIST_BUTTON,c.IMPORT_RECORD_LIST_BUTTON,c.EXPORT_RECORD_LIST_BUTTON,c.EXPORT_LIST_BUTTON,c.FORM_SELECT_BUTTON,c.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===c.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const yy=(e,t)=>{const r=Array.isArray(e);let u=se(U(r?e:[e],o=>vy(o)));return r?u:u[0]};function vy(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 hy=(e,t)=>{const r=Array.isArray(e);let u=se(U(r?e:[e],o=>gy(o)));return r?u:u[0]},by=[c.ROW,c.TAB,c.SUBTABLE,c.GRID_ROW,c.CARD_GROUP];function gy(e,t){return e.type===c.TAB_PANE&&(e.children=e.children.map(r=>{if(by.includes(r.type))return r;const n=new Ld.Designer,u=new xn.Designer;n.children.push(u);const o=n.toSchema();return o.children[0].children.push(r),o})),e}const _y=(e,t)=>{const r=Array.isArray(e);let u=se(U(r?e:[e],o=>my(o)));return r?u:u[0]};function my(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===c.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const Ey=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>Iy(o));return r?u:u[0]};function Iy(e,t){return e.type===c.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const Ay=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>wy(o));return r?u:u[0]};function te(e,t){e.field_code&&(e.field_type=t)}function wy(e,t){var n;const r={[c.TITLE]:w.AUTO_NUMBER,[c.ADDRESS]:w.ADDRESS,[c.ATTACHMENT]:w.FILE,[c.AUTO_NUMBER]:w.AUTO_NUMBER,[c.CHECKBOX]:w.ARRAY,[c.DATE_PICKER]:w.TIMESTAMP,[c.DEPARTMENT]:w.DEPARTMENTS,[c.EMPLOYEE]:w.EMPLOYEES,[c.EMPLOYEE2]:w.EMPLOYEES,[c.IMAGE]:w.IMAGE,[c.INPUT]:w.VARCHAR,[c.NUMBER]:w.DECIMAL,[c.RADIO]:w.VARCHAR,[c.RICH_TEXT]:w.TEXT,[c.SCORE]:w.DECIMAL,[c.SELECT]:w.VARCHAR,[c.SELECT_MULTIPLE]:w.ARRAY,[c.SELECT_RELATION]:w.VARCHAR,[c.TEXTAREA]:w.TEXT,[c.TREE]:w.ARRAY,[c.SEARCH_DATE_RANGE]:w.ARRAY,[c.SEARCH_INPUT]:w.VARCHAR,[c.SEARCH_NUMBER_RANGE]:w.ARRAY};return r.hasOwnProperty(e.type)&&te(e.props.data_bind,r[e.type]),e.type===c.AMOUNT&&(te(e.props.data_bind.amount,w.DECIMAL),te(e.props.data_bind.currency,w.VARCHAR)),e.type===c.CALC&&(te(e.props.data_bind.result,w.DECIMAL),te(e.props.data_bind.unit,w.VARCHAR)),e.type===c.DATE_RANGE&&(te(e.props.data_bind.min,w.TIMESTAMP),te(e.props.data_bind.max,w.TIMESTAMP)),e.type===c.VUE_FORM_ITEM&&te(e.props.data_bind,(n=e.field_type)!=null?n:w.ANY),e}const Sy=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>Oy(o));return r?u:u[0]};function Oy(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===c.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const Cy=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>Ry(o));return r?u:u[0]};function Ry(e,t){return e.type===c.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,u;[w.VARCHAR,w.TEXT,w.AUTO_NUMBER].includes((u=(n=r.props)==null?void 0:n.data_bind)==null?void 0:u.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const ky=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>By(o));return r?u:u[0]};function By(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(r=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Py=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>Dy(o));return r?u:u[0]};function Dy(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(r=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}const Ty=(e,t)=>{const r=Array.isArray(e);let u=U(r?e:[e],o=>$y(o));return r?u:u[0]};function $y(e,t){return e.type===c.TITLE&&e.props.config.push(Wt.ShowTitle),e.type===c.GRID_TABLE&&e.props.headers.map(r=>{var n,u,o,a,s,f,p,y,v,_,S,R,m,O,d,E,I,D,P,j,$,M;if(r.type===c.OPERATION_COLUMN){if(r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto",r.children=(n=r==null?void 0:r.children)!=null?n:[],delete r.props.custom,((u=r.props)==null?void 0:u.check)!==void 0){const C=new Qt.Designer;Object.defineProperty(C,"id",{value:"listPageCheckBtnId"}),C.props.code="view",C.props.icon="iconliulan1",C.props.command="view",C.props.content=(o=r.props)==null?void 0:o.check.content,C.props.priorityProcess=(a=r.props)==null?void 0:a.check.priority_process,C.props.openType=(s=r.props)==null?void 0:s.check.open_type,C.props.formKey=(f=r.props)==null?void 0:f.check.form_key,((p=r.props)==null?void 0:p.check.is_show)&&r.children.push(C.toSchema()),(y=r.props)==null||delete y.check}if(((v=r.props)==null?void 0:v.edit)!==void 0){const C=new Qt.Designer;Object.defineProperty(C,"id",{value:"listPageEditBtnId"}),C.props.code="edit",C.props.icon="iconbianji1",C.props.command="edit",C.props.content=(_=r.props)==null?void 0:_.edit.content,C.props.priorityProcess=(S=r.props)==null?void 0:S.edit.priority_process,C.props.openType=(R=r.props)==null?void 0:R.edit.open_type,C.props.formKey=(m=r.props)==null?void 0:m.edit.form_key,((O=r.props)==null?void 0:O.edit.is_show)&&r.children.push(C.toSchema()),(d=r.props)==null||delete d.edit}if(((E=r.props)==null?void 0:E.delete)!==void 0){const C=new Qt.Designer;Object.defineProperty(C,"id",{value:"listPageDeleteBtnId"}),C.props.code="delete",C.props.icon="iconlajitong",C.props.command="delete",C.props.content=(I=r.props)==null?void 0:I.delete.content,C.props.priorityProcess=(D=r.props)==null?void 0:D.delete.priority_process,C.props.openType=(P=r.props)==null?void 0:P.delete.open_type,C.props.formKey=(j=r.props)==null?void 0:j.delete.form_key,C.props.needConfirm=!0,C.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(($=r.props)==null?void 0:$.delete.is_show)&&r.children.push(C.toSchema()),(M=r.props)==null||delete M.delete}}}),[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(r=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var ui={"v1.0":Qp,"v2.0":cy,"v2.1":dy,"v2.2":yy,"v2.3":hy,"v2.4":_y,"v2.5":Ey,"v2.6":Ay,"v2.7":Sy,"v2.8":Cy,"v2.9":ky,"v2.10":Py,"v3.0":Ty,"v3.1":()=>{}};const oi=(e,t)=>{const r=ai(e),n=ai(t),u=r.pop(),o=n.pop(),a=ci(r,n);return a!==0?a:u&&o?ci(u.split("."),o.split(".")):u||o?u?-1:1:0},yt=(e,t,r)=>{My(r);const n=oi(e,t);return fi[r].includes(n)},Fy=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ai=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Fy);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},li=e=>e==="*"||e==="x"||e==="X",si=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Ny=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Ly=(e,t)=>{if(li(e)||li(t))return 0;const[r,n]=Ny(si(e),si(t));return r>n?1:r<n?-1:0},ci=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Ly(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},fi={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},di=Object.keys(fi),My=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(di.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${di.join("|")}`)};function Ir(e){return e.replace(/^v/,"")}const pe=Object.keys(ui).map(e=>Ir(e)).sort(oi),ke=pe[pe.length-1];class jy{constructor(t,r=ke){this.schemaVersion=t,this.toVersion=r,yt(r,ke,">")?Nr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${ke}`):(!pe.includes(Ir(r))||!pe.includes(Ir(t)))&&Nr(`Version Builder: Please give me a valid version number, The valid version is: ${pe.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(yt(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((u,o,a,s)=>{var v;const f=(v=s[a+1])!=null?v:this.toVersion;Te(`Version Builder: current version: ${o}, nextVersion: ${f}`);const p=ui[o];let y=u;if(typeof p=="function"){const _=p(u,r);_&&(y=_)}return y},t);return Te(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return pe.filter(t=>yt(t,this.schemaVersion,">=")&&yt(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return ke}static get version(){return ke}}ae.VersionBuilder=jy,Object.defineProperty(ae,"__esModule",{value:!0})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-upgrade",
|
|
3
|
-
"version": "2.7.0-alpha.
|
|
3
|
+
"version": "2.7.0-alpha.16",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.
|
|
30
|
-
"@byteluck-fe/model-driven-core": "2.7.0-alpha.
|
|
31
|
-
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.
|
|
29
|
+
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.16",
|
|
30
|
+
"@byteluck-fe/model-driven-core": "2.7.0-alpha.16",
|
|
31
|
+
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.16",
|
|
32
32
|
"compare-versions": "6.0.0-rc.1",
|
|
33
33
|
"tslib": "^2.1.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "805e090b718feaf3b80b8ab5491634183be0473b"
|
|
36
36
|
}
|