@ardimedia/angular-portal-azure 0.2.30 → 0.2.32
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 +0 -4
- package/apn.js +1 -81
- package/directives/blade/angular-portal-blade-nav.ts +0 -12
- package/directives/blade/blade.html +1 -4
- package/directives/nav/nav.html +27 -27
- package/directives/nav/nav.ts +2 -2
- package/package.json +1 -1
- package/directives/blade/angular-portal-blade-grid.ts +0 -42
- package/directives/grid/grid.html +0 -27
- package/directives/grid/grid.ts +0 -27
package/apn.d.ts
CHANGED
|
@@ -307,10 +307,6 @@ declare namespace angularportalazure {
|
|
|
307
307
|
}
|
|
308
308
|
declare namespace angularportalazure {
|
|
309
309
|
}
|
|
310
|
-
declare namespace angularportalazure {
|
|
311
|
-
}
|
|
312
|
-
declare namespace angularportalazure {
|
|
313
|
-
}
|
|
314
310
|
declare namespace angularportalazure {
|
|
315
311
|
/** If a Web API through an exception, the following interface should be available. */
|
|
316
312
|
interface IException {
|
package/apn.js
CHANGED
|
@@ -895,44 +895,6 @@ var angularportalazure;
|
|
|
895
895
|
/// <reference path="../../domain/debug.ts" />
|
|
896
896
|
/// <reference path="../../domain/portalservice.ts" />
|
|
897
897
|
var angularportalazure;
|
|
898
|
-
(function (angularportalazure) {
|
|
899
|
-
function angularPortalBladeGrid(portalService) {
|
|
900
|
-
return {
|
|
901
|
-
restrict: 'E',
|
|
902
|
-
transclude: true,
|
|
903
|
-
scope: {},
|
|
904
|
-
bindToController: { vm: '=' },
|
|
905
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
906
|
-
link: function (scope, element, attrs, controller) {
|
|
907
|
-
//console.log('angularPortalBladeGrid.link()');
|
|
908
|
-
//console.log(this);
|
|
909
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
910
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
911
|
-
//if (scope.vm.close === undefined) {
|
|
912
|
-
// scope.vm.close = function () {
|
|
913
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
914
|
-
// portalService.bladeArea.clearLastLevel();
|
|
915
|
-
// }
|
|
916
|
-
//}
|
|
917
|
-
//#endregion
|
|
918
|
-
},
|
|
919
|
-
controller: function () {
|
|
920
|
-
//console.log('angularPortalBladeGrid.controller()');
|
|
921
|
-
//console.log(this);
|
|
922
|
-
this.vm.close = function () {
|
|
923
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
924
|
-
portalService.bladeArea.clearLastLevel();
|
|
925
|
-
};
|
|
926
|
-
},
|
|
927
|
-
controllerAs: 'ctrl'
|
|
928
|
-
};
|
|
929
|
-
}
|
|
930
|
-
angular.module('angularportalazure').directive('angularPortalBladeGrid', ['angularportalazure.portalService', angularPortalBladeGrid]);
|
|
931
|
-
})(angularportalazure || (angularportalazure = {}));
|
|
932
|
-
/// <reference types="angular" />
|
|
933
|
-
/// <reference path="../../domain/debug.ts" />
|
|
934
|
-
/// <reference path="../../domain/portalservice.ts" />
|
|
935
|
-
var angularportalazure;
|
|
936
898
|
(function (angularportalazure) {
|
|
937
899
|
function angularPortalBladeNav(portalService) {
|
|
938
900
|
return {
|
|
@@ -944,15 +906,6 @@ var angularportalazure;
|
|
|
944
906
|
link: function (scope, element, attrs, controller) {
|
|
945
907
|
//console.log('angularPortalBladeNav.link()');
|
|
946
908
|
//console.log(this);
|
|
947
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
948
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
949
|
-
//if (scope.vm.close === undefined) {
|
|
950
|
-
// scope.vm.close = function () {
|
|
951
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
952
|
-
// portalService.bladeArea.clearLastLevel();
|
|
953
|
-
// }
|
|
954
|
-
//}
|
|
955
|
-
//#endregion
|
|
956
909
|
},
|
|
957
910
|
controller: function () {
|
|
958
911
|
//console.log('angularPortalBladeNav.controller()');
|
|
@@ -1043,39 +996,6 @@ var angularportalazure;
|
|
|
1043
996
|
// app.directive(DirtyFlag.directiveId, ['personmanager', (pm) => new DirtyFlag(pm)]);
|
|
1044
997
|
//}
|
|
1045
998
|
var angularportalazure;
|
|
1046
|
-
(function (angularportalazure) {
|
|
1047
|
-
function grid($window) {
|
|
1048
|
-
return {
|
|
1049
|
-
restrict: 'E',
|
|
1050
|
-
scope: {},
|
|
1051
|
-
bindToController: { vm: '=' },
|
|
1052
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
|
|
1053
|
-
link: function (scope, element, attrs, controller) {
|
|
1054
|
-
//console.log('grid.link()');
|
|
1055
|
-
//console.log(this);
|
|
1056
|
-
angular.forEach(controller.vm.items, function (item) {
|
|
1057
|
-
// Set some default values, depending on existing values
|
|
1058
|
-
if (item.isVisible == undefined) {
|
|
1059
|
-
item.isVisible = true;
|
|
1060
|
-
}
|
|
1061
|
-
if (item.title == undefined || item.title == '') {
|
|
1062
|
-
item.style = { cursor: 'default' };
|
|
1063
|
-
}
|
|
1064
|
-
if (item.bladePath == undefined || item.bladePath == '') {
|
|
1065
|
-
item.style = { cursor: 'default' };
|
|
1066
|
-
}
|
|
1067
|
-
});
|
|
1068
|
-
},
|
|
1069
|
-
controller: function () {
|
|
1070
|
-
//console.log('grid.controller()');
|
|
1071
|
-
//console.log(this);
|
|
1072
|
-
},
|
|
1073
|
-
controllerAs: 'ctrl'
|
|
1074
|
-
};
|
|
1075
|
-
}
|
|
1076
|
-
angular.module('angularportalazure').directive('grid', ['$window', grid]);
|
|
1077
|
-
})(angularportalazure || (angularportalazure = {}));
|
|
1078
|
-
var angularportalazure;
|
|
1079
999
|
(function (angularportalazure) {
|
|
1080
1000
|
function angularPortalHome() {
|
|
1081
1001
|
return {
|
|
@@ -1107,7 +1027,7 @@ var angularportalazure;
|
|
|
1107
1027
|
link: function (scope, element, attrs, controller) {
|
|
1108
1028
|
//console.log('nav.link()');
|
|
1109
1029
|
//console.log(this);
|
|
1110
|
-
angular.forEach(controller.vm.
|
|
1030
|
+
angular.forEach(controller.vm.items, function (item) {
|
|
1111
1031
|
// Set some default values, depending on existing values
|
|
1112
1032
|
if (item.isVisible == undefined) {
|
|
1113
1033
|
item.isVisible = true;
|
|
@@ -13,22 +13,10 @@ namespace angularportalazure {
|
|
|
13
13
|
link: function (scope, element, attrs, controller) {
|
|
14
14
|
//console.log('angularPortalBladeNav.link()');
|
|
15
15
|
//console.log(this);
|
|
16
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
17
|
-
|
|
18
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
19
|
-
//if (scope.vm.close === undefined) {
|
|
20
|
-
// scope.vm.close = function () {
|
|
21
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
22
|
-
// portalService.bladeArea.clearLastLevel();
|
|
23
|
-
// }
|
|
24
|
-
//}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
16
|
},
|
|
28
17
|
controller: function () {
|
|
29
18
|
//console.log('angularPortalBladeNav.controller()');
|
|
30
19
|
//console.log(this);
|
|
31
|
-
|
|
32
20
|
this.vm.close = function () {
|
|
33
21
|
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
34
22
|
portalService.bladeArea.clearLastLevel();
|
|
@@ -249,10 +249,7 @@
|
|
|
249
249
|
</div>
|
|
250
250
|
|
|
251
251
|
<!-- nav -->
|
|
252
|
-
<nav data-ng-if="ctrl.vm.
|
|
253
|
-
|
|
254
|
-
<!-- grid -->
|
|
255
|
-
<grid data-ng-if="ctrl.vm.blade.isNavGrid" vm="ctrl.vm"></grid>
|
|
252
|
+
<nav data-ng-if="ctrl.vm.blade.isNavGrid" vm="ctrl.vm"></nav>
|
|
256
253
|
|
|
257
254
|
</div>
|
|
258
255
|
</div>
|
package/directives/nav/nav.html
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<table class="azc-grid-full azc-grid-multiselectable" aria-readonly="true">
|
|
2
|
-
<caption data-bind="text: data.summary"></caption>
|
|
3
|
-
<colgroup>
|
|
4
|
-
<col class="col0" style="width: 41px;">
|
|
5
|
-
<col class="col1">
|
|
6
|
-
</colgroup>
|
|
7
|
-
<tbody class="azc-grid-groupdata" role="rowgroup">
|
|
8
|
-
<tr data-ng-repeat="item in ctrl.vm.navItems track by $index" data-ng-click="ctrl.vm.navigateTo(item.bladePath);
|
|
9
|
-
<td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
|
|
10
|
-
<div class="azc-vivaControl" data-bind='vivaControl: "DEB28B4C-518F-4F70-A817-BF9277606CAB"'>
|
|
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>
|
|
21
|
-
</td>
|
|
22
|
-
<td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
|
|
23
|
-
<a ng-href="{{item.hrefPath}}" target="_blank" style="color:black">{{item.title}}</a>
|
|
24
|
-
</td>
|
|
25
|
-
</tr>
|
|
26
|
-
</tbody>
|
|
27
|
-
</table>
|
|
1
|
+
<table class="azc-grid-full azc-grid-multiselectable" aria-readonly="true">
|
|
2
|
+
<caption data-bind="text: data.summary"></caption>
|
|
3
|
+
<colgroup>
|
|
4
|
+
<col class="col0" style="width: 41px;">
|
|
5
|
+
<col class="col1">
|
|
6
|
+
</colgroup>
|
|
7
|
+
<tbody class="azc-grid-groupdata" role="rowgroup">
|
|
8
|
+
<tr data-ng-repeat="item in ctrl.vm.navItems 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
|
+
<td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
|
|
10
|
+
<div class="azc-vivaControl" data-bind='vivaControl: "DEB28B4C-518F-4F70-A817-BF9277606CAB"'>
|
|
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>
|
|
21
|
+
</td>
|
|
22
|
+
<td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
|
|
23
|
+
<a ng-href="{{item.hrefPath}}" target="_blank" style="color:black">{{item.title}}</a>
|
|
24
|
+
</td>
|
|
25
|
+
</tr>
|
|
26
|
+
</tbody>
|
|
27
|
+
</table>
|
package/directives/nav/nav.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
link: function (scope, element, attrs, controller) {
|
|
9
9
|
//console.log('nav.link()');
|
|
10
10
|
//console.log(this);
|
|
11
|
-
angular.forEach(controller.vm.
|
|
11
|
+
angular.forEach(controller.vm.items, function (item) {
|
|
12
12
|
// Set some default values, depending on existing values
|
|
13
13
|
if (item.isVisible == undefined) { item.isVisible = true; }
|
|
14
14
|
if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
|
|
@@ -24,4 +24,4 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
angular.module('angularportalazure').directive('nav', ['$window', nav]);
|
|
27
|
-
}
|
|
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.32",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="angular" />
|
|
2
|
-
/// <reference path="../../domain/debug.ts" />
|
|
3
|
-
/// <reference path="../../domain/portalservice.ts" />
|
|
4
|
-
|
|
5
|
-
namespace angularportalazure {
|
|
6
|
-
function angularPortalBladeGrid(portalService: angularportalazure.PortalService) {
|
|
7
|
-
return {
|
|
8
|
-
restrict: 'E',
|
|
9
|
-
transclude: true,
|
|
10
|
-
scope: {},
|
|
11
|
-
bindToController: { vm: '=' },
|
|
12
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
13
|
-
link: function (scope, element, attrs, controller) {
|
|
14
|
-
//console.log('angularPortalBladeGrid.link()');
|
|
15
|
-
//console.log(this);
|
|
16
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
17
|
-
|
|
18
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
19
|
-
//if (scope.vm.close === undefined) {
|
|
20
|
-
// scope.vm.close = function () {
|
|
21
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
22
|
-
// portalService.bladeArea.clearLastLevel();
|
|
23
|
-
// }
|
|
24
|
-
//}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
},
|
|
28
|
-
controller: function () {
|
|
29
|
-
//console.log('angularPortalBladeGrid.controller()');
|
|
30
|
-
//console.log(this);
|
|
31
|
-
|
|
32
|
-
this.vm.close = function () {
|
|
33
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
34
|
-
portalService.bladeArea.clearLastLevel();
|
|
35
|
-
};
|
|
36
|
-
},
|
|
37
|
-
controllerAs: 'ctrl'
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
angular.module('angularportalazure').directive('angularPortalBladeGrid', ['angularportalazure.portalService', angularPortalBladeGrid]);
|
|
42
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<table class="azc-grid-full azc-grid-multiselectable" aria-readonly="true">
|
|
2
|
-
<caption data-bind="text: data.summary"></caption>
|
|
3
|
-
<colgroup>
|
|
4
|
-
<col class="col0" style="width: 41px;">
|
|
5
|
-
<col class="col1">
|
|
6
|
-
</colgroup>
|
|
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">
|
|
9
|
-
<td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
|
|
10
|
-
<div class="azc-vivaControl" data-bind='vivaControl: "DEB28B4C-518F-4F70-A817-BF9277606CAB"'>
|
|
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>
|
|
21
|
-
</td>
|
|
22
|
-
<td tabindex="0" role="gridcell" data-activatable="true" data-grid-cell-activated="false">
|
|
23
|
-
<a ng-href="{{item.hrefPath}}" target="_blank" style="color:black">{{item.title}}</a>
|
|
24
|
-
</td>
|
|
25
|
-
</tr>
|
|
26
|
-
</tbody>
|
|
27
|
-
</table>
|
package/directives/grid/grid.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
namespace angularportalazure {
|
|
2
|
-
function grid($window) {
|
|
3
|
-
return {
|
|
4
|
-
restrict: 'E',
|
|
5
|
-
scope: {},
|
|
6
|
-
bindToController: { vm: '=' },
|
|
7
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
|
|
8
|
-
link: function (scope, element, attrs, controller) {
|
|
9
|
-
//console.log('grid.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('grid.controller()');
|
|
20
|
-
//console.log(this);
|
|
21
|
-
},
|
|
22
|
-
controllerAs: 'ctrl'
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
angular.module('angularportalazure').directive('grid', ['$window', grid]);
|
|
27
|
-
}
|