@azrico/webobject 1.2.11 → 1.2.13

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.
@@ -354,7 +354,7 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
354
354
 
355
355
  isChild = Boolean(p.isChild || p.ischild); //@ts-ignore
356
356
 
357
- useDelta = Boolean(p.useDelta || p.usedelta); //@ts-ignore
357
+ useDelta = this.__use_delta || Boolean(p.useDelta || p.usedelta); //@ts-ignore
358
358
 
359
359
  allProperties = Boolean(p.allProperties || p.allproperties);
360
360
  chkChangables = this.__changeables != null || this.__unchangeables != null;
@@ -8,6 +8,8 @@ export declare class MapableObject {
8
8
  __table_id?: string;
9
9
  __row_number?: number;
10
10
  constructor();
11
+ getUID(): string;
12
+ static getUID(o: MapableObject): string;
11
13
  static mapto<T>(maptoType: {
12
14
  new (...p: any): T;
13
15
  }, objectlist: any[] | null | undefined, is_readonly?: boolean, ...p: any[]): T[];
@@ -43,7 +43,19 @@ var MapableObject = /*#__PURE__*/function () {
43
43
  this.__uid = _uid.uid.localuid();
44
44
  }
45
45
 
46
- _createClass(MapableObject, null, [{
46
+ _createClass(MapableObject, [{
47
+ key: "getUID",
48
+ value: function getUID() {
49
+ return MapableObject.getUID(this);
50
+ }
51
+ /* -------------------------------------------------------------------------- */
52
+
53
+ }], [{
54
+ key: "getUID",
55
+ value: function getUID(o) {
56
+ return o.__uid;
57
+ }
58
+ }, {
47
59
  key: "mapto",
48
60
  value: function mapto(maptoType, objectlist) {
49
61
  var _this = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",