@azrico/webobject 1.3.6 → 1.3.7
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.
|
@@ -21,6 +21,7 @@ export declare class SimpleObject extends MapableObject {
|
|
|
21
21
|
__lastChanged: string;
|
|
22
22
|
__is_readonly: boolean;
|
|
23
23
|
__throw_errors: boolean;
|
|
24
|
+
__deleted: boolean;
|
|
24
25
|
__errors?: any[];
|
|
25
26
|
__showErrors?: boolean;
|
|
26
27
|
__saveResultObject?: any;
|
|
@@ -73,6 +74,7 @@ export declare class SimpleObject extends MapableObject {
|
|
|
73
74
|
static setThrowErrors(objs?: SimpleObject[] | SimpleObject, throwErr?: boolean): void;
|
|
74
75
|
get isChanged(): boolean;
|
|
75
76
|
get isDeleted(): boolean;
|
|
77
|
+
set isDeleted(v: boolean);
|
|
76
78
|
get d(): Partial<this>;
|
|
77
79
|
get allproperties(): this & Partial<this>;
|
|
78
80
|
get canModify(): boolean;
|
|
@@ -68,6 +68,7 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject) {
|
|
|
68
68
|
_defineProperty(_assertThisInitialized(_this), "__lastChanged", "");
|
|
69
69
|
_defineProperty(_assertThisInitialized(_this), "__is_readonly", void 0);
|
|
70
70
|
_defineProperty(_assertThisInitialized(_this), "__throw_errors", void 0);
|
|
71
|
+
_defineProperty(_assertThisInitialized(_this), "__deleted", void 0);
|
|
71
72
|
//errors
|
|
72
73
|
_defineProperty(_assertThisInitialized(_this), "__errors", void 0);
|
|
73
74
|
_defineProperty(_assertThisInitialized(_this), "__showErrors", void 0);
|
|
@@ -88,6 +89,7 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject) {
|
|
|
88
89
|
_defineProperty(_assertThisInitialized(_this), "get_managerClass", function () {
|
|
89
90
|
return null;
|
|
90
91
|
});
|
|
92
|
+
_this.__deleted = false;
|
|
91
93
|
_this.__delta = {};
|
|
92
94
|
_this.__temp = {};
|
|
93
95
|
_this.__is_readonly = is_readonly;
|
|
@@ -435,7 +437,10 @@ var SimpleObject = /*#__PURE__*/function (_MapableObject) {
|
|
|
435
437
|
}, {
|
|
436
438
|
key: "isDeleted",
|
|
437
439
|
get: function get() {
|
|
438
|
-
return false;
|
|
440
|
+
return this.__deleted || false;
|
|
441
|
+
},
|
|
442
|
+
set: function set(v) {
|
|
443
|
+
this.__deleted = v;
|
|
439
444
|
}
|
|
440
445
|
}, {
|
|
441
446
|
key: "d",
|