@ardimedia/angular-portal-azure 0.2.42 → 0.2.44
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 +12 -6
- package/apn.js +75 -120
- package/css/apn.css +1141 -1141
- package/directives/blade/angular-portal-blade-grid.ts +3 -18
- package/directives/blade/angular-portal-blade-nav.ts +3 -6
- package/directives/blade/angular-portal-blade.ts +3 -18
- package/directives/blade/blade.html +269 -266
- package/directives/grid/grid.html +1 -1
- package/directives/grid/grid.ts +7 -12
- package/directives/home/home.html +10 -10
- package/directives/home/home.ts +20 -21
- package/directives/nav/nav.html +1 -1
- package/directives/nav/nav.ts +27 -28
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<col class="col1">
|
|
6
6
|
</colgroup>
|
|
7
7
|
<tbody class="azc-grid-groupdata" role="rowgroup">
|
|
8
|
-
<tr data-ng-repeat="item in ctrl.vm.items track by $index" data-ng-click="ctrl.vm.navigateTo(item.bladePath);" 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">
|
|
8
|
+
<tr data-ng-repeat="item in $ctrl.vm.items track by $index" data-ng-click="$ctrl.vm.navigateTo(item.bladePath);" 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
10
|
<div class="azc-vivaControl" data-bind='vivaControl: "DEB28B4C-518F-4F70-A817-BF9277606CAB"'>
|
|
11
11
|
<div data-bind="image: value">
|
package/directives/grid/grid.ts
CHANGED
|
@@ -6,21 +6,16 @@
|
|
|
6
6
|
bindToController: { vm: '=' },
|
|
7
7
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
|
|
8
8
|
link: function (scope, element, attrs, controller) {
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
16
|
-
});
|
|
9
|
+
//angular.forEach(controller.vm.items, function (item) {
|
|
10
|
+
// // Set some default values, depending on existing values
|
|
11
|
+
// if (item.isVisible == undefined) { item.isVisible = true; }
|
|
12
|
+
// if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
|
|
13
|
+
// if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
14
|
+
//});
|
|
17
15
|
},
|
|
18
16
|
controller: function () {
|
|
19
|
-
//console.log('grid.controller()');
|
|
20
|
-
//console.log(this);
|
|
21
|
-
function navigateTo(path: string) { console.log(path); }
|
|
22
17
|
},
|
|
23
|
-
controllerAs: 'ctrl'
|
|
18
|
+
controllerAs: '$ctrl'
|
|
24
19
|
};
|
|
25
20
|
}
|
|
26
21
|
|
|
@@ -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:
|
|
6
|
-
<header class="fxs-pannable" ng-class="{collapsed:
|
|
7
|
-
<h1 class="fxs-panorama-title fxs-pannable">{{ctrl.vm.title}}</h1>
|
|
8
|
-
<div class="fxs-avatarmenu-target fxs-avatarmenu" ng-class="{collapsed:
|
|
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">{{ctrl.vm.user.name}}</div>
|
|
12
|
-
<div class="fxs-avatarmenu-emailaddresse">{{ctrl.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:
|
|
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 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;">
|
|
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 ctrl.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
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
namespace angularportalazure {
|
|
2
|
-
function angularPortalHome() {
|
|
3
|
-
return {
|
|
4
|
-
restrict: 'E',
|
|
5
|
-
scope: {},
|
|
6
|
-
bindToController: { vm: '=' },
|
|
7
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
|
|
8
|
-
link: function (scope, element, attrs, controller) {
|
|
9
|
-
//console.log('angularPortalHome.link()');
|
|
10
|
-
//console.log(this);
|
|
11
|
-
},
|
|
12
|
-
controller: function () {
|
|
13
|
-
//console.log('angularPortalHome.controller()');
|
|
14
|
-
//console.log(this);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
|
|
1
|
+
namespace angularportalazure {
|
|
2
|
+
function angularPortalHome() {
|
|
3
|
+
return {
|
|
4
|
+
restrict: 'E',
|
|
5
|
+
scope: {},
|
|
6
|
+
bindToController: { vm: '=' },
|
|
7
|
+
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
|
|
8
|
+
link: function (scope, element, attrs, controller) {
|
|
9
|
+
//console.log('angularPortalHome.link()');
|
|
10
|
+
//console.log(this);
|
|
11
|
+
},
|
|
12
|
+
controller: function () {
|
|
13
|
+
//console.log('angularPortalHome.controller()');
|
|
14
|
+
//console.log(this);
|
|
15
|
+
},
|
|
16
|
+
controllerAs: '$ctrl'
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
|
|
22
21
|
}
|
package/directives/nav/nav.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<col class="col1">
|
|
6
6
|
</colgroup>
|
|
7
7
|
<tbody class="azc-grid-groupdata" role="rowgroup">
|
|
8
|
-
<tr data-ng-repeat="item in ctrl.vm.
|
|
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
10
|
<div class="azc-vivaControl" data-bind='vivaControl: "DEB28B4C-518F-4F70-A817-BF9277606CAB"'>
|
|
11
11
|
<div data-bind="image: value">
|
package/directives/nav/nav.ts
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
namespace angularportalazure {
|
|
2
|
-
function nav($window) {
|
|
3
|
-
return {
|
|
4
|
-
restrict: 'E',
|
|
5
|
-
scope: {},
|
|
6
|
-
bindToController: { vm: '=' },
|
|
7
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
8
|
-
link: function (scope, element, attrs, controller) {
|
|
9
|
-
//console.log('nav.link()');
|
|
10
|
-
//console.log(this);
|
|
11
|
-
angular.forEach(controller.vm.items, function (item) {
|
|
12
|
-
// Set some default values, depending on existing values
|
|
13
|
-
if (item.isVisible == undefined) { item.isVisible = true; }
|
|
14
|
-
if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
|
|
15
|
-
if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
16
|
-
});
|
|
17
|
-
},
|
|
18
|
-
controller: function () {
|
|
19
|
-
//console.log('nav.controller()');
|
|
20
|
-
//console.log(this);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
1
|
+
namespace angularportalazure {
|
|
2
|
+
function nav($window) {
|
|
3
|
+
return {
|
|
4
|
+
restrict: 'E',
|
|
5
|
+
scope: {},
|
|
6
|
+
bindToController: { vm: '=' },
|
|
7
|
+
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
8
|
+
link: function (scope, element, attrs, controller) {
|
|
9
|
+
//console.log('nav.link()');
|
|
10
|
+
//console.log(this);
|
|
11
|
+
angular.forEach(controller.vm.items, function (item) {
|
|
12
|
+
// Set some default values, depending on existing values
|
|
13
|
+
if (item.isVisible == undefined) { item.isVisible = true; }
|
|
14
|
+
if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
|
|
15
|
+
if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
16
|
+
});
|
|
17
|
+
},
|
|
18
|
+
controller: function () {
|
|
19
|
+
//console.log('nav.controller()');
|
|
20
|
+
//console.log(this);
|
|
21
|
+
},
|
|
22
|
+
controllerAs: '$ctrl'
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
angular.module('angularportalazure').directive('nav', ['$window', nav]);
|
|
27
|
+
}
|
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.44",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|