@ardimedia/angular-portal-azure 0.2.20 → 0.2.22
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.js
CHANGED
|
@@ -901,7 +901,7 @@ var angularportalazure;
|
|
|
901
901
|
restrict: 'E',
|
|
902
902
|
transclude: true,
|
|
903
903
|
scope: {},
|
|
904
|
-
bindToController: { vm: '=
|
|
904
|
+
bindToController: { vm: '=' },
|
|
905
905
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
906
906
|
link: function (scope, element, attrs, controller) {
|
|
907
907
|
console.log('azurePortalBlade.link()');
|
|
@@ -980,7 +980,7 @@ var angularportalazure;
|
|
|
980
980
|
return {
|
|
981
981
|
restrict: 'E',
|
|
982
982
|
scope: {},
|
|
983
|
-
bindToController: { vm: '=
|
|
983
|
+
bindToController: { vm: '=' },
|
|
984
984
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
|
|
985
985
|
link: function (scope, element, attrs, controller) {
|
|
986
986
|
console.log('azurePortalHome.link()');
|
|
@@ -989,7 +989,8 @@ var angularportalazure;
|
|
|
989
989
|
controller: function () {
|
|
990
990
|
console.log('azurePortalHome.controller()');
|
|
991
991
|
console.log(this);
|
|
992
|
-
}
|
|
992
|
+
},
|
|
993
|
+
controllerAs: 'ctrl'
|
|
993
994
|
};
|
|
994
995
|
}
|
|
995
996
|
angular.module('angularportalazure').directive('azurePortalHome', azurePortalHome);
|
|
@@ -1000,7 +1001,7 @@ var angularportalazure;
|
|
|
1000
1001
|
return {
|
|
1001
1002
|
restrict: 'E',
|
|
1002
1003
|
scope: {},
|
|
1003
|
-
bindToController: { vm: '=
|
|
1004
|
+
bindToController: { vm: '=' },
|
|
1004
1005
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
1005
1006
|
link: function (scope, element, attrs, controller) {
|
|
1006
1007
|
console.log('nav.link()');
|
|
@@ -1033,7 +1034,7 @@ var angularportalazure;
|
|
|
1033
1034
|
return {
|
|
1034
1035
|
restrict: 'E',
|
|
1035
1036
|
scope: {},
|
|
1036
|
-
bindToController: { vm: '=
|
|
1037
|
+
bindToController: { vm: '=' },
|
|
1037
1038
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/navgrid/navgrid.html',
|
|
1038
1039
|
link: function (scope, element, attrs, controller) {
|
|
1039
1040
|
console.log('navGrid.link()');
|
|
@@ -249,10 +249,10 @@
|
|
|
249
249
|
</div>
|
|
250
250
|
|
|
251
251
|
<!-- nav -->
|
|
252
|
-
<
|
|
252
|
+
<nav data-ng-if="vm.isNav" vm="vm"></nav>
|
|
253
253
|
|
|
254
254
|
<!-- navGrid -->
|
|
255
|
-
<
|
|
255
|
+
<nav-grid data-ng-if="vm.blade.isNavGrid" vm="vm.blade.navGrid"></nav-grid>
|
|
256
256
|
|
|
257
257
|
</div>
|
|
258
258
|
</div>
|
|
@@ -8,7 +8,7 @@ namespace angularportalazure {
|
|
|
8
8
|
restrict: 'E',
|
|
9
9
|
transclude: true,
|
|
10
10
|
scope: {},
|
|
11
|
-
bindToController: { vm: '=
|
|
11
|
+
bindToController: { vm: '=' },
|
|
12
12
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
13
13
|
link: function (scope, element, attrs, controller) {
|
|
14
14
|
console.log('azurePortalBlade.link()');
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
<div class="fxs-portal-top-bar fxs-portal-appbar"></div>
|
|
3
3
|
<div id="azureportalscroll" class="fxs-portal-content fxs-panorama">
|
|
4
4
|
|
|
5
|
-
<div class="fxs-panorama-homearea" ng-class="{collapsed: !vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="vm.portalService.panorama.isVisible">
|
|
6
|
-
<header class="fxs-pannable" ng-class="{collapsed: !vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
7
|
-
<h1 class="fxs-panorama-title fxs-pannable">{{vm.title}}</h1>
|
|
8
|
-
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed: !vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
5
|
+
<div class="fxs-panorama-homearea" ng-class="{collapsed: !ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="ctrl.vm.portalService.panorama.isVisible">
|
|
6
|
+
<header class="fxs-pannable" ng-class="{collapsed: !ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
7
|
+
<h1 class="fxs-panorama-title fxs-pannable">{{ctrl.vm.title}}</h1>
|
|
8
|
+
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed: !ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
9
9
|
<a class="fxs-avatarmenu-header" href="/Account/Manage">
|
|
10
10
|
<img alt="" src="/node_modules/@ardimedia/angular-portal-azure/images/avatar.jpg" />
|
|
11
|
-
<div class="fxs-avatarmenu-username">{{vm.user.name}}</div>
|
|
12
|
-
<div class="fxs-avatarmenu-emailaddresse">{{vm.user.emailaddress}}</div>
|
|
11
|
+
<div class="fxs-avatarmenu-username">{{ctrl.vm.user.name}}</div>
|
|
12
|
+
<div class="fxs-avatarmenu-emailaddresse">{{ctrl.vm.user.emailaddress}}</div>
|
|
13
13
|
</a>
|
|
14
14
|
</div>
|
|
15
15
|
</header>
|
|
16
|
-
<div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
16
|
+
<div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
|
|
17
17
|
<div class="fxs-startboard-layout fxs-flowlayout">
|
|
18
18
|
<div class="fxs-flowlayout-childcontainer">
|
|
19
|
-
<section data-ng-repeat="tile in vm.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
|
|
20
|
-
<div class="fxs-part fxs-part-clickable" ng-click="vm.navigateTo(tile.bladePath);tile.clicked();" style="cursor:pointer;">
|
|
19
|
+
<section data-ng-repeat="tile in ctrl.vm.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
|
|
20
|
+
<div class="fxs-part fxs-part-clickable" ng-click="ctrl.vm.navigateTo(tile.bladePath);tile.clicked();" style="cursor:pointer;">
|
|
21
21
|
<header class="fxs-part-title">
|
|
22
22
|
<h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
|
|
23
23
|
<h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</div>
|
|
33
33
|
<div class="fxs-journey-target fxs-journey">
|
|
34
34
|
<div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
|
|
35
|
-
<div data-ng-repeat="blade in vm.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
|
|
35
|
+
<div data-ng-repeat="blade in ctrl.vm.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
package/directives/home/home.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
return {
|
|
5
5
|
restrict: 'E',
|
|
6
6
|
scope: {},
|
|
7
|
-
bindToController: { vm: '=
|
|
7
|
+
bindToController: { vm: '=' },
|
|
8
8
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
|
|
9
9
|
link: function (scope, element, attrs, controller) {
|
|
10
10
|
console.log('azurePortalHome.link()');
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
controller: function () {
|
|
14
14
|
console.log('azurePortalHome.controller()');
|
|
15
15
|
console.log(this);
|
|
16
|
-
}
|
|
17
|
-
|
|
16
|
+
},
|
|
17
|
+
controllerAs: 'ctrl'
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
|
package/directives/nav/nav.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
return {
|
|
4
4
|
restrict: 'E',
|
|
5
5
|
scope: {},
|
|
6
|
-
bindToController: { vm: '=
|
|
6
|
+
bindToController: { vm: '=' },
|
|
7
7
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
8
8
|
link: function (scope, element, attrs, controller) {
|
|
9
9
|
console.log('nav.link()');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
return {
|
|
4
4
|
restrict: 'E',
|
|
5
5
|
scope: {},
|
|
6
|
-
bindToController: { vm: '=
|
|
6
|
+
bindToController: { vm: '=' },
|
|
7
7
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/navgrid/navgrid.html',
|
|
8
8
|
link: function (scope, element, attrs, controller) {
|
|
9
9
|
console.log('navGrid.link()');
|
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.22",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|