@azrico/webobject 1.4.83 → 1.4.84
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,7 @@ 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
|
-
static get_webname(): string
|
|
76
|
+
static get_webname(): string;
|
|
77
77
|
onDelete(...p: any): Promise<any>;
|
|
78
78
|
onLoad(...p: any): Promise<any>;
|
|
79
79
|
onSave(...p: any): Promise<any>;
|
|
@@ -764,7 +764,7 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
|
|
|
764
764
|
}, {
|
|
765
765
|
key: "get_webname",
|
|
766
766
|
value: function get_webname() {
|
|
767
|
-
return this.__web_path || this.__web_type || this.__cache_name;
|
|
767
|
+
return this.__web_path || this.__web_type || this.__cache_name || "";
|
|
768
768
|
}
|
|
769
769
|
}, {
|
|
770
770
|
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
|
}, {
|