@byteluck-fe/model-driven-upgrade 2.7.0-alpha.19 → 2.7.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/VersionBuilder.js +33 -18
- package/dist/esm/index.js +2 -2
- package/dist/esm/upgrade/index.js +27 -27
- package/dist/esm/upgrade/v1_0.js +182 -182
- package/dist/esm/upgrade/v2_0.js +2 -2
- package/dist/esm/upgrade/v2_1.js +10 -10
- package/dist/esm/upgrade/v2_10.js +3 -3
- package/dist/esm/upgrade/v2_2.js +13 -13
- package/dist/esm/upgrade/v2_3.js +3 -3
- package/dist/esm/upgrade/v2_4.js +1 -1
- package/dist/esm/upgrade/v2_5.js +1 -1
- package/dist/esm/upgrade/v2_6.js +3 -3
- package/dist/esm/upgrade/v2_7.js +5 -5
- package/dist/esm/upgrade/v2_8.js +4 -4
- package/dist/esm/upgrade/v2_9.js +3 -3
- package/dist/esm/upgrade/v3_0.js +51 -51
- package/dist/esm/upgrade/v3_1.js +4 -4
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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})});
|
|
1
|
+
(function(Tn,Vr){typeof exports=="object"&&typeof module!="undefined"?Vr(exports):typeof define=="function"&&define.amd?define(["exports"],Vr):(Tn=typeof globalThis!="undefined"?globalThis:Tn||self,Vr(Tn.modelDrivenUpgrade={}))})(this,function(Tn){"use strict";var Vr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",yT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",dT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",pT="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",_T="{caption}\u5FC5\u586B",hT="\u8BF7\u8F93\u5165\u6807\u9898",bT="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",gT="\u8BF7\u8F93\u5165\u884C\u6807\u9898",mT="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",OT="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",wT="\u8BF7\u7ED1\u5B9A\u8868\u5355",PT="\u8BF7\u7ED1\u5B9A\u5217\u8868",RT="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",$T="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ST="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ET="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",TT="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",IT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",CT="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",BT="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",AT="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",xT="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",NT="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",kT="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",DT="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",FT="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jT="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",MT="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",LT="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",VT="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",zT="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",HT="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qT="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",UT="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",WT="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",KT="\u8BF7\u7ED1\u5B9A\u670D\u52A1",GT="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",XT="\u8BF7\u9009\u62E9\u7701",JT="\u8BF7\u9009\u62E9\u5E02",QT="\u8BF7\u9009\u62E9\u533A",ZT="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",YT="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",eI="\u8BF7\u8F93\u5165\u5217\u5BBD",tI="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",nI="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",rI="\u8BF7\u9009\u62E9\u63A7\u4EF6",oI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",iI="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",uI="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",cI="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",lI="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",aI="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sI="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yI="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",dI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",pI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",_I="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hI="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",bI="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gI="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mI="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",OI="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",wI="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",PI="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",RI="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$I="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",SI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",EI="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",TI="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",II="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",CI={isNotNumber:Vr,isNotString:yT,isNotObject:dT,isNotArray:vT,isNotBoolean:pT,runtimeRequired:_T,pleaseEnterCaption:hT,pleaseEnterCaptionTip:bT,pleaseEnterRowCaption:gT,pleaseEnterPlaceholder:mT,pleaseEnterFieldCode:OT,pleaseEnterForm:wT,pleaseEnterList:PT,pleaseEnterProcess:RT,pleaseEnterLabel:$T,pleaseEnterValue:ST,bizKeyNotBindFiled:ET,pleaseSelectOneField:TT,pleaseEnterNumberRange:IT,pleaseEnterAValueGreaterThanMin:CT,pleaseEnterAValueLessThanMax:BT,numberRangeSetError:AT,stringRangeError:xT,attachmentMaxSize:NT,pleaseEnterTotalScoreSetting:kT,theTotalScoreMustNotBeLessThan1:DT,scoreDefaultValueRange:FT,attachmentLimitError:jT,PleaseReselectTheOptionalQuantity:MT,TheMaximumLengthIsGreaterThanTheMinimumLength:LT,TheMinimumLengthIsGreaterThanTheMaximumLength:VT,PleaseSelectTheCorrectOptionSettings:zT,optionIdIsRepeat:HT,optionIsRequired:qT,pleaseEnterDataCode:UT,pleaseEnterValueFieldCode:WT,pleaseEnterSvcCode:KT,pleaseBindAtLeastOneDisplayValue:GT,pleaseSelectProvince:XT,pleaseSelectCity:JT,pleaseSelectDistrict:QT,limitRowsCannotBeLessThan0:ZT,TheNumberOfRowsCannotBeLessThanMinRows:YT,pleaseEnterColumnWidth:eI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:tI,pleaseCompleteAllRulesAndConditions:nI,pleaseSelectControl:rI,pleaseSelectAtLeastOneColumn:oI,pleaseSelectFillBackMode:iI,pleaseSelectDashboard:uI,rootNodeIsRequired:cI,theViewNameCannotBeEmpty:lI,pleaseSelectOcrType:aI,pleaseSelectAtLeastOneFieldToFillIn:fI,pleaseChooseAtLeastOne:sI,pleaseEnterButtonContent:yI,pleaseEnterDataCodeInDataSetting:dI,pleaseEnterValueFieldCodeInDataSetting:vI,pleaseEnterSvcCodeInDataSetting:pI,pleaseBindAtLeastOneDisplayValueInDataSetting:_I,rootNodeIsRequiredInDataSetting:hI,pleaseEnterMaxHeight:bI,pleaseEnter:gI,pleaseEnterWatermark:mI,pleaseEnterFileName:OI,pleaseUploadAtLeastOnePrintTemplate:wI,pleaseAssignBusiness:PI,pleaseAssignExternal:RI,pleaseEnterAliasCode:$I,pleaseSelectDataCode:SI,pleaseSelectSvcCode:EI,pleaseSelectJoinFieldCode:TI,pleaseSelectMainFieldCode:II},BI="Please enter a number",AI="Please enter a string",xI="Please enter an object",NI="Please enter an array",kI="Please enter a boolean",DI="{caption} Required",FI="Please enter the title",jI="Please enter the bubble prompt",MI="Please enter the row title",LI="Please enter the prompt text",VI="Please bind data items",zI="Please bind the form",HI="Please bind the list",qI="Please bind the process",UI="Please enter the displayed value",WI="Please enter the stored value",KI="The document number is not bound to the data item",GI="Please select at least one display field",XI="Please enter a value greater than or equal to {min} and less than or equal to {max}",JI="Please enter a value greater than or equal to {min}",QI="Please enter a value less than or equal to {max}",ZI="The value range is set incorrectly",YI="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",e3="The attachment size must be between 0MB and 1000MB",t3="Please fill in the total score setting",n3="The total score cannot be less than 1",r3="The default value must be between {min} and {max}",o3="The number of attachments uploaded must be between {min} and {max}",i3="Please re-select the optional quantity",u3="The maximum length of the control must be greater than the minimum length",c3="The minimum length of the control must be less than the maximum length",l3="Please select the correct option setting",a3="Option ID cannot be repeated",f3="Please enter at least one option",s3="Please bind the data source",y3="Please bind the stored value",d3="Please bind the service",v3="At least one display value must be bound",p3="Please select a province",_3="Please select a city",h3="Please select a district",b3="The minimum number of lines to fill in cannot be less than 0",g3="The number of rows cannot be less than {min} rows",m3="Please enter the column width",O3="Please set the logical relationship of all rule conditions",w3="Please complete all rules and conditions",P3="please select control",R3="Please select the dashboard",$3="View name cannot be empty",S3="Please select recognition type",E3="Please select at least one field to fill in",T3="Please select at least one",I3="Please enter the button title",C3="Please bind the business model in the data settings",B3="Please bind storage values in data settings",A3="Please bind the service in the data settings",x3="Please bind at least one display value in the data settings",N3="Please select the root node in the data settings",k3="Please enter the maximum height",D3="The input content cannot be empty",F3="Watermark cannot be empty",j3="File name cannot be empty",M3="Please upload at least one printing template!\uFF01",L3="Please select a specific business department",V3="Please select a specified external organization",z3="Please enter a sub table alias",H3="Please select the associated table to set the business model",q3="Please select the association table to set the binding service",U3="Select associated sub table fields",W3="Please select the associated main table field",K3={isNotNumber:BI,isNotString:AI,isNotObject:xI,isNotArray:NI,isNotBoolean:kI,runtimeRequired:DI,pleaseEnterCaption:FI,pleaseEnterCaptionTip:jI,pleaseEnterRowCaption:MI,pleaseEnterPlaceholder:LI,pleaseEnterFieldCode:VI,pleaseEnterForm:zI,pleaseEnterList:HI,pleaseEnterProcess:qI,pleaseEnterLabel:UI,pleaseEnterValue:WI,bizKeyNotBindFiled:KI,pleaseSelectOneField:GI,pleaseEnterNumberRange:XI,pleaseEnterAValueGreaterThanMin:JI,pleaseEnterAValueLessThanMax:QI,numberRangeSetError:ZI,stringRangeError:YI,attachmentMaxSize:e3,pleaseEnterTotalScoreSetting:t3,theTotalScoreMustNotBeLessThan1:n3,scoreDefaultValueRange:r3,attachmentLimitError:o3,PleaseReselectTheOptionalQuantity:i3,TheMaximumLengthIsGreaterThanTheMinimumLength:u3,TheMinimumLengthIsGreaterThanTheMaximumLength:c3,PleaseSelectTheCorrectOptionSettings:l3,optionIdIsRepeat:a3,optionIsRequired:f3,pleaseEnterDataCode:s3,pleaseEnterValueFieldCode:y3,pleaseEnterSvcCode:d3,pleaseBindAtLeastOneDisplayValue:v3,pleaseSelectProvince:p3,pleaseSelectCity:_3,pleaseSelectDistrict:h3,limitRowsCannotBeLessThan0:b3,TheNumberOfRowsCannotBeLessThanMinRows:g3,pleaseEnterColumnWidth:m3,pleaseSetTheLogicalRelationshipOfAllRuleConditions:O3,pleaseCompleteAllRulesAndConditions:w3,pleaseSelectControl:P3,pleaseSelectDashboard:R3,theViewNameCannotBeEmpty:$3,pleaseSelectOcrType:S3,pleaseSelectAtLeastOneFieldToFillIn:E3,pleaseChooseAtLeastOne:T3,pleaseEnterButtonContent:I3,pleaseEnterDataCodeInDataSetting:C3,pleaseEnterValueFieldCodeInDataSetting:B3,pleaseEnterSvcCodeInDataSetting:A3,pleaseBindAtLeastOneDisplayValueInDataSetting:x3,rootNodeIsRequiredInDataSetting:N3,pleaseEnterMaxHeight:k3,pleaseEnter:D3,pleaseEnterWatermark:F3,pleaseEnterFileName:j3,pleaseUploadAtLeastOnePrintTemplate:M3,pleaseAssignBusiness:L3,pleaseAssignExternal:V3,pleaseEnterAliasCode:z3,pleaseSelectDataCode:H3,pleaseSelectSvcCode:q3,pleaseSelectJoinFieldCode:U3,pleaseSelectMainFieldCode:W3},G3="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",X3="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",J3="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Q3="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Z3="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Y3="{caption}\u5FC5\u9808",eC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",iC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",sC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",_C="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",bC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",mC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",OC="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",PC="\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",RC="\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",$C="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",EC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",TC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",IC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",BC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",AC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",DC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",FC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",MC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",LC="please select control",VC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",HC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qC="\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",UC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",WC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",GC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",XC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",JC="\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",QC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",eB="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",tB="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",nB="\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",rB="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",oB="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iB="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uB="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",cB="\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",lB="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",aB="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fB={isNotNumber:G3,isNotString:X3,isNotObject:J3,isNotArray:Q3,isNotBoolean:Z3,runtimeRequired:Y3,pleaseEnterCaption:eC,pleaseEnterCaptionTip:tC,pleaseEnterRowCaption:nC,pleaseEnterPlaceholder:rC,pleaseEnterFieldCode:oC,pleaseEnterForm:iC,pleaseEnterList:uC,pleaseEnterProcess:cC,pleaseEnterLabel:lC,pleaseEnterValue:aC,bizKeyNotBindFiled:fC,pleaseSelectOneField:sC,pleaseEnterNumberRange:yC,pleaseEnterAValueGreaterThanMin:dC,pleaseEnterAValueLessThanMax:vC,numberRangeSetError:pC,stringRangeError:_C,attachmentMaxSize:hC,pleaseEnterTotalScoreSetting:bC,theTotalScoreMustNotBeLessThan1:gC,scoreDefaultValueRange:mC,attachmentLimitError:OC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:PC,TheMinimumLengthIsGreaterThanTheMaximumLength:RC,PleaseSelectTheCorrectOptionSettings:$C,optionIdIsRepeat:SC,optionIsRequired:EC,pleaseEnterDataCode:TC,pleaseEnterValueFieldCode:IC,pleaseEnterSvcCode:CC,pleaseBindAtLeastOneDisplayValue:BC,pleaseSelectProvince:AC,pleaseSelectCity:xC,pleaseSelectDistrict:NC,limitRowsCannotBeLessThan0:kC,TheNumberOfRowsCannotBeLessThanMinRows:DC,pleaseEnterColumnWidth:FC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jC,pleaseCompleteAllRulesAndConditions:MC,pleaseSelectControl:LC,pleaseSelectDashboard:VC,theViewNameCannotBeEmpty:zC,pleaseSelectOcrType:HC,pleaseSelectAtLeastOneFieldToFillIn:qC,pleaseChooseAtLeastOne:UC,pleaseEnterButtonContent:WC,pleaseEnterDataCodeInDataSetting:KC,pleaseEnterValueFieldCodeInDataSetting:GC,pleaseEnterSvcCodeInDataSetting:XC,pleaseBindAtLeastOneDisplayValueInDataSetting:JC,rootNodeIsRequiredInDataSetting:QC,pleaseEnterMaxHeight:ZC,pleaseEnter:YC,pleaseEnterWatermark:eB,pleaseEnterFileName:tB,pleaseUploadAtLeastOnePrintTemplate:nB,pleaseAssignBusiness:rB,pleaseAssignExternal:oB,pleaseEnterAliasCode:iB,pleaseSelectDataCode:uB,pleaseSelectSvcCode:cB,pleaseSelectJoinFieldCode:lB,pleaseSelectMainFieldCode:aB},sB={zhCN:CI,enUS:K3,jaJP:fB},E0;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(E0||(E0={}));var T0;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(T0||(T0={}));var yB="zh-CN";function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var In;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(In||(In={}));var d;(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"})(d||(d={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(m||(m={}));var ge;ge={},Ne(ge,m.ARRAY,d.ARRAY_COLUMN),Ne(ge,m.AUTO_NUMBER,d.AUTO_NUMBER_COLUMN),Ne(ge,m.DECIMAL,d.DECIMAL_COLUMN),Ne(ge,m.DEPARTMENTS,d.DEPARTMENT_COLUMN),Ne(ge,m.FILE,d.FILE_COLUMN),Ne(ge,m.IMAGE,d.IMAGE_COLUMN),Ne(ge,m.ADDRESS,d.LOCATION_COLUMN),Ne(ge,m.EMPLOYEES,d.EMPLOYEE_COLUMN),Ne(ge,m.TEXT,d.TEXT_COLUMN),Ne(ge,m.TIMESCOPE,d.TIMESCOPE_COLUMN),Ne(ge,m.TIMESTAMP,d.TIMESTAMP_COLUMN),Ne(ge,m.VARCHAR,d.VARCHAR_COLUMN),Ne(ge,m.RELATION,d.VARCHAR_COLUMN);var Ft;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Ft||(Ft={}));var I0="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",dB=I0+"0123456789";function mt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?I0:dB,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Gf(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 vB(e){if(Array.isArray(e))return Gf(e)}function pB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _B(){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 Po(e,t,r){return _B()?Po=Reflect.construct:Po=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Hr(l,u.prototype),l},Po.apply(null,arguments)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function B0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hr(e,t)}function hB(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gB(){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 mB(e,t){return t&&(OB(t)==="object"||typeof t=="function")?t:pB(e)}function Hr(e,t){return Hr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hr(e,t)}function A0(e){return vB(e)||bB(e)||wB(e)||gB()}var OB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wB(e,t){if(!!e){if(typeof e=="string")return Gf(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 Gf(e,t)}}function Xf(e){var t=typeof Map=="function"?new Map:void 0;return Xf=function(n){if(n===null||!hB(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Po(n,arguments,zr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Hr(o,n)},Xf(e)}function PB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x0(e){var t=PB();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mB(this,o)}}var Jf=console;function Qf(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Jf).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(A0(o)))}function Ro(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Jf).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(A0(o)))}function RB(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Zf=function(e){B0(r,e);var t=x0(r);function r(n){C0(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?RB(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Xf(Error)),$B=function(e){B0(r,e);var t=x0(r);function r(n){C0(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Zf);function qr(e){throw new Zf(e)}function N0(e){throw new $B(e)}function SB(e){Jf.error(new Zf(e))}var EB=Object.prototype.toString;function k0(e,t){return EB.call(e)==="[object "+t+"]"}function TB(e){return k0(e,"String")}function IB(e){return k0(e,"Promise")}var CB=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();IB(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,c){if(o!==void 0){var a=o[i];if(!(u===c.length-1&&!TB(a)))return a}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function BB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AB(e,t,r){return t&&D0(e.prototype,t),r&&D0(e,r),e}function xB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(){function e(){BB(this,e)}return AB(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]:yB;return new CB({locale:r,messages:sB})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();xB(p,"$i18n",p.resetI18n());function NB(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Qf("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===a.length-1&&!Object.is(l[u],r)&&(l[u]=r,o=!0),l[u]}},e),o}var kB=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yf={exports:{}};(function(e){(function(t){var r=function(_,P,R){if(!l(P)||y(P)||v(P)||h(P)||a(P))return P;var $,E=0,j=0;if(f(P))for($=[],j=P.length;E<j;E++)$.push(r(_,P[E],R));else{$={};for(var A in P)Object.prototype.hasOwnProperty.call(P,A)&&($[_(A,R)]=r(_,P[A],R))}return $},n=function(_,P){P=P||{};var R=P.separator||"_",$=P.split||/(?=[A-Z])/;return _.split($).join(R)},o=function(_){return O(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(P,R){return R?R.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},i=function(_){var P=o(_);return P.substr(0,1).toUpperCase()+P.substr(1)},u=function(_,P){return n(_,P).toLowerCase()},c=Object.prototype.toString,a=function(_){return typeof _=="function"},l=function(_){return _===Object(_)},f=function(_){return c.call(_)=="[object Array]"},y=function(_){return c.call(_)=="[object Date]"},v=function(_){return c.call(_)=="[object RegExp]"},h=function(_){return c.call(_)=="[object Boolean]"},O=function(_){return _=_-0,_===_},b=function(_,P){var R=P&&"process"in P?P.process:P;return typeof R!="function"?_:function($,E){return R($,_,E)}},w={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(_,P){return r(b(o,P),_)},decamelizeKeys:function(_,P){return r(b(u,P),_,P)},pascalizeKeys:function(_,P){return r(b(i,P),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=w:t.humps=w})(kB)})(Yf);var F0={};Object.defineProperty(F0,"__esModule",{value:!0});function es(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:es(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:es(n)}return t}}var DB=F0.default=es;function jt(e){if(e!==void 0)return typeof e=="object"?DB(e):e}function me(e){return j0(e)&&"zh"in e}function j0(e){return Object.prototype.toString.call(e)==="[object Object]"}function ts(e){return Array.isArray(e)}function Cn(e){return isNaN(parseFloat(e))?"":Number(e)}function FB(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function Oe(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=Oe(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=Oe(n.footers,t)),t(o)})),r}function jB(e){return Yf.exports.camelizeKeys(e)}function Bn(e){return Yf.exports.decamelizeKeys(e)}function ns(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 MB(e){if(Array.isArray(e))return ns(e)}function M0(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function LB(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){M0(i,n,o,u,c,"next",a)}function c(a){M0(i,n,o,u,c,"throw",a)}u(void 0)})}}function VB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zB(e,t,r){return t&&L0(e.prototype,t),r&&L0(e,r),e}function V0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qB(){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 rs(e){return MB(e)||HB(e)||UB(e)||qB()}function UB(e,t){if(!!e){if(typeof e=="string")return ns(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 ns(e,t)}}var WB=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},KB=function(){function e(){VB(this,e),V0(this,"_events",new Map),V0(this,"debug",!1)}return zB(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return LB(function(){var c,a,l,f,y,v,h,O,b,w,_,P;return WB(this,function(R){switch(R.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];l=c.slice(),f=!0,y=!1,v=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),h=l[Symbol.iterator](),R.label=2;case 2:if(f=(O=h.next()).done)return[3,7];if(b=O.value,!c.includes(b))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),u.debug&&Ro.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(rs(o))),[4,b.apply(null,rs(o))];case 4:return w=R.sent(),u.debug&&Ro.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(rs(o),[w])),a.push(w),w===!1?[3,7]:[3,6];case 5:return _=R.sent(),SB(String(_)+":"+String(_.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return P=R.sent(),y=!0,v=P,[3,10];case 9:try{!f&&h.return!=null&&h.return()}finally{if(y)throw v}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function GB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XB(e,t,r){return t&&z0(e.prototype,t),r&&z0(e,r),e}function JB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var QB=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],ZB=function(){function e(){GB(this,e)}return XB(e,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}}]),e}();JB(ZB,"events",QB);function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e1(e,t,r){return t&&H0(e.prototype,t),r&&H0(e,r),e}function an(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var q0=[],os=function(){function e(t){YB(this,e),an(this,"registeredControlTypes",new Set),an(this,"controlConfigMap",new Map),an(this,"_controls",[]),an(this,"_type",void 0),this._type=t,this._initControls(t)}return e1(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||qr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Qf("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===In.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===In.FORM}},{key:"isListControl",value:function(r){return r.controlType===In.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===In.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(f){return o.createControl(f,n)});if(r.children&&(r.children=r.children.map(function(f){return o.createControl(f,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(f){return o.createControl(f,n)})),i.footers&&(i.footers=i.footers.map(function(f){var y;return f&&(y=o.createControl(f,n)),y}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var a=n(c);a&&(c=a)}var l=new u(c);return l}else qr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&qr("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===n.controlType});return i>-1&&(Qf("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();an(os,"staticControls",q0),an(os,"staticRegisteredTypes",new Set(q0.map(function(e){return e.Designer.controlType}))),an(os,"staticRegisteredConfigs",new Map);function F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function Xe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function t1(e,t){return t&&(n1(t)==="object"||typeof t=="function")?t:F(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var n1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=r1();return function(){var n=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t1(this,o)}}var Qe=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0),g(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},U0=function e(t){S(this,e),g(this,"minWidth",void 0),g(this,"maxWidth",void 0),g(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},us=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"width",void 0),g(F(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(U0),o1=function e(t){S(this,e),g(this,"pc",void 0),g(this,"mobile",void 0),this.pc=new us(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new us(t==null?void 0:t.mobile):new us({width:130,minWidth:180})},i1=function e(t){S(this,e),g(this,"type",void 0),g(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},An=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"formKey",void 0),g(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},u1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(An),W0=function e(t){S(this,e),g(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},cs=function e(t){S(this,e);var r;g(this,"appId",void 0),g(this,"formKey",void 0),g(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new W0(u)}))!==null&&i!==void 0?i:[]},c1=function e(t){S(this,e),g(this,"fieldName",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:m.VARCHAR},l1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"title",void 0),g(F(o),"svcCode",void 0),g(F(o),"isOpenFilter",void 0),g(F(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(An),a1=function e(t){S(this,e);var r,n;g(this,"type","sublist-page"),g(this,"formBind",void 0),g(this,"displayFields",void 0),g(this,"sublists",void 0),this.formBind=new An(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new c1(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new l1(u)}))!==null&&i!==void 0?i:[]},f1=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Ur=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),g(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},K0=function e(t){var r=this;S(this,e),g(this,"id",void 0),g(this,"ruleId",void 0),g(this,"type","conditions"),g(this,"level",void 0),g(this,"value",void 0),g(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:mt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var a,l=new e(c);(a=r.children)===null||a===void 0||a.push(l)}else{var f,y=new ls(c);(f=r.children)===null||f===void 0||f.push(y)}}))},ls=function e(t){S(this,e),g(this,"id",void 0),g(this,"ruleId",void 0),g(this,"type","condition"),g(this,"symbol",void 0),g(this,"checked",void 0),g(this,"describe",void 0),g(this,"leftVariableBo",void 0),g(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new f1(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Ur(t==null?void 0:t.rightVariableBo)},s1=function e(t){S(this,e),g(this,"aliasCode",void 0),g(this,"datasourceBind",void 0),g(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new ee(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},$e=function e(t){S(this,e),g(this,"controlId",void 0),g(this,"fieldCode",void 0),g(this,"fieldType",void 0),g(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},as=function e(t){S(this,e),g(this,"type",void 0),g(this,"value",void 0),g(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},y1=function e(t){S(this,e),g(this,"columnName",void 0),g(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1};function fs(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new K0(c):new ls(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new K0(c):new ls(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new y1(c)}))!==null&&u!==void 0?u:[]}var ee=function e(t){var r=this;S(this,e),g(this,"dataCode",void 0),g(this,"valueFieldCode",void 0),g(this,"displayBoList",void 0),g(this,"keywordMapping",void 0),g(this,"svcCode",void 0),g(this,"appId",void 0),g(this,"filters",void 0),g(this,"viewFilters",void 0),g(this,"isOpenViewFilters",void 0),g(this,"orders",void 0),g(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(f){var y;(y=r.displayBoList)===null||y===void 0||y.push(new as(f))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=t==null?void 0:t.svcCode)!==null&&l!==void 0?l:"",fs.call(this,t)},ss=function e(t){S(this,e),g(this,"dataCode",void 0),g(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Mt=function e(t){S(this,e),g(this,"code",void 0),g(this,"color",void 0),g(this,"command",void 0),g(this,"confirmMessage",void 0),g(this,"defaultState",void 0),g(this,"formKey",void 0),g(this,"icon",void 0),g(this,"needConfirm",void 0),g(this,"openType",void 0),g(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0;var a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"iconliulan1";var l;this.needConfirm=(l=t==null?void 0:t.needConfirm)!==null&&l!==void 0?l:!1;var f;this.openType=(f=t==null?void 0:t.openType)!==null&&f!==void 0?f:"modal";var y;this.priorityProcess=(y=t==null?void 0:t.priorityProcess)!==null&&y!==void 0?y:!0},G0=function e(t){S(this,e);var r;g(this,"name",void 0),g(this,"key",void 0),g(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new as(u)}))!==null&&i!==void 0?i:[]},So=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),g(F(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new G0(c)}))!==null&&u!==void 0?u:[],o}return r}(ee),d1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o,i;o=t.call(this,n),g(F(o),"attributes",void 0),g(F(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new G0(a)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(ee),X0=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"rootNode",void 0),g(F(o),"filterCode",void 0),o.rootNode=new Ur(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(So),J0=function e(t){S(this,e);var r;g(this,"dataCode",void 0),g(this,"appId",void 0),g(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new $e(u)}))!==null&&i!==void 0?i:[]},Q0=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this,n),g(F(o),"filters",void 0),g(F(o),"viewFilters",void 0),g(F(o),"orders",void 0),fs.call(F(o),n),o}return r}(J0),Z0=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;o=t.call(this,n),g(F(o),"mode",void 0),g(F(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(J0),Y0=function e(t){S(this,e),g(this,"stencilName",void 0),g(this,"expression",void 0),g(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},v1=function e(t){S(this,e),g(this,"id",void 0),g(this,"label",void 0),g(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label};function Ot(e){var t;return(t=e==null?void 0:e.map(function(r){return new v1(r)}))!==null&&t!==void 0?t:[]}var ys=function e(){S(this,e)},p1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"amount",void 0),g(F(o),"currency",void 0),o.amount=new Qe(n==null?void 0:n.amount),o.currency=new Qe(n==null?void 0:n.currency),o}return r}(ys),_1=function e(t){S(this,e),g(this,"amount",void 0),g(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:Eo.CNY},h1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"min",void 0),g(F(o),"max",void 0),o.min=new Qe(n==null?void 0:n.min),o.max=new Qe(n==null?void 0:n.max),o}return r}(ys),b1=function e(t){S(this,e),g(this,"min",void 0),g(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},g1=function e(t){S(this,e),g(this,"city",void 0),g(this,"cityDisplay",void 0),g(this,"district",void 0),g(this,"districtDisplay",void 0),g(this,"province",void 0),g(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},m1=function(e){Xe(r,e);var t=Je(r);function r(n){S(this,r);var o;return o=t.call(this),g(F(o),"result",void 0),g(F(o),"unit",void 0),o.result=new Qe(n==null?void 0:n.result),o.unit=new Qe(n==null?void 0:n.unit),o}return r}(ys),O1=function e(t){S(this,e),g(this,"result",void 0),g(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""},Eo;(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"})(Eo||(Eo={}));var s;(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"})(s||(s={}));var ds;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ds||(ds={}));var Lt=function e(t){S(this,e),g(this,"isShow",void 0),g(this,"priorityProcess",void 0),g(this,"formKey",void 0),g(this,"content",void 0),g(this,"openType",void 0),g(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},w1=function e(t){S(this,e);var r;g(this,"id",void 0),g(this,"title",void 0),g(this,"filters",void 0),g(this,"viewFilters",void 0),g(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:mt(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new W0(u)}))!==null&&i!==void 0?i:[],fs.call(this,t)},P1=function e(t){S(this,e),g(this,"width",void 0),g(this,"height",void 0),g(this,"widthConfig",void 0),g(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},R1=function e(t){S(this,e),g(this,"optCode",void 0),g(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""};function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S1(){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 To(e,t,r){return S1()?To=Reflect.construct:To=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Kr(l,u.prototype),l},To.apply(null,arguments)}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function E1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kr(e,t)}function T1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function I1(e,t){return t&&(C1(t)==="object"||typeof t=="function")?t:$1(e)}function Kr(e,t){return Kr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kr(e,t)}var C1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ps(e){var t=typeof Map=="function"?new Map:void 0;return ps=function(n){if(n===null||!T1(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return To(n,arguments,Wr(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Kr(o,n)},ps(e)}function B1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A1(e){var t=B1();return function(){var n=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I1(this,o)}}var Z=function e(t){vs(this,e),fn(this,"isHide",{type:"boolean"})},sn=function(e){E1(r,e);var t=A1(r);function r(n){return vs(this,r),t.call(this)}return r}(ps(Array)),te=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";vs(this,e),fn(this,"isHide",void 0),fn(this,"className",void 0),fn(this,"style",void 0),fn(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new P1(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};fn(te,"Rules",Z),fn(te,"RuntimeRules",sn);function lt(){return lt=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},lt.apply(this,arguments)}function x1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function Io(e,t){return Io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Io(e,t)}function N1(){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 Co(e,t,r){return N1()?Co=Reflect.construct:Co=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),l=new a;return u&&Io(l,u.prototype),l},Co.apply(null,arguments)}function k1(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function hs(e){var t=typeof Map=="function"?new Map:void 0;return hs=function(n){if(n===null||!k1(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Co(n,arguments,_s(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Io(o,n)},hs(e)}var D1=/%[sdj%]/g,eg=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(eg=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function bs(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 ke(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(D1,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(a){return"[Circular]"}break;default:return c}});return u}return o}function F1(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Y(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||F1(t)&&typeof e=="string"&&!e)}function j1(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function tg(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function M1(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var ng=function(e){x1(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(hs(Error));function L1(e,t,r,n){if(t.first){var o=new Promise(function(y,v){var h=function(w){return n(w),w.length?v(new ng(w,bs(w))):y()},O=M1(e);tg(O,r,h)});return o.catch(function(y){return y}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,a=0,l=[],f=new Promise(function(y,v){var h=function(b){if(l.push.apply(l,b),a++,a===c)return n(l),l.length?v(new ng(l,bs(l))):y()};u.length||(n(l),y()),u.forEach(function(O){var b=e[O];i.indexOf(O)!==-1?tg(b,r,h):j1(b,r,h)})});return f.catch(function(y){return y}),f}function rg(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 og(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]=lt(lt({},e[r]),n):e[r]=n}}return e}function ig(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Y(t,i||e.type))&&n.push(ke(o.messages.required,e.fullField))}function V1(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(ke(o.messages.whitespace,e.fullField))}var gs={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},Gr={integer:function(t){return Gr.number(t)&&parseInt(t,10)===t},float:function(t){return Gr.number(t)&&!Gr.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"&&!Gr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(gs.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(gs.url)},hex:function(t){return typeof t=="string"&&!!t.match(gs.hex)}};function z1(e,t,r,n,o){if(e.required&&t===void 0){ig(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Gr[u](t)||n.push(ke(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(ke(o.messages.types[u],e.fullField,e.type))}function H1(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,f=null,y=typeof t=="number",v=typeof t=="string",h=Array.isArray(t);if(y?f="number":v?f="string":h&&(f="array"),!f)return!1;h&&(l=t.length),v&&(l=t.replace(a,"_").length),i?l!==e.len&&n.push(ke(o.messages[f].len,e.fullField,e.len)):u&&!c&&l<e.min?n.push(ke(o.messages[f].min,e.fullField,e.min)):c&&!u&&l>e.max?n.push(ke(o.messages[f].max,e.fullField,e.max)):u&&c&&(l<e.min||l>e.max)&&n.push(ke(o.messages[f].range,e.fullField,e.min,e.max))}var xn="enum";function q1(e,t,r,n,o){e[xn]=Array.isArray(e[xn])?e[xn]:[],e[xn].indexOf(t)===-1&&n.push(ke(o.messages[xn],e.fullField,e[xn].join(", ")))}function U1(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(ke(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var x={required:ig,whitespace:V1,type:z1,range:H1,enum:q1,pattern:U1};function W1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t,"string")&&!e.required)return r();x.required(e,t,n,i,o,"string"),Y(t,"string")||(x.type(e,t,n,i,o),x.range(e,t,n,i,o),x.pattern(e,t,n,i,o),e.whitespace===!0&&x.whitespace(e,t,n,i,o))}r(i)}function K1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}function G1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function X1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}function J1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),Y(t)||x.type(e,t,n,i,o)}r(i)}function Q1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function Z1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function Y1(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();x.required(e,t,n,i,o,"array"),t!=null&&(x.type(e,t,n,i,o),x.range(e,t,n,i,o))}r(i)}function eA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x.type(e,t,n,i,o)}r(i)}var tA="enum";function nA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o),t!==void 0&&x[tA](e,t,n,i,o)}r(i)}function rA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t,"string")&&!e.required)return r();x.required(e,t,n,i,o),Y(t,"string")||x.pattern(e,t,n,i,o)}r(i)}function oA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t,"date")&&!e.required)return r();if(x.required(e,t,n,i,o),!Y(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),x.type(e,c,n,i,o),c&&x.range(e,c.getTime(),n,i,o)}}r(i)}function iA(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;x.required(e,t,n,i,o,u),r(i)}function ms(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Y(t,i)&&!e.required)return r();x.required(e,t,n,u,o,i),Y(t,i)||x.type(e,t,n,u,o)}r(u)}function uA(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Y(t)&&!e.required)return r();x.required(e,t,n,i,o)}r(i)}var Xr={string:W1,method:K1,number:G1,boolean:X1,regexp:J1,integer:Q1,float:Z1,array:Y1,object:eA,enum:nA,pattern:rA,date:oA,url:ms,hex:ms,email:ms,required:iA,any:uA};function Os(){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 ws=Os();function Vt(e){this.rules=null,this._messages=ws,this.define(e)}Vt.prototype={messages:function(t){return t&&(this._messages=og(Os(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function a(b){var w,_=[],P={};function R($){if(Array.isArray($)){var E;_=(E=_).concat.apply(E,$)}else _.push($)}for(w=0;w<b.length;w++)R(b[w]);_.length?P=bs(_):(_=null,P=null),c(_,P)}if(u.messages){var l=this.messages();l===ws&&(l=Os()),og(l,u.messages),u.messages=l}else u.messages=this.messages();var f,y,v={},h=u.keys||Object.keys(this.rules);h.forEach(function(b){f=o.rules[b],y=i[b],f.forEach(function(w){var _=w;typeof _.transform=="function"&&(i===t&&(i=lt({},i)),y=i[b]=_.transform(y)),typeof _=="function"?_={validator:_}:_=lt({},_),_.validator=o.getValidationMethod(_),_.field=b,_.fullField=_.fullField||b,_.type=o.getType(_),_.validator&&(v[b]=v[b]||[],v[b].push({rule:_,value:y,source:i,field:b}))})});var O={};return L1(v,u,function(b,w){var _=b.rule,P=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");P=P&&(_.required||!_.required&&b.value),_.field=b.field;function R(j,A){return lt(lt({},A),{},{fullField:_.fullField+"."+j})}function $(j){j===void 0&&(j=[]);var A=j;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&Vt.warning("async-validator:",A),A.length&&_.message!==void 0&&(A=[].concat(_.message)),A=A.map(rg(_)),u.first&&A.length)return O[_.field]=1,w(A);if(!P)w(A);else{if(_.required&&!b.value)return _.message!==void 0?A=[].concat(_.message).map(rg(_)):u.error&&(A=[u.error(_,ke(u.messages.required,_.field))]),w(A);var W={};if(_.defaultField)for(var I in b.value)b.value.hasOwnProperty(I)&&(W[I]=_.defaultField);W=lt(lt({},W),b.rule.fields);for(var bt in W)if(W.hasOwnProperty(bt)){var wo=Array.isArray(W[bt])?W[bt]:[W[bt]];W[bt]=wo.map(R.bind(null,bt))}var Lr=new Vt(W);Lr.messages(u.messages),b.rule.options&&(b.rule.options.messages=u.messages,b.rule.options.error=u.error),Lr.validate(b.value,b.rule.options||u,function(En){var gt=[];A&&A.length&>.push.apply(gt,A),En&&En.length&>.push.apply(gt,En),w(gt.length?gt:null)})}}var E;_.asyncValidator?E=_.asyncValidator(_,b.value,$,b.source,u):_.validator&&(E=_.validator(_,b.value,$,b.source,u),E===!0?$():E===!1?$(_.message||_.field+" fails"):E instanceof Array?$(E):E instanceof Error&&$(E.message)),E&&E.then&&E.then(function(){return $()},function(j){return $(j)})},function(b){a(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Xr.hasOwnProperty(t.type))throw new Error(ke("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"?Xr.required:Xr[this.getType(t)]||!1}},Vt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Xr[t]=r},Vt.warning=eg,Vt.messages=ws,Vt.validators=Xr;var cA={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 lA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vt(e);return r.messages(Object.assign(cA,t)),r}var aA=new KB;function Ps(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 fA(e){if(Array.isArray(e))return e}function sA(e){if(Array.isArray(e))return Ps(e)}function ug(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function cg(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){ug(i,n,o,u,c,"next",a)}function c(a){ug(i,n,o,u,c,"throw",a)}u(void 0)})}}function yA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dA(e,t,r){return t&&lg(e.prototype,t),r&&lg(e,r),e}function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ag(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function fg(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vA(){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 pA(){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 sg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){M(e,o,r[o])})}return e}function _A(e){return fA(e)||fg(e)||yg(e)||vA()}function Rs(e){return sA(e)||fg(e)||yg(e)||pA()}function yg(e,t){if(!!e){if(typeof e=="string")return Ps(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 Ps(e,t)}}var dg=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},L=function(){function t(r){var n=this;yA(this,t),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",pg),M(this,"removeSetting",vg),this._callControlHooks("preInstance",r);var o=ag(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,l=o.controlEventKeys,f=o.controlCustomEvents,y=o.name,v=o.setting;i&&u&&c||N0("The ".concat(y," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:mt(10),this.name=i,this.icon=u;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:c,this.props=new te(r==null?void 0:r.props,(ag(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"base",this.setting=jt(v);var w;this.fieldType=(w=r==null?void 0:r.fieldType)!==null&&w!==void 0?w:a,this.eventKeys=jt(l),this.customEvents=jt(f),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return dA(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=_A(o),a=c[0],l=c.slice(1);return(u=aA).emit.apply(u,[a,this].concat(Rs(l)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),NB(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return cg(function(){var o,i,u;return dg(this,function(c){switch(c.label){case 0:return o=sg({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return cg(function(){var u,c,a,l;return dg(this,function(f){switch(f.label){case 0:return[4,i.preValidate()];case 1:u=f.sent(),c=u!==void 0?u:sg({},i.rules),Array.isArray(o)&&o.forEach(function(y){c.hasOwnProperty(y)&&delete c[y]}),a=lA(c,n),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return f.sent(),[2,!0];case 4:throw l=f.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,a=c.dataBind,l=c.datasourceBind,f=c.optionConfig,y=c.caption,v=c.required,h=c.maxLength,O=c.options,b=c.encrypted,w=c.encryptedMode;if(!(!o&&!a&&!l)){var _={parentId:n,fieldType:o,controlId:i,caption:y,type:u,props:{}};switch(a&&(_.dataBind=a),f){case"datasource":case void 0:l&&(_.datasourceBind=l);break;case"custom":_.props.options=O;break}return v!==void 0&&(_.required=v),h!==void 0&&(_.maxLength=h),b!==void 0&&(_.encrypted=b),w!==void 0&&(_.encryptedMode=w),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:jt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Rs(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",vg),M(L,"updateSettingItem",pg);function vg(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?n.key:n)});if(u!==-1){var c,a;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(l){return!n.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function pg(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Rs(t.showItems))}}}})}function hA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bA(e,t,r){return t&&_g(e.prototype,t),r&&_g(e,r),e}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gA(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var zt=function(){function t(r){hA(this,t),Le(this,"id",void 0),Le(this,"type",void 0),Le(this,"controlType",void 0),Le(this,"props",void 0),Le(this,"fieldType",void 0),Le(this,"customEvents",[]),Le(this,"pageStatus",void 0),Le(this,"parent",null);var n=gA(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||N0("The ".concat(u," controlType is not define"));var a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:mt(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:o,this.props=new te(r==null?void 0:r.props),this.customEvents=c;var f;this.controlType=(f=r==null?void 0:r.controlType)!==null&&f!==void 0?f:"base";var y;this.fieldType=(y=r==null?void 0:r.fieldType)!==null&&y!==void 0?y:i;var v;this.pageStatus=(v=r==null?void 0:r.pageStatus)!==null&&v!==void 0?v:ds.UNKNOWN}return bA(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Le(zt,"controlType","control"),Le(zt,"controlFieldType",void 0),Le(zt,"__is_control__",!0),Le(zt,"controlCustomEvents",[]);function $s(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:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=FB(i);i.length!==u.length?o(p.getMessage("optionIdIsRepeat")):o()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function Bo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function mA(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(e)}function No(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ss(e,t)}function OA(e,t){return t&&(wA(t)==="object"||typeof t=="function")?t:V(e)}function Ss(e,t){return Ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ss(e,t)}var wA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ko(e){var t=PA();return function(){var n=xo(e),o;if(t){var i=xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OA(this,o)}}var de=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;o=t.call(this,n),z(V(o),"dataBind",{}),z(V(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),z(V(o),"isHideCaption",{type:"boolean"}),z(V(o),"labelPosition",{type:"enum",enum:["top","left"]}),z(V(o),"defaultState",{type:"enum",enum:["default","readonly"]}),z(V(o),"required",{type:"boolean"}),z(V(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(mA(n.dataBind))o.dataBind={type:"object",required:!0,fields:jt(i),message:p.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:jt(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),H=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(sn),N=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;o=t.call(this,n),z(V(o),"caption",void 0),z(V(o),"isHideCaption",void 0),z(V(o),"isShowCaptionTip",void 0),z(V(o),"captionTip",void 0),z(V(o),"labelPosition",void 0),z(V(o),"dataBind",void 0),z(V(o),"defaultValue",void 0),z(V(o),"placeholder",void 0),z(V(o),"defaultState",void 0),z(V(o),"required",void 0),z(V(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var v;o.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1;var h;o.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",o.dataBind=new Qe(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(te);z(N,"Rules",de),z(N,"RuntimeRules",H);var Nn=function(e){No(r,e);var t=ko(r);function r(n){Ao(this,r);var o;return o=t.call(this,n),z(V(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),z(V(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),z(V(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),$s.call(V(o),n),o}return r}(de);function Es(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Do(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function $A(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ts(e,t)}function SA(e,t){return t&&(EA(t)==="object"||typeof t=="function")?t:Es(e)}function Ts(e,t){return Ts=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ts(e,t)}var EA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IA(e){var t=TA();return function(){var n=Fo(e),o;if(t){var i=Fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SA(this,o)}}var k=function(e){$A(r,e);var t=IA(r);function r(n){RA(this,r);var o;return o=t.call(this,n),Do(Es(o),"controlType","form"),Do(Es(o),"props",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(L);Do(k,"controlEventKeys",["on_change","on_focus","on_blur"]),Do(k,"controlCustomAttributes",void 0);function jo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Is(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mo(e){return Mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mo(e)}function BA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cs(e,t)}function AA(e,t){return t&&(xA(t)==="object"||typeof t=="function")?t:jo(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var xA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kA(e){var t=NA();return function(){var n=Mo(e),o;if(t){var i=Mo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AA(this,o)}}var D=function(e){BA(r,e);var t=kA(r);function r(n){CA(this,r);var o;return o=t.call(this,n),Is(jo(o),"controlType","form"),Is(jo(o),"props",void 0),Is(jo(o),"value",void 0),o.props=new N(n==null?void 0:n.props),o}return r}(zt);function DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function jA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function MA(e,t){return t&&(LA(t)==="object"||typeof t=="function")?t:DA(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var LA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zA(e){var t=VA();return function(){var n=Lo(e),o;if(t){var i=Lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MA(this,o)}}var oe=function(e){jA(r,e);var t=zA(r);function r(n){return FA(this,r),t.call(this,n)}return r}(te);function As(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 HA(e){if(Array.isArray(e))return As(e)}function qA(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UA(){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 hg(e){return HA(e)||qA(e)||WA(e)||UA()}function WA(e,t){if(!!e){if(typeof e=="string")return As(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 As(e,t)}}function KA(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function bg(e,t){e.parent=t,KA(e,"parent")}function GA(e,t){e.forEach(function(r){bg(r,t)})}var gg=Symbol("targetKey");function mg(e){var t;return(t=e[gg])!==null&&t!==void 0?t:e}function Og(e,t){return GA(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),c=2;c<i;c++)u[c-2]=arguments[c];var a;return o===gg?n:(a=Reflect).get.apply(a,[n,o].concat(hg(u)))},set:function(n,o,i){for(var u=arguments.length,c=new Array(u>3?u-3:0),a=3;a<u;a++)c[a-3]=arguments[a];var l;if(ts(e)&&o==="length"&&i===e.length)return!0;var f=(l=Reflect).set.apply(l,[n,o,i].concat(hg(c)));return j0(i)&&bg(i,t),f}})}function wt(e,t,r,n){var o=n!=null?n:e,i=Og(mg(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(c){i=Og(mg(c),o)},enumerable:!0})}function xs(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 XA(e){if(Array.isArray(e))return xs(e)}function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function JA(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){wg(i,n,o,u,c,"next",a)}function c(a){wg(i,n,o,u,c,"throw",a)}u(void 0)})}}function QA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZA(e,t,r){return t&&Pg(e.prototype,t),r&&Pg(e,r),e}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kn=Reflect.get:kn=function(o,i,u){var c=cx(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},kn(e,t,r||e)}function qt(e){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qt(e)}function YA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ns(e,t)}function ex(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nx(){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 rx(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ht(e,o,r[o])})}return e}function ox(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ix(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ox(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ux(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:yn(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}function cx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qt(e),e!==null););return e}function Rg(e){return XA(e)||tx(e)||ax(e)||nx()}var lx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ax(e,t){if(!!e){if(typeof e=="string")return xs(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 xs(e,t)}}function fx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sx(e){var t=fx();return function(){var n=qt(e),o;if(t){var i=qt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ux(this,o)}}var yx=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},dx=1e4,ie=function(t){YA(n,t);var r=sx(n);function n(o){QA(this,n);var i;i=r.call(this,o),Ht(yn(i),"controlType","layout"),Ht(yn(i),"children",void 0),Ht(yn(i),"excludes",void 0),Ht(yn(i),"childrenMaxLength",void 0),Ht(yn(i),"props",void 0);var u=ex(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new oe(o==null?void 0:o.props),wt(yn(i),"children",o==null?void 0:o.children),i.excludes=jt(c),i.childrenMaxLength=a,i}return ZA(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,a=this,l=function(){return kn(qt(n.prototype),"validate",c)};return JA(function(){return yx(this,function(f){switch(f.label){case 0:return[4,l().call(a,i,u)];case 1:return f.sent(),[4,Promise.all(a.children.map(function(y){return y.validate(i,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=kn(qt(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,l){var f=l.toDataBindModel(i);if(Array.isArray(f)){var y=f.filter(function(v){return!!v});return Rg(a).concat(Rg(y))}return f&&a.push(f),a},c)}},{key:"toSchema",value:function(){var i=kn(qt(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return ix(rx({},i),{children:u})}}]),n}(L);Ht(ie,"excludes",!1),Ht(ie,"childrenMaxLength",dx);function Jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ks(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function px(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ds(e,t)}function _x(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:Jr(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var hx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gx(e){var t=bx();return function(){var n=Vo(e),o;if(t){var i=Vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _x(this,o)}}var dn=function(e){px(r,e);var t=gx(r);function r(n){vx(this,r);var o;return o=t.call(this,n),ks(Jr(o),"controlType","layout"),ks(Jr(o),"children",void 0),ks(Jr(o),"props",void 0),o.props=new oe(n==null?void 0:n.props),wt(Jr(o),"children",n==null?void 0:n.children),o}return r}(zt);function Qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zo(e)}function Ox(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function wx(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:Qr(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var Px=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Rx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $x(e){var t=Rx();return function(){var n=zo(e),o;if(t){var i=zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wx(this,o)}}var js=function(e){Ox(r,e);var t=$x(r);function r(n,o){mx(this,r);var i;return i=t.call(this,o),$g(Qr(i),"headers",void 0),$g(Qr(i),"footers",void 0),wt(Qr(i),"headers",o==null?void 0:o.headers,n),wt(Qr(i),"footers",o==null?void 0:o.footers,n),i}return r}(te);function Ms(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 Sx(e){if(Array.isArray(e))return Ms(e)}function Ho(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sg(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Ex(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){Sg(i,n,o,u,c,"next",a)}function c(a){Sg(i,n,o,u,c,"throw",a)}u(void 0)})}}function Tx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ix(e,t,r){return t&&Eg(e.prototype,t),r&&Eg(e,r),e}function qo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dn(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dn=Reflect.get:Dn=function(o,i,u){var c=kx(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Dn(e,t,r||e)}function Ut(e){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(e)}function Cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ls(e,t)}function Bx(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ax(){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 Tg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){qo(e,o,r[o])})}return e}function xx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ig(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xx(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Nx(e,t){return t&&(Dx(t)==="object"||typeof t=="function")?t:Ho(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}function kx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ut(e),e!==null););return e}function Cg(e){return Sx(e)||Bx(e)||Fx(e)||Ax()}var Dx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fx(e,t){if(!!e){if(typeof e=="string")return Ms(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 Ms(e,t)}}function jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mx(e){var t=jx();return function(){var n=Ut(e),o;if(t){var i=Ut(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nx(this,o)}}var Lx=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Vs=function(e){Cx(r,e);var t=Mx(r);function r(n){Tx(this,r);var o;return o=t.call(this,n),qo(Ho(o),"controlType","list"),qo(Ho(o),"props",void 0),o.props=new js(Ho(o),n==null?void 0:n.props),o}return Ix(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return Dn(Ut(r.prototype),"validate",u)};return Ex(function(){return Lx(this,function(l){switch(l.label){case 0:return[4,a().call(c,o)];case 1:return l.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Dn(Ut(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var f=l.filter(function(y){return!!y});return Cg(c).concat(Cg(f))}return l&&c.push(l),c},i)}},{key:"toSchema",value:function(){var o,i,u=Dn(Ut(r.prototype),"toSchema",this).call(this),c=this.props.headers.map(function(l){return l.toSchema()}),a=(o=this.props)===null||o===void 0||(i=o.footers)===null||i===void 0?void 0:i.map(function(l){if(l)return l.toSchema()});return Ig(Tg({},u),{props:Ig(Tg({},this.props),{headers:c,footers:a})})}}]),r}(L);qo(Vs,"controlFieldType",m.LIST);function ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uo(e){return Uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uo(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&&qs(e,t)}function Vx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:ue(e)}function qs(e,t){return qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qs(e,t)}var zx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Us(e){var t=Hx();return function(){var n=Uo(e),o;if(t){var i=Uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vx(this,o)}}var Pt=function(e){Hs(r,e);var t=Us(r);function r(n){zs(this,r);var o;return o=t.call(this,n),ve(ue(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ve(ue(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Z),X=function(e){Hs(r,e);var t=Us(r);function r(n){zs(this,r);var o;o=t.call(this,n),ve(ue(o),"widthType",void 0),ve(ue(o),"width",void 0),ve(ue(o),"caption",void 0),ve(ue(o),"dataBind",void 0),ve(ue(o),"autoWidth",void 0),ve(ue(o),"fixed",void 0),ve(ue(o),"sort",void 0),ve(ue(o),"align",void 0),ve(ue(o),"colSpan",void 0),ve(ue(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new U0(n==null?void 0:n.autoWidth),o.dataBind=new Qe(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var l;return o.autoHeight=(l=n==null?void 0:n.autoHeight)!==null&&l!==void 0?l:!1,o}return r}(te);ve(X,"Rules",Pt);var Bg=function(e){Hs(r,e);var t=Us(r);function r(n){zs(this,r);var o;return o=t.call(this,n),ve(ue(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ve(ue(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),ve(ue(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),$s.call(ue(o),n),o}return r}(Pt);function Ws(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ag(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function Ux(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function Wx(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:Ws(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var Kx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xx(e){var t=Gx();return function(){var n=Wo(e),o;if(t){var i=Wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wx(this,o)}}var ce=function(e){Ux(r,e);var t=Xx(r);function r(n){qx(this,r);var o;return o=t.call(this,n),Ag(Ws(o),"controlType","column"),Ag(Ws(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(L);function Gs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function Qx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xs(e,t)}function Zx(e,t){return t&&(Yx(t)==="object"||typeof t=="function")?t:Gs(e)}function Xs(e,t){return Xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xs(e,t)}var Yx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tN(e){var t=eN();return function(){var n=Ko(e),o;if(t){var i=Ko(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zx(this,o)}}var le=function(e){Qx(r,e);var t=tN(r);function r(n){Jx(this,r);var o;return o=t.call(this,n),xg(Gs(o),"controlType","column"),xg(Gs(o),"props",void 0),o.props=new X(n==null?void 0:n.props),o}return r}(zt);function Ng(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(e)}function oN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function iN(e,t){return t&&(uN(t)==="object"||typeof t=="function")?t:Ng(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var uN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lN(e){var t=cN();return function(){var n=Go(e),o;if(t){var i=Go(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iN(this,o)}}var Qs=function(e){oN(r,e);var t=lN(r);function r(n){nN(this,r);var o;return o=t.call(this,n),rN(Ng(o),"dataBind",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind),o}return r}(oe);function Zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function fN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ys(e,t)}function sN(e,t){return t&&(yN(t)==="object"||typeof t=="function")?t:Zs(e)}function Ys(e,t){return Ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ys(e,t)}var yN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vN(e){var t=dN();return function(){var n=Xo(e),o;if(t){var i=Xo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sN(this,o)}}var pN=function(e){fN(r,e);var t=vN(r);function r(n){aN(this,r);var o;return o=t.call(this,n),kg(Zs(o),"controlType","search"),kg(Zs(o),"props",void 0),o.props=new Qs(n==null?void 0:n.props),o}return r}(ie);function ey(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jo(e){return Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jo(e)}function hN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function bN(e,t){return t&&(gN(t)==="object"||typeof t=="function")?t:ey(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var gN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ON(e){var t=mN();return function(){var n=Jo(e),o;if(t){var i=Jo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bN(this,o)}}var wN=function(e){hN(r,e);var t=ON(r);function r(n){_N(this,r);var o;return o=t.call(this,n),Dg(ey(o),"controlType","search"),Dg(ey(o),"props",void 0),o.props=new Qs(n==null?void 0:n.props),o}return r}(dn);function vn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function RN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function $N(e,t){return t&&(SN(t)==="object"||typeof t=="function")?t:Fn(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var SN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TN(e){var t=EN();return function(){var n=Qo(e),o;if(t){var i=Qo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $N(this,o)}}var IN=function(e){RN(r,e);var t=TN(r);function r(n){PN(this,r);var o;o=t.call(this,n),Zr(Fn(o),"content",void 0),Zr(Fn(o),"fontSize",void 0),Zr(Fn(o),"color",void 0),Zr(Fn(o),"icon",void 0),Zr(Fn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var l;return o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:"\u8BF4\u660E\u6587\u5B57",o}return r}(te);function Fg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BN(e,t,r){return t&&jg(e.prototype,t),r&&jg(e,r),e}function Mg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function AN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ry(e,t)}function xN(e,t){return t&&(NN(t)==="object"||typeof t=="function")?t:Fg(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var NN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DN(e){var t=kN();return function(){var n=Zo(e),o;if(t){var i=Zo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xN(this,o)}}var FN=function(e){AN(r,e);var t=DN(r);function r(n){CN(this,r);var o;return o=t.call(this,n),Mg(Fg(o),"props",void 0),o.props=new IN(n==null?void 0:n.props),o}return BN(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);Mg(FN,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(e)}function MN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function LN(e,t){return t&&(VN(t)==="object"||typeof t=="function")?t:Yo(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var VN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HN(e){var t=zN();return function(){var n=ei(e),o;if(t){var i=ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LN(this,o)}}var qN=function(e){MN(r,e);var t=HN(r);function r(n){jN(this,r);var o;o=t.call(this,n),oy(Yo(o),"content",void 0),oy(Yo(o),"url",void 0),oy(Yo(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}(te);function Lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WN(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function uy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ti(e){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ti(e)}function KN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cy(e,t)}function GN(e,t){return t&&(XN(t)==="object"||typeof t=="function")?t:Lg(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var XN=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QN(e){var t=JN();return function(){var n=ti(e),o;if(t){var i=ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GN(this,o)}}var zg=function(e){KN(r,e);var t=QN(r);function r(n){UN(this,r);var o;return o=t.call(this,n),uy(Lg(o),"props",void 0),o.props=new qN(n==null?void 0:n.props),o}return WN(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);uy(zg,"controlEventKeys",["on_click"]),uy(zg,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function at(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 Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(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&&ly(e,t)}function e2(e,t){return t&&(t2(t)==="object"||typeof t=="function")?t:at(e)}function ly(e,t){return ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ly(e,t)}var t2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r2(e){var t=n2();return function(){var n=ni(e),o;if(t){var i=ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e2(this,o)}}var De=function(e){YN(r,e);var t=r2(r);function r(n){ZN(this,r);var o;o=t.call(this,n),Rt(at(o),"content",void 0),Rt(at(o),"buttonType",void 0),Rt(at(o),"showType",void 0),Rt(at(o),"color",void 0),Rt(at(o),"icon",void 0),Rt(at(o),"defaultState",void 0),Rt(at(o),"command",void 0),Rt(at(o),"isLoading",void 0),Rt(at(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"iconfenlei2";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var v;o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1;var h;return o.optObj=new R1((h=n==null?void 0:n.optObj)!==null&&h!==void 0?h:{}),o}return r}(te);function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i2(e,t,r){return t&&qg(e.prototype,t),r&&qg(e,r),e}function ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function u2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function c2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:Hg(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var l2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f2(e){var t=a2();return function(){var n=ri(e),o;if(t){var i=ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c2(this,o)}}var Se=function(e){u2(r,e);var t=f2(r);function r(n){o2(this,r);var o;return o=t.call(this,n),ay(Hg(o),"props",void 0),o.props=new De(n==null?void 0:n.props),o}return i2(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);ay(Se,"controlEventKeys",["on_click","on_click_finish"]),ay(Se,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function Wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $t;(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"})($t||($t={}));var sy;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(sy||(sy={}));var yy;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(yy||(yy={}));var dy=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:sy.UN_SELECT_ABLE_INTERVAL,dateLimitType:yy.FILE_IN_TIME,id:mt(8),value:["",""]};Wt(this,e),C(this,"dateConfigType",void 0),C(this,"dateLimitType",void 0),C(this,"id",void 0),C(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value},vy;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(vy||(vy={}));var py=function e(t){Wt(this,e),C(this,"id",void 0),C(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},_y;(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"})(_y||(_y={}));var Ug=function e(t){Wt(this,e),C(this,"type",void 0),C(this,"person",void 0),C(this,"signatureType",void 0),C(this,"telephone",void 0),C(this,"company",void 0),C(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Ur((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new Ur((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a:new Ur((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var l;this.remark=(l=t==null?void 0:t.remark)!==null&&l!==void 0?l:""},s2=function e(t){Wt(this,e);var r;C(this,"fileControl",void 0),C(this,"undersignedList",void 0),C(this,"statusControl",void 0),C(this,"completeControl",void 0),C(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(a){return new Ug(a)}))!==null&&o!==void 0?o:[new Ug];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},Wg=function e(t){Wt(this,e),C(this,"id",void 0),C(this,"appId",void 0),C(this,"dataCode",void 0),C(this,"svcCode",void 0),C(this,"name",void 0),C(this,"fieldList",void 0),C(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:mt(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},Kg=function e(t){Wt(this,e),C(this,"active",void 0),C(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},y2=function e(t){Wt(this,e),C(this,"types",void 0),C(this,"history",void 0),C(this,"collaborativeRecord",void 0),C(this,"logicToDelete",void 0),C(this,"watermark",void 0),C(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Kg(t==null?void 0:t.watermark),this.autoRename=new Kg(t==null?void 0:t.autoRename)},d2=480;function oi(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var v2=function e(t){Wt(this,e),C(this,"fileId",void 0),C(this,"fileName",void 0),C(this,"ruleName",void 0),C(this,"isDefault",void 0),C(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},Gg;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(Gg||(Gg={}));var hy;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(hy||(hy={}));var ii;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(ii||(ii={}));var Kt;(function(e){e.ALL="all",e.ASSIGN="assign"})(Kt||(Kt={}));var by;(function(e){e.ALL="all",e.ADMIN="admin"})(by||(by={}));function gy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function _2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function h2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:gy(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var b2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m2(e){var t=g2();return function(){var n=ui(e),o;if(t){var i=ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h2(this,o)}}var O2=function(e){_2(r,e);var t=m2(r);function r(n){p2(this,r);var o;o=t.call(this,n),Xg(gy(o),"color",void 0),Xg(gy(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:_y.SOLID,o}return r}(te);function Jg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P2(e,t,r){return t&&Qg(e.prototype,t),r&&Qg(e,r),e}function Zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(e)}function R2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function $2(e,t){return t&&(S2(t)==="object"||typeof t=="function")?t:Jg(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var S2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T2(e){var t=E2();return function(){var n=ci(e),o;if(t){var i=ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $2(this,o)}}var I2=function(e){R2(r,e);var t=T2(r);function r(n){w2(this,r);var o;return o=t.call(this,n),Zg(Jg(o),"props",void 0),o.props=new O2(n==null?void 0:n.props),o}return P2(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);Zg(I2,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}]);function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function em(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function C2(e,t){return t&&(B2(t)==="object"||typeof t=="function")?t:Gt(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var B2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tm(e){var t=A2();return function(){var n=li(e),o;if(t){var i=li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return C2(this,o)}}var x2=function(e){em(r,e);var t=tm(r);function r(n){Yg(this,r);var o;return o=t.call(this,n),Xt(Gt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Xt(Gt(o),"dataBind",{type:"any"}),Xt(Gt(o),"config",{type:"array"}),n.config.includes($t.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return r}(Z),nm=function(e){em(r,e);var t=tm(r);function r(n){Yg(this,r);var o;o=t.call(this,n),Xt(Gt(o),"dataBind",void 0),Xt(Gt(o),"caption",void 0),Xt(Gt(o),"config",void 0),Xt(Gt(o),"position",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[$t.ShowSubmitUser,$t.ShowSubmitDept,$t.ShowSubmitTime,$t.ShowCurrentApprovar,$t.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yr==null?void 0:Yr.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(te);Xt(nm,"Rules",x2);function rm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k2(e,t,r){return t&&om(e.prototype,t),r&&om(e,r),e}function Py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ai(e)}function D2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function F2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:rm(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}var j2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L2(e){var t=M2();return function(){var n=ai(e),o;if(t){var i=ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F2(this,o)}}var Yr=function(e){D2(r,e);var t=L2(r);function r(n){N2(this,r);var o;return o=t.call(this,n),Py(rm(o),"props",void 0),o.props=new nm(n==null?void 0:n.props),o}return k2(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);Py(Yr,"controlFieldType",m.AUTO_NUMBER),Py(Yr,"setting",[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function im(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(e)}function um(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function V2(e,t){return t&&(z2(t)==="object"||typeof t=="function")?t:fi(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var z2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cm(e){var t=H2();return function(){var n=yi(e),o;if(t){var i=yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V2(this,o)}}var q2=function(e){um(r,e);var t=cm(r);function r(n){im(this,r);var o;return o=t.call(this,n),si(fi(o),"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(Z),lm=function(e){um(r,e);var t=cm(r);function r(n){im(this,r);var o;o=t.call(this,n),si(fi(o),"formKey",void 0),si(fi(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:vi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:vi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(De);si(lm,"Rules",q2);function am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W2(e,t,r){return t&&fm(e.prototype,t),r&&fm(e,r),e}function Sy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function K2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function G2(e,t){return t&&(X2(t)==="object"||typeof t=="function")?t:am(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var X2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q2(e){var t=J2();return function(){var n=di(e),o;if(t){var i=di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G2(this,o)}}var vi=function(e){K2(r,e);var t=Q2(r);function r(n){U2(this,r);var o;return o=t.call(this,n),Sy(am(o),"props",void 0),o.props=new lm(n==null?void 0:n.props),o}return W2(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Se);Sy(vi,"controlEventKeys",["on_click","on_click_finish"]),Sy(vi,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(e)}function ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function Z2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:jn(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var Y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ek(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dm(e){var t=ek();return function(){var n=pi(e),o;if(t){var i=pi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z2(this,o)}}var tk=function(e){ym(r,e);var t=dm(r);function r(n){sm(this,r);var o;return o=t.call(this,n),Mn(jn(o),"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return r}(Z),vm=function(e){ym(r,e);var t=dm(r);function r(n){sm(this,r);var o;o=t.call(this,n),Mn(jn(o),"processKey",void 0),Mn(jn(o),"initiatorMode",void 0),Mn(jn(o),"fieldCode",void 0),Mn(jn(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:hi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:hi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return r}(De);Mn(vm,"Rules",tk);function pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rk(e,t,r){return t&&_m(e.prototype,t),r&&_m(e,r),e}function Iy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function ok(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cy(e,t)}function ik(e,t){return t&&(uk(t)==="object"||typeof t=="function")?t:pm(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var uk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ck(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lk(e){var t=ck();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ik(this,o)}}var hi=function(e){ok(r,e);var t=lk(r);function r(n){nk(this,r);var o;return o=t.call(this,n),Iy(pm(o),"props",void 0),o.props=new vm(n==null?void 0:n.props),o}return rk(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Se);Iy(hi,"controlEventKeys",["on_click","on_click_finish"]),Iy(hi,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ak(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bi(e)}function sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function yk(e,t){return t&&(dk(t)==="object"||typeof t=="function")?t:ak(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var dk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pk(e){var t=vk();return function(){var n=bi(e),o;if(t){var i=bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yk(this,o)}}var _k=function(e){sk(r,e);var t=pk(r);function r(n){fk(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mi.controlIcon,o}return r}(De);function hm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bk(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function Ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(e)}function gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xy(e,t)}function mk(e,t){return t&&(Ok(t)==="object"||typeof t=="function")?t:hm(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var Ok=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pk(e){var t=wk();return function(){var n=gi(e),o;if(t){var i=gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mk(this,o)}}var mi=function(e){gk(r,e);var t=Pk(r);function r(n){hk(this,r);var o;return o=t.call(this,n),Ay(hm(o),"props",void 0),o.props=new _k(n==null?void 0:n.props),o}return bk(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Se);Ay(mi,"controlEventKeys",["on_click"]),Ay(mi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function $k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ky(e,t)}function Sk(e,t){return t&&(Ek(t)==="object"||typeof t=="function")?t:Ny(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}var Ek=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Tk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ik(e){var t=Tk();return function(){var n=Oi(e),o;if(t){var i=Oi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sk(this,o)}}var Ck=function(e){$k(r,e);var t=Ik(r);function r(n){Rk(this,r);var o,i;o=t.call(this,n),gm(Ny(o),"templateList",void 0),gm(Ny(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Pi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Pi.controlName;var a;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var l;return o.templateList=(l=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(f){return new Wg(f)}))!==null&&l!==void 0?l:[new Wg({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(De);function mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ak(e,t,r){return t&&Om(e.prototype,t),r&&Om(e,r),e}function Dy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function Nk(e,t){return t&&(kk(t)==="object"||typeof t=="function")?t:mm(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var kk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Dk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fk(e){var t=Dk();return function(){var n=wi(e),o;if(t){var i=wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nk(this,o)}}var Pi=function(e){xk(r,e);var t=Fk(r);function r(n){Bk(this,r);var o;return o=t.call(this,n),Dy(mm(o),"props",void 0),o.props=new Ck(n==null?void 0:n.props),o}return Ak(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Se);Dy(Pi,"controlEventKeys",["on_click","on_click_finish"]),Dy(Pi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(e)}function Lk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function Vk(e,t){return t&&(zk(t)==="object"||typeof t=="function")?t:jk(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var zk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qk(e){var t=Hk();return function(){var n=Ri(e),o;if(t){var i=Ri(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vk(this,o)}}var Uk=function(e){Lk(r,e);var t=qk(r);function r(n){Mk(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Si.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Si.controlIcon,o}return r}(De);function wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kk(e,t,r){return t&&Pm(e.prototype,t),r&&Pm(e,r),e}function My(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function Gk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function Xk(e,t){return t&&(Jk(t)==="object"||typeof t=="function")?t:wm(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ly(e,t)}var Jk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qk(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zk(e){var t=Qk();return function(){var n=$i(e),o;if(t){var i=$i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xk(this,o)}}var Si=function(e){Gk(r,e);var t=Zk(r);function r(n){Wk(this,r);var o;return o=t.call(this,n),My(wm(o),"props",void 0),o.props=new Uk(n==null?void 0:n.props),o}return Kk(r,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Se);My(Si,"controlEventKeys",["on_click"]),My(Si,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function Vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function Yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function eD(e,t){return t&&(tD(t)==="object"||typeof t=="function")?t:Vy(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var tD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rD(e){var t=nD();return function(){var n=Ei(e),o;if(t){var i=Ei(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eD(this,o)}}var oD=function e(t){Rm(this,e),zy(this,"dataCode",void 0),this.dataCode=t.dataCode},iD=function(e){Yk(r,e);var t=rD(r);function r(n){Rm(this,r);var o,i;o=t.call(this,n),zy(Vy(o),"canImportList",void 0),zy(Vy(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ii.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Ii.controlIcon;var a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(f){return new oD(f)}))!==null&&a!==void 0?a:[];var l;return o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system",o}return r}(De);function $m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cD(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function qy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function lD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function aD(e,t){return t&&(fD(t)==="object"||typeof t=="function")?t:$m(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uy(e,t)}var fD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yD(e){var t=sD();return function(){var n=Ti(e),o;if(t){var i=Ti(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aD(this,o)}}var Ii=function(e){lD(r,e);var t=yD(r);function r(n){uD(this,r);var o;return o=t.call(this,n),qy($m(o),"props",void 0),o.props=new iD(n==null?void 0:n.props),o}return cD(r,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Se);qy(Ii,"controlEventKeys",["on_click","on_click_finish"]),qy(Ii,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Ci(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function Jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Em(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function Tm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function Im(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){St(e,o,r[o])})}return e}function dD(e,t){return t&&(vD(t)==="object"||typeof t=="function")?t:Jt(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}var vD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cm(e){var t=pD();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dD(this,o)}}var _D=function(e){Tm(r,e);var t=Cm(r);function r(n){Em(this,r);var o;return o=t.call(this,n),St(Jt(o),"fillPayload",{type:"object",fields:Im({},Ci())}),St(Jt(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),St(Jt(o),"fillBack",{type:"object",fields:Im({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Ci())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(Z),Bm=function(e){Tm(r,e);var t=Cm(r);function r(n){Em(this,r);var o;o=t.call(this,n),St(Jt(o),"fillPayload",void 0),St(Jt(o),"formBind",void 0),St(Jt(o),"fillBack",void 0),St(Jt(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:xi.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:xi.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new Q0(n==null?void 0:n.fillPayload),o.formBind=new u1(n==null?void 0:n.formBind),o.fillBack=new Z0(n==null?void 0:n.fillBack),o}return r}(De);St(Bm,"Rules",_D);function Am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bD(e,t,r){return t&&xm(e.prototype,t),r&&xm(e,r),e}function Ky(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function gD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function mD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:Am(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gy(e,t)}var OD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PD(e){var t=wD();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mD(this,o)}}var xi=function(e){gD(r,e);var t=PD(r);function r(n){hD(this,r);var o;return o=t.call(this,n),Ky(Am(o),"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return bD(r,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(Se);Ky(xi,"controlEventKeys",["on_click","on_click_finish"]),Ky(xi,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function km(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function Dm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ft(e,o,r[o])})}return e}function RD(e,t){return t&&($D(t)==="object"||typeof t=="function")?t:Et(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}var $D=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fm(e){var t=SD();return function(){var n=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RD(this,o)}}var ED=function(e){km(r,e);var t=Fm(r);function r(n){Nm(this,r);var o;return o=t.call(this,n),ft(Et(o),"fillPayload",{type:"object",fields:Dm({},Ci())}),ft(Et(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),ft(Et(o),"fillBack",{type:"object",fields:Dm({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},Ci())}),o}return r}(Z),jm=function(e){km(r,e);var t=Fm(r);function r(n){Nm(this,r);var o;o=t.call(this,n),ft(Et(o),"fillPayload",void 0),ft(Et(o),"listPageBind",void 0),ft(Et(o),"fillBack",void 0),ft(Et(o),"showSelectedDetail",void 0),ft(Et(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Di.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Di.controlIcon,o.fillPayload=new Q0(n==null?void 0:n.fillPayload),o.listPageBind=new cs(n==null?void 0:n.listPageBind),o.fillBack=new Z0(n==null?void 0:n.fillBack);var c;return o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig),o}return r}(De);ft(jm,"Rules",ED);function Mm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lm(e,t){for(var r=0;r<t.length;r++){var 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&&Lm(e.prototype,t),r&&Lm(e,r),e}function Jy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function CD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function BD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:Mm(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var AD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ND(e){var t=xD();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BD(this,o)}}var Di=function(e){CD(r,e);var t=ND(r);function r(n){TD(this,r);var o;return o=t.call(this,n),Jy(Mm(o),"props",void 0),o.props=new jm(n==null?void 0:n.props),o}return ID(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(Se);Jy(Di,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Jy(Di,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function kD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function Yy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function DD(e,t){return t&&(FD(t)==="object"||typeof t=="function")?t:kD(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}var FD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jD();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DD(this,o)}}var MD=function(e){Yy(r,e);var t=td(r);function r(n){return Zy(this,r),t.call(this,n)}return r}(Z),LD=function(e){Yy(r,e);var t=td(r);function r(n){return Zy(this,r),t.call(this,n)}return r}(sn),nd=function(e){Yy(r,e);var t=td(r);function r(n){return Zy(this,r),t.call(this,n)}return r}(te);Vm(nd,"Rules",MD),Vm(nd,"RuntimeRules",LD);function zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zD(e,t,r){return t&&Hm(e.prototype,t),r&&Hm(e,r),e}function qm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function HD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function qD(e,t){return t&&(UD(t)==="object"||typeof t=="function")?t:zm(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}var UD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KD(e){var t=WD();return function(){var n=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qD(this,o)}}var GD=function(e){HD(r,e);var t=KD(r);function r(n){VD(this,r);var o;return o=t.call(this,n),qm(zm(o),"props",void 0),o.props=new nd(n==null?void 0:n.props),o}return zD(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);qm(GD,"setting",[]);function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Um(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function Wm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}function XD(e,t){return t&&(JD(t)==="object"||typeof t=="function")?t:Ve(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var JD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Km(e){var t=QD();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XD(this,o)}}var ZD=function(e){Wm(r,e);var t=Km(r);function r(n){Um(this,r);var o;return o=t.call(this,n),ze(Ve(o),"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),ze(Ve(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ze(Ve(o),"isHideCaption",{type:"boolean"}),ze(Ve(o),"labelPosition",{type:"enum",enum:["top","left"]}),ze(Ve(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),Gm=function(e){Wm(r,e);var t=Km(r);function r(n){Um(this,r);var o;o=t.call(this,n),ze(Ve(o),"dashboardKey",void 0),ze(Ve(o),"caption",void 0),ze(Ve(o),"isHideCaption",void 0),ze(Ve(o),"isShowCaptionTip",void 0),ze(Ve(o),"captionTip",void 0),ze(Ve(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return r}(te);ze(Gm,"Rules",ZD);function Xm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t){for(var r=0;r<t.length;r++){var 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&&Jm(e.prototype,t),r&&Jm(e,r),e}function Qm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(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&&id(e,t)}function nF(e,t){return t&&(rF(t)==="object"||typeof t=="function")?t:Xm(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}var rF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=oF();return function(){var n=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nF(this,o)}}var uF=function(e){tF(r,e);var t=iF(r);function r(n){YD(this,r);var o;return o=t.call(this,n),Qm(Xm(o),"props",void 0),o.props=new Gm(n==null?void 0:n.props),o}return eF(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);Qm(uF,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function eo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function to(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(e)}function Ym(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function cF(e,t){return t&&(lF(t)==="object"||typeof t=="function")?t:eo(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}var lF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eO(e){var t=aF();return function(){var n=Vi(e),o;if(t){var i=Vi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cF(this,o)}}var fF=function(e){Ym(r,e);var t=eO(r);function r(n){Zm(this,r);var o;return o=t.call(this,n),to(eo(o),"showType",{type:"enum",enum:["select","tabs"]}),to(eo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Z),tO=function(e){Ym(r,e);var t=eO(r);function r(n){Zm(this,r);var o,i;o=t.call(this,n),to(eo(o),"showType",void 0),to(eo(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(a){return new w1(a)}))!==null&&c!==void 0?c:[],o}return r}(te);to(tO,"Rules",fF);function nO(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 rO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yF(e,t,r){return t&&rO(e.prototype,t),r&&rO(e,r),e}function oO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function dF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function vF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:nO(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}var pF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _F(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hF(e){var t=_F();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vF(this,o)}}var bF=function(e){dF(r,e);var t=hF(r);function r(n){sF(this,r);var o;return o=t.call(this,n),oO(nO(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return yF(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(L);oO(bF,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function uO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function gF(e,t){return t&&(mF(t)==="object"||typeof t=="function")?t:Ee(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var mF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cO(e){var t=OF();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gF(this,o)}}var wF=function(e){uO(r,e);var t=cO(r);function r(n){iO(this,r);var o;return o=t.call(this,n),Te(Ee(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Te(Ee(o),"isHideCaption",{type:"boolean"}),Te(Ee(o),"labelPosition",{type:"enum",enum:["top","left"]}),Te(Ee(o),"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),Te(Ee(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Te(Ee(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),lO=function(e){uO(r,e);var t=cO(r);function r(n){iO(this,r);var o,i;o=t.call(this,n),Te(Ee(o),"caption",void 0),Te(Ee(o),"isHideCaption",void 0),Te(Ee(o),"isShowCaptionTip",void 0),Te(Ee(o),"captionTip",void 0),Te(Ee(o),"labelPosition",void 0),Te(Ee(o),"ocrType",void 0),Te(Ee(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:no.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:no.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:no.controlIcon;var h;o.ocrType=(h=n==null?void 0:n.ocrType)!==null&&h!==void 0?h:"";var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new $e(b)}))!==null&&O!==void 0?O:[],o}return r}(De);Te(lO,"Rules",wF);function aO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RF(e,t,r){return t&&fO(e.prototype,t),r&&fO(e,r),e}function ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(e)}function $F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function SF(e,t){return t&&(EF(t)==="object"||typeof t=="function")?t:aO(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var EF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TF();return function(){var n=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SF(this,o)}}var no=function(e){$F(r,e);var t=IF(r);function r(n){PF(this,r);var o;return o=t.call(this,n),ad(aO(o),"props",void 0),o.props=new lO(n==null?void 0:n.props),o}return RF(r,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Se);ad(no,"controlEventKeys",["on_click","on_click_finish"]),ad(no,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function CF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:Ie(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var BF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dO(e){var t=AF();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CF(this,o)}}var xF=function(e){yO(r,e);var t=dO(r);function r(n){sO(this,r);var o;return o=t.call(this,n),Ce(Ie(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Ce(Ie(o),"isHideCaption",{type:"boolean"}),Ce(Ie(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ce(Ie(o),"invoiceCheck",{type:"boolean"}),Ce(Ie(o),"fillList",{type:"array",validator:function(u,c,a){var l=c.every(function(f){return!f.controlId});if(l){a(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ce(Ie(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),vO=function(e){yO(r,e);var t=dO(r);function r(n){sO(this,r);var o,i;o=t.call(this,n),Ce(Ie(o),"caption",void 0),Ce(Ie(o),"isHideCaption",void 0),Ce(Ie(o),"isShowCaptionTip",void 0),Ce(Ie(o),"captionTip",void 0),Ce(Ie(o),"labelPosition",void 0),Ce(Ie(o),"invoiceCheck",void 0),Ce(Ie(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ro.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:ro.controlName;var v;o.icon=(v=n==null?void 0:n.icon)!==null&&v!==void 0?v:ro.controlIcon;var h;o.invoiceCheck=(h=n==null?void 0:n.invoiceCheck)!==null&&h!==void 0?h:!0;var O;return o.fillList=(O=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(b){return new $e(b)}))!==null&&O!==void 0?O:[],o}return r}(De);Ce(vO,"Rules",xF);function pO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kF(e,t,r){return t&&_O(e.prototype,t),r&&_O(e,r),e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function DF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function FF(e,t){return t&&(jF(t)==="object"||typeof t=="function")?t:pO(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var jF=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 LF(e){var t=MF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FF(this,o)}}var ro=function(e){DF(r,e);var t=LF(r);function r(n){NF(this,r);var o;return o=t.call(this,n),yd(pO(o),"props",void 0),o.props=new vO(n==null?void 0:n.props),o}return kF(r,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Se);yd(ro,"controlEventKeys",["on_click","on_click_finish"]),yd(ro,"setting",[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function bO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:Ki(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}var zF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gO(e){var t=HF();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VF(this,o)}}var qF=function(e){bO(r,e);var t=gO(r);function r(){hO(this,r);var n;return n=t.apply(this,arguments),Gi(Ki(n),"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Z),mO=function(e){bO(r,e);var t=gO(r);function r(n){hO(this,r);var o,i;o=t.call(this,n),Gi(Ki(o),"printTemplates",void 0),Gi(Ki(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Qi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Qi.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(f){return new v2(f)}))!==null&&a!==void 0?a:[];var l;return o.autoSelectTemplate=(l=n==null?void 0:n.autoSelectTemplate)!==null&&l!==void 0?l:!1,o}return r}(De);Gi(mO,"Rules",qF);function OO(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 wO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WF(e,t,r){return t&&wO(e.prototype,t),r&&wO(e,r),e}function pd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function KF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function GF(e,t){return t&&(XF(t)==="object"||typeof t=="function")?t:OO(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_d(e,t)}var XF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QF(e){var t=JF();return function(){var n=Ji(e),o;if(t){var i=Ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GF(this,o)}}var Qi=function(e){KF(r,e);var t=QF(r);function r(n){UF(this,r);var o;return o=t.call(this,n),pd(OO(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return WF(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370"}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Se);pd(Qi,"controlEventKeys",["on_click","on_click_finish"]),pd(Qi,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function ZF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function ej(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function tj(e,t){return t&&(nj(t)==="object"||typeof t=="function")?t:ZF(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var nj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oj(e){var t=rj();return function(){var n=Zi(e),o;if(t){var i=Zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tj(this,o)}}var ij=function(e){ej(r,e);var t=oj(r);function r(n){YF(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:eu.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:eu.controlIcon,o}return r}(De);function PO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cj(e,t,r){return t&&RO(e.prototype,t),r&&RO(e,r),e}function bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function aj(e,t){return t&&(fj(t)==="object"||typeof t=="function")?t:PO(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}var fj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yj(e){var t=sj();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aj(this,o)}}var eu=function(e){lj(r,e);var t=yj(r);function r(n){uj(this,r);var o;return o=t.call(this,n),bd(PO(o),"props",void 0),o.props=new ij(n==null?void 0:n.props),o}return cj(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Se);bd(eu,"controlEventKeys",["on_click"]),bd(eu,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function SO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function dj(e,t){return t&&(vj(t)==="object"||typeof t=="function")?t:we(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var vj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EO(e){var t=pj();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dj(this,o)}}var _j=function(e){SO(r,e);var t=EO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),Pe(we(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(Z),nu=function(e){SO(r,e);var t=EO(r);function r(n){$O(this,r);var o;o=t.call(this,n),Pe(we(o),"content",void 0),Pe(we(o),"code",void 0),Pe(we(o),"command",void 0),Pe(we(o),"color",void 0),Pe(we(o),"icon",void 0),Pe(we(o),"formKey",void 0),Pe(we(o),"openType",void 0),Pe(we(o),"needConfirm",void 0),Pe(we(o),"confirmMessage",void 0),Pe(we(o),"options",void 0),Pe(we(o),"defaultState",void 0),Pe(we(o),"priorityProcess",void 0),Pe(we(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var l;return o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1,o}return r}(te);Pe(nu,"Rules",_j);function TO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bj(e,t,r){return t&&IO(e.prototype,t),r&&IO(e,r),e}function Od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function gj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wd(e,t)}function mj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:TO(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var Oj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pj(e){var t=wj();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mj(this,o)}}var ou=function(e){gj(r,e);var t=Pj(r);function r(n){hj(this,r);var o;return o=t.call(this,n),Od(TO(o),"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return bj(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}(L);Od(ou,"controlEventKeys",["on_click"]),Od(ou,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function CO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $j(e,t,r){return t&&BO(e.prototype,t),r&&BO(e,r),e}function Sj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function Ej(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function Tj(e,t){return t&&(Ij(t)==="object"||typeof t=="function")?t:CO(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pd(e,t)}var Ij=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bj(e){var t=Cj();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tj(this,o)}}var Aj=function(e){Ej(r,e);var t=Bj(r);function r(n){Rj(this,r);var o;return o=t.call(this,n),Sj(CO(o),"props",void 0),o.props=new nu(n==null?void 0:n.props),o}return $j(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(zt),Rd={Designer:ou,Runtime:Aj,Property:nu};function Tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function Nj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function kj(e,t){return t&&(Dj(t)==="object"||typeof t=="function")?t:Tt(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var Dj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jj(e){var t=Fj();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kj(this,o)}}var Mj=function(e){Nj(r,e);var t=jj(r);function r(n){xj(this,r);var o;o=t.call(this,n),Qt(Tt(o),"content",void 0),Qt(Tt(o),"buttonType",void 0),Qt(Tt(o),"showType",void 0),Qt(Tt(o),"color",void 0),Qt(Tt(o),"icon",void 0),Qt(Tt(o),"defaultState",void 0),Qt(Tt(o),"command",void 0),Qt(Tt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:lu.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:lu.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"iconText";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"danger";var f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var h;return o.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,o}return r}(te);function AO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vj(e,t,r){return t&&xO(e.prototype,t),r&&xO(e,r),e}function Sd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(e)}function zj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function Hj(e,t){return t&&(qj(t)==="object"||typeof t=="function")?t:AO(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var qj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Uj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wj(e){var t=Uj();return function(){var n=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hj(this,o)}}var lu=function(e){zj(r,e);var t=Wj(r);function r(n){Lj(this,r);var o;return o=t.call(this,n),Sd(AO(o),"props",void 0),o.props=new Mj(n==null?void 0:n.props),o}return Vj(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(L);Sd(lu,"controlEventKeys",["on_click"]),Sd(lu,"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:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function st(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function Id(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function Kj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:st(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var Gj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bd(e){var t=Xj();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kj(this,o)}}var Jj=function(e){Id(r,e);var t=Bd(r);function r(n){Td(this,r);var o;return o=t.call(this,n),Ze(st(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ze(st(o),"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ze(st(o),"defaultValue",[{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=oi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),Qj=function(e){Id(r,e);var t=Bd(r);function r(n){Td(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:oi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),oo=function(e){Id(r,e);var t=Bd(r);function r(n){Td(this,r);var o;o=t.call(this,n),Ze(st(o),"maxLength",void 0),Ze(st(o),"minLength",void 0),Ze(st(o),"regularRules",void 0),Ze(st(o),"defaultValue",void 0),Ze(st(o),"encrypted",void 0),Ze(st(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new Y0(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:io.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return r}(N);Ze(oo,"Rules",Jj),Ze(oo,"RuntimeRules",Qj);function NO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yj(e,t,r){return t&&kO(e.prototype,t),r&&kO(e,r),e}function fu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function eM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:NO(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var nM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oM(e){var t=rM();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tM(this,o)}}var io=function(e){eM(r,e);var t=oM(r);function r(n){Zj(this,r);var o;return o=t.call(this,n),fu(NO(o),"props",void 0),o.props=new oo(n==null?void 0:n.props),o}return Yj(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(k);fu(io,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),fu(io,"controlFieldType",m.VARCHAR),fu(io,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function DO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uM(e,t,r){return t&&FO(e.prototype,t),r&&FO(e,r),e}function jO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function cM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function lM(e,t){return t&&(aM(t)==="object"||typeof t=="function")?t:DO(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var aM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sM(e){var t=fM();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lM(this,o)}}var yM=function(e){cM(r,e);var t=sM(r);function r(n){iM(this,r);var o;return o=t.call(this,n),jO(DO(o),"props",void 0),o.props=new oo(n==null?void 0:n.props),o}return uM(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);jO(yM,"controlFieldType",m.VARCHAR);function pe(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 ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function kd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function dM(e,t){return t&&(vM(t)==="object"||typeof t=="function")?t:pe(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var vM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pM();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dM(this,o)}}var _M=function(e){kd(r,e);var t=Fd(r);function r(n){Nd(this,r);var o;o=t.call(this,n),ae(pe(o),"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(Nn),hM=function(e){kd(r,e);var t=Fd(r);function r(n){Nd(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(H),vu=function(e){kd(r,e);var t=Fd(r);function r(n){Nd(this,r);var o;o=t.call(this,n),ae(pe(o),"checkboxMode",void 0),ae(pe(o),"options",void 0),ae(pe(o),"optionsOrder",void 0),ae(pe(o),"limitMax",void 0),ae(pe(o),"limitMin",void 0),ae(pe(o),"otherOption",void 0),ae(pe(o),"optionConfig",void 0),ae(pe(o),"optionsFormat",void 0),ae(pe(o),"defaultShowOptions",void 0),ae(pe(o),"datasourceBind",void 0),ae(pe(o),"multistageFilling",void 0),ae(pe(o),"interreaction",void 0),ae(pe(o),"defaultValue",void 0),ae(pe(o),"openMultistageFilling",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:hu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var w;o.defaultShowOptions=(w=n==null?void 0:n.defaultShowOptions)!==null&&w!==void 0?w:!0;var _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new $e(P))})),o}return r}(N);ae(vu,"Rules",_M),ae(vu,"RuntimeRules",hM);function MO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gM(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function mM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function OM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:MO(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}var wM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RM(e){var t=PM();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OM(this,o)}}var hu=function(e){mM(r,e);var t=RM(r);function r(n){bM(this,r);var o;return o=t.call(this,n),pu(MO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return gM(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(k);pu(hu,"controlEventKeys",["on_change","on_click"]),pu(hu,"controlFieldType",m.ARRAY),pu(hu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function VO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SM(e,t,r){return t&&zO(e.prototype,t),r&&zO(e,r),e}function HO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function EM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function TM(e,t){return t&&(IM(t)==="object"||typeof t=="function")?t:VO(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var IM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BM(e){var t=CM();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TM(this,o)}}var AM=function(e){EM(r,e);var t=BM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),HO(VO(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return SM(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);HO(AM,"controlFieldType",m.ARRAY);function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function UO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function xM(e,t){return t&&(NM(t)==="object"||typeof t=="function")?t:Fe(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var NM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WO(e){var t=kM();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xM(this,o)}}var DM=function(e){UO(r,e);var t=WO(r);function r(n){return qO(this,r),t.call(this,n)}return r}(Nn),Vd=function(e){UO(r,e);var t=WO(r);function r(n){qO(this,r);var o;o=t.call(this,n),je(Fe(o),"radioMode",void 0),je(Fe(o),"options",void 0),je(Fe(o),"optionConfig",void 0),je(Fe(o),"optionsFormat",void 0),je(Fe(o),"defaultShowOptions",void 0),je(Fe(o),"otherOption",void 0),je(Fe(o),"optionsOrder",void 0),je(Fe(o),"datasourceBind",void 0),je(Fe(o),"multistageFilling",void 0),je(Fe(o),"interreaction",void 0),je(Fe(o),"defaultValue",void 0),je(Fe(o),"openMultistageFilling",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var v;o.interreaction=(v=n==null?void 0:n.interreaction)!==null&&v!==void 0?v:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:wu.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new $e(w))})),o}return r}(N);je(Vd,"Rules",DM);function KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jM(e,t,r){return t&&GO(e.prototype,t),r&&GO(e,r),e}function mu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function MM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function LM(e,t){return t&&(VM(t)==="object"||typeof t=="function")?t:KO(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var VM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HM(e){var t=zM();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LM(this,o)}}var wu=function(e){MM(r,e);var t=HM(r);function r(n){FM(this,r);var o;return o=t.call(this,n),mu(KO(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return jM(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(k);mu(wu,"controlEventKeys",["on_change","on_click"]),mu(wu,"controlFieldType",m.VARCHAR),mu(wu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function XO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UM(e,t,r){return t&&JO(e.prototype,t),r&&JO(e,r),e}function QO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function WM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function KM(e,t){return t&&(GM(t)==="object"||typeof t=="function")?t:XO(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}var GM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JM(e){var t=XM();return function(){var n=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KM(this,o)}}var QM=function(e){WM(r,e);var t=JM(r);function r(n){qM(this,r);var o;return o=t.call(this,n),QO(XO(o),"props",void 0),o.props=new Vd(n==null?void 0:n.props),o}return UM(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);QO(QM,"controlFieldType",m.VARCHAR);function Re(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 _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function 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&&Wd(e,t)}function ZM(e,t){return t&&(YM(t)==="object"||typeof t=="function")?t:Re(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var YM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kd(e){var t=eL();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZM(this,o)}}var tL=function(e){Ud(r,e);var t=Kd(r);function r(n){qd(this,r);var o;o=t.call(this,n),_e(Re(o),"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),_e(Re(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=oi(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(de),nL=function(e){Ud(r,e);var t=Kd(r);function r(n){qd(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:oi(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(H),$u=function(e){Ud(r,e);var t=Kd(r);function r(n){qd(this,r);var o;o=t.call(this,n),_e(Re(o),"rangeMin",void 0),_e(Re(o),"rangeMax",void 0),_e(Re(o),"numberType",void 0),_e(Re(o),"percentageFormat",void 0),_e(Re(o),"micrometer",void 0),_e(Re(o),"precision",void 0),_e(Re(o),"showUpperCase",void 0),_e(Re(o),"isShowUnit",void 0),_e(Re(o),"unitPosition",void 0),_e(Re(o),"unit",void 0),_e(Re(o),"defaultValue",void 0),_e(Re(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var v;o.isShowUnit=(v=n==null?void 0:n.isShowUnit)!==null&&v!==void 0?v:!1;var h;o.unitPosition=(h=n==null?void 0:n.unitPosition)!==null&&h!==void 0?h:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Tu.controlName;var w;o.placeholder=(w=n==null?void 0:n.placeholder)!==null&&w!==void 0?w:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new Y0(n==null?void 0:n.regularRules),o}return r}(N);_e($u,"Rules",tL),_e($u,"RuntimeRules",nL);function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oL(e,t,r){return t&&YO(e.prototype,t),r&&YO(e,r),e}function Su(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Eu=Reflect.get:Eu=function(o,i,u){var c=cL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Eu(e,t,r||e)}function Ln(e){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(e)}function iL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function uL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:ZO(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(e,t)}function cL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ln(e),e!==null););return e}var lL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fL(e){var t=aL();return function(){var n=Ln(e),o;if(t){var i=Ln(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uL(this,o)}}var Tu=function(e){iL(r,e);var t=fL(r);function r(n){rL(this,r);var o;return o=t.call(this,n),Su(ZO(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return oL(r,[{key:"toDataBindModel",value:function(o){var i=Eu(Ln(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(k);Su(Tu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Su(Tu,"controlFieldType",m.DECIMAL),Su(Tu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function ew(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yL(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function dL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function vL(e,t){return t&&(pL(t)==="object"||typeof t=="function")?t:ew(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}var pL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _L(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hL(e){var t=_L();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vL(this,o)}}var bL=function(e){dL(r,e);var t=hL(r);function r(n){sL(this,r);var o;return o=t.call(this,n),nw(ew(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return yL(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);nw(bL,"controlFieldType",m.DECIMAL);function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(e)}function mL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function OL(e,t){return t&&(wL(t)==="object"||typeof t=="function")?t:It(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}var wL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RL(e){var t=PL();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OL(this,o)}}var rw=function(e){mL(r,e);var t=RL(r);function r(n){gL(this,r);var o,i;o=t.call(this,n),Zt(It(o),"dateType",void 0),Zt(It(o),"dateFormat",void 0),Zt(It(o),"commonTimeSetting",void 0),Zt(It(o),"setValueType",void 0),Zt(It(o),"defaultValue",void 0),Zt(It(o),"limitDateList",void 0),Zt(It(o),"allowDateRange",void 0),Zt(It(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Ft.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Yd.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u65E5\u671F";var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"";var h;o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new dy(w)}))!==null&&h!==void 0?h:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(N);function ow(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 iw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SL(e,t,r){return t&&iw(e.prototype,t),r&&iw(e,r),e}function Qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Bu=Reflect.get:Bu=function(o,i,u){var c=IL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Bu(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function EL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function TL(e,t){return t&&(CL(t)==="object"||typeof t=="function")?t:ow(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function IL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}var CL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AL(e){var t=BL();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TL(this,o)}}var Yd=function(e){EL(r,e);var t=AL(r);function r(n){$L(this,r);var o;return o=t.call(this,n),Qd(ow(o),"props",void 0),o.props=new rw(n==null?void 0:n.props),o}return SL(r,[{key:"toDataBindModel",value:function(o){var i=Bu(Vn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(k);Qd(Yd,"controlFieldType",m.TIMESTAMP),Qd(Yd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NL(e,t,r){return t&&cw(e.prototype,t),r&&cw(e,r),e}function lw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function kL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function DL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:uw(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}var FL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ML(e){var t=jL();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DL(this,o)}}var LL=function(e){kL(r,e);var t=ML(r);function r(n){xL(this,r);var o;return o=t.call(this,n),lw(uw(o),"props",void 0),o.props=new rw(n==null?void 0:n.props),o}return NL(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);lw(LL,"controlFieldType",m.TIMESTAMP);function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function fw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:He(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var zL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sw(e){var t=HL();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VL(this,o)}}var qL=function(e){fw(r,e);var t=sw(r);function r(n){aw(this,r);var o;return o=t.call(this,n),o[0].type="object",n.isHide||o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(H),nv=function(e){fw(r,e);var t=sw(r);function r(n){aw(this,r);var o,i;o=t.call(this,n),qe(He(o),"dataBind",void 0),qe(He(o),"rangeMin",void 0),qe(He(o),"rangeMax",void 0),qe(He(o),"placeholderStart",void 0),qe(He(o),"placeholderEnd",void 0),qe(He(o),"dateFormat",void 0),qe(He(o),"commonTimeSetting",void 0),qe(He(o),"dateType",void 0),qe(He(o),"setValueType",void 0),qe(He(o),"defaultValue",void 0),qe(He(o),"limitDateList",void 0),o.dataBind=new h1(n==null?void 0:n.dataBind),o.defaultValue=new b1(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:Ft.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var l;o.setValueType=(l=n==null?void 0:n.setValueType)!==null&&l!==void 0?l:"custom";var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var h;o.placeholderEnd=(h=n==null?void 0:n.placeholderEnd)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:iv.controlName;var b;return o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(w){return new dy(w)}))!==null&&b!==void 0?b:[],o}return r}(N);qe(nv,"RuntimeRules",qL);function yw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(e,t){for(var r=0;r<t.length;r++){var 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&&dw(e.prototype,t),r&&dw(e,r),e}function rv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nu=Reflect.get:Nu=function(o,i,u){var c=XL(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Nu(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function KL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function GL(e,t){return t&&(JL(t)==="object"||typeof t=="function")?t:yw(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function XL(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}var JL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function QL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZL(e){var t=QL();return function(){var n=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GL(this,o)}}var iv=function(e){KL(r,e);var t=ZL(r);function r(n){UL(this,r);var o;return o=t.call(this,n),rv(yw(o),"props",void 0),o.props=new nv(n==null?void 0:n.props),o}return WL(r,[{key:"toDataBindModel",value:function(o){var i=Nu(zn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(k);rv(iv,"controlFieldType",m.TIMESCOPE),rv(iv,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e5(e,t,r){return t&&pw(e.prototype,t),r&&pw(e,r),e}function _w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:vw(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}var r5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var u5=function(e){t5(r,e);var t=i5(r);function r(n){YL(this,r);var o;return o=t.call(this,n),_w(vw(o),"props",void 0),o.props=new nv(n==null?void 0:n.props),o}return e5(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);_w(u5,"controlFieldType",m.TIMESCOPE);function Yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function lv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:Yt(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}var l5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fv(e){var t=a5();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c5(this,o)}}var f5=function(e){lv(r,e);var t=fv(r);function r(n){cv(this,r);var o;return o=t.call(this,n),Ct(Yt(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ct(Yt(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ct(Yt(o),"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),s5=function(e){lv(r,e);var t=fv(r);function r(n){cv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Fu=function(e){lv(r,e);var t=fv(r);function r(n){cv(this,r);var o;o=t.call(this,n),Ct(Yt(o),"maxLength",void 0),Ct(Yt(o),"minLength",void 0),Ct(Yt(o),"defaultValue",void 0),Ct(Yt(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Lu.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:4,o}return r}(N);Ct(Fu,"Rules",f5),Ct(Fu,"RuntimeRules",s5);function hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d5(e,t,r){return t&&bw(e.prototype,t),r&&bw(e,r),e}function ju(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function v5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function p5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:hw(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var _5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p5(this,o)}}var Lu=function(e){v5(r,e);var t=b5(r);function r(n){y5(this,r);var o;return o=t.call(this,n),ju(hw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return d5(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(k);ju(Lu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ju(Lu,"controlFieldType",m.TEXT),ju(Lu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m5(e,t,r){return t&&mw(e.prototype,t),r&&mw(e,r),e}function Ow(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function w5(e,t){return t&&(P5(t)==="object"||typeof t=="function")?t:gw(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var P5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $5(e){var t=R5();return function(){var n=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w5(this,o)}}var S5=function(e){O5(r,e);var t=$5(r);function r(n){g5(this,r);var o;return o=t.call(this,n),Ow(gw(o),"props",void 0),o.props=new Fu(n==null?void 0:n.props),o}return m5(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);Ow(S5,"controlFieldType",m.TEXT);function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function en(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function E5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:pn(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var T5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _v(e){var t=I5();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E5(this,o)}}var C5=function(e){vv(r,e);var t=_v(r);function r(n){dv(this,r);var o;return o=t.call(this,n),en(pn(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),en(pn(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),en(pn(o),"defaultValue",{type:"string",max:200,min:0,message:p.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(de),B5=function(e){vv(r,e);var t=_v(r);function r(n){dv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(H),Hu=function(e){vv(r,e);var t=_v(r);function r(n){dv(this,r);var o;o=t.call(this,n),en(pn(o),"maxLength",void 0),en(pn(o),"minLength",void 0),en(pn(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Wu.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165",o}return r}(N);en(Hu,"Rules",C5),en(Hu,"RuntimeRules",B5);function ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x5(e,t,r){return t&&Pw(e.prototype,t),r&&Pw(e,r),e}function qu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function k5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:ww(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}var D5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function F5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j5(e){var t=F5();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k5(this,o)}}var Wu=function(e){N5(r,e);var t=j5(r);function r(n){A5(this,r);var o;return o=t.call(this,n),qu(ww(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return x5(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(k);qu(Wu,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),qu(Wu,"controlFieldType",m.TEXT),qu(Wu,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function Rw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L5(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function Sw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function V5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function z5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:Rw(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}var H5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U5(e){var t=q5();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return z5(this,o)}}var W5=function(e){V5(r,e);var t=U5(r);function r(n){M5(this,r);var o;return o=t.call(this,n),Sw(Rw(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return L5(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);Sw(W5,"controlFieldType",m.TEXT);function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ew(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function Tw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function K5(e,t){return t&&(G5(t)==="object"||typeof t=="function")?t:Ue(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var G5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iw(e){var t=X5();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K5(this,o)}}var J5=function(e){Tw(r,e);var t=Iw(r);function r(n){return Ew(this,r),t.call(this,n)}return r}(Nn),mv=function(e){Tw(r,e);var t=Iw(r);function r(n){Ew(this,r);var o;o=t.call(this,n),We(Ue(o),"options",void 0),We(Ue(o),"defaultShowOptions",void 0),We(Ue(o),"optionConfig",void 0),We(Ue(o),"defaultValue",void 0),We(Ue(o),"datasourceBind",void 0),We(Ue(o),"multistageFilling",void 0),We(Ue(o),"allowCopyOptions",void 0),We(Ue(o),"openMultistageFilling",void 0),We(Ue(o),"viewFormModelType",void 0),We(Ue(o),"canViewForm",void 0),We(Ue(o),"formBind",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Pv.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var v;o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new $e(b))}));var h;o.canViewForm=(h=n==null?void 0:n.canViewForm)!==null&&h!==void 0?h:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);We(mv,"Rules",J5);function Cw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z5(e,t,r){return t&&Bw(e.prototype,t),r&&Bw(e,r),e}function Ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function Y5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:Cw(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}var t6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var Pv=function(e){Y5(r,e);var t=r6(r);function r(n){Q5(this,r);var o;return o=t.call(this,n),Ov(Cw(o),"props",void 0),o.props=new mv(n==null?void 0:n.props),o}return Z5(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(k);Ov(Pv,"controlFieldType",m.VARCHAR),Ov(Pv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function Aw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i6(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function Nw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function u6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function c6(e,t){return t&&(l6(t)==="object"||typeof t=="function")?t:Aw(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var l6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function a6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f6(e){var t=a6();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c6(this,o)}}var s6=function(e){u6(r,e);var t=f6(r);function r(n){o6(this,r);var o;return o=t.call(this,n),Nw(Aw(o),"props",void 0),o.props=new mv(n==null?void 0:n.props),o}return i6(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);Nw(s6,"controlFieldType",m.VARCHAR);function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function Sv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function y6(e,t){return t&&(d6(t)==="object"||typeof t=="function")?t:Ye(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var d6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tv(e){var t=v6();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y6(this,o)}}var p6=function(e){Sv(r,e);var t=Tv(r);function r(n){return $v(this,r),t.call(this,n)}return r}(Nn),_6=function(e){Sv(r,e);var t=Tv(r);function r(n){$v(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Zu=function(e){Sv(r,e);var t=Tv(r);function r(n){$v(this,r);var o;o=t.call(this,n),Ke(Ye(o),"options",void 0),Ke(Ye(o),"defaultShowOptions",void 0),Ke(Ye(o),"optionConfig",void 0),Ke(Ye(o),"defaultValue",void 0),Ke(Ye(o),"datasourceBind",void 0),Ke(Ye(o),"multistageFilling",void 0),Ke(Ye(o),"openMultistageFilling",void 0),Ke(Ye(o),"viewFormModelType",void 0),Ke(Ye(o),"canViewForm",void 0),Ke(Ye(o),"formBind",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Bv.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);Ke(Zu,"Rules",p6),Ke(Zu,"RuntimeRules",_6);function kw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b6(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}function Iv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function g6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cv(e,t)}function m6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:kw(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}var O6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=w6();return function(){var n=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return m6(this,o)}}var Bv=function(e){g6(r,e);var t=P6(r);function r(n){h6(this,r);var o;return o=t.call(this,n),Iv(kw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return b6(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);Iv(Bv,"controlFieldType",m.ARRAY),Iv(Bv,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function Fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $6(e,t,r){return t&&jw(e.prototype,t),r&&jw(e,r),e}function Mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function S6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function E6(e,t){return t&&(T6(t)==="object"||typeof t=="function")?t:Fw(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var T6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function I6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=I6();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return E6(this,o)}}var B6=function(e){S6(r,e);var t=C6(r);function r(n){R6(this,r);var o;return o=t.call(this,n),Mw(Fw(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);Mw(B6,"controlFieldType",m.ARRAY);function Bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Vw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function A6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:Bt(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var x6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zw(e){var t=N6();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A6(this,o)}}var k6=function(e){Vw(r,e);var t=zw(r);function r(n){Lw(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Nv=function(e){Vw(r,e);var t=zw(r);function r(n){Lw(this,r);var o;o=t.call(this,n),At(Bt(o),"showType",void 0),At(Bt(o),"range",void 0),At(Bt(o),"rangeOptions",void 0),At(Bt(o),"multiple",void 0),At(Bt(o),"defaultValueType",void 0),At(Bt(o),"defaultValue",void 0),At(Bt(o),"multistageFilling",void 0),At(Bt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Fv.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))})),o}return r}(N);At(Nv,"RuntimeRules",k6);function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F6(e,t,r){return t&&qw(e.prototype,t),r&&qw(e,r),e}function kv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function j6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function M6(e,t){return t&&(L6(t)==="object"||typeof t=="function")?t:Hw(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var L6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z6(e){var t=V6();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M6(this,o)}}var Fv=function(e){j6(r,e);var t=z6(r);function r(n){D6(this,r);var o;return o=t.call(this,n),kv(Hw(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(k);kv(Fv,"controlFieldType",m.EMPLOYEES),kv(Fv,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function Uw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function Kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function U6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function W6(e,t){return t&&(K6(t)==="object"||typeof t=="function")?t:Uw(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var K6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X6(e){var t=G6();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W6(this,o)}}var J6=function(e){U6(r,e);var t=X6(r);function r(n){H6(this,r);var o;return o=t.call(this,n),Kw(Uw(o),"props",void 0),o.props=new Nv(n==null?void 0:n.props),o}return q6(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);Kw(J6,"controlFieldType",m.EMPLOYEES);function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function Lv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:xt(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var Z6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zv(e){var t=Y6();return function(){var n=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q6(this,o)}}var e4=10485760,t4=104857600,n4=1048576e3,r4=function(e){Lv(r,e);var t=zv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),yt(xt(o),"maxSize",{type:"number",min:0,max:n4,message:p.getMessage("attachmentMaxSize")}),o}return r}(de),o4=function(e){Lv(r,e);var t=zv(r);function r(n){Mv(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(H),ic=function(e){Lv(r,e);var t=zv(r);function r(n){Mv(this,r);var o;o=t.call(this,n),yt(xt(o),"defaultValue",void 0),yt(xt(o),"showType",void 0),yt(xt(o),"resultShowType",void 0),yt(xt(o),"attachmentAccept",void 0),yt(xt(o),"maxLimit",void 0),yt(xt(o),"minLimit",void 0),yt(xt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];var l;o.maxLimit=(l=n==null?void 0:n.maxLimit)!==null&&l!==void 0?l:10;var f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var y;o.maxSize=(y=n==null?void 0:n.maxSize)!==null&&y!==void 0?y:t4;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:uo.controlName;var h;return o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(N);yt(ic,"Rules",r4),yt(ic,"RuntimeRules",o4);function Gw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u4(e,t,r){return t&&Xw(e.prototype,t),r&&Xw(e,r),e}function uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function c4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function l4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:Gw(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}var a4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s4(e){var t=f4();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l4(this,o)}}var uo=function(e){c4(r,e);var t=s4(r);function r(n){i4(this,r);var o;return o=t.call(this,n),uc(Gw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return u4(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(k);uc(uo,"controlEventKeys",["on_change"]),uc(uo,"controlFieldType",m.FILE),uc(uo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Jw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d4(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function Zw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function v4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function p4(e,t){return t&&(_4(t)==="object"||typeof t=="function")?t:Jw(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var _4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b4(e){var t=h4();return function(){var n=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p4(this,o)}}var g4=function(e){v4(r,e);var t=b4(r);function r(n){y4(this,r);var o;return o=t.call(this,n),Zw(Jw(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return d4(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);Zw(g4,"controlFieldType",m.FILE);function m4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w4(e,t,r){return t&&Yw(e.prototype,t),r&&Yw(e,r),e}function eP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function R4(e,t){return t&&($4(t)==="object"||typeof t=="function")?t:m4(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}var $4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(e){var t=S4();return function(){var n=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R4(this,o)}}var tP=function(e){P4(r,e);var t=E4(r);function r(n){O4(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return w4(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(uo);eP(tP,"controlFieldType",m.IMAGE),eP(tP,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function Kv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function T4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){he(e,o,r[o])})}return e}function I4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function C4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function B4(e,t){return t&&(A4(t)==="object"||typeof t=="function")?t:Be(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var A4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xv(e){var t=x4();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B4(this,o)}}var N4=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),he(Be(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),he(Be(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o}return r}(Nn),k4=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[C4(T4({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(H),sc=function(e){Kv(r,e);var t=Xv(r);function r(n){Wv(this,r);var o;o=t.call(this,n),he(Be(o),"rangeMin",void 0),he(Be(o),"rangeMax",void 0),he(Be(o),"showUpperCase",void 0),he(Be(o),"submitSelectCurrency",void 0),he(Be(o),"micrometer",void 0),he(Be(o),"precision",void 0),he(Be(o),"optionConfig",void 0),he(Be(o),"dataBind",void 0),he(Be(o),"datasourceBind",void 0),he(Be(o),"defaultValue",void 0),he(Be(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.precision=(l=n==null?void 0:n.precision)!==null&&l!==void 0?l:2,o.dataBind=new p1(n==null?void 0:n.dataBind);var f;o.datasourceBind=new ee((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new as({value:"name"})]});var y;o.defaultValue=new _1((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:Eo.CNY}),o.options=Ot(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:vc.controlName;var h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(N);he(sc,"Rules",N4),he(sc,"RuntimeRules",k4);function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F4(e,t,r){return t&&rP(e.prototype,t),r&&rP(e,r),e}function yc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?dc=Reflect.get:dc=function(o,i,u){var c=L4(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},dc(e,t,r||e)}function Hn(e){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hn(e)}function j4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function M4(e,t){return t&&(V4(t)==="object"||typeof t=="function")?t:nP(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function L4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hn(e),e!==null););return e}var V4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H4(e){var t=z4();return function(){var n=Hn(e),o;if(t){var i=Hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M4(this,o)}}var vc=function(e){j4(r,e);var t=H4(r);function r(n){D4(this,r);var o;return o=t.call(this,n),yc(nP(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return F4(r,[{key:"toDataBindModel",value:function(o){var i=dc(Hn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(k);yc(vc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),yc(vc,"controlFieldType",m.MONEY),yc(vc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function oP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U4(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function uP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function W4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function K4(e,t){return t&&(G4(t)==="object"||typeof t=="function")?t:oP(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var G4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J4(e){var t=X4();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K4(this,o)}}var Q4=function(e){W4(r,e);var t=J4(r);function r(n){q4(this,r);var o;return o=t.call(this,n),uP(oP(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return U4(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);uP(Q4,"controlFieldType",m.MONEY);function tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function Yv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function Z4(e,t){return t&&(Y4(t)==="object"||typeof t=="function")?t:tn(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}var Y4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tp(e){var t=e7();return function(){var n=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z4(this,o)}}var t7=function(e){Yv(r,e);var t=tp(r);function r(n){Zv(this,r);var o;return o=t.call(this,n),Nt(tn(o),"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),Nt(tn(o),"defaultValue",{type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(de),n7=function(e){Yv(r,e);var t=tp(r);function r(n){Zv(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(H),hc=function(e){Yv(r,e);var t=tp(r);function r(n){Zv(this,r);var o,i;o=t.call(this,n),Nt(tn(o),"totalScore",void 0),Nt(tn(o),"scoreType",void 0),Nt(tn(o),"isShowExplain",void 0),Nt(tn(o),"explain",void 0),Nt(tn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:vy.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var l;o.explain=(l=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(v){return new py(v)}))!==null&&l!==void 0?l:Array(o.totalScore).fill(void 0).map(function(){return new py});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:mc.controlName,o}return r}(N);Nt(hc,"Rules",t7),Nt(hc,"RuntimeRules",n7);function np(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 r7(e){if(Array.isArray(e))return np(e)}function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i7(e,t,r){return t&&lP(e.prototype,t),r&&lP(e,r),e}function bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?gc=Reflect.get:gc=function(o,i,u){var c=f7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},gc(e,t,r||e)}function qn(e){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(e)}function u7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function c7(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function l7(){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 a7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:cP(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function f7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qn(e),e!==null););return e}function s7(e){return r7(e)||c7(e)||d7(e)||l7()}var y7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d7(e,t){if(!!e){if(typeof e=="string")return np(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 np(e,t)}}function v7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p7(e){var t=v7();return function(){var n=qn(e),o;if(t){var i=qn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a7(this,o)}}var mc=function(e){u7(r,e);var t=p7(r);function r(n){o7(this,r);var o;return o=t.call(this,n),bc(cP(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return i7(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,a=Array(c).fill(void 0).map(function(){return new py});(u=this.props.explain).push.apply(u,s7(a))}}gc(qn(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(k);bc(mc,"controlEventKeys",["on_change","on_click"]),bc(mc,"controlFieldType",m.DECIMAL),bc(mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function aP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h7(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function sP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function b7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:aP(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}var m7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w7(e){var t=O7();return function(){var n=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var P7=function(e){b7(r,e);var t=w7(r);function r(n){_7(this,r);var o;return o=t.call(this,n),sP(aP(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return h7(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);sP(P7,"controlFieldType",m.DECIMAL);function wc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&ip(e,t)}function R7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:wc(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}var $7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vP(e){var t=S7();return function(){var n=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R7(this,o)}}var E7=function(e){dP(r,e);var t=vP(r);function r(n){yP(this,r);var o;if(o=t.call(this,n),o[0].type="object",n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(H),up=function(e){dP(r,e);var t=vP(r);function r(n){yP(this,r);var o;o=t.call(this,n),Pc(wc(o),"defaultValueType",void 0),Pc(wc(o),"defaultValue",void 0),Pc(wc(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ap.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var a;o.defaultValue=new g1((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(N);Pc(up,"RuntimeRules",E7);function pP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I7(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function cp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function B7(e,t){return t&&(A7(t)==="object"||typeof t=="function")?t:pP(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}var A7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N7(e){var t=x7();return function(){var n=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B7(this,o)}}var ap=function(e){C7(r,e);var t=N7(r);function r(n){T7(this,r);var o;return o=t.call(this,n),cp(pP(o),"props",void 0),o.props=new up(n==null?void 0:n.props),o}return I7(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(k);cp(ap,"controlFieldType",m.ADDRESS),cp(ap,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function hP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D7(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function gP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function F7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function j7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:hP(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var M7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V7(e){var t=L7();return function(){var n=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j7(this,o)}}var z7=function(e){F7(r,e);var t=V7(r);function r(n){k7(this,r);var o;return o=t.call(this,n),gP(hP(o),"props",void 0),o.props=new up(n==null?void 0:n.props),o}return D7(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(D);gP(z7,"controlFieldType",m.ADDRESS);function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function OP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function H7(e,t){return t&&(q7(t)==="object"||typeof t=="function")?t:et(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var q7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=U7();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return H7(this,o)}}var W7=function(e){OP(r,e);var t=wP(r);function r(n){mP(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),yp=function(e){OP(r,e);var t=wP(r);function r(n){mP(this,r);var o;o=t.call(this,n),tt(et(o),"showType",void 0),tt(et(o),"range",void 0),tt(et(o),"defaultValueType",void 0),tt(et(o),"multiple",void 0),tt(et(o),"rangeOptions",void 0),tt(et(o),"defaultValue",void 0),tt(et(o),"displayLevel",void 0),tt(et(o),"showSubDept",void 0),tt(et(o),"multistageFilling",void 0),tt(et(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Cc.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new $e(w))})),o}return r}(N);tt(yp,"RuntimeRules",W7);function PP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G7(e,t,r){return t&&RP(e.prototype,t),r&&RP(e,r),e}function Tc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ic=Reflect.get:Ic=function(o,i,u){var c=Q7(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Ic(e,t,r||e)}function Un(e){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Un(e)}function X7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dp(e,t)}function J7(e,t){return t&&(Z7(t)==="object"||typeof t=="function")?t:PP(e)}function dp(e,t){return dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dp(e,t)}function Q7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Un(e),e!==null););return e}var Z7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e8(e){var t=Y7();return function(){var n=Un(e),o;if(t){var i=Un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J7(this,o)}}var Cc=function(e){X7(r,e);var t=e8(r);function r(n){K7(this,r);var o;return o=t.call(this,n),Tc(PP(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return G7(r,[{key:"toDataBindModel",value:function(o){var i=Ic(Un(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(k);Tc(Cc,"controlName","\u90E8\u95E8"),Tc(Cc,"controlFieldType",m.DEPARTMENTS),Tc(Cc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function $P(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n8(e,t,r){return t&&SP(e.prototype,t),r&&SP(e,r),e}function EP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function r8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:$P(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var i8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c8(e){var t=u8();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o8(this,o)}}var l8=function(e){r8(r,e);var t=c8(r);function r(n){t8(this,r);var o;return o=t.call(this,n),EP($P(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return n8(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);EP(l8,"controlFieldType",m.DEPARTMENTS);function TP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function s8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function y8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:TP(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var d8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p8(e){var t=v8();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y8(this,o)}}var IP=function(e){s8(r,e);var t=p8(r);function r(n){a8(this,r);var o;o=t.call(this,n),f8(TP(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:kc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(N);function CP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h8(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function xc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function b8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function g8(e,t){return t&&(m8(t)==="object"||typeof t=="function")?t:CP(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}var m8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w8(e){var t=O8();return function(){var n=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g8(this,o)}}var kc=function(e){b8(r,e);var t=w8(r);function r(n){_8(this,r);var o;return o=t.call(this,n),xc(CP(o),"props",void 0),o.props=new IP(n==null?void 0:n.props),o}return h8(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(k);xc(kc,"controlEventKeys",["on_change"]),xc(kc,"controlFieldType",m.AUTO_NUMBER),xc(kc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R8(e,t,r){return t&&xP(e.prototype,t),r&&xP(e,r),e}function NP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function $8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:AP(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var E8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function T8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I8(e){var t=T8();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S8(this,o)}}var C8=function(e){$8(r,e);var t=I8(r);function r(n){P8(this,r);var o;return o=t.call(this,n),NP(AP(o),"props",void 0),o.props=new IP(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);NP(C8,"controlFieldType",m.AUTO_NUMBER);function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function B8(e,t){return t&&(A8(t)==="object"||typeof t=="function")?t:nn(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var A8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Op(e){var t=x8();return function(){var n=Fc(e),o;if(t){var i=Fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B8(this,o)}}var N8=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(de),k8=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;return o=t.call(this,n),o[0].type="object",o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(H),jc=function(e){gp(r,e);var t=Op(r);function r(n){bp(this,r);var o;o=t.call(this,n),kt(nn(o),"precision",void 0),kt(nn(o),"micrometer",void 0),kt(nn(o),"showUpperCase",void 0),kt(nn(o),"scriptSrc",void 0),kt(nn(o),"scriptEcho",void 0),kt(nn(o),"dataBind",void 0),kt(nn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new m1(n==null?void 0:n.dataBind),o.defaultValue=new O1(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Vc.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165";var f;o.scriptEcho=(f=n==null?void 0:n.scriptEcho)!==null&&f!==void 0?f:[];var y;return o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"",o}return r}(N);kt(jc,"Rules",N8),kt(jc,"RuntimeRules",k8);function kP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F8(e,t,r){return t&&DP(e.prototype,t),r&&DP(e,r),e}function Mc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lc=Reflect.get:Lc=function(o,i,u){var c=L8(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Lc(e,t,r||e)}function Wn(e){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wn(e)}function j8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function M8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:kP(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function L8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wn(e),e!==null););return e}var V8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H8(e){var t=z8();return function(){var n=Wn(e),o;if(t){var i=Wn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M8(this,o)}}var Vc=function(e){j8(r,e);var t=H8(r);function r(n){D8(this,r);var o;return o=t.call(this,n),Mc(kP(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return F8(r,[{key:"toDataBindModel",value:function(o){var i=Lc(Wn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(k);Mc(Vc,"controlEventKeys",["on_change"]),Mc(Vc,"controlFieldType",m.CALC),Mc(Vc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function FP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U8(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}function MP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function K8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:FP(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}var G8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J8(e){var t=X8();return function(){var n=zc(e),o;if(t){var i=zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K8(this,o)}}var Q8=function(e){W8(r,e);var t=J8(r);function r(n){q8(this,r);var o;return o=t.call(this,n),MP(FP(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return U8(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);MP(Q8,"controlFieldType",m.CALC);function Kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function 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&&Rp(e,t)}function Z8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:Kn(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var Y8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zP(e){var t=e9();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z8(this,o)}}var t9=function(e){VP(r,e);var t=zP(r);function r(n){LP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(u,c){if(n.required){var a=c.every(function(l){return!l});return a?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(H),$p=function(e){VP(r,e);var t=zP(r);function r(n){LP(this,r);var o;o=t.call(this,n),Gn(Kn(o),"rangeMin",void 0),Gn(Kn(o),"rangeMax",void 0),Gn(Kn(o),"placeholderStart",void 0),Gn(Kn(o),"placeholderEnd",void 0),Gn(Kn(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var l;o.placeholderEnd=(l=n==null?void 0:n.placeholderEnd)!==null&&l!==void 0?l:"\u6700\u5927\u503C";var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Tp.controlName,o}return r}(N);Gn($p,"RuntimeRules",t9);function HP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r9(e,t,r){return t&&qP(e.prototype,t),r&&qP(e,r),e}function Sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function o9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:HP(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var u9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function c9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l9(e){var t=c9();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i9(this,o)}}var Tp=function(e){o9(r,e);var t=l9(r);function r(n){n9(this,r);var o;return o=t.call(this,n),Sp(HP(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return r9(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);Sp(Tp,"controlFieldType",m.DECIMAL_RANGE),Sp(Tp,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function UP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f9(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function KP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function s9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function y9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:UP(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}var d9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function v9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p9(e){var t=v9();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y9(this,o)}}var _9=function(e){s9(r,e);var t=p9(r);function r(n){a9(this,r);var o;return o=t.call(this,n),KP(UP(o),"props",void 0),o.props=new $p(n==null?void 0:n.props),o}return f9(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);KP(_9,"controlFieldType",m.DECIMAL_RANGE);function nt(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 rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function XP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:nt(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}var b9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JP(e){var t=g9();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h9(this,o)}}var m9=function(e){XP(r,e);var t=JP(r);function r(n){GP(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(H),Bp=function(e){XP(r,e);var t=JP(r);function r(n){GP(this,r);var o,i;o=t.call(this,n),rt(nt(o),"rangeMin",void 0),rt(nt(o),"rangeMax",void 0),rt(nt(o),"placeholderStart",void 0),rt(nt(o),"placeholderEnd",void 0),rt(nt(o),"dateType",void 0),rt(nt(o),"dateFormat",void 0),rt(nt(o),"commonTimeSetting",void 0),rt(nt(o),"setValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:Ft.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var h;o.placeholderStart=(h=n==null?void 0:n.placeholderStart)!==null&&h!==void 0?h:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Np.controlName;var w;return o.limitDateList=(w=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(_){return new dy(_)}))!==null&&w!==void 0?w:[],o}return r}(N);rt(Bp,"RuntimeRules",m9);function QP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w9(e,t,r){return t&&ZP(e.prototype,t),r&&ZP(e,r),e}function Ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function P9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function R9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:QP(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var $9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E9(e){var t=S9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return R9(this,o)}}var Np=function(e){P9(r,e);var t=E9(r);function r(n){O9(this,r);var o;return o=t.call(this,n),Ap(QP(o),"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return w9(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);Ap(Np,"controlFieldType",m.ARRAY),Ap(Np,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function YP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I9(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function tR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function C9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function B9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:YP(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}var A9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N9(e){var t=x9();return function(){var n=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B9(this,o)}}var k9=function(e){C9(r,e);var t=N9(r);function r(n){T9(this,r);var o;return o=t.call(this,n),tR(YP(o),"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return I9(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);tR(k9,"controlFieldType",m.ARRAY);function co(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(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&&jp(e,t)}function D9(e,t){return t&&(F9(t)==="object"||typeof t=="function")?t:co(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var F9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function j9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mp(e){var t=j9();return function(){var n=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D9(this,o)}}var M9=function(e){Fp(r,e);var t=Mp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(de),L9=function(e){Fp(r,e);var t=Mp(r);function r(n){Dp(this,r);var o;return o=t.call(this,n),o[0].type="any",o}return r}(H),Jc=function(e){Fp(r,e);var t=Mp(r);function r(n){Dp(this,r);var o;o=t.call(this,n),Xn(co(o),"controlExportName",void 0),Xn(co(o),"permissions",void 0),Xn(co(o),"defaultValue",void 0),Xn(co(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yc.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var l;return o.isInlineEdit=(l=n==null?void 0:n.isInlineEdit)!==null&&l!==void 0?l:!1,o}return r}(N);Xn(Jc,"Rules",M9),Xn(Jc,"RuntimeRules",L9);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z9(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function Qc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function H9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:nR(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var U9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K9(e){var t=W9();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q9(this,o)}}var Yc=function(e){H9(r,e);var t=K9(r);function r(n){V9(this,r);var o;return o=t.call(this,n),Qc(nR(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return z9(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);Qc(Yc,"controlFieldType",m.ANY),Qc(Yc,"controlEventKeys",[]),Qc(Yc,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function oR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X9(e,t,r){return t&&iR(e.prototype,t),r&&iR(e,r),e}function uR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function J9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function Q9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:oR(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}var Z9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eV(e){var t=Y9();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q9(this,o)}}var tV=function(e){J9(r,e);var t=eV(r);function r(n){G9(this,r);var o;return o=t.call(this,n),uR(oR(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return X9(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);uR(tV,"controlFieldType",m.ANY);function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function lR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function nV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:Ae(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var rV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aR(e){var t=oV();return function(){var n=tl(e),o;if(t){var i=tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nV(this,o)}}var iV=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;return o=t.call(this,n),xe(Ae(o),"listPageBind",[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}]),o}return r}(Nn),Hp=function(e){lR(r,e);var t=aR(r);function r(n){cR(this,r);var o;o=t.call(this,n),xe(Ae(o),"options",void 0),xe(Ae(o),"optionConfig",void 0),xe(Ae(o),"defaultValue",void 0),xe(Ae(o),"listPageBind",void 0),xe(Ae(o),"datasourceBind",void 0),xe(Ae(o),"multistageFilling",void 0),xe(Ae(o),"viewFormModelType",void 0),xe(Ae(o),"canViewForm",void 0),xe(Ae(o),"formBind",void 0),xe(Ae(o),"openMultistageFilling",void 0),xe(Ae(o),"showSelectedDetail",void 0),xe(Ae(o),"selectedContentConfig",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new cs(n==null?void 0:n.listPageBind),o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ol.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new $e(O))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new An(n==null?void 0:n.formBind),o}return r}(N);xe(Hp,"Rules",iV);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cV(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function nl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function lV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function aV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:fR(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}var fV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yV(e){var t=sV();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aV(this,o)}}var ol=function(e){lV(r,e);var t=yV(r);function r(n){uV(this,r);var o;return o=t.call(this,n),nl(fR(o),"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return cV(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(k);nl(ol,"controlFieldType",m.VARCHAR),nl(ol,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),nl(ol,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vV(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function vR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(e)}function pV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function _V(e,t){return t&&(hV(t)==="object"||typeof t=="function")?t:yR(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var hV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gV(e){var t=bV();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _V(this,o)}}var mV=function(e){pV(r,e);var t=gV(r);function r(n){dV(this,r);var o;return o=t.call(this,n),vR(yR(o),"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return vV(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);vR(mV,"controlFieldType",m.VARCHAR);function OV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function PV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function RV(e,t){return t&&($V(t)==="object"||typeof t=="function")?t:OV(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var $V=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RV(this,o)}}var pR=function(e){PV(r,e);var t=EV(r);function r(n){return wV(this,r),t.call(this,n)}return r}(oo);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IV(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function bR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function CV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function BV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:_R(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}var AV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=xV();return function(){var n=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BV(this,o)}}var kV=function(e){CV(r,e);var t=NV(r);function r(n){TV(this,r);var o;return o=t.call(this,n),bR(_R(o),"props",void 0),o.props=new pR(n==null?void 0:n.props),o}return IV(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(io);bR(kV,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}]);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FV(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function OR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function jV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function MV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:gR(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}var LV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zV(e){var t=VV();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MV(this,o)}}var HV=function(e){jV(r,e);var t=zV(r);function r(n){DV(this,r);var o;return o=t.call(this,n),OR(gR(o),"props",void 0),o.props=new pR(n==null?void 0:n.props),o}return FV(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);OR(HV,"controlFieldType",m.VARCHAR);function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function Jp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function qV(e,t){return t&&(UV(t)==="object"||typeof t=="function")?t:K(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var UV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zp(e){var t=WV();return function(){var n=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qV(this,o)}}var KV=function(e){Jp(r,e);var t=Zp(r);function r(n){Xp(this,r);var o;return o=t.call(this,n),G(K(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Bo.call(K(o),n,_n.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return r}(de),GV=function(e){Jp(r,e);var t=Zp(r);function r(n){Xp(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),fl=function(e){Jp(r,e);var t=Zp(r);function r(n){Xp(this,r);var o,i;o=t.call(this,n),G(K(o),"placeholder",void 0),G(K(o),"multiple",void 0),G(K(o),"canSearch",void 0),G(K(o),"levelType",void 0),G(K(o),"optionalLevel",void 0),G(K(o),"containsSubNode",void 0),G(K(o),"defaultDisplay",void 0),G(K(o),"isShowIncludeSub",void 0),G(K(o),"isDefaultCheckSub",void 0),G(K(o),"isShowFilterItem",void 0),G(K(o),"defaultCollapse",void 0),G(K(o),"defaultCollapseLevel",void 0),G(K(o),"optionConfig","datasource"),G(K(o),"datasourceBind",void 0),G(K(o),"filterItemDatasourceBind",void 0),G(K(o),"multistageFilling",void 0),G(K(o),"defaultValue",void 0),G(K(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.canSearch=(l=n==null?void 0:n.canSearch)!==null&&l!==void 0?l:!0;var f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var v;o.containsSubNode=(v=n==null?void 0:n.containsSubNode)!==null&&v!==void 0?v:!1;var h;o.isShowFilterItem=(h=n==null?void 0:n.isShowFilterItem)!==null&&h!==void 0?h:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var w;o.defaultCollapse=(w=n==null?void 0:n.defaultCollapse)!==null&&w!==void 0?w:"all";var _;o.defaultCollapseLevel=(_=n==null?void 0:n.defaultCollapseLevel)!==null&&_!==void 0?_:1;var P;o.datasourceBind=new X0((P=n==null?void 0:n.datasourceBind)!==null&&P!==void 0?P:{attributes:_n.controlCustomAttributes});var R;o.filterItemDatasourceBind=new X0((R=n==null?void 0:n.filterItemDatasourceBind)!==null&&R!==void 0?R:{attributes:_n.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var E;o.defaultDisplay=(E=n==null?void 0:n.defaultDisplay)!==null&&E!==void 0?E:!1;var j;o.multistageFilling=(j=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(W){return new $e(W)}))!==null&&j!==void 0?j:[];var A;return o.defaultValue=(A=n==null?void 0:n.defaultValue)!==null&&A!==void 0?A:[],o}return r}(N);G(fl,"Rules",KV),G(fl,"RuntimeRules",GV);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JV(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function QV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function ZV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:wR(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var YV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tz(e){var t=ez();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZV(this,o)}}var _n=function(e){QV(r,e);var t=tz(r);function r(n){XV(this,r);var o;return o=t.call(this,n),sl(wR(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return JV(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(k);sl(_n,"controlEventKeys",["on_change","on_click"]),sl(_n,"controlFieldType",m.ARRAY),sl(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rz(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function SR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:RR(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var uz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lz(e){var t=cz();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iz(this,o)}}var az=function(e){oz(r,e);var t=lz(r);function r(n){nz(this,r);var o;return o=t.call(this,n),SR(RR(o),"props",void 0),o.props=new fl(n==null?void 0:n.props),o}return rz(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);SR(az,"controlFieldType",m.ARRAY);function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(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&&r_(e,t)}function fz(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:fe(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var sz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o_(e){var t=yz();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fz(this,o)}}var dz=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;return o=t.call(this,n),se(fe(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),se(fe(o),"externalScope",{type:"any"}),Bo.call(fe(o),n,lo.controlCustomAttributes),n.externalType===Kt.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(de),vz=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),pl=function(e){n_(r,e);var t=o_(r);function r(n){t_(this,r);var o;o=t.call(this,n),se(fe(o),"showType",void 0),se(fe(o),"range",void 0),se(fe(o),"rangeOptions",void 0),se(fe(o),"multiple",void 0),se(fe(o),"defaultValueType",void 0),se(fe(o),"defaultValue",void 0),se(fe(o),"multistageFilling",void 0),se(fe(o),"datasourceBind",void 0),se(fe(o),"datasourceType",void 0),se(fe(o),"insideType",void 0),se(fe(o),"externalType",void 0),se(fe(o),"externalScope",void 0),se(fe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1;var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:lo.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var h;o.datasourceBind=new So((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:lo.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:hy.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:by.ADMIN;var w;o.externalType=(w=n==null?void 0:n.externalType)!==null&&w!==void 0?w:Kt.ALL;var _;o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 0?_:[];var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var $;($=o.multistageFilling)===null||$===void 0||$.push(new $e(R))})),o}return r}(N);se(pl,"Rules",dz),se(pl,"RuntimeRules",vz);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _z(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(e)}function hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:ER(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var gz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=mz();return function(){var n=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var lo=function(e){hz(r,e);var t=Oz(r);function r(n){pz(this,r);var o;return o=t.call(this,n),i_(ER(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return _z(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);i_(lo,"controlFieldType",m.EMPLOYEES),i_(lo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pz(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function BR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function Rz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c_(e,t)}function $z(e,t){return t&&(Sz(t)==="object"||typeof t=="function")?t:IR(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var Sz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tz(e){var t=Ez();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $z(this,o)}}var Iz=function(e){Rz(r,e);var t=Tz(r);function r(n){wz(this,r);var o;return o=t.call(this,n),BR(IR(o),"props",void 0),o.props=new pl(n==null?void 0:n.props),o}return Pz(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);BR(Iz,"controlFieldType",m.EMPLOYEES);function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function xR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function Cz(e,t){return t&&(Bz(t)==="object"||typeof t=="function")?t:dt(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var Bz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NR(e){var t=Az();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cz(this,o)}}var xz=function(e){xR(r,e);var t=NR(r);function r(n){AR(this,r);var o;return o=t.call(this,n),vt(dt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&ts(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}y()}},company:{type:"object",required:!0,validator:function(l,f,y){if(u.type==="public"&&u.signatureType.includes("company")&&ts(f.value)&&f.value.length===0){y("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}y()}}}},i},{})}}},o}return r}(de),a_=function(e){xR(r,e);var t=NR(r);function r(n){AR(this,r);var o;o=t.call(this,n),vt(dt(o),"buttonType",void 0),vt(dt(o),"content",void 0),vt(dt(o),"showType",void 0),vt(dt(o),"color",void 0),vt(dt(o),"icon",void 0),vt(dt(o),"command",""),vt(dt(o),"isLoading",!1),vt(dt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ol.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new s2(n==null?void 0:n.signatureConfig),o}return r}(N);vt(a_,"Rules",xz);function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kz(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function gl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function Dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function Fz(e,t){return t&&(jz(t)==="object"||typeof t=="function")?t:kR(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=Mz();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fz(this,o)}}var Ol=function(e){Dz(r,e);var t=Lz(r);function r(n){Nz(this,r);var o;return o=t.call(this,n),gl(kR(o),"props",void 0),o.props=new a_(n==null?void 0:n.props),o}return kz(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);gl(Ol,"controlEventKeys",["on_click","on_click_finish"]),gl(Ol,"controlFieldType",m.VARCHAR),gl(Ol,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zz(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function MR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function Hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s_(e,t)}function qz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:FR(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var Uz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kz(e){var t=Wz();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qz(this,o)}}var Gz=function(e){Hz(r,e);var t=Kz(r);function r(n){Vz(this,r);var o;return o=t.call(this,n),MR(FR(o),"props",void 0),o.props=new a_(n==null?void 0:n.props),o}return zz(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);MR(Gz,"controlFieldType",m.VARCHAR);function be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function d_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v_(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:be(e)}function v_(e,t){return v_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v_(e,t)}var Jz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p_(e){var t=Qz();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var Zz=function(e){d_(r,e);var t=p_(r);function r(n){y_(this,r);var o;return o=t.call(this,n),ye(be(o),"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),ye(be(o),"canAdd",void 0),ye(be(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(p.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(p.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(p.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(de),Yz=function(e){d_(r,e);var t=p_(r);function r(n){y_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Rl=function(e){d_(r,e);var t=p_(r);function r(n){y_(this,r);var o;o=t.call(this,n),ye(be(o),"content",void 0),ye(be(o),"canAdd",void 0),ye(be(o),"addLocal",void 0),ye(be(o),"addOnline",void 0),ye(be(o),"canDownload",void 0),ye(be(o),"canEdit",void 0),ye(be(o),"canExport",void 0),ye(be(o),"canDelete",void 0),ye(be(o),"wpsSetting",void 0),ye(be(o),"maxSize",void 0),ye(be(o),"defaultValue",void 0),ye(be(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:El.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!0;var l;o.addOnline=(l=n==null?void 0:n.addOnline)!==null&&l!==void 0?l:!0;var f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var v;o.canExport=(v=n==null?void 0:n.canExport)!==null&&v!==void 0?v:!0;var h;o.canDelete=(h=n==null?void 0:n.canDelete)!==null&&h!==void 0?h:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:e4;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new y2(n==null?void 0:n.wpsSetting);var w;return o.revisionsMode=(w=n==null?void 0:n.revisionsMode)!==null&&w!==void 0?w:!1,o}return r}(N);ye(Rl,"Rules",Zz),ye(Rl,"RuntimeRules",Yz);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tH(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&__(e,t)}function rH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:LR(e)}function __(e,t){return __=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},__(e,t)}var oH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uH(e){var t=iH();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rH(this,o)}}var El=function(e){nH(r,e);var t=uH(r);function r(n){eH(this,r);var o;return o=t.call(this,n),$l(LR(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return tH(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(k);$l(El,"controlEventKeys",["on_change","on_wps_open"]),$l(El,"controlFieldType",m.FILE),$l(El,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function zR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lH(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function aH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function fH(e,t){return t&&(sH(t)==="object"||typeof t=="function")?t:zR(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var sH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dH(e){var t=yH();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fH(this,o)}}var vH=function(e){aH(r,e);var t=dH(r);function r(n){cH(this,r);var o;return o=t.call(this,n),qR(zR(o),"props",void 0),o.props=new Rl(n==null?void 0:n.props),o}return lH(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);qR(vH,"controlFieldType",m.FILE);function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function g_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function pH(e,t){return t&&(_H(t)==="object"||typeof t=="function")?t:ne(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var _H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O_(e){var t=hH();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pH(this,o)}}var bH=function(e){g_(r,e);var t=O_(r);function r(n){b_(this,r);var o;return o=t.call(this,n),re(ne(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Bo.call(ne(o),n,Qn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(de),gH=function(e){g_(r,e);var t=O_(r);function r(n){b_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),Cl=function(e){g_(r,e);var t=O_(r);function r(n){b_(this,r);var o;o=t.call(this,n),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Qn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new So((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Qn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ii.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Kt.ALL;var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new $e($))})),o}return r}(N);re(Cl,"Rules",bH),re(Cl,"RuntimeRules",gH);function UR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OH(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function Bl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Al=Reflect.get:Al=function(o,i,u){var c=RH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Al(e,t,r||e)}function Jn(e){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jn(e)}function wH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w_(e,t)}function PH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:UR(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}function RH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jn(e),e!==null););return e}var $H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EH(e){var t=SH();return function(){var n=Jn(e),o;if(t){var i=Jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PH(this,o)}}var Qn=function(e){wH(r,e);var t=EH(r);function r(n){mH(this,r);var o;return o=t.call(this,n),Bl(UR(o),"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return OH(r,[{key:"toDataBindModel",value:function(o){var i=Al(Jn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Bl(Qn,"controlName","\u90E8\u95E8"),Bl(Qn,"controlFieldType",m.DEPARTMENTS),Bl(Qn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function XR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function CH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P_(e,t)}function BH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:KR(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var AH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NH(e){var t=xH();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BH(this,o)}}var kH=function(e){CH(r,e);var t=NH(r);function r(n){TH(this,r);var o;return o=t.call(this,n),XR(KR(o),"props",void 0),o.props=new Cl(n==null?void 0:n.props),o}return IH(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);XR(kH,"controlFieldType",m.DEPARTMENTS);function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function $_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S_(e,t)}function DH(e,t){return t&&(FH(t)==="object"||typeof t=="function")?t:q(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var FH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E_(e){var t=jH();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DH(this,o)}}var MH=function(e){$_(r,e);var t=E_(r);function r(n){R_(this,r);var o;return o=t.call(this,n),U(q(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),U(q(o),"businessScope",{type:"any"}),Bo.call(q(o),n,Yn.controlCustomAttributes),n.businessType===Kt.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(de),LH=function(e){$_(r,e);var t=E_(r);function r(n){R_(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(H),kl=function(e){$_(r,e);var t=E_(r);function r(n){R_(this,r);var o;o=t.call(this,n),U(q(o),"showType",void 0),U(q(o),"range",void 0),U(q(o),"defaultValueType",void 0),U(q(o),"multiple",void 0),U(q(o),"rangeOptions",void 0),U(q(o),"defaultValue",void 0),U(q(o),"displayLevel",void 0),U(q(o),"showSubDept",void 0),U(q(o),"multistageFilling",void 0),U(q(o),"datasourceBind",void 0),U(q(o),"listPageBind",void 0),U(q(o),"datasourceType",void 0),U(q(o),"businessType",void 0),U(q(o),"businessScope",void 0),U(q(o),"organizingFunction",void 0),U(q(o),"organizationView",void 0),U(q(o),"openMultistageFilling",void 0),U(q(o),"showSelectedDetail",void 0),U(q(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new cs(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var v;o.showSubDept=(v=n==null?void 0:n.showSubDept)!==null&&v!==void 0?v:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Yn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new d1((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Yn.controlCustomAttributes});var w;o.datasourceType=(w=n==null?void 0:n.datasourceType)!==null&&w!==void 0?w:ii.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:Kt.ALL;var R;o.organizingFunction=(R=n==null?void 0:n.organizingFunction)!==null&&R!==void 0?R:void 0;var $;o.organizationView=($=n==null?void 0:n.organizationView)!==null&&$!==void 0?$:void 0;var E;o.showSelectedDetail=(E=n==null?void 0:n.showSelectedDetail)!==null&&E!==void 0?E:!1,o.selectedContentConfig=new ss(n==null?void 0:n.selectedContentConfig);var j;return o.openMultistageFilling=(j=n==null?void 0:n.openMultistageFilling)!==null&&j!==void 0?j:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(A){var W;(W=o.multistageFilling)===null||W===void 0||W.push(new $e(A))})),o}return r}(N);U(kl,"Rules",MH),U(kl,"RuntimeRules",LH);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VH(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 zH(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fl=Reflect.get:Fl=function(o,i,u){var c=UH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Fl(e,t,r||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zn(e)}function HH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function qH(e,t){return t&&(WH(t)==="object"||typeof t=="function")?t:JR(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}function UH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}var WH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GH(e){var t=KH();return function(){var n=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qH(this,o)}}var Yn=function(e){HH(r,e);var t=GH(r);function r(n){VH(this,r);var o;return o=t.call(this,n),Dl(JR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return zH(r,[{key:"toDataBindModel",value:function(o){var i=Fl(Zn(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(k);Dl(Yn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Dl(Yn,"controlFieldType",m.DEPARTMENTS),Dl(Yn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function ZR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JH(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function QH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I_(e,t)}function ZH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:ZR(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var YH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tq(e){var t=eq();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZH(this,o)}}var nq=function(e){QH(r,e);var t=tq(r);function r(n){XH(this,r);var o;return o=t.call(this,n),e$(ZR(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return JH(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(D);e$(nq,"controlFieldType",m.DEPARTMENTS);function rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iq(e,t,r){return t&&t$(e.prototype,t),r&&t$(e,r),e}function uq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function cq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C_(e,t)}function lq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:rq(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sq(e){var t=fq();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lq(this,o)}}var yq=function(e){cq(r,e);var t=sq(r);function r(n){return oq(this,r),t.call(this,n)}return iq(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(ie);uq(yq,"excludes",[d.GRID]);function B_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A_(e,t)}function pq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:B_(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var _q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bq(e){var t=hq();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pq(this,o)}}var gq=24,ao=function(e){vq(r,e);var t=bq(r);function r(n){dq(this,r);var o;o=t.call(this,n),n$(B_(o),"span",void 0),n$(B_(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:gq;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(oe);function r$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function x_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N_(e,t)}function Pq(e,t){return t&&(Rq(t)==="object"||typeof t=="function")?t:r$(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var Rq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sq(e){var t=$q();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pq(this,o)}}var fo=function(e){wq(r,e);var t=Sq(r);function r(n){mq(this,r);var o;return o=t.call(this,n),x_(r$(o),"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return Oq(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(ie);x_(fo,"excludes",[d.COL,d.CARD_GROUP,d.SUBTABLE,d.SUBTABLE_COLUMN,d.GRID_LAYOUT_CONTAINER,d.DIVIDER]),x_(fo,"childrenMaxLength",1);function i$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tq(e,t,r){return t&&u$(e.prototype,t),r&&u$(e,r),e}function Iq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function Cq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function Bq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:i$(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var Aq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nq(e){var t=xq();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bq(this,o)}}var kq=function(e){Cq(r,e);var t=Nq(r);function r(n){Eq(this,r);var o;return o=t.call(this,n),Iq(i$(o),"props",void 0),o.props=new ao(n==null?void 0:n.props),o}return Tq(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(dn),c$={Designer:fo,Runtime:kq,Property:ao};function D_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function Fq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F_(e,t)}function jq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:D_(e)}function F_(e,t){return F_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F_(e,t)}var Mq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Lq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vq(e){var t=Lq();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jq(this,o)}}var j_=function(e){Fq(r,e);var t=Vq(r);function r(n){Dq(this,r);var o;o=t.call(this,n),l$(D_(o),"layoutMode",void 0),l$(D_(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(oe);function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hq(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function M_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:a$(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var Wq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=Kq();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uq(this,o)}}var V_=function(e){qq(r,e);var t=Gq(r);function r(n){zq(this,r);var o;return o=t.call(this,n),M_(a$(o),"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return Hq(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);M_(V_,"excludes",[d.ROW]),M_(V_,"setting",[{key:"col-setting",visible:!0}]);function s$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jq(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function Qq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function Zq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function Yq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:s$(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var eU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nU(e){var t=tU();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yq(this,o)}}var rU=function(e){Zq(r,e);var t=nU(r);function r(n){Xq(this,r);var o;return o=t.call(this,n),Qq(s$(o),"props",void 0),o.props=new j_(n==null?void 0:n.props),o}return Jq(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(dn);function oU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uU(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function H_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function cU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function lU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:oU(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var aU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=fU();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lU(this,o)}}var yU=4,Kl=function(e){cU(r,e);var t=sU(r);function r(n){return iU(this,r),t.call(this,n)}return uU(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}(V_);H_(Kl,"excludes",[d.GRID_ROW]),H_(Kl,"setting",[]),H_(Kl,"childrenMaxLength",yU);function dU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pU(e,t,r){return t&&v$(e.prototype,t),r&&v$(e,r),e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:dU(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var bU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mU(e){var t=gU();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hU(this,o)}}var OU=function(e){_U(r,e);var t=mU(r);function r(n){return vU(this,r),t.call(this,n)}return pU(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(rU);function wU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function RU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W_(e,t)}function $U(e,t){return t&&(SU(t)==="object"||typeof t=="function")?t:wU(e)}function W_(e,t){return W_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W_(e,t)}var SU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TU(e){var t=EU();return function(){var n=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $U(this,o)}}var IU=function(e){RU(r,e);var t=TU(r);function r(n){return PU(this,r),t.call(this,n)}return r}(j_),CU={Designer:Kl,Runtime:OU,Property:IU};function Jl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function _$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function BU(e,t){return t&&(AU(t)==="object"||typeof t=="function")?t:Jl(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var AU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h$(e){var t=xU();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var NU=function(e){_$(r,e);var t=h$(r);function r(){p$(this,r);var n;return n=t.apply(this,arguments),Ql(Jl(n),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return r}(oe.Rules),b$=function(e){_$(r,e);var t=h$(r);function r(n){p$(this,r);var o;o=t.call(this,n),Ql(Jl(o),"caption",void 0),Ql(Jl(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(oe);Ql(b$,"Rules",NU);function g$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DU(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}function G_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function FU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X_(e,t)}function jU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:g$(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var MU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=LU();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jU(this,o)}}var O$=function(e){FU(r,e);var t=VU(r);function r(n){kU(this,r);var o;return o=t.call(this,n),G_(g$(o),"props",void 0),o.props=new b$(n==null?void 0:n.props),o}return DU(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(ie);G_(O$,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),G_(O$,"excludes",[d.CARD_GROUP]);function pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function P$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function zU(e,t){return t&&(HU(t)==="object"||typeof t=="function")?t:pt(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var HU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R$(e){var t=qU();return function(){var n=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zU(this,o)}}var UU=function(e){P$(r,e);var t=R$(r);function r(n){w$(this,r);var o;return o=t.call(this,n),_t(pt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),_t(pt(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),_t(pt(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Z),ta=function(e){P$(r,e);var t=R$(r);function r(n){w$(this,r);var o;o=t.call(this,n),_t(pt(o),"metaAutoWidth",void 0),_t(pt(o),"caption",void 0),_t(pt(o),"fixed",void 0),_t(pt(o),"isShowCaptionTip",void 0),_t(pt(o),"captionTip",void 0),_t(pt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var l;return o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,o.metaAutoWidth=new o1(n==null?void 0:n.metaAutoWidth),o}return r}(oe);_t(ta,"Rules",UU);function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function KU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q_(e,t)}function GU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:$$(e)}function Q_(e,t){return Q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q_(e,t)}var XU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QU(e){var t=JU();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GU(this,o)}}var ot=function(e){KU(r,e);var t=QU(r);function r(n){WU(this,r);var o;return o=t.call(this,n),hn($$(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return r}(ie);hn(ot,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),hn(ot,"controlType","subtable-column"),hn(ot,"controlIcon","subtable-column"),hn(ot,"childrenMaxLength",1),hn(ot,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),hn(ot,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function S$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function YU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z_(e,t)}function eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:S$(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var tW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();return function(){var n=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var T$=function(e){YU(r,e);var t=rW(r);function r(n){ZU(this,r);var o;return o=t.call(this,n),E$(S$(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return r}(dn);E$(T$,"controlType","subtable-column");var oW={Designer:ot,Runtime:T$,Property:ta};function iW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function cW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Y_(e,t)}function lW(e,t){return t&&(aW(t)==="object"||typeof t=="function")?t:iW(e)}function Y_(e,t){return Y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y_(e,t)}var aW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sW(e){var t=fW();return function(){var n=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lW(this,o)}}var yW=function(e){cW(r,e);var t=sW(r);function r(n){return uW(this,r),t.call(this,n)}return r}(oe);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function vW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function pW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:I$(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var _W=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bW(e){var t=hW();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pW(this,o)}}var er=function(e){vW(r,e);var t=bW(r);function r(n){dW(this,r);var o;return o=t.call(this,n),bn(I$(o),"props",void 0),o.props=new yW(n==null?void 0:n.props),o}return r}(ie);bn(er,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),bn(er,"controlType","subtable-row"),bn(er,"controlIcon","subtable-row"),bn(er,"childrenMaxLength",1),bn(er,"excludes",[d.SUBTABLE,d.SUBTABLE_COLUMN,d.SUBTABLE_ROW,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),bn(er,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0}]);function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function mW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:Me(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var wW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RW(e){var t=PW();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OW(this,o)}}var C$=function(e){mW(r,e);var t=RW(r);function r(n){gW(this,r);var o;o=t.call(this,n),Ge(Me(o),"widthType",void 0),Ge(Me(o),"width",void 0),Ge(Me(o),"caption",void 0),Ge(Me(o),"fieldCode",void 0),Ge(Me(o),"fieldType",void 0),Ge(Me(o),"fieldName",void 0),Ge(Me(o),"datasourceBind",void 0),Ge(Me(o),"fixed",void 0),Ge(Me(o),"textCleanFormart",void 0),Ge(Me(o),"decimalKeepPrecision",void 0),Ge(Me(o),"timestampDateType",void 0),Ge(Me(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var l;o.fieldType=(l=n==null?void 0:n.fieldType)!==null&&l!==void 0?l:m.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var v;o.decimalKeepPrecision=(v=n==null?void 0:n.decimalKeepPrecision)!==null&&v!==void 0?v:0;var h;o.timestampDateType=(h=n==null?void 0:n.timestampDateType)!==null&&h!==void 0?h:Ft.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(oe);function B$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function SW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function EW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:B$(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var TW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CW(e){var t=IW();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EW(this,o)}}var tr=function(e){SW(r,e);var t=CW(r);function r(n){$W(this,r);var o;return o=t.call(this,n),gn(B$(o),"props",void 0),o.props=new C$(n==null?void 0:n.props),o}return r}(ie);gn(tr,"controlName","\u5217\u8868\u5355\u5143\u683C"),gn(tr,"controlType","gridtable-column"),gn(tr,"controlIcon","gridtable-column"),gn(tr,"childrenMaxLength",1),gn(tr,"excludes",[d.GRID_TABLE,d.GRID_TABLE_COLUMN,d.ROW,d.COL,d.CARD_GROUP,d.DIVIDER,d.TEXT]),gn(tr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function A$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function AW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function xW(e,t){return t&&(NW(t)==="object"||typeof t=="function")?t:A$(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var NW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DW(e){var t=kW();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xW(this,o)}}var FW=function(e){AW(r,e);var t=DW(r);function r(n){BW(this,r);var o;return o=t.call(this,n),x$(A$(o),"props",void 0),o.props=new C$(n==null?void 0:n.props),o}return r}(dn);x$(FW,"controlType","gridtable-column");function oh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function MW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function LW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:oh(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}var VW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HW(e){var t=zW();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LW(this,o)}}var qW=function(e){MW(r,e);var t=HW(r);function r(n){jW(this,r);var o;o=t.call(this,n),N$(oh(o),"childMinWidth",void 0),N$(oh(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(oe);function k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WW(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function uh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function KW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ch(e,t)}function GW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:k$(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var XW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QW(e){var t=JW();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GW(this,o)}}var F$=function(e){KW(r,e);var t=QW(r);function r(n){UW(this,r);var o;return o=t.call(this,n),uh(k$(o),"props",void 0),o.props=new qW(n==null?void 0:n.props),o}return WW(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(ie);uh(F$,"excludes",[d.GRID_LAYOUT_CONTAINER,d.CARD_GROUP,d.TAB]),uh(F$,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function eK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function tK(e,t){return t&&(nK(t)==="object"||typeof t=="function")?t:j$(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var nK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oK(e){var t=rK();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var iK=function(e){eK(r,e);var t=oK(r);function r(n){ZW(this,r);var o;o=t.call(this,n),YW(j$(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(oe);function ah(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function L$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function uK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:ah(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}var cK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V$(e){var t=lK();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uK(this,o)}}var aK=function(e){L$(r,e);var t=V$(r);function r(n){M$(this,r);var o;return o=t.call(this,n),fh(ah(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return r}(Z),z$=function(e){L$(r,e);var t=V$(r);function r(n){M$(this,r);var o;o=t.call(this,n),fh(ah(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ha.controlName,o}return r}(oe);fh(z$,"Rules",aK);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sK(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function yh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function yK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:H$(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}var vK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _K(e){var t=pK();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dK(this,o)}}var va=function(e){yK(r,e);var t=_K(r);function r(n){fK(this,r);var o;return o=t.call(this,n),yh(H$(o),"props",void 0),o.props=new z$(n==null?void 0:n.props),o}return sK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(ie);yh(va,"excludes",[d.TAB]),yh(va,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}]);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bK(e,t,r){return t&&W$(e.prototype,t),r&&W$(e,r),e}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vh(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:U$(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var OK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PK(e){var t=wK();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mK(this,o)}}var ha=function(e){gK(r,e);var t=PK(r);function r(n){hK(this,r);var o;o=t.call(this,n),pa(U$(o),"props",void 0),o.props=new iK(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new va,new va],o}return bK(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(ie);pa(ha,"excludes",[d.TAB]),pa(ha,"controlEventKeys",["on_change_tab"]),pa(ha,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function RK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function SK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ph(e,t)}function EK(e,t){return t&&(TK(t)==="object"||typeof t=="function")?t:RK(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}var TK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CK(e){var t=IK();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EK(this,o)}}var BK=function(e){SK(r,e);var t=CK(r);function r(n){return $K(this,r),t.call(this,n)}return r}(oe);function K$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xK(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function X$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function NK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function kK(e,t){return t&&(DK(t)==="object"||typeof t=="function")?t:K$(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var DK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jK(e){var t=FK();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kK(this,o)}}var MK=function(e){NK(r,e);var t=jK(r);function r(n){AK(this,r);var o;return o=t.call(this,n),X$(K$(o),"props",void 0),o.props=new BK({}),o.children=(n==null?void 0:n.children)||[new fo({props:new ao({span:12})}),new fo({props:new ao({span:12})})],o}return xK(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(ie);X$(MK,"excludes",[d.GRID_ROW,d.ROW,d.GRID,d.SUBTABLE,d.TAB,d.TOOLBOX]);function J(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function LK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:J(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}var VK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mh(e){var t=zK();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LK(this,o)}}var Oa;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(Oa||(Oa={}));var HK=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),qK=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;if(o=t.call(this,n),Q(J(o),"triggerFieldCode",{type:"any"}),Q(J(o),"datasourceBind",{type:"any"}),Q(J(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===Oa.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),$s.call(J(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Z),so=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;o=t.call(this,n),Q(J(o),"datasourceBind",void 0),Q(J(o),"isLoading",void 0),Q(J(o),"isShowSubList",void 0),Q(J(o),"triggerType",void 0),Q(J(o),"triggerFieldCode",void 0),Q(J(o),"sublistPage",void 0),Q(J(o),"isShowJoinRelation",void 0),Q(J(o),"joinRelation",void 0),Q(J(o),"showType",void 0),Q(J(o),"showFullScreen",void 0),Q(J(o),"isFixedHeader",void 0),Q(J(o),"selectionType",void 0),Q(J(o),"isShowSelection",void 0),Q(J(o),"isAllLoaded",void 0),Q(J(o),"countType",void 0),o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:Oa.CLICK_ROW;var a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new a1(n==null?void 0:n.sublistPage);var l;o.isShowJoinRelation=(l=n==null?void 0:n.isShowJoinRelation)!==null&&l!==void 0?l:!1,o.joinRelation=new s1(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var v;o.selectionType=(v=n==null?void 0:n.selectionType)!==null&&v!==void 0?v:"multiple";var h;o.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;return o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType,o}return r}(oe);Q(so,"Rules",qK),Q(so,"RuntimeRules",HK);function J$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WK(e,t,r){return t&&Q$(e.prototype,t),r&&Q$(e,r),e}function wa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function KK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function GK(e,t){return t&&(XK(t)==="object"||typeof t=="function")?t:J$(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var XK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QK(e){var t=JK();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GK(this,o)}}var Ra=function(e){KK(r,e);var t=QK(r);function r(n){UK(this,r);var o;return o=t.call(this,n),wa(J$(o),"props",void 0),o.props=new so(n==null?void 0:n.props),o}return WK(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);wa(Ra,"excludes",[d.ROW]),wa(Ra,"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"]),wa(Ra,"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 Z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YK(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(e,r),e}function eG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(e)}function tG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function nG(e,t){return t&&(rG(t)==="object"||typeof t=="function")?t:Z$(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var rG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iG(e){var t=oG();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nG(this,o)}}var uG=function(e){tG(r,e);var t=iG(r);function r(n){ZK(this,r);var o;return o=t.call(this,n),eG(Z$(o),"props",void 0),o.props=new so(n==null?void 0:n.props),o}return YK(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(dn),cG={Designer:Ra,Runtime:uG,Property:so};function rn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function tS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function lG(e,t){return t&&(aG(t)==="object"||typeof t=="function")?t:rn(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var aG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=fG();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var sG=function(e){tS(r,e);var t=nS(r);function r(n){eS(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),Ea=function(e){tS(r,e);var t=nS(r);function r(n){eS(this,r);var o;o=t.call(this,n),on(rn(o),"save",void 0),on(rn(o),"cancel",void 0),on(rn(o),"saveAs",void 0),on(rn(o),"print",void 0),on(rn(o),"custom",void 0),on(rn(o),"isLoading",void 0),on(rn(o),"datasourceBind",void 0);var i;o.save=new Lt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Lt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Lt((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new Lt((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{content:"\u6253\u5370",type:"print",isShow:!1});var l;o.custom=((l=n==null?void 0:n.custom)!==null&&l!==void 0?l:[]).map(function(y){return new Lt(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new ee(n==null?void 0:n.datasourceBind),o}return r}(oe);on(Ea,"RuntimeRules",sG);function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dG(e,t,r){return t&&oS(e.prototype,t),r&&oS(e,r),e}function iS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function vG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function pG(e,t){return t&&(_G(t)==="object"||typeof t=="function")?t:rS(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var _G=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bG(e){var t=hG();return function(){var n=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pG(this,o)}}var uS=function(e){vG(r,e);var t=bG(r);function r(n){yG(this,r);var o;return o=t.call(this,n),iS(rS(o),"props",void 0),o.props=new Ea(n==null?void 0:n.props),o}return dG(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(ie);iS(uS,"excludes",[]);function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&lS(e.prototype,t),r&&lS(e,r),e}function OG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function wG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function PG(e,t){return t&&(RG(t)==="object"||typeof t=="function")?t:cS(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var RG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SG(e){var t=$G();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PG(this,o)}}var EG=function(e){wG(r,e);var t=SG(r);function r(n){gG(this,r);var o;return o=t.call(this,n),OG(cS(o),"props",void 0),o.props=new Ea(n==null?void 0:n.props),o}return mG(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(dn),TG={Designer:uS,Runtime:EG,Property:Ea};function Ca(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function CG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eh(e,t)}function BG(e,t){return t&&(AG(t)==="object"||typeof t=="function")?t:Ca(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}var AG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=xG();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BG(this,o)}}var kG=function(e){CG(r,e);var t=NG(r);function r(n){IG(this,r);var o;o=t.call(this,n),Sh(Ca(o),"position",void 0),Sh(Ca(o),"opacity",void 0),Sh(Ca(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(oe);function aS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FG(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function Th(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function jG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function MG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:aS(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var LG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function VG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zG(e){var t=VG();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MG(this,o)}}var sS=function(e){jG(r,e);var t=zG(r);function r(n){DG(this,r);var o;o=t.call(this,n),Th(aS(o),"props",void 0);var i;return o.props=new kG((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return FG(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(ie);Th(sS,"excludes",[]),Th(sS,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:B(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}var qG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xh(e){var t=UG();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HG(this,o)}}var WG=function(e){Bh(r,e);var t=xh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),T(B(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),T(B(o),"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),T(B(o),"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),T(B(o),"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),T(B(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),T(B(o),"mobileRowCaption",{type:"string",required:!1,message:p.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Z),KG=function(e){Bh(r,e);var t=xh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(sn),Nh=function(e){Bh(r,e);var t=xh(r);function r(n,o){Ch(this,r);var i;i=t.call(this,n,o),T(B(i),"caption",void 0),T(B(i),"labelPosition",void 0),T(B(i),"isHideCaption",void 0),T(B(i),"isShowCaptionTip",void 0),T(B(i),"captionTip",void 0),T(B(i),"defaultState",void 0),T(B(i),"limitRows",void 0),T(B(i),"maxRows",void 0),T(B(i),"defaultRows",void 0),T(B(i),"datasourceBind",void 0),T(B(i),"printMode",void 0),T(B(i),"openType",void 0),T(B(i),"formKey",void 0),T(B(i),"useCustomHeight",void 0),T(B(i),"maxHeight",void 0),T(B(i),"canAdd",void 0),T(B(i),"canDelete",void 0),T(B(i),"canCheck",void 0),T(B(i),"canEdit",void 0),T(B(i),"canImport",void 0),T(B(i),"canExport",void 0),T(B(i),"canClear",void 0),T(B(i),"isPaste",void 0),T(B(i),"mobileShowType",void 0),T(B(i),"mobileDefaultNum",void 0),T(B(i),"dataStorageDoc",void 0),T(B(i),"serverPagination",void 0),T(B(i),"fixedColumn",void 0),T(B(i),"mobileRowCaption",void 0),T(B(i),"mobileIsTile",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:jh.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"default";var l;i.labelPosition=(l=o==null?void 0:o.labelPosition)!==null&&l!==void 0?l:"top";var f;i.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var y;i.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var v;i.useCustomHeight=(v=o==null?void 0:o.useCustomHeight)!==null&&v!==void 0?v:!1;var h;i.maxHeight=(h=o==null?void 0:o.maxHeight)!==null&&h!==void 0?h:d2;var O;i.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;i.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var w;i.maxRows=(w=o==null?void 0:o.maxRows)!==null&&w!==void 0?w:null;var _;i.defaultRows=(_=o==null?void 0:o.defaultRows)!==null&&_!==void 0?_:1,i.datasourceBind=new ee(o==null?void 0:o.datasourceBind);var P;i.canAdd=(P=o==null?void 0:o.canAdd)!==null&&P!==void 0?P:!0;var R;i.canDelete=(R=o==null?void 0:o.canDelete)!==null&&R!==void 0?R:!0;var $;i.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var E;i.canEdit=(E=o==null?void 0:o.canEdit)!==null&&E!==void 0?E:!1;var j;i.canImport=(j=o==null?void 0:o.canImport)!==null&&j!==void 0?j:!1;var A;i.canExport=(A=o==null?void 0:o.canExport)!==null&&A!==void 0?A:!1;var W;i.canClear=(W=o==null?void 0:o.canClear)!==null&&W!==void 0?W:!0;var I;i.serverPagination=(I=o==null?void 0:o.serverPagination)!==null&&I!==void 0?I:!1;var bt;i.isShowCaptionTip=(bt=o==null?void 0:o.isShowCaptionTip)!==null&&bt!==void 0?bt:!1;var wo;i.captionTip=(wo=o==null?void 0:o.captionTip)!==null&&wo!==void 0?wo:"";var Lr;i.mobileShowType=(Lr=o==null?void 0:o.mobileShowType)!==null&&Lr!==void 0?Lr:"list";var En;i.mobileDefaultNum=(En=o==null?void 0:o.mobileDefaultNum)!==null&&En!==void 0?En:10;var gt;i.dataStorageDoc=(gt=o==null?void 0:o.dataStorageDoc)!==null&>!==void 0?gt:new i1;var P0;i.fixedColumn=(P0=o==null?void 0:o.fixedColumn)!==null&&P0!==void 0?P0:[];var R0;i.mobileRowCaption=(R0=o==null?void 0:o.mobileRowCaption)!==null&&R0!==void 0?R0:"\u660E\u7EC6";var $0;i.mobileIsTile=($0=o==null?void 0:o.mobileIsTile)!==null&&$0!==void 0?$0:!1;var S0;return i.isPaste=(S0=o==null?void 0:o.isPaste)!==null&&S0!==void 0?S0:!1,i}return r}(js);T(Nh,"Rules",WG),T(Nh,"RuntimeRules",KG);function kh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XG(e,t,r){return t&&yS(e.prototype,t),r&&yS(e,r),e}function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function JG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function QG(e,t){return t&&(ZG(t)==="object"||typeof t=="function")?t:kh(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var ZG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=YG();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QG(this,o)}}var jh=function(e){JG(r,e);var t=eX(r);function r(n){GG(this,r);var o,i,u;return o=t.call(this,n),Dh(kh(o),"props",void 0),o.props=new Nh(kh(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new ot,new ot,new ot]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return XG(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new ot,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Vs);Dh(jh,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Dh(jh,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function nr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function rX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:nr(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var oX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uX(e){var t=iX();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rX(this,o)}}var cX=function(e){nX(r,e);var t=uX(r);function r(n,o){tX(this,r);var i;i=t.call(this,n,o),yo(nr(i),"isFixedHeader",void 0),yo(nr(i),"selectionType",void 0),yo(nr(i),"isShowToolbar",void 0),yo(nr(i),"isShowSelection",void 0),yo(nr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!1;var l;return i.isShowCustomColumns=(l=o==null?void 0:o.isShowCustomColumns)!==null&&l!==void 0?l:!0,i}return r}(js);function lX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function vS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function fX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:lX(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}var sX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pS(e){var t=yX();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fX(this,o)}}var dX=function(e){vS(r,e);var t=pS(r);function r(n){dS(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(Pt),Vh=function(e){vS(r,e);var t=pS(r);function r(n){dS(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:rr.controlName;var l;o.width=(l=n==null?void 0:n.width)!==null&&l!==void 0?l:60;var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:60;var y;o.autoWidth.flex=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&y!==void 0?y:.4;var v;return o.widthType=(v=n==null?void 0:n.widthType)!==null&&v!==void 0?v:"px",o}return r}(X);aX(Vh,"Rules",dX);function _S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function _X(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:_S(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var hX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gX(e){var t=bX();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _X(this,o)}}var rr=function(e){pX(r,e);var t=gX(r);function r(n){vX(this,r);var o;return o=t.call(this,n),vo(_S(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(ce);vo(rr,"controlType","order-column"),vo(rr,"controlName","\u5E8F\u53F7"),vo(rr,"controlIcon","order-column"),vo(rr,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}]);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function OX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function wX(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:hS(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var PX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function RX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $X(e){var t=RX();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wX(this,o)}}var bS=function(e){OX(r,e);var t=$X(r);function r(n){mX(this,r);var o;return o=t.call(this,n),Hh(hS(o),"props",void 0),o.props=new Vh(n==null?void 0:n.props),o}return r}(le);Hh(bS,"controlType","order-column"),Hh(bS,"controlFieldType",m.DECIMAL);function Uh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function EX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function TX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:Uh(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var IX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BX(e){var t=CX();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TX(this,o)}}var mS=function(e){EX(r,e);var t=BX(r);function r(n){SX(this,r);var o,i;o=t.call(this,n),gS(Uh(o),"showType",void 0),gS(Uh(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:ir.controlName;var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return r}(X);function La(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function AX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){OS(i,n,o,u,c,"next",a)}function c(a){OS(i,n,o,u,c,"throw",a)}u(void 0)})}}function xX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NX(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function or(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?or=Reflect.get:or=function(o,i,u){var c=LX(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},or(e,t,r||e)}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},un(e)}function kX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function DX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){mn(e,o,r[o])})}return e}function FX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function jX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function MX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:La(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function LX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=un(e),e!==null););return e}var VX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HX(e){var t=zX();return function(){var n=un(e),o;if(t){var i=un(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MX(this,o)}}var qX=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ir=function(e){kX(r,e);var t=HX(r);function r(n){xX(this,r);var o;return o=t.call(this,n),mn(La(o),"props",void 0),mn(La(o),"children",void 0),o.props=new mS(n==null?void 0:n.props),wt(La(o),"children",n==null?void 0:n.children),o}return NX(r,[{key:"toDataBindModel",value:function(){var o=or(un(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===ou.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=or(un(r.prototype),"toSchema",this).call(this);return jX(DX({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return or(un(r.prototype),"validate",u)};return AX(function(){return qX(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),r}(ce);mn(ir,"controlType","operation-column"),mn(ir,"controlName","\u64CD\u4F5C"),mn(ir,"controlIcon","operation-column"),mn(ir,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function Va(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function WX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function KX(e,t){return t&&(GX(t)==="object"||typeof t=="function")?t:Va(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var GX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JX(e){var t=XX();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KX(this,o)}}var PS=function(e){WX(r,e);var t=JX(r);function r(n){UX(this,r);var o;return o=t.call(this,n),za(Va(o),"props",void 0),za(Va(o),"children",void 0),o.props=new mS(n==null?void 0:n.props),wt(Va(o),"children",n==null?void 0:n.children),o}return r}(le);za(PS,"controlType","operation-column"),za(PS,"controlFieldType",m.FILE);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RS(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(l){r(l);return}c.done?t(a):Promise.resolve(a).then(n,o)}function QX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){RS(i,n,o,u,c,"next",a)}function c(a){RS(i,n,o,u,c,"throw",a)}u(void 0)})}}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function qa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _o(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?_o=Reflect.get:_o=function(o,i,u){var c=iJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},_o(e,t,r||e)}function On(e){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},On(e)}function eJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function tJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){qa(e,o,r[o])})}return e}function nJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function rJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function oJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:po(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function iJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=On(e),e!==null););return e}var uJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lJ(e){var t=cJ();return function(){var n=On(e),o;if(t){var i=On(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var aJ=function(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(l){return function(f){return a([l,f])}}function a(l){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=l[0]&2?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(f){l=[6,f],n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},fJ=function(e){eJ(r,e);var t=lJ(r);function r(n){ZX(this,r);var o,i;return o=t.call(this,n),qa(po(o),"props",void 0),qa(po(o),"children",void 0),o.props=new cX(po(o),n==null?void 0:n.props),wt(po(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new rr,new ir]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return YX(r,[{key:"toSchema",value:function(){var o=_o(On(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return rJ(tJ({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return _o(On(r.prototype),"validate",u)};return QX(function(){return aJ(this,function(l){switch(l.label){case 0:return[4,a().call(c,o,i)];case 1:return l.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Vs);qa(fJ,"setting",[{key:"list-fixed-header",visible:!0}]);function cn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function ES(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function sJ(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:cn(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var yJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TS(e){var t=dJ();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sJ(this,o)}}var vJ=function(e){ES(r,e);var t=TS(r);function r(n){SS(this,r);var o;return o=t.call(this,n),vn.call(cn(o),n),o}return r}(Bg),Qh=function(e){ES(r,e);var t=TS(r);function r(n){SS(this,r);var o;o=t.call(this,n),wn(cn(o),"optionConfig",void 0),wn(cn(o),"datasourceBind",void 0),wn(cn(o),"showLinkOperation",void 0),wn(cn(o),"linkOperationOption",void 0),wn(cn(o),"options",void 0),wn(cn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var c;o.options=Ot((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(X);wn(Qh,"Rules",vJ);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function _J(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:IS(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}var bJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=gJ();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var cr=function(e){_J(r,e);var t=mJ(r);function r(n){pJ(this,r);var o;return o=t.call(this,n),ur(IS(o),"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return r}(ce);ur(cr,"controlType","varchar-column"),ur(cr,"controlName","\u77ED\u6587\u672C"),ur(cr,"controlIcon","varchar-column"),ur(cr,"controlFieldType",m.VARCHAR),ur(cr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function CS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function wJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function PJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:CS(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}var RJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SJ(e){var t=$J();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PJ(this,o)}}var BS=function(e){wJ(r,e);var t=SJ(r);function r(n){OJ(this,r);var o;return o=t.call(this,n),Yh(CS(o),"props",void 0),o.props=new Qh(n==null?void 0:n.props),o}return r}(le);Yh(BS,"controlType","varchar-column"),Yh(BS,"controlFieldType",m.VARCHAR);function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function xS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function EJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:lr(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var TJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NS(e){var t=IJ();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EJ(this,o)}}var CJ=function(e){xS(r,e);var t=NS(r);function r(n){AS(this,r);var o;return o=t.call(this,n),vn.call(lr(o),n),o}return r}(Pt),nb=function(e){xS(r,e);var t=NS(r);function r(n){AS(this,r);var o;o=t.call(this,n),ho(lr(o),"escapeHTML",void 0),ho(lr(o),"showLinkOperation",void 0),ho(lr(o),"linkOperationOption",void 0),ho(lr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:sr.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);ho(nb,"Rules",CJ);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AJ(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xa=Reflect.get:Xa=function(o,i,u){var c=kJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Xa(e,t,r||e)}function fr(e){return fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fr(e)}function xJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function NJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:kS(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function kJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fr(e),e!==null););return e}var DJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=FJ();return function(){var n=fr(e),o;if(t){var i=fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NJ(this,o)}}var sr=function(e){xJ(r,e);var t=jJ(r);function r(n){BJ(this,r);var o;return o=t.call(this,n),ar(kS(o),"props",void 0),o.props=new nb(n==null?void 0:n.props),o}return AJ(r,[{key:"toDataBindModel",value:function(o){var i=Xa(fr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ce);ar(sr,"controlType","text-column"),ar(sr,"controlName","\u957F\u6587\u672C"),ar(sr,"controlIcon","text-column"),ar(sr,"controlFieldType",m.TEXT),ar(sr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}]);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ob(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function LJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function VJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:FS(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var zJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qJ(e){var t=HJ();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VJ(this,o)}}var jS=function(e){LJ(r,e);var t=qJ(r);function r(n){MJ(this,r);var o;return o=t.call(this,n),ob(FS(o),"props",void 0),o.props=new nb(n==null?void 0:n.props),o}return r}(le);ob(jS,"controlType","text-column"),ob(jS,"controlFieldType",m.TEXT);function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function LS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ub(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:ht(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}var WJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VS(e){var t=KJ();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UJ(this,o)}}var GJ=function(e){LS(r,e);var t=VS(r);function r(n){MS(this,r);var o;return o=t.call(this,n),vn.call(ht(o),n),o}return r}(Pt),cb=function(e){LS(r,e);var t=VS(r);function r(n){MS(this,r);var o;o=t.call(this,n),Dt(ht(o),"optionConfig",void 0),Dt(ht(o),"datasourceBind",void 0),Dt(ht(o),"showLinkOperation",void 0),Dt(ht(o),"linkOperationOption",void 0),Dt(ht(o),"options",void 0),Dt(ht(o),"precision",void 0),Dt(ht(o),"micrometer",void 0),Dt(ht(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vr.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!1;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"none",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var f;o.options=Ot((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);Dt(cb,"Rules",GJ);function zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JJ(e,t,r){return t&&HS(e.prototype,t),r&&HS(e,r),e}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Za=Reflect.get:Za=function(o,i,u){var c=YJ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},Za(e,t,r||e)}function dr(e){return dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dr(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function ZJ(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:zS(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function YJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dr(e),e!==null););return e}var eQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nQ(e){var t=tQ();return function(){var n=dr(e),o;if(t){var i=dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var vr=function(e){QJ(r,e);var t=nQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),yr(zS(o),"props",void 0),o.props=new cb(n==null?void 0:n.props),o}return JJ(r,[{key:"toDataBindModel",value:function(o){var i=Za(dr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(ce);yr(vr,"controlType","decimal-column"),yr(vr,"controlName","\u6570\u503C"),yr(vr,"controlIcon","decimal-column"),yr(vr,"controlFieldType",m.DECIMAL),yr(vr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}]);function qS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ab(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function oQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:qS(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var uQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lQ(e){var t=cQ();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iQ(this,o)}}var US=function(e){oQ(r,e);var t=lQ(r);function r(n){rQ(this,r);var o;return o=t.call(this,n),ab(qS(o),"props",void 0),o.props=new cb(n==null?void 0:n.props),o}return r}(le);ab(US,"controlType","decimal-column"),ab(US,"controlFieldType",m.DECIMAL);function bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function KS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function aQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:bo(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var fQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GS(e){var t=sQ();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aQ(this,o)}}var yQ=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o;return o=t.call(this,n),vn.call(bo(o),n),o}return r}(Pt),yb=function(e){KS(r,e);var t=GS(r);function r(n){WS(this,r);var o;o=t.call(this,n),ef(bo(o),"dateType",void 0),ef(bo(o),"showLinkOperation",void 0),ef(bo(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Ft.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:hr.controlName,o}return r}(X);ef(yb,"Rules",yQ);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vQ(e,t,r){return t&&JS(e.prototype,t),r&&JS(e,r),e}function pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nf=Reflect.get:nf=function(o,i,u){var c=hQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},nf(e,t,r||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function pQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function _Q(e,t){return t&&(bQ(t)==="object"||typeof t=="function")?t:XS(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function hQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}var bQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mQ(e){var t=gQ();return function(){var n=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Q(this,o)}}var hr=function(e){pQ(r,e);var t=mQ(r);function r(n){dQ(this,r);var o;return o=t.call(this,n),pr(XS(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return vQ(r,[{key:"toDataBindModel",value:function(o){var i=nf(_r(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);pr(hr,"controlType","timescope-column"),pr(hr,"controlName","\u65E5\u671F\u533A\u95F4"),pr(hr,"controlIcon","timescope-column"),pr(hr,"controlFieldType",m.TIMESCOPE),pr(hr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function wQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function PQ(e,t){return t&&(RQ(t)==="object"||typeof t=="function")?t:QS(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var RQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SQ(e){var t=$Q();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PQ(this,o)}}var ZS=function(e){wQ(r,e);var t=SQ(r);function r(n){OQ(this,r);var o;return o=t.call(this,n),vb(QS(o),"props",void 0),o.props=new yb(n==null?void 0:n.props),o}return r}(le);vb(ZS,"controlType","timescope-column"),vb(ZS,"controlFieldType",m.TIMESCOPE);function go(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function eE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function EQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:go(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var TQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function IQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tE(e){var t=IQ();return function(){var n=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EQ(this,o)}}var CQ=function(e){eE(r,e);var t=tE(r);function r(n){YS(this,r);var o;return o=t.call(this,n),vn.call(go(o),n),o}return r}(Pt),hb=function(e){eE(r,e);var t=tE(r);function r(n){YS(this,r);var o;o=t.call(this,n),of(go(o),"dateType",void 0),of(go(o),"showLinkOperation",void 0),of(go(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:Ft.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:mr.controlName,o}return r}(X);of(hb,"Rules",CQ);function nE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AQ(e,t,r){return t&&rE(e.prototype,t),r&&rE(e,r),e}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cf=Reflect.get:cf=function(o,i,u){var c=kQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},cf(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function xQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function NQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:nE(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function kQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}var DQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=FQ();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NQ(this,o)}}var mr=function(e){xQ(r,e);var t=jQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),br(nE(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return AQ(r,[{key:"toDataBindModel",value:function(o){var i=cf(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);br(mr,"controlType","timestamp-column"),br(mr,"controlName","\u65E5\u671F"),br(mr,"controlIcon","timestamp-column"),br(mr,"controlFieldType",m.TIMESTAMP),br(mr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function LQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function VQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:oE(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}var zQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qQ(e){var t=HQ();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var iE=function(e){LQ(r,e);var t=qQ(r);function r(n){MQ(this,r);var o;return o=t.call(this,n),gb(oE(o),"props",void 0),o.props=new hb(n==null?void 0:n.props),o}return r}(le);gb(iE,"controlType","timestamp-column"),gb(iE,"controlFieldType",m.TIMESTAMP);function af(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function cE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:af(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}var WQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lE(e){var t=KQ();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var GQ=function(e){cE(r,e);var t=lE(r);function r(n){return uE(this,r),t.call(this,n)}return r}(Bg),wb=function(e){cE(r,e);var t=lE(r);function r(n){uE(this,r);var o;o=t.call(this,n),ff(af(o),"optionConfig",void 0),ff(af(o),"datasourceBind",void 0),ff(af(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wr.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new ee(n==null?void 0:n.datasourceBind);var c;return o.options=Ot((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]),o}return r}(X);ff(wb,"Rules",GQ);function aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function JQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:aE(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var ZQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eZ(e){var t=YQ();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QQ(this,o)}}var wr=function(e){JQ(r,e);var t=eZ(r);function r(n){XQ(this,r);var o;return o=t.call(this,n),Or(aE(o),"props",void 0),o.props=new wb(n==null?void 0:n.props),o}return r}(ce);Or(wr,"controlType","array-column"),Or(wr,"controlName","\u6570\u7EC4"),Or(wr,"controlIcon","array-column"),Or(wr,"controlFieldType",m.ARRAY),Or(wr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function fE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function nZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function rZ(e,t){return t&&(oZ(t)==="object"||typeof t=="function")?t:fE(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}var oZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uZ(e){var t=iZ();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rZ(this,o)}}var sE=function(e){nZ(r,e);var t=uZ(r);function r(n){tZ(this,r);var o;return o=t.call(this,n),Rb(fE(o),"props",void 0),o.props=new wb(n==null?void 0:n.props),o}return r}(le);Rb(sE,"controlType","array-column"),Rb(sE,"controlFieldType",m.ARRAY);function yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function aZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function fZ(e,t){return t&&(sZ(t)==="object"||typeof t=="function")?t:yE(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}var sZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dZ(e){var t=yZ();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fZ(this,o)}}var dE=function(e){aZ(r,e);var t=dZ(r);function r(n){cZ(this,r);var o;o=t.call(this,n),lZ(yE(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$r.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(X);function vE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pZ(e,t,r){return t&&pE(e.prototype,t),r&&pE(e,r),e}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?pf=Reflect.get:pf=function(o,i,u){var c=bZ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},pf(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(e)}function _Z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function hZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:vE(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function bZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}var gZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OZ(e){var t=mZ();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hZ(this,o)}}var $r=function(e){_Z(r,e);var t=OZ(r);function r(n){vZ(this,r);var o;return o=t.call(this,n),Pr(vE(o),"props",void 0),o.props=new dE(n==null?void 0:n.props),o}return pZ(r,[{key:"toDataBindModel",value:function(o){var i=pf(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ce);Pr($r,"controlType","department-column"),Pr($r,"controlName","\u90E8\u95E8"),Pr($r,"controlIcon","department-column"),Pr($r,"controlFieldType",m.DEPARTMENTS),Pr($r,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function _E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function RZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:_E(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}var $Z=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EZ(e){var t=SZ();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RZ(this,o)}}var hE=function(e){PZ(r,e);var t=EZ(r);function r(n){wZ(this,r);var o;return o=t.call(this,n),Tb(_E(o),"props",void 0),o.props=new dE(n==null?void 0:n.props),o}return r}(le);Tb(hE,"controlType","department-column"),Tb(hE,"controlFieldType",m.DEPARTMENTS);function hf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function TZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:hf(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}var IZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mE(e){var t=CZ();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TZ(this,o)}}var BZ=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o;return o=t.call(this,n),vn.call(hf(o),n),o}return r}(Pt),Ab=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o;o=t.call(this,n),Cb(hf(o),"showLinkOperation",void 0),Cb(hf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);Cb(Ab,"Rules",BZ);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function NZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:OE(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}var kZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function DZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FZ(e){var t=DZ();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NZ(this,o)}}var Er=function(e){xZ(r,e);var t=FZ(r);function r(n){AZ(this,r);var o;return o=t.call(this,n),Sr(OE(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return r}(ce);Sr(Er,"controlType","auto-number-column"),Sr(Er,"controlName","\u81EA\u52A8\u7F16\u53F7"),Sr(Er,"controlIcon","auto-number-column"),Sr(Er,"controlFieldType",m.AUTO_NUMBER),Sr(Er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function LZ(e,t){return t&&(VZ(t)==="object"||typeof t=="function")?t:wE(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}var VZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=zZ();return function(){var n=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var PE=function(e){MZ(r,e);var t=HZ(r);function r(n){jZ(this,r);var o;return o=t.call(this,n),Nb(wE(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return r}(le);Nb(PE,"controlType","auto-number-column"),Nb(PE,"controlFieldType",m.AUTO_NUMBER);function qZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function WZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function KZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:qZ(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}var GZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JZ(e){var t=XZ();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var RE=function(e){WZ(r,e);var t=JZ(r);function r(n){UZ(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ir.controlName,o}return r}(X);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function YZ(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:$E(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}var eY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nY(e){var t=tY();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YZ(this,o)}}var Ir=function(e){ZZ(r,e);var t=nY(r);function r(n){QZ(this,r);var o;return o=t.call(this,n),Tr($E(o),"props",void 0),o.props=new RE(n==null?void 0:n.props),o}return r}(ce);Tr(Ir,"controlType","file-column"),Tr(Ir,"controlName","\u9644\u4EF6"),Tr(Ir,"controlIcon","file-column"),Tr(Ir,"controlFieldType",m.FILE),Tr(Ir,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function oY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function iY(e,t){return t&&(uY(t)==="object"||typeof t=="function")?t:SE(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}var uY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lY(e){var t=cY();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iY(this,o)}}var EE=function(e){oY(r,e);var t=lY(r);function r(n){rY(this,r);var o;return o=t.call(this,n),jb(SE(o),"props",void 0),o.props=new RE(n==null?void 0:n.props),o}return r}(le);jb(EE,"controlType","file-column"),jb(EE,"controlFieldType",m.FILE);function aY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function sY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function yY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:aY(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}var dY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pY(e){var t=vY();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yY(this,o)}}var TE=function(e){sY(r,e);var t=pY(r);function r(n){fY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Br.controlName,o}return r}(X);function IE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function hY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function bY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:IE(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}var gY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OY(e){var t=mY();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bY(this,o)}}var Br=function(e){hY(r,e);var t=OY(r);function r(n){_Y(this,r);var o;return o=t.call(this,n),Cr(IE(o),"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return r}(ce);Cr(Br,"controlType","image-column"),Cr(Br,"controlName","\u56FE\u7247"),Cr(Br,"controlIcon","image-column"),Cr(Br,"controlFieldType",m.IMAGE),Cr(Br,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function PY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function RY(e,t){return t&&($Y(t)==="object"||typeof t=="function")?t:CE(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}var $Y=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EY(e){var t=SY();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RY(this,o)}}var BE=function(e){PY(r,e);var t=EY(r);function r(n){wY(this,r);var o;return o=t.call(this,n),zb(CE(o),"props",void 0),o.props=new TE(n==null?void 0:n.props),o}return r}(le);zb(BE,"controlType","image-column"),zb(BE,"controlFieldType",m.IMAGE);function TY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function CY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function BY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:TY(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}var AY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NY(e){var t=xY();return function(){var n=Ef(e),o;if(t){var i=Ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BY(this,o)}}var AE=function(e){CY(r,e);var t=NY(r);function r(n){IY(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xr.controlName,o}return r}(X);function xE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function FY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:xE(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}var jY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LY(e){var t=MY();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FY(this,o)}}var xr=function(e){DY(r,e);var t=LY(r);function r(n){kY(this,r);var o;return o=t.call(this,n),Ar(xE(o),"props",void 0),o.props=new AE(n==null?void 0:n.props),o}return r}(ce);Ar(xr,"controlType","people-column"),Ar(xr,"controlName","\u4EBA\u5458"),Ar(xr,"controlIcon","people-column"),Ar(xr,"controlFieldType",m.EMPLOYEES),Ar(xr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function zY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function HY(e,t){return t&&(qY(t)==="object"||typeof t=="function")?t:NE(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}var qY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function UY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WY(e){var t=UY();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HY(this,o)}}var kE=function(e){zY(r,e);var t=WY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),Wb(NE(o),"props",void 0),o.props=new AE(n==null?void 0:n.props),o}return r}(le);Wb(kE,"controlType","people-column"),Wb(kE,"controlFieldType",m.EMPLOYEES);function Cf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(e)}function FE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function KY(e,t){return t&&(GY(t)==="object"||typeof t=="function")?t:Cf(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}var GY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jE(e){var t=XY();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KY(this,o)}}var JY=function(e){FE(r,e);var t=jE(r);function r(n){DE(this,r);var o;return o=t.call(this,n),vn.call(Cf(o),n),o}return r}(Pt),Jb=function(e){FE(r,e);var t=jE(r);function r(n){DE(this,r);var o;o=t.call(this,n),Gb(Cf(o),"showLinkOperation",void 0),Gb(Cf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption),o}return r}(X);Gb(Jb,"Rules",JY);function ME(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function YY(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:ME(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}var eee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nee(e){var t=tee();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var kr=function(e){ZY(r,e);var t=nee(r);function r(n){QY(this,r);var o;return o=t.call(this,n),Nr(ME(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props),o}return r}(ce);Nr(kr,"controlType","location-column"),Nr(kr,"controlName","\u5730\u5740"),Nr(kr,"controlIcon","location-column"),Nr(kr,"controlFieldType",m.ADDRESS),Nr(kr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function LE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ree(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function oee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function iee(e,t){return t&&(uee(t)==="object"||typeof t=="function")?t:LE(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}var uee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lee(e){var t=cee();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iee(this,o)}}var VE=function(e){oee(r,e);var t=lee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),Zb(LE(o),"props",void 0),o.props=new Jb(n==null?void 0:n.props),o}return r}(le);Zb(VE,"controlType","location-column"),Zb(VE,"controlFieldType",m.ADDRESS);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function see(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function yee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:zE(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}var dee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pee(e){var t=vee();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yee(this,o)}}var HE=function(e){see(r,e);var t=pee(r);function r(n){aee(this,r);var o;o=t.call(this,n),fee(zE(o),"fieldCodeList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Rn.controlName;var u;return o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[],o}return r}(X);function Dr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hee(e,t,r){return t&&qE(e.prototype,t),r&&qE(e,r),e}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mo(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mo=Reflect.get:mo=function(o,i,u){var c=Ree(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u):a.value}},mo(e,t,r||e)}function Pn(e){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pn(e)}function bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function gee(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function mee(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){it(e,o,r[o])})}return e}function Oee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function wee(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Oee(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Pee(e,t){return t&&($ee(t)==="object"||typeof t=="function")?t:Dr(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function Ree(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pn(e),e!==null););return e}var $ee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function See(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eee(e){var t=See();return function(){var n=Pn(e),o;if(t){var i=Pn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pee(this,o)}}var Tee=1,Rn=function(t){bee(n,t);var r=Eee(n);function n(o){_ee(this,n);var i;i=r.call(this,o),it(Dr(i),"excludes",void 0),it(Dr(i),"childrenMaxLength",void 0),it(Dr(i),"props",void 0),it(Dr(i),"children",void 0);var u=gee(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new HE(o==null?void 0:o.props),wt(Dr(i),"children",o==null?void 0:o.children),i.excludes=jt(c),i.childrenMaxLength=a,i}return hee(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=mo(Pn(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}},{key:"toSchema",value:function(){var i=mo(Pn(n.prototype),"toSchema",this).call(this);return wee(mee({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ce);it(Rn,"controlType","custom-column"),it(Rn,"controlName","\u81EA\u5B9A\u4E49"),it(Rn,"controlIcon","custom-column"),it(Rn,"excludes",[]),it(Rn,"childrenMaxLength",Tee),it(Rn,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function Cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Bee(e,t){return t&&(Aee(t)==="object"||typeof t=="function")?t:kf(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}var Aee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nee(e){var t=xee();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bee(this,o)}}var kee=function(e){Cee(r,e);var t=Nee(r);function r(n){Iee(this,r);var o;return o=t.call(this,n),n0(kf(o),"props",void 0),n0(kf(o),"children",void 0),o.props=new HE(n==null?void 0:n.props),wt(kf(o),"children",n==null?void 0:n.children),o}return r}(le);n0(kee,"controlType","custom-column");function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Mee(e,t){return t&&(Lee(t)==="object"||typeof t=="function")?t:UE(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}var Lee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zee(e){var t=Vee();return function(){var n=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mee(this,o)}}var WE=function(e){jee(r,e);var t=zee(r);function r(n){Dee(this,r);var o;o=t.call(this,n),Fee(UE(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:$n.controlName;var u;return o.datasourceBind=new So((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:$n.controlCustomAttributes}),o}return r}(X);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:KE(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}var Kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Gee();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wee(this,o)}}var $n=function(e){Uee(r,e);var t=Xee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),Fr(KE(o),"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return qee(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ce);Fr($n,"controlType","employee-column"),Fr($n,"controlName","\u4EBA\u5458"),Fr($n,"controlIcon","employee-column"),Fr($n,"controlFieldType",m.EMPLOYEES),Fr($n,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function XE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function Zee(e,t){return t&&(Yee(t)==="object"||typeof t=="function")?t:XE(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}var Yee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zee(this,o)}}var JE=function(e){Qee(r,e);var t=tte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),u0(XE(o),"props",void 0),o.props=new WE(n==null?void 0:n.props),o}return r}(le);u0(JE,"controlType","employee-column"),u0(JE,"controlFieldType",m.EMPLOYEES);function Lf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function ote(e,t){return t&&(ite(t)==="object"||typeof t=="function")?t:Lf(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}var ite=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cte(e){var t=ute();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ote(this,o)}}var QE=function(e){rte(r,e);var t=cte(r);function r(n){nte(this,r);var o;o=t.call(this,n),l0(Lf(o),"lineEllipsis",void 0),l0(Lf(o),"showLinkOperation",void 0),l0(Lf(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Mt(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(X);function f0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function fte(e,t){return t&&(ste(t)==="object"||typeof t=="function")?t:f0(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}var ste=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dte(e){var t=yte();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fte(this,o)}}var jr=function(e){ate(r,e);var t=dte(r);function r(n){lte(this,r);var o;return o=t.call(this,n),Sn(f0(o),"props",void 0),Sn(f0(o),"children",void 0),o.props=new QE(n==null?void 0:n.props),o}return r}(ce);Sn(jr,"controlType","approval-status-column"),Sn(jr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),Sn(jr,"controlIcon","approval-status-column"),Sn(jr,"excludes",[]),Sn(jr,"setting",[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function y0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function _te(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:y0(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}var hte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gte(e){var t=bte();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _te(this,o)}}var mte=function(e){pte(r,e);var t=gte(r);function r(n){vte(this,r);var o;return o=t.call(this,n),d0(y0(o),"props",void 0),d0(y0(o),"children",void 0),o.props=new QE(n==null?void 0:n.props),o}return r}(le);d0(mte,"controlType","approval-status-column");function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function YE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p0(e,t)}function Ote(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:ut(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}var wte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eT(e){var t=Pte();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ote(this,o)}}var Rte=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(sn),_0=function(e){YE(r,e);var t=eT(r);function r(n){ZE(this,r);var o;o=t.call(this,n),ct(ut(o),"search",void 0),ct(ut(o),"cancel",void 0),ct(ut(o),"searchType",void 0),ct(ut(o),"labelPosition",void 0),ct(ut(o),"viewType",void 0),ct(ut(o),"isLoading",void 0),ct(ut(o),"custom",void 0),ct(ut(o),"queryTypeMap",void 0),ct(ut(o),"childMinWidth",void 0),ct(ut(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var a;o.search=new Lt((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var l;o.cancel=new Lt((l=n==null?void 0:n.cancel)!==null&&l!==void 0?l:{content:"\u91CD\u7F6E",isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(b){return new Lt(b)});var v;o.queryTypeMap=(v=n==null?void 0:n.queryTypeMap)!==null&&v!==void 0?v:[];var h;o.childMinWidth=(h=n==null?void 0:n.childMinWidth)!==null&&h!==void 0?h:230;var O;return o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24,o}return r}(Qs);ct(_0,"RuntimeRules",Rte);function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Ete(e,t){return t&&(Tte(t)==="object"||typeof t=="function")?t:tT(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}var Tte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ite(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Ite();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ete(this,o)}}var nT=function(e){Ste(r,e);var t=Cte(r);function r(n){$te(this,r);var o;return o=t.call(this,n),h0(tT(o),"props",void 0),o.props=new _0(n==null?void 0:n.props),o}return r}(pN);h0(nT,"controlType","simple-search"),h0(nT,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}]);function g0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function xte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:g0(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}var Nte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dte(e){var t=kte();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var Fte=function(e){Ate(r,e);var t=Dte(r);function r(n){Bte(this,r);var o;o=t.call(this,n),m0(g0(o),"props",void 0),m0(g0(o),"children",void 0),o.props=new _0(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(wN);m0(Fte,"controlType","simple-search");const jte=(e,t)=>{const r=Array.isArray(e),n=r?e:[e];Jte(t==null?void 0:t.events),qte(n),Ute(n);const o=Hte(n),i=Wte(o,t);let u=Bn(Oe(i,c=>zte(c,t)));return r?u:u[0]},Mte=[d.DIVIDER,d.TEXT,d.TITLE,d.LINK,d.BUTTON,"list-btn-export-list","list-btn-export-record"],Lte=["subtable","grid-table"],Vte=["simple-search"];function zte(e,t){var o,i,u,c,a,l;let r=e;if(r.controlType||(r.is_layout_control===!0?r.controlType="layout":Mte.includes(r.type)?r.controlType="base":r.controlType="form",Lte.includes(r.type)&&(r.controlType="list"),Vte.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),me((o=e==null?void 0:e.props)==null?void 0:o.caption)&&(r.props.caption=e.props.caption.zh),me((i=e==null?void 0:e.props)==null?void 0:i.placeholder)&&(r.props.placeholder=e.props.placeholder.zh),me((u=e==null?void 0:e.props)==null?void 0:u.placeholder_end)&&(r.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(r.type="department",e.props.value.length&&(r.props.default_value=e.props.value),r.props.showType=e.props.show_tree?"tree":"default",r.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(r.type="auto-number",r.props.defaultValue=e.props.value),e.type==="file"&&(r.type="attachment",r.props.attachmentAccept=(c=e.attachment_format)==null?void 0:c.split(","),r.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(r.props.attachmentAccept=(a=e.attachment_format)==null?void 0:a.split(",")),e.type==="date-pick"&&(r.type="date-picker"),e.type==="rich-text"&&(me(e.props.value)?r.props.defaultValue=e.props.value.zh:r.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(e.props.value)?r.props.content=e.props.value.zh:r.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(r.props.showState="image"),e.type==="user-search"&&(r.type="employee",r.props.defaultValue=e.props.value),e.type==="address"&&(r.props.addressType=e.props.address_type_value),r.type==="subtable"){const f=r.props.entry_type||r.props.entryType;r.props.openType=f==="subpage"?"modal":"default",((l=r.children[0])==null?void 0:l.type)==="subtable-row"&&r.props.headers&&(r.props.headers=r.props.headers.map((y,v)=>{const h=new oW.Designer;h.props.caption=me(y.field_name)?y.field_name.zh:y.field_name;const O=h.toSchema();O.id=y.header_id;const b=r.children[0].children[v].children[0];return b&&(O.children=[b]),O}),r.children=[])}if(r.type==="subtable-cell"&&(r.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(f=>{f.label=me(f.text)?f.text.zh:f.text,f.id=f.id||f.opt_id||f.optId||f.data_id}),r=e),e.type==="grid-row"){const f=24/r.children.length;r.children=r.children.map(y=>{const v=new c$.Designer;v.props.span=f;const h=v.toSchema();return h.children.push(y),h})}if(e.type==="grid-layout-row"&&(r.type="row"),e.type==="grid-layout-col"&&(r.type="col"),e.type==="group-panel"&&(r.type="card-group",r.props.collapse=r.props.flod==="no"?"none":r.props.flod),e.type==="tabs-pane"&&(r.type="tab-pane"),e.type==="calc"){const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],v={};f&&(rT(r,t),v.result=f.props.data_bind,r.id=f.id,r.props=f.props,r.props.script_src=f.props.script_src,r.props.script_echo=f.props.script_echo,r.props.precision=f.props.precision,r.props.micrometer=f.props.is_show_money,r.props.showUpperCase=f.props.is_show_chn),y&&(v.unit=y.props.data_bind,r.props.default_value={unit:y.props.value}),r.props.dataBind=v,delete r.children}if(e.type==="amount-currency"){r.type="amount",r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1],v={},h={};f&&(rT(r,t),r.id=f.id,v.amount=f.props.data_bind,r.props.range_min=Cn(f.props.range_min),r.props.range_max=Cn(f.props.range_max),h.amount=Cn(f.props.value),r.props.required=f.props.required,r.props.is_hide=f.props.is_hide,r.props.default_state=f.props.default_state,r.props.caption=me(f.props.caption)?f.props.caption.zh:f.props.caption,r.props.is_hide_caption=f.props.is_hide_caption,r.props.showUpperCase=f.props.is_show_chn),y&&(v.currency=y.props.data_bind,h.currency=y.props.value,r.props.datasourceBind=y.props.datasource_bind,r.props.options=y.props.options.map(O=>({label:O.text,value:O.value}))),r.props.dataBind=v,r.props.defaultValue=h,delete r.children}if(e.type==="date-range"){r.controlType="form";const f=r==null?void 0:r.children[0],y=r==null?void 0:r.children[1];r.props.placeholderStart=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,r.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;const v={};f&&(v.min=f.props.data_bind),y&&(v.max=y.props.data_bind),r.props.dataBind=v,delete r.children}return e.type==="score"&&(r.props.defaultValue=r.props.value*1),["input","textarea"].includes(e.type)&&(r.props.defaultValue=me(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(r.props.range_min=Cn(e.props.range_min),r.props.range_max=Cn(e.props.range_max),r.props.defaultValue=Cn(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"),Qte(r,t==null?void 0:t.control_events),r}function rT(e,t){if(!t)return;const{displayBoList:r=[],behaviors:n=[]}=t,o=e.id,i=e.children[0].id;r.forEach(u=>{u.id===o&&(u.id=i);const c=u.show_controls.findIndex(l=>l===o),a=u.hide_controls.findIndex(l=>l===o);c>-1&&u.show_controls.splice(c,1,i),a>-1&&u.hide_controls.splice(a,1,i)}),n.forEach(u=>{u.ctrl_id===o&&(u.id=i)})}function Hte(e){if(!Array.isArray(e)||!e.find(o=>o.type==="grid"))return e;const n=new TG.Designer().toSchema();return n.children=e,[n]}function qte(e){e.forEach(t=>{t.children&&Xte(t.children)})}function Ute(e){e.forEach(t=>{var n,o;if(!(t&&t.children))return;const r=t.children;for(let i=0;i<r.length;i++){const u=r[i],c=(o=(n=r[i])==null?void 0:n.children)==null?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(i,1,c)}})}function Wte(e,t){var h,O,b,w,_,P,R,$;if(!(Array.isArray(e)&&e.length===1))return e;const r=e[0];if(r.type!=="list-page")return e;const{props:n,children:o}=r,[i,u,c]=o;Kte(i),c.props.is_fixed_header=(h=n==null?void 0:n.source_config)==null?void 0:h.is_fixed_header,Gte(c,u);const a=(b=(O=n==null?void 0:n.source_config)==null?void 0:O.data_code)!=null?b:t==null?void 0:t.dataCode,l=((_=(w=n==null?void 0:n.source_config)==null?void 0:w.svc_code)!=null?_:a)?`${a}_selectMore`:void 0,f=(R=(P=n==null?void 0:n.source_config)==null?void 0:P.orders)!=null?R:[],y=new cG.Designer;y.props.datasourceBind=new ee({dataCode:a,svcCode:l,orders:jB(f)}),y.props.isShowSubList=n.is_show_sublist,y.props.triggerType=n.timing_type,y.props.triggerFieldCode=n.ctrl_field_code,($=n==null?void 0:n.sublist_page)==null||$.sublists.forEach(E=>{E.title=me(E.title)?E.title.zh:E.title}),y.props.sublistPage=n.sublist_page;const v=y.toSchema();return v.children.push(i,c),[v]}function Kte(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var n,o;const r=me(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=(o=(n=t.dateType)==null?void 0:n.replace)==null?void 0:o.call(n,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Gte(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 o,i,u;let n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:me(r.field_name)?r.field_name.zh:r.field_name}};return n.props.caption=me(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=(o=r.check)!=null?o:{},n.props.check.openType="window",n.props.delete=(i=r.delete)!=null?i:{},n.props.delete.openType="window",n.props.edit=(u=r.edit)!=null?u:{},n.props.edit.openType="window",n.props.fixed=!0):(n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column")),r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new ee({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 Xte(e){var r;let t=null;for(let n=0;n<e.length;n++){const o=e[n];if(!!o){if(o.children&&((r=o.children[0])==null?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function Jte(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 Qte(e,t){var n;if(!t||!e.props.events)return;const r=Object.keys(e.props.events);!r.length||(r.forEach(o=>{!e.props.events[o].length||(t[e.id]||(t[e.id]={}),t[e.id][o]||(t[e.id][o]=[]),t[e.id][o].push(...e.props.events[o].map(i=>i.name)))}),(n=t[e.id])!=null&&n.on_blur&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Zte=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>Yte(i)));return r?o:o[0]};function Yte(e,t){return e.type===d.LIST_VIEW&&e.children.find(n=>n.type===d.GRID_TABLE).props.headers.forEach(n=>{!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Qe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))}),e}const ene=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>tne(i)));return r?o:o[0]};function tne(e,t){return[d.BUTTON,d.CREATE_FORM_LIST_BUTTON,d.BATCH_SUBMISSION_LIST_BUTTON,d.SUBMISSION_RECORD_LIST_BUTTON,d.IMPORT_RECORD_LIST_BUTTON,d.EXPORT_RECORD_LIST_BUTTON,d.EXPORT_LIST_BUTTON,d.FORM_SELECT_BUTTON,d.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===d.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===d.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const nne=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>rne(i)));return r?o:o[0]};function rne(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 one=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>une(i)));return r?o:o[0]},ine=[d.ROW,d.TAB,d.SUBTABLE,d.GRID_ROW,d.CARD_GROUP];function une(e,t){return e.type===d.TAB_PANE&&(e.children=e.children.map(r=>{if(ine.includes(r.type))return r;const n=new CU.Designer,o=new c$.Designer;n.children.push(o);const i=n.toSchema();return i.children[0].children.push(r),i})),e}const cne=(e,t)=>{const r=Array.isArray(e);let o=Bn(Oe(r?e:[e],i=>lne(i)));return r?o:o[0]};function lne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type===d.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}const ane=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>fne(i));return r?o:o[0]};function fne(e,t){return e.type===d.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const sne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>yne(i));return r?o:o[0]};function ln(e,t){e.field_code&&(e.field_type=t)}function yne(e,t){var n;const r={[d.TITLE]:m.AUTO_NUMBER,[d.ADDRESS]:m.ADDRESS,[d.ATTACHMENT]:m.FILE,[d.AUTO_NUMBER]:m.AUTO_NUMBER,[d.CHECKBOX]:m.ARRAY,[d.DATE_PICKER]:m.TIMESTAMP,[d.DEPARTMENT]:m.DEPARTMENTS,[d.EMPLOYEE]:m.EMPLOYEES,[d.EMPLOYEE2]:m.EMPLOYEES,[d.IMAGE]:m.IMAGE,[d.INPUT]:m.VARCHAR,[d.NUMBER]:m.DECIMAL,[d.RADIO]:m.VARCHAR,[d.RICH_TEXT]:m.TEXT,[d.SCORE]:m.DECIMAL,[d.SELECT]:m.VARCHAR,[d.SELECT_MULTIPLE]:m.ARRAY,[d.SELECT_RELATION]:m.VARCHAR,[d.TEXTAREA]:m.TEXT,[d.TREE]:m.ARRAY,[d.SEARCH_DATE_RANGE]:m.ARRAY,[d.SEARCH_INPUT]:m.VARCHAR,[d.SEARCH_NUMBER_RANGE]:m.ARRAY};return r.hasOwnProperty(e.type)&&ln(e.props.data_bind,r[e.type]),e.type===d.AMOUNT&&(ln(e.props.data_bind.amount,m.DECIMAL),ln(e.props.data_bind.currency,m.VARCHAR)),e.type===d.CALC&&(ln(e.props.data_bind.result,m.DECIMAL),ln(e.props.data_bind.unit,m.VARCHAR)),e.type===d.DATE_RANGE&&(ln(e.props.data_bind.min,m.TIMESTAMP),ln(e.props.data_bind.max,m.TIMESTAMP)),e.type===d.VUE_FORM_ITEM&&ln(e.props.data_bind,(n=e.field_type)!=null?n:m.ANY),e}const dne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>vne(i));return r?o:o[0]};function vne(e,t){return e.type===d.GRID_TABLE&&e.props.headers.forEach(r=>{r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===d.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}const pne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>_ne(i));return r?o:o[0]};function _ne(e,t){return e.type===d.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(r=>{var n,o;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((o=(n=r.props)==null?void 0:n.data_bind)==null?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}const hne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>bne(i));return r?o:o[0]};function bne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 gne=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>mne(i));return r?o:o[0]};function mne(e,t){return[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 One=(e,t)=>{const r=Array.isArray(e);let o=Oe(r?e:[e],i=>wne(i));return r?o:o[0]};function wne(e,t){return e.type===d.TITLE&&e.props.config.push($t.ShowTitle),e.type===d.GRID_TABLE&&e.props.headers.map(r=>{var n,o,i,u,c,a,l,f,y,v,h,O,b,w,_,P,R,$,E,j,A,W;if(r.type===d.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,((o=r.props)==null?void 0:o.check)!==void 0){const I=new Rd.Designer;Object.defineProperty(I,"id",{value:"listPageCheckBtnId"}),I.props.code="view",I.props.icon="iconliulan1",I.props.command="view",I.props.content=(i=r.props)==null?void 0:i.check.content,I.props.priorityProcess=(u=r.props)==null?void 0:u.check.priority_process,I.props.openType=(c=r.props)==null?void 0:c.check.open_type,I.props.formKey=(a=r.props)==null?void 0:a.check.form_key,(l=r.props)!=null&&l.check.is_show&&r.children.push(I.toSchema()),(f=r.props)==null||delete f.check}if(((y=r.props)==null?void 0:y.edit)!==void 0){const I=new Rd.Designer;Object.defineProperty(I,"id",{value:"listPageEditBtnId"}),I.props.code="edit",I.props.icon="iconbianji1",I.props.command="edit",I.props.content=(v=r.props)==null?void 0:v.edit.content,I.props.priorityProcess=(h=r.props)==null?void 0:h.edit.priority_process,I.props.openType=(O=r.props)==null?void 0:O.edit.open_type,I.props.formKey=(b=r.props)==null?void 0:b.edit.form_key,(w=r.props)!=null&&w.edit.is_show&&r.children.push(I.toSchema()),(_=r.props)==null||delete _.edit}if(((P=r.props)==null?void 0:P.delete)!==void 0){const I=new Rd.Designer;Object.defineProperty(I,"id",{value:"listPageDeleteBtnId"}),I.props.code="delete",I.props.icon="iconlajitong",I.props.command="delete",I.props.content=(R=r.props)==null?void 0:R.delete.content,I.props.priorityProcess=($=r.props)==null?void 0:$.delete.priority_process,I.props.openType=(E=r.props)==null?void 0:E.delete.open_type,I.props.formKey=(j=r.props)==null?void 0:j.delete.form_key,I.props.needConfirm=!0,I.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",(A=r.props)!=null&&A.delete.is_show&&r.children.push(I.toSchema()),(W=r.props)==null||delete W.delete}}}),[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===d.SUBTABLE&&e.props.headers.forEach(r=>{[d.SELECT,d.SELECT_RELATION,d.SELECT_MULTIPLE,d.RADIO,d.CHECKBOX,d.TREE,d.DEPARTMENT2,d.EMPLOYEE2,d.DEPARTMENT,d.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 oT={"v1.0":jte,"v2.0":Zte,"v2.1":ene,"v2.2":nne,"v2.3":one,"v2.4":cne,"v2.5":ane,"v2.6":sne,"v2.7":dne,"v2.8":pne,"v2.9":hne,"v2.10":gne,"v3.0":One,"v3.1":()=>{}};const iT=(e,t)=>{const r=uT(e),n=uT(t),o=r.pop(),i=n.pop(),u=aT(r,n);return u!==0?u:o&&i?aT(o.split("."),i.split(".")):o||i?o?-1:1:0},Kf=(e,t,r)=>{Sne(r);const n=iT(e,t);return fT[r].includes(n)},Pne=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,uT=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Pne);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},cT=e=>e==="*"||e==="x"||e==="X",lT=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Rne=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],$ne=(e,t)=>{if(cT(e)||cT(t))return 0;const[r,n]=Rne(lT(e),lT(t));return r>n?1:r<n?-1:0},aT=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=$ne(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},fT={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},sT=Object.keys(fT),Sne=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(sT.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${sT.join("|")}`)};function w0(e){return e.replace(/^v/,"")}const Mr=Object.keys(oT).map(e=>w0(e)).sort(iT),Oo=Mr[Mr.length-1];class Ene{constructor(t,r=Oo){this.schemaVersion=t,this.toVersion=r,Kf(r,Oo,">")?qr(`Version Builder: The specified ${r} is an undefined version, and the current latest version is ${Oo}`):(!Mr.includes(w0(r))||!Mr.includes(w0(t)))&&qr(`Version Builder: Please give me a valid version number, The valid version is: ${Mr.join(",")}, But give me a ${t}`)}dataCleaner(t,r){if(Kf(this.toVersion,this.schemaVersion,"="))return t;const n=this.callDataCleanerKeys.reduce((o,i,u,c)=>{var y;const a=(y=c[u+1])!=null?y:this.toVersion;Ro(`Version Builder: current version: ${i}, nextVersion: ${a}`);const l=oT[i];let f=o;if(typeof l=="function"){const v=l(o,r);v&&(f=v)}return f},t);return Ro(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),n}get runDataCleanerKeys(){return Mr.filter(t=>Kf(t,this.schemaVersion,">=")&&Kf(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return Oo}static get version(){return Oo}}Tn.VersionBuilder=Ene,Object.defineProperty(Tn,"__esModule",{value:!0})});
|