@byteluck-fe/model-driven-core 6.2.0-beta.9 → 6.2.0-cyj.0
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/dist/esm/common/BaseControl/designer.js +40 -41
- package/dist/esm/common/BaseControl/property.js +19 -31
- package/dist/esm/common/BaseControl/runtime.js +11 -20
- package/dist/esm/common/ColumnControl/designer.js +17 -29
- package/dist/esm/common/ColumnControl/property.js +18 -30
- package/dist/esm/common/ColumnControl/runtime.js +12 -20
- package/dist/esm/common/ControlArray.js +4 -2
- package/dist/esm/common/FormControl/designer.js +12 -20
- package/dist/esm/common/FormControl/property.js +26 -46
- package/dist/esm/common/FormControl/runtime.js +12 -20
- package/dist/esm/common/LayoutControl/designer.js +49 -55
- package/dist/esm/common/LayoutControl/property.js +11 -17
- package/dist/esm/common/LayoutControl/runtime.js +12 -20
- package/dist/esm/common/ListControl/designer.js +47 -52
- package/dist/esm/common/ListControl/property.js +17 -28
- package/dist/esm/common/ListControl/runtime.js +12 -20
- package/dist/esm/common/SearchViewControl/designer.js +12 -20
- package/dist/esm/common/SearchViewControl/property.js +12 -20
- package/dist/esm/common/SearchViewControl/runtime.js +12 -20
- package/dist/esm/common/WrapControl/designer.js +12 -20
- package/dist/esm/common/WrapControl/property.js +11 -17
- package/dist/esm/common/WrapControl/runtime.js +12 -20
- package/dist/esm/framework/RegisterControls.js +2 -6
- package/dist/esm/framework/index.js +231 -345
- package/dist/index.umd.js +3 -1
- package/dist/types/common/ColumnControl/designer.d.ts +4 -4
- package/dist/types/framework/index.d.ts +27 -26
- package/package.json +3 -3
|
@@ -7,9 +7,7 @@ function _array_without_holes(arr) {
|
|
|
7
7
|
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
8
8
|
}
|
|
9
9
|
function _assert_this_initialized(self) {
|
|
10
|
-
if (self === void 0)
|
|
11
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
12
|
-
}
|
|
10
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13
11
|
return self;
|
|
14
12
|
}
|
|
15
13
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
@@ -20,11 +18,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
20
18
|
reject(error);
|
|
21
19
|
return;
|
|
22
20
|
}
|
|
23
|
-
if (info.done)
|
|
24
|
-
|
|
25
|
-
} else {
|
|
26
|
-
Promise.resolve(value).then(_next, _throw);
|
|
27
|
-
}
|
|
21
|
+
if (info.done) resolve(value);
|
|
22
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
28
23
|
}
|
|
29
24
|
function _async_to_generator(fn) {
|
|
30
25
|
return function() {
|
|
@@ -46,9 +41,7 @@ function _call_super(_this, derived, args) {
|
|
|
46
41
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
47
42
|
}
|
|
48
43
|
function _class_call_check(instance, Constructor) {
|
|
49
|
-
if (!(instance instanceof Constructor))
|
|
50
|
-
throw new TypeError("Cannot call a class as a function");
|
|
51
|
-
}
|
|
44
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
52
45
|
}
|
|
53
46
|
function _defineProperties(target, props) {
|
|
54
47
|
for(var i = 0; i < props.length; i++){
|
|
@@ -72,22 +65,17 @@ function _define_property(obj, key, value) {
|
|
|
72
65
|
configurable: true,
|
|
73
66
|
writable: true
|
|
74
67
|
});
|
|
75
|
-
} else
|
|
76
|
-
obj[key] = value;
|
|
77
|
-
}
|
|
68
|
+
} else obj[key] = value;
|
|
78
69
|
return obj;
|
|
79
70
|
}
|
|
80
71
|
function _get(target, property, receiver) {
|
|
81
|
-
if (typeof Reflect !== "undefined" && Reflect.get)
|
|
82
|
-
|
|
83
|
-
} else {
|
|
72
|
+
if (typeof Reflect !== "undefined" && Reflect.get) _get = Reflect.get;
|
|
73
|
+
else {
|
|
84
74
|
_get = function get(target, property, receiver) {
|
|
85
75
|
var base = _super_prop_base(target, property);
|
|
86
76
|
if (!base) return;
|
|
87
77
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
88
|
-
if (desc.get)
|
|
89
|
-
return desc.get.call(receiver || target);
|
|
90
|
-
}
|
|
78
|
+
if (desc.get) return desc.get.call(receiver || target);
|
|
91
79
|
return desc.value;
|
|
92
80
|
};
|
|
93
81
|
}
|
|
@@ -112,11 +100,21 @@ function _inherits(subClass, superClass) {
|
|
|
112
100
|
});
|
|
113
101
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
114
102
|
}
|
|
103
|
+
function _is_native_reflect_construct() {
|
|
104
|
+
try {
|
|
105
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
106
|
+
} catch (_) {}
|
|
107
|
+
return (_is_native_reflect_construct = function() {
|
|
108
|
+
return !!result;
|
|
109
|
+
})();
|
|
110
|
+
}
|
|
115
111
|
function _iterable_to_array(iter) {
|
|
116
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
112
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
113
|
+
return Array.from(iter);
|
|
114
|
+
}
|
|
117
115
|
}
|
|
118
116
|
function _non_iterable_spread() {
|
|
119
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
117
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
120
118
|
}
|
|
121
119
|
function _object_spread(target) {
|
|
122
120
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -148,9 +146,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
148
146
|
}
|
|
149
147
|
function _object_spread_props(target, source) {
|
|
150
148
|
source = source != null ? source : {};
|
|
151
|
-
if (Object.getOwnPropertyDescriptors)
|
|
152
|
-
|
|
153
|
-
} else {
|
|
149
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
150
|
+
else {
|
|
154
151
|
ownKeys(Object(source)).forEach(function(key) {
|
|
155
152
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
156
153
|
});
|
|
@@ -158,9 +155,7 @@ function _object_spread_props(target, source) {
|
|
|
158
155
|
return target;
|
|
159
156
|
}
|
|
160
157
|
function _possible_constructor_return(self, call) {
|
|
161
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
162
|
-
return call;
|
|
163
|
-
}
|
|
158
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
164
159
|
return _assert_this_initialized(self);
|
|
165
160
|
}
|
|
166
161
|
function _set_prototype_of(o, p) {
|
|
@@ -180,26 +175,6 @@ function _super_prop_base(object, property) {
|
|
|
180
175
|
function _to_consumable_array(arr) {
|
|
181
176
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
182
177
|
}
|
|
183
|
-
function _type_of(obj) {
|
|
184
|
-
"@swc/helpers - typeof";
|
|
185
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
186
|
-
}
|
|
187
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
188
|
-
if (!o) return;
|
|
189
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
190
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
191
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
192
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
193
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
194
|
-
}
|
|
195
|
-
function _is_native_reflect_construct() {
|
|
196
|
-
try {
|
|
197
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
198
|
-
} catch (_) {}
|
|
199
|
-
return (_is_native_reflect_construct = function() {
|
|
200
|
-
return !!result;
|
|
201
|
-
})();
|
|
202
|
-
}
|
|
203
178
|
function _ts_generator(thisArg, body) {
|
|
204
179
|
var f, y, t, _ = {
|
|
205
180
|
label: 0,
|
|
@@ -209,9 +184,17 @@ function _ts_generator(thisArg, body) {
|
|
|
209
184
|
},
|
|
210
185
|
trys: [],
|
|
211
186
|
ops: []
|
|
212
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
213
|
-
return
|
|
214
|
-
|
|
187
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
|
|
188
|
+
return d(g, "next", {
|
|
189
|
+
value: verb(0)
|
|
190
|
+
}), d(g, "throw", {
|
|
191
|
+
value: verb(1)
|
|
192
|
+
}), d(g, "return", {
|
|
193
|
+
value: verb(2)
|
|
194
|
+
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
195
|
+
value: function() {
|
|
196
|
+
return this;
|
|
197
|
+
}
|
|
215
198
|
}), g;
|
|
216
199
|
function verb(n) {
|
|
217
200
|
return function(v) {
|
|
@@ -291,6 +274,18 @@ function _ts_generator(thisArg, body) {
|
|
|
291
274
|
};
|
|
292
275
|
}
|
|
293
276
|
}
|
|
277
|
+
function _type_of(obj) {
|
|
278
|
+
"@swc/helpers - typeof";
|
|
279
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
280
|
+
}
|
|
281
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
282
|
+
if (!o) return;
|
|
283
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
284
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
285
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
286
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
287
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
288
|
+
}
|
|
294
289
|
import { DesignerControl } from '../BaseControl';
|
|
295
290
|
import ListControlProperty from './property';
|
|
296
291
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
@@ -311,7 +306,7 @@ var ListControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
311
306
|
key: "validate",
|
|
312
307
|
value: function validate(messages, ignore) {
|
|
313
308
|
var _this = this;
|
|
314
|
-
var _this1 = this, _superprop_get_validate = function() {
|
|
309
|
+
var _this1 = this, _superprop_get_validate = function _superprop_get_validate() {
|
|
315
310
|
return _get(_get_prototype_of(ListControl.prototype), "validate", _this);
|
|
316
311
|
};
|
|
317
312
|
return _async_to_generator(function() {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
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
65
|
import { Property } from '../BaseControl';
|
|
74
66
|
import { defineControlArrayToProperty } from '../ControlArray';
|
|
75
67
|
var ListControlProperty = /*#__PURE__*/ function(Property) {
|
|
@@ -78,21 +70,18 @@ var ListControlProperty = /*#__PURE__*/ function(Property) {
|
|
|
78
70
|
function ListControlProperty(parent, props, mode) {
|
|
79
71
|
_class_call_check(this, ListControlProperty);
|
|
80
72
|
var _this;
|
|
73
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
81
74
|
_this = _call_super(this, ListControlProperty, [
|
|
82
75
|
props
|
|
83
76
|
]), _define_property(_this, "headers", void 0), _define_property(_this, "footers", void 0), _define_property(_this, "pageIndex", void 0), _define_property(_this, "pageSize", void 0), _define_property(_this, "pageSizeOptions", void 0), _define_property(_this, "totalCount", void 0);
|
|
84
77
|
defineControlArrayToProperty(_this, 'headers', props === null || props === void 0 ? void 0 : props.headers, parent, mode);
|
|
85
78
|
defineControlArrayToProperty(_this, 'footers', props === null || props === void 0 ? void 0 : props.footers, parent);
|
|
86
|
-
|
|
87
|
-
_this.
|
|
88
|
-
|
|
89
|
-
_this.pageSize = (_props_pageSize = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _props_pageSize !== void 0 ? _props_pageSize : 20;
|
|
90
|
-
var _props_pageSizeOptions;
|
|
91
|
-
_this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
|
|
79
|
+
_this.pageIndex = (_ref = props === null || props === void 0 ? void 0 : props.pageIndex) !== null && _ref !== void 0 ? _ref : 1;
|
|
80
|
+
_this.pageSize = (_ref1 = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _ref1 !== void 0 ? _ref1 : 20;
|
|
81
|
+
_this.pageSizeOptions = (_ref2 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref2 !== void 0 ? _ref2 : [
|
|
92
82
|
20
|
|
93
83
|
];
|
|
94
|
-
|
|
95
|
-
_this.totalCount = (_props_totalCount = props === null || props === void 0 ? void 0 : props.totalCount) !== null && _props_totalCount !== void 0 ? _props_totalCount : 0;
|
|
84
|
+
_this.totalCount = (_ref3 = props === null || props === void 0 ? void 0 : props.totalCount) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
96
85
|
return _this;
|
|
97
86
|
}
|
|
98
87
|
return ListControlProperty;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
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
79
|
import { RuntimeControl } from '../BaseControl';
|
|
88
80
|
import ListControlProperty from './property';
|
|
89
81
|
import { defineControlArrayToProperty } from '../ControlArray';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
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
65
|
import SearchControlProperty from './property';
|
|
74
66
|
import { DesignerLayoutControl } from '../LayoutControl';
|
|
75
67
|
var SearchControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
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
65
|
import { LayoutControlProperty } from '../LayoutControl';
|
|
74
66
|
import { DataBind } from '../../framework';
|
|
75
67
|
var SearchControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
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
65
|
import SearchControlProperty from './property';
|
|
74
66
|
import { RuntimeLayoutControl } from '../LayoutControl';
|
|
75
67
|
var SearchControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _define_property(obj, key, value) {
|
|
17
13
|
if (key in obj) {
|
|
@@ -21,9 +17,7 @@ function _define_property(obj, key, value) {
|
|
|
21
17
|
configurable: true,
|
|
22
18
|
writable: true
|
|
23
19
|
});
|
|
24
|
-
} else
|
|
25
|
-
obj[key] = value;
|
|
26
|
-
}
|
|
20
|
+
} else obj[key] = value;
|
|
27
21
|
return obj;
|
|
28
22
|
}
|
|
29
23
|
function _get_prototype_of(o) {
|
|
@@ -45,10 +39,16 @@ function _inherits(subClass, superClass) {
|
|
|
45
39
|
});
|
|
46
40
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
41
|
}
|
|
42
|
+
function _is_native_reflect_construct() {
|
|
43
|
+
try {
|
|
44
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
45
|
+
} catch (_) {}
|
|
46
|
+
return (_is_native_reflect_construct = function() {
|
|
47
|
+
return !!result;
|
|
48
|
+
})();
|
|
49
|
+
}
|
|
48
50
|
function _possible_constructor_return(self, call) {
|
|
49
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
50
|
-
return call;
|
|
51
|
-
}
|
|
51
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
52
52
|
return _assert_this_initialized(self);
|
|
53
53
|
}
|
|
54
54
|
function _set_prototype_of(o, p) {
|
|
@@ -62,14 +62,6 @@ function _type_of(obj) {
|
|
|
62
62
|
"@swc/helpers - typeof";
|
|
63
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
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
65
|
import WrapControlProperty from './property';
|
|
74
66
|
import { DesignerLayoutControl } from '../LayoutControl';
|
|
75
67
|
var WrapControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
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
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _get_prototype_of(o) {
|
|
17
13
|
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
@@ -32,10 +28,16 @@ function _inherits(subClass, superClass) {
|
|
|
32
28
|
});
|
|
33
29
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
34
30
|
}
|
|
31
|
+
function _is_native_reflect_construct() {
|
|
32
|
+
try {
|
|
33
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
34
|
+
} catch (_) {}
|
|
35
|
+
return (_is_native_reflect_construct = function() {
|
|
36
|
+
return !!result;
|
|
37
|
+
})();
|
|
38
|
+
}
|
|
35
39
|
function _possible_constructor_return(self, call) {
|
|
36
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
37
|
-
return call;
|
|
38
|
-
}
|
|
40
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
39
41
|
return _assert_this_initialized(self);
|
|
40
42
|
}
|
|
41
43
|
function _set_prototype_of(o, p) {
|
|
@@ -49,14 +51,6 @@ function _type_of(obj) {
|
|
|
49
51
|
"@swc/helpers - typeof";
|
|
50
52
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
51
53
|
}
|
|
52
|
-
function _is_native_reflect_construct() {
|
|
53
|
-
try {
|
|
54
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
55
|
-
} catch (_) {}
|
|
56
|
-
return (_is_native_reflect_construct = function() {
|
|
57
|
-
return !!result;
|
|
58
|
-
})();
|
|
59
|
-
}
|
|
60
54
|
import { LayoutControlProperty } from '../LayoutControl';
|
|
61
55
|
var WrapControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
62
56
|
"use strict";
|