@ardimedia/angular-portal-azure 0.2.87 → 0.2.88
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 +36 -33
- package/directives/nav/nav.ts +37 -27
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1050,39 +1050,42 @@ var angularportalazure;
|
|
|
1050
1050
|
})(angularportalazure || (angularportalazure = {}));
|
|
1051
1051
|
var angularportalazure;
|
|
1052
1052
|
(function (angularportalazure) {
|
|
1053
|
-
nav.$inject = ['angularportalazure.portalService'];
|
|
1054
|
-
function nav(portalService) {
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
|
|
1053
|
+
//nav.$inject = ['angularportalazure.portalService'];
|
|
1054
|
+
//function nav(portalService: angularportalazure.PortalService) {
|
|
1055
|
+
// return {
|
|
1056
|
+
// restrict: 'E',
|
|
1057
|
+
// transclude: true,
|
|
1058
|
+
// scope: {},
|
|
1059
|
+
// bindToController: { vm: '=' },
|
|
1060
|
+
// templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
1061
|
+
// link: function (scope, element, attrs, controller) {
|
|
1062
|
+
// angular.forEach(controller.items, function (item) {
|
|
1063
|
+
// // Set some default values, depending on existing values
|
|
1064
|
+
// if (item.isVisible == undefined) { item.isVisible = true; }
|
|
1065
|
+
// if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
|
|
1066
|
+
// if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
1067
|
+
// });
|
|
1068
|
+
// },
|
|
1069
|
+
// controller: function () {
|
|
1070
|
+
// //this.$onInit = function () {
|
|
1071
|
+
// // this.close = function () {
|
|
1072
|
+
// // portalService.bladeArea.clearLastLevel();
|
|
1073
|
+
// // };
|
|
1074
|
+
// //};
|
|
1075
|
+
// },
|
|
1076
|
+
// controllerAs: '$ctrl'
|
|
1077
|
+
// };
|
|
1078
|
+
//}
|
|
1079
|
+
//angular.module('angularportalazure').directive('nav', nav);
|
|
1080
|
+
var nav = {
|
|
1081
|
+
transclude: true,
|
|
1082
|
+
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
1083
|
+
controller: function () { },
|
|
1084
|
+
bindings: {
|
|
1085
|
+
vm: '='
|
|
1086
|
+
}
|
|
1087
|
+
};
|
|
1088
|
+
angular.module('angularportalazure').component('nav', nav);
|
|
1086
1089
|
})(angularportalazure || (angularportalazure = {}));
|
|
1087
1090
|
/// <reference path="bladearea.ts" />
|
|
1088
1091
|
/// <reference path="debug.ts" />
|
package/directives/nav/nav.ts
CHANGED
|
@@ -1,30 +1,40 @@
|
|
|
1
1
|
namespace angularportalazure {
|
|
2
|
-
nav.$inject = ['angularportalazure.portalService'];
|
|
3
|
-
function nav(portalService: angularportalazure.PortalService) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
2
|
+
//nav.$inject = ['angularportalazure.portalService'];
|
|
3
|
+
//function nav(portalService: angularportalazure.PortalService) {
|
|
4
|
+
// return {
|
|
5
|
+
// restrict: 'E',
|
|
6
|
+
// transclude: true,
|
|
7
|
+
// scope: {},
|
|
8
|
+
// bindToController: { vm: '=' },
|
|
9
|
+
// templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
10
|
+
// link: function (scope, element, attrs, controller) {
|
|
11
|
+
// angular.forEach(controller.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
|
+
// //this.$onInit = function () {
|
|
20
|
+
// // this.close = function () {
|
|
21
|
+
// // portalService.bladeArea.clearLastLevel();
|
|
22
|
+
// // };
|
|
23
|
+
// //};
|
|
24
|
+
// },
|
|
25
|
+
// controllerAs: '$ctrl'
|
|
26
|
+
// };
|
|
27
|
+
//}
|
|
28
|
+
//angular.module('angularportalazure').directive('nav', nav);
|
|
28
29
|
|
|
29
|
-
|
|
30
|
+
var nav = {
|
|
31
|
+
transclude: true,
|
|
32
|
+
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
33
|
+
controller: function () { },
|
|
34
|
+
bindings: {
|
|
35
|
+
vm: '='
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
angular.module('angularportalazure').component('nav', nav);
|
|
30
40
|
}
|
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.88",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|