@azrico/webobject 1.5.73 → 1.5.74
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,6 +69,11 @@ export declare class SimpleObject extends MapableObject {
|
|
|
69
69
|
* @returns
|
|
70
70
|
*/
|
|
71
71
|
static get<T extends SimpleObject, MKey extends PropOf<T>>(obj: T, key: MKey, original?: boolean): PropType<T, MKey> | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* get on any value: a SimpleObject, a plain copy of one that keeps its `__delta`
|
|
74
|
+
* (grid rows, spreads) or a plain object
|
|
75
|
+
*/
|
|
76
|
+
static get(obj: any, key: PropertyKey, original?: boolean): any;
|
|
72
77
|
/**
|
|
73
78
|
* static set method, uses `set` of the object when it is a SimpleObject
|
|
74
79
|
* and changes a plain object in place (compared loosely, `"5"` equals `5`)
|
|
@@ -127,13 +127,6 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
|
|
|
127
127
|
}
|
|
128
128
|
return is_fnc ? (0, _object.fn_eval_this)(this, used_value) : used_value;
|
|
129
129
|
}
|
|
130
|
-
/**
|
|
131
|
-
* static get method for SimpleObject
|
|
132
|
-
* @param obj
|
|
133
|
-
* @param key
|
|
134
|
-
* @param original
|
|
135
|
-
* @returns
|
|
136
|
-
*/
|
|
137
130
|
}, {
|
|
138
131
|
key: "setValueOf",
|
|
139
132
|
value:
|