@azrico/webobject 1.5.57 → 1.5.59

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.
@@ -28,7 +28,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
28
28
  function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
29
29
  function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
30
30
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
31
- function _superPropGet(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
31
+ function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
32
32
  function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
33
33
  function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
34
34
  function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
@@ -84,7 +84,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
84
84
  * @returns
85
85
  */
86
86
  function () {
87
- var _setMetaValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(key, value) {
87
+ var _setMetaValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(key, value) {
88
88
  var sendChange,
89
89
  old_value,
90
90
  new_metalist,
@@ -169,7 +169,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
169
169
  }, {
170
170
  key: "Save",
171
171
  value: function () {
172
- var _Save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
172
+ var _Save = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
173
173
  var deltaObject, putAction, usepath, canSaveResult, resultObject;
174
174
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
175
175
  while (1) switch (_context2.prev = _context2.next) {
@@ -253,7 +253,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
253
253
  }, {
254
254
  key: "Delete",
255
255
  value: function () {
256
- var _Delete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
256
+ var _Delete = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
257
257
  var usepath, resultObject;
258
258
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
259
259
  while (1) switch (_context3.prev = _context3.next) {
@@ -291,7 +291,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
291
291
  }, {
292
292
  key: "Lock",
293
293
  value: function () {
294
- var _Lock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
294
+ var _Lock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
295
295
  var usepath, resultObject;
296
296
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
297
297
  while (1) switch (_context4.prev = _context4.next) {
@@ -329,7 +329,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
329
329
  }, {
330
330
  key: "UnLock",
331
331
  value: function () {
332
- var _UnLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
332
+ var _UnLock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
333
333
  var usepath, resultObject;
334
334
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
335
335
  while (1) switch (_context5.prev = _context5.next) {
@@ -367,7 +367,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
367
367
  }, {
368
368
  key: "Archive",
369
369
  value: function () {
370
- var _Archive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
370
+ var _Archive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
371
371
  var usepath, resultObject;
372
372
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
373
373
  while (1) switch (_context6.prev = _context6.next) {
@@ -405,7 +405,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
405
405
  }, {
406
406
  key: "UnArchive",
407
407
  value: function () {
408
- var _UnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
408
+ var _UnArchive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
409
409
  var usepath, resultObject;
410
410
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
411
411
  while (1) switch (_context7.prev = _context7.next) {
@@ -475,7 +475,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
475
475
  }, {
476
476
  key: "get_basicObject",
477
477
  value: (function () {
478
- var _get_basicObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
478
+ var _get_basicObject = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
479
479
  var fullobject, key, element;
480
480
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
481
481
  while (1) switch (_context8.prev = _context8.next) {
@@ -518,7 +518,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
518
518
  }, {
519
519
  key: "get_fullDeltaObject",
520
520
  value: (function () {
521
- var _get_fullDeltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(p) {
521
+ var _get_fullDeltaObject = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(p) {
522
522
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
523
523
  while (1) switch (_context9.prev = _context9.next) {
524
524
  case 0:
@@ -551,7 +551,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
551
551
  }, {
552
552
  key: "get_fullObject",
553
553
  value: (function () {
554
- var _get_fullObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(p) {
554
+ var _get_fullObject = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(p) {
555
555
  return _regeneratorRuntime().wrap(function _callee10$(_context10) {
556
556
  while (1) switch (_context10.prev = _context10.next) {
557
557
  case 0:
@@ -583,13 +583,13 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
583
583
  }, {
584
584
  key: "get_deltaObject",
585
585
  value: (function () {
586
- var _get_deltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(p) {
586
+ var _get_deltaObject = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(p) {
587
587
  var final_object, useDelta, changedFields, key, changeableKeys, functionProps, index, fp, parseObj, _parseObj, _iterator, _step, _key, gotIndex, gotId, tempusers;
588
588
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
589
589
  while (1) switch (_context13.prev = _context13.next) {
590
590
  case 0:
591
591
  _parseObj = function _parseObj3() {
592
- _parseObj = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(key, obj) {
592
+ _parseObj = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(key, obj) {
593
593
  var _p, _child_changeableKeys, keydot, child_changeableKeys, newobj_dlt;
594
594
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
595
595
  while (1) switch (_context12.prev = _context12.next) {
@@ -605,8 +605,8 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
605
605
  break;
606
606
  }
607
607
  _context12.next = 5;
608
- return Promise.all(obj.map( /*#__PURE__*/function () {
609
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(r, i) {
608
+ return Promise.all(obj.map(/*#__PURE__*/function () {
609
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(r, i) {
610
610
  return _regeneratorRuntime().wrap(function _callee11$(_context11) {
611
611
  while (1) switch (_context11.prev = _context11.next) {
612
612
  case 0:
@@ -828,8 +828,8 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
828
828
  }
829
829
  }, {
830
830
  key: "onDelete",
831
- value: ( /* -------------------------------------------------------------------------- */function () {
832
- var _onDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
831
+ value: (/* -------------------------------------------------------------------------- */function () {
832
+ var _onDelete = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
833
833
  var _this$manager;
834
834
  var _len,
835
835
  p,
@@ -860,7 +860,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
860
860
  }, {
861
861
  key: "onArchive",
862
862
  value: function () {
863
- var _onArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
863
+ var _onArchive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
864
864
  var _this$manager2;
865
865
  var _len2,
866
866
  p,
@@ -891,7 +891,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
891
891
  }, {
892
892
  key: "onUnArchive",
893
893
  value: function () {
894
- var _onUnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
894
+ var _onUnArchive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
895
895
  var _this$manager3;
896
896
  var _len3,
897
897
  p,
@@ -922,7 +922,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
922
922
  }, {
923
923
  key: "onLock",
924
924
  value: function () {
925
- var _onLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
925
+ var _onLock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
926
926
  var _this$manager4;
927
927
  var _len4,
928
928
  p,
@@ -953,7 +953,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
953
953
  }, {
954
954
  key: "onUnLock",
955
955
  value: function () {
956
- var _onUnLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
956
+ var _onUnLock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
957
957
  var _this$manager5;
958
958
  var _len5,
959
959
  p,
@@ -984,7 +984,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
984
984
  }, {
985
985
  key: "onLoad",
986
986
  value: function () {
987
- var _onLoad = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
987
+ var _onLoad = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
988
988
  var _this$manager6;
989
989
  var _len6,
990
990
  p,
@@ -1015,7 +1015,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1015
1015
  }, {
1016
1016
  key: "onSave",
1017
1017
  value: function () {
1018
- var _onSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
1018
+ var _onSave = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
1019
1019
  var _this$manager8;
1020
1020
  var srObject,
1021
1021
  _this$manager7,
@@ -1065,7 +1065,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1065
1065
  }, {
1066
1066
  key: "onAfterSave",
1067
1067
  value: function () {
1068
- var _onAfterSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
1068
+ var _onAfterSave = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
1069
1069
  var _this$manager9;
1070
1070
  var _len8,
1071
1071
  p,
@@ -1110,7 +1110,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1110
1110
  }, {
1111
1111
  key: "onNew",
1112
1112
  value: function () {
1113
- var _onNew = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
1113
+ var _onNew = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
1114
1114
  var _this$manager10;
1115
1115
  var _len9,
1116
1116
  p,
@@ -1186,7 +1186,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1186
1186
  }, {
1187
1187
  key: "saveList",
1188
1188
  value: function () {
1189
- var _saveList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(itemList) {
1189
+ var _saveList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee23(itemList) {
1190
1190
  var _extraOptions$chunksi;
1191
1191
  var extraOptions,
1192
1192
  chunks,
@@ -1352,7 +1352,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1352
1352
  }, {
1353
1353
  key: "get_single",
1354
1354
  value: (function () {
1355
- var _get_single = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
1355
+ var _get_single = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
1356
1356
  var _p$shift;
1357
1357
  var _len10,
1358
1358
  p,
@@ -1431,7 +1431,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1431
1431
  }, {
1432
1432
  key: "get_list",
1433
1433
  value: (function () {
1434
- var _get_list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
1434
+ var _get_list = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
1435
1435
  var _p$shift2;
1436
1436
  var _len11,
1437
1437
  p,
@@ -1489,14 +1489,14 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1489
1489
  }, {
1490
1490
  key: "get_list_cache",
1491
1491
  value: (function () {
1492
- var _get_list_cache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(search) {
1492
+ var _get_list_cache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee27(search) {
1493
1493
  var _this3 = this;
1494
1494
  var all_data;
1495
1495
  return _regeneratorRuntime().wrap(function _callee27$(_context27) {
1496
1496
  while (1) switch (_context27.prev = _context27.next) {
1497
1497
  case 0:
1498
1498
  _context27.next = 2;
1499
- return _global.gcache.get_temp_cache(this.get_webpath(), /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
1499
+ return _global.gcache.get_temp_cache(this.get_webpath(), /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
1500
1500
  return _regeneratorRuntime().wrap(function _callee26$(_context26) {
1501
1501
  while (1) switch (_context26.prev = _context26.next) {
1502
1502
  case 0:
@@ -1541,7 +1541,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1541
1541
  }, {
1542
1542
  key: "get_single_cache",
1543
1543
  value: (function () {
1544
- var _get_single_cache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(search) {
1544
+ var _get_single_cache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee28(search) {
1545
1545
  var _this4 = this;
1546
1546
  return _regeneratorRuntime().wrap(function _callee28$(_context28) {
1547
1547
  while (1) switch (_context28.prev = _context28.next) {
@@ -1572,7 +1572,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1572
1572
  }, {
1573
1573
  key: "get_basicList",
1574
1574
  value: (function () {
1575
- var _get_basicList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
1575
+ var _get_basicList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
1576
1576
  var itemlist,
1577
1577
  _args30 = arguments;
1578
1578
  return _regeneratorRuntime().wrap(function _callee30$(_context30) {
@@ -1583,8 +1583,8 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1583
1583
  case 2:
1584
1584
  itemlist = _context30.sent;
1585
1585
  _context30.next = 5;
1586
- return Promise.all(itemlist.map( /*#__PURE__*/function () {
1587
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29(r) {
1586
+ return Promise.all(itemlist.map(/*#__PURE__*/function () {
1587
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee29(r) {
1588
1588
  return _regeneratorRuntime().wrap(function _callee29$(_context29) {
1589
1589
  while (1) switch (_context29.prev = _context29.next) {
1590
1590
  case 0:
@@ -20,7 +20,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
20
20
  function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
21
21
  function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
22
22
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
23
- function _superPropGet(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
23
+ function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
24
24
  function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
25
25
  function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
26
26
  function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
@@ -41,7 +41,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
41
41
  if (_this.constructor["__save_message"]) {
42
42
  /* ---------------- should we display a message after saving ? -------------- */
43
43
  _this.event_add("on_save", "on_save-sendmsg", /*#__PURE__*/function () {
44
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(srt) {
44
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(srt) {
45
45
  return _regeneratorRuntime().wrap(function _callee$(_context) {
46
46
  while (1) switch (_context.prev = _context.next) {
47
47
  case 0:
@@ -83,7 +83,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
83
83
  };
84
84
  }());
85
85
  _this.event_add("on_archive", "on_archive-sendmsg", /*#__PURE__*/function () {
86
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(srType) {
86
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(srType) {
87
87
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
88
88
  while (1) switch (_context2.prev = _context2.next) {
89
89
  case 0:
@@ -117,7 +117,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
117
117
  };
118
118
  }());
119
119
  _this.event_add("on_unarchive", "on_unarchive-sendmsg", /*#__PURE__*/function () {
120
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(srType) {
120
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(srType) {
121
121
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
122
122
  while (1) switch (_context3.prev = _context3.next) {
123
123
  case 0:
@@ -151,7 +151,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
151
151
  };
152
152
  }());
153
153
  _this.event_add("on_delete", "on_delete-sendmsg", /*#__PURE__*/function () {
154
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(srType) {
154
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(srType) {
155
155
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
156
156
  while (1) switch (_context4.prev = _context4.next) {
157
157
  case 0:
@@ -217,7 +217,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
217
217
  }, {
218
218
  key: "setMetaValue",
219
219
  value: (function () {
220
- var _setMetaValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(key, value) {
220
+ var _setMetaValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(key, value) {
221
221
  var _this$obj;
222
222
  var sendChange,
223
223
  _args5 = arguments;
@@ -250,7 +250,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
250
250
  }, {
251
251
  key: "get_deltaObject",
252
252
  value: (function () {
253
- var _get_deltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
253
+ var _get_deltaObject = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
254
254
  var _this$obj3;
255
255
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
256
256
  while (1) switch (_context6.prev = _context6.next) {
@@ -280,7 +280,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
280
280
  }, {
281
281
  key: "Save",
282
282
  value: (function () {
283
- var _Save = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
283
+ var _Save = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
284
284
  var _this$obj4;
285
285
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
286
286
  while (1) switch (_context7.prev = _context7.next) {
@@ -310,7 +310,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
310
310
  }, {
311
311
  key: "New",
312
312
  value: function () {
313
- var _New = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
313
+ var _New = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
314
314
  var cls;
315
315
  return _regeneratorRuntime().wrap(function _callee8$(_context8) {
316
316
  while (1) switch (_context8.prev = _context8.next) {
@@ -333,7 +333,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
333
333
  }, {
334
334
  key: "Delete",
335
335
  value: function () {
336
- var _Delete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
336
+ var _Delete = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
337
337
  var _this$obj5;
338
338
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
339
339
  while (1) switch (_context9.prev = _context9.next) {
@@ -363,7 +363,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
363
363
  }, {
364
364
  key: "Lock",
365
365
  value: function () {
366
- var _Lock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
366
+ var _Lock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
367
367
  var _this$obj6;
368
368
  return _regeneratorRuntime().wrap(function _callee10$(_context10) {
369
369
  while (1) switch (_context10.prev = _context10.next) {
@@ -393,7 +393,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
393
393
  }, {
394
394
  key: "UnLock",
395
395
  value: function () {
396
- var _UnLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
396
+ var _UnLock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
397
397
  var _this$obj7;
398
398
  return _regeneratorRuntime().wrap(function _callee11$(_context11) {
399
399
  while (1) switch (_context11.prev = _context11.next) {
@@ -423,7 +423,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
423
423
  }, {
424
424
  key: "Archive",
425
425
  value: function () {
426
- var _Archive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
426
+ var _Archive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
427
427
  var _this$obj8;
428
428
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
429
429
  while (1) switch (_context12.prev = _context12.next) {
@@ -453,7 +453,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
453
453
  }, {
454
454
  key: "UnArchive",
455
455
  value: function () {
456
- var _UnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
456
+ var _UnArchive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
457
457
  var _this$obj9;
458
458
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
459
459
  while (1) switch (_context13.prev = _context13.next) {
@@ -483,7 +483,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
483
483
  }, {
484
484
  key: "Load",
485
485
  value: (function () {
486
- var _Load = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(id) {
486
+ var _Load = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14(id) {
487
487
  var classType, result_product;
488
488
  return _regeneratorRuntime().wrap(function _callee14$(_context14) {
489
489
  while (1) switch (_context14.prev = _context14.next) {
@@ -581,7 +581,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
581
581
  }, {
582
582
  key: "onDelete",
583
583
  value: (function () {
584
- var _onDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
584
+ var _onDelete = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
585
585
  var srt;
586
586
  return _regeneratorRuntime().wrap(function _callee15$(_context15) {
587
587
  while (1) switch (_context15.prev = _context15.next) {
@@ -608,7 +608,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
608
608
  }, {
609
609
  key: "onArchive",
610
610
  value: function () {
611
- var _onArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
611
+ var _onArchive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
612
612
  var srt;
613
613
  return _regeneratorRuntime().wrap(function _callee16$(_context16) {
614
614
  while (1) switch (_context16.prev = _context16.next) {
@@ -635,7 +635,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
635
635
  }, {
636
636
  key: "onUnArchive",
637
637
  value: function () {
638
- var _onUnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
638
+ var _onUnArchive = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
639
639
  var srt;
640
640
  return _regeneratorRuntime().wrap(function _callee17$(_context17) {
641
641
  while (1) switch (_context17.prev = _context17.next) {
@@ -662,7 +662,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
662
662
  }, {
663
663
  key: "onLock",
664
664
  value: function () {
665
- var _onLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
665
+ var _onLock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
666
666
  var srt;
667
667
  return _regeneratorRuntime().wrap(function _callee18$(_context18) {
668
668
  while (1) switch (_context18.prev = _context18.next) {
@@ -689,7 +689,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
689
689
  }, {
690
690
  key: "onUnLock",
691
691
  value: function () {
692
- var _onUnLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
692
+ var _onUnLock = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
693
693
  var srt;
694
694
  return _regeneratorRuntime().wrap(function _callee19$(_context19) {
695
695
  while (1) switch (_context19.prev = _context19.next) {
@@ -721,7 +721,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
721
721
  }, {
722
722
  key: "onNew",
723
723
  value: (function () {
724
- var _onNew = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
724
+ var _onNew = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
725
725
  var _this$obj11;
726
726
  return _regeneratorRuntime().wrap(function _callee20$(_context20) {
727
727
  while (1) switch (_context20.prev = _context20.next) {
@@ -765,7 +765,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
765
765
  }, {
766
766
  key: "onLoad",
767
767
  value: (function () {
768
- var _onLoad = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
768
+ var _onLoad = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
769
769
  return _regeneratorRuntime().wrap(function _callee21$(_context21) {
770
770
  while (1) switch (_context21.prev = _context21.next) {
771
771
  case 0:
@@ -809,7 +809,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
809
809
  }, {
810
810
  key: "onSave",
811
811
  value: (function () {
812
- var _onSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
812
+ var _onSave = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
813
813
  var srt;
814
814
  return _regeneratorRuntime().wrap(function _callee22$(_context22) {
815
815
  while (1) switch (_context22.prev = _context22.next) {
@@ -842,7 +842,7 @@ var WebObjectManager = exports.WebObjectManager = /*#__PURE__*/function (_Object
842
842
  }, {
843
843
  key: "onAfterSave",
844
844
  value: function () {
845
- var _onAfterSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
845
+ var _onAfterSave = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
846
846
  var srt;
847
847
  return _regeneratorRuntime().wrap(function _callee23$(_context23) {
848
848
  while (1) switch (_context23.prev = _context23.next) {
@@ -30,7 +30,7 @@ var WebObjectPathHelper = exports.WebObjectPathHelper = /*#__PURE__*/function ()
30
30
  * @returns
31
31
  */
32
32
  function () {
33
- var _get_path = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(obj, action) {
33
+ var _get_path = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(obj, action) {
34
34
  var wn, wp, usepath;
35
35
  return _regeneratorRuntime().wrap(function _callee$(_context) {
36
36
  while (1) switch (_context.prev = _context.next) {
@@ -71,7 +71,7 @@ var WebObjectPathHelper = exports.WebObjectPathHelper = /*#__PURE__*/function ()
71
71
  }, {
72
72
  key: "clear_overrides",
73
73
  value: (function () {
74
- var _clear_overrides = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
74
+ var _clear_overrides = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
75
75
  var key;
76
76
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
77
77
  while (1) switch (_context2.prev = _context2.next) {
@@ -101,7 +101,7 @@ var WebObjectPathHelper = exports.WebObjectPathHelper = /*#__PURE__*/function ()
101
101
  }, {
102
102
  key: "override_path",
103
103
  value: (function () {
104
- var _override_path = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(obj, pn, override) {
104
+ var _override_path = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(obj, pn, override) {
105
105
  var wn;
106
106
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
107
107
  while (1) switch (_context3.prev = _context3.next) {
@@ -36,7 +36,7 @@ describe("WebObjectPathHelper", function () {
36
36
  wobj = new TestWebObject();
37
37
  wobj._id = "test";
38
38
  });
39
- it("get_path", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
39
+ it("get_path", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
40
40
  return _regeneratorRuntime().wrap(function _callee$(_context) {
41
41
  while (1) switch (_context.prev = _context.next) {
42
42
  case 0:
@@ -64,7 +64,7 @@ describe("WebObjectPathHelper", function () {
64
64
  }
65
65
  }, _callee);
66
66
  })));
67
- it("override_path", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
67
+ it("override_path", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
68
68
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
69
69
  while (1) switch (_context2.prev = _context2.next) {
70
70
  case 0:
@@ -98,7 +98,7 @@ describe("WebObjectPathHelper", function () {
98
98
  }
99
99
  }, _callee2);
100
100
  })));
101
- it("override_path with function", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
101
+ it("override_path with function", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
102
102
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
103
103
  while (1) switch (_context3.prev = _context3.next) {
104
104
  case 0:
@@ -47,7 +47,7 @@ var MetaObject = exports.MetaObject = /*#__PURE__*/function (_SimpleObject) {
47
47
  return _createClass(MetaObject, [{
48
48
  key: "get_saveObject",
49
49
  value: function () {
50
- var _get_saveObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
50
+ var _get_saveObject = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
51
51
  return _regeneratorRuntime().wrap(function _callee$(_context) {
52
52
  while (1) switch (_context.prev = _context.next) {
53
53
  case 0:
@@ -69,7 +69,7 @@ var MetaObject = exports.MetaObject = /*#__PURE__*/function (_SimpleObject) {
69
69
  }, {
70
70
  key: "Prepare",
71
71
  value: function () {
72
- var _Prepare = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
72
+ var _Prepare = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
73
73
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
74
74
  while (1) switch (_context2.prev = _context2.next) {
75
75
  case 0:
@@ -102,7 +102,7 @@ var MetaObject = exports.MetaObject = /*#__PURE__*/function (_SimpleObject) {
102
102
  }], [{
103
103
  key: "get_saveObject",
104
104
  value: function () {
105
- var _get_saveObject2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(obj) {
105
+ var _get_saveObject2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(obj) {
106
106
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
107
107
  while (1) switch (_context3.prev = _context3.next) {
108
108
  case 0:
@@ -22,7 +22,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
22
22
  function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
23
23
  function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
24
24
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
25
- function _superPropGet(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
25
+ function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
26
26
  function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
27
27
  function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
28
28
  function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
@@ -54,7 +54,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
54
54
  return _createClass(ObjectManager, [{
55
55
  key: "notifyChanged",
56
56
  value: function () {
57
- var _notifyChanged = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(type, key, value, subvalue) {
57
+ var _notifyChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(type, key, value, subvalue) {
58
58
  var obj, typestr;
59
59
  return _regeneratorRuntime().wrap(function _callee$(_context) {
60
60
  while (1) switch (_context.prev = _context.next) {
@@ -215,7 +215,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
215
215
  }, {
216
216
  key: "set",
217
217
  value: (function () {
218
- var _set = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(key, value) {
218
+ var _set = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(key, value) {
219
219
  var thisobj;
220
220
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
221
221
  while (1) switch (_context2.prev = _context2.next) {
@@ -261,7 +261,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
261
261
  }, {
262
262
  key: "setSubValue",
263
263
  value: (function () {
264
- var _setSubValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key, objKey, subvalue) {
264
+ var _setSubValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key, objKey, subvalue) {
265
265
  var _yield$this$obj$setSu, _this$obj8;
266
266
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
267
267
  while (1) switch (_context3.prev = _context3.next) {
@@ -303,7 +303,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
303
303
  }, {
304
304
  key: "pushValue",
305
305
  value: function () {
306
- var _pushValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(key, value) {
306
+ var _pushValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(key, value) {
307
307
  var _yield$this$obj$pushV, _this$obj9;
308
308
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
309
309
  while (1) switch (_context4.prev = _context4.next) {
@@ -344,7 +344,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
344
344
  }, {
345
345
  key: "setTemp",
346
346
  value: function () {
347
- var _setTemp = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(key, value) {
347
+ var _setTemp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(key, value) {
348
348
  var sendChanges,
349
349
  _args5 = arguments;
350
350
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
@@ -372,7 +372,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
372
372
  }, {
373
373
  key: "setObjectTemp",
374
374
  value: function () {
375
- var _setObjectTemp = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(key, value) {
375
+ var _setObjectTemp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(key, value) {
376
376
  var _yield$this$obj$setTe, _this$obj10;
377
377
  var sendChanges,
378
378
  _args6 = arguments;
@@ -444,7 +444,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
444
444
  }, {
445
445
  key: "event_run",
446
446
  value: (function () {
447
- var _event_run = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(eventName) {
447
+ var _event_run = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(eventName) {
448
448
  var _len,
449
449
  params,
450
450
  _key,
@@ -504,7 +504,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
504
504
  }, {
505
505
  key: "event_add",
506
506
  value: function () {
507
- var _event_add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(name, uname, runEvent) {
507
+ var _event_add = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8(name, uname, runEvent) {
508
508
  var onlyOn,
509
509
  runOnce,
510
510
  _args8 = arguments;
@@ -566,7 +566,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
566
566
  * @returns
567
567
  */
568
568
  function () {
569
- var _toggleOption = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(key, value) {
569
+ var _toggleOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(key, value) {
570
570
  var oldval;
571
571
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
572
572
  while (1) switch (_context9.prev = _context9.next) {
@@ -611,7 +611,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
611
611
  }, {
612
612
  key: "setOption",
613
613
  value: (function () {
614
- var _setOption = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(key, value) {
614
+ var _setOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(key, value) {
615
615
  var isChanged;
616
616
  return _regeneratorRuntime().wrap(function _callee10$(_context10) {
617
617
  while (1) switch (_context10.prev = _context10.next) {
@@ -664,7 +664,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
664
664
  }, {
665
665
  key: "holdOption",
666
666
  value: (function () {
667
- var _holdOption = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(key, value, nextvalue, action) {
667
+ var _holdOption = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(key, value, nextvalue, action) {
668
668
  return _regeneratorRuntime().wrap(function _callee11$(_context11) {
669
669
  while (1) switch (_context11.prev = _context11.next) {
670
670
  case 0:
@@ -723,7 +723,7 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
723
723
  }, {
724
724
  key: "checkIsChanged",
725
725
  value: function () {
726
- var _checkIsChanged = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
726
+ var _checkIsChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
727
727
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
728
728
  while (1) switch (_context12.prev = _context12.next) {
729
729
  case 0:
@@ -33,7 +33,7 @@ var ObjectWithTemp = exports.ObjectWithTemp = /*#__PURE__*/function () {
33
33
  return _createClass(ObjectWithTemp, [{
34
34
  key: "setTemp",
35
35
  value: function () {
36
- var _setTemp = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(key, value) {
36
+ var _setTemp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(key, value) {
37
37
  var isValueChanged;
38
38
  return _regeneratorRuntime().wrap(function _callee$(_context) {
39
39
  while (1) switch (_context.prev = _context.next) {
@@ -58,7 +58,7 @@ export declare class SimpleObject extends MapableObject {
58
58
  _index_key: string;
59
59
  _index_value: number;
60
60
  constructor(is_readonly?: boolean);
61
- init(): void;
61
+ init(...p: any[]): void;
62
62
  get<MKey extends PropOf<this>>(key: MKey, original?: boolean): PropType<this, MKey>;
63
63
  get<MKey extends PropOnlyPrefixedOf<this>>(key: MKey, original?: boolean): any;
64
64
  /**
@@ -29,7 +29,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
29
29
  function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
30
30
  function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
31
31
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
32
- function _superPropGet(t, e, r, o) { var p = _get(_getPrototypeOf(1 & o ? t.prototype : t), e, r); return 2 & o ? function (t) { return p.apply(r, t); } : p; }
32
+ function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
33
33
  function _get() { return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { var p = _superPropBase(e, t); if (p) { var n = Object.getOwnPropertyDescriptor(p, t); return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; } }, _get.apply(null, arguments); }
34
34
  function _superPropBase(t, o) { for (; !{}.hasOwnProperty.call(t, o) && null !== (t = _getPrototypeOf(t));); return t; }
35
35
  function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
@@ -170,7 +170,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
170
170
  * @returns
171
171
  */
172
172
  function () {
173
- var _set = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(key, value) {
173
+ var _set = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(key, value) {
174
174
  var shouldNotify,
175
175
  autoApply,
176
176
  isValueChanged,
@@ -274,7 +274,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
274
274
  * @param value
275
275
  */
276
276
  function () {
277
- var _setPreferApply = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(key, value) {
277
+ var _setPreferApply = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(key, value) {
278
278
  var shouldNotify,
279
279
  _args2 = arguments;
280
280
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
@@ -308,7 +308,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
308
308
  }, {
309
309
  key: "setSubValue",
310
310
  value: (function () {
311
- var _setSubValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key, objKey, subvalue) {
311
+ var _setSubValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(key, objKey, subvalue) {
312
312
  var sendChanges,
313
313
  _args3 = arguments;
314
314
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
@@ -337,7 +337,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
337
337
  }, {
338
338
  key: "setTemp",
339
339
  value: (function () {
340
- var _setTemp = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(key, value) {
340
+ var _setTemp = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(key, value) {
341
341
  var sendChanges,
342
342
  isValueChanged,
343
343
  _args4 = arguments;
@@ -384,8 +384,8 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
384
384
  }
385
385
  }, {
386
386
  key: "clearRefreshFunction",
387
- value: ( /* ---------------------------- refresh functions --------------------------- */function () {
388
- var _clearRefreshFunction = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
387
+ value: (/* ---------------------------- refresh functions --------------------------- */function () {
388
+ var _clearRefreshFunction = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
389
389
  return _regeneratorRuntime().wrap(function _callee5$(_context5) {
390
390
  while (1) switch (_context5.prev = _context5.next) {
391
391
  case 0:
@@ -404,7 +404,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
404
404
  }, {
405
405
  key: "setRefreshFunction",
406
406
  value: function () {
407
- var _setRefreshFunction = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(new_fnc) {
407
+ var _setRefreshFunction = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(new_fnc) {
408
408
  return _regeneratorRuntime().wrap(function _callee6$(_context6) {
409
409
  while (1) switch (_context6.prev = _context6.next) {
410
410
  case 0:
@@ -426,7 +426,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
426
426
  }, {
427
427
  key: "addRefreshFunction",
428
428
  value: function () {
429
- var _addRefreshFunction = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(key, new_fnc) {
429
+ var _addRefreshFunction = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7(key, new_fnc) {
430
430
  var oldFunctions;
431
431
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
432
432
  while (1) switch (_context7.prev = _context7.next) {
@@ -454,7 +454,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
454
454
  }, {
455
455
  key: "runRefreshFunction",
456
456
  value: function () {
457
- var _runRefreshFunction = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
457
+ var _runRefreshFunction = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
458
458
  var oldFunctions,
459
459
  fncArray,
460
460
  _len,
@@ -511,7 +511,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
511
511
  }, {
512
512
  key: "setAll",
513
513
  value: (function () {
514
- var _setAll = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(setObj) {
514
+ var _setAll = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(setObj) {
515
515
  var changeablesOnly,
516
516
  finalRes,
517
517
  checkKeys,
@@ -579,7 +579,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
579
579
  * @returns
580
580
  */
581
581
  function () {
582
- var _pushValue = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(key, value) {
582
+ var _pushValue = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(key, value) {
583
583
  var sendChanges,
584
584
  _args10 = arguments;
585
585
  return _regeneratorRuntime().wrap(function _callee10$(_context10) {
@@ -612,7 +612,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
612
612
  }, {
613
613
  key: "pushValues",
614
614
  value: (function () {
615
- var _pushValues = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(key, values) {
615
+ var _pushValues = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(key, values) {
616
616
  var sendChanges,
617
617
  tempArray,
618
618
  _args11 = arguments;
@@ -684,7 +684,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
684
684
  }, {
685
685
  key: "notifyChanged",
686
686
  value: (function () {
687
- var _notifyChanged = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(type, key, value, subvalue) {
687
+ var _notifyChanged = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(type, key, value, subvalue) {
688
688
  var lc, manager_class;
689
689
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
690
690
  while (1) switch (_context12.prev = _context12.next) {
@@ -787,7 +787,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
787
787
  }, {
788
788
  key: "discard",
789
789
  value: (function () {
790
- var _discard = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(key) {
790
+ var _discard = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee13(key) {
791
791
  var shouldNotify,
792
792
  originalValue,
793
793
  _args13 = arguments;
@@ -823,7 +823,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
823
823
  }, {
824
824
  key: "discardAll",
825
825
  value: (function () {
826
- var _discardAll = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
826
+ var _discardAll = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
827
827
  var shouldNotify,
828
828
  final_result,
829
829
  key,
@@ -971,11 +971,11 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
971
971
  }, {
972
972
  key: "objectColor",
973
973
  get: function get() {
974
- if (!_classPrivateFieldGet(_objectColor, this) || _classPrivateFieldGet(_objectColor, this) === "#000000") {
974
+ if (!_classPrivateFieldGet(_objectColor, this)) {
975
975
  var lastid = this.getID();
976
- if (!lastid) _classPrivateFieldSet(_objectColor, this, "#000000");else _classPrivateFieldSet(_objectColor, this, (0, _string.string_to_color)(lastid));
976
+ if (lastid) _classPrivateFieldSet(_objectColor, this, (0, _string.string_to_color)(lastid));
977
977
  }
978
- return _classPrivateFieldGet(_objectColor, this);
978
+ return _classPrivateFieldGet(_objectColor, this) || "#000000";
979
979
  }
980
980
  }, {
981
981
  key: "d",
@@ -1081,7 +1081,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
1081
1081
  /* Events */
1082
1082
  /* -------------------------------------------------------------------------- */
1083
1083
  function () {
1084
- var _event_run = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(eventName) {
1084
+ var _event_run = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee15(eventName) {
1085
1085
  var _this$manager2;
1086
1086
  var _len2,
1087
1087
  params,
@@ -1138,7 +1138,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
1138
1138
  }, {
1139
1139
  key: "event_add",
1140
1140
  value: function () {
1141
- var _event_add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(name, uname, runEvent) {
1141
+ var _event_add = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee16(name, uname, runEvent) {
1142
1142
  var onlyOn,
1143
1143
  runOnce,
1144
1144
  _args16 = arguments;
@@ -1566,7 +1566,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
1566
1566
  }, {
1567
1567
  key: "setTemp",
1568
1568
  value: (function () {
1569
- var _setTemp2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(obj, key, value) {
1569
+ var _setTemp2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee17(obj, key, value) {
1570
1570
  var sendChanges,
1571
1571
  _args17 = arguments;
1572
1572
  return _regeneratorRuntime().wrap(function _callee17$(_context17) {
@@ -1611,7 +1611,7 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
1611
1611
  }, {
1612
1612
  key: "delete_cache",
1613
1613
  value: function () {
1614
- var _delete_cache = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(context) {
1614
+ var _delete_cache = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee18(context) {
1615
1615
  var cacheKey;
1616
1616
  return _regeneratorRuntime().wrap(function _callee18$(_context18) {
1617
1617
  while (1) switch (_context18.prev = _context18.next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.5.57",
3
+ "version": "1.5.59",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",