@byteluck-fe/model-driven-core-all 7.0.0-props.114 → 7.0.0-props.116

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.
@@ -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 '@byteluck-fe/model-driven-core';
88
80
  import { DesignerControl } from '@byteluck-fe/model-driven-core';
89
81
  import { Property } from '@byteluck-fe/model-driven-core';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from '@byteluck-fe/model-driven-core';
2
+ export { ActionSetting, DrillDownList, DrillRelation } from '@byteluck-fe/model-driven-core';
2
3
  export * from '@byteluck-fe/model-driven-shared';
3
4
  export * from '@byteluck-fe/model-driven-controls';
4
5
  export * from '@byteluck-fe/model-driven-upgrade';
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
6
6
  reject(error);
7
7
  return;
8
8
  }
9
- if (info.done) {
10
- resolve(value);
11
- } else {
12
- Promise.resolve(value).then(_next, _throw);
13
- }
9
+ if (info.done) resolve(value);
10
+ else Promise.resolve(value).then(_next, _throw);
14
11
  }
15
12
  function _async_to_generator(fn) {
16
13
  return function() {
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
6
6
  reject(error);
7
7
  return;
8
8
  }
9
- if (info.done) {
10
- resolve(value);
11
- } else {
12
- Promise.resolve(value).then(_next, _throw);
13
- }
9
+ if (info.done) resolve(value);
10
+ else Promise.resolve(value).then(_next, _throw);
14
11
  }
15
12
  function _async_to_generator(fn) {
16
13
  return function() {
@@ -14,11 +14,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
14
14
  reject(error);
15
15
  return;
16
16
  }
17
- if (info.done) {
18
- resolve(value);
19
- } else {
20
- Promise.resolve(value).then(_next, _throw);
21
- }
17
+ if (info.done) resolve(value);
18
+ else Promise.resolve(value).then(_next, _throw);
22
19
  }
23
20
  function _async_to_generator(fn) {
24
21
  return function() {
@@ -60,19 +57,11 @@ function _iterable_to_array_limit(arr, i) {
60
57
  return _arr;
61
58
  }
62
59
  function _non_iterable_rest() {
63
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
60
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
64
61
  }
65
62
  function _sliced_to_array(arr, i) {
66
63
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
67
64
  }
68
- function _unsupported_iterable_to_array(o, minLen) {
69
- if (!o) return;
70
- if (typeof o === "string") return _array_like_to_array(o, minLen);
71
- var n = Object.prototype.toString.call(o).slice(8, -1);
72
- if (n === "Object" && o.constructor) n = o.constructor.name;
73
- if (n === "Map" || n === "Set") return Array.from(n);
74
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
75
- }
76
65
  function _ts_generator(thisArg, body) {
77
66
  var f, y, t, _ = {
78
67
  label: 0,
@@ -172,6 +161,14 @@ function _ts_generator(thisArg, body) {
172
161
  };
173
162
  }
174
163
  }
164
+ function _unsupported_iterable_to_array(o, minLen) {
165
+ if (!o) return;
166
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
167
+ var n = Object.prototype.toString.call(o).slice(8, -1);
168
+ if (n === "Object" && o.constructor) n = o.constructor.name;
169
+ if (n === "Map" || n === "Set") return Array.from(n);
170
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
171
+ }
175
172
  import { loadRemoteControl } from './loadRemoteScripts';
176
173
  import { warn } from '@byteluck-fe/model-driven-shared';
177
174
  import { getHackerControl } from './getHackerControl';
@@ -31,7 +31,7 @@ function _iterable_to_array_limit(arr, i) {
31
31
  return _arr;
32
32
  }
33
33
  function _non_iterable_rest() {
34
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
34
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
35
35
  }
36
36
  function _sliced_to_array(arr, i) {
37
37
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();