@ardimedia/angular-portal-azure 0.2.77 → 0.2.79
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 -2
- package/apn.js +11 -4
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -343,14 +343,14 @@ declare namespace angularportalazure {
|
|
|
343
343
|
declare namespace angularportalazure {
|
|
344
344
|
class BladeNavItem {
|
|
345
345
|
title: string;
|
|
346
|
+
cssClass: string;
|
|
346
347
|
bladePath: string;
|
|
347
348
|
hrefPath: string;
|
|
348
349
|
roles: string;
|
|
349
350
|
isVisible: boolean;
|
|
350
351
|
callback: () => any;
|
|
351
352
|
bladeNav: angularportalazure.BladeNav;
|
|
352
|
-
cssClass
|
|
353
|
-
constructor(title?: string, bladePath?: string, hrefPath?: string, roles?: string, isVisible?: boolean, callback?: () => any, bladeNav?: angularportalazure.BladeNav, cssClass?: string);
|
|
353
|
+
constructor(title?: string, cssClass?: string, bladePath?: string, hrefPath?: string, roles?: string, isVisible?: boolean, callback?: () => any, bladeNav?: angularportalazure.BladeNav);
|
|
354
354
|
onNavItemClick(): void;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
@@ -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
|
@@ -1399,23 +1399,23 @@ var angularportalazure;
|
|
|
1399
1399
|
(function (angularportalazure) {
|
|
1400
1400
|
var BladeNavItem = (function () {
|
|
1401
1401
|
//#region Constructor
|
|
1402
|
-
function BladeNavItem(title, bladePath, hrefPath, roles, isVisible, callback, bladeNav
|
|
1402
|
+
function BladeNavItem(title, cssClass, bladePath, hrefPath, roles, isVisible, callback, bladeNav) {
|
|
1403
1403
|
if (title === void 0) { title = ''; }
|
|
1404
|
+
if (cssClass === void 0) { cssClass = ""; }
|
|
1404
1405
|
if (bladePath === void 0) { bladePath = ''; }
|
|
1405
1406
|
if (hrefPath === void 0) { hrefPath = ""; }
|
|
1406
1407
|
if (roles === void 0) { roles = ""; }
|
|
1407
1408
|
if (isVisible === void 0) { isVisible = true; }
|
|
1408
1409
|
if (callback === void 0) { callback = null; }
|
|
1409
1410
|
if (bladeNav === void 0) { bladeNav = null; }
|
|
1410
|
-
if (cssClass === void 0) { cssClass = ""; }
|
|
1411
1411
|
this.title = title;
|
|
1412
|
+
this.cssClass = cssClass;
|
|
1412
1413
|
this.bladePath = bladePath;
|
|
1413
1414
|
this.hrefPath = hrefPath;
|
|
1414
1415
|
this.roles = roles;
|
|
1415
1416
|
this.isVisible = isVisible;
|
|
1416
1417
|
this.callback = callback;
|
|
1417
1418
|
this.bladeNav = bladeNav;
|
|
1418
|
-
this.cssClass = cssClass;
|
|
1419
1419
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNavItem\' constructor called.', [this, title, bladePath, hrefPath, roles, isVisible]);
|
|
1420
1420
|
}
|
|
1421
1421
|
//#endregion
|
|
@@ -1449,8 +1449,15 @@ var angularportalazure;
|
|
|
1449
1449
|
_this.items = new Array();
|
|
1450
1450
|
_this.isNav = true;
|
|
1451
1451
|
return _this;
|
|
1452
|
-
//super.navigateTo = this.navigateTo;
|
|
1453
1452
|
}
|
|
1453
|
+
//#endregion
|
|
1454
|
+
//#region Methods
|
|
1455
|
+
BladeNav.prototype.onNavigateTo = function (path) {
|
|
1456
|
+
if (path === '') {
|
|
1457
|
+
return;
|
|
1458
|
+
}
|
|
1459
|
+
this.portalService.bladeArea.raiseAddBladeEvent({ path: path, pathSender: this.blade.path });
|
|
1460
|
+
};
|
|
1454
1461
|
return BladeNav;
|
|
1455
1462
|
}(angularportalazure.BladeData));
|
|
1456
1463
|
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.79",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|