@azrico/webobject 1.5.30 → 1.5.32
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.
|
@@ -19,7 +19,7 @@ export declare class WebObjectPathHelper {
|
|
|
19
19
|
* @param action
|
|
20
20
|
* @returns
|
|
21
21
|
*/
|
|
22
|
-
static get_path
|
|
22
|
+
static get_path<T extends WebObject | typeof WebObject>(obj: T, action: string): Promise<string>;
|
|
23
23
|
/**
|
|
24
24
|
* clear all paths that are override by `override_path`
|
|
25
25
|
*/
|
|
@@ -67,11 +67,12 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
|
|
|
67
67
|
case 3:
|
|
68
68
|
if (value === undefined && type != "meta") value = obj.get(key);
|
|
69
69
|
typestr = (type ? "$".concat(type, "$") : "") + String(key);
|
|
70
|
-
|
|
70
|
+
console.log("notifyChanged", key, value);
|
|
71
|
+
_context.next = 8;
|
|
71
72
|
return this.event_run("on_change", typestr, value);
|
|
72
|
-
case 7:
|
|
73
|
-
return _context.abrupt("return", _context.sent);
|
|
74
73
|
case 8:
|
|
74
|
+
return _context.abrupt("return", _context.sent);
|
|
75
|
+
case 9:
|
|
75
76
|
case "end":
|
|
76
77
|
return _context.stop();
|
|
77
78
|
}
|
|
@@ -696,8 +696,9 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
|
|
|
696
696
|
case 9:
|
|
697
697
|
return _context12.abrupt("return", _context12.sent);
|
|
698
698
|
case 10:
|
|
699
|
+
console.log("notifyChanged Failed NO MANAGER");
|
|
699
700
|
return _context12.abrupt("return", false);
|
|
700
|
-
case
|
|
701
|
+
case 12:
|
|
701
702
|
case "end":
|
|
702
703
|
return _context12.stop();
|
|
703
704
|
}
|