@ardimedia/angular-portal-azure 0.2.76 → 0.2.78
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 +2 -2
- package/apn.js +3 -3
- package/directives/nav/nav.html +2 -2
- 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
|
}
|
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 = "fa fa-bars"; }
|
|
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
|
package/directives/nav/nav.html
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<table class="azc-grid-full azc-grid-multiselectable" aria-readonly="true">
|
|
2
2
|
<caption data-bind="text: data.summary"></caption>
|
|
3
3
|
<colgroup>
|
|
4
|
-
<col class="col0" style="width:
|
|
4
|
+
<col class="col0" style="width: 15px;">
|
|
5
5
|
<col class="col1">
|
|
6
6
|
</colgroup>
|
|
7
7
|
<tbody class="azc-grid-groupdata" role="rowgroup">
|
|
8
8
|
<tr data-ng-repeat="item in $ctrl.vm.items track by $index" data-ng-click="$ctrl.vm.navigateTo(item.bladePath);item.onNavItemClick();" role="row" aria-selected="false" data-grid-row-activated="false" data-grid-selectable="true" data-grid-focusable="true" data-grid-activateable="true" ng-show="item.isVisible" style="cursor:pointer" ng-style="item.style">
|
|
9
9
|
<td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
|
|
10
|
-
<i ng-class="
|
|
10
|
+
<i ng-class="item.cssClass"></i>
|
|
11
11
|
</td>
|
|
12
12
|
<td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
|
|
13
13
|
<a ng-href="{{item.hrefPath}}" target="_blank" style="color:black">{{item.title}}</a>
|
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.78",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|