@azrico/webobject 1.4.150 → 1.4.151

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.
@@ -69,11 +69,12 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
69
69
  case 3:
70
70
  if (value === undefined && type != "meta") value = obj.getValue(key);
71
71
  typestr = (type ? "$".concat(type, "$") : "") + String(key);
72
- _context.next = 7;
72
+ console.log("event_run", typestr, value);
73
+ _context.next = 8;
73
74
  return this.event_run("on_change", typestr, value);
74
- case 7:
75
- return _context.abrupt("return", _context.sent);
76
75
  case 8:
76
+ return _context.abrupt("return", _context.sent);
77
+ case 9:
77
78
  case "end":
78
79
  return _context.stop();
79
80
  }
@@ -184,9 +184,8 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
184
184
  _context.next = 13;
185
185
  return this.notifyChanged("", key, value);
186
186
  case 13:
187
- console.log("setValue", key, value, isValueChanged);
188
187
  return _context.abrupt("return", isValueChanged);
189
- case 15:
188
+ case 14:
190
189
  case "end":
191
190
  return _context.stop();
192
191
  }
@@ -617,16 +616,17 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
617
616
  /* --------------------------- notify the manager --------------------------- */
618
617
  manager_class = this.manager;
619
618
  if (!(typeof (manager_class === null || manager_class === void 0 ? void 0 : manager_class.notifyChanged) === "function")) {
620
- _context11.next = 11;
619
+ _context11.next = 12;
621
620
  break;
622
621
  }
623
- _context11.next = 10;
622
+ console.log("notify manager", type, key, value);
623
+ _context11.next = 11;
624
624
  return manager_class.notifyChanged(type, key, value, subvalue);
625
- case 10:
626
- return _context11.abrupt("return", _context11.sent);
627
625
  case 11:
628
- return _context11.abrupt("return", false);
626
+ return _context11.abrupt("return", _context11.sent);
629
627
  case 12:
628
+ return _context11.abrupt("return", false);
629
+ case 13:
630
630
  case "end":
631
631
  return _context11.stop();
632
632
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.4.150",
3
+ "version": "1.4.151",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",
@@ -70,8 +70,8 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@azrico/convert": "^1.0.5",
73
- "@azrico/event": "^1.2.34",
74
- "@azrico/global": "^1.3.76",
73
+ "@azrico/event": "^1.2.43",
74
+ "@azrico/global": "^1.3.78",
75
75
  "@azrico/math": "^1.0.5",
76
76
  "@azrico/object": "^1.4.101",
77
77
  "@azrico/string": "^1.2.95",