@azrico/webobject 1.4.107 → 1.4.109
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.
|
@@ -994,7 +994,6 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
|
|
|
994
994
|
readonly,
|
|
995
995
|
fetchID,
|
|
996
996
|
result_items,
|
|
997
|
-
selftype,
|
|
998
997
|
res,
|
|
999
998
|
_args18 = arguments;
|
|
1000
999
|
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
@@ -1013,14 +1012,12 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
|
|
|
1013
1012
|
});
|
|
1014
1013
|
case 7:
|
|
1015
1014
|
result_items = _context18.sent;
|
|
1016
|
-
selftype =
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
console.log("constructor", this.constructor);
|
|
1020
|
-
res = WebObject.map_rowindex(WebObject.mapto(selftype, result_items, readonly));
|
|
1015
|
+
// const selftype = (this.constructor ||
|
|
1016
|
+
// Object.getPrototypeOf(this)) as any;
|
|
1017
|
+
res = WebObject.map_rowindex(WebObject.mapto(this, result_items, readonly));
|
|
1021
1018
|
WebObject.setReadonly(res, readonly);
|
|
1022
1019
|
return _context18.abrupt("return", res);
|
|
1023
|
-
case
|
|
1020
|
+
case 11:
|
|
1024
1021
|
case "end":
|
|
1025
1022
|
return _context18.stop();
|
|
1026
1023
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azrico/webobject",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.109",
|
|
4
4
|
"description": "Stateful object",
|
|
5
5
|
"author": "Azrideus",
|
|
6
6
|
"license": "MIT",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@azrico/convert": "^1.0.5",
|
|
75
75
|
"@azrico/event": "^1.2.17",
|
|
76
|
-
"@azrico/global": "^1.3.
|
|
76
|
+
"@azrico/global": "^1.3.67",
|
|
77
77
|
"@azrico/math": "^1.0.5",
|
|
78
|
-
"@azrico/object": "^1.4.
|
|
79
|
-
"@azrico/string": "^1.2.
|
|
78
|
+
"@azrico/object": "^1.4.92",
|
|
79
|
+
"@azrico/string": "^1.2.89",
|
|
80
80
|
"@azrico/types": "^1.0.4",
|
|
81
81
|
"@azrico/uid": "^1.0.5"
|
|
82
82
|
},
|