@byteluck-fe/model-driven-driven 2.7.0-alpha.30 → 2.7.0-alpha.31b
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.
- package/README.md +13 -13
- package/dist/esm/Builder.js +9 -22
- package/dist/esm/Designer.js +73 -177
- package/dist/esm/Driven.js +131 -148
- package/dist/esm/EventLogic.js +1 -1
- package/dist/esm/Plugin.js +2 -2
- package/dist/esm/Store.js +57 -91
- package/dist/esm/constants.js +8 -8
- package/dist/esm/designerUtils.js +7 -6
- package/dist/esm/index.js +6 -6
- package/dist/esm/utils.js +98 -199
- package/dist/index.umd.js +3 -3
- package/dist/types/Builder.d.ts +8 -8
- package/dist/types/Designer.d.ts +36 -36
- package/dist/types/Driven.d.ts +112 -112
- package/dist/types/EventLogic.d.ts +2 -2
- package/dist/types/Plugin.d.ts +6 -6
- package/dist/types/Store.d.ts +82 -82
- package/dist/types/constants.d.ts +6 -6
- package/dist/types/designerUtils.d.ts +5 -5
- package/dist/types/index.d.ts +8 -8
- package/dist/types/utils.d.ts +55 -55
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Driven
|
|
2
|
-
设计态引擎
|
|
3
|
-
|
|
4
|
-
Builder.ts // 兼容旧版Designer,提供页面初始化
|
|
5
|
-
constants.ts // 常量
|
|
6
|
-
Designer.ts // 旧版designer的实现
|
|
7
|
-
designerUtils.ts // 工具函数
|
|
8
|
-
Driven.ts // 引擎
|
|
9
|
-
EventLogic.ts // 事件管理
|
|
10
|
-
index.ts
|
|
11
|
-
Plugin.ts // 插件
|
|
12
|
-
Store.ts // 仓库
|
|
13
|
-
utils.ts // 工具
|
|
1
|
+
# Driven
|
|
2
|
+
设计态引擎
|
|
3
|
+
|
|
4
|
+
Builder.ts // 兼容旧版Designer,提供页面初始化
|
|
5
|
+
constants.ts // 常量
|
|
6
|
+
Designer.ts // 旧版designer的实现
|
|
7
|
+
designerUtils.ts // 工具函数
|
|
8
|
+
Driven.ts // 引擎
|
|
9
|
+
EventLogic.ts // 事件管理
|
|
10
|
+
index.ts
|
|
11
|
+
Plugin.ts // 插件
|
|
12
|
+
Store.ts // 仓库
|
|
13
|
+
utils.ts // 工具
|
package/dist/esm/Builder.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _classCallCheck(instance, Constructor) {
|
|
2
2
|
if (!(instance instanceof Constructor)) {
|
|
3
3
|
throw new TypeError("Cannot call a class as a function");
|
|
4
4
|
}
|
|
@@ -12,33 +12,20 @@ function _defineProperties(target, props) {
|
|
|
12
12
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
16
16
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
17
17
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
18
18
|
return Constructor;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Object.defineProperty(obj, key, {
|
|
23
|
-
value: value,
|
|
24
|
-
enumerable: true,
|
|
25
|
-
configurable: true,
|
|
26
|
-
writable: true
|
|
27
|
-
});
|
|
28
|
-
} else {
|
|
29
|
-
obj[key] = value;
|
|
30
|
-
}
|
|
31
|
-
return obj;
|
|
32
|
-
}
|
|
33
|
-
import Designer from "./Designer";
|
|
34
|
-
import { CONTROL_TYPE } from "@byteluck-fe/model-driven-shared";
|
|
20
|
+
import Designer from './Designer';
|
|
21
|
+
import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
35
22
|
export var Builder = /*#__PURE__*/ function() {
|
|
36
23
|
"use strict";
|
|
37
24
|
function Builder() {
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
_classCallCheck(this, Builder);
|
|
26
|
+
this.designer = new Designer();
|
|
40
27
|
}
|
|
41
|
-
|
|
28
|
+
_createClass(Builder, [
|
|
42
29
|
{
|
|
43
30
|
key: "ListPageBuilder",
|
|
44
31
|
value: // @ts-ignore
|
|
@@ -79,7 +66,7 @@ export var Builder = /*#__PURE__*/ function() {
|
|
|
79
66
|
// @ts-ignore
|
|
80
67
|
var listview = this.designer.createControlInstance(// @ts-ignore
|
|
81
68
|
CONTROL_TYPE.LIST_VIEW);
|
|
82
|
-
listview.props.countType =
|
|
69
|
+
listview.props.countType = 'async';
|
|
83
70
|
var simpleSearch = this.designer.createControlInstance(// @ts-ignore
|
|
84
71
|
CONTROL_TYPE.SIMPLE_SEARCH);
|
|
85
72
|
var gridTable = this.designer.createControlInstance(// @ts-ignore
|
|
@@ -128,7 +115,7 @@ export var Builder = /*#__PURE__*/ function() {
|
|
|
128
115
|
// @ts-ignore
|
|
129
116
|
vueFormItem.props.isHideCaption = true;
|
|
130
117
|
// @ts-ignore
|
|
131
|
-
vueFormItem.props.controlExportName =
|
|
118
|
+
vueFormItem.props.controlExportName = 'VuePage';
|
|
132
119
|
// @ts-ignore
|
|
133
120
|
grid.children.push(vueFormItem);
|
|
134
121
|
return grid;
|
package/dist/esm/Designer.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _arrayLikeToArray(arr, len) {
|
|
2
2
|
if (len == null || len > arr.length) len = arr.length;
|
|
3
3
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
4
|
return arr2;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
if (Array.isArray(arr)) return
|
|
6
|
+
function _arrayWithoutHoles(arr) {
|
|
7
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function _assertThisInitialized(self) {
|
|
10
10
|
if (self === void 0) {
|
|
11
11
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
12
12
|
}
|
|
@@ -26,7 +26,7 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
26
26
|
Promise.resolve(value).then(_next, _throw);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function _asyncToGenerator(fn) {
|
|
30
30
|
return function() {
|
|
31
31
|
var self = this, args = arguments;
|
|
32
32
|
return new Promise(function(resolve, reject) {
|
|
@@ -41,7 +41,7 @@ function _async_to_generator(fn) {
|
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function _classCallCheck(instance, Constructor) {
|
|
45
45
|
if (!(instance instanceof Constructor)) {
|
|
46
46
|
throw new TypeError("Cannot call a class as a function");
|
|
47
47
|
}
|
|
@@ -55,29 +55,16 @@ function _defineProperties(target, props) {
|
|
|
55
55
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
59
59
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
60
60
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
61
61
|
return Constructor;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
|
|
65
|
-
Object.defineProperty(obj, key, {
|
|
66
|
-
value: value,
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
obj[key] = value;
|
|
73
|
-
}
|
|
74
|
-
return obj;
|
|
75
|
-
}
|
|
76
|
-
function _get_prototype_of(o) {
|
|
77
|
-
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
63
|
+
function _getPrototypeOf(o) {
|
|
64
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
78
65
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
79
66
|
};
|
|
80
|
-
return
|
|
67
|
+
return _getPrototypeOf(o);
|
|
81
68
|
}
|
|
82
69
|
function _inherits(subClass, superClass) {
|
|
83
70
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -90,50 +77,50 @@ function _inherits(subClass, superClass) {
|
|
|
90
77
|
configurable: true
|
|
91
78
|
}
|
|
92
79
|
});
|
|
93
|
-
if (superClass)
|
|
80
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
94
81
|
}
|
|
95
82
|
function _instanceof(left, right) {
|
|
96
83
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
97
|
-
return
|
|
84
|
+
return right[Symbol.hasInstance](left);
|
|
98
85
|
} else {
|
|
99
86
|
return left instanceof right;
|
|
100
87
|
}
|
|
101
88
|
}
|
|
102
|
-
function
|
|
89
|
+
function _iterableToArray(iter) {
|
|
103
90
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
104
91
|
}
|
|
105
|
-
function
|
|
92
|
+
function _nonIterableSpread() {
|
|
106
93
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
107
94
|
}
|
|
108
|
-
function
|
|
109
|
-
if (call && (
|
|
95
|
+
function _possibleConstructorReturn(self, call) {
|
|
96
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
110
97
|
return call;
|
|
111
98
|
}
|
|
112
|
-
return
|
|
99
|
+
return _assertThisInitialized(self);
|
|
113
100
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
101
|
+
function _setPrototypeOf(o, p) {
|
|
102
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
116
103
|
o.__proto__ = p;
|
|
117
104
|
return o;
|
|
118
105
|
};
|
|
119
|
-
return
|
|
106
|
+
return _setPrototypeOf(o, p);
|
|
120
107
|
}
|
|
121
|
-
function
|
|
122
|
-
return
|
|
108
|
+
function _toConsumableArray(arr) {
|
|
109
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
123
110
|
}
|
|
124
|
-
function
|
|
111
|
+
var _typeof = function(obj) {
|
|
125
112
|
"@swc/helpers - typeof";
|
|
126
113
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
127
|
-
}
|
|
128
|
-
function
|
|
114
|
+
};
|
|
115
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
129
116
|
if (!o) return;
|
|
130
|
-
if (typeof o === "string") return
|
|
117
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
131
118
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
132
119
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
133
120
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
134
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
121
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
135
122
|
}
|
|
136
|
-
function
|
|
123
|
+
function _isNativeReflectConstruct() {
|
|
137
124
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
138
125
|
if (Reflect.construct.sham) return false;
|
|
139
126
|
if (typeof Proxy === "function") return true;
|
|
@@ -144,142 +131,48 @@ function _is_native_reflect_construct() {
|
|
|
144
131
|
return false;
|
|
145
132
|
}
|
|
146
133
|
}
|
|
147
|
-
function
|
|
148
|
-
var hasNativeReflectConstruct =
|
|
134
|
+
function _createSuper(Derived) {
|
|
135
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
149
136
|
return function _createSuperInternal() {
|
|
150
|
-
var Super =
|
|
137
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
151
138
|
if (hasNativeReflectConstruct) {
|
|
152
|
-
var NewTarget =
|
|
139
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
153
140
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
154
141
|
} else {
|
|
155
142
|
result = Super.apply(this, arguments);
|
|
156
143
|
}
|
|
157
|
-
return
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
function _ts_generator(thisArg, body) {
|
|
161
|
-
var f, y, t, g, _ = {
|
|
162
|
-
label: 0,
|
|
163
|
-
sent: function() {
|
|
164
|
-
if (t[0] & 1) throw t[1];
|
|
165
|
-
return t[1];
|
|
166
|
-
},
|
|
167
|
-
trys: [],
|
|
168
|
-
ops: []
|
|
144
|
+
return _possibleConstructorReturn(this, result);
|
|
169
145
|
};
|
|
170
|
-
return g = {
|
|
171
|
-
next: verb(0),
|
|
172
|
-
"throw": verb(1),
|
|
173
|
-
"return": verb(2)
|
|
174
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
175
|
-
return this;
|
|
176
|
-
}), g;
|
|
177
|
-
function verb(n) {
|
|
178
|
-
return function(v) {
|
|
179
|
-
return step([
|
|
180
|
-
n,
|
|
181
|
-
v
|
|
182
|
-
]);
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
function step(op) {
|
|
186
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
187
|
-
while(_)try {
|
|
188
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
189
|
-
if (y = 0, t) op = [
|
|
190
|
-
op[0] & 2,
|
|
191
|
-
t.value
|
|
192
|
-
];
|
|
193
|
-
switch(op[0]){
|
|
194
|
-
case 0:
|
|
195
|
-
case 1:
|
|
196
|
-
t = op;
|
|
197
|
-
break;
|
|
198
|
-
case 4:
|
|
199
|
-
_.label++;
|
|
200
|
-
return {
|
|
201
|
-
value: op[1],
|
|
202
|
-
done: false
|
|
203
|
-
};
|
|
204
|
-
case 5:
|
|
205
|
-
_.label++;
|
|
206
|
-
y = op[1];
|
|
207
|
-
op = [
|
|
208
|
-
0
|
|
209
|
-
];
|
|
210
|
-
continue;
|
|
211
|
-
case 7:
|
|
212
|
-
op = _.ops.pop();
|
|
213
|
-
_.trys.pop();
|
|
214
|
-
continue;
|
|
215
|
-
default:
|
|
216
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
217
|
-
_ = 0;
|
|
218
|
-
continue;
|
|
219
|
-
}
|
|
220
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
221
|
-
_.label = op[1];
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
225
|
-
_.label = t[1];
|
|
226
|
-
t = op;
|
|
227
|
-
break;
|
|
228
|
-
}
|
|
229
|
-
if (t && _.label < t[2]) {
|
|
230
|
-
_.label = t[2];
|
|
231
|
-
_.ops.push(op);
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
if (t[2]) _.ops.pop();
|
|
235
|
-
_.trys.pop();
|
|
236
|
-
continue;
|
|
237
|
-
}
|
|
238
|
-
op = body.call(thisArg, _);
|
|
239
|
-
} catch (e) {
|
|
240
|
-
op = [
|
|
241
|
-
6,
|
|
242
|
-
e
|
|
243
|
-
];
|
|
244
|
-
y = 0;
|
|
245
|
-
} finally{
|
|
246
|
-
f = t = 0;
|
|
247
|
-
}
|
|
248
|
-
if (op[0] & 5) throw op[1];
|
|
249
|
-
return {
|
|
250
|
-
value: op[0] ? op[1] : void 0,
|
|
251
|
-
done: true
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
146
|
}
|
|
255
|
-
import
|
|
256
|
-
import
|
|
257
|
-
import
|
|
258
|
-
import {
|
|
259
|
-
|
|
147
|
+
import regeneratorRuntime from "regenerator-runtime";
|
|
148
|
+
import { RegisterControls, controlHooksEmitter } from '@byteluck-fe/model-driven-core';
|
|
149
|
+
import EventLogic from './EventLogic';
|
|
150
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
151
|
+
import { toSchema, getModelBindInfoList, checkSchema } from './utils';
|
|
152
|
+
var Designer1 = /*#__PURE__*/ function _target(RegisterControls1) {
|
|
260
153
|
"use strict";
|
|
261
|
-
_inherits(
|
|
262
|
-
var _super =
|
|
263
|
-
function
|
|
264
|
-
|
|
154
|
+
_inherits(Designer1, RegisterControls1);
|
|
155
|
+
var _super = _createSuper(Designer1);
|
|
156
|
+
function Designer1() {
|
|
157
|
+
_classCallCheck(this, Designer1);
|
|
265
158
|
var _this;
|
|
266
|
-
_this = _super.call(this,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
(_instanceof(this,
|
|
273
|
-
var
|
|
274
|
-
_this.controlSettingMap.set(
|
|
159
|
+
_this = _super.call(this, 'Designer');
|
|
160
|
+
_this.toolbox = [];
|
|
161
|
+
_this.services = {};
|
|
162
|
+
_this.eventLogic = new EventLogic();
|
|
163
|
+
_this.fieldTypes = FieldTypes;
|
|
164
|
+
_this.controlSettingMap = new Map();
|
|
165
|
+
(_instanceof(this, Designer1) ? this.constructor : void 0).staticControls.forEach(function(control) {
|
|
166
|
+
var Designer2 = control.Designer, Setting = control.Setting;
|
|
167
|
+
_this.controlSettingMap.set(Designer2.controlType, Setting);
|
|
275
168
|
});
|
|
276
169
|
return _this;
|
|
277
170
|
}
|
|
278
|
-
|
|
171
|
+
_createClass(Designer1, [
|
|
279
172
|
{
|
|
280
173
|
key: "registerControl",
|
|
281
174
|
value: function registerControl(control) {
|
|
282
|
-
this.constructor.register(control);
|
|
175
|
+
this.constructor.register(control, 'Designer');
|
|
283
176
|
var DesignerClass = control.Designer, Setting = control.Setting;
|
|
284
177
|
this.register(DesignerClass);
|
|
285
178
|
this.registeredControlTypes.add(DesignerClass.controlType);
|
|
@@ -322,7 +215,7 @@ var Designer = /*#__PURE__*/ function _target(RegisterControls) {
|
|
|
322
215
|
function getInitControl() {
|
|
323
216
|
// @ts-ignore
|
|
324
217
|
return [
|
|
325
|
-
this.createControlInstance(
|
|
218
|
+
this.createControlInstance('grid')
|
|
326
219
|
];
|
|
327
220
|
}
|
|
328
221
|
},
|
|
@@ -332,14 +225,17 @@ var Designer = /*#__PURE__*/ function _target(RegisterControls) {
|
|
|
332
225
|
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
333
226
|
args[_key] = arguments[_key];
|
|
334
227
|
}
|
|
335
|
-
return
|
|
336
|
-
return
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
228
|
+
return _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
|
229
|
+
return regeneratorRuntime.wrap(function _callee$(_ctx) {
|
|
230
|
+
while(1)switch(_ctx.prev = _ctx.next){
|
|
231
|
+
case 0:
|
|
232
|
+
return _ctx.abrupt("return", checkSchema.apply(void 0, _toConsumableArray(args)));
|
|
233
|
+
case 1:
|
|
234
|
+
case "end":
|
|
235
|
+
return _ctx.stop();
|
|
236
|
+
}
|
|
237
|
+
}, _callee);
|
|
238
|
+
}))();
|
|
343
239
|
}
|
|
344
240
|
},
|
|
345
241
|
{
|
|
@@ -348,7 +244,7 @@ var Designer = /*#__PURE__*/ function _target(RegisterControls) {
|
|
|
348
244
|
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
349
245
|
args[_key] = arguments[_key];
|
|
350
246
|
}
|
|
351
|
-
return getModelBindInfoList.apply(void 0,
|
|
247
|
+
return getModelBindInfoList.apply(void 0, _toConsumableArray(args));
|
|
352
248
|
}
|
|
353
249
|
},
|
|
354
250
|
{
|
|
@@ -357,7 +253,7 @@ var Designer = /*#__PURE__*/ function _target(RegisterControls) {
|
|
|
357
253
|
for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
|
|
358
254
|
args[_key] = arguments[_key];
|
|
359
255
|
}
|
|
360
|
-
return toSchema.apply(void 0,
|
|
256
|
+
return toSchema.apply(void 0, _toConsumableArray(args));
|
|
361
257
|
}
|
|
362
258
|
},
|
|
363
259
|
{
|
|
@@ -367,12 +263,12 @@ var Designer = /*#__PURE__*/ function _target(RegisterControls) {
|
|
|
367
263
|
args[_key] = arguments[_key];
|
|
368
264
|
}
|
|
369
265
|
var _controlHooksEmitter;
|
|
370
|
-
return (_controlHooksEmitter = controlHooksEmitter).on.apply(_controlHooksEmitter,
|
|
266
|
+
return (_controlHooksEmitter = controlHooksEmitter).on.apply(_controlHooksEmitter, _toConsumableArray(args));
|
|
371
267
|
}
|
|
372
268
|
}
|
|
373
269
|
]);
|
|
374
|
-
return
|
|
270
|
+
return Designer1;
|
|
375
271
|
}(RegisterControls);
|
|
376
|
-
|
|
377
|
-
export {
|
|
378
|
-
export { Designer };
|
|
272
|
+
Designer1.EventLogic = EventLogic;
|
|
273
|
+
export { Designer1 as default };
|
|
274
|
+
export { Designer1 as Designer };
|