@azrico/webobject 1.4.128 → 1.4.130
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 +9 -9
- package/dist/src/WebObjects/ParentWebObject.js +10 -13
- package/dist/src/WebObjects/WebObject.js +177 -109
- package/dist/src/WebObjects/WebObjectManager.js +128 -74
- package/dist/src/structs/DummyObject.js +9 -12
- package/dist/src/structs/MapableObject.js +10 -13
- package/dist/src/structs/MetaObject.js +34 -25
- package/dist/src/structs/ObjectArray.js +4 -6
- package/dist/src/structs/ObjectManager.d.ts +3 -3
- package/dist/src/structs/ObjectManager.js +102 -59
- package/dist/src/structs/ObjectWithTemp.js +12 -10
- package/dist/src/structs/SimpleObject.d.ts +3 -4
- package/dist/src/structs/SimpleObject.js +155 -86
- package/package.json +4 -4
|
@@ -15,36 +15,34 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
15
15
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
16
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
17
17
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
19
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
20
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
18
22
|
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
19
23
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
20
25
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
22
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
23
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
24
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
26
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
27
27
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
28
|
-
function _toPropertyKey(
|
|
29
|
-
function _toPrimitive(
|
|
28
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
29
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
30
30
|
/**
|
|
31
31
|
* This class manages the events of an Simple Object
|
|
32
32
|
*/
|
|
33
|
-
var WebObjectManager = /*#__PURE__*/function (_ObjectManager
|
|
33
|
+
var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_ObjectManager) {
|
|
34
34
|
_inherits(WebObjectManager, _ObjectManager);
|
|
35
|
-
var _super = _createSuper(WebObjectManager);
|
|
36
35
|
/* -------------------------------------------------------------------------- */
|
|
37
36
|
function WebObjectManager() {
|
|
38
37
|
var _this;
|
|
39
38
|
_classCallCheck(this, WebObjectManager);
|
|
40
|
-
_this =
|
|
39
|
+
_this = _callSuper(this, WebObjectManager);
|
|
41
40
|
/* ---------------- should we display a message after saving ? -------------- */
|
|
42
41
|
_defineProperty(_assertThisInitialized(_this), "__last_web_path", "");
|
|
43
42
|
_defineProperty(_assertThisInitialized(_this), "__last_web_type", "");
|
|
44
43
|
if (_this.constructor["__save_message"]) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
return (_ref = _ref || _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(srt) {
|
|
44
|
+
_this.event_add("on_save", "on_save-sendmsg", /*#__PURE__*/function () {
|
|
45
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(srt) {
|
|
48
46
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
49
47
|
while (1) switch (_context.prev = _context.next) {
|
|
50
48
|
case 0:
|
|
@@ -80,10 +78,13 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
80
78
|
return _context.stop();
|
|
81
79
|
}
|
|
82
80
|
}, _callee);
|
|
83
|
-
}))
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
}));
|
|
82
|
+
return function (_x) {
|
|
83
|
+
return _ref.apply(this, arguments);
|
|
84
|
+
};
|
|
85
|
+
}());
|
|
86
|
+
_this.event_add("on_archive", "on_archive-sendmsg", /*#__PURE__*/function () {
|
|
87
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(srType) {
|
|
87
88
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
88
89
|
while (1) switch (_context2.prev = _context2.next) {
|
|
89
90
|
case 0:
|
|
@@ -111,10 +112,13 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
111
112
|
return _context2.stop();
|
|
112
113
|
}
|
|
113
114
|
}, _callee2);
|
|
114
|
-
}))
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
}));
|
|
116
|
+
return function (_x2) {
|
|
117
|
+
return _ref2.apply(this, arguments);
|
|
118
|
+
};
|
|
119
|
+
}());
|
|
120
|
+
_this.event_add("on_unarchive", "on_unarchive-sendmsg", /*#__PURE__*/function () {
|
|
121
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(srType) {
|
|
118
122
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
119
123
|
while (1) switch (_context3.prev = _context3.next) {
|
|
120
124
|
case 0:
|
|
@@ -142,10 +146,13 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
142
146
|
return _context3.stop();
|
|
143
147
|
}
|
|
144
148
|
}, _callee3);
|
|
145
|
-
}))
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
}));
|
|
150
|
+
return function (_x3) {
|
|
151
|
+
return _ref3.apply(this, arguments);
|
|
152
|
+
};
|
|
153
|
+
}());
|
|
154
|
+
_this.event_add("on_delete", "on_delete-sendmsg", /*#__PURE__*/function () {
|
|
155
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(srType) {
|
|
149
156
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
150
157
|
while (1) switch (_context4.prev = _context4.next) {
|
|
151
158
|
case 0:
|
|
@@ -173,8 +180,11 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
173
180
|
return _context4.stop();
|
|
174
181
|
}
|
|
175
182
|
}, _callee4);
|
|
176
|
-
}))
|
|
177
|
-
|
|
183
|
+
}));
|
|
184
|
+
return function (_x4) {
|
|
185
|
+
return _ref4.apply(this, arguments);
|
|
186
|
+
};
|
|
187
|
+
}());
|
|
178
188
|
}
|
|
179
189
|
return _this;
|
|
180
190
|
}
|
|
@@ -202,8 +212,8 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
202
212
|
*/
|
|
203
213
|
}, {
|
|
204
214
|
key: "setMetaValue",
|
|
205
|
-
value: function
|
|
206
|
-
|
|
215
|
+
value: (function () {
|
|
216
|
+
var _setMetaValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(key, value) {
|
|
207
217
|
var _this$obj;
|
|
208
218
|
var sendChange,
|
|
209
219
|
_args5 = arguments;
|
|
@@ -220,8 +230,12 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
220
230
|
return _context5.stop();
|
|
221
231
|
}
|
|
222
232
|
}, _callee5, this);
|
|
223
|
-
}))
|
|
224
|
-
|
|
233
|
+
}));
|
|
234
|
+
function setMetaValue(_x5, _x6) {
|
|
235
|
+
return _setMetaValue.apply(this, arguments);
|
|
236
|
+
}
|
|
237
|
+
return setMetaValue;
|
|
238
|
+
}())
|
|
225
239
|
}, {
|
|
226
240
|
key: "getMetaValue",
|
|
227
241
|
value: function getMetaValue(key) {
|
|
@@ -231,8 +245,8 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
231
245
|
/* -------------------------------------------------------------------------- */
|
|
232
246
|
}, {
|
|
233
247
|
key: "get_deltaObject",
|
|
234
|
-
value: function
|
|
235
|
-
|
|
248
|
+
value: (function () {
|
|
249
|
+
var _get_deltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
236
250
|
var _this$obj3;
|
|
237
251
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
238
252
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -253,12 +267,16 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
253
267
|
return _context6.stop();
|
|
254
268
|
}
|
|
255
269
|
}, _callee6, this);
|
|
256
|
-
}))
|
|
257
|
-
|
|
270
|
+
}));
|
|
271
|
+
function get_deltaObject() {
|
|
272
|
+
return _get_deltaObject.apply(this, arguments);
|
|
273
|
+
}
|
|
274
|
+
return get_deltaObject;
|
|
275
|
+
}() /* ------------------------------ save and load ----------------------------- */)
|
|
258
276
|
}, {
|
|
259
277
|
key: "Save",
|
|
260
|
-
value: function
|
|
261
|
-
|
|
278
|
+
value: (function () {
|
|
279
|
+
var _Save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
262
280
|
var _this$obj4;
|
|
263
281
|
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
264
282
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -279,12 +297,16 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
279
297
|
return _context7.stop();
|
|
280
298
|
}
|
|
281
299
|
}, _callee7, this);
|
|
282
|
-
}))
|
|
283
|
-
|
|
300
|
+
}));
|
|
301
|
+
function Save() {
|
|
302
|
+
return _Save.apply(this, arguments);
|
|
303
|
+
}
|
|
304
|
+
return Save;
|
|
305
|
+
}())
|
|
284
306
|
}, {
|
|
285
307
|
key: "Load",
|
|
286
|
-
value: function
|
|
287
|
-
|
|
308
|
+
value: function () {
|
|
309
|
+
var _Load = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(search) {
|
|
288
310
|
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
289
311
|
while (1) switch (_context8.prev = _context8.next) {
|
|
290
312
|
case 0:
|
|
@@ -294,8 +316,12 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
294
316
|
return _context8.stop();
|
|
295
317
|
}
|
|
296
318
|
}, _callee8);
|
|
297
|
-
}))
|
|
298
|
-
|
|
319
|
+
}));
|
|
320
|
+
function Load(_x7) {
|
|
321
|
+
return _Load.apply(this, arguments);
|
|
322
|
+
}
|
|
323
|
+
return Load;
|
|
324
|
+
}()
|
|
299
325
|
/* -------------------------------------------------------------------------- */
|
|
300
326
|
/* Child Functions */
|
|
301
327
|
/* -------------------------------------------------------------------------- */
|
|
@@ -328,8 +354,8 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
328
354
|
*/
|
|
329
355
|
}, {
|
|
330
356
|
key: "onNew",
|
|
331
|
-
value: function
|
|
332
|
-
|
|
357
|
+
value: (function () {
|
|
358
|
+
var _onNew = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
333
359
|
var _this$obj9;
|
|
334
360
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
335
361
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -355,17 +381,22 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
355
381
|
return _context9.stop();
|
|
356
382
|
}
|
|
357
383
|
}, _callee9, this);
|
|
358
|
-
}))
|
|
359
|
-
|
|
384
|
+
}));
|
|
385
|
+
function onNew() {
|
|
386
|
+
return _onNew.apply(this, arguments);
|
|
387
|
+
}
|
|
388
|
+
return onNew;
|
|
389
|
+
}()
|
|
360
390
|
/**
|
|
361
391
|
* Use this when you delete Object
|
|
362
392
|
* @param p
|
|
363
393
|
* @returns
|
|
364
394
|
*/
|
|
395
|
+
)
|
|
365
396
|
}, {
|
|
366
397
|
key: "onDelete",
|
|
367
|
-
value: function
|
|
368
|
-
|
|
398
|
+
value: (function () {
|
|
399
|
+
var _onDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
369
400
|
var srt;
|
|
370
401
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
371
402
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -383,12 +414,16 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
383
414
|
return _context10.stop();
|
|
384
415
|
}
|
|
385
416
|
}, _callee10, this);
|
|
386
|
-
}))
|
|
387
|
-
|
|
417
|
+
}));
|
|
418
|
+
function onDelete() {
|
|
419
|
+
return _onDelete.apply(this, arguments);
|
|
420
|
+
}
|
|
421
|
+
return onDelete;
|
|
422
|
+
}())
|
|
388
423
|
}, {
|
|
389
424
|
key: "onArchive",
|
|
390
|
-
value: function
|
|
391
|
-
|
|
425
|
+
value: function () {
|
|
426
|
+
var _onArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
|
392
427
|
var srt;
|
|
393
428
|
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
394
429
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -406,12 +441,16 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
406
441
|
return _context11.stop();
|
|
407
442
|
}
|
|
408
443
|
}, _callee11, this);
|
|
409
|
-
}))
|
|
410
|
-
|
|
444
|
+
}));
|
|
445
|
+
function onArchive() {
|
|
446
|
+
return _onArchive.apply(this, arguments);
|
|
447
|
+
}
|
|
448
|
+
return onArchive;
|
|
449
|
+
}()
|
|
411
450
|
}, {
|
|
412
451
|
key: "onUnArchive",
|
|
413
|
-
value: function
|
|
414
|
-
|
|
452
|
+
value: function () {
|
|
453
|
+
var _onUnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
|
|
415
454
|
var srt;
|
|
416
455
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
417
456
|
while (1) switch (_context12.prev = _context12.next) {
|
|
@@ -429,8 +468,12 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
429
468
|
return _context12.stop();
|
|
430
469
|
}
|
|
431
470
|
}, _callee12, this);
|
|
432
|
-
}))
|
|
433
|
-
|
|
471
|
+
}));
|
|
472
|
+
function onUnArchive() {
|
|
473
|
+
return _onUnArchive.apply(this, arguments);
|
|
474
|
+
}
|
|
475
|
+
return onUnArchive;
|
|
476
|
+
}()
|
|
434
477
|
/**
|
|
435
478
|
* Use this when you load data to the object
|
|
436
479
|
* @param p
|
|
@@ -438,8 +481,8 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
438
481
|
*/
|
|
439
482
|
}, {
|
|
440
483
|
key: "onLoad",
|
|
441
|
-
value: function
|
|
442
|
-
|
|
484
|
+
value: (function () {
|
|
485
|
+
var _onLoad = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
|
|
443
486
|
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
444
487
|
while (1) switch (_context13.prev = _context13.next) {
|
|
445
488
|
case 0:
|
|
@@ -465,17 +508,22 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
465
508
|
return _context13.stop();
|
|
466
509
|
}
|
|
467
510
|
}, _callee13, this);
|
|
468
|
-
}))
|
|
469
|
-
|
|
511
|
+
}));
|
|
512
|
+
function onLoad() {
|
|
513
|
+
return _onLoad.apply(this, arguments);
|
|
514
|
+
}
|
|
515
|
+
return onLoad;
|
|
516
|
+
}()
|
|
470
517
|
/**
|
|
471
518
|
* Use this after succesful save to Database
|
|
472
519
|
* @param p
|
|
473
520
|
* @returns
|
|
474
521
|
*/
|
|
522
|
+
)
|
|
475
523
|
}, {
|
|
476
524
|
key: "onSave",
|
|
477
|
-
value: function
|
|
478
|
-
|
|
525
|
+
value: (function () {
|
|
526
|
+
var _onSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
|
|
479
527
|
var srt;
|
|
480
528
|
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
|
481
529
|
while (1) switch (_context14.prev = _context14.next) {
|
|
@@ -496,12 +544,16 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
496
544
|
return _context14.stop();
|
|
497
545
|
}
|
|
498
546
|
}, _callee14, this);
|
|
499
|
-
}))
|
|
500
|
-
|
|
547
|
+
}));
|
|
548
|
+
function onSave() {
|
|
549
|
+
return _onSave.apply(this, arguments);
|
|
550
|
+
}
|
|
551
|
+
return onSave;
|
|
552
|
+
}())
|
|
501
553
|
}, {
|
|
502
554
|
key: "onAfterSave",
|
|
503
|
-
value: function
|
|
504
|
-
|
|
555
|
+
value: function () {
|
|
556
|
+
var _onAfterSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
|
|
505
557
|
var srt;
|
|
506
558
|
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
|
507
559
|
while (1) switch (_context15.prev = _context15.next) {
|
|
@@ -522,13 +574,15 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
522
574
|
return _context15.stop();
|
|
523
575
|
}
|
|
524
576
|
}, _callee15, this);
|
|
525
|
-
}))
|
|
526
|
-
|
|
577
|
+
}));
|
|
578
|
+
function onAfterSave() {
|
|
579
|
+
return _onAfterSave.apply(this, arguments);
|
|
580
|
+
}
|
|
581
|
+
return onAfterSave;
|
|
582
|
+
}()
|
|
527
583
|
}]);
|
|
528
584
|
return WebObjectManager;
|
|
529
585
|
}(_ObjectManager2["default"]);
|
|
530
|
-
exports.WebObjectManager = WebObjectManager;
|
|
531
586
|
_defineProperty(WebObjectManager, "__object_type", void 0);
|
|
532
587
|
_defineProperty(WebObjectManager, "__save_message", true);
|
|
533
|
-
var _default = WebObjectManager;
|
|
534
|
-
exports["default"] = _default;
|
|
588
|
+
var _default = exports["default"] = WebObjectManager;
|
|
@@ -8,28 +8,25 @@ exports["default"] = exports.DummyObject = void 0;
|
|
|
8
8
|
var _SimpleObject2 = require("./SimpleObject");
|
|
9
9
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10
10
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11
|
-
function _toPropertyKey(
|
|
12
|
-
function _toPrimitive(
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
|
-
function
|
|
15
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
14
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17
15
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
18
16
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19
|
-
function _isNativeReflectConstruct() {
|
|
17
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20
18
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
21
|
-
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
20
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21
|
+
var DummyObject = exports.DummyObject = /*#__PURE__*/function (_SimpleObject) {
|
|
22
22
|
_inherits(DummyObject, _SimpleObject);
|
|
23
|
-
var _super = _createSuper(DummyObject);
|
|
24
23
|
function DummyObject(initObject) {
|
|
25
24
|
var _this;
|
|
26
25
|
_classCallCheck(this, DummyObject);
|
|
27
|
-
_this =
|
|
26
|
+
_this = _callSuper(this, DummyObject, [false]);
|
|
28
27
|
_this.loadValues(initObject, true);
|
|
29
28
|
return _this;
|
|
30
29
|
}
|
|
31
30
|
return _createClass(DummyObject);
|
|
32
31
|
}(_SimpleObject2.SimpleObject);
|
|
33
|
-
exports
|
|
34
|
-
var _default = DummyObject;
|
|
35
|
-
exports["default"] = _default;
|
|
32
|
+
var _default = exports["default"] = DummyObject;
|
|
@@ -14,26 +14,25 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function
|
|
18
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
19
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20
18
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
21
|
-
function
|
|
22
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
19
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
23
20
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
21
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
24
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
-
function _toPropertyKey(
|
|
26
|
-
function _toPrimitive(
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
26
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
27
27
|
/**
|
|
28
28
|
* This object can be mapped and converted
|
|
29
29
|
*/
|
|
30
|
-
var MapableObject = /*#__PURE__*/function (_ObjectWithTemp) {
|
|
30
|
+
var MapableObject = exports.MapableObject = /*#__PURE__*/function (_ObjectWithTemp) {
|
|
31
31
|
_inherits(MapableObject, _ObjectWithTemp);
|
|
32
|
-
var _super = _createSuper(MapableObject);
|
|
33
32
|
function MapableObject() {
|
|
34
33
|
var _this;
|
|
35
34
|
_classCallCheck(this, MapableObject);
|
|
36
|
-
_this =
|
|
35
|
+
_this = _callSuper(this, MapableObject);
|
|
37
36
|
_defineProperty(_assertThisInitialized(_this), "__uid", void 0);
|
|
38
37
|
_defineProperty(_assertThisInitialized(_this), "__data_id", void 0);
|
|
39
38
|
_defineProperty(_assertThisInitialized(_this), "__table_id", void 0);
|
|
@@ -123,6 +122,4 @@ var MapableObject = /*#__PURE__*/function (_ObjectWithTemp) {
|
|
|
123
122
|
}]);
|
|
124
123
|
return MapableObject;
|
|
125
124
|
}(_ObjectWithTemp2["default"]);
|
|
126
|
-
exports
|
|
127
|
-
var _default = MapableObject;
|
|
128
|
-
exports["default"] = _default;
|
|
125
|
+
var _default = exports["default"] = MapableObject;
|
|
@@ -14,23 +14,22 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function
|
|
18
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
19
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20
18
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
21
|
-
function
|
|
22
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
19
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
23
20
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
21
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
24
24
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25
|
-
function _toPropertyKey(
|
|
26
|
-
function _toPrimitive(
|
|
27
|
-
var MetaObject = /*#__PURE__*/function (_SimpleObject
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
26
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
27
|
+
var MetaObject = exports.MetaObject = /*#__PURE__*/function (_SimpleObject) {
|
|
28
28
|
_inherits(MetaObject, _SimpleObject);
|
|
29
|
-
var _super = _createSuper(MetaObject);
|
|
30
29
|
function MetaObject(initObject, value) {
|
|
31
30
|
var _this;
|
|
32
31
|
_classCallCheck(this, MetaObject);
|
|
33
|
-
_this =
|
|
32
|
+
_this = _callSuper(this, MetaObject, [false]);
|
|
34
33
|
_defineProperty(_assertThisInitialized(_this), "id", void 0);
|
|
35
34
|
_defineProperty(_assertThisInitialized(_this), "key", "");
|
|
36
35
|
_defineProperty(_assertThisInitialized(_this), "value", void 0);
|
|
@@ -47,8 +46,8 @@ var MetaObject = /*#__PURE__*/function (_SimpleObject, _get_saveObject, _Prepare
|
|
|
47
46
|
}
|
|
48
47
|
_createClass(MetaObject, [{
|
|
49
48
|
key: "get_saveObject",
|
|
50
|
-
value: function
|
|
51
|
-
|
|
49
|
+
value: function () {
|
|
50
|
+
var _get_saveObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
52
51
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
53
52
|
while (1) switch (_context.prev = _context.next) {
|
|
54
53
|
case 0:
|
|
@@ -61,12 +60,16 @@ var MetaObject = /*#__PURE__*/function (_SimpleObject, _get_saveObject, _Prepare
|
|
|
61
60
|
return _context.stop();
|
|
62
61
|
}
|
|
63
62
|
}, _callee, this);
|
|
64
|
-
}))
|
|
65
|
-
|
|
63
|
+
}));
|
|
64
|
+
function get_saveObject() {
|
|
65
|
+
return _get_saveObject.apply(this, arguments);
|
|
66
|
+
}
|
|
67
|
+
return get_saveObject;
|
|
68
|
+
}()
|
|
66
69
|
}, {
|
|
67
70
|
key: "Prepare",
|
|
68
|
-
value: function
|
|
69
|
-
|
|
71
|
+
value: function () {
|
|
72
|
+
var _Prepare = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
70
73
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
71
74
|
while (1) switch (_context2.prev = _context2.next) {
|
|
72
75
|
case 0:
|
|
@@ -80,8 +83,12 @@ var MetaObject = /*#__PURE__*/function (_SimpleObject, _get_saveObject, _Prepare
|
|
|
80
83
|
return _context2.stop();
|
|
81
84
|
}
|
|
82
85
|
}, _callee2, this);
|
|
83
|
-
}))
|
|
84
|
-
|
|
86
|
+
}));
|
|
87
|
+
function Prepare() {
|
|
88
|
+
return _Prepare.apply(this, arguments);
|
|
89
|
+
}
|
|
90
|
+
return Prepare;
|
|
91
|
+
}()
|
|
85
92
|
}, {
|
|
86
93
|
key: "isNew",
|
|
87
94
|
get: function get() {
|
|
@@ -94,8 +101,8 @@ var MetaObject = /*#__PURE__*/function (_SimpleObject, _get_saveObject, _Prepare
|
|
|
94
101
|
}
|
|
95
102
|
}], [{
|
|
96
103
|
key: "get_saveObject",
|
|
97
|
-
value: function
|
|
98
|
-
|
|
104
|
+
value: function () {
|
|
105
|
+
var _get_saveObject2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(obj) {
|
|
99
106
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
100
107
|
while (1) switch (_context3.prev = _context3.next) {
|
|
101
108
|
case 0:
|
|
@@ -103,11 +110,13 @@ var MetaObject = /*#__PURE__*/function (_SimpleObject, _get_saveObject, _Prepare
|
|
|
103
110
|
return _context3.stop();
|
|
104
111
|
}
|
|
105
112
|
}, _callee3);
|
|
106
|
-
}))
|
|
107
|
-
|
|
113
|
+
}));
|
|
114
|
+
function get_saveObject(_x) {
|
|
115
|
+
return _get_saveObject2.apply(this, arguments);
|
|
116
|
+
}
|
|
117
|
+
return get_saveObject;
|
|
118
|
+
}()
|
|
108
119
|
}]);
|
|
109
120
|
return MetaObject;
|
|
110
121
|
}(_SimpleObject2["default"]);
|
|
111
|
-
exports
|
|
112
|
-
var _default = MetaObject;
|
|
113
|
-
exports["default"] = _default;
|
|
122
|
+
var _default = exports["default"] = MetaObject;
|
|
@@ -9,9 +9,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
9
9
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10
10
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11
11
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
var ObjectArray = /*#__PURE__*/function () {
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14
|
+
var ObjectArray = exports.ObjectArray = /*#__PURE__*/function () {
|
|
15
15
|
/* -------------------------------------------------------------------------- */
|
|
16
16
|
/* Base */
|
|
17
17
|
/* -------------------------------------------------------------------------- */
|
|
@@ -66,6 +66,4 @@ var ObjectArray = /*#__PURE__*/function () {
|
|
|
66
66
|
}]);
|
|
67
67
|
return ObjectArray;
|
|
68
68
|
}();
|
|
69
|
-
exports
|
|
70
|
-
var _default = ObjectArray;
|
|
71
|
-
exports["default"] = _default;
|
|
69
|
+
var _default = exports["default"] = ObjectArray;
|