@ardimedia/angular-portal-azure 0.2.26 → 0.2.28

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
@@ -904,32 +904,25 @@ var angularportalazure;
904
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
- console.log('angularPortalBladeGrid.link()');
908
- console.log(this);
907
+ //console.log('angularPortalBladeGrid.link()');
908
+ //console.log(this);
909
909
  //#region the following code makes sure, that a function scope.vm.close is available
910
- if (scope.vm === undefined) {
911
- scope.vm = {};
912
- }
913
- if (scope.vm.close === undefined) {
914
- scope.vm.close = function () {
915
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
916
- portalService.bladeArea.clearLastLevel();
917
- };
918
- }
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
+ //}
919
917
  //#endregion
920
918
  },
921
919
  controller: function () {
922
- console.log('angularPortalBladeGrid.controller()');
923
- console.log(this);
924
- //this.blade = this.vm.blade;
925
- //this.contentTitle = this.vm.contentTitle;
926
- //this.contentSubTitle = this.vm.contentSubTitle;
927
- //this.isNav = this.vm.isNav;
920
+ //console.log('angularPortalBladeGrid.controller()');
921
+ //console.log(this);
928
922
  this.vm.close = function () {
929
923
  angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
930
924
  portalService.bladeArea.clearLastLevel();
931
925
  };
932
- //this.vm.close = this.close;
933
926
  },
934
927
  controllerAs: 'ctrl'
935
928
  };
@@ -949,32 +942,25 @@ var angularportalazure;
949
942
  bindToController: { vm: '=' },
950
943
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
951
944
  link: function (scope, element, attrs, controller) {
952
- console.log('angularPortalBladeNav.link()');
953
- console.log(this);
945
+ //console.log('angularPortalBladeNav.link()');
946
+ //console.log(this);
954
947
  //#region the following code makes sure, that a function scope.vm.close is available
955
- if (scope.vm === undefined) {
956
- scope.vm = {};
957
- }
958
- if (scope.vm.close === undefined) {
959
- scope.vm.close = function () {
960
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
961
- portalService.bladeArea.clearLastLevel();
962
- };
963
- }
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
+ //}
964
955
  //#endregion
965
956
  },
966
957
  controller: function () {
967
- console.log('angularPortalBladeNav.controller()');
968
- console.log(this);
969
- //this.blade = this.vm.blade;
970
- //this.contentTitle = this.vm.contentTitle;
971
- //this.contentSubTitle = this.vm.contentSubTitle;
972
- //this.isNav = this.vm.isNav;
973
- //this.vm.close = function () {
974
- // angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
975
- // portalService.bladeArea.clearLastLevel();
976
- //};
977
- //this.vm.close = this.close;
958
+ //console.log('angularPortalBladeNav.controller()');
959
+ //console.log(this);
960
+ this.vm.close = function () {
961
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
962
+ portalService.bladeArea.clearLastLevel();
963
+ };
978
964
  },
979
965
  controllerAs: 'ctrl'
980
966
  };
@@ -994,32 +980,25 @@ var angularportalazure;
994
980
  bindToController: { vm: '=' },
995
981
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
996
982
  link: function (scope, element, attrs, controller) {
997
- console.log('angularPortalBlade.link()');
998
- console.log(this);
983
+ //console.log('angularPortalBlade.link()');
984
+ //console.log(this);
999
985
  //#region the following code makes sure, that a function scope.vm.close is available
1000
- if (scope.vm === undefined) {
1001
- scope.vm = {};
1002
- }
1003
- if (scope.vm.close === undefined) {
1004
- scope.vm.close = function () {
1005
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
1006
- portalService.bladeArea.clearLastLevel();
1007
- };
1008
- }
986
+ //if (scope.vm === undefined) { scope.vm = {}; }
987
+ //if (scope.vm.close === undefined) {
988
+ // scope.vm.close = function () {
989
+ // angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
990
+ // portalService.bladeArea.clearLastLevel();
991
+ // }
992
+ //}
1009
993
  //#endregion
1010
994
  },
1011
995
  controller: function () {
1012
- console.log('angularPortalBlade.controller()');
1013
- console.log(this);
1014
- //this.blade = this.vm.blade;
1015
- //this.contentTitle = this.vm.contentTitle;
1016
- //this.contentSubTitle = this.vm.contentSubTitle;
1017
- //this.isNav = this.vm.isNav;
996
+ //console.log('angularPortalBlade.controller()');
997
+ //console.log(this);
1018
998
  this.vm.close = function () {
1019
999
  angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
1020
1000
  portalService.bladeArea.clearLastLevel();
1021
1001
  };
1022
- //this.vm.close = this.close;
1023
1002
  },
1024
1003
  controllerAs: 'ctrl'
1025
1004
  };
@@ -1072,8 +1051,8 @@ var angularportalazure;
1072
1051
  bindToController: { vm: '=' },
1073
1052
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
1074
1053
  link: function (scope, element, attrs, controller) {
1075
- console.log('grid.link()');
1076
- console.log(this);
1054
+ //console.log('grid.link()');
1055
+ //console.log(this);
1077
1056
  angular.forEach(scope.vm.items, function (item) {
1078
1057
  // Set some default values, depending on existing values
1079
1058
  if (item.isVisible == undefined) {
@@ -1088,8 +1067,8 @@ var angularportalazure;
1088
1067
  });
1089
1068
  },
1090
1069
  controller: function () {
1091
- console.log('grid.controller()');
1092
- console.log(this);
1070
+ //console.log('grid.controller()');
1071
+ //console.log(this);
1093
1072
  },
1094
1073
  controllerAs: 'ctrl'
1095
1074
  };
@@ -1105,12 +1084,12 @@ var angularportalazure;
1105
1084
  bindToController: { vm: '=' },
1106
1085
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
1107
1086
  link: function (scope, element, attrs, controller) {
1108
- console.log('angularPortalHome.link()');
1109
- console.log(this);
1087
+ //console.log('angularPortalHome.link()');
1088
+ //console.log(this);
1110
1089
  },
1111
1090
  controller: function () {
1112
- console.log('angularPortalHome.controller()');
1113
- console.log(this);
1091
+ //console.log('angularPortalHome.controller()');
1092
+ //console.log(this);
1114
1093
  },
1115
1094
  controllerAs: 'ctrl'
1116
1095
  };
@@ -1126,9 +1105,13 @@ var angularportalazure;
1126
1105
  bindToController: { vm: '=' },
1127
1106
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
1128
1107
  link: function (scope, element, attrs, controller) {
1129
- console.log('nav.link()');
1108
+ //console.log('nav.link()');
1130
1109
  console.log(this);
1131
- angular.forEach(scope.vm.navItems, function (item) {
1110
+ console.log(scope);
1111
+ console.log(element);
1112
+ console.log(attrs);
1113
+ console.log(controller);
1114
+ angular.forEach(controller.vm.navItems, function (item) {
1132
1115
  // Set some default values, depending on existing values
1133
1116
  if (item.isVisible == undefined) {
1134
1117
  item.isVisible = true;
@@ -1142,8 +1125,8 @@ var angularportalazure;
1142
1125
  });
1143
1126
  },
1144
1127
  controller: function () {
1145
- console.log('nav.controller()');
1146
- console.log(this);
1128
+ //console.log('nav.controller()');
1129
+ //console.log(this);
1147
1130
  },
1148
1131
  controllerAs: 'ctrl'
1149
1132
  };
@@ -11,34 +11,28 @@ namespace angularportalazure {
11
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
- console.log('angularPortalBladeGrid.link()');
15
- console.log(this);
14
+ //console.log('angularPortalBladeGrid.link()');
15
+ //console.log(this);
16
16
  //#region the following code makes sure, that a function scope.vm.close is available
17
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
- }
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
25
 
26
26
  //#endregion
27
27
  },
28
28
  controller: function () {
29
- console.log('angularPortalBladeGrid.controller()');
30
- console.log(this);
31
-
32
- //this.blade = this.vm.blade;
33
- //this.contentTitle = this.vm.contentTitle;
34
- //this.contentSubTitle = this.vm.contentSubTitle;
35
- //this.isNav = this.vm.isNav;
29
+ //console.log('angularPortalBladeGrid.controller()');
30
+ //console.log(this);
36
31
 
37
32
  this.vm.close = function () {
38
33
  angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
39
34
  portalService.bladeArea.clearLastLevel();
40
35
  };
41
- //this.vm.close = this.close;
42
36
  },
43
37
  controllerAs: 'ctrl'
44
38
  };
@@ -11,34 +11,28 @@ namespace angularportalazure {
11
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
- console.log('angularPortalBladeNav.link()');
15
- console.log(this);
14
+ //console.log('angularPortalBladeNav.link()');
15
+ //console.log(this);
16
16
  //#region the following code makes sure, that a function scope.vm.close is available
17
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
- }
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
25
 
26
26
  //#endregion
27
27
  },
28
28
  controller: function () {
29
- console.log('angularPortalBladeNav.controller()');
30
- console.log(this);
29
+ //console.log('angularPortalBladeNav.controller()');
30
+ //console.log(this);
31
31
 
32
- //this.blade = this.vm.blade;
33
- //this.contentTitle = this.vm.contentTitle;
34
- //this.contentSubTitle = this.vm.contentSubTitle;
35
- //this.isNav = this.vm.isNav;
36
-
37
- //this.vm.close = function () {
38
- // angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
39
- // portalService.bladeArea.clearLastLevel();
40
- //};
41
- //this.vm.close = this.close;
32
+ this.vm.close = function () {
33
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
34
+ portalService.bladeArea.clearLastLevel();
35
+ };
42
36
  },
43
37
  controllerAs: 'ctrl'
44
38
  };
@@ -11,34 +11,28 @@ namespace angularportalazure {
11
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
- console.log('angularPortalBlade.link()');
15
- console.log(this);
14
+ //console.log('angularPortalBlade.link()');
15
+ //console.log(this);
16
16
  //#region the following code makes sure, that a function scope.vm.close is available
17
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
- }
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
25
 
26
26
  //#endregion
27
27
  },
28
28
  controller: function () {
29
- console.log('angularPortalBlade.controller()');
30
- console.log(this);
31
-
32
- //this.blade = this.vm.blade;
33
- //this.contentTitle = this.vm.contentTitle;
34
- //this.contentSubTitle = this.vm.contentSubTitle;
35
- //this.isNav = this.vm.isNav;
29
+ //console.log('angularPortalBlade.controller()');
30
+ //console.log(this);
36
31
 
37
32
  this.vm.close = function () {
38
33
  angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
39
34
  portalService.bladeArea.clearLastLevel();
40
35
  };
41
- //this.vm.close = this.close;
42
36
  },
43
37
  controllerAs: 'ctrl'
44
38
  };
@@ -6,8 +6,8 @@
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
- console.log('grid.link()');
10
- console.log(this);
9
+ //console.log('grid.link()');
10
+ //console.log(this);
11
11
  angular.forEach(scope.vm.items, function (item) {
12
12
  // Set some default values, depending on existing values
13
13
  if (item.isVisible == undefined) { item.isVisible = true; }
@@ -16,8 +16,8 @@
16
16
  });
17
17
  },
18
18
  controller: function () {
19
- console.log('grid.controller()');
20
- console.log(this);
19
+ //console.log('grid.controller()');
20
+ //console.log(this);
21
21
  },
22
22
  controllerAs: 'ctrl'
23
23
  };
@@ -6,12 +6,12 @@
6
6
  bindToController: { vm: '=' },
7
7
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
8
8
  link: function (scope, element, attrs, controller) {
9
- console.log('angularPortalHome.link()');
10
- console.log(this);
9
+ //console.log('angularPortalHome.link()');
10
+ //console.log(this);
11
11
  },
12
12
  controller: function () {
13
- console.log('angularPortalHome.controller()');
14
- console.log(this);
13
+ //console.log('angularPortalHome.controller()');
14
+ //console.log(this);
15
15
  },
16
16
  controllerAs: 'ctrl'
17
17
  };
@@ -6,9 +6,13 @@
6
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
- console.log('nav.link()');
9
+ //console.log('nav.link()');
10
10
  console.log(this);
11
- angular.forEach(scope.vm.navItems, function (item) {
11
+ console.log(scope);
12
+ console.log(element);
13
+ console.log(attrs);
14
+ console.log(controller);
15
+ angular.forEach(controller.vm.navItems, function (item) {
12
16
  // Set some default values, depending on existing values
13
17
  if (item.isVisible == undefined) { item.isVisible = true; }
14
18
  if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
@@ -16,8 +20,8 @@
16
20
  });
17
21
  },
18
22
  controller: function () {
19
- console.log('nav.controller()');
20
- console.log(this);
23
+ //console.log('nav.controller()');
24
+ //console.log(this);
21
25
  },
22
26
  controllerAs: 'ctrl'
23
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.26",
5
+ "version": "0.2.28",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {