@azrico/webobject 1.4.83 → 1.4.85
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.
|
@@ -73,7 +73,8 @@ export declare class WebObject extends SimpleObject {
|
|
|
73
73
|
get __web_path(): string;
|
|
74
74
|
get __web_type(): string;
|
|
75
75
|
get manager(): WebObjectManager<any> | undefined;
|
|
76
|
-
|
|
76
|
+
get_webname(): string;
|
|
77
|
+
static get_webname(): string;
|
|
77
78
|
onDelete(...p: any): Promise<any>;
|
|
78
79
|
onLoad(...p: any): Promise<any>;
|
|
79
80
|
onSave(...p: any): Promise<any>;
|
|
@@ -436,6 +436,11 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
|
|
|
436
436
|
get: function get() {
|
|
437
437
|
return this.get_managerClass() || undefined;
|
|
438
438
|
}
|
|
439
|
+
}, {
|
|
440
|
+
key: "get_webname",
|
|
441
|
+
value: function get_webname() {
|
|
442
|
+
return this.__web_path || this.__web_type || this.__cache_name || "";
|
|
443
|
+
}
|
|
439
444
|
}, {
|
|
440
445
|
key: "onDelete",
|
|
441
446
|
value: /* -------------------------------------------------------------------------- */function onDelete() {
|
|
@@ -764,7 +769,7 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
|
|
|
764
769
|
}, {
|
|
765
770
|
key: "get_webname",
|
|
766
771
|
value: function get_webname() {
|
|
767
|
-
return this.__web_path || this.__web_type || this.__cache_name;
|
|
772
|
+
return this.__web_path || this.__web_type || this.__cache_name || "";
|
|
768
773
|
}
|
|
769
774
|
}, {
|
|
770
775
|
key: "saveResultHasID",
|
|
@@ -214,7 +214,7 @@ var WebObjectManager = /*#__PURE__*/function (_ObjectManager, _setMetaValue, _ge
|
|
|
214
214
|
key: "__web_type",
|
|
215
215
|
get: function get() {
|
|
216
216
|
var _this$obj7, _this$constructor$__o3, _this$obj8, _this$constructor$__o4;
|
|
217
|
-
return ((_this$obj7 = this.obj) === null || _this$obj7 === void 0 ? void 0 : _this$obj7.__web_type) || ((_this$constructor$__o3 = this.constructor["__object_type"]) === null || _this$constructor$__o3 === void 0 ? void 0 : _this$constructor$__o3.__web_type) || this.__last_web_type || ( //alternative
|
|
217
|
+
return ((_this$obj7 = this.obj) === null || _this$obj7 === void 0 ? void 0 : _this$obj7.__web_type) || ((_this$constructor$__o3 = this.constructor["__object_type"]) === null || _this$constructor$__o3 === void 0 ? void 0 : _this$constructor$__o3.__web_type) || this.__last_web_type || ( //alternative
|
|
218
218
|
(_this$obj8 = this.obj) === null || _this$obj8 === void 0 ? void 0 : _this$obj8.__web_path) || ((_this$constructor$__o4 = this.constructor["__object_type"]) === null || _this$constructor$__o4 === void 0 ? void 0 : _this$constructor$__o4.__web_path) || this.__last_web_path || "";
|
|
219
219
|
}
|
|
220
220
|
}, {
|