@azrico/webobject 1.5.11 → 1.5.12

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.
@@ -70,6 +70,14 @@ export declare class WebObject extends SimpleObject {
70
70
  * @returns
71
71
  */
72
72
  get_basicObject(): Promise<Partial<this>>;
73
+ /**
74
+ * calls the `get_deltaObject` with
75
+ * `allProperties` `extraProperties`
76
+ * set to true
77
+ *
78
+ * @returns
79
+ */
80
+ get_fullDeltaObject(p?: deltaParams): Promise<any>;
73
81
  /**
74
82
  * calls the `get_deltaObject` with
75
83
  * `allProperties` `extraProperties` `tempProperties`
@@ -513,24 +513,23 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
513
513
  }()
514
514
  /**
515
515
  * calls the `get_deltaObject` with
516
- * `allProperties` `extraProperties` `tempProperties`
516
+ * `allProperties` `extraProperties`
517
517
  * set to true
518
518
  *
519
519
  * @returns
520
520
  */
521
521
  )
522
522
  }, {
523
- key: "get_fullObject",
523
+ key: "get_fullDeltaObject",
524
524
  value: (function () {
525
- var _get_fullObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(p) {
525
+ var _get_fullDeltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(p) {
526
526
  return _regeneratorRuntime().wrap(function _callee9$(_context9) {
527
527
  while (1) switch (_context9.prev = _context9.next) {
528
528
  case 0:
529
529
  _context9.next = 2;
530
530
  return this.get_deltaObject(_objectSpread({
531
531
  allProperties: true,
532
- extraProperties: true,
533
- tempProperties: true
532
+ extraProperties: true
534
533
  }, p));
535
534
  case 2:
536
535
  return _context9.abrupt("return", _context9.sent);
@@ -540,7 +539,41 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
540
539
  }
541
540
  }, _callee9, this);
542
541
  }));
543
- function get_fullObject(_x3) {
542
+ function get_fullDeltaObject(_x3) {
543
+ return _get_fullDeltaObject.apply(this, arguments);
544
+ }
545
+ return get_fullDeltaObject;
546
+ }()
547
+ /**
548
+ * calls the `get_deltaObject` with
549
+ * `allProperties` `extraProperties` `tempProperties`
550
+ * set to true
551
+ *
552
+ * @returns
553
+ */
554
+ )
555
+ }, {
556
+ key: "get_fullObject",
557
+ value: (function () {
558
+ var _get_fullObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(p) {
559
+ return _regeneratorRuntime().wrap(function _callee10$(_context10) {
560
+ while (1) switch (_context10.prev = _context10.next) {
561
+ case 0:
562
+ _context10.next = 2;
563
+ return this.get_deltaObject(_objectSpread({
564
+ allProperties: true,
565
+ extraProperties: true,
566
+ tempProperties: true
567
+ }, p));
568
+ case 2:
569
+ return _context10.abrupt("return", _context10.sent);
570
+ case 3:
571
+ case "end":
572
+ return _context10.stop();
573
+ }
574
+ }, _callee10, this);
575
+ }));
576
+ function get_fullObject(_x4) {
544
577
  return _get_fullObject.apply(this, arguments);
545
578
  }
546
579
  return get_fullObject;
@@ -554,78 +587,78 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
554
587
  }, {
555
588
  key: "get_deltaObject",
556
589
  value: (function () {
557
- var _get_deltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(p) {
590
+ var _get_deltaObject = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(p) {
558
591
  var final_object, useDelta, chkChangables, changedFields, key, changableKeys, functionProps, index, fp, parseObj, _parseObj, _iterator, _step, _key, gotIndex, gotId, tempusers;
559
- return _regeneratorRuntime().wrap(function _callee12$(_context12) {
560
- while (1) switch (_context12.prev = _context12.next) {
592
+ return _regeneratorRuntime().wrap(function _callee13$(_context13) {
593
+ while (1) switch (_context13.prev = _context13.next) {
561
594
  case 0:
562
595
  _parseObj = function _parseObj3() {
563
- _parseObj = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(obj) {
596
+ _parseObj = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(obj) {
564
597
  var newobj_dlt;
565
- return _regeneratorRuntime().wrap(function _callee11$(_context11) {
566
- while (1) switch (_context11.prev = _context11.next) {
598
+ return _regeneratorRuntime().wrap(function _callee12$(_context12) {
599
+ while (1) switch (_context12.prev = _context12.next) {
567
600
  case 0:
568
601
  if (!(obj == null)) {
569
- _context11.next = 2;
602
+ _context12.next = 2;
570
603
  break;
571
604
  }
572
- return _context11.abrupt("return", undefined);
605
+ return _context12.abrupt("return", undefined);
573
606
  case 2:
574
607
  if (!Array.isArray(obj)) {
575
- _context11.next = 6;
608
+ _context12.next = 6;
576
609
  break;
577
610
  }
578
- _context11.next = 5;
611
+ _context12.next = 5;
579
612
  return Promise.all(obj.map( /*#__PURE__*/function () {
580
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(r) {
581
- return _regeneratorRuntime().wrap(function _callee10$(_context10) {
582
- while (1) switch (_context10.prev = _context10.next) {
613
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(r) {
614
+ return _regeneratorRuntime().wrap(function _callee11$(_context11) {
615
+ while (1) switch (_context11.prev = _context11.next) {
583
616
  case 0:
584
- _context10.next = 2;
617
+ _context11.next = 2;
585
618
  return parseObj(r);
586
619
  case 2:
587
- return _context10.abrupt("return", _context10.sent);
620
+ return _context11.abrupt("return", _context11.sent);
588
621
  case 3:
589
622
  case "end":
590
- return _context10.stop();
623
+ return _context11.stop();
591
624
  }
592
- }, _callee10);
625
+ }, _callee11);
593
626
  }));
594
- return function (_x6) {
627
+ return function (_x7) {
595
628
  return _ref.apply(this, arguments);
596
629
  };
597
630
  }()));
598
631
  case 5:
599
- return _context11.abrupt("return", _context11.sent);
632
+ return _context12.abrupt("return", _context12.sent);
600
633
  case 6:
601
634
  if (!(obj instanceof WebObject && typeof obj.get_deltaObject === "function")) {
602
- _context11.next = 15;
635
+ _context12.next = 15;
603
636
  break;
604
637
  }
605
- _context11.next = 9;
638
+ _context12.next = 9;
606
639
  return obj.get_deltaObject(_objectSpread(_objectSpread({}, p), {}, {
607
640
  isChild: true
608
641
  }));
609
642
  case 9:
610
- newobj_dlt = _context11.sent;
643
+ newobj_dlt = _context12.sent;
611
644
  if ((0, _object.object_isEmpty)(newobj_dlt)) {
612
- _context11.next = 14;
645
+ _context12.next = 14;
613
646
  break;
614
647
  }
615
- return _context11.abrupt("return", newobj_dlt);
648
+ return _context12.abrupt("return", newobj_dlt);
616
649
  case 14:
617
- return _context11.abrupt("return", obj);
650
+ return _context12.abrupt("return", obj);
618
651
  case 15:
619
- return _context11.abrupt("return", obj);
652
+ return _context12.abrupt("return", obj);
620
653
  case 16:
621
654
  case "end":
622
- return _context11.stop();
655
+ return _context12.stop();
623
656
  }
624
- }, _callee11);
657
+ }, _callee12);
625
658
  }));
626
659
  return _parseObj.apply(this, arguments);
627
660
  };
628
- parseObj = function _parseObj2(_x5) {
661
+ parseObj = function _parseObj2(_x6) {
629
662
  return _parseObj.apply(this, arguments);
630
663
  };
631
664
  if (!p) p = {};
@@ -638,18 +671,18 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
638
671
  */
639
672
  changedFields = p.allProperties || !useDelta && p.isChild && chkChangables ? _objectSpread({}, this.allproperties) : _objectSpread({}, this.__delta);
640
673
  /* ------------- parse children that have WebObject as delta ------------- */
641
- _context12.t0 = _regeneratorRuntime().keys(this);
674
+ _context13.t0 = _regeneratorRuntime().keys(this);
642
675
  case 8:
643
- if ((_context12.t1 = _context12.t0()).done) {
644
- _context12.next = 15;
676
+ if ((_context13.t1 = _context13.t0()).done) {
677
+ _context13.next = 15;
645
678
  break;
646
679
  }
647
- key = _context12.t1.value;
680
+ key = _context13.t1.value;
648
681
  if (!(key.startsWith("__") || key in changedFields)) {
649
- _context12.next = 12;
682
+ _context13.next = 12;
650
683
  break;
651
684
  }
652
- return _context12.abrupt("continue", 8);
685
+ return _context13.abrupt("continue", 8);
653
686
  case 12:
654
687
  if (_WebObjectHelper["default"].isChangedWebObjectField(this[key])) {
655
688
  /**
@@ -659,12 +692,12 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
659
692
  */
660
693
  changedFields[key] = this[key];
661
694
  }
662
- _context12.next = 8;
695
+ _context13.next = 8;
663
696
  break;
664
697
  case 15:
665
698
  /* ------------------------- get all changeable keys ------------------------ */
666
699
  changableKeys = (0, _object.array_intersection)(Object.keys(changedFields), WebObject.getChangeableKeys(this, p));
667
- _context12.next = 18;
700
+ _context13.next = 18;
668
701
  return _convert["default"].applyFormats({
669
702
  inputobject: changedFields,
670
703
  formats: (0, _object.object_getStatic)(this, "__formatList"),
@@ -684,32 +717,32 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
684
717
  /* parse all changableKeys */
685
718
  /* -------------------------------------------------------------------------- */
686
719
  _iterator = _createForOfIteratorHelper(changableKeys);
687
- _context12.prev = 21;
720
+ _context13.prev = 21;
688
721
  _iterator.s();
689
722
  case 23:
690
723
  if ((_step = _iterator.n()).done) {
691
- _context12.next = 30;
724
+ _context13.next = 30;
692
725
  break;
693
726
  }
694
727
  _key = _step.value;
695
- _context12.next = 27;
728
+ _context13.next = 27;
696
729
  return parseObj(changedFields[_key]);
697
730
  case 27:
698
- final_object[_key] = _context12.sent;
731
+ final_object[_key] = _context13.sent;
699
732
  case 28:
700
- _context12.next = 23;
733
+ _context13.next = 23;
701
734
  break;
702
735
  case 30:
703
- _context12.next = 35;
736
+ _context13.next = 35;
704
737
  break;
705
738
  case 32:
706
- _context12.prev = 32;
707
- _context12.t2 = _context12["catch"](21);
708
- _iterator.e(_context12.t2);
739
+ _context13.prev = 32;
740
+ _context13.t2 = _context13["catch"](21);
741
+ _iterator.e(_context13.t2);
709
742
  case 35:
710
- _context12.prev = 35;
743
+ _context13.prev = 35;
711
744
  _iterator.f();
712
- return _context12.finish(35);
745
+ return _context13.finish(35);
713
746
  case 38:
714
747
  /* -------------------- add acrhived and date properties -------------------- */
715
748
  if (p.allProperties) {
@@ -735,14 +768,14 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
735
768
  });
736
769
  final_object["_users"] = (0, _object.wrap_array)(tempusers);
737
770
  }
738
- return _context12.abrupt("return", final_object);
771
+ return _context13.abrupt("return", final_object);
739
772
  case 42:
740
773
  case "end":
741
- return _context12.stop();
774
+ return _context13.stop();
742
775
  }
743
- }, _callee12, this, [[21, 32, 35, 38]]);
776
+ }, _callee13, this, [[21, 32, 35, 38]]);
744
777
  }));
745
- function get_deltaObject(_x4) {
778
+ function get_deltaObject(_x5) {
746
779
  return _get_deltaObject.apply(this, arguments);
747
780
  }
748
781
  return get_deltaObject;
@@ -765,28 +798,28 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
765
798
  }, {
766
799
  key: "onDelete",
767
800
  value: ( /* -------------------------------------------------------------------------- */function () {
768
- var _onDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
801
+ var _onDelete = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
769
802
  var _this$manager;
770
803
  var _len,
771
804
  p,
772
805
  _key2,
773
- _args13 = arguments;
774
- return _regeneratorRuntime().wrap(function _callee13$(_context13) {
775
- while (1) switch (_context13.prev = _context13.next) {
806
+ _args14 = arguments;
807
+ return _regeneratorRuntime().wrap(function _callee14$(_context14) {
808
+ while (1) switch (_context14.prev = _context14.next) {
776
809
  case 0:
777
810
  if (this.isSaved) this.isDeleted = true;
778
- for (_len = _args13.length, p = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {
779
- p[_key2] = _args13[_key2];
811
+ for (_len = _args14.length, p = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {
812
+ p[_key2] = _args14[_key2];
780
813
  }
781
- _context13.next = 4;
814
+ _context14.next = 4;
782
815
  return (_this$manager = this.manager) === null || _this$manager === void 0 ? void 0 : _this$manager.onDelete.apply(_this$manager, p);
783
816
  case 4:
784
- return _context13.abrupt("return", _context13.sent);
817
+ return _context14.abrupt("return", _context14.sent);
785
818
  case 5:
786
819
  case "end":
787
- return _context13.stop();
820
+ return _context14.stop();
788
821
  }
789
- }, _callee13, this);
822
+ }, _callee14, this);
790
823
  }));
791
824
  function onDelete() {
792
825
  return _onDelete.apply(this, arguments);
@@ -796,28 +829,28 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
796
829
  }, {
797
830
  key: "onArchive",
798
831
  value: function () {
799
- var _onArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
832
+ var _onArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
800
833
  var _this$manager2;
801
834
  var _len2,
802
835
  p,
803
836
  _key3,
804
- _args14 = arguments;
805
- return _regeneratorRuntime().wrap(function _callee14$(_context14) {
806
- while (1) switch (_context14.prev = _context14.next) {
837
+ _args15 = arguments;
838
+ return _regeneratorRuntime().wrap(function _callee15$(_context15) {
839
+ while (1) switch (_context15.prev = _context15.next) {
807
840
  case 0:
808
841
  if (this.isSaved) this.isArchived = true;
809
- for (_len2 = _args14.length, p = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {
810
- p[_key3] = _args14[_key3];
842
+ for (_len2 = _args15.length, p = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {
843
+ p[_key3] = _args15[_key3];
811
844
  }
812
- _context14.next = 4;
845
+ _context15.next = 4;
813
846
  return (_this$manager2 = this.manager) === null || _this$manager2 === void 0 ? void 0 : _this$manager2.onArchive.apply(_this$manager2, p);
814
847
  case 4:
815
- return _context14.abrupt("return", _context14.sent);
848
+ return _context15.abrupt("return", _context15.sent);
816
849
  case 5:
817
850
  case "end":
818
- return _context14.stop();
851
+ return _context15.stop();
819
852
  }
820
- }, _callee14, this);
853
+ }, _callee15, this);
821
854
  }));
822
855
  function onArchive() {
823
856
  return _onArchive.apply(this, arguments);
@@ -827,28 +860,28 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
827
860
  }, {
828
861
  key: "onUnArchive",
829
862
  value: function () {
830
- var _onUnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
863
+ var _onUnArchive = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
831
864
  var _this$manager3;
832
865
  var _len3,
833
866
  p,
834
867
  _key4,
835
- _args15 = arguments;
836
- return _regeneratorRuntime().wrap(function _callee15$(_context15) {
837
- while (1) switch (_context15.prev = _context15.next) {
868
+ _args16 = arguments;
869
+ return _regeneratorRuntime().wrap(function _callee16$(_context16) {
870
+ while (1) switch (_context16.prev = _context16.next) {
838
871
  case 0:
839
872
  if (this.isSaved) this.isArchived = false;
840
- for (_len3 = _args15.length, p = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) {
841
- p[_key4] = _args15[_key4];
873
+ for (_len3 = _args16.length, p = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) {
874
+ p[_key4] = _args16[_key4];
842
875
  }
843
- _context15.next = 4;
876
+ _context16.next = 4;
844
877
  return (_this$manager3 = this.manager) === null || _this$manager3 === void 0 ? void 0 : _this$manager3.onUnArchive.apply(_this$manager3, p);
845
878
  case 4:
846
- return _context15.abrupt("return", _context15.sent);
879
+ return _context16.abrupt("return", _context16.sent);
847
880
  case 5:
848
881
  case "end":
849
- return _context15.stop();
882
+ return _context16.stop();
850
883
  }
851
- }, _callee15, this);
884
+ }, _callee16, this);
852
885
  }));
853
886
  function onUnArchive() {
854
887
  return _onUnArchive.apply(this, arguments);
@@ -858,28 +891,28 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
858
891
  }, {
859
892
  key: "onLock",
860
893
  value: function () {
861
- var _onLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
894
+ var _onLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
862
895
  var _this$manager4;
863
896
  var _len4,
864
897
  p,
865
898
  _key5,
866
- _args16 = arguments;
867
- return _regeneratorRuntime().wrap(function _callee16$(_context16) {
868
- while (1) switch (_context16.prev = _context16.next) {
899
+ _args17 = arguments;
900
+ return _regeneratorRuntime().wrap(function _callee17$(_context17) {
901
+ while (1) switch (_context17.prev = _context17.next) {
869
902
  case 0:
870
903
  if (this.isSaved) this.isLocked = true;
871
- for (_len4 = _args16.length, p = new Array(_len4), _key5 = 0; _key5 < _len4; _key5++) {
872
- p[_key5] = _args16[_key5];
904
+ for (_len4 = _args17.length, p = new Array(_len4), _key5 = 0; _key5 < _len4; _key5++) {
905
+ p[_key5] = _args17[_key5];
873
906
  }
874
- _context16.next = 4;
907
+ _context17.next = 4;
875
908
  return (_this$manager4 = this.manager) === null || _this$manager4 === void 0 ? void 0 : _this$manager4.onLock.apply(_this$manager4, p);
876
909
  case 4:
877
- return _context16.abrupt("return", _context16.sent);
910
+ return _context17.abrupt("return", _context17.sent);
878
911
  case 5:
879
912
  case "end":
880
- return _context16.stop();
913
+ return _context17.stop();
881
914
  }
882
- }, _callee16, this);
915
+ }, _callee17, this);
883
916
  }));
884
917
  function onLock() {
885
918
  return _onLock.apply(this, arguments);
@@ -889,28 +922,28 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
889
922
  }, {
890
923
  key: "onUnLock",
891
924
  value: function () {
892
- var _onUnLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
925
+ var _onUnLock = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
893
926
  var _this$manager5;
894
927
  var _len5,
895
928
  p,
896
929
  _key6,
897
- _args17 = arguments;
898
- return _regeneratorRuntime().wrap(function _callee17$(_context17) {
899
- while (1) switch (_context17.prev = _context17.next) {
930
+ _args18 = arguments;
931
+ return _regeneratorRuntime().wrap(function _callee18$(_context18) {
932
+ while (1) switch (_context18.prev = _context18.next) {
900
933
  case 0:
901
934
  if (this.isSaved) this.isLocked = false;
902
- for (_len5 = _args17.length, p = new Array(_len5), _key6 = 0; _key6 < _len5; _key6++) {
903
- p[_key6] = _args17[_key6];
935
+ for (_len5 = _args18.length, p = new Array(_len5), _key6 = 0; _key6 < _len5; _key6++) {
936
+ p[_key6] = _args18[_key6];
904
937
  }
905
- _context17.next = 4;
938
+ _context18.next = 4;
906
939
  return (_this$manager5 = this.manager) === null || _this$manager5 === void 0 ? void 0 : _this$manager5.onUnLock.apply(_this$manager5, p);
907
940
  case 4:
908
- return _context17.abrupt("return", _context17.sent);
941
+ return _context18.abrupt("return", _context18.sent);
909
942
  case 5:
910
943
  case "end":
911
- return _context17.stop();
944
+ return _context18.stop();
912
945
  }
913
- }, _callee17, this);
946
+ }, _callee18, this);
914
947
  }));
915
948
  function onUnLock() {
916
949
  return _onUnLock.apply(this, arguments);
@@ -920,28 +953,28 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
920
953
  }, {
921
954
  key: "onLoad",
922
955
  value: function () {
923
- var _onLoad = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
956
+ var _onLoad = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
924
957
  var _this$manager6;
925
958
  var _len6,
926
959
  p,
927
960
  _key7,
928
- _args18 = arguments;
929
- return _regeneratorRuntime().wrap(function _callee18$(_context18) {
930
- while (1) switch (_context18.prev = _context18.next) {
961
+ _args19 = arguments;
962
+ return _regeneratorRuntime().wrap(function _callee19$(_context19) {
963
+ while (1) switch (_context19.prev = _context19.next) {
931
964
  case 0:
932
965
  this.isDeleted = false;
933
- for (_len6 = _args18.length, p = new Array(_len6), _key7 = 0; _key7 < _len6; _key7++) {
934
- p[_key7] = _args18[_key7];
966
+ for (_len6 = _args19.length, p = new Array(_len6), _key7 = 0; _key7 < _len6; _key7++) {
967
+ p[_key7] = _args19[_key7];
935
968
  }
936
- _context18.next = 4;
969
+ _context19.next = 4;
937
970
  return (_this$manager6 = this.manager) === null || _this$manager6 === void 0 ? void 0 : _this$manager6.onLoad.apply(_this$manager6, p);
938
971
  case 4:
939
- return _context18.abrupt("return", _context18.sent);
972
+ return _context19.abrupt("return", _context19.sent);
940
973
  case 5:
941
974
  case "end":
942
- return _context18.stop();
975
+ return _context19.stop();
943
976
  }
944
- }, _callee18, this);
977
+ }, _callee19, this);
945
978
  }));
946
979
  function onLoad() {
947
980
  return _onLoad.apply(this, arguments);
@@ -951,47 +984,47 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
951
984
  }, {
952
985
  key: "onSave",
953
986
  value: function () {
954
- var _onSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
987
+ var _onSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
955
988
  var _this$manager8;
956
989
  var srObject,
957
990
  _this$manager7,
958
991
  _len7,
959
992
  p,
960
993
  _key8,
961
- _args19 = arguments;
962
- return _regeneratorRuntime().wrap(function _callee19$(_context19) {
963
- while (1) switch (_context19.prev = _context19.next) {
994
+ _args20 = arguments;
995
+ return _regeneratorRuntime().wrap(function _callee20$(_context20) {
996
+ while (1) switch (_context20.prev = _context20.next) {
964
997
  case 0:
965
998
  if (!this.isSaved) {
966
- _context19.next = 7;
999
+ _context20.next = 7;
967
1000
  break;
968
1001
  }
969
1002
  this.apply_changes();
970
1003
  srObject = this.getSaveResult(true);
971
1004
  if (!this.saveResultHasID(srObject)) {
972
- _context19.next = 7;
1005
+ _context20.next = 7;
973
1006
  break;
974
1007
  }
975
1008
  /* -------------------------------------------------------------------------- */
976
1009
  WebObject.LoadIdsFromSaveResult(this, srObject);
977
- _context19.next = 7;
1010
+ _context20.next = 7;
978
1011
  return (_this$manager7 = this.manager) === null || _this$manager7 === void 0 ? void 0 : _this$manager7.event_run("on_id_change");
979
1012
  case 7:
980
- for (_len7 = _args19.length, p = new Array(_len7), _key8 = 0; _key8 < _len7; _key8++) {
981
- p[_key8] = _args19[_key8];
1013
+ for (_len7 = _args20.length, p = new Array(_len7), _key8 = 0; _key8 < _len7; _key8++) {
1014
+ p[_key8] = _args20[_key8];
982
1015
  }
983
- _context19.next = 10;
1016
+ _context20.next = 10;
984
1017
  return (_this$manager8 = this.manager) === null || _this$manager8 === void 0 ? void 0 : _this$manager8.onSave.apply(_this$manager8, p);
985
1018
  case 10:
986
- _context19.next = 12;
1019
+ _context20.next = 12;
987
1020
  return this.onAfterSave();
988
1021
  case 12:
989
- return _context19.abrupt("return", true);
1022
+ return _context20.abrupt("return", true);
990
1023
  case 13:
991
1024
  case "end":
992
- return _context19.stop();
1025
+ return _context20.stop();
993
1026
  }
994
- }, _callee19, this);
1027
+ }, _callee20, this);
995
1028
  }));
996
1029
  function onSave() {
997
1030
  return _onSave.apply(this, arguments);
@@ -1001,27 +1034,27 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1001
1034
  }, {
1002
1035
  key: "onAfterSave",
1003
1036
  value: function () {
1004
- var _onAfterSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
1037
+ var _onAfterSave = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
1005
1038
  var _this$manager9;
1006
1039
  var _len8,
1007
1040
  p,
1008
1041
  _key9,
1009
- _args20 = arguments;
1010
- return _regeneratorRuntime().wrap(function _callee20$(_context20) {
1011
- while (1) switch (_context20.prev = _context20.next) {
1042
+ _args21 = arguments;
1043
+ return _regeneratorRuntime().wrap(function _callee21$(_context21) {
1044
+ while (1) switch (_context21.prev = _context21.next) {
1012
1045
  case 0:
1013
- for (_len8 = _args20.length, p = new Array(_len8), _key9 = 0; _key9 < _len8; _key9++) {
1014
- p[_key9] = _args20[_key9];
1046
+ for (_len8 = _args21.length, p = new Array(_len8), _key9 = 0; _key9 < _len8; _key9++) {
1047
+ p[_key9] = _args21[_key9];
1015
1048
  }
1016
- _context20.next = 3;
1049
+ _context21.next = 3;
1017
1050
  return (_this$manager9 = this.manager) === null || _this$manager9 === void 0 ? void 0 : _this$manager9.onAfterSave.apply(_this$manager9, p);
1018
1051
  case 3:
1019
- return _context20.abrupt("return", true);
1052
+ return _context21.abrupt("return", true);
1020
1053
  case 4:
1021
1054
  case "end":
1022
- return _context20.stop();
1055
+ return _context21.stop();
1023
1056
  }
1024
- }, _callee20, this);
1057
+ }, _callee21, this);
1025
1058
  }));
1026
1059
  function onAfterSave() {
1027
1060
  return _onAfterSave.apply(this, arguments);
@@ -1046,27 +1079,27 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1046
1079
  }, {
1047
1080
  key: "onNew",
1048
1081
  value: function () {
1049
- var _onNew = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
1082
+ var _onNew = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
1050
1083
  var _this$manager10;
1051
1084
  var _len9,
1052
1085
  p,
1053
1086
  _key10,
1054
- _args21 = arguments;
1055
- return _regeneratorRuntime().wrap(function _callee21$(_context21) {
1056
- while (1) switch (_context21.prev = _context21.next) {
1087
+ _args22 = arguments;
1088
+ return _regeneratorRuntime().wrap(function _callee22$(_context22) {
1089
+ while (1) switch (_context22.prev = _context22.next) {
1057
1090
  case 0:
1058
- for (_len9 = _args21.length, p = new Array(_len9), _key10 = 0; _key10 < _len9; _key10++) {
1059
- p[_key10] = _args21[_key10];
1091
+ for (_len9 = _args22.length, p = new Array(_len9), _key10 = 0; _key10 < _len9; _key10++) {
1092
+ p[_key10] = _args22[_key10];
1060
1093
  }
1061
- _context21.next = 3;
1094
+ _context22.next = 3;
1062
1095
  return (_this$manager10 = this.manager) === null || _this$manager10 === void 0 ? void 0 : _this$manager10.onNew.apply(_this$manager10, p);
1063
1096
  case 3:
1064
- return _context21.abrupt("return", _context21.sent);
1097
+ return _context22.abrupt("return", _context22.sent);
1065
1098
  case 4:
1066
1099
  case "end":
1067
- return _context21.stop();
1100
+ return _context22.stop();
1068
1101
  }
1069
- }, _callee21, this);
1102
+ }, _callee22, this);
1070
1103
  }));
1071
1104
  function onNew() {
1072
1105
  return _onNew.apply(this, arguments);
@@ -1122,7 +1155,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1122
1155
  }, {
1123
1156
  key: "saveList",
1124
1157
  value: function () {
1125
- var _saveList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(itemList) {
1158
+ var _saveList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(itemList) {
1126
1159
  var _extraOptions$chunksi;
1127
1160
  var extraOptions,
1128
1161
  chunks,
@@ -1139,11 +1172,11 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1139
1172
  _item,
1140
1173
  _index2,
1141
1174
  _item2,
1142
- _args22 = arguments;
1143
- return _regeneratorRuntime().wrap(function _callee22$(_context22) {
1144
- while (1) switch (_context22.prev = _context22.next) {
1175
+ _args23 = arguments;
1176
+ return _regeneratorRuntime().wrap(function _callee23$(_context23) {
1177
+ while (1) switch (_context23.prev = _context23.next) {
1145
1178
  case 0:
1146
- extraOptions = _args22.length > 1 && _args22[1] !== undefined ? _args22[1] : {};
1179
+ extraOptions = _args23.length > 1 && _args23[1] !== undefined ? _args23[1] : {};
1147
1180
  if (!extraOptions) extraOptions = {};
1148
1181
  chunks = (0, _object.array_chunks)(itemList, (_extraOptions$chunksi = extraOptions.chunksize) !== null && _extraOptions$chunksi !== void 0 ? _extraOptions$chunksi : 50);
1149
1182
  delete extraOptions.chunksize;
@@ -1151,7 +1184,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1151
1184
  index = 0;
1152
1185
  case 6:
1153
1186
  if (!(index < chunks.length)) {
1154
- _context22.next = 36;
1187
+ _context23.next = 36;
1155
1188
  break;
1156
1189
  }
1157
1190
  items_to_save = chunks[index];
@@ -1159,83 +1192,83 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1159
1192
  k = 0;
1160
1193
  case 10:
1161
1194
  if (!(k < items_to_save.length)) {
1162
- _context22.next = 19;
1195
+ _context23.next = 19;
1163
1196
  break;
1164
1197
  }
1165
1198
  item = items_to_save[k];
1166
- _context22.next = 14;
1199
+ _context23.next = 14;
1167
1200
  return item.get_deltaObject();
1168
1201
  case 14:
1169
- dlt = _context22.sent;
1202
+ dlt = _context23.sent;
1170
1203
  save_array.push(item.isNew ? _objectSpread({}, dlt) : _objectSpread({
1171
1204
  _id: item.getID()
1172
1205
  }, dlt));
1173
1206
  case 16:
1174
1207
  k++;
1175
- _context22.next = 10;
1208
+ _context23.next = 10;
1176
1209
  break;
1177
1210
  case 19:
1178
- _context22.next = 21;
1211
+ _context23.next = 21;
1179
1212
  return _global.gfunc.run_action("post", putAddress, _objectSpread({
1180
1213
  __save_list: WebObject.zipSaveList(save_array)
1181
1214
  }, extraOptions));
1182
1215
  case 21:
1183
- resultObject = _context22.sent;
1216
+ resultObject = _context23.sent;
1184
1217
  if (!Array.isArray(resultObject)) {
1185
- _context22.next = 33;
1218
+ _context23.next = 33;
1186
1219
  break;
1187
1220
  }
1188
1221
  _index = 0;
1189
1222
  case 24:
1190
1223
  if (!(_index < Math.min(resultObject.length, items_to_save.length))) {
1191
- _context22.next = 33;
1224
+ _context23.next = 33;
1192
1225
  break;
1193
1226
  }
1194
1227
  res = resultObject[_index];
1195
1228
  _item = items_to_save[_index];
1196
1229
  _item.setSaveResult(res);
1197
- _context22.next = 30;
1230
+ _context23.next = 30;
1198
1231
  return _item.onSave();
1199
1232
  case 30:
1200
1233
  _index++;
1201
- _context22.next = 24;
1234
+ _context23.next = 24;
1202
1235
  break;
1203
1236
  case 33:
1204
1237
  index++;
1205
- _context22.next = 6;
1238
+ _context23.next = 6;
1206
1239
  break;
1207
1240
  case 36:
1208
1241
  _index2 = 0;
1209
1242
  case 37:
1210
1243
  if (!(_index2 < itemList.length)) {
1211
- _context22.next = 46;
1244
+ _context23.next = 46;
1212
1245
  break;
1213
1246
  }
1214
1247
  _item2 = itemList[_index2];
1215
1248
  if (_item2.isSaved) {
1216
- _context22.next = 41;
1249
+ _context23.next = 41;
1217
1250
  break;
1218
1251
  }
1219
- return _context22.abrupt("return", false);
1252
+ return _context23.abrupt("return", false);
1220
1253
  case 41:
1221
1254
  if (!(_item2.getSaveResultType() != "normal")) {
1222
- _context22.next = 43;
1255
+ _context23.next = 43;
1223
1256
  break;
1224
1257
  }
1225
- return _context22.abrupt("return", false);
1258
+ return _context23.abrupt("return", false);
1226
1259
  case 43:
1227
1260
  _index2++;
1228
- _context22.next = 37;
1261
+ _context23.next = 37;
1229
1262
  break;
1230
1263
  case 46:
1231
- return _context22.abrupt("return", true);
1264
+ return _context23.abrupt("return", true);
1232
1265
  case 47:
1233
1266
  case "end":
1234
- return _context22.stop();
1267
+ return _context23.stop();
1235
1268
  }
1236
- }, _callee22, this);
1269
+ }, _callee23, this);
1237
1270
  }));
1238
- function saveList(_x7) {
1271
+ function saveList(_x8) {
1239
1272
  return _saveList.apply(this, arguments);
1240
1273
  }
1241
1274
  return saveList;
@@ -1288,7 +1321,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1288
1321
  }, {
1289
1322
  key: "get_single",
1290
1323
  value: (function () {
1291
- var _get_single = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
1324
+ var _get_single = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
1292
1325
  var _p$shift;
1293
1326
  var _len10,
1294
1327
  p,
@@ -1299,61 +1332,61 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1299
1332
  res,
1300
1333
  params,
1301
1334
  usepath,
1302
- _args23 = arguments;
1303
- return _regeneratorRuntime().wrap(function _callee23$(_context23) {
1304
- while (1) switch (_context23.prev = _context23.next) {
1335
+ _args24 = arguments;
1336
+ return _regeneratorRuntime().wrap(function _callee24$(_context24) {
1337
+ while (1) switch (_context24.prev = _context24.next) {
1305
1338
  case 0:
1306
- for (_len10 = _args23.length, p = new Array(_len10), _key11 = 0; _key11 < _len10; _key11++) {
1307
- p[_key11] = _args23[_key11];
1339
+ for (_len10 = _args24.length, p = new Array(_len10), _key11 = 0; _key11 < _len10; _key11++) {
1340
+ p[_key11] = _args24[_key11];
1308
1341
  }
1309
1342
  search = p.shift();
1310
1343
  readonly = (_p$shift = p.shift()) !== null && _p$shift !== void 0 ? _p$shift : false;
1311
1344
  fetchID = p.shift();
1312
1345
  if (!(0, _object.object_isEmpty)(search)) {
1313
- _context23.next = 6;
1346
+ _context24.next = 6;
1314
1347
  break;
1315
1348
  }
1316
- return _context23.abrupt("return", undefined);
1349
+ return _context24.abrupt("return", undefined);
1317
1350
  case 6:
1318
1351
  params = {};
1319
1352
  params.__context = readonly ? "view" : "edit";
1320
- _context23.t0 = _typeof(search);
1321
- _context23.next = _context23.t0 === "string" ? 11 : _context23.t0 === "number" ? 11 : _context23.t0 === "object" ? 22 : 22;
1353
+ _context24.t0 = _typeof(search);
1354
+ _context24.next = _context24.t0 === "string" ? 11 : _context24.t0 === "number" ? 11 : _context24.t0 === "object" ? 22 : 22;
1322
1355
  break;
1323
1356
  case 11:
1324
1357
  search = String(search);
1325
- _context23.next = 14;
1358
+ _context24.next = 14;
1326
1359
  return _WebObjectPathHelper["default"].get_path(this, "get");
1327
1360
  case 14:
1328
- _context23.t1 = _context23.sent;
1329
- _context23.t2 = _context23.t1 + "/";
1330
- _context23.t3 = search;
1331
- usepath = _context23.t2 + _context23.t3;
1332
- _context23.next = 20;
1361
+ _context24.t1 = _context24.sent;
1362
+ _context24.t2 = _context24.t1 + "/";
1363
+ _context24.t3 = search;
1364
+ usepath = _context24.t2 + _context24.t3;
1365
+ _context24.next = 20;
1333
1366
  return _global.gfunc.run_action("get", usepath, params, {
1334
1367
  fetchID: fetchID
1335
1368
  });
1336
1369
  case 20:
1337
- res = _context23.sent;
1338
- return _context23.abrupt("break", 26);
1370
+ res = _context24.sent;
1371
+ return _context24.abrupt("break", 26);
1339
1372
  case 22:
1340
- _context23.next = 24;
1373
+ _context24.next = 24;
1341
1374
  return this.get_list(search, readonly, fetchID);
1342
1375
  case 24:
1343
- res = _context23.sent;
1344
- return _context23.abrupt("break", 26);
1376
+ res = _context24.sent;
1377
+ return _context24.abrupt("break", 26);
1345
1378
  case 26:
1346
1379
  if (res) res = (0, _object.array_first)(res);
1347
1380
  if (!(0, _object.object_isEmpty)(res)) {
1348
1381
  res = this.ensure(this, res);
1349
1382
  WebObject.setReadonly(res, readonly);
1350
1383
  }
1351
- return _context23.abrupt("return", res);
1384
+ return _context24.abrupt("return", res);
1352
1385
  case 29:
1353
1386
  case "end":
1354
- return _context23.stop();
1387
+ return _context24.stop();
1355
1388
  }
1356
- }, _callee23, this);
1389
+ }, _callee24, this);
1357
1390
  }));
1358
1391
  function get_single() {
1359
1392
  return _get_single.apply(this, arguments);
@@ -1368,7 +1401,7 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1368
1401
  }, {
1369
1402
  key: "get_list",
1370
1403
  value: (function () {
1371
- var _get_list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
1404
+ var _get_list = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
1372
1405
  var _p$shift2;
1373
1406
  var _len11,
1374
1407
  p,
@@ -1379,37 +1412,37 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1379
1412
  usepath,
1380
1413
  result_items,
1381
1414
  res,
1382
- _args24 = arguments;
1383
- return _regeneratorRuntime().wrap(function _callee24$(_context24) {
1384
- while (1) switch (_context24.prev = _context24.next) {
1415
+ _args25 = arguments;
1416
+ return _regeneratorRuntime().wrap(function _callee25$(_context25) {
1417
+ while (1) switch (_context25.prev = _context25.next) {
1385
1418
  case 0:
1386
- for (_len11 = _args24.length, p = new Array(_len11), _key12 = 0; _key12 < _len11; _key12++) {
1387
- p[_key12] = _args24[_key12];
1419
+ for (_len11 = _args25.length, p = new Array(_len11), _key12 = 0; _key12 < _len11; _key12++) {
1420
+ p[_key12] = _args25[_key12];
1388
1421
  }
1389
1422
  search = p.shift();
1390
1423
  readonly = (_p$shift2 = p.shift()) !== null && _p$shift2 !== void 0 ? _p$shift2 : false;
1391
1424
  fetchID = p.shift();
1392
1425
  if (!search) search = {};
1393
- _context24.next = 7;
1426
+ _context25.next = 7;
1394
1427
  return _WebObjectPathHelper["default"].get_path(this, "get");
1395
1428
  case 7:
1396
- usepath = _context24.sent;
1397
- _context24.next = 10;
1429
+ usepath = _context25.sent;
1430
+ _context25.next = 10;
1398
1431
  return _global.gfunc.run_action("get", usepath, search, {
1399
1432
  fetchID: fetchID
1400
1433
  });
1401
1434
  case 10:
1402
- result_items = _context24.sent;
1435
+ result_items = _context25.sent;
1403
1436
  // const selftype = (this.constructor ||
1404
1437
  // Object.getPrototypeOf(this)) as any;
1405
1438
  res = WebObject.map_rowindex(WebObject.mapto(this, result_items, readonly));
1406
1439
  WebObject.setReadonly(res, readonly);
1407
- return _context24.abrupt("return", res);
1440
+ return _context25.abrupt("return", res);
1408
1441
  case 14:
1409
1442
  case "end":
1410
- return _context24.stop();
1443
+ return _context25.stop();
1411
1444
  }
1412
- }, _callee24, this);
1445
+ }, _callee25, this);
1413
1446
  }));
1414
1447
  function get_list() {
1415
1448
  return _get_list.apply(this, arguments);
@@ -1425,43 +1458,43 @@ var WebObject = exports.WebObject = /*#__PURE__*/function (_SimpleObject) {
1425
1458
  }, {
1426
1459
  key: "get_basicList",
1427
1460
  value: (function () {
1428
- var _get_basicList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
1461
+ var _get_basicList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27() {
1429
1462
  var itemlist,
1430
- _args26 = arguments;
1431
- return _regeneratorRuntime().wrap(function _callee26$(_context26) {
1432
- while (1) switch (_context26.prev = _context26.next) {
1463
+ _args27 = arguments;
1464
+ return _regeneratorRuntime().wrap(function _callee27$(_context27) {
1465
+ while (1) switch (_context27.prev = _context27.next) {
1433
1466
  case 0:
1434
- _context26.next = 2;
1435
- return this.get_list.apply(this, _args26);
1467
+ _context27.next = 2;
1468
+ return this.get_list.apply(this, _args27);
1436
1469
  case 2:
1437
- itemlist = _context26.sent;
1438
- _context26.next = 5;
1470
+ itemlist = _context27.sent;
1471
+ _context27.next = 5;
1439
1472
  return Promise.all(itemlist.map( /*#__PURE__*/function () {
1440
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(r) {
1441
- return _regeneratorRuntime().wrap(function _callee25$(_context25) {
1442
- while (1) switch (_context25.prev = _context25.next) {
1473
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(r) {
1474
+ return _regeneratorRuntime().wrap(function _callee26$(_context26) {
1475
+ while (1) switch (_context26.prev = _context26.next) {
1443
1476
  case 0:
1444
- _context25.next = 2;
1477
+ _context26.next = 2;
1445
1478
  return r.get_basicObject();
1446
1479
  case 2:
1447
- return _context25.abrupt("return", _context25.sent);
1480
+ return _context26.abrupt("return", _context26.sent);
1448
1481
  case 3:
1449
1482
  case "end":
1450
- return _context25.stop();
1483
+ return _context26.stop();
1451
1484
  }
1452
- }, _callee25);
1485
+ }, _callee26);
1453
1486
  }));
1454
- return function (_x8) {
1487
+ return function (_x9) {
1455
1488
  return _ref2.apply(this, arguments);
1456
1489
  };
1457
1490
  }()));
1458
1491
  case 5:
1459
- return _context26.abrupt("return", _context26.sent);
1492
+ return _context27.abrupt("return", _context27.sent);
1460
1493
  case 6:
1461
1494
  case "end":
1462
- return _context26.stop();
1495
+ return _context27.stop();
1463
1496
  }
1464
- }, _callee26, this);
1497
+ }, _callee27, this);
1465
1498
  }));
1466
1499
  function get_basicList() {
1467
1500
  return _get_basicList.apply(this, arguments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.5.11",
3
+ "version": "1.5.12",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",