@ardimedia/angular-portal-azure 0.2.74 → 0.2.76
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 -1
- package/apn.js +3 -1
- package/directives/nav/nav.html +1 -11
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -349,7 +349,8 @@ declare namespace angularportalazure {
|
|
|
349
349
|
isVisible: boolean;
|
|
350
350
|
callback: () => any;
|
|
351
351
|
bladeNav: angularportalazure.BladeNav;
|
|
352
|
-
|
|
352
|
+
cssClass: string;
|
|
353
|
+
constructor(title?: string, bladePath?: string, hrefPath?: string, roles?: string, isVisible?: boolean, callback?: () => any, bladeNav?: angularportalazure.BladeNav, cssClass?: string);
|
|
353
354
|
onNavItemClick(): void;
|
|
354
355
|
}
|
|
355
356
|
}
|
package/apn.js
CHANGED
|
@@ -1399,7 +1399,7 @@ 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, bladePath, hrefPath, roles, isVisible, callback, bladeNav, cssClass) {
|
|
1403
1403
|
if (title === void 0) { title = ''; }
|
|
1404
1404
|
if (bladePath === void 0) { bladePath = ''; }
|
|
1405
1405
|
if (hrefPath === void 0) { hrefPath = ""; }
|
|
@@ -1407,6 +1407,7 @@ var angularportalazure;
|
|
|
1407
1407
|
if (isVisible === void 0) { isVisible = true; }
|
|
1408
1408
|
if (callback === void 0) { callback = null; }
|
|
1409
1409
|
if (bladeNav === void 0) { bladeNav = null; }
|
|
1410
|
+
if (cssClass === void 0) { cssClass = "fa fa-bars"; }
|
|
1410
1411
|
this.title = title;
|
|
1411
1412
|
this.bladePath = bladePath;
|
|
1412
1413
|
this.hrefPath = hrefPath;
|
|
@@ -1414,6 +1415,7 @@ var angularportalazure;
|
|
|
1414
1415
|
this.isVisible = isVisible;
|
|
1415
1416
|
this.callback = callback;
|
|
1416
1417
|
this.bladeNav = bladeNav;
|
|
1418
|
+
this.cssClass = cssClass;
|
|
1417
1419
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNavItem\' constructor called.', [this, title, bladePath, hrefPath, roles, isVisible]);
|
|
1418
1420
|
}
|
|
1419
1421
|
//#endregion
|
package/directives/nav/nav.html
CHANGED
|
@@ -7,17 +7,7 @@
|
|
|
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
|
-
<
|
|
11
|
-
<div data-bind="image: value">
|
|
12
|
-
<svg data-ng-show="item.title" xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 50 50" focusable="false">
|
|
13
|
-
<rect class="msportalfx-svg-c04" x="19.8" y="39.4" width="10.6" height="3.4" />
|
|
14
|
-
<polygon class="msportalfx-svg-c04" points="23.1,50 27,50 30.3,46.5 19.8,46.5" />
|
|
15
|
-
<path class="msportalfx-svg-c20" d="M 41.2 14.7 L 41.2 14.7 v -0.3 c 0 -7.7 -6.6 -14.1 -14.7 -14.2 c -0.2 -0.3 -4.8 0.1 -4.8 0.1 l 0 0 c -7.3 0.9 -13 7 -13 14.1 c 0 0.2 -0.8 5.8 4.9 10.5 c 2.6 2.3 5.3 8.5 5.7 10.3 l 0.3 0.6 h 10.6 l 0.3 -0.6 c 0.4 -1.8 3.2 -8 5.7 -10.2 C 41.9 20.2 41.2 14.9 41.2 14.7 Z" />
|
|
16
|
-
<path class="msportalfx-svg-c01" d="M 30.4 18.1 l -1.7 10.6 h -2 V 18.2 l 0.1 -0.2 c 3.8 0 3.3 -3.5 3.3 -3.5 H 19.8 v 0.3 c 0 0.8 0.3 3.3 3.5 3.3 v 10.6 h -2 l -0.5 -2.5 l -1.3 -8.1 c -2.3 0 -3 -1.5 -3.3 -2.6 c 0 -0.4 0 -0.9 0 -1.4 c 0 -2.8 3.2 -3.1 3.2 -3.1 h 11 c 0 0 3.5 0.4 3.5 3.5 C 33.8 14.5 33.9 18.1 30.4 18.1 Z" />
|
|
17
|
-
<path class="msportalfx-svg-c01" opacity="0.15" enable-background="new " d="M 41.2 16.4 c 0.1 -1 0 -1.7 0 -1.8 l 0 0 v -0.3 c 0 -7.7 -6.6 -14.1 -14.7 -14.2 c -0.2 -0.3 -4.8 0.1 -4.8 0.1 l 0 0 c -7.3 0.9 -13 7 -13 14.1 c 0 0.1 -0.1 0.9 0 2.1 H 41.2 Z" />
|
|
18
|
-
</svg>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
10
|
+
<i ng-class="{{item.cssClass}}"></i>
|
|
21
11
|
</td>
|
|
22
12
|
<td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
|
|
23
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.76",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|