@byteluck-fe/model-driven-controls 2.7.0-beta.2 → 2.8.0-alpha.1

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.
Files changed (111) hide show
  1. package/dist/esm/baseControls/Button/designer.js +2 -1
  2. package/dist/esm/baseControls/Button/property.js +4 -1
  3. package/dist/esm/baseControls/ExportListButton/property.js +3 -0
  4. package/dist/esm/baseControls/ImportRecordListButton/designer.js +2 -1
  5. package/dist/esm/baseControls/ImportRecordListButton/property.js +3 -0
  6. package/dist/esm/baseControls/Text/property.js +3 -0
  7. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +140 -0
  8. package/dist/esm/columnControls/ApprovalStatusColumn/index.js +11 -0
  9. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +127 -0
  10. package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +104 -0
  11. package/dist/esm/columnControls/ApprovalStatusColumn/types.js +0 -0
  12. package/dist/esm/columnControls/ArrayColumn/designer.js +8 -1
  13. package/dist/esm/columnControls/ArrayColumn/property.js +10 -8
  14. package/dist/esm/columnControls/AutoNumberColumn/designer.js +5 -1
  15. package/dist/esm/columnControls/CustomColumn/designer.js +4 -0
  16. package/dist/esm/columnControls/CustomColumn/property.js +25 -1
  17. package/dist/esm/columnControls/DecimalColumn/designer.js +8 -4
  18. package/dist/esm/columnControls/DepartmentColumn/designer.js +4 -0
  19. package/dist/esm/columnControls/EmployeeColumn/designer.js +4 -0
  20. package/dist/esm/columnControls/FileColumn/designer.js +4 -0
  21. package/dist/esm/columnControls/ImageColumn/designer.js +4 -0
  22. package/dist/esm/columnControls/LocationColumn/designer.js +5 -1
  23. package/dist/esm/columnControls/OrderColumn/designer.js +4 -0
  24. package/dist/esm/columnControls/PeopleColumn/designer.js +4 -0
  25. package/dist/esm/columnControls/TextColumn/designer.js +8 -0
  26. package/dist/esm/columnControls/TimescopeColumn/designer.js +4 -0
  27. package/dist/esm/columnControls/TimestampColumn/designer.js +4 -0
  28. package/dist/esm/columnControls/VarcharColumn/designer.js +9 -1
  29. package/dist/esm/columnControls/index.js +1 -0
  30. package/dist/esm/formControls/Attachment/property.js +4 -7
  31. package/dist/esm/formControls/DatePicker/designer.js +4 -1
  32. package/dist/esm/formControls/DateRange/designer.js +4 -1
  33. package/dist/esm/formControls/Image/designer.js +2 -9
  34. package/dist/esm/formControls/Image/property.js +2 -30
  35. package/dist/esm/formControls/SearchDateRange/designer.js +4 -1
  36. package/dist/esm/formControls/Select/designer.js +5 -1
  37. package/dist/esm/formControls/Select/property.js +38 -2
  38. package/dist/esm/formControls/SelectMultiple/designer.js +5 -1
  39. package/dist/esm/formControls/SelectMultiple/property.js +38 -2
  40. package/dist/esm/formControls/SelectRelation/designer.js +5 -3
  41. package/dist/esm/formControls/SelectRelation/property.js +19 -1
  42. package/dist/esm/framework.js +2 -2
  43. package/dist/esm/index.js +10 -2
  44. package/dist/esm/layoutControls/ActionBar/designer.js +156 -0
  45. package/dist/esm/layoutControls/ActionBar/index.js +11 -0
  46. package/dist/esm/layoutControls/ActionBar/property.js +111 -0
  47. package/dist/esm/layoutControls/ActionBar/runtime.js +125 -0
  48. package/dist/esm/layoutControls/ActionBar/types.js +0 -0
  49. package/dist/esm/layoutControls/Col/designer.js +1 -0
  50. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +152 -0
  51. package/dist/esm/layoutControls/GridLayoutContainer/index.js +11 -0
  52. package/dist/esm/layoutControls/GridLayoutContainer/property.js +107 -0
  53. package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +124 -0
  54. package/dist/esm/layoutControls/GridLayoutContainer/types.js +0 -0
  55. package/dist/esm/layoutControls/ListView/designer.js +4 -0
  56. package/dist/esm/layoutControls/ListView/property.js +89 -3
  57. package/dist/esm/layoutControls/index.js +2 -0
  58. package/dist/esm/listControls/GridTable/designer.js +4 -0
  59. package/dist/esm/listControls/GridTable/property.js +8 -0
  60. package/dist/esm/listControls/SubTable/designer.js +6 -2
  61. package/dist/esm/listControls/SubTable/property.js +9 -0
  62. package/dist/esm/searchControls/SimpleSearch/designer.js +8 -0
  63. package/dist/esm/searchControls/SimpleSearch/property.js +14 -0
  64. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +27 -0
  65. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +144 -0
  66. package/dist/esm/wrapControls/GridLayoutWrap/index.js +20 -0
  67. package/dist/esm/wrapControls/GridLayoutWrap/property.js +101 -0
  68. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +130 -0
  69. package/dist/esm/wrapControls/index.js +1 -0
  70. package/dist/index.umd.js +1 -1
  71. package/dist/types/baseControls/Button/property.d.ts +2 -1
  72. package/dist/types/baseControls/ExportListButton/property.d.ts +1 -0
  73. package/dist/types/baseControls/ImportRecordListButton/property.d.ts +1 -0
  74. package/dist/types/baseControls/Text/property.d.ts +1 -0
  75. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -0
  76. package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -0
  77. package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +29 -0
  78. package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -0
  79. package/dist/types/columnControls/ApprovalStatusColumn/types.d.ts +0 -0
  80. package/dist/types/columnControls/ArrayColumn/property.d.ts +3 -1
  81. package/dist/types/columnControls/CustomColumn/property.d.ts +8 -1
  82. package/dist/types/columnControls/index.d.ts +1 -0
  83. package/dist/types/formControls/Attachment/property.d.ts +1 -0
  84. package/dist/types/formControls/Image/property.d.ts +0 -2
  85. package/dist/types/formControls/Select/property.d.ts +20 -1
  86. package/dist/types/formControls/SelectMultiple/property.d.ts +20 -1
  87. package/dist/types/formControls/SelectRelation/property.d.ts +8 -1
  88. package/dist/types/index.d.ts +3 -1
  89. package/dist/types/layoutControls/ActionBar/designer.d.ts +13 -0
  90. package/dist/types/layoutControls/ActionBar/index.d.ts +12 -0
  91. package/dist/types/layoutControls/ActionBar/property.d.ts +9 -0
  92. package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -0
  93. package/dist/types/layoutControls/ActionBar/types.d.ts +0 -0
  94. package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -0
  95. package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -0
  96. package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -0
  97. package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -0
  98. package/dist/types/layoutControls/GridLayoutContainer/types.d.ts +0 -0
  99. package/dist/types/layoutControls/ListView/property.d.ts +17 -1
  100. package/dist/types/layoutControls/index.d.ts +2 -0
  101. package/dist/types/listControls/GridTable/property.d.ts +1 -0
  102. package/dist/types/listControls/SubTable/property.d.ts +1 -0
  103. package/dist/types/searchControls/SimpleSearch/property.d.ts +12 -0
  104. package/dist/types/type.d.ts +9 -2
  105. package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -0
  106. package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -0
  107. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -0
  108. package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -0
  109. package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -0
  110. package/dist/types/wrapControls/index.d.ts +1 -0
  111. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var F_=Object.defineProperty,k_=Object.defineProperties;var O_=Object.getOwnPropertyDescriptors;var hs=Object.getOwnPropertySymbols,M_=Object.getPrototypeOf,L_=Object.prototype.hasOwnProperty,N_=Object.prototype.propertyIsEnumerable,$_=Reflect.get;var ys=(y,H,j)=>H in y?F_(y,H,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[H]=j,Ae=(y,H)=>{for(var j in H||(H={}))L_.call(H,j)&&ys(y,j,H[j]);if(hs)for(var j of hs(H))N_.call(H,j)&&ys(y,j,H[j]);return y},Dn=(y,H)=>k_(y,O_(H));var br=(y,H,j)=>$_(M_(y),j,H);var _r=(y,H,j)=>new Promise((lu,xn)=>{var ou=ge=>{try{It(j.next(ge))}catch(St){xn(St)}},cu=ge=>{try{It(j.throw(ge))}catch(St){xn(St)}},It=ge=>ge.done?lu(ge.value):Promise.resolve(ge.value).then(ou,cu);It((j=j.apply(y,H)).next())});(function(y,H){typeof exports=="object"&&typeof module!="undefined"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(y=typeof globalThis!="undefined"?globalThis:y||self,H(y.modelDrivenControls={}))})(this,function(y){"use strict";var H="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ou="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",cu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",St="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ms="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",vs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",gs="\u8BF7\u7ED1\u5B9A\u8868\u5355",bs="\u8BF7\u7ED1\u5B9A\u5217\u8868",_s="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Es="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ws="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ss="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",As="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ts="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Rs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ds="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ps="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ks="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Os="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ms="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ls="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ns="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$s="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Vs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Hs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",js="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Us="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ws="\u8BF7\u9009\u62E9\u7701",Ks="\u8BF7\u9009\u62E9\u5E02",zs="\u8BF7\u9009\u62E9\u533A",Gs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Xs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Qs="\u8BF7\u8F93\u5165\u5217\u5BBD",Js="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Zs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ys="\u8BF7\u9009\u62E9\u63A7\u4EF6",ps="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ed="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",td="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",id="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ud="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ld="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",md="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_d="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ed={isNotNumber:H,isNotString:j,isNotObject:lu,isNotArray:xn,isNotBoolean:ou,runtimeRequired:cu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:St,pleaseEnterPlaceholder:ms,pleaseEnterFieldCode:vs,pleaseEnterForm:gs,pleaseEnterList:bs,pleaseEnterProcess:_s,pleaseEnterLabel:Es,pleaseEnterValue:ws,bizKeyNotBindFiled:Cs,pleaseSelectOneField:Is,pleaseEnterNumberRange:Ss,pleaseEnterAValueGreaterThanMin:As,pleaseEnterAValueLessThanMax:Ts,numberRangeSetError:Bs,stringRangeError:Rs,attachmentMaxSize:Ds,pleaseEnterTotalScoreSetting:xs,theTotalScoreMustNotBeLessThan1:Ps,scoreDefaultValueRange:Fs,attachmentLimitError:ks,PleaseReselectTheOptionalQuantity:Os,TheMaximumLengthIsGreaterThanTheMinimumLength:Ms,TheMinimumLengthIsGreaterThanTheMaximumLength:Ls,PleaseSelectTheCorrectOptionSettings:Ns,optionIdIsRepeat:$s,optionIsRequired:Vs,pleaseEnterDataCode:Hs,pleaseEnterValueFieldCode:qs,pleaseEnterSvcCode:js,pleaseBindAtLeastOneDisplayValue:Us,pleaseSelectProvince:Ws,pleaseSelectCity:Ks,pleaseSelectDistrict:zs,limitRowsCannotBeLessThan0:Gs,TheNumberOfRowsCannotBeLessThanMinRows:Xs,pleaseEnterColumnWidth:Qs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Js,pleaseCompleteAllRulesAndConditions:Zs,pleaseSelectControl:Ys,pleaseSelectAtLeastOneColumn:ps,pleaseSelectFillBackMode:ed,pleaseSelectDashboard:td,rootNodeIsRequired:nd,theViewNameCannotBeEmpty:id,pleaseSelectOcrType:ud,pleaseSelectAtLeastOneFieldToFillIn:ad,pleaseChooseAtLeastOne:rd,pleaseEnterButtonContent:ld,pleaseEnterDataCodeInDataSetting:od,pleaseEnterValueFieldCodeInDataSetting:cd,pleaseEnterSvcCodeInDataSetting:sd,pleaseBindAtLeastOneDisplayValueInDataSetting:dd,rootNodeIsRequiredInDataSetting:fd,pleaseEnterMaxHeight:hd,pleaseEnter:yd,pleaseEnterWatermark:md,pleaseEnterFileName:vd,pleaseUploadAtLeastOnePrintTemplate:gd,pleaseAssignBusiness:bd,pleaseAssignExternal:_d},wd="Please enter a number",Cd="Please enter a string",Id="Please enter an object",Sd="Please enter an array",Ad="Please enter a boolean",Td="{caption} Required",Bd="Please enter the title",Rd="Please enter the bubble prompt",Dd="Please enter the row title",xd="Please enter the prompt text",Pd="Please bind data items",Fd="Please bind the form",kd="Please bind the list",Od="Please bind the process",Md="Please enter the displayed value",Ld="Please enter the stored value",Nd="The document number is not bound to the data item",$d="Please select at least one display field",Vd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Hd="Please enter a value greater than or equal to {min}",qd="Please enter a value less than or equal to {max}",jd="The value range is set incorrectly",Ud="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Wd="The attachment size must be between 0MB and 1000MB",Kd="Please fill in the total score setting",zd="The total score cannot be less than 1",Gd="The default value must be between {min} and {max}",Xd="The number of attachments uploaded must be between {min} and {max}",Qd="Please re-select the optional quantity",Jd="The maximum length of the control must be greater than the minimum length",Zd="The minimum length of the control must be less than the maximum length",Yd="Please select the correct option setting",pd="Option ID cannot be repeated",ef="Please enter at least one option",tf="Please bind the data source",nf="Please bind the stored value",uf="Please bind the service",af="At least one display value must be bound",rf="Please select a province",lf="Please select a city",of="Please select a district",cf="The minimum number of lines to fill in cannot be less than 0",sf="The number of rows cannot be less than {min} rows",df="Please enter the column width",ff="Please set the logical relationship of all rule conditions",hf="Please complete all rules and conditions",yf="please select control",mf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",bf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ef="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",If="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Tf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Bf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Rf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Pf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ff="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",kf={isNotNumber:wd,isNotString:Cd,isNotObject:Id,isNotArray:Sd,isNotBoolean:Ad,runtimeRequired:Td,pleaseEnterCaption:Bd,pleaseEnterCaptionTip:Rd,pleaseEnterRowCaption:Dd,pleaseEnterPlaceholder:xd,pleaseEnterFieldCode:Pd,pleaseEnterForm:Fd,pleaseEnterList:kd,pleaseEnterProcess:Od,pleaseEnterLabel:Md,pleaseEnterValue:Ld,bizKeyNotBindFiled:Nd,pleaseSelectOneField:$d,pleaseEnterNumberRange:Vd,pleaseEnterAValueGreaterThanMin:Hd,pleaseEnterAValueLessThanMax:qd,numberRangeSetError:jd,stringRangeError:Ud,attachmentMaxSize:Wd,pleaseEnterTotalScoreSetting:Kd,theTotalScoreMustNotBeLessThan1:zd,scoreDefaultValueRange:Gd,attachmentLimitError:Xd,PleaseReselectTheOptionalQuantity:Qd,TheMaximumLengthIsGreaterThanTheMinimumLength:Jd,TheMinimumLengthIsGreaterThanTheMaximumLength:Zd,PleaseSelectTheCorrectOptionSettings:Yd,optionIdIsRepeat:pd,optionIsRequired:ef,pleaseEnterDataCode:tf,pleaseEnterValueFieldCode:nf,pleaseEnterSvcCode:uf,pleaseBindAtLeastOneDisplayValue:af,pleaseSelectProvince:rf,pleaseSelectCity:lf,pleaseSelectDistrict:of,limitRowsCannotBeLessThan0:cf,TheNumberOfRowsCannotBeLessThanMinRows:sf,pleaseEnterColumnWidth:df,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ff,pleaseCompleteAllRulesAndConditions:hf,pleaseSelectControl:yf,pleaseSelectDashboard:mf,theViewNameCannotBeEmpty:vf,pleaseSelectOcrType:gf,pleaseSelectAtLeastOneFieldToFillIn:bf,pleaseChooseAtLeastOne:_f,pleaseEnterButtonContent:Ef,pleaseEnterDataCodeInDataSetting:wf,pleaseEnterValueFieldCodeInDataSetting:Cf,pleaseEnterSvcCodeInDataSetting:If,pleaseBindAtLeastOneDisplayValueInDataSetting:Sf,rootNodeIsRequiredInDataSetting:Af,pleaseEnterMaxHeight:Tf,pleaseEnter:Bf,pleaseEnterWatermark:Rf,pleaseEnterFileName:Df,pleaseUploadAtLeastOnePrintTemplate:xf,pleaseAssignBusiness:Pf,pleaseAssignExternal:Ff},Of="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vf="{caption}\u5FC5\u9808",Hf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Zf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",th="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",nh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ih="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ch="\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",sh="\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",dh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",bh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_h="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Eh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ch="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ih="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ah="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Th="please select control",Bh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Rh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Dh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ph="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Oh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Mh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$h="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Wh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Kh={isNotNumber:Of,isNotString:Mf,isNotObject:Lf,isNotArray:Nf,isNotBoolean:$f,runtimeRequired:Vf,pleaseEnterCaption:Hf,pleaseEnterCaptionTip:qf,pleaseEnterRowCaption:jf,pleaseEnterPlaceholder:Uf,pleaseEnterFieldCode:Wf,pleaseEnterForm:Kf,pleaseEnterList:zf,pleaseEnterProcess:Gf,pleaseEnterLabel:Xf,pleaseEnterValue:Qf,bizKeyNotBindFiled:Jf,pleaseSelectOneField:Zf,pleaseEnterNumberRange:Yf,pleaseEnterAValueGreaterThanMin:pf,pleaseEnterAValueLessThanMax:eh,numberRangeSetError:th,stringRangeError:nh,attachmentMaxSize:ih,pleaseEnterTotalScoreSetting:uh,theTotalScoreMustNotBeLessThan1:ah,scoreDefaultValueRange:rh,attachmentLimitError:lh,PleaseReselectTheOptionalQuantity:oh,TheMaximumLengthIsGreaterThanTheMinimumLength:ch,TheMinimumLengthIsGreaterThanTheMaximumLength:sh,PleaseSelectTheCorrectOptionSettings:dh,optionIdIsRepeat:fh,optionIsRequired:hh,pleaseEnterDataCode:yh,pleaseEnterValueFieldCode:mh,pleaseEnterSvcCode:vh,pleaseBindAtLeastOneDisplayValue:gh,pleaseSelectProvince:bh,pleaseSelectCity:_h,pleaseSelectDistrict:Eh,limitRowsCannotBeLessThan0:wh,TheNumberOfRowsCannotBeLessThanMinRows:Ch,pleaseEnterColumnWidth:Ih,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sh,pleaseCompleteAllRulesAndConditions:Ah,pleaseSelectControl:Th,pleaseSelectDashboard:Bh,theViewNameCannotBeEmpty:Rh,pleaseSelectOcrType:Dh,pleaseSelectAtLeastOneFieldToFillIn:xh,pleaseChooseAtLeastOne:Ph,pleaseEnterButtonContent:Fh,pleaseEnterDataCodeInDataSetting:kh,pleaseEnterValueFieldCodeInDataSetting:Oh,pleaseEnterSvcCodeInDataSetting:Mh,pleaseBindAtLeastOneDisplayValueInDataSetting:Lh,rootNodeIsRequiredInDataSetting:Nh,pleaseEnterMaxHeight:$h,pleaseEnter:Vh,pleaseEnterWatermark:Hh,pleaseEnterFileName:qh,pleaseUploadAtLeastOnePrintTemplate:jh,pleaseAssignBusiness:Uh,pleaseAssignExternal:Wh},zh={zhCN:Ed,enUS:kf,jaJP:Kh},Er;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Er||(Er={}));var wr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(wr||(wr={}));var Gh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ot;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ot||(ot={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var ne;ne={},re(ne,g.ARRAY,C.ARRAY_COLUMN),re(ne,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),re(ne,g.DECIMAL,C.DECIMAL_COLUMN),re(ne,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),re(ne,g.FILE,C.FILE_COLUMN),re(ne,g.IMAGE,C.IMAGE_COLUMN),re(ne,g.ADDRESS,C.LOCATION_COLUMN),re(ne,g.EMPLOYEES,C.EMPLOYEE_COLUMN),re(ne,g.TEXT,C.TEXT_COLUMN),re(ne,g.TIMESCOPE,C.TIMESCOPE_COLUMN),re(ne,g.TIMESTAMP,C.TIMESTAMP_COLUMN),re(ne,g.VARCHAR,C.VARCHAR_COLUMN),re(ne,g.RELATION,C.VARCHAR_COLUMN);var Te;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Te||(Te={}));var Cr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Xh=Cr+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Cr:Xh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Qh(t){if(Array.isArray(t))return su(t)}function Jh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return Tr()?Pn=Reflect.construct:Pn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Tt(o,r.prototype),o},Pn.apply(null,arguments)}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function Sr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tt(t,e)}function Zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ph(){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 ey(t,e){return e&&(ty(e)==="object"||typeof e=="function")?e:Jh(t)}function Tt(t,e){return Tt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tt(t,e)}function Ar(t){return Qh(t)||Yh(t)||ny(t)||ph()}function ty(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ny(t,e){if(!!t){if(typeof t=="string")return su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(t,e)}}function du(t){var e=typeof Map=="function"?new Map:void 0;return du=function(i){if(i===null||!Zh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,At(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Tt(u,i)},du(t)}function Tr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Br(t){var e=Tr();return function(){var i=At(t),u;if(e){var a=At(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ey(this,u)}}var fu=console;function hu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=fu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ar(u)))}function Rr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=fu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ar(u)))}function iy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yu=function(t){Sr(n,t);var e=Br(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?iy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(du(Error)),uy=function(t){Sr(n,t);var e=Br(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(yu);function Bt(t){throw new yu(t)}function Dr(t){throw new uy(t)}function ay(t){fu.error(new yu(t))}var ry=Object.prototype.toString;function xr(t,e){return ry.call(t)==="[object "+e+"]"}function ly(t){return xr(t,"String")}function oy(t){return xr(t,"Promise")}var cy=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();oy(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!ly(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function dy(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function fy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){sy(this,t)}return dy(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gh;return new cy({locale:n,messages:zh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();fy(f,"$i18n",f.resetI18n());function hy(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){hu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var yy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},my={exports:{}};(function(t){(function(e){var n=function(m,w,B){if(!o(w)||v(w)||b(w)||E(w)||s(w))return w;var x,F=0,ce=0;if(d(w))for(x=[],ce=w.length;F<ce;F++)x.push(n(m,w[F],B));else{x={};for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(x[m(k,B)]=n(m,w[k],B))}return x},i=function(m,w){w=w||{};var B=w.separator||"_",x=w.split||/(?=[A-Z])/;return m.split(x).join(B)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,B){return B?B.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(m,w){return i(m,w).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},E=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var B=w&&"process"in w?w.process:w;return typeof B!="function"?m:function(x,F){return B(x,m,F)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(r,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(yy)})(my);var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});function mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:mu(i)}return e}}var vy=Fr.default=mu;function Be(t){if(t!==void 0)return typeof t=="object"?vy(t):t}function gy(t){return Object.prototype.toString.call(t)==="[object Object]"}function vu(t){return Array.isArray(t)}function by(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function gu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function _y(t){if(Array.isArray(t))return gu(t)}function kr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Ey(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){kr(a,i,u,r,l,"next",s)}function l(s){kr(a,i,u,r,l,"throw",s)}r(void 0)})}}function wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Cy(t,e,n){return e&&Or(t.prototype,e),n&&Or(t,n),t}function Mr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sy(){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 bu(t){return _y(t)||Iy(t)||Ay(t)||Sy()}function Ay(t,e){if(!!t){if(typeof t=="string")return gu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gu(t,e)}}function Ty(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var By=function(){function t(){wy(this,t),Mr(this,"_events",new Map),Mr(this,"debug",!1)}return Cy(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return Ey(function(){var l,s,o,d,v,b,E,I,_,S,m,w;return Ty(this,function(B){switch(B.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),E=o[Symbol.iterator](),B.label=2;case 2:if(d=(I=E.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),r.debug&&Rr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bu(u))),[4,_.apply(null,bu(u))];case 4:return S=B.sent(),r.debug&&Rr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.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(bu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=B.sent(),ay(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=B.sent(),v=!0,b=w,[3,10];case 9:try{!d&&E.return!=null&&E.return()}finally{if(v)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Ry(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dy(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function xy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Py=[{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"}],Fy=function(){function t(){Ry(this,t)}return Dy(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();xy(Fy,"events",Py);function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Oy(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=[],_u=function(){function t(e){ky(this,t),$e(this,"registeredControlTypes",new Set),$e(this,"controlConfigMap",new Map),$e(this,"_controls",[]),$e(this,"_type",void 0),this._type=e,this._initControls(e)}return Oy(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Bt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(hu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ot.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ot.FORM}},{key:"isListControl",value:function(n){return n.controlType===ot.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ot.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var s=new a(r);return s}else Bt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Bt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(hu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();$e(_u,"staticControls",$r),$e(_u,"staticRegisteredTypes",new Set($r.map(function(t){return t.Designer.controlType}))),$e(_u,"staticRegisteredConfigs",new Map);function O(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function fe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Vr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function My(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:O(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}function Ly(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ny(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function he(t){var e=Ny();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return My(this,u)}}var ye=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},Hr=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},wu=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"width",void 0),h(O(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(Hr),$y=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new wu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new wu(e==null?void 0:e.mobile):new wu({width:130,minWidth:180})},Vy=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},Cu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Hy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Cu),qr=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Iu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new qr(r)}))!==null&&a!==void 0?a:[]},qy=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:g.VARCHAR},jy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"title",void 0),h(O(u),"svcCode",void 0),h(O(u),"isOpenFilter",void 0),h(O(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(Cu),Uy=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Cu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new qy(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new jy(r)}))!==null&&a!==void 0?a:[]},Wy=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Rt=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},jr=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Su(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Su=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Wy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Rt(e==null?void 0:e.rightVariableBo)},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Au=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Ky=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Tu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new jr(l):new Su(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new jr(l):new Su(l)}))!==null&&u!==void 0?u:[],Vr(this,Z)||Vr(this,Ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new Ky(l)}))!==null&&r!==void 0?r:[]}}var Z=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Au(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Tu.call(this,e)},Bu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ve=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},Ur=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Au(r)}))!==null&&a!==void 0?a:[]},kn=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new Ur(l)}))!==null&&r!==void 0?r:[],u}return n}(Z),zy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0),h(O(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new Ur(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(Z),Wr=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"rootNode",void 0),h(O(u),"filterCode",void 0),u.rootNode=new Rt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(kn),Kr=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},Ru=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(O(u),"filters",void 0),h(O(u),"viewFilters",void 0),h(O(u),"orders",void 0),Tu.call(O(u),i),u}return n}(Kr),zr=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"mode",void 0),h(O(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(Kr),Gr=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Gy=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Gy(n)}))!==null&&e!==void 0?e:[]}var Du=function t(){A(this,t)},Xy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"amount",void 0),h(O(u),"currency",void 0),u.amount=new ye(i==null?void 0:i.amount),u.currency=new ye(i==null?void 0:i.currency),u}return n}(Du),Qy=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:On.CNY},Jy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"min",void 0),h(O(u),"max",void 0),u.min=new ye(i==null?void 0:i.min),u.max=new ye(i==null?void 0:i.max),u}return n}(Du),Zy=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Yy=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},py=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"result",void 0),h(O(u),"unit",void 0),u.result=new ye(i==null?void 0:i.result),u.unit=new ye(i==null?void 0:i.unit),u}return n}(Du),em=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},On;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(On||(On={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var xu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(xu||(xu={}));var Re=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},tm=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new qr(r)}))!==null&&a!==void 0?a:[],Tu.call(this,e)},nm=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function im(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Xr()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&xt(o,r.prototype),o},Mn.apply(null,arguments)}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(t)}function um(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}function am(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rm(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:im(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xt(t,e)}function lm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fu(t){var e=typeof Map=="function"?new Map:void 0;return Fu=function(i){if(i===null||!am(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,Dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Fu(t)}function Xr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function om(t){var e=Xr();return function(){var i=Dt(t),u;if(e){var a=Dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rm(this,u)}}var U=function t(e){Pu(this,t),He(this,"isHide",{type:"boolean"})},qe=function(t){um(n,t);var e=om(n);function n(i){return Pu(this,n),e.call(this)}return n}(Fu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Pu(this,t),He(this,"isHide",void 0),He(this,"className",void 0),He(this,"style",void 0),He(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new nm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(G,"Rules",U),He(G,"RuntimeRules",qe);function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ve.apply(this,arguments)}function cm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function Ln(t,e){return Ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ln(t,e)}function sm(){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(t){return!1}}function Nn(t,e,n){return sm()?Nn=Reflect.construct:Nn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ln(o,r.prototype),o},Nn.apply(null,arguments)}function dm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ou(t){var e=typeof Map=="function"?new Map:void 0;return Ou=function(i){if(i===null||!dm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Nn(i,arguments,ku(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ln(u,i)},Ou(t)}var fm=/%[sdj%]/g,Qr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Mu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(fm,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function hm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||hm(e)&&typeof t=="string"&&!t)}function ym(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Jr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function mm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Zr=function(t){cm(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Ou(Error));function vm(t,e,n,i){if(e.first){var u=new Promise(function(v,b){var E=function(S){return i(S),S.length?b(new Zr(S,Mu(S))):v()},I=mm(t);Jr(I,n,E)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],d=new Promise(function(v,b){var E=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new Zr(o,Mu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?Jr(_,n,E):ym(_,n,E)})});return d.catch(function(v){return v}),d}function Yr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function pr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ve(ve({},t[n]),i):t[n]=i}}return t}function el(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||W(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function gm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Lu={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},Pt={integer:function(e){return Pt.number(e)&&parseInt(e,10)===e},float:function(e){return Pt.number(e)&&!Pt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Pt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Lu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Lu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Lu.hex)}};function bm(t,e,n,i,u){if(t.required&&e===void 0){el(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Pt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function _m(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",b=typeof e=="string",E=Array.isArray(e);if(v?d="number":b?d="string":E&&(d="array"),!d)return!1;E&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ct="enum";function Em(t,e,n,i,u){t[ct]=Array.isArray(t[ct])?t[ct]:[],t[ct].indexOf(e)===-1&&i.push(le(u.messages[ct],t.fullField,t[ct].join(", ")))}function wm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:el,whitespace:gm,type:bm,range:_m,enum:Em,pattern:wm};function Cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),W(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Sm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Am(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Tm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),W(e)||T.type(t,e,i,a,u)}n(a)}function Bm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Rm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Pm="enum";function Fm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Pm](t,e,i,a,u)}n(a)}function km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),W(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Om(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Mm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Nu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),W(e,a)||T.type(t,e,i,r,u)}n(r)}function Lm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Ft={string:Cm,method:Im,number:Sm,boolean:Am,regexp:Tm,integer:Bm,float:Rm,array:Dm,object:xm,enum:Fm,pattern:km,date:Om,url:Nu,hex:Nu,email:Nu,required:Mm,any:Lm};function $u(){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 e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Vu=$u();function De(t){this.rules=null,this._messages=Vu,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=pr($u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var S,m=[],w={};function B(x){if(Array.isArray(x)){var F;m=(F=m).concat.apply(F,x)}else m.push(x)}for(S=0;S<_.length;S++)B(_[S]);m.length?w=Mu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Vu&&(o=$u()),pr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,b={},E=r.keys||Object.keys(this.rules);E.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(b[_]=b[_]||[],b[_].push({rule:m,value:v,source:a,field:_}))})});var I={};return vm(b,r,function(_,S){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function B(ce,k){return ve(ve({},k),{},{fullField:m.fullField+"."+ce})}function x(ce){ce===void 0&&(ce=[]);var k=ce;if(Array.isArray(k)||(k=[k]),!r.suppressWarning&&k.length&&De.warning("async-validator:",k),k.length&&m.message!==void 0&&(k=[].concat(m.message)),k=k.map(Yr(m)),r.first&&k.length)return I[m.field]=1,S(k);if(!w)S(k);else{if(m.required&&!_.value)return m.message!==void 0?k=[].concat(m.message).map(Yr(m)):r.error&&(k=[r.error(m,le(r.messages.required,m.field))]),S(k);var se={};if(m.defaultField)for(var Bn in _.value)_.value.hasOwnProperty(Bn)&&(se[Bn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var ru=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=ru.map(B.bind(null,Ie))}var Rn=new De(se);Rn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Rn.validate(_.value,_.rule.options||r,function(Ct){var Se=[];k&&k.length&&Se.push.apply(Se,k),Ct&&Ct.length&&Se.push.apply(Se,Ct),S(Se.length?Se:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,_.value,x,_.source,r):m.validator&&(F=m.validator(m,_.value,x,_.source,r),F===!0?x():F===!1?x(m.message||m.field+" fails"):F instanceof Array?x(F):F instanceof Error&&x(F.message)),F&&F.then&&F.then(function(){return x()},function(ce){return x(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ft.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Ft.required:Ft[this.getType(e)]||!1}},De.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ft[e]=n},De.warning=Qr,De.messages=Vu,De.validators=Ft;var Nm={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 $m(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Nm,e)),n}var Vm=new By;function Hu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Hm(t){if(Array.isArray(t))return t}function qm(t){if(Array.isArray(t))return Hu(t)}function tl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function nl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){tl(a,i,u,r,l,"next",s)}function l(s){tl(a,i,u,r,l,"throw",s)}r(void 0)})}}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Um(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function al(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wm(){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 Km(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){M(t,u,n[u])})}return t}function zm(t){return Hm(t)||al(t)||ll(t)||Wm()}function qu(t){return qm(t)||al(t)||ll(t)||Km()}function ll(t,e){if(!!t){if(typeof t=="string")return Hu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hu(t,e)}}function ol(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var L=function(){function e(n){var i=this;jm(this,e),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",sl),M(this,"removeSetting",cl),this._callControlHooks("preInstance",n);var u=ul(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,b=u.setting;a&&r&&l||Dr("The ".concat(v," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:be(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(ul(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Be(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Be(o),this.customEvents=Be(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Um(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=zm(u),s=l[0],o=l.slice(1);return(r=Vm).emit.apply(r,[s,this].concat(qu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),hy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return nl(function(){var u,a,r;return ol(this,function(l){switch(l.label){case 0:return u=rl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return nl(function(){var r,l,s,o;return ol(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:rl({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=$m(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,b=l.required,E=l.maxLength,I=l.options,_=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),E!==void 0&&(m.maxLength=E),_!==void 0&&(m.encrypted=_),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Be(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,qu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();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",cl),M(L,"updateSettingItem",sl);function cl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function sl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,qu(e.showItems))}}}})}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Xm(t,e,n){return e&&dl(t.prototype,e),n&&dl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Gm(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Qm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Dr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:xu.UNKNOWN}return Xm(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function ju(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=by(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function $n(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function Jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zm(t,e){return e&&(Ym(e)==="object"||typeof e=="function")?e:N(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}function Ym(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function jn(t){var e=pm();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zm(this,u)}}var Y=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(N(u),"dataBind",{}),$(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),$(N(u),"isHideCaption",{type:"boolean"}),$(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),$(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),$(N(u),"required",{type:"boolean"}),$(N(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Jm(i.dataBind,ye))u.dataBind={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(qe),R=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(N(u),"caption",void 0),$(N(u),"isHideCaption",void 0),$(N(u),"isShowCaptionTip",void 0),$(N(u),"captionTip",void 0),$(N(u),"labelPosition",void 0),$(N(u),"dataBind",void 0),$(N(u),"defaultValue",void 0),$(N(u),"placeholder",void 0),$(N(u),"defaultState",void 0),$(N(u),"required",void 0),$(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var E;u.requiredMessage=(E=i==null?void 0:i.requiredMessage)!==null&&E!==void 0?E:"",u.dataBind=new ye(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);$(R,"Rules",Y),$(R,"RuntimeRules",V);var st=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),$(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),$(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),$(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(N(u),i),u}return n}(Y);function Wu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function tv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ku(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:Wu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function iv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function av(t){var e=uv();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nv(this,u)}}var D=function(t){tv(n,t);var e=av(n);function n(i){ev(this,n);var u;return u=e.call(this,i),Un(Wu(u),"controlType","form"),Un(Wu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(L);Un(D,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(D,"controlCustomAttributes",void 0);function Kn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function ov(t,e){return e&&(cv(e)==="object"||typeof e=="function")?e:Kn(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}function cv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function dv(t){var e=sv();return function(){var i=zn(t),u;if(e){var a=zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ov(this,u)}}var P=function(t){lv(n,t);var e=dv(n);function n(i){rv(this,n);var u;return u=e.call(this,i),zu(Kn(u),"controlType","form"),zu(Kn(u),"props",void 0),zu(Kn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(X);function fv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function yv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:fv(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function vv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bv(t){var e=gv();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mv(this,u)}}var q=function(t){yv(n,t);var e=bv(n);function n(i){return hv(this,n),e.call(this,i)}return n}(G);function Qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function _v(t){if(Array.isArray(t))return Qu(t)}function Ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wv(){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 fl(t){return _v(t)||Ev(t)||Cv(t)||wv()}function Cv(t,e){if(!!t){if(typeof t=="string")return Qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(t,e)}}function Iv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function hl(t,e){t.parent=e,Iv(t,"parent")}function Sv(t,e){t.forEach(function(n){hl(n,e)})}var yl=Symbol("targetKey");function ml(t){var e;return(e=t[yl])!==null&&e!==void 0?e:t}function vl(t,e){return Sv(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===yl?i:(s=Reflect).get.apply(s,[i,u].concat(fl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(vu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(fl(l)));return gy(a)&&hl(a,e),d}})}function Ee(t,e,n,i){var u=i!=null?i:t,a=vl(ml(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=vl(ml(l),u)},enumerable:!0})}function Ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Av(t){if(Array.isArray(t))return Ju(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Tv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){gl(a,i,u,r,l,"next",s)}function l(s){gl(a,i,u,r,l,"throw",s)}r(void 0)})}}function Bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Rv(t,e,n){return e&&bl(t.prototype,e),n&&bl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,r){var l=Nv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},dt(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function Dv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function xv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Pv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fv(){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 kv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){xe(t,u,n[u])})}return t}function Ov(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Mv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ov(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:je(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Nv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function _l(t){return Av(t)||Pv(t)||Vv(t)||Fv()}function $v(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vv(t,e){if(!!t){if(typeof t=="string")return Ju(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(t,e)}}function Hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qv(t){var e=Hv();return function(){var i=Pe(t),u;if(e){var a=Pe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lv(this,u)}}function jv(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Uv=1e4,K=function(e){Dv(i,e);var n=qv(i);function i(u){Bv(this,i);var a;a=n.call(this,u),xe(je(a),"controlType","layout"),xe(je(a),"children",void 0),xe(je(a),"excludes",void 0),xe(je(a),"childrenMaxLength",void 0),xe(je(a),"props",void 0);var r=xv(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),Ee(je(a),"children",u==null?void 0:u.children),a.excludes=Be(l),a.childrenMaxLength=s,a}return Rv(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return dt(Pe(i.prototype),"validate",l)};return Tv(function(){return jv(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=dt(Pe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(b){return!!b});return _l(s).concat(_l(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=dt(Pe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Mv(kv({},a),{children:r})}}]),i}(L);xe(K,"excludes",!1),xe(K,"childrenMaxLength",Uv);function kt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Kv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function zv(t,e){return e&&(Gv(e)==="object"||typeof e=="function")?e:kt(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Gv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function Qv(t){var e=Xv();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zv(this,u)}}var Q=function(t){Kv(n,t);var e=Qv(n);function n(i){Wv(this,n);var u;return u=e.call(this,i),Yu(kt(u),"controlType","layout"),Yu(kt(u),"children",void 0),Yu(kt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ee(kt(u),"children",i==null?void 0:i.children),u}return n}(X);function ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Yv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function pv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:ea(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ng(t){var e=tg();return function(){var i=Qn(t),u;if(e){var a=Qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return pv(this,u)}}var Jn=function(t){Yv(n,t);var e=ng(n);function n(i,u){Jv(this,n);var a;return a=e.call(this,u),Zv(ea(a),"headers",void 0),Ee(ea(a),"headers",u==null?void 0:u.headers,i),a}return n}(G);function na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ig(t){if(Array.isArray(t))return na(t)}function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function El(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ug(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){El(a,i,u,r,l,"next",s)}function l(s){El(a,i,u,r,l,"throw",s)}r(void 0)})}}function ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function rg(t,e,n){return e&&wl(t.prototype,e),n&&wl(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(u,a,r){var l=fg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},ft(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function lg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function og(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cg(){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 Cl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function sg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Il(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:Zn(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Sl(t){return ig(t)||og(t)||yg(t)||cg()}function hg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(t,e){if(!!t){if(typeof t=="string")return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(t,e)}}function mg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vg(t){var e=mg();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dg(this,u)}}function gg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ua=function(t){lg(n,t);var e=vg(n);function n(i){ag(this,n);var u;return u=e.call(this,i),Yn(Zn(u),"controlType","list"),Yn(Zn(u),"props",void 0),u.props=new Jn(Zn(u),i==null?void 0:i.props),u}return rg(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return ft(Fe(n.prototype),"validate",r)};return ug(function(){return gg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ft(Fe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Sl(l).concat(Sl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=ft(Fe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Il(Cl({},u),{props:Il(Cl({},this.props),{headers:a})})}}]),n}(L);Yn(ua,"controlFieldType",g.LIST);function ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _g(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Eg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function wg(t,e){return e&&(Cg(e)==="object"||typeof e=="function")?e:ht(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function Cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sg(t){var e=Ig();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return wg(this,u)}}var Tl=function(t){Eg(n,t);var e=Sg(n);function n(i){bg(this,n);var u;return u=e.call(this,i),aa(ht(u),"controlType","list"),aa(ht(u),"children",void 0),aa(ht(u),"props",void 0),u.props=new Jn(ht(u),i==null?void 0:i.props),Ee(ht(u),"children",i==null?void 0:i.children),u}return _g(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function la(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function oa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function Ag(t,e){return e&&(Tg(e)==="object"||typeof e=="function")?e:J(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Tg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sa(t){var e=Bg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ag(this,u)}}var we=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),p(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;u=e.call(this,i),p(J(u),"widthType",void 0),p(J(u),"width",void 0),p(J(u),"caption",void 0),p(J(u),"dataBind",void 0),p(J(u),"autoWidth",void 0),p(J(u),"fixed",void 0),p(J(u),"sort",void 0),p(J(u),"align",void 0),p(J(u),"colSpan",void 0),p(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Hr(i==null?void 0:i.autoWidth),u.dataBind=new ye(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);p(z,"Rules",we);var Bl=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),p(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),p(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(J(u),i),u}return n}(we);function da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function Dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function xg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:da(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function Pg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function kg(t){var e=Fg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xg(this,u)}}var ee=function(t){Dg(n,t);var e=kg(n);function n(i){Rg(this,n);var u;return u=e.call(this,i),Rl(da(u),"controlType","column"),Rl(da(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(L);function ha(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function Lg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:ha(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function Vg(t){var e=$g();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lg(this,u)}}var te=function(t){Mg(n,t);var e=Vg(n);function n(i){Og(this,n);var u;return u=e.call(this,i),Dl(ha(u),"controlType","column"),Dl(ha(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function xl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function jg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:xl(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function Wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zg(t){var e=Kg();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ug(this,u)}}var va=function(t){jg(n,t);var e=zg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),qg(xl(u),"dataBind",void 0),u.dataBind=new ye(i==null?void 0:i.dataBind),u}return n}(q);function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function Xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function Qg(t,e){return e&&(Jg(e)==="object"||typeof e=="function")?e:ga(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function Jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Yg(t){var e=Zg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qg(this,u)}}var pg=function(t){Xg(n,t);var e=Yg(n);function n(i){Gg(this,n);var u;return u=e.call(this,i),Pl(ga(u),"controlType","search"),Pl(ga(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(K);function _a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function t0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function n0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:_a(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return n0(this,u)}}var r0=function(t){t0(n,t);var e=a0(n);function n(i){e0(this,n);var u;return u=e.call(this,i),Fl(_a(u),"controlType","search"),Fl(_a(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(Q);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class wa extends G{constructor(e){var n,i,u,a,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class kl extends L{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}kl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class l0 extends X{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"text"}}var Ol={Designer:kl,Runtime:l0,Property:wa};class Ca extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Ia extends L{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ia.controlEventKeys=["on_click"],Ia.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class o0 extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ml={Designer:Ia,Runtime:o0,Property:Ca};class ie extends G{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ue extends L{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Ll={Designer:ue,Runtime:oe,Property:ie},ke=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(ke||{}),Nl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Nl||{}),$l=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))($l||{});class ri{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sa||{});class li{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Aa=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Aa||{});class Ta{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Rt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Rt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Rt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Vl{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ta(s)))!=null?u:[new Ta],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ba{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ra{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Hl{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ra(e==null?void 0:e.watermark),this.autoRename=new Ra(e==null?void 0:e.autoRename)}}const ql=480;function Ot(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class jl{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class Ul{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Wl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Wl||{}),Da=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Da||{}),oi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(oi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),xa=(t=>(t.ALL="all",t.ADMIN="admin",t))(xa||{});class Pa extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Aa.SOLID}}class Kl extends L{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Kl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class c0 extends X{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var zl={Designer:Kl,Runtime:c0,Property:Pa};class s0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ke.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class ci extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}ci.Rules=s0;class yt extends L{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=g.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class d0 extends X{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"title"}}var Gl={Designer:yt,Runtime:d0,Property:ci};class f0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class si extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Mt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}si.Rules=f0;class Mt extends ue{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.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}];class h0 extends oe{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Xl={Designer:Mt,Runtime:h0,Property:si};class y0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class di extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}di.Rules=y0;class Lt extends ue{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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}];class m0 extends oe{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ql={Designer:Lt,Runtime:m0,Property:di};class Fa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon}}class Nt extends ue{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Nt.controlEventKeys=["on_click"],Nt.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}];class v0 extends oe{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Jl={Designer:Nt,Runtime:v0,Property:Fa};class ka extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:$t.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Ba(r)))!=null?a:[new Ba({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class $t extends ue{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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}];class g0 extends oe{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Zl={Designer:$t,Runtime:g0,Property:ka};class Oa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon}}class Vt extends ue{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Vt.controlEventKeys=["on_click"],Vt.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}];class b0 extends oe{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Yl={Designer:Vt,Runtime:b0,Property:Oa};class _0{constructor(e){this.dataCode=e.dataCode}}class Ma extends ie{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new _0(r)))!=null?a:[]}}class Ht extends ue{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class E0 extends oe{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var pl={Designer:Ht,Runtime:E0,Property:Ma};function fi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class w0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class hi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.formBind=new Hy(e==null?void 0:e.formBind),this.fillBack=new zr(e==null?void 0:e.fillBack)}}hi.Rules=w0;class qt extends ue{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class C0 extends oe{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var eo={Designer:qt,Runtime:C0,Property:hi};class I0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())}}}class yi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.fillBack=new zr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig)}}yi.Rules=I0;class jt extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}jt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],jt.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class S0 extends oe{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var to={Designer:jt,Runtime:S0,Property:yi};class A0 extends U{constructor(e){super(e)}}class T0 extends qe{constructor(e){super(e)}}class Ut extends G{constructor(e){super(e)}}Ut.Rules=A0,Ut.RuntimeRules=T0;class no extends L{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}no.setting=[];class B0 extends X{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var io={Designer:no,Runtime:B0,Property:Ut};class R0 extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mi extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}mi.Rules=R0;class uo extends L{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}uo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class D0 extends X{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ao={Designer:uo,Runtime:D0,Property:mi};class x0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class vi extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new tm(a)))!=null?u:[]}}vi.Rules=x0;class ro extends L{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}ro.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class P0 extends X{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var lo={Designer:ro,Runtime:P0,Property:vi};class F0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}gi.Rules=F0;class mt extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class k0 extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var oo={Designer:mt,Runtime:k0,Property:gi};class O0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:vt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:vt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}bi.Rules=O0;class vt extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class M0 extends oe{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var co={Designer:vt,Runtime:M0,Property:bi};class L0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class _i extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new jl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}_i.Rules=L0;class Wt extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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}];class N0 extends oe{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var so={Designer:Wt,Runtime:N0,Property:_i};class La extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon}}class Kt extends ue{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Kt.controlEventKeys=["on_click"],Kt.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}];class $0 extends oe{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fo={Designer:Kt,Runtime:$0,Property:La};class V0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Ei extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Ei.Rules=V0;class wi extends L{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}wi.controlEventKeys=["on_click"],wi.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class H0 extends X{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ho={Designer:wi,Runtime:H0,Property:Ei};class Na extends G{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class zt extends L{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}zt.controlEventKeys=["on_click"],zt.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class q0 extends X{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var yo={Designer:zt,Runtime:q0,Property:Na},j0=Object.freeze({__proto__:null,Text:Ol,Link:Ml,Button:Ll,Divider:zl,Title:Gl,CreateFormListButton:Xl,BatchSubmissionListButton:Ql,SubmissionRecordListButton:Jl,ExportListButton:Zl,ExportRecordListButton:Yl,ImportRecordListButton:pl,FormSelectButton:eo,ListSelectButton:to,Pagination:io,Dashboard:ao,ListViewSelect:lo,TextOcrButton:oo,InvoiceCheckButton:co,BatchPrintListButton:so,BatchPrintRecordListButton:fo,OperationButton:ho,BatchDeleteButton:yo});class U0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ot(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class W0 extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ot(e.regularRules.expression),message:e.regularRules.errMessage})}}class gt extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Gr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:bt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}gt.Rules=U0,gt.RuntimeRules=W0;class bt extends D{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bt.controlFieldType=g.VARCHAR,bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.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}];class mo extends P{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlType(){return"input"}}mo.controlFieldType=g.VARCHAR;var vo={Designer:bt,Runtime:mo,Property:gt};class K0 extends st{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class z0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Xt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var S;(S=this.multistageFilling)==null||S.push(new ae(_))}))}}Gt.Rules=K0,Gt.RuntimeRules=z0;class Xt extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=g.ARRAY,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class go extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}go.controlFieldType=g.ARRAY;var bo={Designer:Xt,Runtime:go,Property:Gt};class G0 extends st{constructor(e){super(e)}}class Ci extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Qt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var I;(I=this.multistageFilling)==null||I.push(new ae(E))}))}}Ci.Rules=G0;class Qt extends D{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=g.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class _o extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"radio"}}_o.controlFieldType=g.VARCHAR;var Eo={Designer:Qt,Runtime:_o,Property:Ci};class X0 extends Y{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ot(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Q0 extends V{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ot(e.regularRules.expression),message:e.regularRules.errMessage})}}class Jt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Zt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Gr(e==null?void 0:e.regularRules)}}Jt.Rules=X0,Jt.RuntimeRules=Q0;class Zt extends D{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=g.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.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:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class wo extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"number"}}wo.controlFieldType=g.DECIMAL;var Co={Designer:Zt,Runtime:wo,Property:Jt};class $a extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ii.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(E=>new ri(E)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Ii extends D{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ii.controlFieldType=g.TIMESTAMP,Ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Io extends P{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Io.controlFieldType=g.TIMESTAMP;var So={Designer:Ii,Runtime:Io,Property:$a};class J0 extends V{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Si extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dataBind=new Jy(e==null?void 0:e.dataBind),this.defaultValue=new Zy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Ai.controlName,this.limitDateList=(b=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(E=>new ri(E)))!=null?b:[]}}Si.RuntimeRules=J0;class Ai extends D{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ai.controlFieldType=g.TIMESCOPE,Ai.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ao extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ao.controlFieldType=g.TIMESCOPE;var To={Designer:Ai,Runtime:Ao,Property:Si};class Z0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Y0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Yt extends R{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Yt.Rules=Z0,Yt.RuntimeRules=Y0;class pt extends D{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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}];class Bo extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Bo.controlFieldType=g.TEXT;var Ro={Designer:pt,Runtime:Bo,Property:Yt};class p0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class eb extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class en extends R{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:tn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}en.Rules=p0,en.RuntimeRules=eb;class tn extends D{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=g.TEXT,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Do extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Do.controlFieldType=g.TEXT;var xo={Designer:tn,Runtime:Do,Property:en};class tb extends st{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Bi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ae(d))}))}}Ti.Rules=tb;class Bi extends D{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Bi.controlFieldType=g.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Po extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"select"}}Po.controlFieldType=g.VARCHAR;var Fo={Designer:Bi,Runtime:Po,Property:Ti};class nb extends st{constructor(e){super(e)}}class ib extends V{constructor(e){super(e),this[0].type="array"}}class nn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var d;(d=this.multistageFilling)==null||d.push(new ae(o))}))}}nn.Rules=nb,nn.RuntimeRules=ib;class Ri extends D{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ri.controlFieldType=g.ARRAY,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class ko extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ko.controlFieldType=g.ARRAY;var Oo={Designer:Ri,Runtime:ko,Property:nn};class ub extends V{constructor(e){super(e),this[0].type="array"}}class Di extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(v))}))}}Di.RuntimeRules=ub;class xi extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}xi.controlFieldType=g.EMPLOYEES,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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}];class Mo extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"employee"}}Mo.controlFieldType=g.EMPLOYEES;var Lo={Designer:xi,Runtime:Mo,Property:Di};const ab=10485760,rb=104857600,lb=1048576e3;class ob extends Y{constructor(e){super(e),this.maxSize={type:"number",min:0,max:lb,message:f.getMessage("attachmentMaxSize")}}}class cb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class _t extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:rb,this.caption=(s=e==null?void 0:e.caption)!=null?s:Et.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}_t.Rules=ob,_t.RuntimeRules=cb;class Et extends D{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Et.controlEventKeys=["on_change"],Et.controlFieldType=g.FILE,Et.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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}];class Va extends P{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Va.controlFieldType=g.FILE;var No={Designer:Et,Runtime:Va,Property:_t};const $o=class extends Et{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:$o.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ha=$o;Ha.controlFieldType=g.IMAGE,Ha.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class sb extends Va{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class db extends _t{constructor(e){var n,i;super(e),this.isShowWatermark=(n=e==null?void 0:e.isShowWatermark)!=null?n:!1,this.watermarkFx=(i=e==null?void 0:e.watermarkFx)!=null?i:{}}}var Vo={Designer:Ha,Runtime:sb,Property:db};class fb extends st{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class hb extends V{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Dn(Ae({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class un extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Xy(e==null?void 0:e.dataBind),this.datasourceBind=new Z((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Au({value:"name"})]}),this.defaultValue=new Qy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:On.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:an.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}un.Rules=fb,un.RuntimeRules=hb;class an extends D{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=g.MONEY,an.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ho extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"amount"}}Ho.controlFieldType=g.MONEY;var qo={Designer:an,Runtime:Ho,Property:un};class yb extends Y{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class mb extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class rn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Sa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new li(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new li),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ln.controlName}}rn.Rules=yb,rn.RuntimeRules=mb;class ln extends D{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new li);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=g.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jo extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"score"}}jo.controlFieldType=g.DECIMAL;var Uo={Designer:ln,Runtime:jo,Property:rn};class vb extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Pi extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Yy((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Pi.RuntimeRules=vb;class Fi extends D{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Fi.controlFieldType=g.ADDRESS,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Wo extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Wo.controlFieldType=g.ADDRESS;var Ko={Designer:Fi,Runtime:Wo,Property:Pi};class gb extends V{constructor(e){super(e),this[0].type="array"}}class ki extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:on.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var I;(I=this.multistageFilling)==null||I.push(new ae(E))}))}}ki.RuntimeRules=gb;class on extends D{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}on.controlName="\u90E8\u95E8",on.controlFieldType=g.DEPARTMENTS,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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}];class zo extends P{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"department"}}zo.controlFieldType=g.DEPARTMENTS;var Go={Designer:on,Runtime:zo,Property:ki};class qa extends R{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:cn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class cn extends D{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}cn.controlEventKeys=["on_change"],cn.controlFieldType=g.AUTO_NUMBER,cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Xo extends P{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Xo.controlFieldType=g.AUTO_NUMBER;var Qo={Designer:cn,Runtime:Xo,Property:qa};class bb extends Y{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class _b extends V{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class sn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new py(e==null?void 0:e.dataBind),this.defaultValue=new em(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:dn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}sn.Rules=bb,sn.RuntimeRules=_b;class dn extends D{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.CALC,dn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Jo extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Jo.controlFieldType=g.CALC;var Zo={Designer:dn,Runtime:Jo,Property:sn};class Eb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Oi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Mi.controlName}}Oi.RuntimeRules=Eb;class Mi extends D{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Mi.controlFieldType=g.DECIMAL_RANGE,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yo extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Yo.controlFieldType=g.DECIMAL_RANGE;var po={Designer:Mi,Runtime:Yo,Property:Oi};class wb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Li extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Te.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Ni.controlName,this.limitDateList=(E=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(I=>new ri(I)))!=null?E:[]}}Li.RuntimeRules=wb;class Ni extends D{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ni.controlFieldType=g.ARRAY,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ec extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ec.controlFieldType=g.ARRAY;var tc={Designer:Ni,Runtime:ec,Property:Li};class Cb extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class Ib extends V{constructor(e){super(e),this[0].type="any"}}class fn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}fn.Rules=Cb,fn.RuntimeRules=Ib;class hn extends D{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}hn.controlFieldType=g.ANY,hn.controlEventKeys=[],hn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class nc extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}nc.controlFieldType=g.ANY;var ic={Designer:hn,Runtime:nc,Property:fn};class Sb extends st{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class $i extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:yn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}$i.Rules=Sb;class yn extends D{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}yn.controlFieldType=g.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],yn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class uc extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}uc.controlFieldType=g.VARCHAR;var ac={Designer:yn,Runtime:uc,Property:$i};class ja extends gt{constructor(e){super(e)}}class rc extends bt{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}rc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class lc extends P{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"search-input"}}lc.controlFieldType=g.VARCHAR;var oc={Designer:rc,Runtime:lc,Property:ja};class Ab extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],$n.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Tb extends V{constructor(e){super(e),this[0].type="array"}}class mn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,B,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new Wr((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new Wr((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(B=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(F=>new ae(F)))!=null?B:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}mn.Rules=Ab,mn.RuntimeRules=Tb;class Me extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Me.controlEventKeys=["on_change","on_click"],Me.controlFieldType=g.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.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}];class cc extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"tree"}}cc.controlFieldType=g.ARRAY;var sc={Designer:Me,Runtime:cc,Property:mn};class Bb extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,wt.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Rb extends V{constructor(e){super(e),this[0].type="array"}}class vn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:wt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new kn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:wt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Da.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:xa.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Oe.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}vn.Rules=Bb,vn.RuntimeRules=Rb;class wt extends D{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}wt.controlFieldType=g.EMPLOYEES,wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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}];class dc extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}dc.controlFieldType=g.EMPLOYEES;var fc={Designer:wt,Runtime:dc,Property:vn};class Db extends Y{constructor(e){super(e),this.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:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={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(a,r,l){if(i.type==="public"&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Vi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Vl(e==null?void 0:e.signatureConfig)}}Vi.Rules=Db;class gn extends D{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}gn.controlEventKeys=["on_click","on_click_finish"],gn.controlFieldType=g.VARCHAR,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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}];class hc extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}hc.controlFieldType=g.VARCHAR;var yc={Designer:gn,Runtime:hc,Property:Vi};class xb extends Y{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Pb extends V{constructor(e){super(e),this[0].type="array"}}class bn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:ab,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Hl(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}bn.Rules=xb,bn.RuntimeRules=Pb;class _n extends D{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}_n.controlEventKeys=["on_change","on_wps_open"],_n.controlFieldType=g.FILE,_n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.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}];class mc extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"wps"}}mc.controlFieldType=g.FILE;var vc={Designer:_n,Runtime:mc,Property:bn};class Fb extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,We.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class kb extends V{constructor(e){super(e),this[0].type="array"}}class En extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:We.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new kn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Oe.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ae(m))}))}}En.Rules=Fb,En.RuntimeRules=kb;class We extends D{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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}];class gc extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"department2"}}gc.controlFieldType=g.DEPARTMENTS;var bc={Designer:We,Runtime:gc,Property:En};class Ob extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ke.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Mb extends V{constructor(e){super(e),this[0].type="array"}}class wn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,B;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new zy((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Oe.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var F;(F=this.multistageFilling)==null||F.push(new ae(x))}))}}wn.Rules=Ob,wn.RuntimeRules=Mb;class Ke extends D{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=g.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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}];class _c extends P{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}_c.controlFieldType=g.DEPARTMENTS;var Ec={Designer:Ke,Runtime:_c,Property:wn},Lb=Object.freeze({__proto__:null,Input:vo,Checkbox:bo,Radio:Eo,Number:Co,DatePicker:So,DateRange:To,Textarea:Ro,RichText:xo,Select:Fo,SelectMultiple:Oo,Employee:Lo,Image:Vo,Attachment:No,Amount:qo,Score:Uo,Address:Ko,Department:Go,AutoNumber:Qo,Calc:Zo,SearchNumberRange:po,SearchDateRange:tc,VueFormItem:ic,SelectRelation:ac,SearchInput:oc,Tree:sc,Employee2:fc,ElectronicSignature:yc,WPS:vc,Department2:bc,OrganizationSelection:Ec});class wc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}wc.excludes=[C.GRID];class Nb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var Cc={Designer:wc,Runtime:Nb,Property:q};const $b=24;class ze extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:$b,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Cn extends K{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Cn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Cn.childrenMaxLength=1;class Ua extends Q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var Ic={Designer:Cn,Runtime:Ua,Property:ze};class Hi extends q{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class qi extends K{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}qi.excludes=[C.ROW],qi.setting=[{key:"col-setting",visible:!0}];class Sc extends Q{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ac={Designer:qi,Runtime:Sc,Property:Hi};const Vb=4;class ji extends qi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}ji.excludes=[C.GRID_ROW],ji.setting=[],ji.childrenMaxLength=Vb;class Hb extends Sc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class qb extends Hi{constructor(e){super(e)}}var Tc={Designer:ji,Runtime:Hb,Property:qb};class jb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ui extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ui.Rules=jb;class Wa extends K{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Wa.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Wa.excludes=[C.CARD_GROUP];class Ub extends Q{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Bc={Designer:Wa,Runtime:Ub,Property:Ui};class Wb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wi extends q{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new $y(e==null?void 0:e.metaAutoWidth)}}Wi.Rules=Wb;class me extends K{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Rc extends Q{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Rc.controlType="subtable-column";var Dc={Designer:me,Runtime:Rc,Property:Wi};class Ka extends q{constructor(e){super(e)}}class Ge extends K{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Kb extends Q{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var xc={Designer:Ge,Runtime:Kb,Property:Ka};class za extends q{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Te.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends K{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Pc extends Q{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Pc.controlType="gridtable-column";var Fc={Designer:Xe,Runtime:Pc,Property:za};class Ga extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class zb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ki extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Ki.Rules=zb;class In extends K{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}In.excludes=[C.TAB],In.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Gb extends Q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var kc={Designer:In,Runtime:Gb,Property:Ki};class Sn extends K{constructor(e){var n;super(e),this.props=new Ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new In,new In]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[C.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Xb extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Oc={Designer:Sn,Runtime:Xb,Property:Ga};class Mc extends q{constructor(e){super(e)}}class Lc extends K{constructor(e){super(e),this.props=new Mc({}),this.children=(e==null?void 0:e.children)||[new Cn({props:new ze({span:12})}),new Cn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Lc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Qb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ua({props:new ze({span:12})}),new Ua({props:new ze({span:12})})]}}var Nc={Designer:Lc,Runtime:Qb,Property:Mc};class Jb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Zb extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),ju.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class An extends q{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Uy(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(v=e==null?void 0:e.isAllLoaded)!=null?v:!0,this.countType=e==null?void 0:e.countType}}An.Rules=Zb,An.RuntimeRules=Jb;class zi extends K{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}zi.excludes=[C.ROW],zi.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"],zi.setting=[{key:"list-datasource-bind",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}];class Yb extends Q{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var $c={Designer:zi,Runtime:Yb,Property:An};class pb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Gi extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Re((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Re((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Re((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Re((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Re(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}Gi.RuntimeRules=pb;class Vc extends K{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Vc.excludes=[];class e_ extends Q{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Hc={Designer:Vc,Runtime:e_,Property:Gi};class t_ extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class n_ extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class i_ extends q{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var qc={Designer:t_,Runtime:n_,Property:i_};class u_ extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class a_ extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class r_ extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ul(e==null?void 0:e.flexConfig)}}var jc={Designer:u_,Runtime:a_,Property:r_};class l_ extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class o_ extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class c_ extends q{constructor(e){super(e)}}var Uc={Designer:l_,Runtime:o_,Property:c_};class s_ extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class d_ extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class f_ extends q{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Wc={Designer:s_,Runtime:d_,Property:f_},h_=Object.freeze({__proto__:null,Grid:Cc,Col:Ic,Row:Ac,GridRow:Tc,CardGroup:Bc,SubTableColumn:Dc,SubTableRow:xc,GridTableColumn:Fc,Tab:Oc,TabPane:kc,Toolbox:Nc,ListView:$c,DataView:Hc,Page:qc,AdvancedContainer:jc,PositioningContainer:Uc,Position:Wc});class y_ extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class m_ extends qe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Tn extends Jn{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,B,x,F,ce,k,se,Bn,Ie,ru,Rn,Ct,Se,fs;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Xi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:ql,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(E=n==null?void 0:n.maxRows)!=null?E:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new Z(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(B=n==null?void 0:n.canImport)!=null?B:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(k=n==null?void 0:n.isShowCaptionTip)!=null?k:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Bn=n==null?void 0:n.mobileShowType)!=null?Bn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(ru=n==null?void 0:n.dataStorageDoc)!=null?ru:new Vy,this.fixedColumn=(Rn=n==null?void 0:n.fixedColumn)!=null?Rn:[],this.mobileRowCaption=(Ct=n==null?void 0:n.mobileRowCaption)!=null?Ct:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1,this.isPaste=(fs=n==null?void 0:n.isPaste)!=null?fs:!1}}Tn.Rules=y_,Tn.RuntimeRules=m_;class Xi extends ua{constructor(e){var n;super(e),this.props=new Tn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new me,new me,new me])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.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}];class v_ extends Tl{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}}var Kc={Designer:Xi,Runtime:v_,Property:Tn};class Xa extends Jn{constructor(e,n){var i,u,a,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class g_ extends we{constructor(e){super(e),this.caption.required=!1}}class Qi extends z{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Qi.Rules=g_;class Qe extends ee{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Qa extends te{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qa.controlType="order-column",Qa.controlFieldType=g.DECIMAL;var zc={Designer:Qe,Runtime:Qa,Property:Qi};class Ja extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends ee{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===wi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Dn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return _r(this,null,function*(){return yield br(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.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}];class Za extends te{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Za.controlType="operation-column",Za.controlFieldType=g.FILE;var Gc={Designer:Ce,Runtime:Za,Property:Ja};class Ji extends ua{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new Ce])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Dn(Ae({},e),{children:n})}validate(e,n){return _r(this,null,function*(){return yield br(Ji.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ji.setting=[{key:"list-fixed-header",visible:!0}];class b_ extends Tl{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Xc={Designer:Ji,Runtime:b_,Property:Xa},__=Object.freeze({__proto__:null,SubTable:Kc,GridTable:Xc});class E_ extends Bl{constructor(e){super(e),Ue.call(this,e)}}class Zi extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Zi.Rules=E_;class Je extends ee{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=g.VARCHAR,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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}];class Ya extends te{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ya.controlType="varchar-column",Ya.controlFieldType=g.VARCHAR;var Qc={Designer:Je,Runtime:Ya,Property:Zi};class w_ extends we{constructor(e){super(e),Ue.call(this,e)}}class Yi extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}Yi.Rules=w_;class Ze extends ee{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=g.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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}];class pa extends te{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}pa.controlType="text-column",pa.controlFieldType=g.TEXT;var Jc={Designer:Ze,Runtime:pa,Property:Yi};class C_ extends we{constructor(e){super(e),Ue.call(this,e)}}class pi extends z{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}pi.Rules=C_;class Ye extends ee{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=g.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class er extends te{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}er.controlType="decimal-column",er.controlFieldType=g.DECIMAL;var Zc={Designer:Ye,Runtime:er,Property:pi};class I_ extends we{constructor(e){super(e),Ue.call(this,e)}}class eu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}eu.Rules=I_;class pe extends ee{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=g.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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}];class tr extends te{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}tr.controlType="timescope-column",tr.controlFieldType=g.TIMESCOPE;var Yc={Designer:pe,Runtime:tr,Property:eu};class S_ extends we{constructor(e){super(e),Ue.call(this,e)}}class tu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}tu.Rules=S_;class et extends ee{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=g.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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}];class nr extends te{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}nr.controlType="timestamp-column",nr.controlFieldType=g.TIMESTAMP;var pc={Designer:et,Runtime:nr,Property:tu};class A_ extends Bl{constructor(e){super(e)}}class nu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}nu.Rules=A_;class tt extends ee{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=g.ARRAY,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ir extends te{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ir.controlType="array-column",ir.controlFieldType=g.ARRAY;var es={Designer:tt,Runtime:ir,Property:nu};class ur extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends ee{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=g.DEPARTMENTS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ar extends te{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}ar.controlType="department-column",ar.controlFieldType=g.DEPARTMENTS;var ts={Designer:nt,Runtime:ar,Property:ur};class T_ extends we{constructor(e){super(e),Ue.call(this,e)}}class iu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}iu.Rules=T_;class it extends ee{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class rr extends te{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}rr.controlType="auto-number-column",rr.controlFieldType=g.AUTO_NUMBER;var ns={Designer:it,Runtime:rr,Property:iu};class lr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends ee{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=g.FILE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class or extends te{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}or.controlType="file-column",or.controlFieldType=g.FILE;var is={Designer:ut,Runtime:or,Property:lr};class cr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends ee{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=g.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sr extends te{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="image-column",sr.controlFieldType=g.IMAGE;var us={Designer:at,Runtime:sr,Property:cr};class dr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends ee{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=g.EMPLOYEES,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fr extends te{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="people-column",fr.controlFieldType=g.EMPLOYEES;var as={Designer:rt,Runtime:fr,Property:dr};class B_ extends we{constructor(e){super(e),Ue.call(this,e)}}class uu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}uu.Rules=B_;class lt extends ee{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=g.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class hr extends te{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}hr.controlType="location-column",hr.controlFieldType=g.ADDRESS;var rs={Designer:lt,Runtime:hr,Property:uu};class yr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const R_=1;class Le extends ee{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),this.excludes=Be(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Dn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}}Le.controlType="custom-column",Le.controlName="\u81EA\u5B9A\u4E49",Le.controlIcon="custom-column",Le.excludes=[],Le.childrenMaxLength=R_,Le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ls extends te{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}ls.controlType="custom-column";var os={Designer:Le,Runtime:ls,Property:yr};class mr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.datasourceBind=new kn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ne.controlCustomAttributes})}}class Ne extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ne.controlType="employee-column",Ne.controlName="\u4EBA\u5458",Ne.controlIcon="employee-column",Ne.controlFieldType=g.EMPLOYEES,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends te{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="employee-column",vr.controlFieldType=g.EMPLOYEES;var cs={Designer:Ne,Runtime:vr,Property:mr},D_=Object.freeze({__proto__:null,VarcharColumn:Qc,TextColumn:Jc,DecimalColumn:Zc,TimescopeColumn:Yc,TimestampColumn:pc,ArrayColumn:es,DepartmentColumn:ts,AutoNumberColumn:ns,FileColumn:is,ImageColumn:us,PeopleColumn:as,LocationColumn:rs,CustomColumn:os,OrderColumn:zc,OperationColumn:Gc,EmployeeColumn:cs});class x_ extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class au extends va{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Re((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Re((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(d=>new Re(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}au.RuntimeRules=x_;class gr extends pg{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}gr.controlType="simple-search",gr.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class ss extends r0{constructor(e){var n;super(e),this.props=new au(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ss.controlType="simple-search";var ds={Designer:gr,Runtime:ss,Property:au},P_=Object.freeze({__proto__:null,SimpleSearch:ds});y.Address=Ko,y.AdvancedContainer=jc,y.Amount=qo,y.ArrayColumn=es,y.AssignType=Oe,y.Attachment=No,y.AutoNumber=Qo,y.AutoNumberColumn=ns,y.BatchDeleteButton=yo,y.BatchPrintListButton=so,y.BatchPrintRecordListButton=fo,y.BatchSubmissionListButton=Ql,y.Button=Ll,y.Calc=Zo,y.CardGroup=Bc,y.Checkbox=bo,y.Col=Ic,y.CreateFormListButton=Xl,y.CustomColumn=os,y.DATE_CONFIG_TYPE=Nl,y.DATE_LIMIT_TYPE=$l,y.Dashboard=ao,y.DataView=Hc,y.DatePicker=So,y.DateRange=To,y.DecimalColumn=Zc,y.Department=Go,y.Department2=bc,y.DepartmentColumn=ts,y.DepartmentType=oi,y.Divider=zl,y.ElectronicSignature=yc,y.ElectronicSignatureConfig=Vl,y.Employee=Lo,y.Employee2=fc,y.EmployeeColumn=cs,y.EncryptTypeEnum=Wl,y.Explain=li,y.ExportListButton=Zl,y.ExportRecordListButton=Yl,y.ExportTemplate=Ba,y.FileColumn=is,y.FlexStyleConfig=Ul,y.FormSelectButton=eo,y.Grid=Cc,y.GridRow=Tc,y.GridTable=Xc,y.GridTableColumn=Fc,y.Image=Vo,y.ImageColumn=us,y.ImportRecordListButton=pl,y.Input=vo,y.InternalType=xa,y.InvoiceCheckButton=co,y.LINE_STYLE=Aa,y.LimitDate=ri,y.Link=Ml,y.ListSelectButton=to,y.ListView=$c,y.ListViewSelect=lo,y.LocationColumn=rs,y.Number=Co,y.OperationButton=ho,y.OperationColumn=Gc,y.OrderColumn=zc,y.OrganizationSelection=Ec,y.OrganizeType=Da,y.Page=qc,y.Pagination=io,y.PeopleColumn=as,y.Position=Wc,y.PositioningContainer=Uc,y.PrintTemplate=jl,y.Radio=Eo,y.RichText=xo,y.Row=Ac,y.SCORE_TYPE=Sa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ql,y.Score=Uo,y.SearchDateRange=tc,y.SearchInput=oc,y.SearchNumberRange=po,y.Select=Fo,y.SelectMultiple=Oo,y.SelectRelation=ac,y.SimpleSearch=ds,y.SubTable=Kc,y.SubTableColumn=Dc,y.SubTableRow=xc,y.SubmissionRecordListButton=Jl,y.Tab=Oc,y.TabPane=kc,y.Text=Ol,y.TextColumn=Jc,y.TextOcrButton=oo,y.Textarea=Ro,y.TimescopeColumn=Yc,y.TimestampColumn=pc,y.Title=Gl,y.TitleConfigEnum=ke,y.Toolbox=Nc,y.Tree=sc,y.UndersignedPerson=Ta,y.VarcharColumn=Qc,y.VueFormItem=ic,y.WPS=vc,y.WPSSetting=Hl,y.WpsOperationItem=Ra,y.baseControls=j0,y.columnControls=D_,y.formControls=Lb,y.initExpression=Ot,y.layoutControls=h_,y.listControls=__,y.searchControls=P_,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var JC=Object.defineProperty,ZC=Object.defineProperties;var YC=Object.getOwnPropertyDescriptors;var Ns=Object.getOwnPropertySymbols,pC=Object.getPrototypeOf,ew=Object.prototype.hasOwnProperty,tw=Object.prototype.propertyIsEnumerable,nw=Reflect.get;var Vs=(y,j,K)=>j in y?JC(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Te=(y,j)=>{for(var K in j||(j={}))ew.call(j,K)&&Vs(y,K,j[K]);if(Ns)for(var K of Ns(j))tw.call(j,K)&&Vs(y,K,j[K]);return y},kn=(y,j)=>ZC(y,YC(j));var Or=(y,j,K)=>nw(pC(y),K,j);var Mr=(y,j,K)=>new Promise((yu,On)=>{var mu=_e=>{try{Tt(K.next(_e))}catch(Bt){On(Bt)}},vu=_e=>{try{Tt(K.throw(_e))}catch(Bt){On(Bt)}},Tt=_e=>_e.done?yu(_e.value):Promise.resolve(_e.value).then(mu,vu);Tt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",Tt="\u8BF7\u8F93\u5165\u6807\u9898",_e="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Bt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Hs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",js="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",qs="\u8BF7\u7ED1\u5B9A\u8868\u5355",Us="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ws="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ks="\u8BF7\u8F93\u5165\u663E\u793A\u503C",zs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Gs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Xs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Js="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Zs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ys="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ps="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ed="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",td="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",nd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",id="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ud="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ad="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",rd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ld="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",od="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",cd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",sd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",dd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",fd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",hd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",yd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",md="\u8BF7\u9009\u62E9\u7701",vd="\u8BF7\u9009\u62E9\u5E02",gd="\u8BF7\u9009\u62E9\u533A",bd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",_d="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Cd="\u8BF7\u8F93\u5165\u5217\u5BBD",wd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ed="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Id="\u8BF7\u9009\u62E9\u63A7\u4EF6",Sd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ad="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Td="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Bd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Rd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Pd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Dd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$d="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Nd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",jd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ud="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Wd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Kd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",zd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Gd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Qd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Xd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Jd="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Zd={isNotNumber:j,isNotString:K,isNotObject:yu,isNotArray:On,isNotBoolean:mu,runtimeRequired:vu,pleaseEnterCaption:Tt,pleaseEnterCaptionTip:_e,pleaseEnterRowCaption:Bt,pleaseEnterPlaceholder:Hs,pleaseEnterFieldCode:js,pleaseEnterForm:qs,pleaseEnterList:Us,pleaseEnterProcess:Ws,pleaseEnterLabel:Ks,pleaseEnterValue:zs,bizKeyNotBindFiled:Gs,pleaseSelectOneField:Qs,pleaseEnterNumberRange:Xs,pleaseEnterAValueGreaterThanMin:Js,pleaseEnterAValueLessThanMax:Zs,numberRangeSetError:Ys,stringRangeError:ps,attachmentMaxSize:ed,pleaseEnterTotalScoreSetting:td,theTotalScoreMustNotBeLessThan1:nd,scoreDefaultValueRange:id,attachmentLimitError:ud,PleaseReselectTheOptionalQuantity:ad,TheMaximumLengthIsGreaterThanTheMinimumLength:rd,TheMinimumLengthIsGreaterThanTheMaximumLength:ld,PleaseSelectTheCorrectOptionSettings:od,optionIdIsRepeat:cd,optionIsRequired:sd,pleaseEnterDataCode:dd,pleaseEnterValueFieldCode:fd,pleaseEnterSvcCode:hd,pleaseBindAtLeastOneDisplayValue:yd,pleaseSelectProvince:md,pleaseSelectCity:vd,pleaseSelectDistrict:gd,limitRowsCannotBeLessThan0:bd,TheNumberOfRowsCannotBeLessThanMinRows:_d,pleaseEnterColumnWidth:Cd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:wd,pleaseCompleteAllRulesAndConditions:Ed,pleaseSelectControl:Id,pleaseSelectAtLeastOneColumn:Sd,pleaseSelectFillBackMode:Ad,pleaseSelectDashboard:Td,rootNodeIsRequired:Bd,theViewNameCannotBeEmpty:Rd,pleaseSelectOcrType:Pd,pleaseSelectAtLeastOneFieldToFillIn:Dd,pleaseChooseAtLeastOne:xd,pleaseEnterButtonContent:Fd,pleaseEnterDataCodeInDataSetting:kd,pleaseEnterValueFieldCodeInDataSetting:Od,pleaseEnterSvcCodeInDataSetting:Md,pleaseBindAtLeastOneDisplayValueInDataSetting:$d,rootNodeIsRequiredInDataSetting:Ld,pleaseEnterMaxHeight:Nd,pleaseEnter:Vd,pleaseEnterWatermark:Hd,pleaseEnterFileName:jd,pleaseUploadAtLeastOnePrintTemplate:qd,pleaseAssignBusiness:Ud,pleaseAssignExternal:Wd,pleaseEnterAliasCode:Kd,pleaseSelectDataCode:zd,pleaseSelectSvcCode:Gd,pleaseSelectJoinFieldCode:Qd,pleaseSelectMainFieldCode:Xd,pleaseSelectSortFieldCode:Jd},Yd="Please enter a number",pd="Please enter a string",ef="Please enter an object",tf="Please enter an array",nf="Please enter a boolean",uf="{caption} Required",af="Please enter the title",rf="Please enter the bubble prompt",lf="Please enter the row title",of="Please enter the prompt text",cf="Please bind data items",sf="Please bind the form",df="Please bind the list",ff="Please bind the process",hf="Please enter the displayed value",yf="Please enter the stored value",mf="The document number is not bound to the data item",vf="Please select at least one display field",gf="Please enter a value greater than or equal to {min} and less than or equal to {max}",bf="Please enter a value greater than or equal to {min}",_f="Please enter a value less than or equal to {max}",Cf="The value range is set incorrectly",wf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ef="The attachment size must be between 0MB and 1000MB",If="Please fill in the total score setting",Sf="The total score cannot be less than 1",Af="The default value must be between {min} and {max}",Tf="The number of attachments uploaded must be between {min} and {max}",Bf="Please re-select the optional quantity",Rf="The maximum length of the control must be greater than the minimum length",Pf="The minimum length of the control must be less than the maximum length",Df="Please select the correct option setting",xf="Option ID cannot be repeated",Ff="Please enter at least one option",kf="Please bind the data source",Of="Please bind the stored value",Mf="Please bind the service",$f="At least one display value must be bound",Lf="Please select a province",Nf="Please select a city",Vf="Please select a district",Hf="The minimum number of lines to fill in cannot be less than 0",jf="The number of rows cannot be less than {min} rows",qf="Please enter the column width",Uf="Please set the logical relationship of all rule conditions",Wf="Please complete all rules and conditions",Kf="please select control",zf="Please select the dashboard",Gf="View name cannot be empty",Qf="Please select recognition type",Xf="Please select at least one field to fill in",Jf="Please select at least one",Zf="Please enter the button title",Yf="Please bind the business model in the data settings",pf="Please bind storage values in data settings",eh="Please bind the service in the data settings",th="Please bind at least one display value in the data settings",nh="Please select the root node in the data settings",ih="Please enter the maximum height",uh="The input content cannot be empty",ah="Watermark cannot be empty",rh="File name cannot be empty",lh="Please upload at least one printing template!\uFF01",oh="Please select a specific business department",ch="Please select a specified external organization",sh="Please enter a sub table alias",dh="Please select the associated table to set the business model",fh="Please select the association table to set the binding service",hh="Select associated sub table fields",yh="Please select the associated main table field",mh="Please select the sort field",vh={isNotNumber:Yd,isNotString:pd,isNotObject:ef,isNotArray:tf,isNotBoolean:nf,runtimeRequired:uf,pleaseEnterCaption:af,pleaseEnterCaptionTip:rf,pleaseEnterRowCaption:lf,pleaseEnterPlaceholder:of,pleaseEnterFieldCode:cf,pleaseEnterForm:sf,pleaseEnterList:df,pleaseEnterProcess:ff,pleaseEnterLabel:hf,pleaseEnterValue:yf,bizKeyNotBindFiled:mf,pleaseSelectOneField:vf,pleaseEnterNumberRange:gf,pleaseEnterAValueGreaterThanMin:bf,pleaseEnterAValueLessThanMax:_f,numberRangeSetError:Cf,stringRangeError:wf,attachmentMaxSize:Ef,pleaseEnterTotalScoreSetting:If,theTotalScoreMustNotBeLessThan1:Sf,scoreDefaultValueRange:Af,attachmentLimitError:Tf,PleaseReselectTheOptionalQuantity:Bf,TheMaximumLengthIsGreaterThanTheMinimumLength:Rf,TheMinimumLengthIsGreaterThanTheMaximumLength:Pf,PleaseSelectTheCorrectOptionSettings:Df,optionIdIsRepeat:xf,optionIsRequired:Ff,pleaseEnterDataCode:kf,pleaseEnterValueFieldCode:Of,pleaseEnterSvcCode:Mf,pleaseBindAtLeastOneDisplayValue:$f,pleaseSelectProvince:Lf,pleaseSelectCity:Nf,pleaseSelectDistrict:Vf,limitRowsCannotBeLessThan0:Hf,TheNumberOfRowsCannotBeLessThanMinRows:jf,pleaseEnterColumnWidth:qf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Uf,pleaseCompleteAllRulesAndConditions:Wf,pleaseSelectControl:Kf,pleaseSelectDashboard:zf,theViewNameCannotBeEmpty:Gf,pleaseSelectOcrType:Qf,pleaseSelectAtLeastOneFieldToFillIn:Xf,pleaseChooseAtLeastOne:Jf,pleaseEnterButtonContent:Zf,pleaseEnterDataCodeInDataSetting:Yf,pleaseEnterValueFieldCodeInDataSetting:pf,pleaseEnterSvcCodeInDataSetting:eh,pleaseBindAtLeastOneDisplayValueInDataSetting:th,rootNodeIsRequiredInDataSetting:nh,pleaseEnterMaxHeight:ih,pleaseEnter:uh,pleaseEnterWatermark:ah,pleaseEnterFileName:rh,pleaseUploadAtLeastOnePrintTemplate:lh,pleaseAssignBusiness:oh,pleaseAssignExternal:ch,pleaseEnterAliasCode:sh,pleaseSelectDataCode:dh,pleaseSelectSvcCode:fh,pleaseSelectJoinFieldCode:hh,pleaseSelectMainFieldCode:yh,pleaseSelectSortFieldCode:mh},gh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_h="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ch="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eh="{caption}\u5FC5\u9808",Ih="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ah="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ph="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Dh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Oh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$h="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Vh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Uh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zh="\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",Gh="\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",Qh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Jh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Zh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ph="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ey="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ty="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ny="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ay="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ry="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ly="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",cy="please select control",sy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hy="\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",yy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",my="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",gy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",by="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_y="\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",Cy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Iy="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sy="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ay="\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",Ty="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",By="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ry="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\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",xy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Fy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oy={isNotNumber:gh,isNotString:bh,isNotObject:_h,isNotArray:Ch,isNotBoolean:wh,runtimeRequired:Eh,pleaseEnterCaption:Ih,pleaseEnterCaptionTip:Sh,pleaseEnterRowCaption:Ah,pleaseEnterPlaceholder:Th,pleaseEnterFieldCode:Bh,pleaseEnterForm:Rh,pleaseEnterList:Ph,pleaseEnterProcess:Dh,pleaseEnterLabel:xh,pleaseEnterValue:Fh,bizKeyNotBindFiled:kh,pleaseSelectOneField:Oh,pleaseEnterNumberRange:Mh,pleaseEnterAValueGreaterThanMin:$h,pleaseEnterAValueLessThanMax:Lh,numberRangeSetError:Nh,stringRangeError:Vh,attachmentMaxSize:Hh,pleaseEnterTotalScoreSetting:jh,theTotalScoreMustNotBeLessThan1:qh,scoreDefaultValueRange:Uh,attachmentLimitError:Wh,PleaseReselectTheOptionalQuantity:Kh,TheMaximumLengthIsGreaterThanTheMinimumLength:zh,TheMinimumLengthIsGreaterThanTheMaximumLength:Gh,PleaseSelectTheCorrectOptionSettings:Qh,optionIdIsRepeat:Xh,optionIsRequired:Jh,pleaseEnterDataCode:Zh,pleaseEnterValueFieldCode:Yh,pleaseEnterSvcCode:ph,pleaseBindAtLeastOneDisplayValue:ey,pleaseSelectProvince:ty,pleaseSelectCity:ny,pleaseSelectDistrict:iy,limitRowsCannotBeLessThan0:uy,TheNumberOfRowsCannotBeLessThanMinRows:ay,pleaseEnterColumnWidth:ry,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ly,pleaseCompleteAllRulesAndConditions:oy,pleaseSelectControl:cy,pleaseSelectDashboard:sy,theViewNameCannotBeEmpty:dy,pleaseSelectOcrType:fy,pleaseSelectAtLeastOneFieldToFillIn:hy,pleaseChooseAtLeastOne:yy,pleaseEnterButtonContent:my,pleaseEnterDataCodeInDataSetting:vy,pleaseEnterValueFieldCodeInDataSetting:gy,pleaseEnterSvcCodeInDataSetting:by,pleaseBindAtLeastOneDisplayValueInDataSetting:_y,rootNodeIsRequiredInDataSetting:Cy,pleaseEnterMaxHeight:wy,pleaseEnter:Ey,pleaseEnterWatermark:Iy,pleaseEnterFileName:Sy,pleaseUploadAtLeastOnePrintTemplate:Ay,pleaseAssignBusiness:Ty,pleaseAssignExternal:By,pleaseEnterAliasCode:Ry,pleaseSelectDataCode:Py,pleaseSelectSvcCode:Dy,pleaseSelectJoinFieldCode:xy,pleaseSelectMainFieldCode:Fy,pleaseSelectSortFieldCode:ky},My={zhCN:Zd,enUS:vh,jaJP:Oy},$r;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})($r||($r={}));var Lr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Lr||(Lr={}));var $y="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var st;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(st||(st={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap"})(S||(S={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(b||(b={}));var ne;ne={},re(ne,"array","array-column"),re(ne,"auto_number","auto-number-column"),re(ne,"decimal","decimal-column"),re(ne,"department","department-column"),re(ne,"file","file-column"),re(ne,"image","image-column"),re(ne,"location","location-column"),re(ne,"people","employee-column"),re(ne,"text","text-column"),re(ne,"timescope","timescope-column"),re(ne,"timestamp","timestamp-column"),re(ne,"varchar","varchar-column"),re(ne,"relation","varchar-column");var Be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Be||(Be={}));var Nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ly=Nr+"0123456789";function Ce(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Nr:Ly,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function gu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Ny(t){if(Array.isArray(t))return gu(t)}function Vy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return qr()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Pt(o,r.prototype),o},Mn.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function Hr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}function Hy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function jy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qy(){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 Uy(t,e){return e&&(Wy(e)==="object"||typeof e=="function")?e:Vy(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pt(t,e)}function jr(t){return Ny(t)||jy(t)||Ky(t)||qy()}function Wy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ky(t,e){if(!!t){if(typeof t=="string")return gu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gu(t,e)}}function bu(t){var e=typeof Map=="function"?new Map:void 0;return bu=function(i){if(i===null||!Hy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Mn(i,arguments,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Pt(u,i)},bu(t)}function qr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ur(t){var e=qr();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Uy(this,u)}}var _u=console;function Cu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=_u).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(jr(u)))}function Wr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=_u).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(jr(u)))}function zy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wu=function(t){Hr(n,t);var e=Ur(n);function n(i){Vr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?zy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(bu(Error)),Gy=function(t){Hr(n,t);var e=Ur(n);function n(i){Vr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(wu);function Dt(t){throw new wu(t)}function Kr(t){throw new Gy(t)}function Qy(t){_u.error(new wu(t))}var Xy=Object.prototype.toString;function zr(t,e){return Xy.call(t)==="[object "+e+"]"}function Jy(t){return zr(t,"String")}function Zy(t){return zr(t,"Promise")}var Yy=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();Zy(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!Jy(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function py(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function em(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function tm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){py(this,t)}return em(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$y;return new Yy({locale:n,messages:My})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();tm(f,"$i18n",f.resetI18n());function nm(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Cu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var im=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},um={exports:{}};(function(t){(function(e){var n=function(m,w,B){if(!o(w)||v(w)||g(w)||C(w)||s(w))return w;var D,F=0,ce=0;if(d(w))for(D=[],ce=w.length;F<ce;F++)D.push(n(m,w[F],B));else{D={};for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(D[m(k,B)]=n(m,w[k],B))}return D},i=function(m,w){w=w||{};var B=w.separator||"_",D=w.split||/(?=[A-Z])/;return m.split(D).join(B)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,B){return B?B.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(m,w){return i(m,w).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},C=function(m){return l.call(m)=="[object Boolean]"},E=function(m){return m=m-0,m===m},_=function(m,w){var B=w&&"process"in w?w.process:w;return typeof B!="function"?m:function(D,F){return B(D,m,F)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(r,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(im)})(um);var Qr={};Object.defineProperty(Qr,"__esModule",{value:!0});function Eu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Eu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Eu(i)}return e}}var am=Qr.default=Eu;function Re(t){if(t!==void 0)return typeof t=="object"?am(t):t}function rm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Iu(t){return Array.isArray(t)}function lm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function om(t){if(Array.isArray(t))return Su(t)}function Xr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function cm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Xr(a,i,u,r,l,"next",s)}function l(s){Xr(a,i,u,r,l,"throw",s)}r(void 0)})}}function sm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function dm(t,e,n){return e&&Jr(t.prototype,e),n&&Jr(t,n),t}function Zr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hm(){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 Au(t){return om(t)||fm(t)||ym(t)||hm()}function ym(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function mm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var vm=function(){function t(){sm(this,t),Zr(this,"_events",new Map),Zr(this,"debug",!1)}return dm(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return cm(function(){var l,s,o,d,v,g,C,E,_,I,m,w;return mm(this,function(B){switch(B.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,g=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),C=o[Symbol.iterator](),B.label=2;case 2:if(d=(E=C.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),r.debug&&Wr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Au(u))),[4,_.apply(null,Au(u))];case 4:return I=B.sent(),r.debug&&Wr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.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(Au(u),[I])),s.push(I),I===!1?[3,7]:[3,6];case 5:return m=B.sent(),Qy(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=B.sent(),v=!0,g=w,[3,10];case 9:try{!d&&C.return!=null&&C.return()}finally{if(v)throw g}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function bm(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function _m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Cm=[{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"}],wm=function(){function t(){gm(this,t)}return bm(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();_m(wm,"events",Cm);function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Im(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var el=[],Tu=function(){function t(e){Em(this,t),je(this,"registeredControlTypes",new Set),je(this,"controlConfigMap",new Map),je(this,"_controls",[]),je(this,"_type",void 0),this._type=e,this._initControls(e)}return Im(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Dt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Cu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===st.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===st.FORM}},{key:"isListControl",value:function(n){return n.controlType===st.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===st.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var v;return d&&(v=u.createControl(d,i)),v}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var s=i(l);s&&(l=s)}var o=new r(l);return o}else Dt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Dt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(Cu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();je(Tu,"staticControls",el),je(Tu,"staticRegisteredTypes",new Set(el.map(function(t){return t.Designer.controlType}))),je(Tu,"staticRegisteredConfigs",new Map);function O(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function fe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function Sm(t,e){return e&&(Am(e)==="object"||typeof e=="function")?e:O(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}function Am(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function he(t){var e=Tm();return function(){var i=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sm(this,u)}}var me=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},tl=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Ru=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"width",void 0),h(O(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(tl),Bm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ru(e==null?void 0:e.mobile):new Ru({width:130,minWidth:180})},Rm=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},dt=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Pm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(dt),nl=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Pu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new nl(r)}))!==null&&a!==void 0?a:[]},Dm=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},xm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"title",void 0),h(O(u),"svcCode",void 0),h(O(u),"isOpenFilter",void 0),h(O(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(dt),Fm=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new dt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Dm(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new xm(r)}))!==null&&a!==void 0?a:[]},km=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},xt=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},il=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:Ce();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Du(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Du=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ce();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new km(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new xt(e==null?void 0:e.rightVariableBo)},Om=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},xu=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Mm=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Fu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new il(l):new Du(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new il(l):new Du(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new Mm(l)}))!==null&&r!==void 0?r:[]}var p=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new xu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Fu.call(this,e)},ku=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},we=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},ul=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new xu(r)}))!==null&&a!==void 0?a:[]},Ln=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new ul(l)}))!==null&&r!==void 0?r:[],u}return n}(p),$m=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0),h(O(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new ul(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),al=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"rootNode",void 0),h(O(u),"filterCode",void 0),u.rootNode=new xt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Ln),rl=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},ll=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(O(u),"filters",void 0),h(O(u),"viewFilters",void 0),h(O(u),"orders",void 0),Fu.call(O(u),i),u}return n}(rl),ol=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"mode",void 0),h(O(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(rl),cl=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Lm=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Ce(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Lm(n)}))!==null&&e!==void 0?e:[]}var Ou=function t(){A(this,t)},Nm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"amount",void 0),h(O(u),"currency",void 0),u.amount=new me(i==null?void 0:i.amount),u.currency=new me(i==null?void 0:i.currency),u}return n}(Ou),Vm=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Hm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"min",void 0),h(O(u),"max",void 0),u.min=new me(i==null?void 0:i.min),u.max=new me(i==null?void 0:i.max),u}return n}(Ou),jm=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},qm=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Um=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"result",void 0),h(O(u),"unit",void 0),u.result=new me(i==null?void 0:i.result),u.unit=new me(i==null?void 0:i.unit),u}return n}(Ou),Wm=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Mu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Mu||(Mu={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var $u;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})($u||($u={}));var Pe=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Km=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:Ce(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new nl(r)}))!==null&&a!==void 0?a:[],Fu.call(this,e)},zm=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},Gm=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""};function Qm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return sl()?Nn=Reflect.construct:Nn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&kt(o,r.prototype),o},Nn.apply(null,arguments)}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ft(t){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ft(t)}function Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}function Jm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Zm(t,e){return e&&(Ym(e)==="object"||typeof e=="function")?e:Qm(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function Ym(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nu(t){var e=typeof Map=="function"?new Map:void 0;return Nu=function(i){if(i===null||!Jm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Nn(i,arguments,Ft(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Nu(t)}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(t){return!1}}function pm(t){var e=sl();return function(){var i=Ft(t),u;if(e){var a=Ft(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zm(this,u)}}var z=function t(e){Lu(this,t),qe(this,"isHide",{type:"boolean"})},Ue=function(t){Xm(n,t);var e=pm(n);function n(i){return Lu(this,n),e.call(this)}return n}(Nu(Array)),Q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Lu(this,t),qe(this,"isHide",void 0),qe(this,"className",void 0),qe(this,"style",void 0),qe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new zm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};qe(Q,"Rules",z),qe(Q,"RuntimeRules",Ue);function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ve.apply(this,arguments)}function ev(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Vu(t){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(t)}function Vn(t,e){return Vn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vn(t,e)}function tv(){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(t){return!1}}function Hn(t,e,n){return tv()?Hn=Reflect.construct:Hn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Vn(o,r.prototype),o},Hn.apply(null,arguments)}function nv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Hu(t){var e=typeof Map=="function"?new Map:void 0;return Hu=function(i){if(i===null||!nv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Hn(i,arguments,Vu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vn(u,i)},Hu(t)}var iv=/%[sdj%]/g,dl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(dl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ju(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(iv,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function uv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||uv(e)&&typeof t=="string"&&!t)}function av(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function fl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function rv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var hl=function(t){ev(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Hu(Error));function lv(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(I){return i(I),I.length?g(new hl(I,ju(I))):v()},E=rv(t);fl(E,n,C)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],d=new Promise(function(v,g){var C=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?g(new hl(o,ju(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?fl(_,n,C):av(_,n,C)})});return d.catch(function(v){return v}),d}function yl(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function ml(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ve(ve({},t[n]),i):t[n]=i}}return t}function vl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function ov(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var qu={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},Ot={integer:function(e){return Ot.number(e)&&parseInt(e,10)===e},float:function(e){return Ot.number(e)&&!Ot.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Ot.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(qu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(qu.url)},hex:function(e){return typeof e=="string"&&!!e.match(qu.hex)}};function cv(t,e,n,i,u){if(t.required&&e===void 0){vl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Ot[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function sv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?d="number":g?d="string":C&&(d="array"),!d)return!1;C&&(o=e.length),g&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ft="enum";function dv(t,e,n,i,u){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(e)===-1&&i.push(le(u.messages[ft],t.fullField,t[ft].join(", ")))}function fv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:vl,whitespace:ov,type:cv,range:sv,enum:dv,pattern:fv};function hv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),G(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function yv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function mv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function vv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function gv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),G(e)||T.type(t,e,i,a,u)}n(a)}function bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function _v(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Cv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function wv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Ev="enum";function Iv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Ev](t,e,i,a,u)}n(a)}function Sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),G(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Av(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!G(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Tv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Uu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),G(e,a)||T.type(t,e,i,r,u)}n(r)}function Bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Mt={string:hv,method:yv,number:mv,boolean:vv,regexp:gv,integer:bv,float:_v,array:Cv,object:wv,enum:Iv,pattern:Sv,date:Av,url:Uu,hex:Uu,email:Uu,required:Tv,any:Bv};function Wu(){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 e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ku=Wu();function De(t){this.rules=null,this._messages=Ku,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=ml(Wu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var I,m=[],w={};function B(D){if(Array.isArray(D)){var F;m=(F=m).concat.apply(F,D)}else m.push(D)}for(I=0;I<_.length;I++)B(_[I]);m.length?w=ju(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Ku&&(o=Wu()),ml(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,g={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(g[_]=g[_]||[],g[_].push({rule:m,value:v,source:a,field:_}))})});var E={};return lv(g,r,function(_,I){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function B(ce,k){return ve(ve({},k),{},{fullField:m.fullField+"."+ce})}function D(ce){ce===void 0&&(ce=[]);var k=ce;if(Array.isArray(k)||(k=[k]),!r.suppressWarning&&k.length&&De.warning("async-validator:",k),k.length&&m.message!==void 0&&(k=[].concat(m.message)),k=k.map(yl(m)),r.first&&k.length)return E[m.field]=1,I(k);if(!w)I(k);else{if(m.required&&!_.value)return m.message!==void 0?k=[].concat(m.message).map(yl(m)):r.error&&(k=[r.error(m,le(r.messages.required,m.field))]),I(k);var se={};if(m.defaultField)for(var xn in _.value)_.value.hasOwnProperty(xn)&&(se[xn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var Se in se)if(se.hasOwnProperty(Se)){var hu=Array.isArray(se[Se])?se[Se]:[se[Se]];se[Se]=hu.map(B.bind(null,Se))}var Fn=new De(se);Fn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Fn.validate(_.value,_.rule.options||r,function(At){var Ae=[];k&&k.length&&Ae.push.apply(Ae,k),At&&At.length&&Ae.push.apply(Ae,At),I(Ae.length?Ae:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,_.value,D,_.source,r):m.validator&&(F=m.validator(m,_.value,D,_.source,r),F===!0?D():F===!1?D(m.message||m.field+" fails"):F instanceof Array?D(F):F instanceof Error&&D(F.message)),F&&F.then&&F.then(function(){return D()},function(ce){return D(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Mt.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Mt.required:Mt[this.getType(e)]||!1}},De.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Mt[e]=n},De.warning=dl,De.messages=Ku,De.validators=Mt;var Rv={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 Pv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Rv,e)),n}var Dv=new vm;function zu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function xv(t){if(Array.isArray(t))return t}function Fv(t){if(Array.isArray(t))return zu(t)}function gl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function bl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){gl(a,i,u,r,l,"next",s)}function l(s){gl(a,i,u,r,l,"throw",s)}r(void 0)})}}function kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ov(t,e,n){return e&&_l(t.prototype,e),n&&_l(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function wl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Mv(){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 $v(){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 El(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){M(t,u,n[u])})}return t}function Lv(t){return xv(t)||wl(t)||Il(t)||Mv()}function Gu(t){return Fv(t)||wl(t)||Il(t)||$v()}function Il(t,e){if(!!t){if(typeof t=="string")return zu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zu(t,e)}}function Sl(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;kv(this,e),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",Tl),M(this,"removeSetting",Al),this._callControlHooks("preInstance",n);var u=Cl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,g=u.setting;a&&r&&l||Kr("The ".concat(v," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:Ce(10),this.name=a,this.icon=r;var E;this.type=(E=n==null?void 0:n.type)!==null&&E!==void 0?E:l,this.props=new Q(n==null?void 0:n.props,(Cl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Re(g);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:s,this.eventKeys=Re(o),this.customEvents=Re(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Ov(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=Lv(u),s=l[0],o=l.slice(1);return(r=Dv).emit.apply(r,[s,this].concat(Gu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),nm(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return bl(function(){var u,a,r;return Sl(this,function(l){switch(l.label){case 0:return u=El({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return bl(function(){var r,l,s,o;return Sl(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:El({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=Pv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,g=l.required,C=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),I!==void 0&&(m.encryptedMode=I),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Re(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Gu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",Al),M($,"updateSettingItem",Tl);function Al(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,s;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function Tl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Gu(e.showItems))}}}})}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Vv(t,e,n){return e&&Bl(t.prototype,e),n&&Bl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Nv(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Hv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Kr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:Ce(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new Q(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:$u.UNKNOWN}return Vv(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function Qu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=lm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function jv(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function qv(t,e){return e&&(Uv(e)==="object"||typeof e=="function")?e:L(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function Uv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function Kn(t){var e=Wv();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qv(this,u)}}var ee=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;u=e.call(this,i),N(L(u),"dataBind",{}),N(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),N(L(u),"isHideCaption",{type:"boolean"}),N(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),N(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),N(L(u),"required",{type:"boolean"}),N(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(jv(i.dataBind))u.dataBind={type:"object",required:!0,fields:Re(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Re(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ue),R=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;u=e.call(this,i),N(L(u),"caption",void 0),N(L(u),"isHideCaption",void 0),N(L(u),"isShowCaptionTip",void 0),N(L(u),"captionTip",void 0),N(L(u),"labelPosition",void 0),N(L(u),"dataBind",void 0),N(L(u),"defaultValue",void 0),N(L(u),"placeholder",void 0),N(L(u),"defaultState",void 0),N(L(u),"required",void 0),N(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new me(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(Q);N(R,"Rules",ee),N(R,"RuntimeRules",V);var ht=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;return u=e.call(this,i),N(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),N(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),N(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Qu.call(L(u),i),u}return n}(ee);function Ju(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function zv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function Gv(t,e){return e&&(Qv(e)==="object"||typeof e=="function")?e:Ju(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Qv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function Jv(t){var e=Xv();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gv(this,u)}}var P=function(t){zv(n,t);var e=Jv(n);function n(i){Kv(this,n);var u;return u=e.call(this,i),zn(Ju(u),"controlType","form"),zn(Ju(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}($);zn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(P,"controlCustomAttributes",void 0);function Qn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Yv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function pv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:Qn(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ng(t){var e=tg();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return pv(this,u)}}var x=function(t){Yv(n,t);var e=ng(n);function n(i){Zv(this,n);var u;return u=e.call(this,i),Yu(Qn(u),"controlType","form"),Yu(Qn(u),"props",void 0),Yu(Qn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(X);function ig(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ug(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function ag(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function rg(t,e){return e&&(lg(e)==="object"||typeof e=="function")?e:ig(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function lg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function cg(t){var e=og();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rg(this,u)}}var H=function(t){ag(n,t);var e=cg(n);function n(i){return ug(this,n),e.call(this,i)}return n}(Q);function ta(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function sg(t){if(Array.isArray(t))return ta(t)}function dg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Rl(t){return sg(t)||dg(t)||hg(t)||fg()}function hg(t,e){if(!!t){if(typeof t=="string")return ta(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ta(t,e)}}function yg(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Pl(t,e){t.parent=e,yg(t,"parent")}function mg(t,e){t.forEach(function(n){Pl(n,e)})}var Dl=Symbol("targetKey");function xl(t){var e;return(e=t[Dl])!==null&&e!==void 0?e:t}function Fl(t,e){return mg(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===Dl?i:(s=Reflect).get.apply(s,[i,u].concat(Rl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(Iu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Rl(l)));return rm(a)&&Pl(a,e),d}})}function ge(t,e,n,i){var u=i!=null?i:t,a=Fl(xl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Fl(xl(l),u)},enumerable:!0})}function na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function vg(t){if(Array.isArray(t))return na(t)}function We(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function gg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){kl(a,i,u,r,l,"next",s)}function l(s){kl(a,i,u,r,l,"throw",s)}r(void 0)})}}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ol(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _g(t,e,n){return e&&Ol(t.prototype,e),n&&Ol(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=Rg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},yt(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function Cg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function wg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Eg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ig(){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(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){xe(t,u,n[u])})}return t}function Ag(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Tg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ag(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Bg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:We(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function Rg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Ml(t){return vg(t)||Eg(t)||Dg(t)||Ig()}function Pg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dg(t,e){if(!!t){if(typeof t=="string")return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(t,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(t){return!1}}function Fg(t){var e=xg();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bg(this,u)}}function kg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Og=1e4,q=function(e){Cg(i,e);var n=Fg(i);function i(u){bg(this,i);var a;a=n.call(this,u),xe(We(a),"controlType","layout"),xe(We(a),"children",void 0),xe(We(a),"excludes",void 0),xe(We(a),"childrenMaxLength",void 0),xe(We(a),"props",void 0);var r=wg(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ge(We(a),"children",u==null?void 0:u.children),a.excludes=Re(l),a.childrenMaxLength=s,a}return _g(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return yt(Fe(i.prototype),"validate",l)};return gg(function(){return kg(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=yt(Fe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(g){return!!g});return Ml(s).concat(Ml(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=yt(Fe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Tg(Sg({},a),{children:r})}}]),i}($);xe(q,"excludes",!1),xe(q,"childrenMaxLength",Og);function $t(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ua(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function $g(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function Lg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:$t(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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(t){return!1}}function Hg(t){var e=Vg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lg(this,u)}}var U=function(t){$g(n,t);var e=Hg(n);function n(i){Mg(this,n);var u;return u=e.call(this,i),ua($t(u),"controlType","layout"),ua($t(u),"children",void 0),ua($t(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ge($t(u),"children",i==null?void 0:i.children),u}return n}(X);function ke(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function qg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:ke(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function Wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zg(t){var e=Kg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ug(this,u)}}var pn=function(t){qg(n,t);var e=zg(n);function n(i,u){jg(this,n);var a;a=e.call(this,u),Lt(ke(a),"headers",void 0),Lt(ke(a),"footers",void 0),Lt(ke(a),"pageIndex",void 0),Lt(ke(a),"pageSize",void 0),Lt(ke(a),"pageSizeOptions",void 0),ge(ke(a),"headers",u==null?void 0:u.headers,i),ge(ke(a),"footers",u==null?void 0:u.footers,i);var r;a.pageIndex=(r=u==null?void 0:u.pageIndex)!==null&&r!==void 0?r:1;var l;a.pageSize=(l=u==null?void 0:u.pageSize)!==null&&l!==void 0?l:20;var s;return a.pageSizeOptions=(s=u==null?void 0:u.pageSizeOptions)!==null&&s!==void 0?s:[20],a}return n}(Q);function la(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Gg(t){if(Array.isArray(t))return la(t)}function ei(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $l(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Qg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){$l(a,i,u,r,l,"next",s)}function l(s){$l(a,i,u,r,l,"throw",s)}r(void 0)})}}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Jg(t,e,n){return e&&Ll(t.prototype,e),n&&Ll(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?mt=Reflect.get:mt=function(u,a,r){var l=n0(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},mt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function Zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function Yg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pg(){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 Nl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function e0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Vl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):e0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function t0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:ei(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function n0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Hl(t){return Gg(t)||Yg(t)||u0(t)||pg()}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(t,e){if(!!t){if(typeof t=="string")return la(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return la(t,e)}}function a0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function r0(t){var e=a0();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return t0(this,u)}}function l0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ca=function(t){Zg(n,t);var e=r0(n);function n(i){Xg(this,n);var u;return u=e.call(this,i),ti(ei(u),"controlType","list"),ti(ei(u),"props",void 0),u.props=new pn(ei(u),i==null?void 0:i.props),u}return Jg(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return mt(Oe(n.prototype),"validate",r)};return Qg(function(){return l0(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=mt(Oe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Hl(l).concat(Hl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=mt(Oe(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),s=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return Vl(Nl({},r),{props:Vl(Nl({},this.props),{headers:l,footers:s})})}}]),n}($);ti(ca,"controlFieldType",b.LIST);function vt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c0(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function s0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function d0(t,e){return e&&(f0(e)==="object"||typeof e=="function")?e:vt(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function f0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function y0(t){var e=h0();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return d0(this,u)}}var ql=function(t){s0(n,t);var e=y0(n);function n(i){o0(this,n);var u;return u=e.call(this,i),sa(vt(u),"controlType","list"),sa(vt(u),"children",void 0),sa(vt(u),"props",void 0),u.props=new pn(vt(u),i==null?void 0:i.props),ge(vt(u),"children",i==null?void 0:i.children),u}return c0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function ha(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function m0(t,e){return e&&(v0(e)==="object"||typeof e=="function")?e:J(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function v0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function g0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ma(t){var e=g0();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return m0(this,u)}}var be=function(t){ha(n,t);var e=ma(n);function n(i){fa(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){ha(n,t);var e=ma(n);function n(i){fa(this,n);var u;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new tl(i==null?void 0:i.autoWidth),u.dataBind=new me(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(Q);te(W,"Rules",be);var Ul=function(t){ha(n,t);var e=ma(n);function n(i){fa(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),Qu.call(J(u),i),u}return n}(be);function va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function _0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function C0(t,e){return e&&(w0(e)==="object"||typeof e=="function")?e:va(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function w0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function I0(t){var e=E0();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return C0(this,u)}}var Z=function(t){_0(n,t);var e=I0(n);function n(i){b0(this,n);var u;return u=e.call(this,i),Wl(va(u),"controlType","column"),Wl(va(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}($);function ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function A0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function T0(t,e){return e&&(B0(e)==="object"||typeof e=="function")?e:ba(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function B0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function P0(t){var e=R0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return T0(this,u)}}var Y=function(t){A0(n,t);var e=P0(n);function n(i){S0(this,n);var u;return u=e.call(this,i),Kl(ba(u),"controlType","column"),Kl(ba(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(X);function zl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function F0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function k0(t,e){return e&&(O0(e)==="object"||typeof e=="function")?e:zl(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function O0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $0(t){var e=M0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return k0(this,u)}}var wa=function(t){F0(n,t);var e=$0(n);function n(i){D0(this,n);var u;return u=e.call(this,i),x0(zl(u),"dataBind",void 0),u.dataBind=new me(i==null?void 0:i.dataBind),u}return n}(H);function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function N0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function V0(t,e){return e&&(H0(e)==="object"||typeof e=="function")?e:Ea(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function H0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function q0(t){var e=j0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return V0(this,u)}}var U0=function(t){N0(n,t);var e=q0(n);function n(i){L0(this,n);var u;return u=e.call(this,i),Gl(Ea(u),"controlType","search"),Gl(Ea(u),"props",void 0),u.props=new wa(i==null?void 0:i.props),u}return n}(q);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function K0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function z0(t,e){return e&&(G0(e)==="object"||typeof e=="function")?e:Sa(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function G0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Q0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function X0(t){var e=Q0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return z0(this,u)}}var J0=function(t){K0(n,t);var e=X0(n);function n(i){W0(this,n);var u;return u=e.call(this,i),Ql(Sa(u),"controlType","search"),Ql(Sa(u),"props",void 0),u.props=new wa(i==null?void 0:i.props),u}return n}(U);function Z0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function p0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function eb(t,e){return e&&(tb(e)==="object"||typeof e=="function")?e:Z0(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function tb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ib(t){var e=nb();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return eb(this,u)}}var Ba=function(t){p0(n,t);var e=ib(n);function n(i){return Y0(this,n),e.call(this,i)}return n}(H);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ub(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function ab(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pa(t,e)}function rb(t,e){return e&&(lb(e)==="object"||typeof e=="function")?e:Ra(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}function lb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ob(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cb(t){var e=ob();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rb(this,u)}}var sb=function(t){ab(n,t);var e=cb(n);function n(i){ub(this,n);var u;return u=e.call(this,i),Xl(Ra(u),"controlType","wrap"),Xl(Ra(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(q);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function db(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function fb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}function hb(t,e){return e&&(yb(e)==="object"||typeof e=="function")?e:Da(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function yb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vb(t){var e=mb();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hb(this,u)}}var gb=function(t){fb(n,t);var e=vb(n);function n(i){db(this,n);var u;return u=e.call(this,i),Jl(Da(u),"controlType","wrap"),Jl(Da(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(U);function Me(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Fa extends Q{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class Zl extends ${constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Zl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class bb extends X{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"text"}}var Yl={Designer:Zl,Runtime:bb,Property:Fa};class ka extends Q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Oa extends ${constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Oa.controlEventKeys=["on_click"],Oa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class _b extends X{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"link"}}var pl={Designer:Oa,Runtime:_b,Property:ka};class ie extends Q{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new Gm((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click","on_click_finish"],ue.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var eo={Designer:ue,Runtime:oe,Property:ie},$e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))($e||{}),to=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(to||{}),no=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(no||{});class fi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ce(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ma=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ma||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:Ce(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $a=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))($a||{});class La{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new xt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new xt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new xt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class io{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new La(s)))!=null?u:[new La],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Na{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:Ce(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Va{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class uo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Va(e==null?void 0:e.watermark),this.autoRename=new Va(e==null?void 0:e.autoRename)}}const ao=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ro{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class lo{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var oo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(oo||{}),Ha=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ha||{}),yi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(yi||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),ja=(t=>(t.ALL="all",t.ADMIN="admin",t))(ja||{});class qa extends Q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:$a.SOLID}}class co extends ${constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}co.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Cb extends X{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var so={Designer:co,Runtime:Cb,Property:qa};class wb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes($e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class mi extends Q{constructor(e){var n,i,u,a;super(e),this.dataBind=new me(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[$e.ShowSubmitUser,$e.ShowSubmitDept,$e.ShowSubmitTime,$e.ShowCurrentApprovar,$e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:gt==null?void 0:gt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}mi.Rules=wb;class gt extends ${constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}gt.controlFieldType=b.AUTO_NUMBER,gt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Eb extends X{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var fo={Designer:gt,Runtime:Eb,Property:mi};class Ib extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class vi extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Vt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=Ib;class Vt extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.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}];class Sb extends oe{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ho={Designer:Vt,Runtime:Sb,Property:vi};class Ab extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class gi extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}gi.Rules=Ab;class Ht extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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}];class Tb extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var yo={Designer:Ht,Runtime:Tb,Property:gi};class Ua extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon}}class jt extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}jt.controlEventKeys=["on_click"],jt.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}];class Bb extends oe{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var mo={Designer:jt,Runtime:Bb,Property:Ua};class Wa extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:qt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Na(l)))!=null?r:[new Na({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class qt extends ue{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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}];class Rb extends oe{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var vo={Designer:qt,Runtime:Rb,Property:Wa};class Ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon}}class Ut extends ue{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ut.controlEventKeys=["on_click"],Ut.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}];class Pb extends oe{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var go={Designer:Ut,Runtime:Pb,Property:Ka};class Db{constructor(e){this.dataCode=e.dataCode}}class za extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Db(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Wt extends ue{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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}];class xb extends oe{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var bo={Designer:Wt,Runtime:xb,Property:za};function bi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Fb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},bi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},bi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class _i extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new ll(e==null?void 0:e.fillPayload),this.formBind=new Pm(e==null?void 0:e.formBind),this.fillBack=new ol(e==null?void 0:e.fillBack)}}_i.Rules=Fb;class Kt extends ue{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Kt.controlEventKeys=["on_click","on_click_finish"],Kt.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class kb extends oe{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var _o={Designer:Kt,Runtime:kb,Property:_i};class Ob extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},bi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},bi())}}}class Ci extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new ll(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new ol(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig)}}Ci.Rules=Ob;class zt extends ue{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Mb extends oe{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Co={Designer:zt,Runtime:Mb,Property:Ci};class $b extends z{constructor(e){super(e)}}class Lb extends Ue{constructor(e){super(e)}}class Gt extends Q{constructor(e){super(e)}}Gt.Rules=$b,Gt.RuntimeRules=Lb;class wo extends ${constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}wo.setting=[];class Nb extends X{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Eo={Designer:wo,Runtime:Nb,Property:Gt};class Vb extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends Q{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}wi.Rules=Vb;class Io extends ${constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Io.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Hb extends X{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var So={Designer:Io,Runtime:Hb,Property:wi};class jb extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ei extends Q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new Km(a)))!=null?u:[]}}Ei.Rules=jb;class Ao extends ${constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Ao.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class qb extends X{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var To={Designer:Ao,Runtime:qb,Property:Ei};class Ub extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ii extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?v:[]}}Ii.Rules=Ub;class bt extends ue{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Wb extends oe{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Bo={Designer:bt,Runtime:Wb,Property:Ii};class Kb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Si extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:_t.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:_t.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ae(g)))!=null?v:[]}}Si.Rules=Kb;class _t extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class zb extends oe{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ro={Designer:_t,Runtime:zb,Property:Si};class Gb extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ai extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Qt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Qt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new ro(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ai.Rules=Gb;class Qt extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Qt.controlEventKeys=["on_click","on_click_finish"],Qt.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}];class Qb extends oe{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Po={Designer:Qt,Runtime:Qb,Property:Ai};class Ga extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon}}class Xt extends ue{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Xt.controlEventKeys=["on_click"],Xt.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}];class Xb extends oe{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Do={Designer:Xt,Runtime:Xb,Property:Ga};class Jb extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Ti extends Q{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Ti.Rules=Jb;class Bi extends ${constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Bi.controlEventKeys=["on_click"],Bi.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Zb extends X{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var xo={Designer:Bi,Runtime:Zb,Property:Ti};class Qa extends Q{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Jt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Jt extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Jt.controlEventKeys=["on_click"],Jt.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Yb extends X{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Fo={Designer:Jt,Runtime:Yb,Property:Qa},pb=Object.freeze({__proto__:null,Text:Yl,Link:pl,Button:eo,Divider:so,Title:fo,CreateFormListButton:ho,BatchSubmissionListButton:yo,SubmissionRecordListButton:mo,ExportListButton:vo,ExportRecordListButton:go,ImportRecordListButton:bo,FormSelectButton:_o,ListSelectButton:Co,Pagination:Eo,Dashboard:So,ListViewSelect:To,TextOcrButton:Bo,InvoiceCheckButton:Ro,BatchPrintListButton:Po,BatchPrintRecordListButton:Do,OperationButton:xo,BatchDeleteButton:Fo});class e_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class t_ extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ct extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new cl(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:wt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Ct.Rules=e_,Ct.RuntimeRules=t_;class wt extends P{constructor(e){super(e),this.props=new Ct(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],wt.controlFieldType=b.VARCHAR,wt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.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}];class ko extends x{constructor(e){super(e),this.props=new Ct(e==null?void 0:e.props)}static get controlType(){return"input"}}ko.controlFieldType=b.VARCHAR;var Oo={Designer:wt,Runtime:ko,Property:Ct};class n_ extends ht{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class i_ extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Zt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C,E;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ae(_))}))}}Zt.Rules=n_,Zt.RuntimeRules=i_;class Yt extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=b.ARRAY,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Mo extends x{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Mo.controlFieldType=b.ARRAY;var $o={Designer:Yt,Runtime:Mo,Property:Zt};class u_ extends ht{constructor(e){super(e)}}class Ri extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:pt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var E;(E=this.multistageFilling)==null||E.push(new ae(C))}))}}Ri.Rules=u_;class pt extends P{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}pt.controlEventKeys=["on_change","on_click"],pt.controlFieldType=b.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Lo extends x{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"radio"}}Lo.controlFieldType=b.VARCHAR;var No={Designer:pt,Runtime:Lo,Property:Ri};class a_ extends ee{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class r_ extends V{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class en extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:tn.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new cl(e==null?void 0:e.regularRules)}}en.Rules=a_,en.RuntimeRules=r_;class tn extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.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:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Vo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"number"}}Vo.controlFieldType=b.DECIMAL;var Ho={Designer:tn,Runtime:Vo,Property:en};class Xa extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Pi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(C=>new fi(C)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Pi extends P{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Pi.controlFieldType=b.TIMESTAMP,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}jo.controlFieldType=b.TIMESTAMP;var qo={Designer:Pi,Runtime:jo,Property:Xa};class l_ extends V{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Di extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.dataBind=new Hm(e==null?void 0:e.dataBind),this.defaultValue=new jm(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:xi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new fi(C)))!=null?g:[]}}Di.RuntimeRules=l_;class xi extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uo extends x{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Uo.controlFieldType=b.TIMESCOPE;var Wo={Designer:xi,Runtime:Uo,Property:Di};class o_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class c_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class nn extends R{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}nn.Rules=o_,nn.RuntimeRules=c_;class un extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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}];class Ko extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ko.controlFieldType=b.TEXT;var zo={Designer:un,Runtime:Ko,Property:nn};class s_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class d_ extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class an extends R{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:rn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}an.Rules=s_,an.RuntimeRules=d_;class rn extends P{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.TEXT,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Go.controlFieldType=b.TEXT;var Qo={Designer:rn,Runtime:Go,Property:an};class f_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Fi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ae(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Fi.Rules=f_;class ki extends P{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Xo extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"select"}}Xo.controlFieldType=b.VARCHAR;var Jo={Designer:ki,Runtime:Xo,Property:Fi};class h_ extends ht{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class y_ extends V{constructor(e){super(e),this[0].type="array"}}class ln extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ae(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}ln.Rules=h_,ln.RuntimeRules=y_;class Oi extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Zo extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Zo.controlFieldType=b.ARRAY;var Yo={Designer:Oi,Runtime:Zo,Property:ln};class m_ extends V{constructor(e){super(e),this[0].type="array"}}class Mi extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ae(v))}))}}Mi.RuntimeRules=m_;class $i extends P{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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}];class po extends x{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}po.controlFieldType=b.EMPLOYEES;var ec={Designer:$i,Runtime:po,Property:Mi};const v_=10485760,g_=104857600,b_=1048576e3;class __ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:b_,message:f.getMessage("attachmentMaxSize")}}}class C_ extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Et extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:g_,this.caption=(o=e==null?void 0:e.caption)!=null?o:It.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}Et.Rules=__,Et.RuntimeRules=C_;class It extends P{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change"],It.controlFieldType=b.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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}];class Ja extends x{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ja.controlFieldType=b.FILE;var tc={Designer:It,Runtime:Ja,Property:Et};const nc=class extends It{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:nc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Za=nc;Za.controlFieldType=b.IMAGE,Za.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class w_ extends Ja{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class E_ extends Et{constructor(e){super(e)}}var ic={Designer:Za,Runtime:w_,Property:E_};class I_ extends ht{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class S_ extends V{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[kn(Te({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class on extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Nm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new xu({value:"name"})]}),this.defaultValue=new Vm((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Mu.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:cn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}on.Rules=I_,on.RuntimeRules=S_;class cn extends P{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],cn.controlFieldType=b.MONEY,cn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class uc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"amount"}}uc.controlFieldType=b.MONEY;var ac={Designer:cn,Runtime:uc,Property:on};class A_ extends ee{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class T_ extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class sn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ma.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new hi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:dn.controlName}}sn.Rules=A_,sn.RuntimeRules=T_;class dn extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new hi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}dn.controlEventKeys=["on_change","on_click"],dn.controlFieldType=b.DECIMAL,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rc extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"score"}}rc.controlFieldType=b.DECIMAL;var lc={Designer:dn,Runtime:rc,Property:sn};class B_ extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Li extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new qm((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Li.RuntimeRules=B_;class Ni extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ni.controlFieldType=b.ADDRESS,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class oc extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}oc.controlFieldType=b.ADDRESS;var cc={Designer:Ni,Runtime:oc,Property:Li};class R_ extends V{constructor(e){super(e),this[0].type="array"}}class Vi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:fn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var E;(E=this.multistageFilling)==null||E.push(new ae(C))}))}}Vi.RuntimeRules=R_;class fn extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}fn.controlName="\u90E8\u95E8",fn.controlFieldType=b.DEPARTMENTS,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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}];class sc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}sc.controlFieldType=b.DEPARTMENTS;var dc={Designer:fn,Runtime:sc,Property:Vi};class Ya extends R{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:hn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class hn extends P{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}hn.controlEventKeys=["on_change"],hn.controlFieldType=b.AUTO_NUMBER,hn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class fc extends x{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}fc.controlFieldType=b.AUTO_NUMBER;var hc={Designer:hn,Runtime:fc,Property:Ya};class P_ extends ee{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class D_ extends V{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class yn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Um(e==null?void 0:e.dataBind),this.defaultValue=new Wm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:mn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}yn.Rules=P_,yn.RuntimeRules=D_;class mn extends P{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}mn.controlEventKeys=["on_change"],mn.controlFieldType=b.CALC,mn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"calc"}}yc.controlFieldType=b.CALC;var mc={Designer:mn,Runtime:yc,Property:yn};class x_ extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Hi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ji.controlName}}Hi.RuntimeRules=x_;class ji extends P{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ji.controlFieldType=b.DECIMAL_RANGE,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends x{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}vc.controlFieldType=b.DECIMAL_RANGE;var gc={Designer:ji,Runtime:vc,Property:Hi};class F_ extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class qi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Ui.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new fi(E)))!=null?C:[]}}qi.RuntimeRules=F_;class Ui extends P{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}bc.controlFieldType=b.ARRAY;var _c={Designer:Ui,Runtime:bc,Property:qi};class k_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class O_ extends V{constructor(e){super(e),this[0].type="any"}}class vn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}vn.Rules=k_,vn.RuntimeRules=O_;class gn extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}gn.controlFieldType=b.ANY,gn.controlEventKeys=[],gn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Cc extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Cc.controlFieldType=b.ANY;var wc={Designer:gn,Runtime:Cc,Property:vn};class M_ extends ht{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Wi extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:bn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ae(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new dt(e==null?void 0:e.formBind)}}Wi.Rules=M_;class bn extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}bn.controlFieldType=b.VARCHAR,bn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],bn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ec extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Ec.controlFieldType=b.VARCHAR;var Ic={Designer:bn,Runtime:Ec,Property:Wi};class pa extends Ct{constructor(e){super(e)}}class Sc extends wt{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Sc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Ac extends x{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ac.controlFieldType=b.VARCHAR;var Tc={Designer:Sc,Runtime:Ac,Property:pa};class $_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],jn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class L_ extends V{constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C,E,_,I,m,w,B,D;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new al((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new al((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(B=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(F=>new ae(F)))!=null?B:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}_n.Rules=$_,_n.RuntimeRules=L_;class Ne extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=b.ARRAY,Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.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}];class Bc extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"tree"}}Bc.controlFieldType=b.ARRAY;var Rc={Designer:Ne,Runtime:Bc,Property:_n};class N_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},jn.call(this,e,St.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class V_ extends V{constructor(e){super(e),this[0].type="array"}}class Cn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:St.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Ln((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:St.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ha.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ja.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Le.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var m;(m=this.multistageFilling)==null||m.push(new ae(I))}))}}Cn.Rules=N_,Cn.RuntimeRules=V_;class St extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}St.controlFieldType=b.EMPLOYEES,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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}];class Pc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Pc.controlFieldType=b.EMPLOYEES;var Dc={Designer:St,Runtime:Pc,Property:Cn};class H_ extends ee{constructor(e){super(e),this.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:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={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(a,r,l){if(i.type==="public"&&Iu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Iu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ki extends R{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new io(e==null?void 0:e.signatureConfig)}}Ki.Rules=H_;class wn extends P{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}wn.controlEventKeys=["on_click","on_click_finish"],wn.controlFieldType=b.VARCHAR,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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}];class xc extends x{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}xc.controlFieldType=b.VARCHAR;var Fc={Designer:wn,Runtime:xc,Property:Ki};class j_ extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class q_ extends V{constructor(e){super(e),this[0].type="array"}}class En extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:v_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new uo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}En.Rules=j_,En.RuntimeRules=q_;class In extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}In.controlEventKeys=["on_change","on_wps_open"],In.controlFieldType=b.FILE,In.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.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}];class kc extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"wps"}}kc.controlFieldType=b.FILE;var Oc={Designer:In,Runtime:kc,Property:En};class U_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,Ke.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class W_ extends V{constructor(e){super(e),this[0].type="array"}}class Sn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:yi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Le.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ae(m))}))}}Sn.Rules=U_,Sn.RuntimeRules=W_;class Ke extends P{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ke.controlName="\u90E8\u95E8",Ke.controlFieldType=b.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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}];class Mc extends x{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Mc.controlFieldType=b.DEPARTMENTS;var $c={Designer:Ke,Runtime:Mc,Property:Sn};class K_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,ze.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class z_ extends V{constructor(e){super(e),this[0].type="array"}}class An extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C,E,_,I,m,w,B;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new $m((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:yi.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Le.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new ku(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var F;(F=this.multistageFilling)==null||F.push(new ae(D))}))}}An.Rules=K_,An.RuntimeRules=z_;class ze extends P{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ze.controlName="\u4E1A\u52A1\u7EC4\u7EC7",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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}];class Lc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Lc.controlFieldType=b.DEPARTMENTS;var Nc={Designer:ze,Runtime:Lc,Property:An},G_=Object.freeze({__proto__:null,Input:Oo,Checkbox:$o,Radio:No,Number:Ho,DatePicker:qo,DateRange:Wo,Textarea:zo,RichText:Qo,Select:Jo,SelectMultiple:Yo,Employee:ec,Image:ic,Attachment:tc,Amount:ac,Score:lc,Address:cc,Department:dc,AutoNumber:hc,Calc:mc,SearchNumberRange:gc,SearchDateRange:_c,VueFormItem:wc,SelectRelation:Ic,SearchInput:Tc,Tree:Rc,Employee2:Dc,ElectronicSignature:Fc,WPS:Oc,Department2:$c,OrganizationSelection:Nc});class Vc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Vc.excludes=[S.GRID];class Q_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Hc={Designer:Vc,Runtime:Q_,Property:H};const X_=24;class Ge extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:X_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Tn extends q{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Tn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Tn.childrenMaxLength=1;class er extends U{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlType(){return"col"}}var jc={Designer:Tn,Runtime:er,Property:Ge};class zi extends H{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Gi extends q{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Gi.excludes=[S.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class qc extends U{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Uc={Designer:Gi,Runtime:qc,Property:zi};const J_=4;class Qi extends Gi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Qi.excludes=[S.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=J_;class Z_ extends qc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Y_ extends zi{constructor(e){super(e)}}var Wc={Designer:Qi,Runtime:Z_,Property:Y_};class p_ extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Xi extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Xi.Rules=p_;class tr extends q{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}tr.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],tr.excludes=[S.CARD_GROUP];class eC extends U{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Kc={Designer:tr,Runtime:eC,Property:Xi};class tC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ji extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Bm(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=tC;class ye extends q{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}ye.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ye.controlType="subtable-column",ye.controlIcon="subtable-column",ye.childrenMaxLength=1,ye.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],ye.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class zc extends U{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}zc.controlType="subtable-column";var Gc={Designer:ye,Runtime:zc,Property:Ji};class nr extends H{constructor(e){super(e)}}class Qe extends q{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Qe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Qe.controlType="subtable-row",Qe.controlIcon="subtable-row",Qe.childrenMaxLength=1,Qe.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class nC extends U{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Qc={Designer:Qe,Runtime:nC,Property:nr};class ir extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Be.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends q{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Xc extends U{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}Xc.controlType="gridtable-column";var Jc={Designer:Xe,Runtime:Xc,Property:ir};class ur extends H{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class ar extends q{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ar.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],ar.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class iC extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Zc={Designer:ar,Runtime:iC,Property:ur};class rr extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class uC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Zi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName}}Zi.Rules=uC;class Bn extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[S.TAB],Bn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class aC extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Yc={Designer:Bn,Runtime:aC,Property:Zi};class Rn extends q{constructor(e){var n;super(e),this.props=new rr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Rn.excludes=[S.TAB],Rn.controlEventKeys=["on_change_tab"],Rn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class rC extends U{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var pc={Designer:Rn,Runtime:rC,Property:rr};class es extends H{constructor(e){super(e)}}class ts extends q{constructor(e){super(e),this.props=new es({}),this.children=(e==null?void 0:e.children)||[new Tn({props:new Ge({span:12})}),new Tn({props:new Ge({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ts.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class lC extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new er({props:new Ge({span:12})}),new er({props:new Ge({span:12})})]}}var ns={Designer:ts,Runtime:lC,Property:es};class oC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class cC extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Qu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Pn extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,C;super(e),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Fm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Om(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5}}Pn.Rules=cC,Pn.RuntimeRules=oC;class Yi extends q{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Yi.excludes=[S.ROW],Yi.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"],Yi.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}];class sC extends U{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var is={Designer:Yi,Runtime:sC,Property:Pn};class dC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Pe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Pe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Pe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Pe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Pe(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=dC;class us extends q{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}us.excludes=[];class fC extends U{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var as={Designer:us,Runtime:fC,Property:pi};class hC extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class yC extends U{static get controlType(){return"page"}constructor(e){super(e)}}class mC extends H{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var rs={Designer:hC,Runtime:yC,Property:mC};class vC extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class gC extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class bC extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new lo(e==null?void 0:e.flexConfig)}}var ls={Designer:vC,Runtime:gC,Property:bC};class _C extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class CC extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class wC extends H{constructor(e){super(e)}}var os={Designer:_C,Runtime:CC,Property:wC};class EC extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class IC extends U{static get controlType(){return"position"}constructor(e){super(e)}}class SC extends H{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var cs={Designer:EC,Runtime:IC,Property:SC};class lr extends H{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class or extends q{constructor(e){var n;super(e),this.props=new lr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}or.excludes=[],or.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class AC extends U{constructor(e){var n;super(e),this.props=new lr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ss={Designer:or,Runtime:AC,Property:lr},TC=Object.freeze({__proto__:null,Grid:Hc,Col:jc,Row:Uc,GridRow:Wc,CardGroup:Kc,SubTableColumn:Gc,SubTableRow:Qc,GridTableColumn:Jc,GridLayoutContainer:Zc,Tab:pc,TabPane:Yc,Toolbox:ns,ListView:is,DataView:as,Page:rs,AdvancedContainer:ls,PositioningContainer:os,Position:cs,ActionBar:ss});class BC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class RC extends Ue{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Dn extends pn{constructor(e,n){var i,u,a,r,l,s,o,d,v,g,C,E,_,I,m,w,B,D,F,ce,k,se,xn,Se,hu,Fn,At,Ae,Ms,$s,Ls;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:eu.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:ao,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(C=n==null?void 0:n.maxRows)!=null?C:null,this.defaultRows=(E=n==null?void 0:n.defaultRows)!=null?E:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(B=n==null?void 0:n.canImport)!=null?B:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(k=n==null?void 0:n.isShowCaptionTip)!=null?k:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(xn=n==null?void 0:n.mobileShowType)!=null?xn:"list",this.mobileDefaultNum=(Se=n==null?void 0:n.mobileDefaultNum)!=null?Se:10,this.dataStorageDoc=(hu=n==null?void 0:n.dataStorageDoc)!=null?hu:new Rm,this.fixedColumn=(Fn=n==null?void 0:n.fixedColumn)!=null?Fn:[],this.mobileRowCaption=(At=n==null?void 0:n.mobileRowCaption)!=null?At:"\u660E\u7EC6",this.mobileIsTile=(Ae=n==null?void 0:n.mobileIsTile)!=null?Ae:!1,this.isPaste=(Ms=n==null?void 0:n.isPaste)!=null?Ms:!1,this.pageSize=($s=n==null?void 0:n.pageSize)!=null?$s:10,this.pageSizeOptions=(Ls=n==null?void 0:n.pageSizeOptions)!=null?Ls:[10,20,50,100]}}Dn.Rules=BC,Dn.RuntimeRules=RC;class eu extends ca{constructor(e){var n,i;super(e),this.props=new Dn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ye,new ye,new ye]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ye,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}eu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],eu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION]},{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}];class PC extends ql{constructor(e){super(e),this.props=new Dn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Dt("Method not implemented.")}getChildrenFormControl(){return[]}}var ds={Designer:eu,Runtime:PC,Property:Dn};class cr extends pn{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class DC extends be{constructor(e){super(e),this.caption.required=!1}}class tu extends W{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}tu.Rules=DC;class Je extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Je.controlType="order-column",Je.controlName="\u5E8F\u53F7",Je.controlIcon="order-column",Je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class sr extends Y{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}sr.controlType="order-column",sr.controlFieldType=b.DECIMAL;var fs={Designer:Je,Runtime:sr,Property:tu};class dr extends W{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ie.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ie extends Z{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props),ge(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Bi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return kn(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Mr(this,null,function*(){return yield Or(Ie.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ie.controlType="operation-column",Ie.controlName="\u64CD\u4F5C",Ie.controlIcon="operation-column",Ie.setting=[{key:"caption",showItems:[c.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}];class fr extends Y{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props),ge(this,"children",e==null?void 0:e.children)}}fr.controlType="operation-column",fr.controlFieldType=b.FILE;var hs={Designer:Ie,Runtime:fr,Property:dr};class nu extends ca{constructor(e){var n;super(e),this.props=new cr(this,e==null?void 0:e.props),ge(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Je,new Ie]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return kn(Te({},e),{children:n})}validate(e,n){return Mr(this,null,function*(){return yield Or(nu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}nu.setting=[{key:"list-fixed-header",visible:!0}];class xC extends ql{constructor(e){super(e),this.props=new cr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Dt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ys={Designer:nu,Runtime:xC,Property:cr},FC=Object.freeze({__proto__:null,SubTable:ds,GridTable:ys});class kC extends Ul{constructor(e){super(e),Me.call(this,e)}}class iu extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}iu.Rules=kC;class Ze extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}Ze.controlType="varchar-column",Ze.controlName="\u77ED\u6587\u672C",Ze.controlIcon="varchar-column",Ze.controlFieldType=b.VARCHAR,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class hr extends Y{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}hr.controlType="varchar-column",hr.controlFieldType=b.VARCHAR;var ms={Designer:Ze,Runtime:hr,Property:iu};class OC extends be{constructor(e){super(e),Me.call(this,e)}}class uu extends W{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}uu.Rules=OC;class Ye extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ye.controlType="text-column",Ye.controlName="\u957F\u6587\u672C",Ye.controlIcon="text-column",Ye.controlFieldType=b.TEXT,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",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},{key:"column-statistics",visible:!0}];class yr extends Y{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}yr.controlType="text-column",yr.controlFieldType=b.TEXT;var vs={Designer:Ye,Runtime:yr,Property:uu};class MC extends be{constructor(e){super(e),Me.call(this,e)}}class au extends W{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}au.Rules=MC;class pe extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pe.controlType="decimal-column",pe.controlName="\u6570\u503C",pe.controlIcon="decimal-column",pe.controlFieldType=b.DECIMAL,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class mr extends Y{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}mr.controlType="decimal-column",mr.controlFieldType=b.DECIMAL;var gs={Designer:pe,Runtime:mr,Property:au};class $C extends be{constructor(e){super(e),Me.call(this,e)}}class ru extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}ru.Rules=$C;class et extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}et.controlType="timescope-column",et.controlName="\u65E5\u671F\u533A\u95F4",et.controlIcon="timescope-column",et.controlFieldType=b.TIMESCOPE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class vr extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}vr.controlType="timescope-column",vr.controlFieldType=b.TIMESCOPE;var bs={Designer:et,Runtime:vr,Property:ru};class LC extends be{constructor(e){super(e),Me.call(this,e)}}class lu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:tt.controlName}}lu.Rules=LC;class tt extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}tt.controlType="timestamp-column",tt.controlName="\u65E5\u671F",tt.controlIcon="timestamp-column",tt.controlFieldType=b.TIMESTAMP,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class gr extends Y{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}gr.controlType="timestamp-column",gr.controlFieldType=b.TIMESTAMP;var _s={Designer:tt,Runtime:gr,Property:lu};class NC extends Ul{constructor(e){super(e),Me.call(this,e)}}class ou extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.options=Ee((a=e==null?void 0:e.options)!=null?a:[{}])}}ou.Rules=NC;class nt extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}nt.controlType="array-column",nt.controlName="\u6570\u7EC4",nt.controlIcon="array-column",nt.controlFieldType=b.ARRAY,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class br extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}br.controlType="array-column",br.controlFieldType=b.ARRAY;var Cs={Designer:nt,Runtime:br,Property:ou};class _r extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class it extends Z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}it.controlType="department-column",it.controlName="\u90E8\u95E8",it.controlIcon="department-column",it.controlFieldType=b.DEPARTMENTS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Cr extends Y{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Cr.controlType="department-column",Cr.controlFieldType=b.DEPARTMENTS;var ws={Designer:it,Runtime:Cr,Property:_r};class VC extends be{constructor(e){super(e),Me.call(this,e)}}class cu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}cu.Rules=VC;class ut extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}ut.controlType="auto-number-column",ut.controlName="\u81EA\u52A8\u7F16\u53F7",ut.controlIcon="auto-number-column",ut.controlFieldType=b.AUTO_NUMBER,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class wr extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}wr.controlType="auto-number-column",wr.controlFieldType=b.AUTO_NUMBER;var Es={Designer:ut,Runtime:wr,Property:cu};class Er extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}at.controlType="file-column",at.controlName="\u9644\u4EF6",at.controlIcon="file-column",at.controlFieldType=b.FILE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends Y{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Ir.controlType="file-column",Ir.controlFieldType=b.FILE;var Is={Designer:at,Runtime:Ir,Property:Er};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}rt.controlType="image-column",rt.controlName="\u56FE\u7247",rt.controlIcon="image-column",rt.controlFieldType=b.IMAGE,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ar extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="image-column",Ar.controlFieldType=b.IMAGE;var Ss={Designer:rt,Runtime:Ar,Property:Sr};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends Z{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}lt.controlType="people-column",lt.controlName="\u4EBA\u5458",lt.controlIcon="people-column",lt.controlFieldType=b.EMPLOYEES,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends Y{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Br.controlType="people-column",Br.controlFieldType=b.EMPLOYEES;var As={Designer:lt,Runtime:Br,Property:Tr};class HC extends be{constructor(e){super(e),Me.call(this,e)}}class su extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}su.Rules=HC;class ot extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=b.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Rr extends Y{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Rr.controlType="location-column",Rr.controlFieldType=b.ADDRESS;var Ts={Designer:ot,Runtime:Rr,Property:su};class jC extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class du extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}du.Rules=jC;const qC=1;class Ve extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new du(e==null?void 0:e.props),ge(this,"children",e==null?void 0:e.children),this.excludes=Re(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return kn(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ve.controlType="custom-column",Ve.controlName="\u81EA\u5B9A\u4E49",Ve.controlIcon="custom-column",Ve.excludes=[],Ve.childrenMaxLength=qC,Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Bs extends Y{constructor(e){super(e),this.props=new du(e==null?void 0:e.props),ge(this,"children",e==null?void 0:e.children)}}Bs.controlType="custom-column";var Rs={Designer:Ve,Runtime:Bs,Property:du};class Pr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new Ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:He.controlCustomAttributes})}}class He extends Z{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}He.controlType="employee-column",He.controlName="\u4EBA\u5458",He.controlIcon="employee-column",He.controlFieldType=b.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Dr extends Y{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}Dr.controlType="employee-column",Dr.controlFieldType=b.EMPLOYEES;var Ps={Designer:He,Runtime:Dr,Property:Pr};class xr extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.enumType=(a=e==null?void 0:e.enumType)!=null?a:"process"}}class ct extends Z{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}ct.controlType="approval-status-column",ct.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ct.controlIcon="approval-status-column",ct.excludes=[],ct.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ds extends Y{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}}Ds.controlType="approval-status-column";var xs={Designer:ct,Runtime:Ds,Property:xr},UC=Object.freeze({__proto__:null,VarcharColumn:ms,TextColumn:vs,DecimalColumn:gs,TimescopeColumn:bs,TimestampColumn:_s,ArrayColumn:Cs,DepartmentColumn:ws,AutoNumberColumn:Es,FileColumn:Is,ImageColumn:Ss,PeopleColumn:As,LocationColumn:Ts,CustomColumn:Rs,OrderColumn:fs,OperationColumn:hs,EmployeeColumn:Ps,ApprovalStatusColumn:xs});class WC extends Ue{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends wa{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Pe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Pe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new Pe(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24}}fu.RuntimeRules=WC;class Fr extends U0{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Fr.controlType="simple-search",Fr.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Fs extends J0{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Fs.controlType="simple-search";var ks={Designer:Fr,Runtime:Fs,Property:fu},KC=Object.freeze({__proto__:null,SimpleSearch:ks});class kr extends Ba{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class zC extends sb{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class GC extends gb{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function iw(t){return t}var QC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Os={Designer:zC,Runtime:GC,Property:kr,Setting:QC},XC=Object.freeze({__proto__:null,GridLayoutWrap:Os});y.ActionBar=ss,y.Address=cc,y.AdvancedContainer=ls,y.Amount=ac,y.ApprovalStatusColumn=xs,y.ArrayColumn=Cs,y.AssignType=Le,y.Attachment=tc,y.AutoNumber=hc,y.AutoNumberColumn=Es,y.BatchDeleteButton=Fo,y.BatchPrintListButton=Po,y.BatchPrintRecordListButton=Do,y.BatchSubmissionListButton=yo,y.Button=eo,y.Calc=mc,y.CardGroup=Kc,y.Checkbox=$o,y.Col=jc,y.CreateFormListButton=ho,y.CustomColumn=Rs,y.DATE_CONFIG_TYPE=to,y.DATE_LIMIT_TYPE=no,y.Dashboard=So,y.DataView=as,y.DatePicker=qo,y.DateRange=Wo,y.DecimalColumn=gs,y.Department=dc,y.Department2=$c,y.DepartmentColumn=ws,y.DepartmentType=yi,y.Divider=so,y.ElectronicSignature=Fc,y.ElectronicSignatureConfig=io,y.Employee=ec,y.Employee2=Dc,y.EmployeeColumn=Ps,y.EncryptTypeEnum=oo,y.Explain=hi,y.ExportListButton=vo,y.ExportRecordListButton=go,y.ExportTemplate=Na,y.FileColumn=Is,y.FlexStyleConfig=lo,y.FormSelectButton=_o,y.Grid=Hc,y.GridLayoutContainer=Zc,y.GridLayoutWrap=Os,y.GridRow=Wc,y.GridTable=ys,y.GridTableColumn=Jc,y.Image=ic,y.ImageColumn=Ss,y.ImportRecordListButton=bo,y.Input=Oo,y.InternalType=ja,y.InvoiceCheckButton=Ro,y.LINE_STYLE=$a,y.LimitDate=fi,y.Link=pl,y.ListSelectButton=Co,y.ListView=is,y.ListViewSelect=To,y.LocationColumn=Ts,y.Number=Ho,y.OperationButton=xo,y.OperationColumn=hs,y.OrderColumn=fs,y.OrganizationSelection=Nc,y.OrganizeType=Ha,y.Page=rs,y.Pagination=Eo,y.PeopleColumn=As,y.Position=cs,y.PositioningContainer=os,y.PrintTemplate=ro,y.Radio=No,y.RichText=Qo,y.Row=Uc,y.SCORE_TYPE=Ma,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ao,y.Score=lc,y.SearchDateRange=_c,y.SearchInput=Tc,y.SearchNumberRange=gc,y.Select=Jo,y.SelectMultiple=Yo,y.SelectRelation=Ic,y.SimpleSearch=ks,y.SubTable=ds,y.SubTableColumn=Gc,y.SubTableRow=Qc,y.SubmissionRecordListButton=mo,y.Tab=pc,y.TabPane=Yc,y.Text=Yl,y.TextColumn=vs,y.TextOcrButton=Bo,y.Textarea=zo,y.TimescopeColumn=bs,y.TimestampColumn=_s,y.Title=fo,y.TitleConfigEnum=$e,y.Toolbox=ns,y.Tree=Rc,y.UndersignedPerson=La,y.VarcharColumn=ms,y.VueFormItem=wc,y.WPS=Oc,y.WPSSetting=uo,y.WpsOperationItem=Va,y.baseControls=pb,y.columnControls=UC,y.formControls=G_,y.initExpression=Nt,y.layoutControls=TC,y.listControls=FC,y.searchControls=KC,y.wrapControls=XC,Object.defineProperty(y,"__esModule",{value:!0})});