@byteluck-fe/model-driven-controls 3.0.0-beta.4 → 4.34.0-lx1

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 (245) hide show
  1. package/dist/esm/api-doc-index.js +0 -1
  2. package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -5
  3. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -5
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +2 -2
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -5
  6. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -5
  7. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -3
  8. package/dist/esm/baseControls/Button/designer.js +1 -12
  9. package/dist/esm/baseControls/Button/property.js +1 -2
  10. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -5
  11. package/dist/esm/baseControls/CreateFormListButton/property.js +2 -2
  12. package/dist/esm/baseControls/Dashboard/designer.js +1 -2
  13. package/dist/esm/baseControls/Dashboard/property.js +4 -4
  14. package/dist/esm/baseControls/Divider/designer.js +1 -2
  15. package/dist/esm/baseControls/ExportListButton/designer.js +1 -5
  16. package/dist/esm/baseControls/ExportListButton/property.js +1 -2
  17. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -5
  18. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -2
  19. package/dist/esm/baseControls/FormSelectButton/property.js +4 -4
  20. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -5
  21. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +1 -2
  22. package/dist/esm/baseControls/InvoiceCheckButton/property.js +4 -4
  23. package/dist/esm/baseControls/Link/designer.js +1 -2
  24. package/dist/esm/baseControls/Link/property.js +1 -2
  25. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -2
  26. package/dist/esm/baseControls/ListSelectButton/property.js +5 -8
  27. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -2
  28. package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
  29. package/dist/esm/baseControls/OperationButton/designer.js +1 -2
  30. package/dist/esm/baseControls/OperationButton/property.js +3 -3
  31. package/dist/esm/baseControls/Pagination/designer.js +1 -2
  32. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -5
  33. package/dist/esm/baseControls/Text/designer.js +1 -6
  34. package/dist/esm/baseControls/Text/property.js +2 -9
  35. package/dist/esm/baseControls/TextOcrButton/designer.js +1 -2
  36. package/dist/esm/baseControls/TextOcrButton/property.js +5 -5
  37. package/dist/esm/baseControls/Title/designer.js +1 -2
  38. package/dist/esm/baseControls/Title/property.js +6 -6
  39. package/dist/esm/baseControls/index.js +0 -1
  40. package/dist/esm/baseControls/utils.js +4 -4
  41. package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +1 -6
  42. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -6
  43. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -6
  44. package/dist/esm/columnControls/CustomColumn/designer.js +1 -9
  45. package/dist/esm/columnControls/CustomColumn/property.js +2 -2
  46. package/dist/esm/columnControls/DecimalColumn/designer.js +1 -6
  47. package/dist/esm/columnControls/DecimalColumn/property.js +4 -4
  48. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -6
  49. package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -6
  50. package/dist/esm/columnControls/FileColumn/designer.js +8 -11
  51. package/dist/esm/columnControls/FileColumn/property.js +1 -21
  52. package/dist/esm/columnControls/ImageColumn/designer.js +1 -6
  53. package/dist/esm/columnControls/LocationColumn/designer.js +1 -6
  54. package/dist/esm/columnControls/OperationColumn/designer.js +1 -6
  55. package/dist/esm/columnControls/OperationColumn/property.js +3 -3
  56. package/dist/esm/columnControls/OrderColumn/designer.js +1 -6
  57. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -6
  58. package/dist/esm/columnControls/TextColumn/designer.js +1 -6
  59. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -6
  60. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -6
  61. package/dist/esm/columnControls/VarcharColumn/designer.js +2 -4
  62. package/dist/esm/columnControls/VarcharColumn/property.js +4 -7
  63. package/dist/esm/formControls/Address/designer.js +1 -2
  64. package/dist/esm/formControls/Address/property.js +5 -5
  65. package/dist/esm/formControls/Amount/designer.js +1 -6
  66. package/dist/esm/formControls/Amount/property.js +8 -14
  67. package/dist/esm/formControls/Attachment/designer.js +1 -10
  68. package/dist/esm/formControls/Attachment/property.js +16 -19
  69. package/dist/esm/formControls/AutoNumber/designer.js +1 -2
  70. package/dist/esm/formControls/AutoNumber/property.js +1 -2
  71. package/dist/esm/formControls/Calc/designer.js +1 -6
  72. package/dist/esm/formControls/Calc/property.js +5 -11
  73. package/dist/esm/formControls/Checkbox/designer.js +1 -10
  74. package/dist/esm/formControls/Checkbox/property.js +9 -15
  75. package/dist/esm/formControls/DatePicker/designer.js +1 -2
  76. package/dist/esm/formControls/DatePicker/property.js +1 -2
  77. package/dist/esm/formControls/DateRange/designer.js +1 -2
  78. package/dist/esm/formControls/DateRange/property.js +2 -3
  79. package/dist/esm/formControls/Department/designer.js +1 -2
  80. package/dist/esm/formControls/Department/property.js +1 -2
  81. package/dist/esm/formControls/Department2/designer.js +1 -2
  82. package/dist/esm/formControls/Department2/property.js +4 -4
  83. package/dist/esm/formControls/ElectronicSignature/designer.js +1 -2
  84. package/dist/esm/formControls/ElectronicSignature/property.js +7 -8
  85. package/dist/esm/formControls/Employee/designer.js +1 -2
  86. package/dist/esm/formControls/Employee/property.js +1 -2
  87. package/dist/esm/formControls/Employee2/designer.js +2 -4
  88. package/dist/esm/formControls/Employee2/property.js +4 -7
  89. package/dist/esm/formControls/Image/designer.js +2 -7
  90. package/dist/esm/formControls/Image/property.js +22 -2
  91. package/dist/esm/formControls/Image/runtime.js +2 -3
  92. package/dist/esm/formControls/Input/designer.js +1 -6
  93. package/dist/esm/formControls/Input/property.js +23 -17
  94. package/dist/esm/formControls/Number/designer.js +1 -2
  95. package/dist/esm/formControls/Number/property.js +9 -9
  96. package/dist/esm/formControls/OrganizationSelection/designer.js +1 -7
  97. package/dist/esm/formControls/OrganizationSelection/property.js +4 -4
  98. package/dist/esm/formControls/Radio/designer.js +1 -10
  99. package/dist/esm/formControls/Radio/property.js +7 -14
  100. package/dist/esm/formControls/RichText/designer.js +1 -10
  101. package/dist/esm/formControls/RichText/property.js +11 -45
  102. package/dist/esm/formControls/Score/designer.js +1 -2
  103. package/dist/esm/formControls/Score/property.js +8 -8
  104. package/dist/esm/formControls/SearchDateRange/designer.js +1 -2
  105. package/dist/esm/formControls/SearchDateRange/property.js +2 -3
  106. package/dist/esm/formControls/SearchInput/designer.js +1 -2
  107. package/dist/esm/formControls/SearchNumberRange/designer.js +1 -2
  108. package/dist/esm/formControls/SearchNumberRange/property.js +5 -5
  109. package/dist/esm/formControls/Select/designer.js +1 -10
  110. package/dist/esm/formControls/Select/property.js +10 -16
  111. package/dist/esm/formControls/SelectMultiple/designer.js +1 -10
  112. package/dist/esm/formControls/SelectMultiple/property.js +10 -16
  113. package/dist/esm/formControls/SelectRelation/designer.js +3 -52
  114. package/dist/esm/formControls/SelectRelation/property.js +7 -18
  115. package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/designer.js +57 -25
  116. package/dist/esm/formControls/SensitivenInformation/property.js +206 -0
  117. package/dist/esm/formControls/{VuePage → SensitivenInformation}/runtime.js +14 -14
  118. package/dist/esm/formControls/Textarea/designer.js +2 -12
  119. package/dist/esm/formControls/Textarea/property.js +36 -67
  120. package/dist/esm/formControls/Tree/designer.js +1 -6
  121. package/dist/esm/formControls/Tree/property.js +5 -5
  122. package/dist/esm/formControls/VueFormItem/designer.js +2 -7
  123. package/dist/esm/formControls/WPS/designer.js +1 -2
  124. package/dist/esm/formControls/WPS/property.js +6 -6
  125. package/dist/esm/formControls/index.js +1 -1
  126. package/dist/esm/framework.js +0 -82
  127. package/dist/esm/layoutControls/ActionBar/designer.js +6 -21
  128. package/dist/esm/layoutControls/AdvancedContainer/designer.js +1 -2
  129. package/dist/esm/layoutControls/CardGroup/designer.js +2 -4
  130. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  131. package/dist/esm/layoutControls/Col/designer.js +2 -3
  132. package/dist/esm/layoutControls/DataView/designer.js +1 -2
  133. package/dist/esm/layoutControls/DataView/property.js +4 -5
  134. package/dist/esm/layoutControls/Grid/designer.js +1 -2
  135. package/dist/esm/layoutControls/GridLayoutContainer/designer.js +1 -2
  136. package/dist/esm/layoutControls/GridRow/designer.js +1 -2
  137. package/dist/esm/layoutControls/ListView/designer.js +1 -5
  138. package/dist/esm/layoutControls/ListView/property.js +28 -13
  139. package/dist/esm/layoutControls/Page/designer.js +1 -2
  140. package/dist/esm/layoutControls/Position/designer.js +1 -2
  141. package/dist/esm/layoutControls/PositioningContainer/designer.js +1 -2
  142. package/dist/esm/layoutControls/Row/designer.js +1 -2
  143. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -4
  144. package/dist/esm/layoutControls/SubTableColumn/property.js +4 -4
  145. package/dist/esm/layoutControls/SubTableRow/designer.js +1 -2
  146. package/dist/esm/layoutControls/Tab/designer.js +1 -2
  147. package/dist/esm/layoutControls/TabPane/designer.js +3 -3
  148. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  149. package/dist/esm/layoutControls/Toolbox/designer.js +1 -2
  150. package/dist/esm/listControls/GridTable/designer.js +7 -34
  151. package/dist/esm/listControls/SubTable/designer.js +6 -8
  152. package/dist/esm/listControls/SubTable/property.js +17 -33
  153. package/dist/esm/searchControls/SimpleSearch/designer.js +0 -3
  154. package/dist/esm/searchControls/SimpleSearch/property.js +3 -16
  155. package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +2 -3
  156. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +1 -2
  157. package/dist/index.umd.js +1 -1
  158. package/dist/types/api-doc-index.d.ts +0 -1
  159. package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +0 -1
  160. package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +0 -1
  161. package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +0 -1
  162. package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +0 -1
  163. package/dist/types/baseControls/Button/designer.d.ts +0 -1
  164. package/dist/types/baseControls/CreateFormListButton/designer.d.ts +0 -1
  165. package/dist/types/baseControls/ExportListButton/designer.d.ts +0 -1
  166. package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +0 -1
  167. package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +0 -1
  168. package/dist/types/baseControls/ListSelectButton/property.d.ts +0 -1
  169. package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +0 -1
  170. package/dist/types/baseControls/Text/property.d.ts +0 -6
  171. package/dist/types/baseControls/index.d.ts +0 -1
  172. package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +1 -1
  173. package/dist/types/columnControls/ArrayColumn/designer.d.ts +1 -1
  174. package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +1 -1
  175. package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -2
  176. package/dist/types/columnControls/DecimalColumn/designer.d.ts +1 -1
  177. package/dist/types/columnControls/DecimalColumn/property.d.ts +2 -2
  178. package/dist/types/columnControls/DepartmentColumn/designer.d.ts +1 -1
  179. package/dist/types/columnControls/EmployeeColumn/designer.d.ts +1 -1
  180. package/dist/types/columnControls/FileColumn/designer.d.ts +1 -1
  181. package/dist/types/columnControls/FileColumn/property.d.ts +0 -1
  182. package/dist/types/columnControls/ImageColumn/designer.d.ts +1 -1
  183. package/dist/types/columnControls/LocationColumn/designer.d.ts +1 -1
  184. package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -1
  185. package/dist/types/columnControls/OrderColumn/designer.d.ts +1 -1
  186. package/dist/types/columnControls/PeopleColumn/designer.d.ts +1 -1
  187. package/dist/types/columnControls/TextColumn/designer.d.ts +1 -1
  188. package/dist/types/columnControls/TimescopeColumn/designer.d.ts +1 -1
  189. package/dist/types/columnControls/TimestampColumn/designer.d.ts +1 -1
  190. package/dist/types/columnControls/VarcharColumn/designer.d.ts +1 -1
  191. package/dist/types/columnControls/VarcharColumn/property.d.ts +1 -7
  192. package/dist/types/formControls/Amount/property.d.ts +0 -6
  193. package/dist/types/formControls/Attachment/property.d.ts +10 -3
  194. package/dist/types/formControls/Calc/property.d.ts +0 -6
  195. package/dist/types/formControls/Checkbox/property.d.ts +0 -6
  196. package/dist/types/formControls/Employee2/property.d.ts +0 -1
  197. package/dist/types/formControls/Image/property.d.ts +5 -0
  198. package/dist/types/formControls/Input/property.d.ts +9 -3
  199. package/dist/types/formControls/Number/property.d.ts +2 -2
  200. package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
  201. package/dist/types/formControls/Radio/property.d.ts +0 -6
  202. package/dist/types/formControls/RichText/property.d.ts +1 -19
  203. package/dist/types/formControls/Select/property.d.ts +0 -6
  204. package/dist/types/formControls/SelectMultiple/property.d.ts +0 -6
  205. package/dist/types/formControls/SelectRelation/designer.d.ts +0 -1
  206. package/dist/types/formControls/SelectRelation/property.d.ts +1 -9
  207. package/dist/types/formControls/SensitivenInformation/designer.d.ts +15 -0
  208. package/dist/types/formControls/SensitivenInformation/property.d.ts +57 -0
  209. package/dist/types/formControls/SensitivenInformation/runtime.d.ts +12 -0
  210. package/dist/types/formControls/Textarea/property.d.ts +18 -12
  211. package/dist/types/formControls/VueFormItem/designer.d.ts +0 -1
  212. package/dist/types/formControls/index.d.ts +1 -1
  213. package/dist/types/framework.d.ts +1 -31
  214. package/dist/types/layoutControls/ActionBar/designer.d.ts +0 -3
  215. package/dist/types/layoutControls/CardGroup/property.d.ts +0 -1
  216. package/dist/types/layoutControls/ListView/designer.d.ts +0 -3
  217. package/dist/types/layoutControls/ListView/property.d.ts +9 -2
  218. package/dist/types/layoutControls/SubTableColumn/designer.d.ts +1 -1
  219. package/dist/types/layoutControls/SubTableRow/designer.d.ts +1 -1
  220. package/dist/types/listControls/GridTable/designer.d.ts +0 -8
  221. package/dist/types/listControls/GridTable/property.d.ts +1 -1
  222. package/dist/types/listControls/SubTable/designer.d.ts +0 -3
  223. package/dist/types/listControls/SubTable/property.d.ts +0 -19
  224. package/dist/types/searchControls/SimpleSearch/designer.d.ts +0 -3
  225. package/dist/types/searchControls/SimpleSearch/property.d.ts +1 -13
  226. package/dist/types/type.d.ts +3 -4
  227. package/package.json +35 -35
  228. package/dist/esm/baseControls/ReferenceList/property.js +0 -139
  229. package/dist/esm/baseControls/ReferenceList/runtime.js +0 -112
  230. package/dist/esm/formControls/VuePage/designer.js +0 -129
  231. package/dist/esm/formControls/VuePage/index.js +0 -11
  232. package/dist/esm/formControls/VuePage/property.js +0 -133
  233. package/dist/esm/formControls/VuePage/types.js +0 -0
  234. package/dist/types/baseControls/ReferenceList/designer.d.ts +0 -14
  235. package/dist/types/baseControls/ReferenceList/property.d.ts +0 -22
  236. package/dist/types/baseControls/ReferenceList/runtime.d.ts +0 -9
  237. package/dist/types/formControls/VuePage/designer.d.ts +0 -15
  238. package/dist/types/formControls/VuePage/index.d.ts +0 -12
  239. package/dist/types/formControls/VuePage/property.d.ts +0 -18
  240. package/dist/types/formControls/VuePage/runtime.d.ts +0 -12
  241. package/dist/types/formControls/VuePage/types.d.ts +0 -0
  242. /package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/index.js +0 -0
  243. /package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/types.js +0 -0
  244. /package/dist/types/{baseControls/ReferenceList → formControls/SensitivenInformation}/index.d.ts +0 -0
  245. /package/dist/types/{baseControls/ReferenceList → formControls/SensitivenInformation}/types.d.ts +0 -0
@@ -1,112 +0,0 @@
1
- function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
5
- return self;
6
- }
7
- function _call_super(_this, derived, args) {
8
- derived = _get_prototype_of(derived);
9
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
- }
11
- function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
15
- }
16
- function _defineProperties(target, props) {
17
- for(var i = 0; i < props.length; i++){
18
- var descriptor = props[i];
19
- descriptor.enumerable = descriptor.enumerable || false;
20
- descriptor.configurable = true;
21
- if ("value" in descriptor) descriptor.writable = true;
22
- Object.defineProperty(target, descriptor.key, descriptor);
23
- }
24
- }
25
- function _create_class(Constructor, protoProps, staticProps) {
26
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27
- if (staticProps) _defineProperties(Constructor, staticProps);
28
- return Constructor;
29
- }
30
- function _define_property(obj, key, value) {
31
- if (key in obj) {
32
- Object.defineProperty(obj, key, {
33
- value: value,
34
- enumerable: true,
35
- configurable: true,
36
- writable: true
37
- });
38
- } else {
39
- obj[key] = value;
40
- }
41
- return obj;
42
- }
43
- function _get_prototype_of(o) {
44
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
45
- return o.__proto__ || Object.getPrototypeOf(o);
46
- };
47
- return _get_prototype_of(o);
48
- }
49
- function _inherits(subClass, superClass) {
50
- if (typeof superClass !== "function" && superClass !== null) {
51
- throw new TypeError("Super expression must either be null or a function");
52
- }
53
- subClass.prototype = Object.create(superClass && superClass.prototype, {
54
- constructor: {
55
- value: subClass,
56
- writable: true,
57
- configurable: true
58
- }
59
- });
60
- if (superClass) _set_prototype_of(subClass, superClass);
61
- }
62
- function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
66
- return _assert_this_initialized(self);
67
- }
68
- function _set_prototype_of(o, p) {
69
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
70
- o.__proto__ = p;
71
- return o;
72
- };
73
- return _set_prototype_of(o, p);
74
- }
75
- function _type_of(obj) {
76
- "@swc/helpers - typeof";
77
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
- }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
- import { RuntimeControl } from '@byteluck-fe/model-driven-core';
88
- import ReferenceListProperty from './property';
89
- var ReferenceListControl = /*#__PURE__*/ function(RuntimeControl) {
90
- "use strict";
91
- _inherits(ReferenceListControl, RuntimeControl);
92
- function ReferenceListControl(props) {
93
- _class_call_check(this, ReferenceListControl);
94
- var _this;
95
- _this = _call_super(this, ReferenceListControl, [
96
- props
97
- ]), _define_property(_this, "props", void 0);
98
- _this.props = new ReferenceListProperty(props === null || props === void 0 ? void 0 : props.props);
99
- return _this;
100
- }
101
- _create_class(ReferenceListControl, null, [
102
- {
103
- key: "controlType",
104
- get: function get() {
105
- return 'reference-list';
106
- }
107
- }
108
- ]);
109
- return ReferenceListControl;
110
- }(RuntimeControl);
111
- export default ReferenceListControl;
112
- export { ReferenceListControl as RuntimeReferenceListControl };
@@ -1,129 +0,0 @@
1
- function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
5
- return self;
6
- }
7
- function _call_super(_this, derived, args) {
8
- derived = _get_prototype_of(derived);
9
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
- }
11
- function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
15
- }
16
- function _defineProperties(target, props) {
17
- for(var i = 0; i < props.length; i++){
18
- var descriptor = props[i];
19
- descriptor.enumerable = descriptor.enumerable || false;
20
- descriptor.configurable = true;
21
- if ("value" in descriptor) descriptor.writable = true;
22
- Object.defineProperty(target, descriptor.key, descriptor);
23
- }
24
- }
25
- function _create_class(Constructor, protoProps, staticProps) {
26
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
27
- if (staticProps) _defineProperties(Constructor, staticProps);
28
- return Constructor;
29
- }
30
- function _define_property(obj, key, value) {
31
- if (key in obj) {
32
- Object.defineProperty(obj, key, {
33
- value: value,
34
- enumerable: true,
35
- configurable: true,
36
- writable: true
37
- });
38
- } else {
39
- obj[key] = value;
40
- }
41
- return obj;
42
- }
43
- function _get_prototype_of(o) {
44
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
45
- return o.__proto__ || Object.getPrototypeOf(o);
46
- };
47
- return _get_prototype_of(o);
48
- }
49
- function _inherits(subClass, superClass) {
50
- if (typeof superClass !== "function" && superClass !== null) {
51
- throw new TypeError("Super expression must either be null or a function");
52
- }
53
- subClass.prototype = Object.create(superClass && superClass.prototype, {
54
- constructor: {
55
- value: subClass,
56
- writable: true,
57
- configurable: true
58
- }
59
- });
60
- if (superClass) _set_prototype_of(subClass, superClass);
61
- }
62
- function _possible_constructor_return(self, call) {
63
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
64
- return call;
65
- }
66
- return _assert_this_initialized(self);
67
- }
68
- function _set_prototype_of(o, p) {
69
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
70
- o.__proto__ = p;
71
- return o;
72
- };
73
- return _set_prototype_of(o, p);
74
- }
75
- function _type_of(obj) {
76
- "@swc/helpers - typeof";
77
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
78
- }
79
- function _is_native_reflect_construct() {
80
- try {
81
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
82
- } catch (_) {}
83
- return (_is_native_reflect_construct = function() {
84
- return !!result;
85
- })();
86
- }
87
- import { DesignerFormControl } from '@byteluck-fe/model-driven-core';
88
- import VuePageProperty from './property';
89
- import { FieldTypes, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
90
- import { getLocaleText } from '@byteluck-fe/locale-message';
91
- var VuePageControl = /*#__PURE__*/ function(DesignerFormControl) {
92
- "use strict";
93
- _inherits(VuePageControl, DesignerFormControl);
94
- function VuePageControl(props) {
95
- _class_call_check(this, VuePageControl);
96
- var _this;
97
- _this = _call_super(this, VuePageControl, [
98
- props
99
- ]), _define_property(_this, "props", void 0);
100
- _this.props = new VuePageProperty(props === null || props === void 0 ? void 0 : props.props);
101
- return _this;
102
- }
103
- _create_class(VuePageControl, null, [
104
- {
105
- key: "controlName",
106
- get: function get() {
107
- return getLocaleText('CMD.vuePage', null, 'Vue页面');
108
- }
109
- },
110
- {
111
- key: "controlIcon",
112
- get: function get() {
113
- return 'iconvuerongqi';
114
- }
115
- },
116
- {
117
- key: "controlType",
118
- get: function get() {
119
- return CONTROL_TYPE.VUE_PAGE;
120
- }
121
- }
122
- ]);
123
- return VuePageControl;
124
- }(DesignerFormControl);
125
- _define_property(VuePageControl, "controlFieldType", FieldTypes.ANY);
126
- _define_property(VuePageControl, "controlEventKeys", []);
127
- _define_property(VuePageControl, "setting", []);
128
- export default VuePageControl;
129
- export { VuePageControl as DesignerVuePageControl };
@@ -1,11 +0,0 @@
1
- import Designer from './designer';
2
- import Runtime from './runtime';
3
- import Property from './property';
4
- export default {
5
- Designer: Designer,
6
- Runtime: Runtime,
7
- Property: Property
8
- };
9
- export * from './designer';
10
- export * from './runtime';
11
- export * from './property';
@@ -1,133 +0,0 @@
1
- function _assert_this_initialized(self) {
2
- if (self === void 0) {
3
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
- }
5
- return self;
6
- }
7
- function _call_super(_this, derived, args) {
8
- derived = _get_prototype_of(derived);
9
- return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
10
- }
11
- function _class_call_check(instance, Constructor) {
12
- if (!(instance instanceof Constructor)) {
13
- throw new TypeError("Cannot call a class as a function");
14
- }
15
- }
16
- function _define_property(obj, key, value) {
17
- if (key in obj) {
18
- Object.defineProperty(obj, key, {
19
- value: value,
20
- enumerable: true,
21
- configurable: true,
22
- writable: true
23
- });
24
- } else {
25
- obj[key] = value;
26
- }
27
- return obj;
28
- }
29
- function _get_prototype_of(o) {
30
- _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
31
- return o.__proto__ || Object.getPrototypeOf(o);
32
- };
33
- return _get_prototype_of(o);
34
- }
35
- function _inherits(subClass, superClass) {
36
- if (typeof superClass !== "function" && superClass !== null) {
37
- throw new TypeError("Super expression must either be null or a function");
38
- }
39
- subClass.prototype = Object.create(superClass && superClass.prototype, {
40
- constructor: {
41
- value: subClass,
42
- writable: true,
43
- configurable: true
44
- }
45
- });
46
- if (superClass) _set_prototype_of(subClass, superClass);
47
- }
48
- function _possible_constructor_return(self, call) {
49
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
50
- return call;
51
- }
52
- return _assert_this_initialized(self);
53
- }
54
- function _set_prototype_of(o, p) {
55
- _set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
56
- o.__proto__ = p;
57
- return o;
58
- };
59
- return _set_prototype_of(o, p);
60
- }
61
- function _type_of(obj) {
62
- "@swc/helpers - typeof";
63
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
64
- }
65
- function _is_native_reflect_construct() {
66
- try {
67
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
68
- } catch (_) {}
69
- return (_is_native_reflect_construct = function() {
70
- return !!result;
71
- })();
72
- }
73
- import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
74
- import VuePageControl from './designer';
75
- var VuePagePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
76
- "use strict";
77
- _inherits(VuePagePropertyRules, BaseControlPropertyRules);
78
- function VuePagePropertyRules(props) {
79
- _class_call_check(this, VuePagePropertyRules);
80
- var _this;
81
- _this = _call_super(this, VuePagePropertyRules, [
82
- props
83
- ]);
84
- _this.dataBind = {
85
- type: 'any'
86
- };
87
- return _this;
88
- }
89
- return VuePagePropertyRules;
90
- }(BaseControlPropertyRules);
91
- var VuePagePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
92
- "use strict";
93
- _inherits(VuePagePropertyRuntimeRules, BaseControlPropertyRuntimeRules);
94
- function VuePagePropertyRuntimeRules(props) {
95
- _class_call_check(this, VuePagePropertyRuntimeRules);
96
- var _this;
97
- _this = _call_super(this, VuePagePropertyRuntimeRules, [
98
- props
99
- ]);
100
- if (_this[0] !== undefined) {
101
- _this[0].type = 'any';
102
- }
103
- return _this;
104
- }
105
- return VuePagePropertyRuntimeRules;
106
- }(BaseControlPropertyRuntimeRules);
107
- var VuePageProperty = /*#__PURE__*/ function(BaseControlProperty) {
108
- "use strict";
109
- _inherits(VuePageProperty, BaseControlProperty);
110
- function VuePageProperty(props) {
111
- _class_call_check(this, VuePageProperty);
112
- var _this;
113
- _this = _call_super(this, VuePageProperty, [
114
- props
115
- ]), _define_property(_this, "controlExportName", void 0), _define_property(_this, "permissions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "isInlineEdit", void 0);
116
- var _props_caption;
117
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VuePageControl.controlName;
118
- var _props_defaultValue;
119
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
120
- var _props_controlExportName;
121
- _this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : '';
122
- var _props_permissions;
123
- _this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
124
- var _props_isInlineEdit;
125
- _this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
126
- return _this;
127
- }
128
- return VuePageProperty;
129
- }(BaseControlProperty);
130
- _define_property(VuePageProperty, "Rules", VuePagePropertyRules);
131
- _define_property(VuePageProperty, "RuntimeRules", VuePagePropertyRuntimeRules);
132
- export default VuePageProperty;
133
- export { VuePageProperty, VuePagePropertyRules, VuePagePropertyRuntimeRules };
File without changes
@@ -1,14 +0,0 @@
1
- import { SettingOption, DesignerControl } from '@byteluck-fe/model-driven-core';
2
- import { Schema } from '@byteluck-fe/model-driven-core';
3
- import ReferenceListProperty from './property';
4
- declare class ReferenceListControl extends DesignerControl {
5
- static get controlName(): string;
6
- static get controlIcon(): string;
7
- static get controlType(): string;
8
- static readonly controlEventKeys: string[];
9
- static readonly setting: SettingOption[];
10
- readonly props: ReferenceListProperty;
11
- constructor(props?: Partial<Schema<'reference-list'>>);
12
- }
13
- export default ReferenceListControl;
14
- export { ReferenceListControl as ResignerreferenceListControl };
@@ -1,22 +0,0 @@
1
- import { PropertyRules, Property } from '@byteluck-fe/model-driven-core';
2
- import { ActionSetting, ListHeightSetting } from '../../framework';
3
- import { RuleItem } from 'async-validator';
4
- declare class ReferenceListPropertyRules extends PropertyRules {
5
- actionSetting: RuleItem;
6
- constructor(props: ReferenceListProperty);
7
- }
8
- /**
9
- * ReferenceList 引用列表
10
- * @public
11
- */
12
- declare class ReferenceListProperty extends Property {
13
- static readonly Rules: typeof ReferenceListPropertyRules;
14
- isShowSimpleSearch: boolean;
15
- isShowToolbar: boolean;
16
- actionSetting: ActionSetting;
17
- listHeightSetting: ListHeightSetting;
18
- isHideCaption: boolean;
19
- constructor(props?: Partial<ReferenceListProperty>);
20
- }
21
- export default ReferenceListProperty;
22
- export { ReferenceListProperty, ReferenceListPropertyRules };
@@ -1,9 +0,0 @@
1
- import { RuntimeControl, Schema } from '@byteluck-fe/model-driven-core';
2
- import ReferenceListProperty from './property';
3
- declare class ReferenceListControl extends RuntimeControl {
4
- static get controlType(): string;
5
- props: ReferenceListProperty;
6
- constructor(props?: Partial<Schema<'reference-list'>>);
7
- }
8
- export default ReferenceListControl;
9
- export { ReferenceListControl as RuntimeReferenceListControl };
@@ -1,15 +0,0 @@
1
- import { DesignerFormControl, Schema, SettingOption } from '@byteluck-fe/model-driven-core';
2
- import VuePageProperty from './property';
3
- import { FieldTypes, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
4
- declare class VuePageControl extends DesignerFormControl {
5
- static controlFieldType: FieldTypes;
6
- static controlEventKeys: string[];
7
- static get controlName(): string;
8
- static get controlIcon(): string;
9
- static get controlType(): CONTROL_TYPE;
10
- static readonly setting: SettingOption[];
11
- readonly props: VuePageProperty;
12
- constructor(props?: Partial<Schema<CONTROL_TYPE.VUE_PAGE>>);
13
- }
14
- export default VuePageControl;
15
- export { VuePageControl as DesignerVuePageControl };
@@ -1,12 +0,0 @@
1
- import Designer from './designer';
2
- import Runtime from './runtime';
3
- import Property from './property';
4
- declare const _default: {
5
- Designer: typeof Designer;
6
- Runtime: typeof Runtime;
7
- Property: typeof Property;
8
- };
9
- export default _default;
10
- export * from './designer';
11
- export * from './runtime';
12
- export * from './property';
@@ -1,18 +0,0 @@
1
- import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, CustomPermissionItem } from '@byteluck-fe/model-driven-core';
2
- declare class VuePagePropertyRules extends BaseControlPropertyRules {
3
- constructor(props: VuePageProperty);
4
- }
5
- declare class VuePagePropertyRuntimeRules extends BaseControlPropertyRuntimeRules {
6
- constructor(props: VuePageProperty);
7
- }
8
- declare class VuePageProperty extends BaseControlProperty {
9
- static readonly Rules: typeof VuePagePropertyRules;
10
- static readonly RuntimeRules: typeof VuePagePropertyRuntimeRules;
11
- controlExportName: string;
12
- permissions: CustomPermissionItem[];
13
- defaultValue: any;
14
- isInlineEdit: boolean;
15
- constructor(props?: Partial<VuePageProperty>);
16
- }
17
- export default VuePageProperty;
18
- export { VuePageProperty, VuePagePropertyRules, VuePagePropertyRuntimeRules };
@@ -1,12 +0,0 @@
1
- import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
2
- import { CONTROL_TYPE, FieldTypes } from '@byteluck-fe/model-driven-shared';
3
- import VuePageProperty from './property';
4
- import { Schema } from '@byteluck-fe/model-driven-core';
5
- declare class VuePageControl extends RuntimeFormControl {
6
- static get controlType(): CONTROL_TYPE;
7
- static controlFieldType: FieldTypes;
8
- readonly props: VuePageProperty;
9
- constructor(props?: Partial<Schema<CONTROL_TYPE.VUE_PAGE>>);
10
- }
11
- export default VuePageControl;
12
- export { VuePageControl as RuntimeVuePageControl };
File without changes