@byteluck-fe/model-driven-controls 1.8.1-beta.5 → 2.0.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 (163) hide show
  1. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -1
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +10 -10
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -1
  4. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -4
  5. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -1
  6. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +13 -13
  7. package/dist/esm/baseControls/Button/designer.js +1 -1
  8. package/dist/esm/baseControls/Button/property.js +16 -16
  9. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -1
  10. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -8
  11. package/dist/esm/baseControls/Dashboard/designer.js +3 -3
  12. package/dist/esm/baseControls/Dashboard/property.js +12 -12
  13. package/dist/esm/baseControls/Divider/designer.js +1 -1
  14. package/dist/esm/baseControls/Divider/property.js +4 -4
  15. package/dist/esm/baseControls/ExportListButton/designer.js +1 -1
  16. package/dist/esm/baseControls/ExportListButton/property.js +9 -9
  17. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -1
  18. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -4
  19. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -1
  20. package/dist/esm/baseControls/FormSelectButton/property.js +6 -6
  21. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -1
  22. package/dist/esm/baseControls/ImportRecordListButton/property.js +8 -8
  23. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +3 -3
  24. package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -20
  25. package/dist/esm/baseControls/Link/designer.js +1 -1
  26. package/dist/esm/baseControls/Link/property.js +6 -6
  27. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -1
  28. package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
  29. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -1
  30. package/dist/esm/baseControls/ListViewSelect/property.js +6 -6
  31. package/dist/esm/baseControls/OperationButton/designer.js +1 -1
  32. package/dist/esm/baseControls/OperationButton/property.js +10 -10
  33. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -1
  34. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -4
  35. package/dist/esm/baseControls/Text/designer.js +1 -1
  36. package/dist/esm/baseControls/Text/property.js +10 -10
  37. package/dist/esm/baseControls/TextOcrButton/designer.js +3 -3
  38. package/dist/esm/baseControls/TextOcrButton/property.js +20 -20
  39. package/dist/esm/baseControls/Title/designer.js +1 -1
  40. package/dist/esm/baseControls/Title/property.js +5 -5
  41. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -1
  42. package/dist/esm/columnControls/ArrayColumn/property.js +6 -6
  43. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -1
  44. package/dist/esm/columnControls/AutoNumberColumn/property.js +2 -2
  45. package/dist/esm/columnControls/CustomColumn/designer.js +2 -2
  46. package/dist/esm/columnControls/CustomColumn/property.js +4 -4
  47. package/dist/esm/columnControls/DecimalColumn/designer.js +3 -3
  48. package/dist/esm/columnControls/DecimalColumn/property.js +12 -12
  49. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -1
  50. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -4
  51. package/dist/esm/columnControls/EmployeeColumn/designer.js +2 -2
  52. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -4
  53. package/dist/esm/columnControls/FileColumn/designer.js +1 -1
  54. package/dist/esm/columnControls/FileColumn/property.js +2 -2
  55. package/dist/esm/columnControls/ImageColumn/designer.js +1 -1
  56. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  57. package/dist/esm/columnControls/LocationColumn/designer.js +1 -1
  58. package/dist/esm/columnControls/LocationColumn/property.js +2 -2
  59. package/dist/esm/columnControls/OperationColumn/designer.js +18 -118
  60. package/dist/esm/columnControls/OperationColumn/property.js +11 -11
  61. package/dist/esm/columnControls/OrderColumn/designer.js +1 -1
  62. package/dist/esm/columnControls/OrderColumn/property.js +13 -13
  63. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -1
  64. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  65. package/dist/esm/columnControls/TextColumn/designer.js +1 -1
  66. package/dist/esm/columnControls/TextColumn/property.js +6 -6
  67. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -1
  68. package/dist/esm/columnControls/TimescopeColumn/property.js +4 -4
  69. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -1
  70. package/dist/esm/columnControls/TimestampColumn/property.js +4 -4
  71. package/dist/esm/columnControls/VarcharColumn/designer.js +1 -1
  72. package/dist/esm/columnControls/VarcharColumn/property.js +8 -8
  73. package/dist/esm/formControls/Address/designer.js +3 -3
  74. package/dist/esm/formControls/Address/property.js +10 -10
  75. package/dist/esm/formControls/Amount/designer.js +5 -5
  76. package/dist/esm/formControls/Amount/property.js +24 -24
  77. package/dist/esm/formControls/Attachment/designer.js +3 -3
  78. package/dist/esm/formControls/Attachment/property.js +16 -16
  79. package/dist/esm/formControls/AutoNumber/designer.js +3 -3
  80. package/dist/esm/formControls/AutoNumber/property.js +6 -6
  81. package/dist/esm/formControls/Calc/designer.js +5 -5
  82. package/dist/esm/formControls/Calc/property.js +15 -15
  83. package/dist/esm/formControls/Checkbox/designer.js +3 -3
  84. package/dist/esm/formControls/Checkbox/property.js +27 -27
  85. package/dist/esm/formControls/DatePicker/designer.js +3 -3
  86. package/dist/esm/formControls/DatePicker/property.js +18 -18
  87. package/dist/esm/formControls/DateRange/designer.js +3 -3
  88. package/dist/esm/formControls/DateRange/property.js +18 -18
  89. package/dist/esm/formControls/Department/designer.js +4 -4
  90. package/dist/esm/formControls/Department/property.js +22 -22
  91. package/dist/esm/formControls/Department2/designer.js +5 -5
  92. package/dist/esm/formControls/Department2/property.js +31 -31
  93. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -2
  94. package/dist/esm/formControls/ElectronicSignature/property.js +12 -12
  95. package/dist/esm/formControls/Employee/designer.js +3 -3
  96. package/dist/esm/formControls/Employee/property.js +18 -18
  97. package/dist/esm/formControls/Employee2/designer.js +4 -4
  98. package/dist/esm/formControls/Employee2/property.js +29 -29
  99. package/dist/esm/formControls/Image/designer.js +8 -8
  100. package/dist/esm/formControls/Image/runtime.js +7 -7
  101. package/dist/esm/formControls/Input/designer.js +3 -3
  102. package/dist/esm/formControls/Input/property.js +15 -15
  103. package/dist/esm/formControls/Number/designer.js +5 -5
  104. package/dist/esm/formControls/Number/property.js +27 -27
  105. package/dist/esm/formControls/Radio/designer.js +3 -3
  106. package/dist/esm/formControls/Radio/property.js +23 -23
  107. package/dist/esm/formControls/RichText/designer.js +3 -3
  108. package/dist/esm/formControls/RichText/property.js +10 -10
  109. package/dist/esm/formControls/Score/designer.js +5 -5
  110. package/dist/esm/formControls/Score/property.js +15 -15
  111. package/dist/esm/formControls/SearchDateRange/designer.js +3 -3
  112. package/dist/esm/formControls/SearchDateRange/property.js +20 -20
  113. package/dist/esm/formControls/SearchInput/designer.js +2 -2
  114. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -3
  115. package/dist/esm/formControls/SearchNumberRange/property.js +12 -12
  116. package/dist/esm/formControls/Select/designer.js +3 -3
  117. package/dist/esm/formControls/Select/property.js +17 -17
  118. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  119. package/dist/esm/formControls/SelectMultiple/property.js +15 -15
  120. package/dist/esm/formControls/SelectRelation/designer.js +3 -3
  121. package/dist/esm/formControls/SelectRelation/property.js +16 -16
  122. package/dist/esm/formControls/Textarea/designer.js +3 -3
  123. package/dist/esm/formControls/Textarea/property.js +12 -12
  124. package/dist/esm/formControls/Tree/designer.js +4 -4
  125. package/dist/esm/formControls/Tree/property.js +28 -28
  126. package/dist/esm/formControls/VueFormItem/designer.js +3 -3
  127. package/dist/esm/formControls/VueFormItem/property.js +10 -10
  128. package/dist/esm/formControls/WPS/designer.js +4 -4
  129. package/dist/esm/formControls/WPS/property.js +24 -24
  130. package/dist/esm/framework.js +70 -70
  131. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
  132. package/dist/esm/layoutControls/CardGroup/designer.js +1 -1
  133. package/dist/esm/layoutControls/CardGroup/property.js +6 -6
  134. package/dist/esm/layoutControls/Col/designer.js +1 -1
  135. package/dist/esm/layoutControls/Col/property.js +4 -4
  136. package/dist/esm/layoutControls/DataView/property.js +12 -12
  137. package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -2
  138. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -20
  139. package/dist/esm/layoutControls/ListView/designer.js +2 -2
  140. package/dist/esm/layoutControls/ListView/property.js +18 -18
  141. package/dist/esm/layoutControls/Page/Setting.js +4 -4
  142. package/dist/esm/layoutControls/Page/property.js +2 -2
  143. package/dist/esm/layoutControls/Position/property.js +8 -8
  144. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
  145. package/dist/esm/layoutControls/Row/designer.js +1 -1
  146. package/dist/esm/layoutControls/Row/property.js +4 -4
  147. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -2
  148. package/dist/esm/layoutControls/SubTableColumn/property.js +12 -12
  149. package/dist/esm/layoutControls/SubTableRow/designer.js +2 -2
  150. package/dist/esm/layoutControls/Tab/designer.js +3 -3
  151. package/dist/esm/layoutControls/TabPane/designer.js +1 -1
  152. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  153. package/dist/esm/layoutControls/Toolbox/designer.js +2 -2
  154. package/dist/esm/layoutControls/Toolbox/runtime.js +1 -1
  155. package/dist/esm/listControls/GridTable/designer.js +18 -118
  156. package/dist/esm/listControls/GridTable/property.js +8 -8
  157. package/dist/esm/listControls/SubTable/designer.js +7 -7
  158. package/dist/esm/listControls/SubTable/property.js +43 -43
  159. package/dist/esm/searchControls/SimpleSearch/designer.js +1 -1
  160. package/dist/esm/searchControls/SimpleSearch/property.js +14 -14
  161. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  162. package/dist/index.umd.js +1 -1
  163. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var E0=Object.defineProperty,C0=Object.defineProperties;var _0=Object.getOwnPropertyDescriptors;var fc=Object.getOwnPropertySymbols,I0=Object.getPrototypeOf,w0=Object.prototype.hasOwnProperty,A0=Object.prototype.propertyIsEnumerable,S0=Reflect.get;var hc=(f,F,L)=>F in f?E0(f,F,{enumerable:!0,configurable:!0,writable:!0,value:L}):f[F]=L,ye=(f,F)=>{for(var L in F||(F={}))w0.call(F,L)&&hc(f,L,F[L]);if(fc)for(var L of fc(F))A0.call(F,L)&&hc(f,L,F[L]);return f},en=(f,F)=>C0(f,_0(F));var Rr=(f,F,L)=>S0(I0(f),L,F);var Pr=(f,F,L)=>new Promise((wi,tn)=>{var Ai=le=>{try{ut(L.next(le))}catch(rt){tn(rt)}},Si=le=>{try{ut(L.throw(le))}catch(rt){tn(rt)}},ut=le=>le.done?wi(le.value):Promise.resolve(le.value).then(Ai,Si);ut((L=L.apply(f,F)).next())});(function(f,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(f=typeof globalThis!="undefined"?globalThis:f||self,F(f.modelDrivenControls={}))})(this,function(f){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ai="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Si="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",le="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",yc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",mc="\u8BF7\u7ED1\u5B9A\u8868\u5355",vc="\u8BF7\u7ED1\u5B9A\u5217\u8868",gc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",bc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ec="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",_c="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ic="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",wc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ac="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Sc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Bc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Tc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Rc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Pc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Oc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Nc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Mc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Lc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$c="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Vc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Hc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jc="\u8BF7\u9009\u62E9\u7701",qc="\u8BF7\u9009\u62E9\u5E02",Uc="\u8BF7\u9009\u62E9\u533A",Wc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Kc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",zc="\u8BF7\u8F93\u5165\u5217\u5BBD",Gc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ts="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",us="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ss="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ds="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",fs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ys="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",vs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",gs={isNotNumber:F,isNotString:L,isNotObject:wi,isNotArray:tn,isNotBoolean:Ai,runtimeRequired:Si,pleaseEnterCaption:ut,pleaseEnterCaptionTip:le,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:yc,pleaseEnterForm:mc,pleaseEnterList:vc,pleaseEnterProcess:gc,pleaseEnterLabel:bc,pleaseEnterValue:Ec,bizKeyNotBindFiled:Cc,pleaseEnterNumberRange:_c,pleaseEnterAValueGreaterThanMin:Ic,pleaseEnterAValueLessThanMax:wc,numberRangeSetError:Ac,stringRangeError:Sc,attachmentMaxSize:Bc,pleaseEnterTotalScoreSetting:Tc,theTotalScoreMustNotBeLessThan1:Rc,scoreDefaultValueRange:Pc,attachmentLimitError:xc,PleaseReselectTheOptionalQuantity:Dc,TheMaximumLengthIsGreaterThanTheMinimumLength:Fc,TheMinimumLengthIsGreaterThanTheMaximumLength:Oc,PleaseSelectTheCorrectOptionSettings:kc,optionIdIsRepeat:Nc,optionIsRequired:Mc,pleaseEnterDataCode:Lc,pleaseEnterValueFieldCode:$c,pleaseEnterSvcCode:Vc,pleaseBindAtLeastOneDisplayValue:Hc,pleaseSelectProvince:jc,pleaseSelectCity:qc,pleaseSelectDistrict:Uc,limitRowsCannotBeLessThan0:Wc,TheNumberOfRowsCannotBeLessThanMinRows:Kc,pleaseEnterColumnWidth:zc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gc,pleaseCompleteAllRulesAndConditions:Xc,pleaseSelectControl:Qc,pleaseSelectAtLeastOneColumn:Jc,pleaseSelectFillBackMode:Zc,pleaseSelectDashboard:Yc,rootNodeIsRequired:pc,theViewNameCannotBeEmpty:es,pleaseSelectOcrType:ts,pleaseSelectAtLeastOneFieldToFillIn:ns,pleaseChooseAtLeastOne:is,pleaseEnterButtonContent:us,pleaseEnterDataCodeInDataSetting:rs,pleaseEnterValueFieldCodeInDataSetting:as,pleaseEnterSvcCodeInDataSetting:ls,pleaseBindAtLeastOneDisplayValueInDataSetting:os,rootNodeIsRequiredInDataSetting:cs,pleaseEnterMaxHeight:ss,pleaseEnter:ds,pleaseEnterWatermark:fs,pleaseEnterFileName:hs,pleaseUploadAtLeastOnePrintTemplate:ys,pleaseAssignBusiness:ms,pleaseAssignExternal:vs},bs="Please enter a number",Es="Please enter a string",Cs="Please enter an object",_s="Please enter an array",Is="Please enter a boolean",ws="{caption} Required",As="Please enter the title",Ss="Please enter the bubble prompt",Bs="Please enter the prompt text",Ts="Please bind data items",Rs="Please bind the form",Ps="Please bind the list",xs="Please bind the process",Ds="Please enter the displayed value",Fs="Please enter the stored value",Os="The document number is not bound to the data item",ks="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ns="Please enter a value greater than or equal to {min}",Ms="Please enter a value less than or equal to {max}",Ls="The value range is set incorrectly",$s="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vs="The attachment size must be between 0MB and 1000MB",Hs="Please fill in the total score setting",js="The total score cannot be less than 1",qs="The default value must be between {min} and {max}",Us="The number of attachments uploaded must be between {min} and {max}",Ws="Please re-select the optional quantity",Ks="The maximum length of the control must be greater than the minimum length",zs="The minimum length of the control must be less than the maximum length",Gs="Please select the correct option setting",Xs="Option ID cannot be repeated",Qs="Please enter at least one option",Js="Please bind the data source",Zs="Please bind the stored value",Ys="Please bind the service",ps="At least one display value must be bound",ed="Please select a province",td="Please select a city",nd="Please select a district",id="The minimum number of lines to fill in cannot be less than 0",ud="The number of rows cannot be less than {min} rows",rd="Please enter the column width",ad="Please set the logical relationship of all rule conditions",ld="Please complete all rules and conditions",od="please select control",cd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Cd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",_d="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Id="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ad="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Bd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Td={isNotNumber:bs,isNotString:Es,isNotObject:Cs,isNotArray:_s,isNotBoolean:Is,runtimeRequired:ws,pleaseEnterCaption:As,pleaseEnterCaptionTip:Ss,pleaseEnterPlaceholder:Bs,pleaseEnterFieldCode:Ts,pleaseEnterForm:Rs,pleaseEnterList:Ps,pleaseEnterProcess:xs,pleaseEnterLabel:Ds,pleaseEnterValue:Fs,bizKeyNotBindFiled:Os,pleaseEnterNumberRange:ks,pleaseEnterAValueGreaterThanMin:Ns,pleaseEnterAValueLessThanMax:Ms,numberRangeSetError:Ls,stringRangeError:$s,attachmentMaxSize:Vs,pleaseEnterTotalScoreSetting:Hs,theTotalScoreMustNotBeLessThan1:js,scoreDefaultValueRange:qs,attachmentLimitError:Us,PleaseReselectTheOptionalQuantity:Ws,TheMaximumLengthIsGreaterThanTheMinimumLength:Ks,TheMinimumLengthIsGreaterThanTheMaximumLength:zs,PleaseSelectTheCorrectOptionSettings:Gs,optionIdIsRepeat:Xs,optionIsRequired:Qs,pleaseEnterDataCode:Js,pleaseEnterValueFieldCode:Zs,pleaseEnterSvcCode:Ys,pleaseBindAtLeastOneDisplayValue:ps,pleaseSelectProvince:ed,pleaseSelectCity:td,pleaseSelectDistrict:nd,limitRowsCannotBeLessThan0:id,TheNumberOfRowsCannotBeLessThanMinRows:ud,pleaseEnterColumnWidth:rd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ad,pleaseCompleteAllRulesAndConditions:ld,pleaseSelectControl:od,pleaseSelectDashboard:cd,theViewNameCannotBeEmpty:sd,pleaseSelectOcrType:dd,pleaseSelectAtLeastOneFieldToFillIn:fd,pleaseChooseAtLeastOne:hd,pleaseEnterButtonContent:yd,pleaseEnterDataCodeInDataSetting:md,pleaseEnterValueFieldCodeInDataSetting:vd,pleaseEnterSvcCodeInDataSetting:gd,pleaseBindAtLeastOneDisplayValueInDataSetting:bd,rootNodeIsRequiredInDataSetting:Ed,pleaseEnterMaxHeight:Cd,pleaseEnter:_d,pleaseEnterWatermark:Id,pleaseEnterFileName:wd,pleaseUploadAtLeastOnePrintTemplate:Ad,pleaseAssignBusiness:Sd,pleaseAssignExternal:Bd},Rd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Od="{caption}\u5FC5\u9808",kd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Md="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ld="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$d="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Wd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Xd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ef="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tf="\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",nf="\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",uf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",af="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",of="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",df="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ff="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ef="please select control",Cf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",_f="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",If="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Sf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Df="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ff="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Of="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",kf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Lf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$f={isNotNumber:Rd,isNotString:Pd,isNotObject:xd,isNotArray:Dd,isNotBoolean:Fd,runtimeRequired:Od,pleaseEnterCaption:kd,pleaseEnterCaptionTip:Nd,pleaseEnterPlaceholder:Md,pleaseEnterFieldCode:Ld,pleaseEnterForm:$d,pleaseEnterList:Vd,pleaseEnterProcess:Hd,pleaseEnterLabel:jd,pleaseEnterValue:qd,bizKeyNotBindFiled:Ud,pleaseEnterNumberRange:Wd,pleaseEnterAValueGreaterThanMin:Kd,pleaseEnterAValueLessThanMax:zd,numberRangeSetError:Gd,stringRangeError:Xd,attachmentMaxSize:Qd,pleaseEnterTotalScoreSetting:Jd,theTotalScoreMustNotBeLessThan1:Zd,scoreDefaultValueRange:Yd,attachmentLimitError:pd,PleaseReselectTheOptionalQuantity:ef,TheMaximumLengthIsGreaterThanTheMinimumLength:tf,TheMinimumLengthIsGreaterThanTheMaximumLength:nf,PleaseSelectTheCorrectOptionSettings:uf,optionIdIsRepeat:rf,optionIsRequired:af,pleaseEnterDataCode:lf,pleaseEnterValueFieldCode:of,pleaseEnterSvcCode:cf,pleaseBindAtLeastOneDisplayValue:sf,pleaseSelectProvince:df,pleaseSelectCity:ff,pleaseSelectDistrict:hf,limitRowsCannotBeLessThan0:yf,TheNumberOfRowsCannotBeLessThanMinRows:mf,pleaseEnterColumnWidth:vf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gf,pleaseCompleteAllRulesAndConditions:bf,pleaseSelectControl:Ef,pleaseSelectDashboard:Cf,theViewNameCannotBeEmpty:_f,pleaseSelectOcrType:If,pleaseSelectAtLeastOneFieldToFillIn:wf,pleaseChooseAtLeastOne:Af,pleaseEnterButtonContent:Sf,pleaseEnterDataCodeInDataSetting:Bf,pleaseEnterValueFieldCodeInDataSetting:Tf,pleaseEnterSvcCodeInDataSetting:Rf,pleaseBindAtLeastOneDisplayValueInDataSetting:Pf,rootNodeIsRequiredInDataSetting:xf,pleaseEnterMaxHeight:Df,pleaseEnter:Ff,pleaseEnterWatermark:Of,pleaseEnterFileName:kf,pleaseUploadAtLeastOnePrintTemplate:Nf,pleaseAssignBusiness:Mf,pleaseAssignExternal:Lf},Vf={zhCN:gs,enUS:Td,jaJP:$f},xr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(xr||(xr={}));var Dr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Dr||(Dr={}));var Hf="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Fr||(Fr={}));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.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 v;(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"})(v||(v={}));var G;G={},Y(G,v.ARRAY,C.ARRAY_COLUMN),Y(G,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(G,v.DECIMAL,C.DECIMAL_COLUMN),Y(G,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(G,v.FILE,C.FILE_COLUMN),Y(G,v.IMAGE,C.IMAGE_COLUMN),Y(G,v.ADDRESS,C.LOCATION_COLUMN),Y(G,v.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(G,v.TEXT,C.TEXT_COLUMN),Y(G,v.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(G,v.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(G,v.VARCHAR,C.VARCHAR_COLUMN),Y(G,v.RELATION,C.VARCHAR_COLUMN);var me;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(me||(me={}));var Or="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",jf=Or+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Or:jf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Bi(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 qf(t){if(Array.isArray(t))return Bi(t)}function Uf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wf(){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 Wf()?nn=Reflect.construct:nn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&lt(o,a.prototype),o},nn.apply(null,arguments)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function Nr(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&&lt(t,e)}function Kf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gf(){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 Xf(t,e){return e&&(Qf(e)==="object"||typeof e=="function")?e:Uf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Mr(t){return qf(t)||zf(t)||Jf(t)||Gf()}var Qf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jf(t,e){if(!!t){if(typeof t=="string")return Bi(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 Bi(t,e)}}function Ti(t){var e=typeof Map=="function"?new Map:void 0;return Ti=function(i){if(i===null||!Kf(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,at(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Ti(t)}function Zf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lr(t){var e=Zf();return function(){var i=at(t),u;if(e){var r=at(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Xf(this,u)}}var Ri=console;function Yf(){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=Ri).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Mr(u)))}function $r(){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=Ri).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Mr(u)))}function pf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pi=function(t){Nr(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?pf(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ti(Error)),eh=function(t){Nr(n,t);var e=Lr(n);function n(i){kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pi);function Vr(t){throw new Pi(t)}function Hr(t){throw new eh(t)}function th(t){Ri.error(new Pi(t))}var nh=Object.prototype.toString;function jr(t,e){return nh.call(t)==="[object "+e+"]"}function ih(t){return jr(t,"String")}function uh(t){return jr(t,"Promise")}var rh=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();uh(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,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!ih(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 r=n[u];return r!==void 0?String(r):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 ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){ah(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hf;return new rh({locale:n,messages:Vf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function lh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Yf("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var oh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ch={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||g(E)||_(E)||s(E))return E;var B,D=0,ne=0;if(h(E))for(B=[],ne=E.length;D<ne;D++)B.push(n(y,E[D],N));else{B={};for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&(B[y(x,N)]=n(y,E[x],N))}return B},i=function(y,E){E=E||{};var N=E.separator||"_",B=E.split||/(?=[A-Z])/;return y.split(B).join(N)},u=function(y){return I(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},g=function(y){return l.call(y)=="[object RegExp]"},_=function(y){return l.call(y)=="[object Boolean]"},I=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(B,D){return N(B,y,D)}},w={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(a,E),y,E)},pascalizeKeys:function(y,E){return n(b(r,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(oh)})(ch);function ve(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function sh(t){return Object.prototype.toString.call(t)==="[object Object]"}function xi(t){return Array.isArray(t)}function dh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Di(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 fh(t){if(Array.isArray(t))return Di(t)}function qr(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function hh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){qr(r,i,u,a,l,"next",s)}function l(s){qr(r,i,u,a,l,"throw",s)}a(void 0)})}}function yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vh(){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 Fi(t){return fh(t)||mh(t)||gh(t)||vh()}function gh(t,e){if(!!t){if(typeof t=="string")return Di(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 Di(t,e)}}var bh=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Eh=function(){function t(){yh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,r=new Array(u>1?u-1:0),a=1;a<u;a++)r[a-1]=arguments[a];var l=this;return hh(function(){var s,o,h,m,g,_,I,b,w,y,E,N;return bh(this,function(B){switch(B.label){case 0:if(s=l._events.get(i),o=[],!s)return[3,10];h=s.slice(),m=!0,g=!1,_=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),I=h[Symbol.iterator](),B.label=2;case 2:if(m=(b=I.next()).done)return[3,7];if(w=b.value,!s.includes(w))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),l.debug&&$r.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Fi(r))),[4,w.apply(null,Fi(r))];case 4:return y=B.sent(),l.debug&&$r.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Fi(r),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=B.sent(),th(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=B.sent(),g=!0,_=N,[3,10];case 9:try{!m&&I.return!=null&&I.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var r;(r=this._events.get(i))===null||r===void 0||r.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var r=this._events.get(i),a=r==null?void 0:r.indexOf(u);r==null||r.splice(a,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),Ch=[];new Set(Ch.map(function(t){return t.Designer.controlType}));function Ur(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 un(t){return un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},un(t)}function ce(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&&Oi(t,e)}function Wr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _h(t,e){return e&&(Ih(e)==="object"||typeof e=="function")?e:Ur(t)}function Oi(t,e){return Oi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oi(t,e)}var Ih=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wh(){if(typeof Reflect=="undefined"||!Reflect.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 se(t){var e=wh();return function(){var i=un(t),u;if(e){var r=un(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return _h(this,u)}}var ie=function t(e){A(this,t);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:""},Ah=function t(e){A(this,t);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},ki=function t(e){A(this,t);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:""},Sh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(ki),Kr=function t(e){A(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},zr=function t(e){A(this,t);var n,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 r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Kr(a)}))!==null&&r!==void 0?r:[]},Bh=function t(e){A(this,t);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:v.VARCHAR},Th=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";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}(ki),Rh=function t(e){A(this,t);var n,i;this.type="sublist-page",this.formBind=new ki(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(a){return new Bh(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Th(a)}))!==null&&r!==void 0?r:[]},Ph=function t(e){A(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){A(this,t);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:[]},xh=function t(e){var n=this;A(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"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 h,m=new Gr(l);(h=n.children)===null||h===void 0||h.push(m)}}))},Gr=function t(e){A(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();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 r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Ph(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){A(this,t);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 r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Ni=function t(e){A(this,t);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},Dh=function t(e){A(this,t);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 Mi(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new xh(r):new Gr(r)}))!==null&&n!==void 0?n:[],Wr(this,X)||Wr(this,Li)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Dh(r)}))!==null&&u!==void 0?u:[]}}var X=function t(e){var n=this;A(this,t);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 r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Ni(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",Mi.call(this,e)},Fh=function t(e){A(this,t);var n,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 r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new Ni(a)}))!==null&&r!==void 0?r:[]},rn=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u,r;u=e.call(this,i);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Fh(l)}))!==null&&a!==void 0?a:[],u}return n}(X),Oh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(rn),Xr=function t(e){A(this,t);var n,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 r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new p(a)}))!==null&&r!==void 0?r:[]},Li=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this,i),Mi.call(Ur(u),i),u}return n}(Xr),Qr=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;u=e.call(this,i);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(Xr),Jr=function t(e){A(this,t);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:""},kh=function t(e){A(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new kh(n)}))!==null&&e!==void 0?e:[]}var $i=function t(){A(this,t)},Nh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.amount=new ie(i==null?void 0:i.amount),u.currency=new ie(i==null?void 0:i.currency),u}return n}($i),Mh=function t(e){A(this,t);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:an.CNY},Lh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.min=new ie(i==null?void 0:i.min),u.max=new ie(i==null?void 0:i.max),u}return n}($i),$h=function t(e){A(this,t);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:""},Vh=function t(e){A(this,t);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 r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Hh=function(t){ce(n,t);var e=se(n);function n(i){A(this,n);var u;return u=e.call(this),u.result=new ie(i==null?void 0:i.result),u.unit=new ie(i==null?void 0:i.unit),u}return n}($i),jh=function t(e){A(this,t);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:""},an;(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"})(an||(an={}));var c;(function(t){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.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"})(c||(c={}));var Vi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vi||(Vi={}));var ge=function t(e){A(this,t);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 r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var a;this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},qh=function t(e){A(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new Kr(a)}))!==null&&r!==void 0?r:[],Mi.call(this,e)},Uh=function t(e){A(this,t);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 r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Wh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kh(){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 ln(t,e,n){return Kh()?ln=Reflect.construct:ln=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&st(o,a.prototype),o},ln.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function zh(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&&st(t,e)}function Gh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xh(t,e){return e&&(Qh(e)==="object"||typeof e=="function")?e:Wh(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var Qh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ji(t){var e=typeof Map=="function"?new Map:void 0;return ji=function(i){if(i===null||!Gh(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 ln(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},ji(t)}function Jh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zh(t){var e=Jh();return function(){var i=ct(t),u;if(e){var r=ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Xh(this,u)}}var $=function t(e){Hi(this,t),this.isHide={type:"boolean"}},we=function(t){zh(n,t);var e=Zh(n);function n(i){return Hi(this,n),e.call(this)}return n}(ji(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hi(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Uh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};q.Rules=$,q.RuntimeRules=we;function re(){return re=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},re.apply(this,arguments)}function Yh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function on(t,e){return on=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},on(t,e)}function ph(){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 cn(t,e,n){return ph()?cn=Reflect.construct:cn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&on(o,a.prototype),o},cn.apply(null,arguments)}function ey(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ui(t){var e=typeof Map=="function"?new Map:void 0;return Ui=function(i){if(i===null||!ey(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 cn(i,arguments,qi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),on(u,i)},Ui(t)}var ty=/%[sdj%]/g,Zr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Zr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Wi(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 ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(ty,function(l){if(l==="%%")return"%";if(i>=r)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 a}return u}function ny(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||ny(e)&&typeof t=="string"&&!t)}function iy(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Yr(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function uy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var pr=function(t){Yh(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}(Ui(Error));function ry(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new pr(w,Wi(w))):m()},I=uy(t);Yr(I,n,_)});return u.catch(function(m){return m}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],h=new Promise(function(m,g){var _=function(b){if(o.push.apply(o,b),s++,s===l)return i(o),o.length?g(new pr(o,Wi(o))):m()};a.length||(i(o),m()),a.forEach(function(I){var b=t[I];r.indexOf(I)!==-1?Yr(b,n,_):iy(b,n,_)})});return h.catch(function(m){return m}),h}function ea(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 ta(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]=re(re({},t[n]),i):t[n]=i}}return t}function na(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&i.push(ee(u.messages.required,t.fullField))}function ay(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Ki={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ki.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ki.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ki.hex)}};function ly(t,e,n,i,u){if(t.required&&e===void 0){na(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?dt[a](e)||i.push(ee(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ee(u.messages.types[a],t.fullField,t.type))}function oy(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,h=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?h="number":g?h="string":_&&(h="array"),!h)return!1;_&&(o=e.length),g&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function cy(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function sy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var S={required:na,whitespace:ay,type:ly,range:oy,enum:cy,pattern:sy};function dy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,r,u,"string"),V(e,"string")||(S.type(t,e,i,r,u),S.range(t,e,i,r,u),S.pattern(t,e,i,r,u),t.whitespace===!0&&S.whitespace(t,e,i,r,u))}n(r)}function fy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&S.type(t,e,i,r,u)}n(r)}function hy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&(S.type(t,e,i,r,u),S.range(t,e,i,r,u))}n(r)}function yy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&S.type(t,e,i,r,u)}n(r)}function my(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),V(e)||S.type(t,e,i,r,u)}n(r)}function vy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&(S.type(t,e,i,r,u),S.range(t,e,i,r,u))}n(r)}function gy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&(S.type(t,e,i,r,u),S.range(t,e,i,r,u))}n(r)}function by(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();S.required(t,e,i,r,u,"array"),e!=null&&(S.type(t,e,i,r,u),S.range(t,e,i,r,u))}n(r)}function Ey(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&S.type(t,e,i,r,u)}n(r)}var Cy="enum";function _y(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u),e!==void 0&&S[Cy](t,e,i,r,u)}n(r)}function Iy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e,"string")&&!t.required)return n();S.required(t,e,i,r,u),V(e,"string")||S.pattern(t,e,i,r,u)}n(r)}function wy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e,"date")&&!t.required)return n();if(S.required(t,e,i,r,u),!V(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),S.type(t,l,i,r,u),l&&S.range(t,l.getTime(),i,r,u)}}n(r)}function Ay(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;S.required(t,e,i,r,u,a),n(r)}function zi(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(V(e,r)&&!t.required)return n();S.required(t,e,i,a,u,r),V(e,r)||S.type(t,e,i,a,u)}n(a)}function Sy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(V(e)&&!t.required)return n();S.required(t,e,i,r,u)}n(r)}var ft={string:dy,method:fy,number:hy,boolean:yy,regexp:my,integer:vy,float:gy,array:by,object:Ey,enum:_y,pattern:Iy,date:wy,url:zi,hex:zi,email:zi,required:Ay,any:Sy};function Gi(){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 Xi=Gi();function be(t){this.rules=null,this._messages=Xi,this.define(t)}be.prototype={messages:function(e){return e&&(this._messages=ta(Gi(),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 r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(b){var w,y=[],E={};function N(B){if(Array.isArray(B)){var D;y=(D=y).concat.apply(D,B)}else y.push(B)}for(w=0;w<b.length;w++)N(b[w]);y.length?E=Wi(y):(y=null,E=null),l(y,E)}if(a.messages){var o=this.messages();o===Xi&&(o=Gi()),ta(o,a.messages),a.messages=o}else a.messages=this.messages();var h,m,g={},_=a.keys||Object.keys(this.rules);_.forEach(function(b){h=u.rules[b],m=r[b],h.forEach(function(w){var y=w;typeof y.transform=="function"&&(r===e&&(r=re({},r)),m=r[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=re({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(g[b]=g[b]||[],g[b].push({rule:y,value:m,source:r,field:b}))})});var I={};return ry(g,a,function(b,w){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,x){return re(re({},x),{},{fullField:y.fullField+"."+ne})}function B(ne){ne===void 0&&(ne=[]);var x=ne;if(Array.isArray(x)||(x=[x]),!a.suppressWarning&&x.length&&be.warning("async-validator:",x),x.length&&y.message!==void 0&&(x=[].concat(y.message)),x=x.map(ea(y)),a.first&&x.length)return I[y.field]=1,w(x);if(!E)w(x);else{if(y.required&&!b.value)return y.message!==void 0?x=[].concat(y.message).map(ea(y)):a.error&&(x=[a.error(y,ee(a.messages.required,y.field))]),w(x);var ae={};if(y.defaultField)for(var sc in b.value)b.value.hasOwnProperty(sc)&&(ae[sc]=y.defaultField);ae=re(re({},ae),b.rule.fields);for(var nt in ae)if(ae.hasOwnProperty(nt)){var b0=Array.isArray(ae[nt])?ae[nt]:[ae[nt]];ae[nt]=b0.map(N.bind(null,nt))}var dc=new be(ae);dc.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),dc.validate(b.value,b.rule.options||a,function(Tr){var it=[];x&&x.length&&it.push.apply(it,x),Tr&&Tr.length&&it.push.apply(it,Tr),w(it.length?it:null)})}}var D;y.asyncValidator?D=y.asyncValidator(y,b.value,B,b.source,a):y.validator&&(D=y.validator(y,b.value,B,b.source,a),D===!0?B():D===!1?B(y.message||y.field+" fails"):D instanceof Array?B(D):D instanceof Error&&B(D.message)),D&&D.then&&D.then(function(){return B()},function(ne){return B(ne)})},function(b){s(b)})},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(ee("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}},be.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},be.warning=Zr,be.messages=Xi,be.validators=ft;var By={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 Ty(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new be(t);return n.messages(Object.assign(By,e)),n}var Ry=new Eh;function Qi(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 Py(t){if(Array.isArray(t))return t}function xy(t){if(Array.isArray(t))return Qi(t)}function ia(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ua(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){ia(r,i,u,a,l,"next",s)}function l(s){ia(r,i,u,a,l,"throw",s)}a(void 0)})}}function Dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(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 Fy(t,e,n){return e&&ra(t.prototype,e),n&&ra(t,n),t}function Oy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function la(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ky(){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 Ny(){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 oa(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){Oy(t,u,n[u])})}return t}function My(t){return Py(t)||la(t)||ca(t)||ky()}function Ji(t){return xy(t)||la(t)||ca(t)||Ny()}function ca(t,e){if(!!t){if(typeof t=="string")return Qi(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 Qi(t,e)}}var sa=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},O=function(){function e(i){var u=this;Dy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=fa,this.removeSetting=da,this._callControlHooks("preInstance",i);var r=aa(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,s=r.controlType,o=r.controlFieldType,h=r.controlEventKeys,m=r.controlCustomEvents,g=r.name,_=r.setting;a&&l&&s||Hr("The ".concat(g," controlName,controlIcon,controlType is not define"));var I;this.id=(I=i==null?void 0:i.id)!==null&&I!==void 0?I:oe(10),this.name=a,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:s,this.props=new q(i==null?void 0:i.props,(aa(this,e)?this.constructor:void 0).controlName);var w;this.controlType=(w=i==null?void 0:i.controlType)!==null&&w!==void 0?w:"base",this.setting=ve(_);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ve(h),this.customEvents=ve(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,r=new Array(u),a=0;a<u;a++)r[a]=arguments[a];var l,s=My(r),o=s[0],h=s.slice(1);return(l=Ry).emit.apply(l,[o,this].concat(Ji(h)))},n.preUpdate=function(u,r){this._callControlHooks("preUpdateProps",u,r)},n.postUpdate=function(u,r){this._callControlHooks("postUpdateProps",u,r)},n.updateProps=function(u,r){this.preUpdate(u,r),lh(this.props,u,r),this.postUpdate(u,r)},n.preValidate=function(){var u=this;return ua(function(){var r,a,l;return sa(this,function(s){switch(s.label){case 0:return r=oa({},u.rules),[4,u._callControlHooks("preValidate",r)];case 1:return a=s.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,r){var a=this;return ua(function(){var l,s,o,h;return sa(this,function(m){switch(m.label){case 0:return[4,a.preValidate()];case 1:l=m.sent(),s=l!==void 0?l:oa({},a.rules),Array.isArray(r)&&r.forEach(function(g){s.hasOwnProperty(g)&&delete s[g]}),o=Ty(s,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=a),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,s=this.props,o=s.dataBind,h=s.datasourceBind,m=s.optionConfig,g=s.caption,_=s.required,I=s.maxLength,b=s.options,w=s.encrypted,y=s.encryptedMode;if(!(!r&&!o&&!h)){var E={parentId:u,fieldType:r,controlId:a,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),I!==void 0&&(E.maxLength=I),w!==void 0&&(E.encrypted=w),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,r){if(u==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Ji(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},Fy(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=da,O.updateSettingItem=fa;function da(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function fa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Ji(e.showItems))}}}})}function Ly(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ha(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 $y(t,e,n){return e&&ha(t.prototype,e),n&&ha(t,n),t}function Vy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){Ly(this,e),this.customEvents=[],this.parent=null;var i=Vy(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||Hr("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:oe(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 h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vi.UNKNOWN}return $y(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}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function Zi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=dh(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Yi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function ya(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dn(t)}function fn(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&&pi(t,e)}function Hy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function jy(t,e){return e&&(qy(e)==="object"||typeof e=="function")?e:ya(t)}function pi(t,e){return pi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pi(t,e)}var qy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Uy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function hn(t){var e=Uy();return function(){var i=dn(t),u;if(e){var r=dn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return jy(this,u)}}var Q=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(Hy(i.dataBind,ie))u.dataBind={type:"object",required:!0,fields:ve(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ve(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}($),k=function(t){fn(n,t);var e=hn(n);function n(i){sn(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:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(we),T=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;u=e.call(this,i);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!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 h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new ie(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}(q);T.Rules=Q,T.RuntimeRules=k;var Ue=function(t){fn(n,t);var e=hn(n);function n(i){sn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Zi.call(ya(u),i),u}return n}(Q);function Wy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(t)}function zy(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 Gy(t,e){return e&&(Xy(e)==="object"||typeof e=="function")?e:Wy(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},eu(t,e)}var Xy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qy(){if(typeof Reflect=="undefined"||!Reflect.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 Jy(t){var e=Qy();return function(){var i=yn(t),u;if(e){var r=yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gy(this,u)}}var R=function(t){zy(n,t);var e=Jy(n);function n(i){Ky(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(O);R.controlEventKeys=["on_change","on_focus","on_blur"];function Zy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function py(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&&tu(t,e)}function em(t,e){return e&&(tm(e)==="object"||typeof e=="function")?e:Zy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tu(t,e)}var tm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nm(){if(typeof Reflect=="undefined"||!Reflect.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 im(t){var e=nm();return function(){var i=mn(t),u;if(e){var r=mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return em(this,u)}}var P=function(t){py(n,t);var e=im(n);function n(i){Yy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(W);function um(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function am(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&&nu(t,e)}function lm(t,e){return e&&(om(e)==="object"||typeof e=="function")?e:um(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nu(t,e)}var om=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function cm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sm(t){var e=cm();return function(){var i=vn(t),u;if(e){var r=vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return lm(this,u)}}var M=function(t){am(n,t);var e=sm(n);function n(i){return rm(this,n),e.call(this,i)}return n}(q);function iu(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 dm(t){if(Array.isArray(t))return iu(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 ma(t){return dm(t)||fm(t)||ym(t)||hm()}function ym(t,e){if(!!t){if(typeof t=="string")return iu(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 iu(t,e)}}function mm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function va(t,e){t.parent=e,mm(t,"parent")}function vm(t,e){t.forEach(function(n){va(n,e)})}var ga=Symbol("targetKey");function ba(t){var e;return(e=t[ga])!==null&&e!==void 0?e:t}function Ea(t,e){return vm(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===ga?i:(s=Reflect).get.apply(s,[i,u].concat(ma(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(xi(t)&&u==="length"&&r===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,r].concat(ma(l)));return sh(r)&&va(r,e),h}})}function fe(t,e,n,i){var u=i!=null?i:t,r=Ea(ba(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=Ea(ba(l),u)},enumerable:!0})}function uu(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 gm(t){if(Array.isArray(t))return uu(t)}function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _a(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function bm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){_a(r,i,u,a,l,"next",s)}function l(s){_a(r,i,u,a,l,"throw",s)}a(void 0)})}}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,r,a){var l=Pm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},We(t,e,n||t)}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ee(t)}function _m(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&&ru(t,e)}function Im(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function wm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Am(){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 Sm(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){Cm(t,u,n[u])})}return t}function Bm(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 Tm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Bm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Rm(t,e){return e&&(xm(e)==="object"||typeof e=="function")?e:Ca(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ru(t,e)}function Pm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ee(t),t!==null););return t}function Ia(t){return gm(t)||wm(t)||Dm(t)||Am()}var xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function Fm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Om(t){var e=Fm();return function(){var i=Ee(t),u;if(e){var r=Ee(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Rm(this,u)}}var km=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Nm=1e4,H=function(e){_m(i,e);var n=Om(i);function i(r){Em(this,i);var a;a=n.call(this,r),a.controlType="layout";var l=Im(this,i)?this.constructor:void 0,s=l.excludes,o=l.childrenMaxLength;return a.props=new M(r==null?void 0:r.props),fe(Ca(a),"children",r==null?void 0:r.children),a.excludes=ve(s),a.childrenMaxLength=o,a}var u=i.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length},u.validate=function(a,l){var s=this,o=this,h=function(){return We(Ee(i.prototype),"validate",s)};return bm(function(){return km(this,function(m){switch(m.label){case 0:return[4,h().call(o,a,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(a,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(Ee(i.prototype),"toDataBindModel",this).call(this),s=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(a);if(Array.isArray(m)){var g=m.filter(function(_){return!!_});return Ia(o).concat(Ia(g))}return m&&o.push(m),o},s)},u.toSchema=function(){var a=We(Ee(i.prototype),"toSchema",this).call(this),l=this.children.map(function(s){var o=s.toSchema();return o});return Tm(Sm({},a),{children:l})},i}(O);H.excludes=!1,H.childrenMaxLength=Nm;function wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mm(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 Lm(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&&au(t,e)}function $m(t,e){return e&&(Vm(e)==="object"||typeof e=="function")?e:wa(t)}function au(t,e){return au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},au(t,e)}var Vm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hm(){if(typeof Reflect=="undefined"||!Reflect.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 jm(t){var e=Hm();return function(){var i=gn(t),u;if(e){var r=gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return $m(this,u)}}var U=function(t){Lm(n,t);var e=jm(n);function n(i){Mm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),fe(wa(u),"children",i==null?void 0:i.children),u}return n}(W);function Aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(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&&lu(t,e)}function Wm(t,e){return e&&(Km(e)==="object"||typeof e=="function")?e:Aa(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}var Km=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gm(t){var e=zm();return function(){var i=bn(t),u;if(e){var r=bn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Wm(this,u)}}var En=function(t){Um(n,t);var e=Gm(n);function n(i,u){qm(this,n);var r;return r=e.call(this,u),fe(Aa(r),"headers",u==null?void 0:u.headers,i),r}return n}(q);function ou(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 Xm(t){if(Array.isArray(t))return ou(t)}function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ba(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Qm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Ba(r,i,u,a,l,"next",s)}function l(s){Ba(r,i,u,a,l,"throw",s)}a(void 0)})}}function Jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,r,a){var l=iv(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},Ke(t,e,n||t)}function Ce(t){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(t)}function Ym(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&&cu(t,e)}function pm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ev(){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 Ta(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){Zm(t,u,n[u])})}return t}function tv(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 Ra(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):tv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function nv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:Sa(t)}function cu(t,e){return cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cu(t,e)}function iv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ce(t),t!==null););return t}function Pa(t){return Xm(t)||pm(t)||rv(t)||ev()}var uv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rv(t,e){if(!!t){if(typeof t=="string")return ou(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 ou(t,e)}}function av(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function lv(t){var e=av();return function(){var i=Ce(t),u;if(e){var r=Ce(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return nv(this,u)}}var ov=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)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 a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},su=function(t){Ym(n,t);var e=lv(n);function n(u){Jm(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new En(Sa(r),u==null?void 0:u.props),r}var i=n.prototype;return i.validate=function(r,a){var l=this,s=this,o=function(){return Ke(Ce(n.prototype),"validate",l)};return Qm(function(){return ov(this,function(h){switch(h.label){case 0:return[4,o().call(s,r)];case 1:return h.sent(),[4,Promise.all(s.props.headers.map(function(m){return m.validate(r,a)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var r=Ke(Ce(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(s,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(g){return!!g});return Pa(s).concat(Pa(m))}return h&&s.push(h),s},a)},i.toSchema=function(){var r=Ke(Ce(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return Ra(Ta({},r),{props:Ra(Ta({},this.props),{headers:a})})},n}(O);su.controlFieldType=v.LIST;function du(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(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 sv(t,e,n){return e&&xa(t.prototype,e),n&&xa(t,n),t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(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&&fu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:du(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){if(typeof Reflect=="undefined"||!Reflect.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 mv(t){var e=yv();return function(){var i=Cn(t),u;if(e){var r=Cn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return fv(this,u)}}var Da=function(t){dv(n,t);var e=mv(n);function n(i){cv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new En(du(u),i==null?void 0:i.props),fe(du(u),"children",i==null?void 0:i.children),u}return sv(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(t)}function yu(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&&mu(t,e)}function vv(t,e){return e&&(gv(e)==="object"||typeof e=="function")?e:Fa(t)}function mu(t,e){return mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mu(t,e)}var gv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vu(t){var e=bv();return function(){var i=_n(t),u;if(e){var r=_n(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return vv(this,u)}}var gu=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}($),j=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;u=e.call(this,i);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Ah(i==null?void 0:i.autoWidth),u.dataBind=new ie(i==null?void 0:i.dataBind);var s;return 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,u}return n}(q);j.Rules=gu;var Oa=function(t){yu(n,t);var e=vu(n);function n(i){hu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Zi.call(Fa(u),i),u}return n}(gu);function Ev(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function _v(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 Iv(t,e){return e&&(wv(e)==="object"||typeof e=="function")?e:Ev(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Av(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sv(t){var e=Av();return function(){var i=In(t),u;if(e){var r=In(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Iv(this,u)}}var K=function(t){_v(n,t);var e=Sv(n);function n(i){Cv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(O);function Bv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function Rv(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 Pv(t,e){return e&&(xv(e)==="object"||typeof e=="function")?e:Bv(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}var xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Fv(t){var e=Dv();return function(){var i=wn(t),u;if(e){var r=wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Pv(this,u)}}var z=function(t){Rv(n,t);var e=Fv(n);function n(i){Tv(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new j(i==null?void 0:i.props),u}return n}(W);function Ov(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 An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function Nv(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&&Cu(t,e)}function Mv(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:Ov(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cu(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vv(t){var e=$v();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Mv(this,u)}}var _u=function(t){Nv(n,t);var e=Vv(n);function n(i){kv(this,n);var u;return u=e.call(this,i),u.dataBind=new ie(i==null?void 0:i.dataBind),u}return n}(M);function Hv(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 Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function qv(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&&Iu(t,e)}function Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:Hv(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var Wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kv(){if(typeof Reflect=="undefined"||!Reflect.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 zv(t){var e=Kv();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Uv(this,u)}}var Gv=function(t){qv(n,t);var e=zv(n);function n(i){jv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new _u(i==null?void 0:i.props),u}return n}(H);function Xv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function Jv(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&&wu(t,e)}function Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:Xv(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wu(t,e)}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eg(t){var e=pv();return function(){var i=Bn(t),u;if(e){var r=Bn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Zv(this,u)}}var tg=function(t){Jv(n,t);var e=eg(n);function n(i){Qv(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new _u(i==null?void 0:i.props),u}return n}(U);class Au extends q{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class ka extends O{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}ka.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 ng extends W{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"text"}}var Na={Designer:ka,Runtime:ng,Property:Au};class Su 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 Bu extends O{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Bu.controlEventKeys=["on_click"],Bu.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 ig extends W{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ma={Designer:Bu,Runtime:ig,Property:Su};class J extends q{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"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 Z extends O{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.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 te extends W{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var La={Designer:Z,Runtime:te,Property:J},Ae=(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))(Ae||{}),$a=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))($a||{}),Va=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Va||{});class Tn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Tu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Tu||{});class Rn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ru=(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))(Ru||{});class Pu{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Ha{constructor(e){var n,i,u,r,a,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 Pu(s)))!=null?u:[new Pu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class xu{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(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=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Du{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 ja{constructor(e){var n,i,u,r;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=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Du(e==null?void 0:e.watermark),this.autoRename=new Du(e==null?void 0:e.autoRename)}}const qa=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ua{constructor(e){var n,i,u,r,a;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=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class Wa{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 Ka=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ka||{}),Fu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Fu||{}),Ou=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ou||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),ku=(t=>(t.ALL="all",t.ADMIN="admin",t))(ku||{});class Nu 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:Ru.SOLID}}class za extends O{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}za.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class ug extends W{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ga={Designer:za,Runtime:ug,Property:Nu};class rg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(Ae.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")})}}class Pn extends q{constructor(e){var n,i,u;super(e),this.dataBind=new ie(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:""}}Pn.Rules=rg;class Ge extends O{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=v.AUTO_NUMBER,Ge.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class ag extends W{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Xa={Designer:Ge,Runtime:ag,Property:Pn};class lg extends ${constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class xn extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}xn.Rules=lg;class yt extends Z{constructor(e){super(e),this.props=new xn(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"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.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 og extends te{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Qa={Designer:yt,Runtime:og,Property:xn};class cg extends ${constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Dn extends J{constructor(e){var n,i,u,r,a,l;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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Dn.Rules=cg;class mt extends Z{constructor(e){super(e),this.props=new Dn(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 sg extends te{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ja={Designer:mt,Runtime:sg,Property:Dn};class Mu extends J{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 Z{constructor(e){super(e),this.props=new Mu(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"}}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 dg extends te{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Za={Designer:vt,Runtime:dg,Property:Mu};class Lu extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new xu(a)))!=null?r:[new xu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends Z{constructor(e){super(e),this.props=new Lu(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 fg extends te{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ya={Designer:gt,Runtime:fg,Property:Lu};class $u extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new $u(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"}}bt.controlEventKeys=["on_click"],bt.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 hg extends te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var pa={Designer:bt,Runtime:hg,Property:$u};class yg{constructor(e){this.dataCode=e.dataCode}}class Vu extends J{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new yg(a)))!=null?r:[]}}class Et extends Z{constructor(e){super(e),this.props=new Vu(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 mg extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var el={Designer:Et,Runtime:mg,Property:Vu};function Fn(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class vg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},Fn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Fn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class On extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.formBind=new Sh(e==null?void 0:e.formBind),this.fillBack=new Qr(e==null?void 0:e.fillBack)}}On.Rules=vg;class Ct extends Z{constructor(e){super(e),this.props=new On(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 gg extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var tl={Designer:Ct,Runtime:gg,Property:On};class bg extends ${constructor(e){super(e),this.fillPayload={type:"object",fields:ye({},Fn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ye({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Fn())}}}class kn extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon,this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.listPageBind=new zr(e==null?void 0:e.listPageBind),this.fillBack=new Qr(e==null?void 0:e.fillBack)}}kn.Rules=bg;class _t extends Z{constructor(e){super(e),this.props=new kn(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"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 Eg extends te{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var nl={Designer:_t,Runtime:Eg,Property:kn};class Cg extends ${constructor(e){super(e)}}class _g extends we{constructor(e){super(e)}}class It extends q{constructor(e){super(e)}}It.Rules=Cg,It.RuntimeRules=_g;class il extends O{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}il.setting=[];class Ig extends W{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var ul={Designer:il,Runtime:Ig,Property:It};class wg extends ${constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Nn extends q{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Nn.Rules=wg;class rl extends O{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}rl.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 Ag extends W{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var al={Designer:rl,Runtime:Ag,Property:Nn};class Sg extends ${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:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Mn 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(r=>new qh(r)))!=null?u:[]}}Mn.Rules=Sg;class ll extends O{constructor(e){super(e),this.props=new Mn(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"}}ll.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Bg extends W{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ol={Designer:ll,Runtime:Bg,Property:Mn};class Tg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ln extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Xe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}Ln.Rules=Tg;class Xe extends Z{constructor(e){super(e),this.props=new Ln(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"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.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 Rg extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var cl={Designer:Xe,Runtime:Rg,Property:Ln};class Pg extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.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(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $n extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Qe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new p(g)))!=null?m:[]}}$n.Rules=Pg;class Qe extends Z{constructor(e){super(e),this.props=new $n(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"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.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 xg extends te{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var sl={Designer:Qe,Runtime:xg,Property:$n};class Dg extends ${constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Vn extends J{constructor(e){var n,i,u,r,a;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=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Ua(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Vn.Rules=Dg;class wt extends Z{constructor(e){super(e),this.props=new Vn(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 Fg extends te{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var dl={Designer:wt,Runtime:Fg,Property:Vn};class Hu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new Hu(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"}}At.controlEventKeys=["on_click"],At.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 Og extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fl={Designer:At,Runtime:Og,Property:Hu};class kg extends ${constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Hn extends q{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1}}Hn.Rules=kg;class jn extends O{constructor(e){super(e),this.props=new Hn(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"}}jn.controlEventKeys=["on_click"],jn.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 Ng extends W{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var hl={Designer:jn,Runtime:Ng,Property:Hn},Mg=Object.freeze({__proto__:null,Text:Na,Link:Ma,Button:La,Divider:Ga,Title:Xa,CreateFormListButton:Qa,BatchSubmissionListButton:Ja,SubmissionRecordListButton:Za,ExportListButton:Ya,ExportRecordListButton:pa,ImportRecordListButton:el,FormSelectButton:tl,ListSelectButton:nl,Pagination:ul,Dashboard:al,ListViewSelect:ol,TextOcrButton:cl,InvoiceCheckButton:sl,BatchPrintListButton:dl,BatchPrintRecordListButton:fl,OperationButton:hl});class Lg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $g extends k{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Je extends T{constructor(e){var n,i,u,r,a,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 Jr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ze.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\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:""}}Je.Rules=Lg,Je.RuntimeRules=$g;class Ze extends R{constructor(e){super(e),this.props=new Je(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"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=v.VARCHAR,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.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 yl extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}yl.controlFieldType=v.VARCHAR;var ml={Designer:Ze,Runtime:yl,Property:Je};class Vg extends Ue{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Hg extends k{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 St extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_;super(e),this.options=de((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=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!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 X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Bt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var b;(b=this.multistageFilling)==null||b.push(new p(I))}))}}St.Rules=Vg,St.RuntimeRules=Hg;class Bt extends R{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Bt.controlEventKeys=["on_change","on_click"],Bt.controlFieldType=v.ARRAY,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:"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 vl extends P{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}vl.controlFieldType=v.ARRAY;var gl={Designer:Bt,Runtime:vl,Property:St};class jg extends Ue{constructor(e){super(e)}}class qn extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.options=de((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=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!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 X(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Tt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}qn.Rules=jg;class Tt extends R{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=v.VARCHAR,Tt.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 bl extends P{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"radio"}}bl.controlFieldType=v.VARCHAR;var El={Designer:Tt,Runtime:bl,Property:qn};class qg extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Ug extends k{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:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Rt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,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=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!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=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Pt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Jr(e==null?void 0:e.regularRules)}}Rt.Rules=qg,Rt.RuntimeRules=Ug;class Pt extends R{constructor(e){super(e),this.props=new Rt(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}}Pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pt.controlFieldType=v.DECIMAL,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:"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 Cl extends P{constructor(e){super(e),this.props=new Rt(e==null?void 0:e.props)}static get controlType(){return"number"}}Cl.controlFieldType=v.DECIMAL;var _l={Designer:Pt,Runtime:Cl,Property:Rt};class ju extends T{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Tn(m)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Un extends R{constructor(e){super(e),this.props=new ju(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}}Un.controlFieldType=v.TIMESTAMP,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:"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 Il extends P{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Il.controlFieldType=v.TIMESTAMP;var wl={Designer:Un,Runtime:Il,Property:ju};class Wg extends k{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 Wn extends T{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dataBind=new Lh(e==null?void 0:e.dataBind),this.defaultValue=new $h(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Kn.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Tn(m)))!=null?h:[]}}Wn.RuntimeRules=Wg;class Kn extends R{constructor(e){super(e),this.props=new Wn(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}}Kn.controlFieldType=v.TIMESCOPE,Kn.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 Al extends P{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Al.controlFieldType=v.TIMESCOPE;var Sl={Designer:Kn,Runtime:Al,Property:Wn};class Kg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class zg extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class xt extends T{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.caption)!=null?r:Dt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}xt.Rules=Kg,xt.RuntimeRules=zg;class Dt extends R{constructor(e){super(e),this.props=new xt(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"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=v.TEXT,Dt.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 Bl extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Bl.controlFieldType=v.TEXT;var Tl={Designer:Dt,Runtime:Bl,Property:xt};class Gg extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Xg extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ft extends T{constructor(e){var n,i,u,r,a;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=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Ft.Rules=Gg,Ft.RuntimeRules=Xg;class Ot extends R{constructor(e){super(e),this.props=new Ft(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"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=v.TEXT,Ot.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 Rl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Rl.controlFieldType=v.TEXT;var Pl={Designer:Ot,Runtime:Rl,Property:Ft};class Qg extends Ue{constructor(e){super(e)}}class zn extends T{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Gn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}zn.Rules=Qg;class Gn extends R{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Gn.controlFieldType=v.VARCHAR,Gn.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 xl extends P{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"select"}}xl.controlFieldType=v.VARCHAR;var Dl={Designer:Gn,Runtime:xl,Property:zn};class Jg extends Ue{constructor(e){super(e)}}class Zg extends k{constructor(e){super(e),this[0].type="array"}}class kt extends T{constructor(e){var n,i,u,r,a,l;super(e),this.options=de((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Xn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))}))}}kt.Rules=Jg,kt.RuntimeRules=Zg;class Xn extends R{constructor(e){super(e),this.props=new kt(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"}}Xn.controlFieldType=v.ARRAY,Xn.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 Fl extends P{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Fl.controlFieldType=v.ARRAY;var Ol={Designer:Xn,Runtime:Fl,Property:kt};class Yg extends k{constructor(e){super(e),this[0].type="array"}}class Qn extends T{constructor(e){var n,i,u,r,a,l,s,o;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=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Jn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}Qn.RuntimeRules=Yg;class Jn extends R{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Jn.controlFieldType=v.EMPLOYEES,Jn.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 kl extends P{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"employee"}}kl.controlFieldType=v.EMPLOYEES;var Nl={Designer:Jn,Runtime:kl,Property:Qn};const pg=10485760,eb=104857600,tb=1048576e3;class nb extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:tb,message:d.getMessage("attachmentMaxSize")}}}class ib extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ye extends T{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:eb,this.caption=(s=e==null?void 0:e.caption)!=null?s:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=nb,Ye.RuntimeRules=ib;class pe extends R{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=v.FILE,pe.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 qu extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}qu.controlFieldType=v.FILE;var Ml={Designer:pe,Runtime:qu,Property:Ye};const Ll=class extends pe{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:Ll.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Uu=Ll;Uu.controlFieldType=v.IMAGE,Uu.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 ub extends qu{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,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=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class rb extends Ye{constructor(e){super(e)}}var $l={Designer:Uu,Runtime:ub,Property:rb};class ab extends Ue{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class lb extends k{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:[en(ye({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,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=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new Nh(e==null?void 0:e.dataBind),this.datasourceBind=new X((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Ni({value:"name"})]}),this.defaultValue=new Mh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:an.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Nt.Rules=ab,Nt.RuntimeRules=lb;class Mt extends R{constructor(e){super(e),this.props=new Nt(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}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=v.MONEY,Mt.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 Vl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}Vl.controlFieldType=v.MONEY;var Hl={Designer:Mt,Runtime:Vl,Property:Nt};class ob extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class cb extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Lt extends T{constructor(e){var n,i,u,r,a,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:Tu.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Rn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Rn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:$t.controlName}}Lt.Rules=ob,Lt.RuntimeRules=cb;class $t extends R{constructor(e){super(e),this.props=new Lt(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 Rn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}$t.controlEventKeys=["on_change","on_click"],$t.controlFieldType=v.DECIMAL,$t.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 jl extends P{constructor(e){super(e),this.props=new Lt(e==null?void 0:e.props)}static get controlType(){return"score"}}jl.controlFieldType=v.DECIMAL;var ql={Designer:$t,Runtime:jl,Property:Lt};class sb extends k{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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Zn extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yn.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 Vh((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Zn.RuntimeRules=sb;class Yn extends R{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Yn.controlFieldType=v.ADDRESS,Yn.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 Ul extends P{constructor(e){super(e),this.props=new Zn(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"}}Ul.controlFieldType=v.ADDRESS;var Wl={Designer:Yn,Runtime:Ul,Property:Zn};class db extends k{constructor(e){super(e),this[0].type="array"}}class pn extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;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=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.caption)!=null?h:ei.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new p(g))}))}}pn.RuntimeRules=db;class ei extends R{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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}}ei.controlFieldType=v.DEPARTMENTS,ei.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 Kl extends P{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"department"}}Kl.controlFieldType=v.DEPARTMENTS;var zl={Designer:ei,Runtime:Kl,Property:pn};class Wu extends T{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:Vt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Vt extends R{constructor(e){super(e),this.props=new Wu(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"}}Vt.controlEventKeys=["on_change"],Vt.controlFieldType=v.AUTO_NUMBER,Vt.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 Gl extends P{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Gl.controlFieldType=v.AUTO_NUMBER;var Xl={Designer:Vt,Runtime:Gl,Property:Wu};class fb extends Q{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 hb extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Ht extends T{constructor(e){var n,i,u,r,a,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 Hh(e==null?void 0:e.dataBind),this.defaultValue=new jh(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\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:""}}Ht.Rules=fb,Ht.RuntimeRules=hb;class jt extends R{constructor(e){super(e),this.props=new Ht(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}}jt.controlEventKeys=["on_change"],jt.controlFieldType=v.CALC,jt.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 Ql extends P{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ql.controlFieldType=v.CALC;var Jl={Designer:jt,Runtime:Ql,Property:Ht};class yb extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ti extends T{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ni.controlName}}ti.RuntimeRules=yb;class ni extends R{constructor(e){super(e),this.props=new ti(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"}}ni.controlFieldType=v.DECIMAL_RANGE,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:"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 Zl extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Zl.controlFieldType=v.DECIMAL_RANGE;var Yl={Designer:ni,Runtime:Zl,Property:ti};class mb extends k{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 ii extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:me.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:ui.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(g=>new Tn(g)))!=null?m:[]}}ii.RuntimeRules=mb;class ui extends R{constructor(e){super(e),this.props=new ii(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=v.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:"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 pl extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}pl.controlFieldType=v.ARRAY;var eo={Designer:ui,Runtime:pl,Property:ii};class vb extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class gb extends k{constructor(e){super(e),this[0].type="any"}}class qt extends T{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ut.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=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}qt.Rules=vb,qt.RuntimeRules=gb;class Ut extends R{constructor(e){super(e),this.props=new qt(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"}}Ut.controlFieldType=v.ANY,Ut.controlEventKeys=[],Ut.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 to extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}to.controlFieldType=v.ANY;var no={Designer:Ut,Runtime:to,Property:qt};class bb extends Ue{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ri extends T{constructor(e){var n,i,u,r,a,l;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new zr(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:ai.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}ri.Rules=bb;class ai extends R{constructor(e){super(e),this.props=new ri(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"}}ai.controlFieldType=v.VARCHAR,ai.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.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class io extends P{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}io.controlFieldType=v.VARCHAR;var uo={Designer:ai,Runtime:io,Property:ri};class Ku extends Je{constructor(e){super(e)}}class ro extends Ze{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}ro.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 ao extends P{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ao.controlFieldType=v.VARCHAR;var lo={Designer:ro,Runtime:ao,Property:Ku};class Eb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Yi.call(this,e,Se.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class Cb extends k{constructor(e){super(e),this[0].type="array"}}class Wt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.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=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"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.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Oh((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Se.controlCustomAttributes}),this.multistageFilling=(_=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(b=>new p(b)))!=null?_:[],this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:[]}}Wt.Rules=Eb,Wt.RuntimeRules=Cb;class Se extends R{constructor(e){super(e),this.props=new Wt(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}]}}Se.controlEventKeys=["on_change","on_click"],Se.controlFieldType=v.ARRAY,Se.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.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 oo extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"tree"}}oo.controlFieldType=v.ARRAY;var co={Designer:Se,Runtime:oo,Property:Wt};class _b extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Yi.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class Ib extends k{constructor(e){super(e),this[0].type="array"}}class Kt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,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=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:et.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 rn((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Fu.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ku.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ze.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var w;(w=this.multistageFilling)==null||w.push(new p(b))}))}}Kt.Rules=_b,Kt.RuntimeRules=Ib;class et extends R{constructor(e){super(e),this.props=new Kt(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}]}}et.controlFieldType=v.EMPLOYEES,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:!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 so extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}so.controlFieldType=v.EMPLOYEES;var fo={Designer:et,Runtime:so,Property:Kt};class wb extends Q{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(r,a,l){if(i.type==="public"&&xi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&xi(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class li extends T{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.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=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Ha(e==null?void 0:e.signatureConfig)}}li.Rules=wb;class zt extends R{constructor(e){super(e),this.props=new li(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"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.controlFieldType=v.VARCHAR,zt.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 ho extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}ho.controlFieldType=v.VARCHAR;var yo={Designer:zt,Runtime:ho,Property:li};class Ab extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Sb extends k{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.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=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!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=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:pg,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new ja(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}Gt.Rules=Ab,Gt.RuntimeRules=Sb;class Xt extends R{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Xt.controlEventKeys=["on_change","on_wps_open"],Xt.controlFieldType=v.FILE,Xt.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 mo extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"wps"}}mo.controlFieldType=v.FILE;var vo={Designer:Xt,Runtime:mo,Property:Gt};class Bb extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Yi.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Tb extends k{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,i,u,r,a,l,s,o,h,m,g,_,I,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=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new rn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:tt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ou.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var y;(y=this.multistageFilling)==null||y.push(new p(w))}))}}Qt.Rules=Bb,Qt.RuntimeRules=Tb;class tt extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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}}tt.controlFieldType=v.DEPARTMENTS,tt.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-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 go extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"department2"}}go.controlFieldType=v.DEPARTMENTS;var bo={Designer:tt,Runtime:go,Property:Qt},Rb=Object.freeze({__proto__:null,Input:ml,Checkbox:gl,Radio:El,Number:_l,DatePicker:wl,DateRange:Sl,Textarea:Tl,RichText:Pl,Select:Dl,SelectMultiple:Ol,Employee:Nl,Image:$l,Attachment:Ml,Amount:Hl,Score:ql,Address:Wl,Department:zl,AutoNumber:Xl,Calc:Jl,SearchNumberRange:Yl,SearchDateRange:eo,VueFormItem:no,SelectRelation:uo,SearchInput:lo,Tree:co,Employee2:fo,ElectronicSignature:yo,WPS:vo,Department2:bo});class Eo extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Eo.excludes=[C.GRID];class Pb extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Co={Designer:Eo,Runtime:Pb,Property:M};const xb=24;class Be extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:xb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Jt extends H{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Jt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Jt.childrenMaxLength=1;class zu extends U{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlType(){return"col"}}var _o={Designer:Jt,Runtime:zu,Property:Be};class oi extends M{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 ci extends H{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ci.excludes=[C.ROW],ci.setting=[{key:"col-setting",visible:!0}];class Io extends U{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"row"}}var wo={Designer:ci,Runtime:Io,Property:oi};const Db=4;class si extends ci{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)}}si.excludes=[C.GRID_ROW],si.setting=[],si.childrenMaxLength=Db;class Fb extends Io{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Ob extends oi{constructor(e){super(e)}}var Ao={Designer:si,Runtime:Fb,Property:Ob};class kb extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class di extends M{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"}}di.Rules=kb;class Gu extends H{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Gu.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}],Gu.excludes=[C.CARD_GROUP];class Nb extends U{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var So={Designer:Gu,Runtime:Nb,Property:di};class Mb extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class fi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,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.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}fi.Rules=Mb;class ue extends H{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}}ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ue.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class Bo extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}}Bo.controlType="subtable-column";var To={Designer:ue,Runtime:Bo,Property:fi};class Xu extends M{constructor(e){super(e)}}class Te extends H{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}}Te.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Te.controlType="subtable-row",Te.controlIcon="subtable-row",Te.childrenMaxLength=1,Te.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Te.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Lb extends U{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ro={Designer:Te,Runtime:Lb,Property:Xu};class Qu extends M{constructor(e){var n,i,u,r,a,l,s,o,h,m;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=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new X(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=(h=e==null?void 0:e.timestampDateType)!=null?h:me.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Re extends H{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}Re.controlName="\u5217\u8868\u5355\u5143\u683C",Re.controlType="gridtable-column",Re.controlIcon="gridtable-column",Re.childrenMaxLength=1,Re.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Po extends U{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}Po.controlType="gridtable-column";var xo={Designer:Re,Runtime:Po,Property:Qu};class Ju extends M{constructor(e){super(e)}}class $b extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class hi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.controlName}}hi.Rules=$b;class Zt extends H{constructor(e){super(e),this.props=new hi(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"}}Zt.excludes=[C.TAB],Zt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Vb extends U{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Do={Designer:Zt,Runtime:Vb,Property:hi};class yi extends H{constructor(e){var n;super(e),this.props=new Ju(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Zt,new Zt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}yi.excludes=[C.TAB],yi.setting=[{key:"super-setting",visible:!0}];class Hb extends U{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Fo={Designer:yi,Runtime:Hb,Property:Ju};class Oo extends M{constructor(e){super(e)}}class ko extends H{constructor(e){super(e),this.props=new Oo({}),this.children=(e==null?void 0:e.children)||[new Jt({props:new Be({span:12})}),new Jt({props:new Be({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ko.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class jb extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new zu({props:new Be({span:12})}),new zu({props:new Be({span:12})})]}}var No={Designer:ko,Runtime:jb,Property:Oo};class qb extends we{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ub extends ${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:d.getMessage("pleaseEnterFieldCode")}),Zi.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 Yt extends M{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.datasourceBind=new X(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=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Rh(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0,this.countType=(h=e==null?void 0:e.countType)!=null?h:"async"}}Yt.Rules=Ub,Yt.RuntimeRules=qb;class mi extends H{constructor(e){super(e),this.props=new Yt(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"}}mi.excludes=[C.ROW],mi.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"],mi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Wb extends U{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Mo={Designer:mi,Runtime:Wb,Property:Yt};class Kb extends we{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.save=new ge((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ge((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ge((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ge((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new ge(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}vi.RuntimeRules=Kb;class Lo extends H{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Lo.excludes=[];class zb extends U{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var $o={Designer:Lo,Runtime:zb,Property:vi};class Gb extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Xb extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Qb extends M{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 Vo={Designer:Gb,Runtime:Xb,Property:Qb};class Jb extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Zb extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Yb extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Wa(e==null?void 0:e.flexConfig)}}var Ho={Designer:Jb,Runtime:Zb,Property:Yb};class pb extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class e0 extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class t0 extends M{constructor(e){super(e)}}var jo={Designer:pb,Runtime:e0,Property:t0};class n0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class i0 extends U{static get controlType(){return"position"}constructor(e){super(e)}}class u0 extends M{constructor(e){var n,i,u,r;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=(r=e==null?void 0:e.top)!=null?r:0}}var qo={Designer:n0,Runtime:i0,Property:u0},r0=Object.freeze({__proto__:null,Grid:Co,Col:_o,Row:wo,GridRow:Ao,CardGroup:So,SubTableColumn:To,SubTableRow:Ro,GridTableColumn:xo,Tab:Fo,TabPane:Do,Toolbox:No,ListView:Mo,DataView:$o,Page:Vo,AdvancedContainer:Ho,PositioningContainer:jo,Position:qo});class a0 extends ${constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class l0 extends we{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class pt extends En{constructor(e,n){var i,u,r,a,l,s,o,h,m,g,_,I,b,w,y,E,N,B,D,ne,x;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:gi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"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=(h=n==null?void 0:n.maxHeight)!=null?h:qa,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.defaultRows=(_=n==null?void 0:n.defaultRows)!=null?_:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(I=n==null?void 0:n.canAdd)!=null?I:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(w=n==null?void 0:n.canCheck)!=null?w:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(B=n==null?void 0:n.canClear)!=null?B:!0,this.serverPagination=(D=n==null?void 0:n.serverPagination)!=null?D:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:""}}pt.Rules=a0,pt.RuntimeRules=l0;class gi extends su{constructor(e){var n;super(e),this.props=new pt(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 ue,new ue,new ue])}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 ue,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}gi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],gi.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]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class o0 extends Da{constructor(e){super(e),this.props=new pt(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Vr("Method not implemented.")}getChildrenFormControl(){return[]}}var Uo={Designer:gi,Runtime:o0,Property:pt};class Zu extends En{constructor(e,n){var i,u,r,a;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=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class c0 extends gu{constructor(e){super(e),this.caption.required=!1}}class bi extends j{constructor(e){var n,i,u,r,a,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:Pe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?a: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"}}bi.Rules=c0;class Pe extends K{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}Pe.controlType="order-column",Pe.controlName="\u5E8F\u53F7",Pe.controlIcon="order-column",Pe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Yu extends z{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}Yu.controlType="order-column",Yu.controlFieldType=v.DECIMAL;var Wo={Designer:Pe,Runtime:Yu,Property:bi};class pu extends j{constructor(e){var n,i,u,r,a,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=(r=e==null?void 0:e.caption)!=null?r:he.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class he extends K{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{n instanceof jn&&(e.props[n.props.command]=n.props)}),e}toSchema(){const e=super.toSchema();return en(ye({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Pr(this,null,function*(){return yield Rr(he.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}he.controlType="operation-column",he.controlName="\u64CD\u4F5C",he.controlIcon="operation-column",he.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 er extends z{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}er.controlType="operation-column",er.controlFieldType=v.FILE;var Ko={Designer:he,Runtime:er,Property:pu};class Ei extends su{constructor(e){super(e),this.props=new Zu(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Pe,new he])}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 en(ye({},e),{children:n})}validate(e,n){return Pr(this,null,function*(){return yield Rr(Ei.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ei.setting=[{key:"list-fixed-header",visible:!0}];class s0 extends Da{constructor(e){super(e),this.props=new Zu(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Vr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var zo={Designer:Ei,Runtime:s0,Property:Zu},d0=Object.freeze({__proto__:null,SubTable:Uo,GridTable:zo});class f0 extends Oa{constructor(e){super(e)}}class Ci extends j{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ci.Rules=f0;class xe extends K{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}xe.controlType="varchar-column",xe.controlName="\u77ED\u6587\u672C",xe.controlIcon="varchar-column",xe.controlFieldType=v.VARCHAR,xe.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-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class tr extends z{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}tr.controlType="varchar-column",tr.controlFieldType=v.VARCHAR;var Go={Designer:xe,Runtime:tr,Property:Ci};class nr extends j{constructor(e){var n,i,u;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:De.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class De extends K{constructor(e){super(e),this.props=new nr(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}}De.controlType="text-column",De.controlName="\u957F\u6587\u672C",De.controlIcon="text-column",De.controlFieldType=v.TEXT,De.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-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ir extends z{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="text-column",ir.controlFieldType=v.TEXT;var Xo={Designer:De,Runtime:ir,Property:nr};class ur extends j{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.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=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends K{constructor(e){super(e),this.props=new ur(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}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=v.DECIMAL,Fe.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:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class rr extends z{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}rr.controlType="decimal-column",rr.controlFieldType=v.DECIMAL;var Qo={Designer:Fe,Runtime:rr,Property:ur};class ar extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends K{constructor(e){super(e),this.props=new ar(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}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=v.TIMESCOPE,Oe.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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}lr.controlType="timescope-column",lr.controlFieldType=v.TIMESCOPE;var Jo={Designer:Oe,Runtime:lr,Property:ar};class or extends j{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends K{constructor(e){super(e),this.props=new or(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}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=v.TIMESTAMP,ke.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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class cr extends z{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}cr.controlType="timestamp-column",cr.controlFieldType=v.TIMESTAMP;var Zo={Designer:ke,Runtime:cr,Property:or};class h0 extends Oa{constructor(e){super(e)}}class _i extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}_i.Rules=h0;class Ne extends K{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=v.ARRAY,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-options-setting",visible:!0},{key:"column-sort",visible:!0}];class sr extends z{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}}sr.controlType="array-column",sr.controlFieldType=v.ARRAY;var Yo={Designer:Ne,Runtime:sr,Property:_i};class dr extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends K{constructor(e){super(e),this.props=new dr(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}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=v.DEPARTMENTS,Me.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 fr extends z{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="department-column",fr.controlFieldType=v.DEPARTMENTS;var po={Designer:Me,Runtime:fr,Property:dr};class hr extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}Le.controlType="auto-number-column",Le.controlName="\u81EA\u52A8\u7F16\u53F7",Le.controlIcon="auto-number-column",Le.controlFieldType=v.AUTO_NUMBER,Le.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 yr extends z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="auto-number-column",yr.controlFieldType=v.AUTO_NUMBER;var ec={Designer:Le,Runtime:yr,Property:hr};class mr extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends K{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}$e.controlType="file-column",$e.controlName="\u9644\u4EF6",$e.controlIcon="file-column",$e.controlFieldType=v.FILE,$e.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 z{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="file-column",vr.controlFieldType=v.FILE;var tc={Designer:$e,Runtime:vr,Property:mr};class gr extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=v.IMAGE,Ve.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 br extends z{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=v.IMAGE;var nc={Designer:Ve,Runtime:br,Property:gr};class Er extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=v.EMPLOYEES,He.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 Cr extends z{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="people-column",Cr.controlFieldType=v.EMPLOYEES;var ic={Designer:He,Runtime:Cr,Property:Er};class _r extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=v.ADDRESS,je.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 Ir extends z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Ir.controlType="location-column",Ir.controlFieldType=v.ADDRESS;var uc={Designer:je,Runtime:Ir,Property:_r};class wr extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const y0=1;class _e extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new wr(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=ve(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 en(ye({},e),{children:this.children.map(n=>n.toSchema())})}}_e.controlType="custom-column",_e.controlName="\u81EA\u5B9A\u4E49",_e.controlIcon="custom-column",_e.excludes=[],_e.childrenMaxLength=y0,_e.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 rc extends z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}rc.controlType="custom-column";var ac={Designer:_e,Runtime:rc,Property:wr};class Ar extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ie.controlName,this.datasourceBind=new rn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ie.controlCustomAttributes})}}class Ie extends K{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ie.controlType="employee-column",Ie.controlName="\u4EBA\u5458",Ie.controlIcon="employee-column",Ie.controlFieldType=v.EMPLOYEES,Ie.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 z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=v.EMPLOYEES;var lc={Designer:Ie,Runtime:Sr,Property:Ar},m0=Object.freeze({__proto__:null,VarcharColumn:Go,TextColumn:Xo,DecimalColumn:Qo,TimescopeColumn:Jo,TimestampColumn:Zo,ArrayColumn:Yo,DepartmentColumn:po,AutoNumberColumn:ec,FileColumn:tc,ImageColumn:nc,PeopleColumn:ic,LocationColumn:uc,CustomColumn:ac,OrderColumn:Wo,OperationColumn:Ko,EmployeeColumn:lc});class v0 extends we{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ii extends _u{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new ge((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ge((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new ge(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Ii.RuntimeRules=v0;class Br extends Gv{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}Br.controlType="simple-search",Br.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 oc extends tg{constructor(e){var n;super(e),this.props=new Ii(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}oc.controlType="simple-search";var cc={Designer:Br,Runtime:oc,Property:Ii},g0=Object.freeze({__proto__:null,SimpleSearch:cc});f.Address=Wl,f.AdvancedContainer=Ho,f.Amount=Hl,f.ArrayColumn=Yo,f.AssignType=ze,f.Attachment=Ml,f.AutoNumber=Xl,f.AutoNumberColumn=ec,f.BatchPrintListButton=dl,f.BatchPrintRecordListButton=fl,f.BatchSubmissionListButton=Ja,f.Button=La,f.Calc=Jl,f.CardGroup=So,f.Checkbox=gl,f.Col=_o,f.CreateFormListButton=Qa,f.CustomColumn=ac,f.DATE_CONFIG_TYPE=$a,f.DATE_LIMIT_TYPE=Va,f.Dashboard=al,f.DataView=$o,f.DatePicker=wl,f.DateRange=Sl,f.DecimalColumn=Qo,f.Department=zl,f.Department2=bo,f.DepartmentColumn=po,f.DepartmentType=Ou,f.Divider=Ga,f.ElectronicSignature=yo,f.ElectronicSignatureConfig=Ha,f.Employee=Nl,f.Employee2=fo,f.EmployeeColumn=lc,f.EncryptTypeEnum=Ka,f.Explain=Rn,f.ExportListButton=Ya,f.ExportRecordListButton=pa,f.ExportTemplate=xu,f.FileColumn=tc,f.FlexStyleConfig=Wa,f.FormSelectButton=tl,f.Grid=Co,f.GridRow=Ao,f.GridTable=zo,f.GridTableColumn=xo,f.Image=$l,f.ImageColumn=nc,f.ImportRecordListButton=el,f.Input=ml,f.InternalType=ku,f.InvoiceCheckButton=sl,f.LINE_STYLE=Ru,f.LimitDate=Tn,f.Link=Ma,f.ListSelectButton=nl,f.ListView=Mo,f.ListViewSelect=ol,f.LocationColumn=uc,f.Number=_l,f.OperationButton=hl,f.OperationColumn=Ko,f.OrderColumn=Wo,f.OrganizeType=Fu,f.Page=Vo,f.Pagination=ul,f.PeopleColumn=ic,f.Position=qo,f.PositioningContainer=jo,f.PrintTemplate=Ua,f.Radio=El,f.RichText=Pl,f.Row=wo,f.SCORE_TYPE=Tu,f.SUBTABLE_DEFAULT_MAX_HEIGHT=qa,f.Score=ql,f.SearchDateRange=eo,f.SearchInput=lo,f.SearchNumberRange=Yl,f.Select=Dl,f.SelectMultiple=Ol,f.SelectRelation=uo,f.SimpleSearch=cc,f.SubTable=Uo,f.SubTableColumn=To,f.SubTableRow=Ro,f.SubmissionRecordListButton=Za,f.Tab=Fo,f.TabPane=Do,f.Text=Na,f.TextColumn=Xo,f.TextOcrButton=cl,f.Textarea=Tl,f.TimescopeColumn=Jo,f.TimestampColumn=Zo,f.Title=Xa,f.TitleConfigEnum=Ae,f.Toolbox=No,f.Tree=co,f.UndersignedPerson=Pu,f.VarcharColumn=Go,f.VueFormItem=no,f.WPS=vo,f.WPSSetting=ja,f.WpsOperationItem=Du,f.baseControls=Mg,f.columnControls=m0,f.formControls=Rb,f.initExpression=ht,f.layoutControls=r0,f.listControls=d0,f.searchControls=g0,Object.defineProperty(f,"__esModule",{value:!0})});
1
+ var E0=Object.defineProperty,C0=Object.defineProperties;var I0=Object.getOwnPropertyDescriptors;var fc=Object.getOwnPropertySymbols,w0=Object.getPrototypeOf,A0=Object.prototype.hasOwnProperty,S0=Object.prototype.propertyIsEnumerable,_0=Reflect.get;var hc=(h,O,$)=>O in h?E0(h,O,{enumerable:!0,configurable:!0,writable:!0,value:$}):h[O]=$,ve=(h,O)=>{for(var $ in O||(O={}))A0.call(O,$)&&hc(h,$,O[$]);if(fc)for(var $ of fc(O))S0.call(O,$)&&hc(h,$,O[$]);return h},nn=(h,O)=>C0(h,I0(O));var Pa=(h,O,$)=>_0(w0(h),$,O);var Da=(h,O,$)=>new Promise((ue,un)=>{var _i=ce=>{try{rt($.next(ce))}catch(lt){un(lt)}},Ri=ce=>{try{rt($.throw(ce))}catch(lt){un(lt)}},rt=ce=>ce.done?ue(ce.value):Promise.resolve(ce.value).then(_i,Ri);rt(($=$.apply(h,O)).next())});(function(h,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],O):(h=typeof globalThis!="undefined"?globalThis:h||self,O(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,O){"use strict";function $(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ue=$(O),un="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",_i="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ri="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",rt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lt="{caption}\u5FC5\u586B",yc="\u8BF7\u8F93\u5165\u6807\u9898",mc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",vc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",gc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",bc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ec="\u8BF7\u7ED1\u5B9A\u5217\u8868",Cc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ic="\u8BF7\u8F93\u5165\u663E\u793A\u503C",wc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ac="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Sc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_c="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Rc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Tc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Pc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Dc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Oc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",kc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Nc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Mc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",$c="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Lc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Vc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Hc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",jc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",qc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Uc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wc="\u8BF7\u9009\u62E9\u7701",Kc="\u8BF7\u9009\u62E9\u5E02",zc="\u8BF7\u9009\u62E9\u533A",Gc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Xc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Qc="\u8BF7\u8F93\u5165\u5217\u5BBD",Jc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Zc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Yc="\u8BF7\u9009\u62E9\u63A7\u4EF6",pc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",es="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ts="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ns="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",is="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",us="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",as="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ls="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ss="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ds="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",hs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ys="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ms="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gs="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Es="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Cs={isNotNumber:un,isNotString:_i,isNotObject:Ri,isNotArray:rt,isNotBoolean:ce,runtimeRequired:lt,pleaseEnterCaption:yc,pleaseEnterCaptionTip:mc,pleaseEnterPlaceholder:vc,pleaseEnterFieldCode:gc,pleaseEnterForm:bc,pleaseEnterList:Ec,pleaseEnterProcess:Cc,pleaseEnterLabel:Ic,pleaseEnterValue:wc,bizKeyNotBindFiled:Ac,pleaseEnterNumberRange:Sc,pleaseEnterAValueGreaterThanMin:_c,pleaseEnterAValueLessThanMax:Rc,numberRangeSetError:Bc,stringRangeError:Tc,attachmentMaxSize:Pc,pleaseEnterTotalScoreSetting:Dc,theTotalScoreMustNotBeLessThan1:xc,scoreDefaultValueRange:Fc,attachmentLimitError:Oc,PleaseReselectTheOptionalQuantity:kc,TheMaximumLengthIsGreaterThanTheMinimumLength:Nc,TheMinimumLengthIsGreaterThanTheMaximumLength:Mc,PleaseSelectTheCorrectOptionSettings:$c,optionIdIsRepeat:Lc,optionIsRequired:Vc,pleaseEnterDataCode:Hc,pleaseEnterValueFieldCode:jc,pleaseEnterSvcCode:qc,pleaseBindAtLeastOneDisplayValue:Uc,pleaseSelectProvince:Wc,pleaseSelectCity:Kc,pleaseSelectDistrict:zc,limitRowsCannotBeLessThan0:Gc,TheNumberOfRowsCannotBeLessThanMinRows:Xc,pleaseEnterColumnWidth:Qc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Jc,pleaseCompleteAllRulesAndConditions:Zc,pleaseSelectControl:Yc,pleaseSelectAtLeastOneColumn:pc,pleaseSelectFillBackMode:es,pleaseSelectDashboard:ts,rootNodeIsRequired:ns,theViewNameCannotBeEmpty:is,pleaseSelectOcrType:us,pleaseSelectAtLeastOneFieldToFillIn:as,pleaseChooseAtLeastOne:rs,pleaseEnterButtonContent:ls,pleaseEnterDataCodeInDataSetting:os,pleaseEnterValueFieldCodeInDataSetting:cs,pleaseEnterSvcCodeInDataSetting:ss,pleaseBindAtLeastOneDisplayValueInDataSetting:ds,rootNodeIsRequiredInDataSetting:fs,pleaseEnterMaxHeight:hs,pleaseEnter:ys,pleaseEnterWatermark:ms,pleaseEnterFileName:vs,pleaseUploadAtLeastOnePrintTemplate:gs,pleaseAssignBusiness:bs,pleaseAssignExternal:Es},Is="Please enter a number",ws="Please enter a string",As="Please enter an object",Ss="Please enter an array",_s="Please enter a boolean",Rs="{caption} Required",Bs="Please enter the title",Ts="Please enter the bubble prompt",Ps="Please enter the prompt text",Ds="Please bind data items",xs="Please bind the form",Fs="Please bind the list",Os="Please bind the process",ks="Please enter the displayed value",Ns="Please enter the stored value",Ms="The document number is not bound to the data item",$s="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ls="Please enter a value greater than or equal to {min}",Vs="Please enter a value less than or equal to {max}",Hs="The value range is set incorrectly",js="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qs="The attachment size must be between 0MB and 1000MB",Us="Please fill in the total score setting",Ws="The total score cannot be less than 1",Ks="The default value must be between {min} and {max}",zs="The number of attachments uploaded must be between {min} and {max}",Gs="Please re-select the optional quantity",Xs="The maximum length of the control must be greater than the minimum length",Qs="The minimum length of the control must be less than the maximum length",Js="Please select the correct option setting",Zs="Option ID cannot be repeated",Ys="Please enter at least one option",ps="Please bind the data source",ed="Please bind the stored value",td="Please bind the service",nd="At least one display value must be bound",id="Please select a province",ud="Please select a city",ad="Please select a district",rd="The minimum number of lines to fill in cannot be less than 0",ld="The number of rows cannot be less than {min} rows",od="Please enter the column width",cd="Please set the logical relationship of all rule conditions",sd="Please complete all rules and conditions",dd="please select control",fd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",yd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",vd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Cd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Id="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ad="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Sd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_d="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Rd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Bd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Td="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Pd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Dd={isNotNumber:Is,isNotString:ws,isNotObject:As,isNotArray:Ss,isNotBoolean:_s,runtimeRequired:Rs,pleaseEnterCaption:Bs,pleaseEnterCaptionTip:Ts,pleaseEnterPlaceholder:Ps,pleaseEnterFieldCode:Ds,pleaseEnterForm:xs,pleaseEnterList:Fs,pleaseEnterProcess:Os,pleaseEnterLabel:ks,pleaseEnterValue:Ns,bizKeyNotBindFiled:Ms,pleaseEnterNumberRange:$s,pleaseEnterAValueGreaterThanMin:Ls,pleaseEnterAValueLessThanMax:Vs,numberRangeSetError:Hs,stringRangeError:js,attachmentMaxSize:qs,pleaseEnterTotalScoreSetting:Us,theTotalScoreMustNotBeLessThan1:Ws,scoreDefaultValueRange:Ks,attachmentLimitError:zs,PleaseReselectTheOptionalQuantity:Gs,TheMaximumLengthIsGreaterThanTheMinimumLength:Xs,TheMinimumLengthIsGreaterThanTheMaximumLength:Qs,PleaseSelectTheCorrectOptionSettings:Js,optionIdIsRepeat:Zs,optionIsRequired:Ys,pleaseEnterDataCode:ps,pleaseEnterValueFieldCode:ed,pleaseEnterSvcCode:td,pleaseBindAtLeastOneDisplayValue:nd,pleaseSelectProvince:id,pleaseSelectCity:ud,pleaseSelectDistrict:ad,limitRowsCannotBeLessThan0:rd,TheNumberOfRowsCannotBeLessThanMinRows:ld,pleaseEnterColumnWidth:od,pleaseSetTheLogicalRelationshipOfAllRuleConditions:cd,pleaseCompleteAllRulesAndConditions:sd,pleaseSelectControl:dd,pleaseSelectDashboard:fd,theViewNameCannotBeEmpty:hd,pleaseSelectOcrType:yd,pleaseSelectAtLeastOneFieldToFillIn:md,pleaseChooseAtLeastOne:vd,pleaseEnterButtonContent:gd,pleaseEnterDataCodeInDataSetting:bd,pleaseEnterValueFieldCodeInDataSetting:Ed,pleaseEnterSvcCodeInDataSetting:Cd,pleaseBindAtLeastOneDisplayValueInDataSetting:Id,rootNodeIsRequiredInDataSetting:wd,pleaseEnterMaxHeight:Ad,pleaseEnter:Sd,pleaseEnterWatermark:_d,pleaseEnterFileName:Rd,pleaseUploadAtLeastOnePrintTemplate:Bd,pleaseAssignBusiness:Td,pleaseAssignExternal:Pd},xd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Od="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Md="{caption}\u5FC5\u9808",$d="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ld="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vd="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ud="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Gd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qd="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Zd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ef="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",nf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",uf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",af="\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",rf="\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",lf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",of="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",sf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",df="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ff="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",yf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ef="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",If="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",wf="please select control",Af="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Sf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",_f="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Rf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Bf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Tf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ff="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",kf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Nf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Mf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$f="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jf={isNotNumber:xd,isNotString:Fd,isNotObject:Od,isNotArray:kd,isNotBoolean:Nd,runtimeRequired:Md,pleaseEnterCaption:$d,pleaseEnterCaptionTip:Ld,pleaseEnterPlaceholder:Vd,pleaseEnterFieldCode:Hd,pleaseEnterForm:jd,pleaseEnterList:qd,pleaseEnterProcess:Ud,pleaseEnterLabel:Wd,pleaseEnterValue:Kd,bizKeyNotBindFiled:zd,pleaseEnterNumberRange:Gd,pleaseEnterAValueGreaterThanMin:Xd,pleaseEnterAValueLessThanMax:Qd,numberRangeSetError:Jd,stringRangeError:Zd,attachmentMaxSize:Yd,pleaseEnterTotalScoreSetting:pd,theTotalScoreMustNotBeLessThan1:ef,scoreDefaultValueRange:tf,attachmentLimitError:nf,PleaseReselectTheOptionalQuantity:uf,TheMaximumLengthIsGreaterThanTheMinimumLength:af,TheMinimumLengthIsGreaterThanTheMaximumLength:rf,PleaseSelectTheCorrectOptionSettings:lf,optionIdIsRepeat:of,optionIsRequired:cf,pleaseEnterDataCode:sf,pleaseEnterValueFieldCode:df,pleaseEnterSvcCode:ff,pleaseBindAtLeastOneDisplayValue:hf,pleaseSelectProvince:yf,pleaseSelectCity:mf,pleaseSelectDistrict:vf,limitRowsCannotBeLessThan0:gf,TheNumberOfRowsCannotBeLessThanMinRows:bf,pleaseEnterColumnWidth:Ef,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cf,pleaseCompleteAllRulesAndConditions:If,pleaseSelectControl:wf,pleaseSelectDashboard:Af,theViewNameCannotBeEmpty:Sf,pleaseSelectOcrType:_f,pleaseSelectAtLeastOneFieldToFillIn:Rf,pleaseChooseAtLeastOne:Bf,pleaseEnterButtonContent:Tf,pleaseEnterDataCodeInDataSetting:Pf,pleaseEnterValueFieldCodeInDataSetting:Df,pleaseEnterSvcCodeInDataSetting:xf,pleaseBindAtLeastOneDisplayValueInDataSetting:Ff,rootNodeIsRequiredInDataSetting:Of,pleaseEnterMaxHeight:kf,pleaseEnter:Nf,pleaseEnterWatermark:Mf,pleaseEnterFileName:$f,pleaseUploadAtLeastOnePrintTemplate:Lf,pleaseAssignBusiness:Vf,pleaseAssignExternal:Hf},qf={zhCN:Cs,enUS:Dd,jaJP:jf},xa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(xa||(xa={}));var Fa;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Fa||(Fa={}));var Uf="zh-CN";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}var Oa;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Oa||(Oa={}));var A;(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.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"})(A||(A={}));var v;(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"})(v||(v={}));var X;X={},p(X,v.ARRAY,A.ARRAY_COLUMN),p(X,v.AUTO_NUMBER,A.AUTO_NUMBER_COLUMN),p(X,v.DECIMAL,A.DECIMAL_COLUMN),p(X,v.DEPARTMENTS,A.DEPARTMENT_COLUMN),p(X,v.FILE,A.FILE_COLUMN),p(X,v.IMAGE,A.IMAGE_COLUMN),p(X,v.ADDRESS,A.LOCATION_COLUMN),p(X,v.EMPLOYEES,A.EMPLOYEE_COLUMN),p(X,v.TEXT,A.TEXT_COLUMN),p(X,v.TIMESCOPE,A.TIMESCOPE_COLUMN),p(X,v.TIMESTAMP,A.TIMESTAMP_COLUMN),p(X,v.VARCHAR,A.VARCHAR_COLUMN),p(X,v.RELATION,A.VARCHAR_COLUMN);var ge;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(ge||(ge={}));var ka="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Wf=ka+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?ka:Wf,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Bi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Kf(t){if(Array.isArray(t))return Bi(t)}function zf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Na(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gf(){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 an(t,e,n){return Gf()?an=Reflect.construct:an=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ct(d,l.prototype),d},an.apply(null,arguments)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function Ma(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&&ct(t,e)}function Xf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Qf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jf(){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 Zf(t,e){return e&&(Yf(e)==="object"||typeof e=="function")?e:zf(t)}function ct(t,e){return ct=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ct(t,e)}function $a(t){return Kf(t)||Qf(t)||pf(t)||Jf()}var Yf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pf(t,e){if(!!t){if(typeof t=="string")return Bi(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 Bi(t,e)}}function Ti(t){var e=typeof Map=="function"?new Map:void 0;return Ti=function(u){if(u===null||!Xf(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return an(u,arguments,ot(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ct(a,u)},Ti(t)}function eh(){if(typeof Reflect=="undefined"||!Reflect.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 La(t){var e=eh();return function(){var u=ot(t),a;if(e){var r=ot(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Zf(this,a)}}var Pi=console;function th(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Pi).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat($a(a)))}function Va(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Pi).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat($a(a)))}function nh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Di=function(t){Ma(n,t);var e=La(n);function n(u){Na(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?nh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Ti(Error)),ih=function(t){Ma(n,t);var e=La(n);function n(u){Na(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Di);function Ha(t){throw new Di(t)}function ja(t){throw new ih(t)}function uh(t){Pi.error(new Di(t))}var ah=Object.prototype.toString;function qa(t,e){return ah.call(t)==="[object "+e+"]"}function rh(t){return qa(t,"String")}function lh(t){return qa(t,"Promise")}var oh=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),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 u=this.getMessageData();lh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!rh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=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 ch(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){ch(this,t)}return t.getMessage=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Uf;return new oh({locale:n,messages:qf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function sh(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){th("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var dh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},fh={exports:{}};(function(t){(function(e){var n=function(m,I,q){if(!d(I)||g(I)||b(I)||C(I)||s(I))return I;var w,F=0,ie=0;if(y(I))for(w=[],ie=I.length;F<ie;F++)w.push(n(m,I[F],q));else{w={};for(var x in I)Object.prototype.hasOwnProperty.call(I,x)&&(w[m(x,q)]=n(m,I[x],q))}return w},u=function(m,I){I=I||{};var q=I.separator||"_",w=I.split||/(?=[A-Z])/;return m.split(w).join(q)},a=function(m){return S(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,q){return q?q.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},r=function(m){var I=a(m);return I.substr(0,1).toUpperCase()+I.substr(1)},l=function(m,I){return u(m,I).toLowerCase()},o=Object.prototype.toString,s=function(m){return typeof m=="function"},d=function(m){return m===Object(m)},y=function(m){return o.call(m)=="[object Array]"},g=function(m){return o.call(m)=="[object Date]"},b=function(m){return o.call(m)=="[object RegExp]"},C=function(m){return o.call(m)=="[object Boolean]"},S=function(m){return m=m-0,m===m},E=function(m,I){var q=I&&"process"in I?I.process:I;return typeof q!="function"?m:function(w,F){return q(w,m,F)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(m,I){return n(E(a,I),m)},decamelizeKeys:function(m,I){return n(E(l,I),m,I)},pascalizeKeys:function(m,I){return n(E(r,I),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(dh)})(fh);function be(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function hh(t){return Object.prototype.toString.call(t)==="[object Object]"}function xi(t){return Array.isArray(t)}function yh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function mh(t){if(Array.isArray(t))return Fi(t)}function Ua(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function vh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Ua(r,u,a,l,o,"next",s)}function o(s){Ua(r,u,a,l,o,"throw",s)}l(void 0)})}}function gh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Eh(){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 Oi(t){return mh(t)||bh(t)||Ch(t)||Eh()}function Ch(t,e){if(!!t){if(typeof t=="string")return Fi(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 Fi(t,e)}}var Ih=function(){function t(){gh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(u){for(var a=arguments.length,r=new Array(a>1?a-1:0),l=1;l<a;l++)r[l-1]=arguments[l];var o=this;return vh(ue.default.mark(function s(){var d,y,g,b,C,S,E,_,m,I;return ue.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(d=o._events.get(u),y=[],!d){w.next=42;break}g=d.slice(),b=!0,C=!1,S=void 0,w.prev=5,E=g[Symbol.iterator]();case 7:if(b=(_=E.next()).done){w.next=28;break}if(m=_.value,d.includes(m)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,o.debug&&Va.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Oi(r))),w.next=15,m.apply(null,Oi(r));case 15:if(I=w.sent,o.debug&&Va.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Oi(r),[I])),y.push(I),I!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),uh(String(w.t0));case 25:b=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),C=!0,S=w.t1;case 34:w.prev=34,w.prev=35,!b&&E.return!=null&&E.return();case 37:if(w.prev=37,!C){w.next=40;break}throw S;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",y);case 43:case"end":return w.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()},e.on=function(u,a){if(this._events.has(u)){var r;(r=this._events.get(u))===null||r===void 0||r.push(a)}else this._events.set(u,[a])},e.off=function(u,a){if(this._events.has(u)){var r=this._events.get(u),l=r==null?void 0:r.indexOf(a);r==null||r.splice(l,1)}},e.delete=function(u){this._events.has(u)&&this._events.delete(u)},e.clear=function(){this._events=new Map},t}(),wh=[];new Set(wh.map(function(t){return t.Designer.controlType}));function Wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function de(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&&ki(t,e)}function Ka(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ah(t,e){return e&&(Sh(e)==="object"||typeof e=="function")?e:Wa(t)}function ki(t,e){return ki=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ki(t,e)}var Sh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _h(){if(typeof Reflect=="undefined"||!Reflect.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 fe(t){var e=_h();return function(){var u=rn(t),a;if(e){var r=rn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ah(this,a)}}var ae=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},Rh=function t(e){R(this,t);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 u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},Ni=function t(e){R(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},Bh=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(Ni),za=function t(e){R(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ga=function t(e){R(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new za(l)}))!==null&&r!==void 0?r:[]},Th=function t(e){R(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:v.VARCHAR},Ph=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(Ni),Dh=function t(e){R(this,t);var n,u;this.type="sublist-page",this.formBind=new Ni(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Th(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new Ph(l)}))!==null&&r!==void 0?r:[]},xh=function t(e){R(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},st=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Fh=function t(e){var n=this;R(this,t),this.type="conditions";var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();var a;this.ruleId=(a=e==null?void 0:e.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=n.children)===null||s===void 0||s.push(d)}else{var y,g=new Xa(o);(y=n.children)===null||y===void 0||y.push(g)}}))},Xa=function t(e){R(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new xh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new st(e==null?void 0:e.rightVariableBo)},ee=function t(e){R(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Mi=function t(e){R(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Oh=function t(e){R(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function $i(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Fh(l):new Xa(l)}))!==null&&n!==void 0?n:[],Ka(this,Q)||Ka(this,Li)){var u,a,r;this.orders=(r=(u=t)===null||u===void 0||(a=u.orders)===null||a===void 0?void 0:a.map(function(l){return new Oh(l)}))!==null&&r!==void 0?r:[]}}var Q=function t(e){var n=this;R(this,t);var u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Mi(s))}));var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",$i.call(this,e)},kh=function t(e){R(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Mi(l)}))!==null&&r!==void 0?r:[]},ln=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new kh(o)}))!==null&&l!==void 0?l:[],a}return n}(Q),Nh=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;return a=e.call(this,u),a.rootNode=new st(u==null?void 0:u.rootNode),a}return n}(ln),Qa=function t(e){R(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&r!==void 0?r:[]},Li=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;return a=e.call(this,u),$i.call(Wa(a),u),a}return n}(Qa),Ja=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(Qa),Za=function t(e){R(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},Mh=function t(e){R(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new Mh(n)}))!==null&&e!==void 0?e:[]}var Vi=function t(){R(this,t)},$h=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;return a=e.call(this),a.amount=new ae(u==null?void 0:u.amount),a.currency=new ae(u==null?void 0:u.currency),a}return n}(Vi),Lh=function t(e){R(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:on.CNY},Vh=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;return a=e.call(this),a.min=new ae(u==null?void 0:u.min),a.max=new ae(u==null?void 0:u.max),a}return n}(Vi),Hh=function t(e){R(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},jh=function t(e){R(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},qh=function(t){de(n,t);var e=fe(n);function n(u){R(this,n);var a;return a=e.call(this),a.result=new ae(u==null?void 0:u.result),a.unit=new ae(u==null?void 0:u.unit),a}return n}(Vi),Uh=function t(e){R(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},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.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.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"})(c||(c={}));var Hi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Hi||(Hi={}));var Ee=function t(e){R(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},Wh=function t(e){R(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new za(l)}))!==null&&r!==void 0?r:[],$i.call(this,e)},Kh=function t(e){R(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function zh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ji(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gh(){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 cn(t,e,n){return Gh()?cn=Reflect.construct:cn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&ft(d,l.prototype),d},cn.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function Xh(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&&ft(t,e)}function Qh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Jh(t,e){return e&&(Zh(e)==="object"||typeof e=="function")?e:zh(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ft(t,e)}var Zh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qi(t){var e=typeof Map=="function"?new Map:void 0;return qi=function(u){if(u===null||!Qh(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return cn(u,arguments,dt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ft(a,u)},qi(t)}function Yh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ph(t){var e=Yh();return function(){var u=dt(t),a;if(e){var r=dt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Jh(this,a)}}var L=function t(e){ji(this,t),this.isHide={type:"boolean"}},_e=function(t){Xh(n,t);var e=ph(n);function n(u){return ji(this,n),e.call(this)}return n}(qi(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ji(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new Kh(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};U.Rules=L,U.RuntimeRules=_e;function le(){return le=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},le.apply(this,arguments)}function ey(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function sn(t,e){return sn=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},sn(t,e)}function ty(){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 dn(t,e,n){return ty()?dn=Reflect.construct:dn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&sn(d,l.prototype),d},dn.apply(null,arguments)}function ny(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(u){if(u===null||!ny(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return dn(u,arguments,Ui(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),sn(a,u)},Wi(t)}var iy=/%[sdj%]/g,Ya=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Ya=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Ki(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(iy,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function uy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||uy(e)&&typeof t=="string"&&!t)}function ay(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function pa(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function ry(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var er=function(t){ey(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Wi(Error));function ly(t,e,n,u){if(e.first){var a=new Promise(function(g,b){var C=function(_){return u(_),_.length?b(new er(_,Ki(_))):g()},S=ry(t);pa(S,n,C)});return a.catch(function(g){return g}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],y=new Promise(function(g,b){var C=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new er(d,Ki(d))):g()};l.length||(u(d),g()),l.forEach(function(S){var E=t[S];r.indexOf(S)!==-1?pa(E,n,C):ay(E,n,C)})});return y.catch(function(g){return g}),y}function tr(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 nr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=le(le({},t[n]),u):t[n]=u}}return t}function ir(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function oy(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var zi={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},ht={integer:function(e){return ht.number(e)&&parseInt(e,10)===e},float:function(e){return ht.number(e)&&!ht.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"&&!ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(zi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(zi.url)},hex:function(e){return typeof e=="string"&&!!e.match(zi.hex)}};function cy(t,e,n,u,a){if(t.required&&e===void 0){ir(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?ht[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function sy(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,y=null,g=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(g?y="number":b?y="string":C&&(y="array"),!y)return!1;C&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[y].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[y].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[y].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[y].range,t.fullField,t.min,t.max))}var We="enum";function dy(t,e,n,u,a){t[We]=Array.isArray(t[We])?t[We]:[],t[We].indexOf(e)===-1&&u.push(te(a.messages[We],t.fullField,t[We].join(", ")))}function fy(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:ir,whitespace:oy,type:cy,range:sy,enum:dy,pattern:fy};function hy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();B.required(t,e,u,r,a,"string"),V(e,"string")||(B.type(t,e,u,r,a),B.range(t,e,u,r,a),B.pattern(t,e,u,r,a),t.whitespace===!0&&B.whitespace(t,e,u,r,a))}n(r)}function yy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&B.type(t,e,u,r,a)}n(r)}function my(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&(B.type(t,e,u,r,a),B.range(t,e,u,r,a))}n(r)}function vy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&B.type(t,e,u,r,a)}n(r)}function gy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),V(e)||B.type(t,e,u,r,a)}n(r)}function by(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&(B.type(t,e,u,r,a),B.range(t,e,u,r,a))}n(r)}function Ey(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&(B.type(t,e,u,r,a),B.range(t,e,u,r,a))}n(r)}function Cy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();B.required(t,e,u,r,a,"array"),e!=null&&(B.type(t,e,u,r,a),B.range(t,e,u,r,a))}n(r)}function Iy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&B.type(t,e,u,r,a)}n(r)}var wy="enum";function Ay(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a),e!==void 0&&B[wy](t,e,u,r,a)}n(r)}function Sy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();B.required(t,e,u,r,a),V(e,"string")||B.pattern(t,e,u,r,a)}n(r)}function _y(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"date")&&!t.required)return n();if(B.required(t,e,u,r,a),!V(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),B.type(t,o,u,r,a),o&&B.range(t,o.getTime(),u,r,a)}}n(r)}function Ry(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;B.required(t,e,u,r,a,l),n(r)}function Gi(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(V(e,r)&&!t.required)return n();B.required(t,e,u,l,a,r),V(e,r)||B.type(t,e,u,l,a)}n(l)}function By(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();B.required(t,e,u,r,a)}n(r)}var yt={string:hy,method:yy,number:my,boolean:vy,regexp:gy,integer:by,float:Ey,array:Cy,object:Iy,enum:Ay,pattern:Sy,date:_y,url:Gi,hex:Gi,email:Gi,required:Ry,any:By};function Xi(){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 Qi=Xi();function Ce(t){this.rules=null,this._messages=Qi,this.define(t)}Ce.prototype={messages:function(e){return e&&(this._messages=nr(Xi(),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,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,m=[],I={};function q(w){if(Array.isArray(w)){var F;m=(F=m).concat.apply(F,w)}else m.push(w)}for(_=0;_<E.length;_++)q(E[_]);m.length?I=Ki(m):(m=null,I=null),o(m,I)}if(l.messages){var d=this.messages();d===Qi&&(d=Xi()),nr(d,l.messages),l.messages=d}else l.messages=this.messages();var y,g,b={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){y=a.rules[E],g=r[E],y.forEach(function(_){var m=_;typeof m.transform=="function"&&(r===e&&(r=le({},r)),g=r[E]=m.transform(g)),typeof m=="function"?m={validator:m}:m=le({},m),m.validator=a.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=a.getType(m),m.validator&&(b[E]=b[E]||[],b[E].push({rule:m,value:g,source:r,field:E}))})});var S={};return ly(b,l,function(E,_){var m=E.rule,I=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");I=I&&(m.required||!m.required&&E.value),m.field=E.field;function q(ie,x){return le(le({},x),{},{fullField:m.fullField+"."+ie})}function w(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&Ce.warning("async-validator:",x),x.length&&m.message!==void 0&&(x=[].concat(m.message)),x=x.map(tr(m)),l.first&&x.length)return S[m.field]=1,_(x);if(!I)_(x);else{if(m.required&&!E.value)return m.message!==void 0?x=[].concat(m.message).map(tr(m)):l.error&&(x=[l.error(m,te(l.messages.required,m.field))]),_(x);var oe={};if(m.defaultField)for(var sc in E.value)E.value.hasOwnProperty(sc)&&(oe[sc]=m.defaultField);oe=le(le({},oe),E.rule.fields);for(var ut in oe)if(oe.hasOwnProperty(ut)){var b0=Array.isArray(oe[ut])?oe[ut]:[oe[ut]];oe[ut]=b0.map(q.bind(null,ut))}var dc=new Ce(oe);dc.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),dc.validate(E.value,E.rule.options||l,function(Ta){var at=[];x&&x.length&&at.push.apply(at,x),Ta&&Ta.length&&at.push.apply(at,Ta),_(at.length?at:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,E.value,w,E.source,l):m.validator&&(F=m.validator(m,E.value,w,E.source,l),F===!0?w():F===!1?w(m.message||m.field+" fails"):F instanceof Array?w(F):F instanceof Error&&w(F.message)),F&&F.then&&F.then(function(){return w()},function(ie){return w(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!yt.hasOwnProperty(e.type))throw new Error(te("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),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?yt.required:yt[this.getType(e)]||!1}},Ce.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");yt[e]=n},Ce.warning=Ya,Ce.messages=Qi,Ce.validators=yt;var Ty={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 Py(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ce(t);return n.messages(Object.assign(Ty,e)),n}var Dy=new Ih;function Ji(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function xy(t){if(Array.isArray(t))return t}function Fy(t){if(Array.isArray(t))return Ji(t)}function ur(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function ar(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){ur(r,u,a,l,o,"next",s)}function o(s){ur(r,u,a,l,o,"throw",s)}l(void 0)})}}function Oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function ky(t,e,n){return e&&rr(t.prototype,e),n&&rr(t,n),t}function Ny(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function or(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function My(){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 $y(){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 cr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Ny(t,a,n[a])})}return t}function Ly(t){return xy(t)||or(t)||sr(t,i)||My()}function Zi(t){return Fy(t)||or(t)||sr(t)||$y()}function sr(t,e){if(!!t){if(typeof t=="string")return Ji(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 Ji(t,e)}}var k=function(){function e(u){var a=this;Oy(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=fr,this.removeSetting=dr,this._callControlHooks("preInstance",u);var r=lr(this,e)?this.constructor:void 0,l=r.controlName,o=r.controlIcon,s=r.controlType,d=r.controlFieldType,y=r.controlEventKeys,g=r.controlCustomEvents,b=r.name,C=r.setting;l&&o&&s||ja("The ".concat(b," controlName,controlIcon,controlType is not define"));var S;this.id=(S=u==null?void 0:u.id)!==null&&S!==void 0?S:se(10),this.name=l,this.icon=o;var E;this.type=(E=u==null?void 0:u.type)!==null&&E!==void 0?E:s,this.props=new U(u==null?void 0:u.props,(lr(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=u==null?void 0:u.controlType)!==null&&_!==void 0?_:"base",this.setting=be(C);var m;this.fieldType=(m=u==null?void 0:u.fieldType)!==null&&m!==void 0?m:d,this.eventKeys=be(y),this.customEvents=be(g),Promise.resolve().then(function(){a._callControlHooks("postInstance",u)})}var n=e.prototype;return n._callControlHooks=function(){for(var a=arguments.length,r=new Array(a),l=0;l<a;l++)r[l]=arguments[l];var o,s=Ly(r),d=s[0],y=s.slice(1);return(o=Dy).emit.apply(o,[d,this].concat(Zi(y)))},n.preUpdate=function(a,r){this._callControlHooks("preUpdateProps",a,r)},n.postUpdate=function(a,r){this._callControlHooks("postUpdateProps",a,r)},n.updateProps=function(a,r){this.preUpdate(a,r),sh(this.props,a,r),this.postUpdate(a,r)},n.preValidate=function(){var a=this;return ar(ue.default.mark(function r(){var l,o,s;return ue.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return l=cr({},a.rules),y.next=3,a._callControlHooks("preValidate",l);case 3:return o=y.sent,s=o[o.length-1],y.abrupt("return",s===!1?void 0:s);case 6:case"end":return y.stop()}},r)}))()},n.validate=function(a,r){var l=this;return ar(ue.default.mark(function o(){var s,d,y;return ue.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,l.preValidate();case 2:return s=b.sent,d=s!==void 0?s:cr({},l.rules),Array.isArray(r)&&r.forEach(function(C){d.hasOwnProperty(C)&&delete d[C]}),y=Py(d,a),b.prev=6,b.next=9,y.validate(l.props);case 9:return b.abrupt("return",!0);case 12:throw b.prev=12,b.t0=b.catch(6),b.t0.control||(b.t0.control=l),b.t0;case 16:case"end":return b.stop()}},o,null,[[6,12]])}))()},n.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,l=this.id,o=this.type,s=this.props,d=s.dataBind,y=s.datasourceBind,g=s.optionConfig,b=s.caption,C=s.required,S=s.maxLength,E=s.options,_=s.encrypted,m=s.encryptedMode;if(!(!r&&!d&&!y)){var I={parentId:a,fieldType:r,controlId:l,caption:b,type:o,props:{}};switch(d&&(I.dataBind=d),g){case"datasource":case void 0:y&&(I.datasourceBind=y);break;case"custom":I.props.options=E;break}return C!==void 0&&(I.required=C),S!==void 0&&(I.maxLength=S),_!==void 0&&(I.encrypted=_),m!==void 0&&(I.encryptedMode=m),I}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:be(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(a,r){if(a==="setting"){if(r.add){var l;(l=this.setting).push.apply(l,Zi(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},ky(e,[{key:"rules",get:function(){var a=this.props.constructor.Rules;return a?new a(this.props):{}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=dr,k.updateSettingItem=fr;function dr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!(!((o=e.setting[r].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(r,1)}})}function fr(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Zi(e.showItems))}}}})}function Vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Hy(t,e,n){return e&&hr(t.prototype,e),n&&hr(t,n),t}function jy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var K=function(){function e(n){Vy(this,e),this.customEvents=[],this.parent=null;var u=jy(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||ja("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new U(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Hi.UNKNOWN}return Hy(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();K.controlType="control",K.__is_control__=!0,K.controlCustomEvents=[];function Yi(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,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=yh(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},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,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},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 pi(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(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},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 yr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function yn(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 qy(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Uy(t,e){return e&&(Wy(e)==="object"||typeof e=="function")?e:yr(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},eu(t,e)}var Wy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ky(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mn(t){var e=Ky();return function(){var u=hn(t),a;if(e){var r=hn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Uy(this,a)}}var J=function(t){yn(n,t);var e=mn(n);function n(u){fn(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(qy(u.dataBind,ae))a.dataBind={type:"object",required:!0,fields:be(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:be(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(L),N=function(t){yn(n,t);var e=mn(n);function n(u){fn(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(_e),T=function(t){yn(n,t);var e=mn(n);function n(u){fn(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var y;a.labelPosition=(y=u==null?void 0:u.labelPosition)!==null&&y!==void 0?y:"top";var g;a.placeholder=(g=u==null?void 0:u.placeholder)!==null&&g!==void 0?g:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var C;a.requiredMessage=(C=u==null?void 0:u.requiredMessage)!==null&&C!==void 0?C:"",a.dataBind=new ae(u==null?void 0:u.dataBind);var S;return a.defaultValue=(S=u==null?void 0:u.defaultValue)!==null&&S!==void 0?S:"",a}return n}(U);T.Rules=J,T.RuntimeRules=N;var Ke=function(t){yn(n,t);var e=mn(n);function n(u){fn(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Yi.call(yr(a),u),a}return n}(J);function zy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function Xy(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&&tu(t,e)}function Qy(t,e){return e&&(Jy(e)==="object"||typeof e=="function")?e:zy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},tu(t,e)}var Jy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zy(){if(typeof Reflect=="undefined"||!Reflect.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 Yy(t){var e=Zy();return function(){var u=vn(t),a;if(e){var r=vn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Qy(this,a)}}var P=function(t){Xy(n,t);var e=Yy(n);function n(u){Gy(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new T(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function em(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 tm(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&&nu(t,e)}function nm(t,e){return e&&(im(e)==="object"||typeof e=="function")?e:py(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},nu(t,e)}var im=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function um(){if(typeof Reflect=="undefined"||!Reflect.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 am(t){var e=um();return function(){var u=gn(t),a;if(e){var r=gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return nm(this,a)}}var D=function(t){tm(n,t);var e=am(n);function n(u){em(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new T(u==null?void 0:u.props),a}return n}(K);function rm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function om(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&&iu(t,e)}function cm(t,e){return e&&(sm(e)==="object"||typeof e=="function")?e:rm(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},iu(t,e)}var sm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dm(){if(typeof Reflect=="undefined"||!Reflect.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 fm(t){var e=dm();return function(){var u=bn(t),a;if(e){var r=bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return cm(this,a)}}var M=function(t){om(n,t);var e=fm(n);function n(u){return lm(this,n),e.call(this,u)}return n}(U);function uu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function hm(t){if(Array.isArray(t))return uu(t)}function ym(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function mm(){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 mr(t){return hm(t)||ym(t)||vm(t)||mm()}function vm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function gm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function vr(t,e){t.parent=e,gm(t,"parent")}function bm(t,e){t.forEach(function(n){vr(n,e)})}var gr=Symbol("targetKey");function br(t){var e;return(e=t[gr])!==null&&e!==void 0?e:t}function Er(t,e){return bm(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===gr?u:(s=Reflect).get.apply(s,[u,a].concat(mr(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(xi(t)&&a==="length"&&r===t.length)return!0;var y=(d=Reflect).set.apply(d,[u,a,r].concat(mr(o)));return hh(r)&&vr(r,e),y}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Er(br(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Er(br(o),a)},enumerable:!0})}function au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Em(t){if(Array.isArray(t))return au(t)}function Cr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ir(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Cm(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Ir(r,u,a,l,o,"next",s)}function o(s){Ir(r,u,a,l,o,"throw",s)}l(void 0)})}}function Im(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(a,r,l){var o=xm(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},ze(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function Am(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&&ru(t,e)}function Sm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rm(){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 Bm(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){wm(t,a,n[a])})}return t}function Tm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,u)}return n}function Pm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Tm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Dm(t,e){return e&&(Fm(e)==="object"||typeof e=="function")?e:Cr(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ru(t,e)}function xm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function wr(t){return Em(t)||_m(t)||Om(t)||Rm()}var Fm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Om(t,e){if(!!t){if(typeof t=="string")return au(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 au(t,e)}}function km(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Nm(t){var e=km();return function(){var u=Ie(t),a;if(e){var r=Ie(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Dm(this,a)}}var Mm=1e4,H=function(e){Am(u,e);var n=Nm(u);function u(r){Im(this,u);var l;l=n.call(this,r),l.controlType="layout";var o=Sm(this,u)?this.constructor:void 0,s=o.excludes,d=o.childrenMaxLength;return l.props=new M(r==null?void 0:r.props),ye(Cr(l),"children",r==null?void 0:r.children),l.excludes=be(s),l.childrenMaxLength=d,l}var a=u.prototype;return a.judgeExcludesChildren=function(l){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(l)},a.judgeJoinChildren=function(l){var o=this.judgeExcludesChildren(l);return o&&this.childrenMaxLength>this.children.length},a.validate=function(l,o){var s=this,d=this,y=function(){return ze(Ie(u.prototype),"validate",s)};return Cm(ue.default.mark(function g(){return ue.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,y().call(d,l,o);case 2:return C.next=4,Promise.all(d.children.map(function(S){return S.validate(l,o)}));case 4:return C.abrupt("return",!0);case 5:case"end":return C.stop()}},g)}))()},a.toDataBindModel=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=ze(Ie(u.prototype),"toDataBindModel",this).call(this),s=o?[o]:[];return this.children.reduce(function(d,y){var g=y.toDataBindModel(l);if(Array.isArray(g)){var b=g.filter(function(C){return!!C});return wr(d).concat(wr(b))}return g&&d.push(g),d},s)},a.toSchema=function(){var l=ze(Ie(u.prototype),"toSchema",this).call(this),o=this.children.map(function(s){var d=s.toSchema();return d});return Pm(Bm({},l),{children:o})},u}(k);H.excludes=!1,H.childrenMaxLength=Mm;function Ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function Lm(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&&lu(t,e)}function Vm(t,e){return e&&(Hm(e)==="object"||typeof e=="function")?e:Ar(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},lu(t,e)}var Hm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jm(){if(typeof Reflect=="undefined"||!Reflect.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 qm(t){var e=jm();return function(){var u=En(t),a;if(e){var r=En(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Vm(this,a)}}var W=function(t){Lm(n,t);var e=qm(n);function n(u){$m(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new M(u==null?void 0:u.props),ye(Ar(a),"children",u==null?void 0:u.children),a}return n}(K);function Sr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function Wm(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&&ou(t,e)}function Km(t,e){return e&&(zm(e)==="object"||typeof e=="function")?e:Sr(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ou(t,e)}var zm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gm(){if(typeof Reflect=="undefined"||!Reflect.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 Xm(t){var e=Gm();return function(){var u=Cn(t),a;if(e){var r=Cn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Km(this,a)}}var In=function(t){Wm(n,t);var e=Xm(n);function n(u,a){Um(this,n);var r;return r=e.call(this,a),ye(Sr(r),"headers",a==null?void 0:a.headers,u),r}return n}(U);function cu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Qm(t){if(Array.isArray(t))return cu(t)}function _r(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Jm(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Rr(r,u,a,l,o,"next",s)}function o(s){Rr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ym(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ge=Reflect.get:Ge=function(a,r,l){var o=uv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},Ge(t,e,n||t)}function we(t){return we=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},we(t)}function pm(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&&su(t,e)}function ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tv(){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 Br(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Ym(t,a,n[a])})}return t}function nv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,u)}return n}function Tr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):nv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function iv(t,e){return e&&(av(e)==="object"||typeof e=="function")?e:_r(t)}function su(t,e){return su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},su(t,e)}function uv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=we(t),t!==null););return t}function Pr(t){return Qm(t)||ev(t)||rv(t)||tv()}var av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rv(t,e){if(!!t){if(typeof t=="string")return cu(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 cu(t,e)}}function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ov(t){var e=lv();return function(){var u=we(t),a;if(e){var r=we(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return iv(this,a)}}var du=function(t){pm(n,t);var e=ov(n);function n(a){Zm(this,n);var r;return r=e.call(this,a),r.controlType="list",r.props=new In(_r(r),a==null?void 0:a.props),r}var u=n.prototype;return u.validate=function(r,l){var o=this,s=this,d=function(){return Ge(we(n.prototype),"validate",o)};return Jm(ue.default.mark(function y(){return ue.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r);case 2:return b.next=4,Promise.all(s.props.headers.map(function(C){return C.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},y)}))()},u.toDataBindModel=function(){var r=Ge(we(n.prototype),"toDataBindModel",this).call(this),l=r?[r]:[],o=this.id;return this.props.headers.reduce(function(s,d){var y=d.toDataBindModel(o);if(Array.isArray(y)){var g=y.filter(function(b){return!!b});return Pr(s).concat(Pr(g))}return y&&s.push(y),s},l)},u.toSchema=function(){var r=Ge(we(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()});return Tr(Br({},r),{props:Tr(Br({},this.props),{headers:l})})},n}(k);du.controlFieldType=v.LIST;function fu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function sv(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(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&&hu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:fu(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},hu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){if(typeof Reflect=="undefined"||!Reflect.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 mv(t){var e=yv();return function(){var u=wn(t),a;if(e){var r=wn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fv(this,a)}}var xr=function(t){dv(n,t);var e=mv(n);function n(u){cv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new In(fu(a),u==null?void 0:u.props),ye(fu(a),"children",u==null?void 0:u.children),a}return sv(n,[{key:"length",get:function(){return this.children.length}}]),n}(K);function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function mu(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&&vu(t,e)}function vv(t,e){return e&&(gv(e)==="object"||typeof e=="function")?e:Fr(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},vu(t,e)}var gv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gu(t){var e=bv();return function(){var u=An(t),a;if(e){var r=An(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return vv(this,a)}}var bu=function(t){mu(n,t);var e=gu(n);function n(u){yu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}(L),j=function(t){mu(n,t);var e=gu(n);function n(u){yu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new Rh(u==null?void 0:u.autoWidth),a.dataBind=new ae(u==null?void 0:u.dataBind);var s;return a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan,a}return n}(U);j.Rules=bu;var Or=function(t){mu(n,t);var e=gu(n);function n(u){yu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Yi.call(Fr(a),u),a}return n}(bu);function Ev(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function Iv(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 wv(t,e){return e&&(Av(e)==="object"||typeof e=="function")?e:Ev(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(t,e)}var Av=function(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 _v(t){var e=Sv();return function(){var u=Sn(t),a;if(e){var r=Sn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return wv(this,a)}}var z=function(t){Iv(n,t);var e=_v(n);function n(u){Cv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(k);function Rv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(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&&Cu(t,e)}function Pv(t,e){return e&&(Dv(e)==="object"||typeof e=="function")?e:Rv(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Cu(t,e)}var Dv=function(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 Fv(t){var e=xv();return function(){var u=_n(t),a;if(e){var r=_n(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Pv(this,a)}}var G=function(t){Tv(n,t);var e=Fv(n);function n(u){Bv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(K);function Ov(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 Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Nv(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&&Iu(t,e)}function Mv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Ov(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Iu(t,e)}var $v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vv(t){var e=Lv();return function(){var u=Rn(t),a;if(e){var r=Rn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Mv(this,a)}}var wu=function(t){Nv(n,t);var e=Vv(n);function n(u){kv(this,n);var a;return a=e.call(this,u),a.dataBind=new ae(u==null?void 0:u.dataBind),a}return n}(M);function Hv(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 Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function qv(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&&Au(t,e)}function Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:Hv(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var Wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kv(){if(typeof Reflect=="undefined"||!Reflect.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 zv(t){var e=Kv();return function(){var u=Bn(t),a;if(e){var r=Bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Uv(this,a)}}var Gv=function(t){qv(n,t);var e=zv(n);function n(u){jv(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new wu(u==null?void 0:u.props),a}return n}(H);function Xv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Jv(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&&Su(t,e)}function Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:Xv(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eg(t){var e=pv();return function(){var u=Tn(t),a;if(e){var r=Tn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Zv(this,a)}}var tg=function(t){Jv(n,t);var e=eg(n);function n(u){Qv(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new wu(u==null?void 0:u.props),a}return n}(W);class _u extends U{constructor(e){var n,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class kr extends k{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}kr.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 ng extends K{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlType(){return"text"}}var Nr={Designer:kr,Runtime:ng,Property:_u};class Ru extends U{constructor(e){var n,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Bu extends k{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Bu.controlEventKeys=["on_click"],Bu.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 ig extends K{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlType(){return"link"}}var Mr={Designer:Bu,Runtime:ig,Property:Ru};class Z extends U{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",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.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends k{constructor(e){super(e),this.props=new Z(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.controlEventKeys=["on_click"],Y.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 ne extends K{constructor(e){super(e),this.props=new Z(e==null?void 0:e.props)}static get controlType(){return"button"}}var $r={Designer:Y,Runtime:ne,Property:Z},Re=(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))(Re||{}),Lr=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Lr||{}),Vr=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Vr||{});class Pn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Tu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Tu||{});class Dn{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Pu=(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))(Pu||{});class Du{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new st((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new st((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new st((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Hr{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Du(s)))!=null?a:[new Du],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class xu{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Fu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class jr{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Fu(e==null?void 0:e.watermark),this.autoRename=new Fu(e==null?void 0:e.autoRename)}}const qr=480;function mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Ur{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class Wr{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var Kr=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Kr||{}),Ou=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ou||{}),ku=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ku||{}),Xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Xe||{}),Nu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Nu||{});class Mu extends U{constructor(e){var n,u;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Pu.SOLID}}class zr extends k{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}zr.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class ug extends K{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Gr={Designer:zr,Runtime:ug,Property:Mu};class ag extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(Re.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")})}}class xn extends U{constructor(e){var n,u,a;super(e),this.dataBind=new ae(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:Qe==null?void 0:Qe.controlName)!=null?a:""}}xn.Rules=ag;class Qe extends k{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Qe.controlFieldType=v.AUTO_NUMBER,Qe.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class rg extends K{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Xr={Designer:Qe,Runtime:rg,Property:xn};class lg extends L{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Fn extends Z{constructor(e){var n,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:vt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Fn.Rules=lg;class vt extends Y{constructor(e){super(e),this.props=new Fn(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 og extends ne{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Qr={Designer:vt,Runtime:og,Property:Fn};class cg extends L{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class On extends Z{constructor(e){var n,u,a,r,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:gt.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}On.Rules=cg;class gt extends Y{constructor(e){super(e),this.props=new On(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 sg extends ne{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Jr={Designer:gt,Runtime:sg,Property:On};class $u extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:bt.controlIcon}}class bt extends Y{constructor(e){super(e),this.props=new $u(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"}}bt.controlEventKeys=["on_click"],bt.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 dg extends ne{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Zr={Designer:bt,Runtime:dg,Property:$u};class Lu extends Z{constructor(e){var n,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Et.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new xu(l)))!=null?r:[new xu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends Y{constructor(e){super(e),this.props=new Lu(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 fg extends ne{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Yr={Designer:Et,Runtime:fg,Property:Lu};class Vu extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ct.controlIcon}}class Ct extends Y{constructor(e){super(e),this.props=new Vu(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"}}Ct.controlEventKeys=["on_click"],Ct.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 hg extends ne{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var pr={Designer:Ct,Runtime:hg,Property:Vu};class yg{constructor(e){this.dataCode=e.dataCode}}class Hu extends Z{constructor(e){var n,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:It.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new yg(l)))!=null?r:[]}}class It extends Y{constructor(e){super(e),this.props=new Hu(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"}}It.controlEventKeys=["on_click","on_click_finish"],It.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 mg extends ne{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var el={Designer:It,Runtime:mg,Property:Hu};function kn(){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 vg extends L{constructor(e){super(e),this.fillPayload={type:"object",fields:ve({},kn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},kn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Nn extends Z{constructor(e){var n,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:wt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.formBind=new Bh(e==null?void 0:e.formBind),this.fillBack=new Ja(e==null?void 0:e.fillBack)}}Nn.Rules=vg;class wt extends Y{constructor(e){super(e),this.props=new Nn(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"}}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:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class gg extends ne{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var tl={Designer:wt,Runtime:gg,Property:Nn};class bg extends L{constructor(e){super(e),this.fillPayload={type:"object",fields:ve({},kn())},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:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},kn())}}}class Mn extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon,this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.listPageBind=new Ga(e==null?void 0:e.listPageBind),this.fillBack=new Ja(e==null?void 0:e.fillBack)}}Mn.Rules=bg;class At extends Y{constructor(e){super(e),this.props=new Mn(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.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 Eg extends ne{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var nl={Designer:At,Runtime:Eg,Property:Mn};class Cg extends L{constructor(e){super(e)}}class Ig extends _e{constructor(e){super(e)}}class St extends U{constructor(e){super(e)}}St.Rules=Cg,St.RuntimeRules=Ig;class il extends k{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}il.setting=[];class wg extends K{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var ul={Designer:il,Runtime:wg,Property:St};class Ag extends L{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 $n extends U{constructor(e){var n,u,a,r,l,o;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}$n.Rules=Ag;class al extends k{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}al.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 Sg extends K{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var rl={Designer:al,Runtime:Sg,Property:$n};class _g extends L{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 Ln extends U{constructor(e){var n,u,a;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new Wh(r)))!=null?a:[]}}Ln.Rules=_g;class ll extends k{constructor(e){super(e),this.props=new Ln(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"}}ll.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Rg extends K{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ol={Designer:ll,Runtime:Rg,Property:Ln};class Bg extends L{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends Z{constructor(e){var n,u,a,r,l,o,s,d,y,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Je.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Je.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(g=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new ee(b)))!=null?g:[]}}Vn.Rules=Bg;class Je extends Y{constructor(e){super(e),this.props=new Vn(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"}}Je.controlEventKeys=["on_click","on_click_finish"],Je.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 Tg extends ne{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var cl={Designer:Je,Runtime:Tg,Property:Vn};class Pg extends L{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,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Hn extends Z{constructor(e){var n,u,a,r,l,o,s,d,y,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,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",this.content=(o=e==null?void 0:e.content)!=null?o:Ze.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ze.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(g=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new ee(b)))!=null?g:[]}}Hn.Rules=Pg;class Ze extends Y{constructor(e){super(e),this.props=new Hn(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"}}Ze.controlEventKeys=["on_click","on_click_finish"],Ze.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 Dg extends ne{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var sl={Designer:Ze,Runtime:Dg,Property:Hn};class xg extends L{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class jn extends Z{constructor(e){var n,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new Ur(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}jn.Rules=xg;class _t extends Y{constructor(e){super(e),this.props=new jn(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"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 Fg extends ne{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var dl={Designer:_t,Runtime:Fg,Property:jn};class ju extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon}}class Rt extends Y{constructor(e){super(e),this.props=new ju(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"}}Rt.controlEventKeys=["on_click"],Rt.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 Og extends ne{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fl={Designer:Rt,Runtime:Og,Property:ju};class kg extends L{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 qn extends U{constructor(e){var n,u,a,r,l;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=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}qn.Rules=kg;class Un extends k{constructor(e){super(e),this.props=new qn(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"}}Un.controlEventKeys=["on_click"],Un.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 Ng extends K{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var hl={Designer:Un,Runtime:Ng,Property:qn},Mg=Object.freeze({__proto__:null,Text:Nr,Link:Mr,Button:$r,Divider:Gr,Title:Xr,CreateFormListButton:Qr,BatchSubmissionListButton:Jr,SubmissionRecordListButton:Zr,ExportListButton:Yr,ExportRecordListButton:pr,ImportRecordListButton:el,FormSelectButton:tl,ListSelectButton:nl,Pagination:ul,Dashboard:rl,ListViewSelect:ol,TextOcrButton:cl,InvoiceCheckButton:sl,BatchPrintListButton:dl,BatchPrintRecordListButton:fl,OperationButton:hl});class $g extends J{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=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Lg extends N{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:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ye extends T{constructor(e){var n,u,a,r,l,o,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new Za(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:pe.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Ye.Rules=$g,Ye.RuntimeRules=Lg;class pe extends P{constructor(e){super(e),this.props=new Ye(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"}}pe.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pe.controlFieldType=v.VARCHAR,pe.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 yl extends D{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"input"}}yl.controlFieldType=v.VARCHAR;var ml={Designer:pe,Runtime:yl,Property:Ye};class Vg extends Ke{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class Hg extends N{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 Bt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b,C;super(e),this.options=he((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=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Tt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var E;(E=this.multistageFilling)==null||E.push(new ee(S))}))}}Bt.Rules=Vg,Bt.RuntimeRules=Hg;class Tt extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=v.ARRAY,Tt.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 vl extends D{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}vl.controlFieldType=v.ARRAY;var gl={Designer:Tt,Runtime:vl,Property:Bt};class jg extends Ke{constructor(e){super(e)}}class Wn extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g;super(e),this.options=he((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=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Pt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new ee(b))}))}}Wn.Rules=jg;class Pt extends P{constructor(e){super(e),this.props=new Wn(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=v.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 bl extends D{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"radio"}}bl.controlFieldType=v.VARCHAR;var El={Designer:Pt,Runtime:bl,Property:Wn};class qg extends J{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Ug extends N{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b,C,S;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:xt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new Za(e==null?void 0:e.regularRules)}}Dt.Rules=qg,Dt.RuntimeRules=Ug;class xt extends P{constructor(e){super(e),this.props=new Dt(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:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xt.controlFieldType=v.DECIMAL,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:"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 Cl extends D{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"number"}}Cl.controlFieldType=v.DECIMAL;var Il={Designer:xt,Runtime:Cl,Property:Dt};class qu extends T{constructor(e){var n,u,a,r,l,o,s,d,y;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Kn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.limitDateList=(s=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new Pn(g)))!=null?s:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(y=e==null?void 0:e.filterWeekend)!=null?y:!1}}class Kn extends P{constructor(e){super(e),this.props=new qu(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:u}=this.props;n.props.dateType=u}return n}}Kn.controlFieldType=v.TIMESTAMP,Kn.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 wl extends D{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}wl.controlFieldType=v.TIMESTAMP;var Al={Designer:Kn,Runtime:wl,Property:qu};class Wg extends N{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 zn extends T{constructor(e){var n,u,a,r,l,o,s,d,y;super(e),this.dataBind=new Vh(e==null?void 0:e.dataBind),this.defaultValue=new Hh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\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=(s=e==null?void 0:e.caption)!=null?s:Gn.controlName,this.limitDateList=(y=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(g=>new Pn(g)))!=null?y:[]}}zn.RuntimeRules=Wg;class Gn extends P{constructor(e){super(e),this.props=new zn(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:u}=this.props;n.props.dateType=u}return n}}Gn.controlFieldType=v.TIMESCOPE,Gn.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 Sl extends D{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Sl.controlFieldType=v.TIMESCOPE;var _l={Designer:Gn,Runtime:Sl,Property:zn};class Kg extends J{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 zg extends N{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 Ft extends T{constructor(e){var n,u,a,r,l,o;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}Ft.Rules=Kg,Ft.RuntimeRules=zg;class Ot extends P{constructor(e){super(e),this.props=new Ft(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"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=v.TEXT,Ot.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 Rl extends D{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Rl.controlFieldType=v.TEXT;var Bl={Designer:Ot,Runtime:Rl,Property:Ft};class Gg extends J{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 Xg extends N{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 kt extends T{constructor(e){var n,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Nt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}kt.Rules=Gg,kt.RuntimeRules=Xg;class Nt extends P{constructor(e){super(e),this.props=new kt(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"}}Nt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Nt.controlFieldType=v.TEXT,Nt.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 Tl extends D{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Tl.controlFieldType=v.TEXT;var Pl={Designer:Nt,Runtime:Tl,Property:kt};class Qg extends Ke{constructor(e){super(e)}}class Xn extends T{constructor(e){var n,u,a,r,l,o,s;super(e),this.options=he((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Qn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var y;(y=this.multistageFilling)==null||y.push(new ee(d))}))}}Xn.Rules=Qg;class Qn extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Qn.controlFieldType=v.VARCHAR,Qn.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 Dl extends D{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"select"}}Dl.controlFieldType=v.VARCHAR;var xl={Designer:Qn,Runtime:Dl,Property:Xn};class Jg extends Ke{constructor(e){super(e)}}class Zg extends N{constructor(e){super(e),this[0].type="array"}}class Mt extends T{constructor(e){var n,u,a,r,l,o;super(e),this.options=he((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=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Jn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var d;(d=this.multistageFilling)==null||d.push(new ee(s))}))}}Mt.Rules=Jg,Mt.RuntimeRules=Zg;class Jn extends P{constructor(e){super(e),this.props=new Mt(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"}}Jn.controlFieldType=v.ARRAY,Jn.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 Fl extends D{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Fl.controlFieldType=v.ARRAY;var Ol={Designer:Jn,Runtime:Fl,Property:Mt};class Yg extends N{constructor(e){super(e),this[0].type="array"}}class Zn extends T{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Yn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new ee(y))}))}}Zn.RuntimeRules=Yg;class Yn extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Yn.controlFieldType=v.EMPLOYEES,Yn.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 kl extends D{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"employee"}}kl.controlFieldType=v.EMPLOYEES;var Nl={Designer:Yn,Runtime:kl,Property:Zn};const pg=10485760,eb=104857600,tb=1048576e3;class nb extends J{constructor(e){super(e),this.maxSize={type:"number",min:0,max:tb,message:f.getMessage("attachmentMaxSize")}}}class ib extends N{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 T{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",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=(o=e==null?void 0:e.maxSize)!=null?o:eb,this.caption=(s=e==null?void 0:e.caption)!=null?s:tt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}et.Rules=nb,et.RuntimeRules=ib;class tt 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"}}tt.controlEventKeys=["on_change"],tt.controlFieldType=v.FILE,tt.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 Uu extends D{constructor(e){super(e),this.props=new et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Uu.controlFieldType=v.FILE;var Ml={Designer:tt,Runtime:Uu,Property:et};const $l=class extends tt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,u,a;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:$l.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Wu=$l;Wu.controlFieldType=v.IMAGE,Wu.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 ub extends Uu{static get controlType(){return"image"}constructor(e){var n,u,a,r,l,o;super(e),this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class ab extends et{constructor(e){super(e)}}var Ll={Designer:Wu,Runtime:ub,Property:ab};class rb extends Ke{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,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class lb extends N{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[nn(ve({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class $t extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new $h(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Mi({value:"name"})]}),this.defaultValue=new Lh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:on.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Lt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}$t.Rules=rb,$t.RuntimeRules=lb;class Lt extends P{constructor(e){super(e),this.props=new $t(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:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.MONEY,Lt.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 Vl extends D{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"amount"}}Vl.controlFieldType=v.MONEY;var Hl={Designer:Lt,Runtime:Vl,Property:$t};class ob extends J{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 cb extends N{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 Vt extends T{constructor(e){var n,u,a,r,l,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:Tu.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new Dn(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Dn),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ht.controlName}}Vt.Rules=ob,Vt.RuntimeRules=cb;class Ht extends P{constructor(e){super(e),this.props=new Vt(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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new Dn);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Ht.controlEventKeys=["on_change","on_click"],Ht.controlFieldType=v.DECIMAL,Ht.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 jl extends D{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlType(){return"score"}}jl.controlFieldType=v.DECIMAL;var ql={Designer:Ht,Runtime:jl,Property:Vt};class sb extends N{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 pn extends T{constructor(e){var n,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ei.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new jh((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}pn.RuntimeRules=sb;class ei extends P{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ei.controlFieldType=v.ADDRESS,ei.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 Ul extends D{constructor(e){super(e),this.props=new pn(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"}}Ul.controlFieldType=v.ADDRESS;var Wl={Designer:ei,Runtime:Ul,Property:pn};class db extends N{constructor(e){super(e),this[0].type="array"}}class ti extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:ni.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new ee(b))}))}}ti.RuntimeRules=db;class ni extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ni.controlFieldType=v.DEPARTMENTS,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_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 Kl extends D{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"department"}}Kl.controlFieldType=v.DEPARTMENTS;var zl={Designer:ni,Runtime:Kl,Property:ti};class Ku extends T{constructor(e){var n,u,a;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class jt extends P{constructor(e){super(e),this.props=new Ku(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"}}jt.controlEventKeys=["on_change"],jt.controlFieldType=v.AUTO_NUMBER,jt.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 Gl extends D{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Gl.controlFieldType=v.AUTO_NUMBER;var Xl={Designer:jt,Runtime:Gl,Property:Ku};class fb extends J{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 hb extends N{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 qt extends T{constructor(e){var n,u,a,r,l,o,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new qh(e==null?void 0:e.dataBind),this.defaultValue=new Uh(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ut.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}qt.Rules=fb,qt.RuntimeRules=hb;class Ut extends P{constructor(e){super(e),this.props=new qt(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:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Ut.controlEventKeys=["on_change"],Ut.controlFieldType=v.CALC,Ut.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 Ql extends D{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ql.controlFieldType=v.CALC;var Jl={Designer:Ut,Runtime:Ql,Property:qt};class yb extends N{constructor(e){super(e),this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ii extends T{constructor(e){var n,u,a,r,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:ui.controlName}}ii.RuntimeRules=yb;class ui extends P{constructor(e){super(e),this.props=new ii(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"}}ui.controlFieldType=v.DECIMAL_RANGE,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:"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 Zl extends D{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Zl.controlFieldType=v.DECIMAL_RANGE;var Yl={Designer:ui,Runtime:Zl,Property:ii};class mb extends N{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 ai extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:ge.DATE,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=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:ri.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(b=>new Pn(b)))!=null?g:[]}}ai.RuntimeRules=mb;class ri extends P{constructor(e){super(e),this.props=new ai(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"}}ri.controlFieldType=v.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:"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 pl extends D{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}pl.controlFieldType=v.ARRAY;var eo={Designer:ri,Runtime:pl,Property:ai};class vb extends J{constructor(e){super(e),this.dataBind={type:"any"}}}class gb extends N{constructor(e){super(e),this[0].type="any"}}class Wt extends T{constructor(e){var n,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Wt.Rules=vb,Wt.RuntimeRules=gb;class Kt extends P{constructor(e){super(e),this.props=new Wt(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"}}Kt.controlFieldType=v.ANY,Kt.controlEventKeys=[],Kt.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 to extends D{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}to.controlFieldType=v.ANY;var no={Designer:Kt,Runtime:to,Property:Wt};class bb extends Ke{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 li extends T{constructor(e){var n,u,a,r,l,o;super(e),this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new Ga(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(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.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var d;(d=this.multistageFilling)==null||d.push(new ee(s))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1}}li.Rules=bb;class oi extends P{constructor(e){super(e),this.props=new li(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"}}oi.controlFieldType=v.VARCHAR,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.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class io extends D{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}io.controlFieldType=v.VARCHAR;var uo={Designer:oi,Runtime:io,Property:li};class zu extends Ye{constructor(e){super(e)}}class ao extends pe{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}ao.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 ro extends D{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ro.controlFieldType=v.VARCHAR;var lo={Designer:ao,Runtime:ro,Property:zu};class Eb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],pi.call(this,e,Be.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"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Cb extends N{constructor(e){super(e),this[0].type="array"}}class zt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b,C,S;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(d=e==null?void 0:e.defaultCollapse)!=null?d:"all",this.defaultCollapseLevel=(y=e==null?void 0:e.defaultCollapseLevel)!=null?y:1,this.datasourceBind=new Nh((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Be.controlCustomAttributes}),this.multistageFilling=(C=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(E=>new ee(E)))!=null?C:[],this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:[]}}zt.Rules=Eb,zt.RuntimeRules=Cb;class Be extends P{constructor(e){super(e),this.props=new zt(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}]}}Be.controlEventKeys=["on_change","on_click"],Be.controlFieldType=v.ARRAY,Be.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.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 oo extends D{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"tree"}}oo.controlFieldType=v.ARRAY;var co={Designer:Be,Runtime:oo,Property:zt};class Ib extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},pi.call(this,e,nt.controlCustomAttributes),e.externalType===Xe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class wb extends N{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b,C,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:nt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new ln((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:nt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:Ou.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Nu.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Xe.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new ee(E))}))}}Gt.Rules=Ib,Gt.RuntimeRules=wb;class nt extends P{constructor(e){super(e),this.props=new Gt(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}]}}nt.controlFieldType=v.EMPLOYEES,nt.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 so extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}so.controlFieldType=v.EMPLOYEES;var fo={Designer:nt,Runtime:so,Property:Gt};class Ab extends J{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,u,a)=>(n[a]={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(r,l,o){if(u.type==="public"&&xi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&xi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class ci extends T{constructor(e){var n,u,a,r,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Hr(e==null?void 0:e.signatureConfig)}}ci.Rules=Ab;class Xt extends P{constructor(e){super(e),this.props=new ci(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"}}Xt.controlEventKeys=["on_click","on_click_finish"],Xt.controlFieldType=v.VARCHAR,Xt.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 ho extends D{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}ho.controlFieldType=v.VARCHAR;var yo={Designer:Xt,Runtime:ho,Property:ci};class Sb extends J{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class _b extends N{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:pg,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new jr(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Qt.Rules=Sb,Qt.RuntimeRules=_b;class Jt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Jt.controlEventKeys=["on_change","on_wps_open"],Jt.controlFieldType=v.FILE,Jt.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 mo extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"wps"}}mo.controlFieldType=v.FILE;var vo={Designer:Jt,Runtime:mo,Property:Qt};class Rb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},pi.call(this,e,it.controlCustomAttributes),e.businessType===Xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Bb extends N{constructor(e){super(e),this[0].type="array"}}class Zt extends T{constructor(e){var n,u,a,r,l,o,s,d,y,g,b,C,S,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:it.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new ln((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:it.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:ku.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Xe.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var m;(m=this.multistageFilling)==null||m.push(new ee(_))}))}}Zt.Rules=Rb,Zt.RuntimeRules=Bb;class it extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}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:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}it.controlFieldType=v.DEPARTMENTS,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:!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 go extends D{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"department2"}}go.controlFieldType=v.DEPARTMENTS;var bo={Designer:it,Runtime:go,Property:Zt},Tb=Object.freeze({__proto__:null,Input:ml,Checkbox:gl,Radio:El,Number:Il,DatePicker:Al,DateRange:_l,Textarea:Bl,RichText:Pl,Select:xl,SelectMultiple:Ol,Employee:Nl,Image:Ll,Attachment:Ml,Amount:Hl,Score:ql,Address:Wl,Department:zl,AutoNumber:Xl,Calc:Jl,SearchNumberRange:Yl,SearchDateRange:eo,VueFormItem:no,SelectRelation:uo,SearchInput:lo,Tree:co,Employee2:fo,ElectronicSignature:yo,WPS:vo,Department2:bo});class Eo extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Eo.excludes=[A.GRID];class Pb extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var Co={Designer:Eo,Runtime:Pb,Property:M};const Db=24;class Te extends M{constructor(e){var n,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Db,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class Yt extends H{constructor(e){super(e),this.props=new Te(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Yt.excludes=[A.COL,A.CARD_GROUP,A.SUBTABLE,A.SUBTABLE_COLUMN,A.DIVIDER],Yt.childrenMaxLength=1;class Gu extends W{constructor(e){super(e),this.props=new Te(e==null?void 0:e.props)}static get controlType(){return"col"}}var Io={Designer:Yt,Runtime:Gu,Property:Te};class si extends M{constructor(e){var n,u;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class di extends H{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}di.excludes=[A.ROW],di.setting=[{key:"col-setting",visible:!0}];class wo extends W{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ao={Designer:di,Runtime:wo,Property:si};const xb=4;class fi extends di{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)}}fi.excludes=[A.GRID_ROW],fi.setting=[],fi.childrenMaxLength=xb;class Fb extends wo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Ob extends si{constructor(e){super(e)}}var So={Designer:fi,Runtime:Fb,Property:Ob};class kb extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class hi extends M{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}hi.Rules=kb;class Xu extends H{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Xu.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}],Xu.excludes=[A.CARD_GROUP];class Nb extends W{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var _o={Designer:Xu,Runtime:Nb,Property:hi};class Mb extends L{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")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class yi extends M{constructor(e){var n,u,a,r,l,o;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(o=e==null?void 0:e.isHideCaption)!=null?o:!1}}yi.Rules=Mb;class re extends H{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}re.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",re.controlType="subtable-column",re.controlIcon="subtable-column",re.childrenMaxLength=1,re.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class Ro extends W{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}}Ro.controlType="subtable-column";var Bo={Designer:re,Runtime:Ro,Property:yi};class Qu extends M{constructor(e){super(e)}}class Pe extends H{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}Pe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Pe.controlType="subtable-row",Pe.controlIcon="subtable-row",Pe.childrenMaxLength=1,Pe.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class $b extends W{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var To={Designer:Pe,Runtime:$b,Property:Qu};class Ju extends M{constructor(e){var n,u,a,r,l,o,s,d,y,g;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=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:v.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(y=e==null?void 0:e.timestampDateType)!=null?y:ge.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class De extends H{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}}De.controlName="\u5217\u8868\u5355\u5143\u683C",De.controlType="gridtable-column",De.controlIcon="gridtable-column",De.childrenMaxLength=1,De.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],De.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Po extends W{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}}Po.controlType="gridtable-column";var Do={Designer:De,Runtime:Po,Property:Ju};class Zu extends M{constructor(e){super(e)}}class Lb extends L{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class mi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vi.controlName}}mi.Rules=Lb;class pt extends H{constructor(e){super(e),this.props=new mi(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"}}pt.excludes=[A.TAB],pt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Vb extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var xo={Designer:pt,Runtime:Vb,Property:mi};class vi extends H{constructor(e){var n;super(e),this.props=new Zu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new pt,new pt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}vi.excludes=[A.TAB],vi.setting=[{key:"super-setting",visible:!0}];class Hb extends W{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Fo={Designer:vi,Runtime:Hb,Property:Zu};class Oo extends M{constructor(e){super(e)}}class ko extends H{constructor(e){super(e),this.props=new Oo({}),this.children=(e==null?void 0:e.children)||[new Yt({props:new Te({span:12})}),new Yt({props:new Te({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ko.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class jb extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Gu({props:new Te({span:12})}),new Gu({props:new Te({span:12})})]}}var No={Designer:ko,Runtime:jb,Property:Oo};class qb extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ub extends L{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")}),Yi.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class en extends M{constructor(e){var n,u,a,r,l,o,s,d,y;super(e),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new Dh(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(d=e==null?void 0:e.isAllLoaded)!=null?d:!0,this.countType=(y=e==null?void 0:e.countType)!=null?y:"async"}}en.Rules=Ub,en.RuntimeRules=qb;class gi extends H{constructor(e){super(e),this.props=new en(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"}}gi.excludes=[A.ROW],gi.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"],gi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Wb extends W{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Mo={Designer:gi,Runtime:Wb,Property:en};class Kb extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class bi extends M{constructor(e){var n,u,a,r,l,o;super(e),this.save=new Ee((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ee((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ee((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ee((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Ee(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind)}}bi.RuntimeRules=Kb;class $o extends H{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}$o.excludes=[];class zb extends W{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Lo={Designer:$o,Runtime:zb,Property:bi};class Gb extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Xb extends W{static get controlType(){return"page"}constructor(e){super(e)}}class Qb extends M{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 Vo={Designer:Gb,Runtime:Xb,Property:Qb};class Jb extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Zb extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Yb extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Wr(e==null?void 0:e.flexConfig)}}var Ho={Designer:Jb,Runtime:Zb,Property:Yb};class pb extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class e0 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class t0 extends M{constructor(e){super(e)}}var jo={Designer:pb,Runtime:e0,Property:t0};class n0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class i0 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class u0 extends M{constructor(e){var n,u,a,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var qo={Designer:n0,Runtime:i0,Property:u0},a0=Object.freeze({__proto__:null,Grid:Co,Col:Io,Row:Ao,GridRow:So,CardGroup:_o,SubTableColumn:Bo,SubTableRow:To,GridTableColumn:Do,Tab:Fo,TabPane:xo,Toolbox:No,ListView:Mo,DataView:Lo,Page:Vo,AdvancedContainer:Ho,PositioningContainer:jo,Position:qo});class r0 extends L{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")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class l0 extends _e{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,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class tn extends In{constructor(e,n){var u,a,r,l,o,s,d,y,g,b,C,S,E,_,m,I,q,w,F,ie,x;super(e,n),this.caption=(u=n==null?void 0:n.caption)!=null?u:Ei.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(y=n==null?void 0:n.maxHeight)!=null?y:qr,this.printMode=(g=n==null?void 0:n.printMode)!=null?g:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new Q(n==null?void 0:n.datasourceBind),this.canAdd=(S=n==null?void 0:n.canAdd)!=null?S:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(m=n==null?void 0:n.canEdit)!=null?m:!1,this.canImport=(I=n==null?void 0:n.canImport)!=null?I:!1,this.canExport=(q=n==null?void 0:n.canExport)!=null?q:!1,this.canClear=(w=n==null?void 0:n.canClear)!=null?w:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:""}}tn.Rules=r0,tn.RuntimeRules=l0;class Ei extends du{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 re,new re,new re])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new re,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Ei.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],Ei.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]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class o0 extends xr{constructor(e){super(e),this.props=new tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ha("Method not implemented.")}getChildrenFormControl(){return[]}}var Uo={Designer:Ei,Runtime:o0,Property:tn};class Yu extends In{constructor(e,n){var u,a,r,l;super(e,n),this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class c0 extends bu{constructor(e){super(e),this.caption.required=!1}}class Ci extends j{constructor(e){var n,u,a,r,l,o,s,d;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:xe.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Ci.Rules=c0;class xe extends z{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}xe.controlType="order-column",xe.controlName="\u5E8F\u53F7",xe.controlIcon="order-column",xe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class pu extends G{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}}pu.controlType="order-column",pu.controlFieldType=v.DECIMAL;var Wo={Designer:xe,Runtime:pu,Property:Ci};class ea extends j{constructor(e){var n,u,a,r,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:me.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class me extends z{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{n instanceof Un&&(e.props[n.props.command]=n.props)}),e}toSchema(){const e=super.toSchema();return nn(ve({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Da(this,null,function*(){return yield Pa(me.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}}me.controlType="operation-column",me.controlName="\u64CD\u4F5C",me.controlIcon="operation-column",me.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 ta extends G{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}ta.controlType="operation-column",ta.controlFieldType=v.FILE;var Ko={Designer:me,Runtime:ta,Property:ea};class Ii extends du{constructor(e){super(e),this.props=new Yu(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new xe,new me])}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(u=>u.toSchema());return nn(ve({},e),{children:n})}validate(e,n){return Da(this,null,function*(){return yield Pa(Ii.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}}Ii.setting=[{key:"list-fixed-header",visible:!0}];class s0 extends xr{constructor(e){super(e),this.props=new Yu(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ha("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var zo={Designer:Ii,Runtime:s0,Property:Yu},d0=Object.freeze({__proto__:null,SubTable:Uo,GridTable:zo});class f0 extends Or{constructor(e){super(e)}}class wi extends j{constructor(e){var n,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}wi.Rules=f0;class Fe extends z{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}Fe.controlType="varchar-column",Fe.controlName="\u77ED\u6587\u672C",Fe.controlIcon="varchar-column",Fe.controlFieldType=v.VARCHAR,Fe.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-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class na extends G{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}na.controlType="varchar-column",na.controlFieldType=v.VARCHAR;var Go={Designer:Fe,Runtime:na,Property:wi};class ia extends j{constructor(e){var n,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:Oe.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Oe extends z{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}Oe.controlType="text-column",Oe.controlName="\u957F\u6587\u672C",Oe.controlIcon="text-column",Oe.controlFieldType=v.TEXT,Oe.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-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class ua extends G{constructor(e){super(e),this.props=new ia(e==null?void 0:e.props)}}ua.controlType="text-column",ua.controlFieldType=v.TEXT;var Xo={Designer:Oe,Runtime:ua,Property:ia};class aa extends j{constructor(e){var n,u,a,r,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}])}}class ke extends z{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}ke.controlType="decimal-column",ke.controlName="\u6570\u503C",ke.controlIcon="decimal-column",ke.controlFieldType=v.DECIMAL,ke.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:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ra extends G{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}}ra.controlType="decimal-column",ra.controlFieldType=v.DECIMAL;var Qo={Designer:ke,Runtime:ra,Property:aa};class la extends j{constructor(e){var n,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Ne.controlName}}class Ne extends z{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ne.controlType="timescope-column",Ne.controlName="\u65E5\u671F\u533A\u95F4",Ne.controlIcon="timescope-column",Ne.controlFieldType=v.TIMESCOPE,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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class oa extends G{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}oa.controlType="timescope-column",oa.controlFieldType=v.TIMESCOPE;var Jo={Designer:Ne,Runtime:oa,Property:la};class ca extends j{constructor(e){var n,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Me.controlName}}class Me extends z{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Me.controlType="timestamp-column",Me.controlName="\u65E5\u671F",Me.controlIcon="timestamp-column",Me.controlFieldType=v.TIMESTAMP,Me.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:"date-type",visible:!0},{key:"column-sort",visible:!0}];class sa extends G{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}sa.controlType="timestamp-column",sa.controlFieldType=v.TIMESTAMP;var Zo={Designer:Me,Runtime:sa,Property:ca};class h0 extends Or{constructor(e){super(e)}}class Ai extends j{constructor(e){var n,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Ai.Rules=h0;class $e extends z{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}$e.controlType="array-column",$e.controlName="\u6570\u7EC4",$e.controlIcon="array-column",$e.controlFieldType=v.ARRAY,$e.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 da extends G{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}da.controlType="array-column",da.controlFieldType=v.ARRAY;var Yo={Designer:$e,Runtime:da,Property:Ai};class fa extends j{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Le extends z{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}Le.controlType="department-column",Le.controlName="\u90E8\u95E8",Le.controlIcon="department-column",Le.controlFieldType=v.DEPARTMENTS,Le.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 ha extends G{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}}ha.controlType="department-column",ha.controlFieldType=v.DEPARTMENTS;var po={Designer:Le,Runtime:ha,Property:fa};class ya extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends z{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}Ve.controlType="auto-number-column",Ve.controlName="\u81EA\u52A8\u7F16\u53F7",Ve.controlIcon="auto-number-column",Ve.controlFieldType=v.AUTO_NUMBER,Ve.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 ma extends G{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}ma.controlType="auto-number-column",ma.controlFieldType=v.AUTO_NUMBER;var ec={Designer:Ve,Runtime:ma,Property:ya};class va extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends z{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}He.controlType="file-column",He.controlName="\u9644\u4EF6",He.controlIcon="file-column",He.controlFieldType=v.FILE,He.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 ga extends G{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}}ga.controlType="file-column",ga.controlFieldType=v.FILE;var tc={Designer:He,Runtime:ga,Property:va};class ba extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends z{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}je.controlType="image-column",je.controlName="\u56FE\u7247",je.controlIcon="image-column",je.controlFieldType=v.IMAGE,je.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 Ea extends G{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}}Ea.controlType="image-column",Ea.controlFieldType=v.IMAGE;var nc={Designer:je,Runtime:Ea,Property:ba};class Ca extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends z{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}qe.controlType="people-column",qe.controlName="\u4EBA\u5458",qe.controlIcon="people-column",qe.controlFieldType=v.EMPLOYEES,qe.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 Ia extends G{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}}Ia.controlType="people-column",Ia.controlFieldType=v.EMPLOYEES;var ic={Designer:qe,Runtime:Ia,Property:Ca};class wa extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends z{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}Ue.controlType="location-column",Ue.controlName="\u5730\u5740",Ue.controlIcon="location-column",Ue.controlFieldType=v.ADDRESS,Ue.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 Aa extends G{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}Aa.controlType="location-column",Aa.controlFieldType=v.ADDRESS;var uc={Designer:Ue,Runtime:Aa,Property:wa};class Sa extends j{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const y0=1;class Ae extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new Sa(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=be(n),this.childrenMaxLength=u}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:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return nn(ve({},e),{children:this.children.map(n=>n.toSchema())})}}Ae.controlType="custom-column",Ae.controlName="\u81EA\u5B9A\u4E49",Ae.controlIcon="custom-column",Ae.excludes=[],Ae.childrenMaxLength=y0,Ae.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 ac extends G{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}ac.controlType="custom-column";var rc={Designer:Ae,Runtime:ac,Property:Sa};class _a extends j{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Se.controlName,this.datasourceBind=new ln((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Se.controlCustomAttributes})}}class Se extends z{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Se.controlType="employee-column",Se.controlName="\u4EBA\u5458",Se.controlIcon="employee-column",Se.controlFieldType=v.EMPLOYEES,Se.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 Ra extends G{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}}Ra.controlType="employee-column",Ra.controlFieldType=v.EMPLOYEES;var lc={Designer:Se,Runtime:Ra,Property:_a},m0=Object.freeze({__proto__:null,VarcharColumn:Go,TextColumn:Xo,DecimalColumn:Qo,TimescopeColumn:Jo,TimestampColumn:Zo,ArrayColumn:Yo,DepartmentColumn:po,AutoNumberColumn:ec,FileColumn:tc,ImageColumn:nc,PeopleColumn:ic,LocationColumn:uc,CustomColumn:rc,OrderColumn:Wo,OperationColumn:Ko,EmployeeColumn:lc});class v0 extends _e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Si extends wu{constructor(e){var n,u,a,r,l,o,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ee((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ee((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=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new Ee(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Si.RuntimeRules=v0;class Ba extends Gv{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}}Ba.controlType="simple-search",Ba.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 oc extends tg{constructor(e){var n;super(e),this.props=new Si(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}oc.controlType="simple-search";var cc={Designer:Ba,Runtime:oc,Property:Si},g0=Object.freeze({__proto__:null,SimpleSearch:cc});h.Address=Wl,h.AdvancedContainer=Ho,h.Amount=Hl,h.ArrayColumn=Yo,h.AssignType=Xe,h.Attachment=Ml,h.AutoNumber=Xl,h.AutoNumberColumn=ec,h.BatchPrintListButton=dl,h.BatchPrintRecordListButton=fl,h.BatchSubmissionListButton=Jr,h.Button=$r,h.Calc=Jl,h.CardGroup=_o,h.Checkbox=gl,h.Col=Io,h.CreateFormListButton=Qr,h.CustomColumn=rc,h.DATE_CONFIG_TYPE=Lr,h.DATE_LIMIT_TYPE=Vr,h.Dashboard=rl,h.DataView=Lo,h.DatePicker=Al,h.DateRange=_l,h.DecimalColumn=Qo,h.Department=zl,h.Department2=bo,h.DepartmentColumn=po,h.DepartmentType=ku,h.Divider=Gr,h.ElectronicSignature=yo,h.ElectronicSignatureConfig=Hr,h.Employee=Nl,h.Employee2=fo,h.EmployeeColumn=lc,h.EncryptTypeEnum=Kr,h.Explain=Dn,h.ExportListButton=Yr,h.ExportRecordListButton=pr,h.ExportTemplate=xu,h.FileColumn=tc,h.FlexStyleConfig=Wr,h.FormSelectButton=tl,h.Grid=Co,h.GridRow=So,h.GridTable=zo,h.GridTableColumn=Do,h.Image=Ll,h.ImageColumn=nc,h.ImportRecordListButton=el,h.Input=ml,h.InternalType=Nu,h.InvoiceCheckButton=sl,h.LINE_STYLE=Pu,h.LimitDate=Pn,h.Link=Mr,h.ListSelectButton=nl,h.ListView=Mo,h.ListViewSelect=ol,h.LocationColumn=uc,h.Number=Il,h.OperationButton=hl,h.OperationColumn=Ko,h.OrderColumn=Wo,h.OrganizeType=Ou,h.Page=Vo,h.Pagination=ul,h.PeopleColumn=ic,h.Position=qo,h.PositioningContainer=jo,h.PrintTemplate=Ur,h.Radio=El,h.RichText=Pl,h.Row=Ao,h.SCORE_TYPE=Tu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=qr,h.Score=ql,h.SearchDateRange=eo,h.SearchInput=lo,h.SearchNumberRange=Yl,h.Select=xl,h.SelectMultiple=Ol,h.SelectRelation=uo,h.SimpleSearch=cc,h.SubTable=Uo,h.SubTableColumn=Bo,h.SubTableRow=To,h.SubmissionRecordListButton=Zr,h.Tab=Fo,h.TabPane=xo,h.Text=Nr,h.TextColumn=Xo,h.TextOcrButton=cl,h.Textarea=Bl,h.TimescopeColumn=Jo,h.TimestampColumn=Zo,h.Title=Xr,h.TitleConfigEnum=Re,h.Toolbox=No,h.Tree=co,h.UndersignedPerson=Du,h.VarcharColumn=Go,h.VueFormItem=no,h.WPS=vo,h.WPSSetting=jr,h.WpsOperationItem=Fu,h.baseControls=Mg,h.columnControls=m0,h.formControls=Tb,h.initExpression=mt,h.layoutControls=a0,h.listControls=d0,h.searchControls=g0,Object.defineProperty(h,"__esModule",{value:!0})});