@byteluck-fe/model-driven-controls 2.3.1 → 2.3.12

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 (270) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +28 -28
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +31 -31
  3. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +26 -26
  4. package/dist/esm/baseControls/BatchPrintListButton/designer.js +28 -28
  5. package/dist/esm/baseControls/BatchPrintListButton/property.js +29 -29
  6. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +26 -26
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +28 -28
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +22 -22
  9. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +26 -26
  10. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +28 -28
  11. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +31 -31
  12. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +26 -26
  13. package/dist/esm/baseControls/Button/designer.js +28 -28
  14. package/dist/esm/baseControls/Button/property.js +31 -31
  15. package/dist/esm/baseControls/Button/runtime.js +26 -26
  16. package/dist/esm/baseControls/CreateFormListButton/designer.js +28 -28
  17. package/dist/esm/baseControls/CreateFormListButton/property.js +29 -29
  18. package/dist/esm/baseControls/CreateFormListButton/runtime.js +26 -26
  19. package/dist/esm/baseControls/Dashboard/designer.js +27 -27
  20. package/dist/esm/baseControls/Dashboard/property.js +37 -37
  21. package/dist/esm/baseControls/Dashboard/runtime.js +26 -26
  22. package/dist/esm/baseControls/Divider/designer.js +27 -27
  23. package/dist/esm/baseControls/Divider/property.js +25 -25
  24. package/dist/esm/baseControls/Divider/runtime.js +26 -26
  25. package/dist/esm/baseControls/ExportListButton/designer.js +28 -28
  26. package/dist/esm/baseControls/ExportListButton/property.js +24 -24
  27. package/dist/esm/baseControls/ExportListButton/runtime.js +26 -26
  28. package/dist/esm/baseControls/ExportRecordListButton/designer.js +28 -28
  29. package/dist/esm/baseControls/ExportRecordListButton/property.js +22 -22
  30. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +26 -26
  31. package/dist/esm/baseControls/FormSelectButton/designer.js +28 -28
  32. package/dist/esm/baseControls/FormSelectButton/property.js +37 -37
  33. package/dist/esm/baseControls/FormSelectButton/runtime.js +26 -26
  34. package/dist/esm/baseControls/ImportRecordListButton/designer.js +28 -28
  35. package/dist/esm/baseControls/ImportRecordListButton/property.js +26 -26
  36. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +26 -26
  37. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +28 -28
  38. package/dist/esm/baseControls/InvoiceCheckButton/property.js +39 -39
  39. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +26 -26
  40. package/dist/esm/baseControls/Link/designer.js +28 -28
  41. package/dist/esm/baseControls/Link/property.js +26 -26
  42. package/dist/esm/baseControls/Link/runtime.js +26 -26
  43. package/dist/esm/baseControls/ListSelectButton/designer.js +28 -28
  44. package/dist/esm/baseControls/ListSelectButton/property.js +36 -36
  45. package/dist/esm/baseControls/ListSelectButton/runtime.js +26 -26
  46. package/dist/esm/baseControls/ListViewSelect/designer.js +27 -27
  47. package/dist/esm/baseControls/ListViewSelect/property.js +30 -30
  48. package/dist/esm/baseControls/ListViewSelect/runtime.js +26 -26
  49. package/dist/esm/baseControls/OperationButton/designer.js +28 -28
  50. package/dist/esm/baseControls/OperationButton/property.js +40 -40
  51. package/dist/esm/baseControls/OperationButton/runtime.js +26 -26
  52. package/dist/esm/baseControls/Pagination/designer.js +27 -27
  53. package/dist/esm/baseControls/Pagination/property.js +29 -29
  54. package/dist/esm/baseControls/Pagination/runtime.js +26 -26
  55. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +28 -28
  56. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +22 -22
  57. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +26 -26
  58. package/dist/esm/baseControls/Text/designer.js +27 -27
  59. package/dist/esm/baseControls/Text/property.js +28 -28
  60. package/dist/esm/baseControls/Text/runtime.js +26 -26
  61. package/dist/esm/baseControls/TextOcrButton/designer.js +28 -28
  62. package/dist/esm/baseControls/TextOcrButton/property.js +39 -39
  63. package/dist/esm/baseControls/TextOcrButton/runtime.js +26 -26
  64. package/dist/esm/baseControls/Title/designer.js +28 -28
  65. package/dist/esm/baseControls/Title/property.js +33 -33
  66. package/dist/esm/baseControls/Title/runtime.js +26 -26
  67. package/dist/esm/columnControls/ArrayColumn/designer.js +29 -29
  68. package/dist/esm/columnControls/ArrayColumn/property.js +29 -29
  69. package/dist/esm/columnControls/ArrayColumn/runtime.js +26 -26
  70. package/dist/esm/columnControls/AutoNumberColumn/designer.js +29 -29
  71. package/dist/esm/columnControls/AutoNumberColumn/property.js +22 -22
  72. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +26 -26
  73. package/dist/esm/columnControls/CustomColumn/designer.js +47 -47
  74. package/dist/esm/columnControls/CustomColumn/property.js +24 -24
  75. package/dist/esm/columnControls/CustomColumn/runtime.js +27 -27
  76. package/dist/esm/columnControls/DecimalColumn/designer.js +37 -37
  77. package/dist/esm/columnControls/DecimalColumn/property.js +29 -29
  78. package/dist/esm/columnControls/DecimalColumn/runtime.js +26 -26
  79. package/dist/esm/columnControls/DepartmentColumn/designer.js +37 -37
  80. package/dist/esm/columnControls/DepartmentColumn/property.js +24 -24
  81. package/dist/esm/columnControls/DepartmentColumn/runtime.js +26 -26
  82. package/dist/esm/columnControls/EmployeeColumn/designer.js +31 -31
  83. package/dist/esm/columnControls/EmployeeColumn/property.js +24 -24
  84. package/dist/esm/columnControls/EmployeeColumn/runtime.js +26 -26
  85. package/dist/esm/columnControls/FileColumn/designer.js +29 -29
  86. package/dist/esm/columnControls/FileColumn/property.js +22 -22
  87. package/dist/esm/columnControls/FileColumn/runtime.js +26 -26
  88. package/dist/esm/columnControls/ImageColumn/designer.js +29 -29
  89. package/dist/esm/columnControls/ImageColumn/property.js +22 -22
  90. package/dist/esm/columnControls/ImageColumn/runtime.js +26 -26
  91. package/dist/esm/columnControls/LocationColumn/designer.js +29 -29
  92. package/dist/esm/columnControls/LocationColumn/property.js +22 -22
  93. package/dist/esm/columnControls/LocationColumn/runtime.js +26 -26
  94. package/dist/esm/columnControls/OperationColumn/designer.js +49 -49
  95. package/dist/esm/columnControls/OperationColumn/property.js +25 -25
  96. package/dist/esm/columnControls/OperationColumn/runtime.js +28 -28
  97. package/dist/esm/columnControls/OrderColumn/designer.js +28 -28
  98. package/dist/esm/columnControls/OrderColumn/property.js +26 -26
  99. package/dist/esm/columnControls/OrderColumn/runtime.js +26 -26
  100. package/dist/esm/columnControls/PeopleColumn/designer.js +29 -29
  101. package/dist/esm/columnControls/PeopleColumn/property.js +22 -22
  102. package/dist/esm/columnControls/PeopleColumn/runtime.js +26 -26
  103. package/dist/esm/columnControls/TextColumn/designer.js +37 -37
  104. package/dist/esm/columnControls/TextColumn/property.js +25 -25
  105. package/dist/esm/columnControls/TextColumn/runtime.js +26 -26
  106. package/dist/esm/columnControls/TimescopeColumn/designer.js +37 -37
  107. package/dist/esm/columnControls/TimescopeColumn/property.js +24 -24
  108. package/dist/esm/columnControls/TimescopeColumn/runtime.js +26 -26
  109. package/dist/esm/columnControls/TimestampColumn/designer.js +37 -37
  110. package/dist/esm/columnControls/TimestampColumn/property.js +24 -24
  111. package/dist/esm/columnControls/TimestampColumn/runtime.js +26 -26
  112. package/dist/esm/columnControls/VarcharColumn/designer.js +29 -29
  113. package/dist/esm/columnControls/VarcharColumn/property.js +30 -30
  114. package/dist/esm/columnControls/VarcharColumn/runtime.js +26 -26
  115. package/dist/esm/formControls/Address/designer.js +28 -28
  116. package/dist/esm/formControls/Address/property.js +41 -33
  117. package/dist/esm/formControls/Address/runtime.js +27 -27
  118. package/dist/esm/formControls/Amount/designer.js +35 -35
  119. package/dist/esm/formControls/Amount/property.js +55 -47
  120. package/dist/esm/formControls/Amount/runtime.js +27 -27
  121. package/dist/esm/formControls/Attachment/designer.js +29 -29
  122. package/dist/esm/formControls/Attachment/property.js +36 -36
  123. package/dist/esm/formControls/Attachment/runtime.js +27 -27
  124. package/dist/esm/formControls/AutoNumber/designer.js +29 -29
  125. package/dist/esm/formControls/AutoNumber/property.js +24 -24
  126. package/dist/esm/formControls/AutoNumber/runtime.js +27 -27
  127. package/dist/esm/formControls/Calc/designer.js +35 -35
  128. package/dist/esm/formControls/Calc/property.js +41 -36
  129. package/dist/esm/formControls/Calc/runtime.js +27 -27
  130. package/dist/esm/formControls/Checkbox/designer.js +29 -29
  131. package/dist/esm/formControls/Checkbox/property.js +44 -44
  132. package/dist/esm/formControls/Checkbox/runtime.js +27 -27
  133. package/dist/esm/formControls/DatePicker/designer.js +34 -34
  134. package/dist/esm/formControls/DatePicker/property.js +29 -29
  135. package/dist/esm/formControls/DatePicker/runtime.js +27 -27
  136. package/dist/esm/formControls/DateRange/designer.js +34 -34
  137. package/dist/esm/formControls/DateRange/property.js +73 -40
  138. package/dist/esm/formControls/DateRange/runtime.js +27 -27
  139. package/dist/esm/formControls/Department/designer.js +34 -34
  140. package/dist/esm/formControls/Department/property.js +36 -36
  141. package/dist/esm/formControls/Department/runtime.js +27 -27
  142. package/dist/esm/formControls/Department2/designer.js +34 -34
  143. package/dist/esm/formControls/Department2/property.js +46 -46
  144. package/dist/esm/formControls/Department2/runtime.js +27 -27
  145. package/dist/esm/formControls/ElectronicSignature/designer.js +29 -29
  146. package/dist/esm/formControls/ElectronicSignature/property.js +35 -35
  147. package/dist/esm/formControls/ElectronicSignature/runtime.js +27 -27
  148. package/dist/esm/formControls/Employee/designer.js +28 -28
  149. package/dist/esm/formControls/Employee/property.js +34 -34
  150. package/dist/esm/formControls/Employee/runtime.js +27 -27
  151. package/dist/esm/formControls/Employee2/designer.js +28 -28
  152. package/dist/esm/formControls/Employee2/property.js +45 -45
  153. package/dist/esm/formControls/Employee2/runtime.js +27 -27
  154. package/dist/esm/formControls/Image/designer.js +27 -27
  155. package/dist/esm/formControls/Image/property.js +22 -22
  156. package/dist/esm/formControls/Image/runtime.js +24 -24
  157. package/dist/esm/formControls/Input/designer.js +29 -29
  158. package/dist/esm/formControls/Input/property.js +38 -38
  159. package/dist/esm/formControls/Input/runtime.js +27 -27
  160. package/dist/esm/formControls/Number/designer.js +35 -35
  161. package/dist/esm/formControls/Number/property.js +43 -43
  162. package/dist/esm/formControls/Number/runtime.js +27 -27
  163. package/dist/esm/formControls/Radio/designer.js +29 -29
  164. package/dist/esm/formControls/Radio/property.js +38 -38
  165. package/dist/esm/formControls/Radio/runtime.js +27 -27
  166. package/dist/esm/formControls/RichText/designer.js +29 -29
  167. package/dist/esm/formControls/RichText/property.js +35 -35
  168. package/dist/esm/formControls/RichText/runtime.js +27 -27
  169. package/dist/esm/formControls/Score/designer.js +46 -46
  170. package/dist/esm/formControls/Score/property.js +36 -36
  171. package/dist/esm/formControls/Score/runtime.js +27 -27
  172. package/dist/esm/formControls/SearchDateRange/designer.js +28 -28
  173. package/dist/esm/formControls/SearchDateRange/property.js +34 -34
  174. package/dist/esm/formControls/SearchDateRange/runtime.js +27 -27
  175. package/dist/esm/formControls/SearchInput/designer.js +27 -27
  176. package/dist/esm/formControls/SearchInput/property.js +24 -24
  177. package/dist/esm/formControls/SearchInput/runtime.js +27 -27
  178. package/dist/esm/formControls/SearchNumberRange/designer.js +28 -28
  179. package/dist/esm/formControls/SearchNumberRange/property.js +31 -31
  180. package/dist/esm/formControls/SearchNumberRange/runtime.js +27 -27
  181. package/dist/esm/formControls/Select/designer.js +28 -28
  182. package/dist/esm/formControls/Select/property.js +34 -34
  183. package/dist/esm/formControls/Select/runtime.js +27 -27
  184. package/dist/esm/formControls/SelectMultiple/designer.js +28 -28
  185. package/dist/esm/formControls/SelectMultiple/property.js +36 -36
  186. package/dist/esm/formControls/SelectMultiple/runtime.js +27 -27
  187. package/dist/esm/formControls/SelectRelation/designer.js +29 -29
  188. package/dist/esm/formControls/SelectRelation/property.js +35 -35
  189. package/dist/esm/formControls/SelectRelation/runtime.js +27 -27
  190. package/dist/esm/formControls/Textarea/designer.js +29 -29
  191. package/dist/esm/formControls/Textarea/property.js +36 -36
  192. package/dist/esm/formControls/Textarea/runtime.js +27 -27
  193. package/dist/esm/formControls/Tree/designer.js +29 -29
  194. package/dist/esm/formControls/Tree/property.js +44 -44
  195. package/dist/esm/formControls/Tree/runtime.js +27 -27
  196. package/dist/esm/formControls/VueFormItem/designer.js +29 -29
  197. package/dist/esm/formControls/VueFormItem/property.js +33 -33
  198. package/dist/esm/formControls/VueFormItem/runtime.js +27 -27
  199. package/dist/esm/formControls/WPS/designer.js +29 -29
  200. package/dist/esm/formControls/WPS/property.js +44 -44
  201. package/dist/esm/formControls/WPS/runtime.js +27 -27
  202. package/dist/esm/framework.js +51 -51
  203. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +11 -11
  204. package/dist/esm/layoutControls/AdvancedContainer/designer.js +24 -24
  205. package/dist/esm/layoutControls/AdvancedContainer/property.js +25 -25
  206. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +24 -24
  207. package/dist/esm/layoutControls/CardGroup/designer.js +28 -28
  208. package/dist/esm/layoutControls/CardGroup/property.js +29 -29
  209. package/dist/esm/layoutControls/CardGroup/runtime.js +26 -26
  210. package/dist/esm/layoutControls/Col/designer.js +28 -28
  211. package/dist/esm/layoutControls/Col/property.js +25 -25
  212. package/dist/esm/layoutControls/Col/runtime.js +26 -26
  213. package/dist/esm/layoutControls/DataView/designer.js +27 -27
  214. package/dist/esm/layoutControls/DataView/property.js +33 -33
  215. package/dist/esm/layoutControls/DataView/runtime.js +26 -26
  216. package/dist/esm/layoutControls/Grid/designer.js +26 -26
  217. package/dist/esm/layoutControls/Grid/runtime.js +24 -24
  218. package/dist/esm/layoutControls/GridRow/designer.js +28 -28
  219. package/dist/esm/layoutControls/GridRow/property.js +22 -22
  220. package/dist/esm/layoutControls/GridRow/runtime.js +24 -24
  221. package/dist/esm/layoutControls/GridTableColumn/designer.js +30 -30
  222. package/dist/esm/layoutControls/GridTableColumn/property.js +35 -35
  223. package/dist/esm/layoutControls/GridTableColumn/runtime.js +25 -25
  224. package/dist/esm/layoutControls/ListView/designer.js +29 -29
  225. package/dist/esm/layoutControls/ListView/property.js +43 -43
  226. package/dist/esm/layoutControls/ListView/runtime.js +26 -26
  227. package/dist/esm/layoutControls/Page/Setting.js +11 -11
  228. package/dist/esm/layoutControls/Page/designer.js +24 -24
  229. package/dist/esm/layoutControls/Page/property.js +28 -28
  230. package/dist/esm/layoutControls/Page/runtime.js +24 -24
  231. package/dist/esm/layoutControls/Position/designer.js +24 -24
  232. package/dist/esm/layoutControls/Position/property.js +27 -27
  233. package/dist/esm/layoutControls/Position/runtime.js +24 -24
  234. package/dist/esm/layoutControls/PositioningContainer/Setting.js +11 -11
  235. package/dist/esm/layoutControls/PositioningContainer/designer.js +24 -24
  236. package/dist/esm/layoutControls/PositioningContainer/property.js +22 -22
  237. package/dist/esm/layoutControls/PositioningContainer/runtime.js +24 -24
  238. package/dist/esm/layoutControls/Row/designer.js +28 -28
  239. package/dist/esm/layoutControls/Row/property.js +25 -25
  240. package/dist/esm/layoutControls/Row/runtime.js +26 -26
  241. package/dist/esm/layoutControls/SubTableColumn/designer.js +30 -30
  242. package/dist/esm/layoutControls/SubTableColumn/property.js +35 -35
  243. package/dist/esm/layoutControls/SubTableColumn/runtime.js +25 -25
  244. package/dist/esm/layoutControls/SubTableRow/designer.js +30 -30
  245. package/dist/esm/layoutControls/SubTableRow/property.js +22 -22
  246. package/dist/esm/layoutControls/SubTableRow/runtime.js +26 -26
  247. package/dist/esm/layoutControls/Tab/designer.js +29 -29
  248. package/dist/esm/layoutControls/Tab/property.js +22 -22
  249. package/dist/esm/layoutControls/Tab/runtime.js +26 -26
  250. package/dist/esm/layoutControls/TabPane/designer.js +28 -28
  251. package/dist/esm/layoutControls/TabPane/property.js +28 -28
  252. package/dist/esm/layoutControls/TabPane/runtime.js +26 -26
  253. package/dist/esm/layoutControls/Toolbox/designer.js +27 -27
  254. package/dist/esm/layoutControls/Toolbox/property.js +22 -22
  255. package/dist/esm/layoutControls/Toolbox/runtime.js +24 -24
  256. package/dist/esm/listControls/GridTable/designer.js +46 -46
  257. package/dist/esm/listControls/GridTable/property.js +28 -28
  258. package/dist/esm/listControls/GridTable/runtime.js +27 -27
  259. package/dist/esm/listControls/SubTable/designer.js +29 -29
  260. package/dist/esm/listControls/SubTable/property.js +59 -59
  261. package/dist/esm/listControls/SubTable/runtime.js +27 -27
  262. package/dist/esm/searchControls/SimpleSearch/designer.js +26 -26
  263. package/dist/esm/searchControls/SimpleSearch/property.js +33 -33
  264. package/dist/esm/searchControls/SimpleSearch/runtime.js +26 -26
  265. package/dist/index.umd.js +1 -1
  266. package/dist/types/formControls/Address/property.d.ts +15 -0
  267. package/dist/types/formControls/Amount/property.d.ts +9 -0
  268. package/dist/types/formControls/Calc/property.d.ts +5 -0
  269. package/dist/types/formControls/DateRange/property.d.ts +47 -0
  270. package/package.json +4 -4
@@ -1,19 +1,19 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _getPrototypeOf(o) {
13
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
12
+ function _get_prototype_of(o) {
13
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
14
  return o.__proto__ || Object.getPrototypeOf(o);
15
15
  };
16
- return _getPrototypeOf(o);
16
+ return _get_prototype_of(o);
17
17
  }
18
18
  function _inherits(subClass, superClass) {
19
19
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,26 +26,26 @@ function _inherits(subClass, superClass) {
26
26
  configurable: true
27
27
  }
28
28
  });
29
- if (superClass) _setPrototypeOf(subClass, superClass);
29
+ if (superClass) _set_prototype_of(subClass, superClass);
30
30
  }
31
- function _possibleConstructorReturn(self, call) {
32
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
31
+ function _possible_constructor_return(self, call) {
32
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
33
33
  return call;
34
34
  }
35
- return _assertThisInitialized(self);
35
+ return _assert_this_initialized(self);
36
36
  }
37
- function _setPrototypeOf(o, p) {
38
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
37
+ function _set_prototype_of(o, p) {
38
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
39
39
  o.__proto__ = p;
40
40
  return o;
41
41
  };
42
- return _setPrototypeOf(o, p);
42
+ return _set_prototype_of(o, p);
43
43
  }
44
- var _typeof = function(obj) {
44
+ function _type_of(obj) {
45
45
  "@swc/helpers - typeof";
46
46
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- };
48
- function _isNativeReflectConstruct() {
47
+ }
48
+ function _is_native_reflect_construct() {
49
49
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
50
  if (Reflect.construct.sham) return false;
51
51
  if (typeof Proxy === "function") return true;
@@ -56,26 +56,26 @@ function _isNativeReflectConstruct() {
56
56
  return false;
57
57
  }
58
58
  }
59
- function _createSuper(Derived) {
60
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
59
+ function _create_super(Derived) {
60
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
61
61
  return function _createSuperInternal() {
62
- var Super = _getPrototypeOf(Derived), result;
62
+ var Super = _get_prototype_of(Derived), result;
63
63
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _getPrototypeOf(this).constructor;
64
+ var NewTarget = _get_prototype_of(this).constructor;
65
65
  result = Reflect.construct(Super, arguments, NewTarget);
66
66
  } else {
67
67
  result = Super.apply(this, arguments);
68
68
  }
69
- return _possibleConstructorReturn(this, result);
69
+ return _possible_constructor_return(this, result);
70
70
  };
71
71
  }
72
72
  import { AttachmentProperty } from "../Attachment";
73
73
  var ImageProperty = /*#__PURE__*/ function(AttachmentProperty) {
74
74
  "use strict";
75
75
  _inherits(ImageProperty, AttachmentProperty);
76
- var _super = _createSuper(ImageProperty);
76
+ var _super = _create_super(ImageProperty);
77
77
  function ImageProperty(props) {
78
- _classCallCheck(this, ImageProperty);
78
+ _class_call_check(this, ImageProperty);
79
79
  return _super.call(this, props);
80
80
  }
81
81
  return ImageProperty;
@@ -1,10 +1,10 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
@@ -18,16 +18,16 @@ function _defineProperties(target, props) {
18
18
  Object.defineProperty(target, descriptor.key, descriptor);
19
19
  }
20
20
  }
21
- function _createClass(Constructor, protoProps, staticProps) {
21
+ function _create_class(Constructor, protoProps, staticProps) {
22
22
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
23
  if (staticProps) _defineProperties(Constructor, staticProps);
24
24
  return Constructor;
25
25
  }
26
- function _getPrototypeOf(o) {
27
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
26
+ function _get_prototype_of(o) {
27
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
28
28
  return o.__proto__ || Object.getPrototypeOf(o);
29
29
  };
30
- return _getPrototypeOf(o);
30
+ return _get_prototype_of(o);
31
31
  }
32
32
  function _inherits(subClass, superClass) {
33
33
  if (typeof superClass !== "function" && superClass !== null) {
@@ -40,26 +40,26 @@ function _inherits(subClass, superClass) {
40
40
  configurable: true
41
41
  }
42
42
  });
43
- if (superClass) _setPrototypeOf(subClass, superClass);
43
+ if (superClass) _set_prototype_of(subClass, superClass);
44
44
  }
45
- function _possibleConstructorReturn(self, call) {
46
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
45
+ function _possible_constructor_return(self, call) {
46
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
47
47
  return call;
48
48
  }
49
- return _assertThisInitialized(self);
49
+ return _assert_this_initialized(self);
50
50
  }
51
- function _setPrototypeOf(o, p) {
52
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
51
+ function _set_prototype_of(o, p) {
52
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
53
53
  o.__proto__ = p;
54
54
  return o;
55
55
  };
56
- return _setPrototypeOf(o, p);
56
+ return _set_prototype_of(o, p);
57
57
  }
58
- var _typeof = function(obj) {
58
+ function _type_of(obj) {
59
59
  "@swc/helpers - typeof";
60
60
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
61
- };
62
- function _isNativeReflectConstruct() {
61
+ }
62
+ function _is_native_reflect_construct() {
63
63
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
64
64
  if (Reflect.construct.sham) return false;
65
65
  if (typeof Proxy === "function") return true;
@@ -70,26 +70,26 @@ function _isNativeReflectConstruct() {
70
70
  return false;
71
71
  }
72
72
  }
73
- function _createSuper(Derived) {
74
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
73
+ function _create_super(Derived) {
74
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
75
75
  return function _createSuperInternal() {
76
- var Super = _getPrototypeOf(Derived), result;
76
+ var Super = _get_prototype_of(Derived), result;
77
77
  if (hasNativeReflectConstruct) {
78
- var NewTarget = _getPrototypeOf(this).constructor;
78
+ var NewTarget = _get_prototype_of(this).constructor;
79
79
  result = Reflect.construct(Super, arguments, NewTarget);
80
80
  } else {
81
81
  result = Super.apply(this, arguments);
82
82
  }
83
- return _possibleConstructorReturn(this, result);
83
+ return _possible_constructor_return(this, result);
84
84
  };
85
85
  }
86
86
  import { RuntimeAttachmentControl } from "../Attachment";
87
87
  var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
88
88
  "use strict";
89
89
  _inherits(ImageControl, RuntimeAttachmentControl);
90
- var _super = _createSuper(ImageControl);
90
+ var _super = _create_super(ImageControl);
91
91
  function ImageControl(props) {
92
- _classCallCheck(this, ImageControl);
92
+ _class_call_check(this, ImageControl);
93
93
  var _this;
94
94
  var _props_props, _props_props1, _props_props2;
95
95
  _this = _super.call(this, props);
@@ -102,7 +102,7 @@ var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
102
102
  _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props2 = props.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : "上传图片";
103
103
  return _this;
104
104
  }
105
- _createClass(ImageControl, null, [
105
+ _create_class(ImageControl, null, [
106
106
  {
107
107
  key: "controlType",
108
108
  get: function get() {
@@ -1,10 +1,10 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
@@ -18,12 +18,12 @@ function _defineProperties(target, props) {
18
18
  Object.defineProperty(target, descriptor.key, descriptor);
19
19
  }
20
20
  }
21
- function _createClass(Constructor, protoProps, staticProps) {
21
+ function _create_class(Constructor, protoProps, staticProps) {
22
22
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
23
23
  if (staticProps) _defineProperties(Constructor, staticProps);
24
24
  return Constructor;
25
25
  }
26
- function _defineProperty(obj, key, value) {
26
+ function _define_property(obj, key, value) {
27
27
  if (key in obj) {
28
28
  Object.defineProperty(obj, key, {
29
29
  value: value,
@@ -36,11 +36,11 @@ function _defineProperty(obj, key, value) {
36
36
  }
37
37
  return obj;
38
38
  }
39
- function _getPrototypeOf(o) {
40
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
39
+ function _get_prototype_of(o) {
40
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
41
41
  return o.__proto__ || Object.getPrototypeOf(o);
42
42
  };
43
- return _getPrototypeOf(o);
43
+ return _get_prototype_of(o);
44
44
  }
45
45
  function _inherits(subClass, superClass) {
46
46
  if (typeof superClass !== "function" && superClass !== null) {
@@ -53,26 +53,26 @@ function _inherits(subClass, superClass) {
53
53
  configurable: true
54
54
  }
55
55
  });
56
- if (superClass) _setPrototypeOf(subClass, superClass);
56
+ if (superClass) _set_prototype_of(subClass, superClass);
57
57
  }
58
- function _possibleConstructorReturn(self, call) {
59
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
58
+ function _possible_constructor_return(self, call) {
59
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
60
60
  return call;
61
61
  }
62
- return _assertThisInitialized(self);
62
+ return _assert_this_initialized(self);
63
63
  }
64
- function _setPrototypeOf(o, p) {
65
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
64
+ function _set_prototype_of(o, p) {
65
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
66
66
  o.__proto__ = p;
67
67
  return o;
68
68
  };
69
- return _setPrototypeOf(o, p);
69
+ return _set_prototype_of(o, p);
70
70
  }
71
- var _typeof = function(obj) {
71
+ function _type_of(obj) {
72
72
  "@swc/helpers - typeof";
73
73
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
74
- };
75
- function _isNativeReflectConstruct() {
74
+ }
75
+ function _is_native_reflect_construct() {
76
76
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
77
77
  if (Reflect.construct.sham) return false;
78
78
  if (typeof Proxy === "function") return true;
@@ -83,17 +83,17 @@ function _isNativeReflectConstruct() {
83
83
  return false;
84
84
  }
85
85
  }
86
- function _createSuper(Derived) {
87
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
86
+ function _create_super(Derived) {
87
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
88
88
  return function _createSuperInternal() {
89
- var Super = _getPrototypeOf(Derived), result;
89
+ var Super = _get_prototype_of(Derived), result;
90
90
  if (hasNativeReflectConstruct) {
91
- var NewTarget = _getPrototypeOf(this).constructor;
91
+ var NewTarget = _get_prototype_of(this).constructor;
92
92
  result = Reflect.construct(Super, arguments, NewTarget);
93
93
  } else {
94
94
  result = Super.apply(this, arguments);
95
95
  }
96
- return _possibleConstructorReturn(this, result);
96
+ return _possible_constructor_return(this, result);
97
97
  };
98
98
  }
99
99
  import { DesignerFormControl, COMMON_SETTING_TYPE } from "@byteluck-fe/model-driven-core";
@@ -102,16 +102,16 @@ import InputProperty from "./property";
102
102
  var InputControl = /*#__PURE__*/ function(DesignerFormControl) {
103
103
  "use strict";
104
104
  _inherits(InputControl, DesignerFormControl);
105
- var _super = _createSuper(InputControl);
105
+ var _super = _create_super(InputControl);
106
106
  function InputControl(props) {
107
- _classCallCheck(this, InputControl);
107
+ _class_call_check(this, InputControl);
108
108
  var _this;
109
109
  _this = _super.call(this, props);
110
- _defineProperty(_assertThisInitialized(_this), "props", void 0);
110
+ _define_property(_assert_this_initialized(_this), "props", void 0);
111
111
  _this.props = new InputProperty(props === null || props === void 0 ? void 0 : props.props);
112
112
  return _this;
113
113
  }
114
- _createClass(InputControl, null, [
114
+ _create_class(InputControl, null, [
115
115
  {
116
116
  key: "controlName",
117
117
  get: function get() {
@@ -133,14 +133,14 @@ var InputControl = /*#__PURE__*/ function(DesignerFormControl) {
133
133
  ]);
134
134
  return InputControl;
135
135
  }(DesignerFormControl);
136
- _defineProperty(InputControl, "controlEventKeys", [
136
+ _define_property(InputControl, "controlEventKeys", [
137
137
  "on_change",
138
138
  "on_input",
139
139
  "on_focus",
140
140
  "on_blur"
141
141
  ]);
142
- _defineProperty(InputControl, "controlFieldType", FieldTypes.VARCHAR);
143
- _defineProperty(InputControl, "setting", [
142
+ _define_property(InputControl, "controlFieldType", FieldTypes.VARCHAR);
143
+ _define_property(InputControl, "setting", [
144
144
  {
145
145
  key: "data-bind",
146
146
  visible: true
@@ -1,15 +1,15 @@
1
- function _assertThisInitialized(self) {
1
+ function _assert_this_initialized(self) {
2
2
  if (self === void 0) {
3
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
4
  }
5
5
  return self;
6
6
  }
7
- function _classCallCheck(instance, Constructor) {
7
+ function _class_call_check(instance, Constructor) {
8
8
  if (!(instance instanceof Constructor)) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
- function _defineProperty(obj, key, value) {
12
+ function _define_property(obj, key, value) {
13
13
  if (key in obj) {
14
14
  Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -22,11 +22,11 @@ function _defineProperty(obj, key, value) {
22
22
  }
23
23
  return obj;
24
24
  }
25
- function _getPrototypeOf(o) {
26
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
27
27
  return o.__proto__ || Object.getPrototypeOf(o);
28
28
  };
29
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
30
30
  }
31
31
  function _inherits(subClass, superClass) {
32
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
39
39
  configurable: true
40
40
  }
41
41
  });
42
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
43
43
  }
44
- function _possibleConstructorReturn(self, call) {
45
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
44
+ function _possible_constructor_return(self, call) {
45
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
46
46
  return call;
47
47
  }
48
- return _assertThisInitialized(self);
48
+ return _assert_this_initialized(self);
49
49
  }
50
- function _setPrototypeOf(o, p) {
51
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
50
+ function _set_prototype_of(o, p) {
51
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
52
52
  o.__proto__ = p;
53
53
  return o;
54
54
  };
55
- return _setPrototypeOf(o, p);
55
+ return _set_prototype_of(o, p);
56
56
  }
57
- var _typeof = function(obj) {
57
+ function _type_of(obj) {
58
58
  "@swc/helpers - typeof";
59
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
60
- };
61
- function _isNativeReflectConstruct() {
60
+ }
61
+ function _is_native_reflect_construct() {
62
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
63
63
  if (Reflect.construct.sham) return false;
64
64
  if (typeof Proxy === "function") return true;
@@ -69,17 +69,17 @@ function _isNativeReflectConstruct() {
69
69
  return false;
70
70
  }
71
71
  }
72
- function _createSuper(Derived) {
73
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
72
+ function _create_super(Derived) {
73
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
74
74
  return function _createSuperInternal() {
75
- var Super = _getPrototypeOf(Derived), result;
75
+ var Super = _get_prototype_of(Derived), result;
76
76
  if (hasNativeReflectConstruct) {
77
- var NewTarget = _getPrototypeOf(this).constructor;
77
+ var NewTarget = _get_prototype_of(this).constructor;
78
78
  result = Reflect.construct(Super, arguments, NewTarget);
79
79
  } else {
80
80
  result = Super.apply(this, arguments);
81
81
  }
82
- return _possibleConstructorReturn(this, result);
82
+ return _possible_constructor_return(this, result);
83
83
  };
84
84
  }
85
85
  import InputControl from "./designer";
@@ -89,22 +89,22 @@ import { initExpression } from "../../framework";
89
89
  var InputControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
90
90
  "use strict";
91
91
  _inherits(InputControlPropertyRules, BaseControlPropertyRules);
92
- var _super = _createSuper(InputControlPropertyRules);
92
+ var _super = _create_super(InputControlPropertyRules);
93
93
  function InputControlPropertyRules(props) {
94
- _classCallCheck(this, InputControlPropertyRules);
94
+ _class_call_check(this, InputControlPropertyRules);
95
95
  var _this;
96
96
  _this = _super.call(this, props);
97
- _defineProperty(_assertThisInitialized(_this), "maxLength", {
97
+ _define_property(_assert_this_initialized(_this), "maxLength", {
98
98
  type: "number",
99
99
  min: 0,
100
100
  message: RulesMessage.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")
101
101
  });
102
- _defineProperty(_assertThisInitialized(_this), "minLength", {
102
+ _define_property(_assert_this_initialized(_this), "minLength", {
103
103
  type: "number",
104
104
  max: 200,
105
105
  message: RulesMessage.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")
106
106
  });
107
- _defineProperty(_assertThisInitialized(_this), "defaultValue", [
107
+ _define_property(_assert_this_initialized(_this), "defaultValue", [
108
108
  {
109
109
  type: "string",
110
110
  max: 200,
@@ -133,9 +133,9 @@ var InputControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules)
133
133
  var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
134
134
  "use strict";
135
135
  _inherits(InputControlPropertyRuntimeRules, BaseControlPropertyRuntimeRules);
136
- var _super = _createSuper(InputControlPropertyRuntimeRules);
136
+ var _super = _create_super(InputControlPropertyRuntimeRules);
137
137
  function InputControlPropertyRuntimeRules(props) {
138
- _classCallCheck(this, InputControlPropertyRuntimeRules);
138
+ _class_call_check(this, InputControlPropertyRuntimeRules);
139
139
  var _this;
140
140
  _this = _super.call(this, props);
141
141
  _this.push({
@@ -165,40 +165,40 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
165
165
  */ var InputProperty = /*#__PURE__*/ function(BaseControlProperty) {
166
166
  "use strict";
167
167
  _inherits(InputProperty, BaseControlProperty);
168
- var _super = _createSuper(InputProperty);
168
+ var _super = _create_super(InputProperty);
169
169
  function InputProperty(props) {
170
- _classCallCheck(this, InputProperty);
170
+ _class_call_check(this, InputProperty);
171
171
  var _this;
172
172
  _this = _super.call(this, props);
173
173
  /**
174
174
  * 最大长度
175
175
  * @defaultValue 200
176
176
  * @public
177
- */ _defineProperty(_assertThisInitialized(_this), "maxLength", void 0);
177
+ */ _define_property(_assert_this_initialized(_this), "maxLength", void 0);
178
178
  /**
179
179
  * 最小长度
180
180
  * @defaultValue 0
181
181
  * @public
182
- */ _defineProperty(_assertThisInitialized(_this), "minLength", void 0);
182
+ */ _define_property(_assert_this_initialized(_this), "minLength", void 0);
183
183
  /**
184
184
  * 正则校验
185
185
  * @public
186
- */ _defineProperty(_assertThisInitialized(_this), "regularRules", void 0);
186
+ */ _define_property(_assert_this_initialized(_this), "regularRules", void 0);
187
187
  /**
188
188
  * 默认值
189
189
  * @defaultValue ''
190
190
  * @public
191
- */ _defineProperty(_assertThisInitialized(_this), "defaultValue", void 0);
191
+ */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
192
192
  /**
193
193
  * 开启密码模式
194
194
  * @defaultValue false
195
195
  * @public
196
- */ _defineProperty(_assertThisInitialized(_this), "encrypted", void 0);
196
+ */ _define_property(_assert_this_initialized(_this), "encrypted", void 0);
197
197
  /**
198
198
  * 密码模式 '' | 'ALL_MASK' | 'LAST_FOUR_MASK'
199
199
  * @defaultValue ''
200
200
  * @public
201
- */ _defineProperty(_assertThisInitialized(_this), "encryptedMode", void 0);
201
+ */ _define_property(_assert_this_initialized(_this), "encryptedMode", void 0);
202
202
  var _props_maxLength;
203
203
  _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
204
204
  var _props_minLength;
@@ -218,7 +218,7 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
218
218
  }
219
219
  return InputProperty;
220
220
  }(BaseControlProperty);
221
- _defineProperty(InputProperty, "Rules", InputControlPropertyRules);
222
- _defineProperty(InputProperty, "RuntimeRules", InputControlPropertyRuntimeRules);
221
+ _define_property(InputProperty, "Rules", InputControlPropertyRules);
222
+ _define_property(InputProperty, "RuntimeRules", InputControlPropertyRuntimeRules);
223
223
  export default InputProperty;
224
224
  export { InputProperty, InputControlPropertyRules, InputControlPropertyRuntimeRules, };