@byteluck-fe/model-driven-controls 2.2.7-beta.2 → 2.2.7-beta.4

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 (267) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/designer.js +42 -28
  2. package/dist/esm/baseControls/BatchDeleteButton/property.js +44 -22
  3. package/dist/esm/baseControls/BatchDeleteButton/runtime.js +38 -24
  4. package/dist/esm/baseControls/BatchPrintListButton/designer.js +42 -28
  5. package/dist/esm/baseControls/BatchPrintListButton/property.js +43 -27
  6. package/dist/esm/baseControls/BatchPrintListButton/runtime.js +38 -24
  7. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +42 -28
  8. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +22 -22
  9. package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +38 -24
  10. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +42 -28
  11. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +52 -27
  12. package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +38 -24
  13. package/dist/esm/baseControls/Button/designer.js +42 -28
  14. package/dist/esm/baseControls/Button/property.js +44 -22
  15. package/dist/esm/baseControls/Button/runtime.js +38 -24
  16. package/dist/esm/baseControls/CreateFormListButton/designer.js +42 -28
  17. package/dist/esm/baseControls/CreateFormListButton/property.js +42 -27
  18. package/dist/esm/baseControls/CreateFormListButton/runtime.js +38 -24
  19. package/dist/esm/baseControls/Dashboard/designer.js +40 -26
  20. package/dist/esm/baseControls/Dashboard/property.js +54 -35
  21. package/dist/esm/baseControls/Dashboard/runtime.js +38 -24
  22. package/dist/esm/baseControls/Divider/designer.js +40 -26
  23. package/dist/esm/baseControls/Divider/property.js +37 -22
  24. package/dist/esm/baseControls/Divider/runtime.js +38 -24
  25. package/dist/esm/baseControls/ExportListButton/designer.js +42 -28
  26. package/dist/esm/baseControls/ExportListButton/property.js +36 -22
  27. package/dist/esm/baseControls/ExportListButton/runtime.js +38 -24
  28. package/dist/esm/baseControls/ExportRecordListButton/designer.js +42 -28
  29. package/dist/esm/baseControls/ExportRecordListButton/property.js +22 -22
  30. package/dist/esm/baseControls/ExportRecordListButton/runtime.js +38 -24
  31. package/dist/esm/baseControls/FormSelectButton/designer.js +42 -28
  32. package/dist/esm/baseControls/FormSelectButton/property.js +40 -36
  33. package/dist/esm/baseControls/FormSelectButton/runtime.js +38 -24
  34. package/dist/esm/baseControls/ImportRecordListButton/designer.js +42 -28
  35. package/dist/esm/baseControls/ImportRecordListButton/property.js +40 -23
  36. package/dist/esm/baseControls/ImportRecordListButton/runtime.js +38 -24
  37. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +42 -28
  38. package/dist/esm/baseControls/InvoiceCheckButton/property.js +57 -37
  39. package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +38 -24
  40. package/dist/esm/baseControls/Link/designer.js +42 -28
  41. package/dist/esm/baseControls/Link/property.js +38 -22
  42. package/dist/esm/baseControls/Link/runtime.js +38 -24
  43. package/dist/esm/baseControls/ListSelectButton/designer.js +42 -28
  44. package/dist/esm/baseControls/ListSelectButton/property.js +39 -36
  45. package/dist/esm/baseControls/ListSelectButton/runtime.js +38 -24
  46. package/dist/esm/baseControls/ListViewSelect/designer.js +40 -26
  47. package/dist/esm/baseControls/ListViewSelect/property.js +44 -29
  48. package/dist/esm/baseControls/ListViewSelect/runtime.js +38 -24
  49. package/dist/esm/baseControls/OperationButton/designer.js +42 -28
  50. package/dist/esm/baseControls/OperationButton/property.js +53 -27
  51. package/dist/esm/baseControls/OperationButton/runtime.js +38 -24
  52. package/dist/esm/baseControls/Pagination/designer.js +39 -25
  53. package/dist/esm/baseControls/Pagination/property.js +41 -28
  54. package/dist/esm/baseControls/Pagination/runtime.js +38 -24
  55. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +42 -28
  56. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +22 -22
  57. package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +38 -24
  58. package/dist/esm/baseControls/Text/designer.js +40 -26
  59. package/dist/esm/baseControls/Text/property.js +41 -22
  60. package/dist/esm/baseControls/Text/runtime.js +38 -24
  61. package/dist/esm/baseControls/TextOcrButton/designer.js +42 -28
  62. package/dist/esm/baseControls/TextOcrButton/property.js +57 -37
  63. package/dist/esm/baseControls/TextOcrButton/runtime.js +38 -24
  64. package/dist/esm/baseControls/Title/designer.js +41 -27
  65. package/dist/esm/baseControls/Title/property.js +48 -31
  66. package/dist/esm/baseControls/Title/runtime.js +38 -24
  67. package/dist/esm/columnControls/ArrayColumn/designer.js +42 -28
  68. package/dist/esm/columnControls/ArrayColumn/property.js +44 -25
  69. package/dist/esm/columnControls/ArrayColumn/runtime.js +38 -24
  70. package/dist/esm/columnControls/AutoNumberColumn/designer.js +42 -28
  71. package/dist/esm/columnControls/AutoNumberColumn/property.js +22 -22
  72. package/dist/esm/columnControls/AutoNumberColumn/runtime.js +38 -24
  73. package/dist/esm/columnControls/CustomColumn/designer.js +90 -62
  74. package/dist/esm/columnControls/CustomColumn/property.js +36 -22
  75. package/dist/esm/columnControls/CustomColumn/runtime.js +39 -24
  76. package/dist/esm/columnControls/DecimalColumn/designer.js +74 -42
  77. package/dist/esm/columnControls/DecimalColumn/property.js +50 -22
  78. package/dist/esm/columnControls/DecimalColumn/runtime.js +38 -24
  79. package/dist/esm/columnControls/DepartmentColumn/designer.js +73 -41
  80. package/dist/esm/columnControls/DepartmentColumn/property.js +38 -22
  81. package/dist/esm/columnControls/DepartmentColumn/runtime.js +38 -24
  82. package/dist/esm/columnControls/EmployeeColumn/designer.js +44 -30
  83. package/dist/esm/columnControls/EmployeeColumn/property.js +36 -22
  84. package/dist/esm/columnControls/EmployeeColumn/runtime.js +38 -24
  85. package/dist/esm/columnControls/FileColumn/designer.js +42 -28
  86. package/dist/esm/columnControls/FileColumn/property.js +22 -22
  87. package/dist/esm/columnControls/FileColumn/runtime.js +38 -24
  88. package/dist/esm/columnControls/ImageColumn/designer.js +42 -28
  89. package/dist/esm/columnControls/ImageColumn/property.js +22 -22
  90. package/dist/esm/columnControls/ImageColumn/runtime.js +38 -24
  91. package/dist/esm/columnControls/LocationColumn/designer.js +42 -28
  92. package/dist/esm/columnControls/LocationColumn/property.js +22 -22
  93. package/dist/esm/columnControls/LocationColumn/runtime.js +38 -24
  94. package/dist/esm/columnControls/OperationColumn/designer.js +119 -93
  95. package/dist/esm/columnControls/OperationColumn/property.js +42 -22
  96. package/dist/esm/columnControls/OperationColumn/runtime.js +40 -25
  97. package/dist/esm/columnControls/OrderColumn/designer.js +41 -27
  98. package/dist/esm/columnControls/OrderColumn/property.js +38 -25
  99. package/dist/esm/columnControls/OrderColumn/runtime.js +38 -24
  100. package/dist/esm/columnControls/PeopleColumn/designer.js +42 -28
  101. package/dist/esm/columnControls/PeopleColumn/property.js +22 -22
  102. package/dist/esm/columnControls/PeopleColumn/runtime.js +38 -24
  103. package/dist/esm/columnControls/TextColumn/designer.js +73 -41
  104. package/dist/esm/columnControls/TextColumn/property.js +39 -22
  105. package/dist/esm/columnControls/TextColumn/runtime.js +38 -24
  106. package/dist/esm/columnControls/TimescopeColumn/designer.js +73 -41
  107. package/dist/esm/columnControls/TimescopeColumn/property.js +38 -22
  108. package/dist/esm/columnControls/TimescopeColumn/runtime.js +38 -24
  109. package/dist/esm/columnControls/TimestampColumn/designer.js +73 -41
  110. package/dist/esm/columnControls/TimestampColumn/property.js +38 -22
  111. package/dist/esm/columnControls/TimestampColumn/runtime.js +38 -24
  112. package/dist/esm/columnControls/VarcharColumn/designer.js +42 -28
  113. package/dist/esm/columnControls/VarcharColumn/property.js +47 -25
  114. package/dist/esm/columnControls/VarcharColumn/runtime.js +38 -24
  115. package/dist/esm/formControls/Address/designer.js +41 -27
  116. package/dist/esm/formControls/Address/property.js +44 -25
  117. package/dist/esm/formControls/Address/runtime.js +39 -25
  118. package/dist/esm/formControls/Amount/designer.js +60 -43
  119. package/dist/esm/formControls/Amount/property.js +70 -37
  120. package/dist/esm/formControls/Amount/runtime.js +39 -25
  121. package/dist/esm/formControls/Attachment/designer.js +43 -29
  122. package/dist/esm/formControls/Attachment/property.js +55 -30
  123. package/dist/esm/formControls/Attachment/runtime.js +39 -25
  124. package/dist/esm/formControls/AutoNumber/designer.js +43 -29
  125. package/dist/esm/formControls/AutoNumber/property.js +36 -22
  126. package/dist/esm/formControls/AutoNumber/runtime.js +39 -25
  127. package/dist/esm/formControls/Calc/designer.js +60 -43
  128. package/dist/esm/formControls/Calc/property.js +62 -28
  129. package/dist/esm/formControls/Calc/runtime.js +39 -25
  130. package/dist/esm/formControls/Checkbox/designer.js +43 -29
  131. package/dist/esm/formControls/Checkbox/property.js +66 -30
  132. package/dist/esm/formControls/Checkbox/runtime.js +39 -25
  133. package/dist/esm/formControls/DatePicker/designer.js +57 -40
  134. package/dist/esm/formControls/DatePicker/property.js +47 -22
  135. package/dist/esm/formControls/DatePicker/runtime.js +39 -25
  136. package/dist/esm/formControls/DateRange/designer.js +57 -40
  137. package/dist/esm/formControls/DateRange/property.js +51 -25
  138. package/dist/esm/formControls/DateRange/runtime.js +39 -25
  139. package/dist/esm/formControls/Department/designer.js +58 -41
  140. package/dist/esm/formControls/Department/property.js +67 -25
  141. package/dist/esm/formControls/Department/runtime.js +39 -25
  142. package/dist/esm/formControls/Department2/designer.js +58 -41
  143. package/dist/esm/formControls/Department2/property.js +86 -33
  144. package/dist/esm/formControls/Department2/runtime.js +39 -25
  145. package/dist/esm/formControls/ElectronicSignature/designer.js +43 -29
  146. package/dist/esm/formControls/ElectronicSignature/property.js +47 -27
  147. package/dist/esm/formControls/ElectronicSignature/runtime.js +39 -25
  148. package/dist/esm/formControls/Employee/designer.js +41 -27
  149. package/dist/esm/formControls/Employee/property.js +53 -25
  150. package/dist/esm/formControls/Employee/runtime.js +39 -25
  151. package/dist/esm/formControls/Employee2/designer.js +41 -27
  152. package/dist/esm/formControls/Employee2/property.js +70 -33
  153. package/dist/esm/formControls/Employee2/runtime.js +39 -25
  154. package/dist/esm/formControls/Image/designer.js +40 -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 +43 -29
  158. package/dist/esm/formControls/Input/property.js +53 -34
  159. package/dist/esm/formControls/Input/runtime.js +39 -25
  160. package/dist/esm/formControls/Number/designer.js +60 -43
  161. package/dist/esm/formControls/Number/property.js +79 -32
  162. package/dist/esm/formControls/Number/runtime.js +39 -25
  163. package/dist/esm/formControls/Radio/designer.js +43 -29
  164. package/dist/esm/formControls/Radio/property.js +57 -25
  165. package/dist/esm/formControls/Radio/runtime.js +39 -25
  166. package/dist/esm/formControls/RichText/designer.js +43 -29
  167. package/dist/esm/formControls/RichText/property.js +50 -34
  168. package/dist/esm/formControls/RichText/runtime.js +39 -25
  169. package/dist/esm/formControls/Score/designer.js +76 -59
  170. package/dist/esm/formControls/Score/property.js +50 -32
  171. package/dist/esm/formControls/Score/runtime.js +39 -25
  172. package/dist/esm/formControls/SearchDateRange/designer.js +41 -27
  173. package/dist/esm/formControls/SearchDateRange/property.js +50 -25
  174. package/dist/esm/formControls/SearchDateRange/runtime.js +39 -25
  175. package/dist/esm/formControls/SearchInput/designer.js +40 -26
  176. package/dist/esm/formControls/SearchInput/property.js +24 -24
  177. package/dist/esm/formControls/SearchInput/runtime.js +39 -25
  178. package/dist/esm/formControls/SearchNumberRange/designer.js +41 -27
  179. package/dist/esm/formControls/SearchNumberRange/property.js +45 -25
  180. package/dist/esm/formControls/SearchNumberRange/runtime.js +39 -25
  181. package/dist/esm/formControls/Select/designer.js +41 -27
  182. package/dist/esm/formControls/Select/property.js +49 -25
  183. package/dist/esm/formControls/Select/runtime.js +39 -25
  184. package/dist/esm/formControls/SelectMultiple/designer.js +41 -27
  185. package/dist/esm/formControls/SelectMultiple/property.js +50 -28
  186. package/dist/esm/formControls/SelectMultiple/runtime.js +39 -25
  187. package/dist/esm/formControls/SelectRelation/designer.js +43 -29
  188. package/dist/esm/formControls/SelectRelation/property.js +52 -27
  189. package/dist/esm/formControls/SelectRelation/runtime.js +39 -25
  190. package/dist/esm/formControls/Textarea/designer.js +43 -29
  191. package/dist/esm/formControls/Textarea/property.js +51 -34
  192. package/dist/esm/formControls/Textarea/runtime.js +39 -25
  193. package/dist/esm/formControls/Tree/designer.js +43 -29
  194. package/dist/esm/formControls/Tree/property.js +59 -33
  195. package/dist/esm/formControls/Tree/runtime.js +39 -25
  196. package/dist/esm/formControls/VueFormItem/designer.js +42 -28
  197. package/dist/esm/formControls/VueFormItem/property.js +45 -28
  198. package/dist/esm/formControls/VueFormItem/runtime.js +39 -25
  199. package/dist/esm/formControls/WPS/designer.js +43 -29
  200. package/dist/esm/formControls/WPS/property.js +58 -32
  201. package/dist/esm/formControls/WPS/runtime.js +39 -25
  202. package/dist/esm/framework.js +92 -12
  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 +37 -22
  206. package/dist/esm/layoutControls/AdvancedContainer/runtime.js +24 -24
  207. package/dist/esm/layoutControls/CardGroup/designer.js +42 -28
  208. package/dist/esm/layoutControls/CardGroup/property.js +47 -27
  209. package/dist/esm/layoutControls/CardGroup/runtime.js +38 -24
  210. package/dist/esm/layoutControls/Col/designer.js +41 -27
  211. package/dist/esm/layoutControls/Col/property.js +37 -22
  212. package/dist/esm/layoutControls/Col/runtime.js +38 -24
  213. package/dist/esm/layoutControls/DataView/designer.js +39 -25
  214. package/dist/esm/layoutControls/DataView/property.js +45 -25
  215. package/dist/esm/layoutControls/DataView/runtime.js +38 -24
  216. package/dist/esm/layoutControls/Grid/designer.js +39 -26
  217. package/dist/esm/layoutControls/Grid/runtime.js +24 -24
  218. package/dist/esm/layoutControls/GridRow/designer.js +41 -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 +44 -30
  222. package/dist/esm/layoutControls/GridTableColumn/property.js +48 -22
  223. package/dist/esm/layoutControls/GridTableColumn/runtime.js +37 -23
  224. package/dist/esm/layoutControls/ListView/designer.js +44 -30
  225. package/dist/esm/layoutControls/ListView/property.js +62 -35
  226. package/dist/esm/layoutControls/ListView/runtime.js +38 -24
  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 +40 -26
  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 +39 -22
  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 +42 -28
  239. package/dist/esm/layoutControls/Row/property.js +37 -22
  240. package/dist/esm/layoutControls/Row/runtime.js +38 -24
  241. package/dist/esm/layoutControls/SubTableColumn/designer.js +44 -30
  242. package/dist/esm/layoutControls/SubTableColumn/property.js +66 -31
  243. package/dist/esm/layoutControls/SubTableColumn/runtime.js +37 -23
  244. package/dist/esm/layoutControls/SubTableRow/designer.js +44 -30
  245. package/dist/esm/layoutControls/SubTableRow/property.js +22 -22
  246. package/dist/esm/layoutControls/SubTableRow/runtime.js +38 -24
  247. package/dist/esm/layoutControls/Tab/designer.js +44 -30
  248. package/dist/esm/layoutControls/Tab/property.js +22 -22
  249. package/dist/esm/layoutControls/Tab/runtime.js +38 -24
  250. package/dist/esm/layoutControls/TabPane/designer.js +42 -28
  251. package/dist/esm/layoutControls/TabPane/property.js +41 -27
  252. package/dist/esm/layoutControls/TabPane/runtime.js +38 -24
  253. package/dist/esm/layoutControls/Toolbox/designer.js +40 -26
  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 +89 -81
  257. package/dist/esm/listControls/GridTable/property.js +40 -22
  258. package/dist/esm/listControls/GridTable/runtime.js +59 -36
  259. package/dist/esm/listControls/SubTable/designer.js +56 -39
  260. package/dist/esm/listControls/SubTable/property.js +117 -38
  261. package/dist/esm/listControls/SubTable/runtime.js +53 -33
  262. package/dist/esm/searchControls/SimpleSearch/designer.js +39 -25
  263. package/dist/esm/searchControls/SimpleSearch/property.js +45 -25
  264. package/dist/esm/searchControls/SimpleSearch/runtime.js +40 -25
  265. package/dist/index.umd.js +1 -1
  266. package/dist/types/formControls/Attachment/property.d.ts +1 -0
  267. package/package.json +2 -2
@@ -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,29 @@ 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 _define_property(obj, key, value) {
27
+ if (key in obj) {
28
+ Object.defineProperty(obj, key, {
29
+ value: value,
30
+ enumerable: true,
31
+ configurable: true,
32
+ writable: true
33
+ });
34
+ } else {
35
+ obj[key] = value;
36
+ }
37
+ return obj;
38
+ }
39
+ function _get_prototype_of(o) {
40
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
28
41
  return o.__proto__ || Object.getPrototypeOf(o);
29
42
  };
30
- return _getPrototypeOf(o);
43
+ return _get_prototype_of(o);
31
44
  }
32
45
  function _inherits(subClass, superClass) {
33
46
  if (typeof superClass !== "function" && superClass !== null) {
@@ -40,26 +53,26 @@ function _inherits(subClass, superClass) {
40
53
  configurable: true
41
54
  }
42
55
  });
43
- if (superClass) _setPrototypeOf(subClass, superClass);
56
+ if (superClass) _set_prototype_of(subClass, superClass);
44
57
  }
45
- function _possibleConstructorReturn(self, call) {
46
- 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")) {
47
60
  return call;
48
61
  }
49
- return _assertThisInitialized(self);
62
+ return _assert_this_initialized(self);
50
63
  }
51
- function _setPrototypeOf(o, p) {
52
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
64
+ function _set_prototype_of(o, p) {
65
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
53
66
  o.__proto__ = p;
54
67
  return o;
55
68
  };
56
- return _setPrototypeOf(o, p);
69
+ return _set_prototype_of(o, p);
57
70
  }
58
- var _typeof = function(obj) {
71
+ function _type_of(obj) {
59
72
  "@swc/helpers - typeof";
60
73
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
61
- };
62
- function _isNativeReflectConstruct() {
74
+ }
75
+ function _is_native_reflect_construct() {
63
76
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
64
77
  if (Reflect.construct.sham) return false;
65
78
  if (typeof Proxy === "function") return true;
@@ -70,17 +83,17 @@ function _isNativeReflectConstruct() {
70
83
  return false;
71
84
  }
72
85
  }
73
- function _createSuper(Derived) {
74
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
86
+ function _create_super(Derived) {
87
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
75
88
  return function _createSuperInternal() {
76
- var Super = _getPrototypeOf(Derived), result;
89
+ var Super = _get_prototype_of(Derived), result;
77
90
  if (hasNativeReflectConstruct) {
78
- var NewTarget = _getPrototypeOf(this).constructor;
91
+ var NewTarget = _get_prototype_of(this).constructor;
79
92
  result = Reflect.construct(Super, arguments, NewTarget);
80
93
  } else {
81
94
  result = Super.apply(this, arguments);
82
95
  }
83
- return _possibleConstructorReturn(this, result);
96
+ return _possible_constructor_return(this, result);
84
97
  };
85
98
  }
86
99
  import SubTableControlProperty from "./property";
@@ -89,23 +102,30 @@ import { error } from "@byteluck-fe/model-driven-shared";
89
102
  var SubTableControl = /*#__PURE__*/ function(RuntimeListControl) {
90
103
  "use strict";
91
104
  _inherits(SubTableControl, RuntimeListControl);
92
- var _super = _createSuper(SubTableControl);
105
+ var _super = _create_super(SubTableControl);
93
106
  function SubTableControl(props) {
94
- _classCallCheck(this, SubTableControl);
107
+ _class_call_check(this, SubTableControl);
95
108
  var _this;
96
109
  _this = _super.call(this, props);
97
- _this.props = new SubTableControlProperty(_assertThisInitialized(_this), props === null || props === void 0 ? void 0 : props.props);
110
+ _define_property(_assert_this_initialized(_this), "props", void 0);
111
+ _this.props = new SubTableControlProperty(_assert_this_initialized(_this), props === null || props === void 0 ? void 0 : props.props);
98
112
  return _this;
99
113
  }
100
- var _proto = SubTableControl.prototype;
101
- _proto.getChildrenDataSourceBindLayout = function getChildrenDataSourceBindLayout() {
102
- error("Method not implemented.");
103
- };
104
- _proto.getChildrenFormControl = function getChildrenFormControl() {
105
- var controls = [];
106
- return controls;
107
- };
108
- _createClass(SubTableControl, null, [
114
+ _create_class(SubTableControl, [
115
+ {
116
+ key: "getChildrenDataSourceBindLayout",
117
+ value: function getChildrenDataSourceBindLayout() {
118
+ error("Method not implemented.");
119
+ }
120
+ },
121
+ {
122
+ key: "getChildrenFormControl",
123
+ value: function getChildrenFormControl() {
124
+ var controls = [];
125
+ return controls;
126
+ }
127
+ }
128
+ ], [
109
129
  {
110
130
  key: "controlType",
111
131
  get: function get() {
@@ -1,19 +1,32 @@
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 _define_property(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
15
28
  };
16
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
17
30
  }
18
31
  function _inherits(subClass, superClass) {
19
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,26 +39,26 @@ function _inherits(subClass, superClass) {
26
39
  configurable: true
27
40
  }
28
41
  });
29
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
30
43
  }
31
- function _possibleConstructorReturn(self, call) {
32
- 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")) {
33
46
  return call;
34
47
  }
35
- return _assertThisInitialized(self);
48
+ return _assert_this_initialized(self);
36
49
  }
37
- function _setPrototypeOf(o, p) {
38
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
50
+ function _set_prototype_of(o, p) {
51
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
39
52
  o.__proto__ = p;
40
53
  return o;
41
54
  };
42
- return _setPrototypeOf(o, p);
55
+ return _set_prototype_of(o, p);
43
56
  }
44
- var _typeof = function(obj) {
57
+ function _type_of(obj) {
45
58
  "@swc/helpers - typeof";
46
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- };
48
- function _isNativeReflectConstruct() {
60
+ }
61
+ function _is_native_reflect_construct() {
49
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
63
  if (Reflect.construct.sham) return false;
51
64
  if (typeof Proxy === "function") return true;
@@ -56,17 +69,17 @@ function _isNativeReflectConstruct() {
56
69
  return false;
57
70
  }
58
71
  }
59
- function _createSuper(Derived) {
60
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
72
+ function _create_super(Derived) {
73
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
61
74
  return function _createSuperInternal() {
62
- var Super = _getPrototypeOf(Derived), result;
75
+ var Super = _get_prototype_of(Derived), result;
63
76
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _getPrototypeOf(this).constructor;
77
+ var NewTarget = _get_prototype_of(this).constructor;
65
78
  result = Reflect.construct(Super, arguments, NewTarget);
66
79
  } else {
67
80
  result = Super.apply(this, arguments);
68
81
  }
69
- return _possibleConstructorReturn(this, result);
82
+ return _possible_constructor_return(this, result);
70
83
  };
71
84
  }
72
85
  import { DesignerSearchControl, COMMON_SETTING_TYPE } from "@byteluck-fe/model-driven-core";
@@ -74,18 +87,19 @@ import SimpleSearchControlProperty from "./property";
74
87
  var SimpleSearchControl = /*#__PURE__*/ function(DesignerSearchControl) {
75
88
  "use strict";
76
89
  _inherits(SimpleSearchControl, DesignerSearchControl);
77
- var _super = _createSuper(SimpleSearchControl);
90
+ var _super = _create_super(SimpleSearchControl);
78
91
  function SimpleSearchControl(props) {
79
- _classCallCheck(this, SimpleSearchControl);
92
+ _class_call_check(this, SimpleSearchControl);
80
93
  var _this;
81
94
  _this = _super.call(this, props);
95
+ _define_property(_assert_this_initialized(_this), "props", void 0);
82
96
  _this.props = new SimpleSearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
83
97
  return _this;
84
98
  }
85
99
  return SimpleSearchControl;
86
100
  }(DesignerSearchControl);
87
- SimpleSearchControl.controlType = "simple-search";
88
- SimpleSearchControl.setting = [
101
+ _define_property(SimpleSearchControl, "controlType", "simple-search");
102
+ _define_property(SimpleSearchControl, "setting", [
89
103
  {
90
104
  key: "search-fields",
91
105
  visible: true
@@ -105,6 +119,6 @@ SimpleSearchControl.setting = [
105
119
  key: "search-view-type",
106
120
  visible: true
107
121
  }
108
- ];
122
+ ]);
109
123
  export default SimpleSearchControl;
110
124
  export { SimpleSearchControl as DesignerSimpleSearchControl };
@@ -1,19 +1,32 @@
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 _define_property(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
15
28
  };
16
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
17
30
  }
18
31
  function _inherits(subClass, superClass) {
19
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,26 +39,26 @@ function _inherits(subClass, superClass) {
26
39
  configurable: true
27
40
  }
28
41
  });
29
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
30
43
  }
31
- function _possibleConstructorReturn(self, call) {
32
- 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")) {
33
46
  return call;
34
47
  }
35
- return _assertThisInitialized(self);
48
+ return _assert_this_initialized(self);
36
49
  }
37
- function _setPrototypeOf(o, p) {
38
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
50
+ function _set_prototype_of(o, p) {
51
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
39
52
  o.__proto__ = p;
40
53
  return o;
41
54
  };
42
- return _setPrototypeOf(o, p);
55
+ return _set_prototype_of(o, p);
43
56
  }
44
- var _typeof = function(obj) {
57
+ function _type_of(obj) {
45
58
  "@swc/helpers - typeof";
46
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- };
48
- function _isNativeReflectConstruct() {
60
+ }
61
+ function _is_native_reflect_construct() {
49
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
63
  if (Reflect.construct.sham) return false;
51
64
  if (typeof Proxy === "function") return true;
@@ -56,26 +69,26 @@ function _isNativeReflectConstruct() {
56
69
  return false;
57
70
  }
58
71
  }
59
- function _createSuper(Derived) {
60
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
72
+ function _create_super(Derived) {
73
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
61
74
  return function _createSuperInternal() {
62
- var Super = _getPrototypeOf(Derived), result;
75
+ var Super = _get_prototype_of(Derived), result;
63
76
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _getPrototypeOf(this).constructor;
77
+ var NewTarget = _get_prototype_of(this).constructor;
65
78
  result = Reflect.construct(Super, arguments, NewTarget);
66
79
  } else {
67
80
  result = Super.apply(this, arguments);
68
81
  }
69
- return _possibleConstructorReturn(this, result);
82
+ return _possible_constructor_return(this, result);
70
83
  };
71
84
  }
72
85
  import { SearchControlProperty, PropertyRuntimeRules, OperationItem } from "@byteluck-fe/model-driven-core";
73
86
  var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
74
87
  "use strict";
75
88
  _inherits(SimpleSearchControlPropertyRuntimeRules, PropertyRuntimeRules);
76
- var _super = _createSuper(SimpleSearchControlPropertyRuntimeRules);
89
+ var _super = _create_super(SimpleSearchControlPropertyRuntimeRules);
77
90
  function SimpleSearchControlPropertyRuntimeRules(props) {
78
- _classCallCheck(this, SimpleSearchControlPropertyRuntimeRules);
91
+ _class_call_check(this, SimpleSearchControlPropertyRuntimeRules);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
81
94
  _this.push({
@@ -89,11 +102,18 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
89
102
  var SimpleSearchControlProperty = /*#__PURE__*/ function(SearchControlProperty) {
90
103
  "use strict";
91
104
  _inherits(SimpleSearchControlProperty, SearchControlProperty);
92
- var _super = _createSuper(SimpleSearchControlProperty);
105
+ var _super = _create_super(SimpleSearchControlProperty);
93
106
  function SimpleSearchControlProperty(props) {
94
- _classCallCheck(this, SimpleSearchControlProperty);
107
+ _class_call_check(this, SimpleSearchControlProperty);
95
108
  var _this;
96
109
  _this = _super.call(this, props);
110
+ _define_property(_assert_this_initialized(_this), "search", void 0);
111
+ _define_property(_assert_this_initialized(_this), "cancel", void 0);
112
+ _define_property(_assert_this_initialized(_this), "labelPosition", void 0);
113
+ _define_property(_assert_this_initialized(_this), "viewType", void 0);
114
+ _define_property(_assert_this_initialized(_this), "isLoading", void 0);
115
+ _define_property(_assert_this_initialized(_this), "custom", void 0);
116
+ _define_property(_assert_this_initialized(_this), "queryTypeMap", void 0);
97
117
  var _props_labelPosition;
98
118
  _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
99
119
  var _props_viewType;
@@ -120,6 +140,6 @@ var SimpleSearchControlProperty = /*#__PURE__*/ function(SearchControlProperty)
120
140
  }
121
141
  return SimpleSearchControlProperty;
122
142
  }(SearchControlProperty);
123
- SimpleSearchControlProperty.RuntimeRules = SimpleSearchControlPropertyRuntimeRules;
143
+ _define_property(SimpleSearchControlProperty, "RuntimeRules", SimpleSearchControlPropertyRuntimeRules);
124
144
  export default SimpleSearchControlProperty;
125
145
  export { SimpleSearchControlProperty };
@@ -1,19 +1,32 @@
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 _define_property(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
25
+ function _get_prototype_of(o) {
26
+ _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
15
28
  };
16
- return _getPrototypeOf(o);
29
+ return _get_prototype_of(o);
17
30
  }
18
31
  function _inherits(subClass, superClass) {
19
32
  if (typeof superClass !== "function" && superClass !== null) {
@@ -26,26 +39,26 @@ function _inherits(subClass, superClass) {
26
39
  configurable: true
27
40
  }
28
41
  });
29
- if (superClass) _setPrototypeOf(subClass, superClass);
42
+ if (superClass) _set_prototype_of(subClass, superClass);
30
43
  }
31
- function _possibleConstructorReturn(self, call) {
32
- 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")) {
33
46
  return call;
34
47
  }
35
- return _assertThisInitialized(self);
48
+ return _assert_this_initialized(self);
36
49
  }
37
- function _setPrototypeOf(o, p) {
38
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
50
+ function _set_prototype_of(o, p) {
51
+ _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
39
52
  o.__proto__ = p;
40
53
  return o;
41
54
  };
42
- return _setPrototypeOf(o, p);
55
+ return _set_prototype_of(o, p);
43
56
  }
44
- var _typeof = function(obj) {
57
+ function _type_of(obj) {
45
58
  "@swc/helpers - typeof";
46
59
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
47
- };
48
- function _isNativeReflectConstruct() {
60
+ }
61
+ function _is_native_reflect_construct() {
49
62
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
50
63
  if (Reflect.construct.sham) return false;
51
64
  if (typeof Proxy === "function") return true;
@@ -56,17 +69,17 @@ function _isNativeReflectConstruct() {
56
69
  return false;
57
70
  }
58
71
  }
59
- function _createSuper(Derived) {
60
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
72
+ function _create_super(Derived) {
73
+ var hasNativeReflectConstruct = _is_native_reflect_construct();
61
74
  return function _createSuperInternal() {
62
- var Super = _getPrototypeOf(Derived), result;
75
+ var Super = _get_prototype_of(Derived), result;
63
76
  if (hasNativeReflectConstruct) {
64
- var NewTarget = _getPrototypeOf(this).constructor;
77
+ var NewTarget = _get_prototype_of(this).constructor;
65
78
  result = Reflect.construct(Super, arguments, NewTarget);
66
79
  } else {
67
80
  result = Super.apply(this, arguments);
68
81
  }
69
- return _possibleConstructorReturn(this, result);
82
+ return _possible_constructor_return(this, result);
70
83
  };
71
84
  }
72
85
  import SimpleSearchControlProperty from "./property";
@@ -74,18 +87,20 @@ import { RuntimeSearchControl } from "@byteluck-fe/model-driven-core";
74
87
  var SimpleSearchControl = /*#__PURE__*/ function(RuntimeSearchControl) {
75
88
  "use strict";
76
89
  _inherits(SimpleSearchControl, RuntimeSearchControl);
77
- var _super = _createSuper(SimpleSearchControl);
90
+ var _super = _create_super(SimpleSearchControl);
78
91
  function SimpleSearchControl(props) {
79
- _classCallCheck(this, SimpleSearchControl);
92
+ _class_call_check(this, SimpleSearchControl);
80
93
  var _this;
81
94
  _this = _super.call(this, props);
95
+ _define_property(_assert_this_initialized(_this), "props", void 0);
96
+ _define_property(_assert_this_initialized(_this), "children", void 0);
82
97
  _this.props = new SimpleSearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
83
- var _ref;
84
- _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [];
98
+ var _props_children;
99
+ _this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [];
85
100
  return _this;
86
101
  }
87
102
  return SimpleSearchControl;
88
103
  }(RuntimeSearchControl);
89
- SimpleSearchControl.controlType = "simple-search";
104
+ _define_property(SimpleSearchControl, "controlType", "simple-search");
90
105
  export default SimpleSearchControl;
91
106
  export { SimpleSearchControl as RuntimeSimpleSearchControl };