@azrico/webobject 1.2.20 → 1.2.21
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.
|
@@ -63,8 +63,9 @@ export declare class WebObject extends SimpleObject {
|
|
|
63
63
|
get_deltaObject(p?: deltaParams): Promise<any>;
|
|
64
64
|
get __web_path(): string;
|
|
65
65
|
get __web_type(): string;
|
|
66
|
-
|
|
66
|
+
get_webtype: () => string;
|
|
67
67
|
get_webpath: () => string;
|
|
68
|
+
static get_webname(): string | undefined;
|
|
68
69
|
get manager(): WebObjectManager<any> | null;
|
|
69
70
|
get_managerClass: () => WebObjectManager<any> | null;
|
|
70
71
|
onLoad(...p: any): Promise<any>;
|
|
@@ -73,7 +73,7 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
73
73
|
|
|
74
74
|
_defineProperty(_assertThisInitialized(_this), "_created_date", "");
|
|
75
75
|
|
|
76
|
-
_defineProperty(_assertThisInitialized(_this), "
|
|
76
|
+
_defineProperty(_assertThisInitialized(_this), "get_webtype", function () {
|
|
77
77
|
return _this.__web_type || _this.get_webpath();
|
|
78
78
|
});
|
|
79
79
|
|
|
@@ -608,6 +608,11 @@ var WebObject = /*#__PURE__*/function (_SimpleObject) {
|
|
|
608
608
|
|
|
609
609
|
return false;
|
|
610
610
|
}
|
|
611
|
+
}, {
|
|
612
|
+
key: "get_webname",
|
|
613
|
+
value: function get_webname() {
|
|
614
|
+
return this.__web_path || this.__web_type || this.__cache_name;
|
|
615
|
+
}
|
|
611
616
|
}, {
|
|
612
617
|
key: "get_single",
|
|
613
618
|
value: function () {
|