@ardimedia/angular-portal-azure 0.2.78 → 0.2.80
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 +1 -0
- package/apn.js +9 -3
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -359,6 +359,7 @@ declare namespace angularportalazure {
|
|
|
359
359
|
constructor(portalService: angularportalazure.PortalService, path: string, title?: string, subtitle?: string, width?: number);
|
|
360
360
|
items: Array<angularportalazure.BladeNavItem>;
|
|
361
361
|
isNav: boolean;
|
|
362
|
+
onNavigateTo(path: string): void;
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
365
|
declare namespace angularportalazure {
|
package/apn.js
CHANGED
|
@@ -308,7 +308,6 @@ var angularportalazure;
|
|
|
308
308
|
};
|
|
309
309
|
Blade.prototype.onActivate = function () {
|
|
310
310
|
//throw new Error('[angularportalazure.Blade] \'onActivate\' is an abstract function. Define one in the derived class.');
|
|
311
|
-
console.log('function call: Blade.onActivate() - we should override this, but does it work?');
|
|
312
311
|
};
|
|
313
312
|
Blade.prototype.onActivated = function () {
|
|
314
313
|
};
|
|
@@ -1442,15 +1441,22 @@ var angularportalazure;
|
|
|
1442
1441
|
function BladeNav(portalService, path, title, subtitle, width) {
|
|
1443
1442
|
if (title === void 0) { title = ''; }
|
|
1444
1443
|
if (subtitle === void 0) { subtitle = ''; }
|
|
1445
|
-
if (width === void 0) { width =
|
|
1444
|
+
if (width === void 0) { width = 315; }
|
|
1446
1445
|
var _this = _super.call(this, portalService, path, title, subtitle, width) || this;
|
|
1447
1446
|
//#endregion
|
|
1448
1447
|
//#region Properties
|
|
1449
1448
|
_this.items = new Array();
|
|
1450
1449
|
_this.isNav = true;
|
|
1451
1450
|
return _this;
|
|
1452
|
-
//super.navigateTo = this.navigateTo;
|
|
1453
1451
|
}
|
|
1452
|
+
//#endregion
|
|
1453
|
+
//#region Methods
|
|
1454
|
+
BladeNav.prototype.onNavigateTo = function (path) {
|
|
1455
|
+
if (path === '') {
|
|
1456
|
+
return;
|
|
1457
|
+
}
|
|
1458
|
+
this.portalService.bladeArea.raiseAddBladeEvent({ path: path, pathSender: this.blade.path });
|
|
1459
|
+
};
|
|
1454
1460
|
return BladeNav;
|
|
1455
1461
|
}(angularportalazure.BladeData));
|
|
1456
1462
|
angularportalazure.BladeNav = BladeNav;
|
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.80",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|