@ardimedia/angular-portal-azure 0.2.73 → 0.2.75
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 +2 -5
- package/directives/nav/nav.html +1 -11
- package/package.json +1 -1
package/apn.d.ts
CHANGED
package/apn.js
CHANGED
|
@@ -303,7 +303,6 @@ var angularportalazure;
|
|
|
303
303
|
//#region Methods
|
|
304
304
|
//#region Methods
|
|
305
305
|
Blade.prototype.activate = function () {
|
|
306
|
-
console.log('function call: Blade.activate() - from where is this called?');
|
|
307
306
|
this.onActivate();
|
|
308
307
|
this.onActivated();
|
|
309
308
|
};
|
|
@@ -312,7 +311,6 @@ var angularportalazure;
|
|
|
312
311
|
console.log('function call: Blade.onActivate() - we should override this, but does it work?');
|
|
313
312
|
};
|
|
314
313
|
Blade.prototype.onActivated = function () {
|
|
315
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'onActivated\' called. You could override this.');
|
|
316
314
|
};
|
|
317
315
|
Blade.prototype.navigateTo = function (path) {
|
|
318
316
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this, path]);
|
|
@@ -731,6 +729,7 @@ var angularportalazure;
|
|
|
731
729
|
var Tile = (function () {
|
|
732
730
|
//#region Constructor
|
|
733
731
|
function Tile(title, bladePath, portalService) {
|
|
732
|
+
this.cssClass = "fa fa-bars";
|
|
734
733
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Tile\' constructor called.', [this, title, bladePath, portalService]);
|
|
735
734
|
this.portalService = portalService;
|
|
736
735
|
this.title = title;
|
|
@@ -752,9 +751,7 @@ var angularportalazure;
|
|
|
752
751
|
//#endregion
|
|
753
752
|
//#region Methods
|
|
754
753
|
Tile.prototype.clicked = function () {
|
|
755
|
-
|
|
756
|
-
var blade = this.portalService.bladeArea.setFirstBlade(this.bladePath);
|
|
757
|
-
blade.activate();
|
|
754
|
+
this.portalService.bladeArea.setFirstBlade(this.bladePath);
|
|
758
755
|
};
|
|
759
756
|
return Tile;
|
|
760
757
|
}());
|
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.75",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|