@ardimedia/angular-portal-azure 0.2.270 → 0.2.271
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.
- package/apn.d.ts +3 -0
- package/apn.js +8 -0
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -124,6 +124,7 @@ declare namespace angularportalazure {
|
|
|
124
124
|
activate(): void;
|
|
125
125
|
/** Override */
|
|
126
126
|
onActivate(): void;
|
|
127
|
+
/** Override */
|
|
127
128
|
onActivated(): void;
|
|
128
129
|
navigateTo(path: any): void;
|
|
129
130
|
/** Must be overridden. */
|
|
@@ -131,6 +132,8 @@ declare namespace angularportalazure {
|
|
|
131
132
|
comparePaths(path1: string, path2: string): boolean;
|
|
132
133
|
/** close blade. */
|
|
133
134
|
close(): void;
|
|
135
|
+
/** Override */
|
|
136
|
+
onClose(): boolean;
|
|
134
137
|
clearStatusBar(): void;
|
|
135
138
|
setStatusBar(text?: string, style?: string): void;
|
|
136
139
|
setStatusBarCopyData(): void;
|
package/apn.js
CHANGED
|
@@ -286,6 +286,7 @@ var angularportalazure;
|
|
|
286
286
|
/** Override */
|
|
287
287
|
Blade.prototype.onActivate = function () {
|
|
288
288
|
};
|
|
289
|
+
/** Override */
|
|
289
290
|
Blade.prototype.onActivated = function () {
|
|
290
291
|
};
|
|
291
292
|
Blade.prototype.navigateTo = function (path) {
|
|
@@ -312,6 +313,9 @@ var angularportalazure;
|
|
|
312
313
|
};
|
|
313
314
|
/** close blade. */
|
|
314
315
|
Blade.prototype.close = function () {
|
|
316
|
+
if (!this.onClose) {
|
|
317
|
+
return; // do not close blade
|
|
318
|
+
}
|
|
315
319
|
if (this.portalService.areaBlades !== undefined) {
|
|
316
320
|
this.portalService.areaBlades.clearPath(this.path);
|
|
317
321
|
}
|
|
@@ -319,6 +323,10 @@ var angularportalazure;
|
|
|
319
323
|
throw new Error('[angularportalazure.Blade] path: \'' + this.path + '\' could not be removed, since no \'this.portalService.areaBlades\' available.');
|
|
320
324
|
}
|
|
321
325
|
};
|
|
326
|
+
/** Override */
|
|
327
|
+
Blade.prototype.onClose = function () {
|
|
328
|
+
return true;
|
|
329
|
+
};
|
|
322
330
|
// #region Set StatusBar
|
|
323
331
|
Blade.prototype.clearStatusBar = function () {
|
|
324
332
|
this.statusBar = '';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.271",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|