@ardimedia/angular-portal-azure 0.2.22 → 0.2.24

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 CHANGED
@@ -307,6 +307,10 @@ declare namespace angularportalazure {
307
307
  }
308
308
  declare namespace angularportalazure {
309
309
  }
310
+ declare namespace angularportalazure {
311
+ }
312
+ declare namespace angularportalazure {
313
+ }
310
314
  declare namespace angularportalazure {
311
315
  /** If a Web API through an exception, the following interface should be available. */
312
316
  interface IException {
package/apn.js CHANGED
@@ -896,7 +896,7 @@ var angularportalazure;
896
896
  /// <reference path="../../domain/portalservice.ts" />
897
897
  var angularportalazure;
898
898
  (function (angularportalazure) {
899
- function azurePortalBlade($window, portalService) {
899
+ function angularPortalBladeGrid(portalService) {
900
900
  return {
901
901
  restrict: 'E',
902
902
  transclude: true,
@@ -904,7 +904,7 @@ 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('azurePortalBlade.link()');
907
+ console.log('angularPortalBladeGrid.link()');
908
908
  console.log(this);
909
909
  //#region the following code makes sure, that a function scope.vm.close is available
910
910
  if (scope.vm === undefined) {
@@ -919,7 +919,7 @@ var angularportalazure;
919
919
  //#endregion
920
920
  },
921
921
  controller: function () {
922
- console.log('azurePortalBlade.controller()');
922
+ console.log('angularPortalBladeGrid.controller()');
923
923
  console.log(this);
924
924
  //this.blade = this.vm.blade;
925
925
  //this.contentTitle = this.vm.contentTitle;
@@ -931,10 +931,100 @@ var angularportalazure;
931
931
  };
932
932
  //this.vm.close = this.close;
933
933
  },
934
- controllerAs: 'vm'
934
+ controllerAs: 'ctrl'
935
+ };
936
+ }
937
+ angular.module('angularportalazure').directive('angularPortalBladeGrid', ['angularportalazure.portalService', angularPortalBladeGrid]);
938
+ })(angularportalazure || (angularportalazure = {}));
939
+ /// <reference types="angular" />
940
+ /// <reference path="../../domain/debug.ts" />
941
+ /// <reference path="../../domain/portalservice.ts" />
942
+ var angularportalazure;
943
+ (function (angularportalazure) {
944
+ function angularPortalBladeNav(portalService) {
945
+ return {
946
+ restrict: 'E',
947
+ transclude: true,
948
+ scope: {},
949
+ bindToController: { vm: '=' },
950
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
951
+ link: function (scope, element, attrs, controller) {
952
+ console.log('angularPortalBladeNav.link()');
953
+ console.log(this);
954
+ //#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
+ }
964
+ //#endregion
965
+ },
966
+ 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;
978
+ },
979
+ controllerAs: 'ctrl'
935
980
  };
936
981
  }
937
- angular.module('angularportalazure').directive('azurePortalBlade', ['$window', 'angularportalazure.portalService', azurePortalBlade]);
982
+ angular.module('angularportalazure').directive('angularPortalBladeNav', ['angularportalazure.portalService', angularPortalBladeNav]);
983
+ })(angularportalazure || (angularportalazure = {}));
984
+ /// <reference types="angular" />
985
+ /// <reference path="../../domain/debug.ts" />
986
+ /// <reference path="../../domain/portalservice.ts" />
987
+ var angularportalazure;
988
+ (function (angularportalazure) {
989
+ function angularPortalBlade(portalService) {
990
+ return {
991
+ restrict: 'E',
992
+ transclude: true,
993
+ scope: {},
994
+ bindToController: { vm: '=' },
995
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
996
+ link: function (scope, element, attrs, controller) {
997
+ console.log('angularPortalBlade.link()');
998
+ console.log(this);
999
+ //#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
+ }
1009
+ //#endregion
1010
+ },
1011
+ 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;
1018
+ this.vm.close = function () {
1019
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
1020
+ portalService.bladeArea.clearLastLevel();
1021
+ };
1022
+ //this.vm.close = this.close;
1023
+ },
1024
+ controllerAs: 'ctrl'
1025
+ };
1026
+ }
1027
+ angular.module('angularportalazure').directive('angularPortalBlade', ['angularportalazure.portalService', angularPortalBlade]);
938
1028
  })(angularportalazure || (angularportalazure = {}));
939
1029
  // http://blogs.msdn.com/b/laurieatkinson/archive/2014/08/23/implementing-a-save-warning-in-an-angular-spa.aspx
940
1030
  //'use strict';
@@ -975,71 +1065,70 @@ var angularportalazure;
975
1065
  //}
976
1066
  var angularportalazure;
977
1067
  (function (angularportalazure) {
978
- function azurePortalHome() {
979
- console.log('azurePortalHome');
1068
+ function grid($window) {
980
1069
  return {
981
1070
  restrict: 'E',
982
1071
  scope: {},
983
1072
  bindToController: { vm: '=' },
984
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
1073
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
985
1074
  link: function (scope, element, attrs, controller) {
986
- console.log('azurePortalHome.link()');
1075
+ console.log('grid.link()');
987
1076
  console.log(this);
1077
+ angular.forEach(scope.vm.items, function (item) {
1078
+ // Set some default values, depending on existing values
1079
+ if (item.isVisible == undefined) {
1080
+ item.isVisible = true;
1081
+ }
1082
+ if (item.title == undefined || item.title == '') {
1083
+ item.style = { cursor: 'default' };
1084
+ }
1085
+ if (item.bladePath == undefined || item.bladePath == '') {
1086
+ item.style = { cursor: 'default' };
1087
+ }
1088
+ });
988
1089
  },
989
1090
  controller: function () {
990
- console.log('azurePortalHome.controller()');
1091
+ console.log('grid.controller()');
991
1092
  console.log(this);
992
1093
  },
993
1094
  controllerAs: 'ctrl'
994
1095
  };
995
1096
  }
996
- angular.module('angularportalazure').directive('azurePortalHome', azurePortalHome);
1097
+ angular.module('angularportalazure').directive('grid', ['$window', grid]);
997
1098
  })(angularportalazure || (angularportalazure = {}));
998
1099
  var angularportalazure;
999
1100
  (function (angularportalazure) {
1000
- function nav($window) {
1101
+ function angularPortalHome() {
1001
1102
  return {
1002
1103
  restrict: 'E',
1003
1104
  scope: {},
1004
1105
  bindToController: { vm: '=' },
1005
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
1106
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
1006
1107
  link: function (scope, element, attrs, controller) {
1007
- console.log('nav.link()');
1108
+ console.log('angularPortalHome.link()');
1008
1109
  console.log(this);
1009
- angular.forEach(scope.vm.navItems, function (item) {
1010
- // Set some default values, depending on existing values
1011
- if (item.isVisible == undefined) {
1012
- item.isVisible = true;
1013
- }
1014
- if (item.title == undefined || item.title == '') {
1015
- item.style = { cursor: 'default' };
1016
- }
1017
- if (item.bladePath == undefined || item.bladePath == '') {
1018
- item.style = { cursor: 'default' };
1019
- }
1020
- });
1021
1110
  },
1022
1111
  controller: function () {
1023
- console.log('nav.controller()');
1112
+ console.log('angularPortalHome.controller()');
1024
1113
  console.log(this);
1025
1114
  },
1026
- controllerAs: 'vm'
1115
+ controllerAs: 'ctrl'
1027
1116
  };
1028
1117
  }
1029
- angular.module('angularportalazure').directive('nav', ['$window', nav]);
1118
+ angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
1030
1119
  })(angularportalazure || (angularportalazure = {}));
1031
1120
  var angularportalazure;
1032
1121
  (function (angularportalazure) {
1033
- function navGrid($window) {
1122
+ function nav($window) {
1034
1123
  return {
1035
1124
  restrict: 'E',
1036
1125
  scope: {},
1037
1126
  bindToController: { vm: '=' },
1038
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/navgrid/navgrid.html',
1127
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
1039
1128
  link: function (scope, element, attrs, controller) {
1040
- console.log('navGrid.link()');
1129
+ console.log('nav.link()');
1041
1130
  console.log(this);
1042
- angular.forEach(scope.vm.items, function (item) {
1131
+ angular.forEach(scope.vm.navItems, function (item) {
1043
1132
  // Set some default values, depending on existing values
1044
1133
  if (item.isVisible == undefined) {
1045
1134
  item.isVisible = true;
@@ -1053,13 +1142,13 @@ var angularportalazure;
1053
1142
  });
1054
1143
  },
1055
1144
  controller: function () {
1056
- console.log('navGrid.controller()');
1145
+ console.log('nav.controller()');
1057
1146
  console.log(this);
1058
1147
  },
1059
- controllerAs: 'vm'
1148
+ controllerAs: 'ctrl'
1060
1149
  };
1061
1150
  }
1062
- angular.module('angularportalazure').directive('navGrid', ['$window', navGrid]);
1151
+ angular.module('angularportalazure').directive('nav', ['$window', nav]);
1063
1152
  })(angularportalazure || (angularportalazure = {}));
1064
1153
  /// <reference path="bladearea.ts" />
1065
1154
  /// <reference path="debug.ts" />
@@ -3,7 +3,7 @@
3
3
  /// <reference path="../../domain/portalservice.ts" />
4
4
 
5
5
  namespace angularportalazure {
6
- function azurePortalBlade($window: ng.IWindowService, portalService: angularportalazure.PortalService) {
6
+ function angularPortalBladeGrid(portalService: angularportalazure.PortalService) {
7
7
  return {
8
8
  restrict: 'E',
9
9
  transclude: true,
@@ -11,7 +11,7 @@ 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('azurePortalBlade.link()');
14
+ console.log('angularPortalBladeGrid.link()');
15
15
  console.log(this);
16
16
  //#region the following code makes sure, that a function scope.vm.close is available
17
17
 
@@ -26,7 +26,7 @@ namespace angularportalazure {
26
26
  //#endregion
27
27
  },
28
28
  controller: function () {
29
- console.log('azurePortalBlade.controller()');
29
+ console.log('angularPortalBladeGrid.controller()');
30
30
  console.log(this);
31
31
 
32
32
  //this.blade = this.vm.blade;
@@ -40,9 +40,9 @@ namespace angularportalazure {
40
40
  };
41
41
  //this.vm.close = this.close;
42
42
  },
43
- controllerAs: 'vm'
43
+ controllerAs: 'ctrl'
44
44
  };
45
45
  }
46
46
 
47
- angular.module('angularportalazure').directive('azurePortalBlade', ['$window', 'angularportalazure.portalService', azurePortalBlade]);
47
+ angular.module('angularportalazure').directive('angularPortalBladeGrid', ['angularportalazure.portalService', angularPortalBladeGrid]);
48
48
  }
@@ -0,0 +1,48 @@
1
+ /// <reference types="angular" />
2
+ /// <reference path="../../domain/debug.ts" />
3
+ /// <reference path="../../domain/portalservice.ts" />
4
+
5
+ namespace angularportalazure {
6
+ function angularPortalBladeNav(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('angularPortalBladeNav.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('angularPortalBladeNav.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;
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;
42
+ },
43
+ controllerAs: 'ctrl'
44
+ };
45
+ }
46
+
47
+ angular.module('angularportalazure').directive('angularPortalBladeNav', ['angularportalazure.portalService', angularPortalBladeNav]);
48
+ }
@@ -0,0 +1,48 @@
1
+ /// <reference types="angular" />
2
+ /// <reference path="../../domain/debug.ts" />
3
+ /// <reference path="../../domain/portalservice.ts" />
4
+
5
+ namespace angularportalazure {
6
+ function angularPortalBlade(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('angularPortalBlade.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('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;
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;
42
+ },
43
+ controllerAs: 'ctrl'
44
+ };
45
+ }
46
+
47
+ angular.module('angularportalazure').directive('angularPortalBlade', ['angularportalazure.portalService', angularPortalBlade]);
48
+ }
@@ -1,8 +1,8 @@
1
- <section data-ng-form="formblade" class="fxs-blade-locked fxs-blade fx-rightClick fxs-bladesize-small" ng-style="vm.blade.width">
1
+ <section data-ng-form="formblade" class="fxs-blade-locked fxs-blade fx-rightClick fxs-bladesize-small" ng-style="ctrl.vm.blade.width">
2
2
  <header class="fxs-blade-header">
3
3
  <div class="fxs-blade-statusbar-wrapper">
4
4
  <div class="fxs-blade-statusbar">
5
- <span ng-class="vm.blade.statusbarClass">{{vm.blade.statusbar}}</span>
5
+ <span ng-class="ctrl.vm.blade.statusbarClass">{{ctrl.vm.blade.statusbar}}</span>
6
6
  </div>
7
7
  </div>
8
8
  <div class="fxs-blade-actions">
@@ -11,12 +11,12 @@
11
11
  <path class="msportalfx-svg-c01" d="M 50 17.8 L 32.2 0 c -0.8 2.6 -0.9 5.2 -0.5 7.7 L 18.6 20.7 c -4 -1.6 -8.8 -2.1 -13 -0.7 l 9.4 9.1 L 0 50 l 21 -15 l 9 8.8 c 1.3 -4.2 0.9 -8.6 -0.7 -12.4 l 13 -13 C 44.8 18.7 47.4 18.6 50 17.8 Z" />
12
12
  </svg>
13
13
  </button>-->
14
- <button data-ng-show="vm.blade.isMaximize" title="Maximize" class="fxs-blade-maximizeOrRestore" type="button">
14
+ <button data-ng-show="ctrl.vm.blade.isMaximize" title="Maximize" class="fxs-blade-maximizeOrRestore" type="button">
15
15
  <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20">
16
16
  <path class="msportalfx-svg-c01" d="M 3 4 v 12 h 14 V 4 H 3 Z M 5 14 V 6 h 10 v 8 H 5 Z" />
17
17
  </svg>
18
18
  </button>
19
- <button data-ng-click="vm.close();" title="Schliessen" class="fxs-blade-close" type="button">
19
+ <button data-ng-click="ctrl.vm.close();" title="Schliessen" class="fxs-blade-close" type="button">
20
20
  <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20">
21
21
  <polygon class="msportalfx-svg-c01" points="16.894,5.414 15.48,4 10.436,9.044 5.414,4.023 4,5.437 9.022,10.458 4.022,15.458 5.436,16.872 10.436,11.872 15.458,16.894 16.872,15.48 11.85,10.458" />
22
22
  </svg>
@@ -24,22 +24,22 @@
24
24
  </div>
25
25
  <div class="fxs-blade-title">
26
26
  <div class="fxs-blade-title-text-container">
27
- <h2 class="fxs-pannable fxs-blade-title-titleText msportalfx-tooltip-overflow">{{vm.blade.title}}</h2>
28
- <h3 class="fxs-pannable msportalfx-tooltip-overflow">{{vm.blade.subTitle}}</h3>
27
+ <h2 class="fxs-pannable fxs-blade-title-titleText msportalfx-tooltip-overflow">{{ctrl.vm.blade.title}}</h2>
28
+ <h3 class="fxs-pannable msportalfx-tooltip-overflow">{{ctrl.vm.blade.subTitle}}</h3>
29
29
  </div>
30
30
  </div>
31
31
  <div class="fxs-blade-commandBarContainer">
32
32
  <div class="fxs-commandBar fxs-commandBar-active">
33
33
  <ul class="fxs-commandBar-itemList fxs-commandBar-itemList-canExpand">
34
34
  <!-- SHOW MORE COMMANDS -->
35
- <li ng-show="vm.blade.isCommandMore" class="fxs-commandBar-item-expandListContainer">
35
+ <li ng-show="ctrl.vm.blade.isCommandMore" class="fxs-commandBar-item-expandListContainer">
36
36
  <a title="Fewer" class="fxs-commandBar-item fxs-commandBar-item-expandList" href="" data-bind="click: func._ellipsisCommandHandler, attr: { title: data.ellipsisCommandText }"></a>
37
37
  </li>
38
38
  <!-- SERACH -->
39
- <li ng-show="vm.blade.isCommandSearch">
40
- <a data-ng-click="vm.blade.commandSearch()" class="fxs-commandBar-item" href="#"
39
+ <li ng-show="ctrl.vm.blade.isCommandSearch">
40
+ <a data-ng-click="ctrl.vm.blade.commandSearch()" class="fxs-commandBar-item" href="#"
41
41
  data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
42
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandSearchText || 'suchen'}}</div>
42
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandSearchText || 'suchen'}}</div>
43
43
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
44
44
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 512 512" enable-background="new 0 0 512 512">
45
45
  <g>
@@ -51,10 +51,10 @@
51
51
  </a>
52
52
  </li>
53
53
  <!-- ORDER -->
54
- <li ng-show="vm.blade.isCommandOrder">
55
- <a data-ng-click="vm.blade.commandOrder()" class="fxs-commandBar-item" href="#"
54
+ <li ng-show="ctrl.vm.blade.isCommandOrder">
55
+ <a data-ng-click="ctrl.vm.blade.commandOrder()" class="fxs-commandBar-item" href="#"
56
56
  data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
57
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandOrderText || 'bestellen'}}</div>
57
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandOrderText || 'bestellen'}}</div>
58
58
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
59
59
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 30.512 24.717" focusable="false">
60
60
  <path d="M26.818,16.14l3.607-10.796c0.181-0.519,0.044-0.831-0.102-1.037c-0.374-0.527-1.143-0.532-1.292-0.532L8.646,3.771 L8.102,1.19C7.955,0.581,7.521,0,6.646,0H0.917C0.323,0,0,0.278,0,0.833v1.49C0,2.86,0.322,3,0.938,3h4.837l3.702,15.717 c-0.588,0.623-0.908,1.531-0.908,2.378c0,1.864,1.484,3.582,3.38,3.582c1.79,0,3.132-1.677,3.35-2.677h7.21 c0.218,1,1.305,2.717,3.349,2.717c1.863,0,3.378-1.614,3.378-3.475c0-1.851-1.125-3.492-3.359-3.492c-0.929,0-2.031,0.5-2.543,1.25 h-8.859c-0.643-1-1.521-1.31-2.409-1.345L11.943,17h13.479C26.438,17,26.638,16.63,26.818,16.14z M25.883,19.931 c0.701,0,1.27,0.569,1.27,1.27c0,0.701-0.569,1.27-1.27,1.27s-1.271-0.568-1.271-1.27C24.613,20.5,25.182,19.931,25.883,19.931z M13.205,21.201c0,0.709-0.576,1.286-1.283,1.286c-0.709-0.002-1.286-0.577-1.286-1.286s0.577-1.286,1.286-1.286 C12.629,19.915,13.205,20.492,13.205,21.201z" />
@@ -63,20 +63,20 @@
63
63
  </a>
64
64
  </li>
65
65
  <!-- NEW -->
66
- <li ng-show="vm.blade.isCommandNew">
67
- <a data-ng-click="vm.blade.commandNew()" class="fxs-commandBar-item" href="#"
66
+ <li ng-show="ctrl.vm.blade.isCommandNew">
67
+ <a data-ng-click="ctrl.vm.blade.commandNew()" class="fxs-commandBar-item" href="#"
68
68
  data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
69
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandNewText || 'neu'}}</div>
69
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandNewText || 'neu'}}</div>
70
70
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
71
71
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false"> <g> <g> <polygon points="14,21 9,21 9,2 14,2 14,20.87" /> </g> <g> <polygon points="20.87,14 2,14 2,9 21,9 21,14" /> </g> </g> </svg>
72
72
  </div>
73
73
  </a>
74
74
  </li>
75
75
  <!-- COPY -->
76
- <li ng-show="vm.blade.isCommandCopy">
77
- <a data-ng-click="vm.blade.commandCopy()" class="fxs-commandBar-item" href="#"
76
+ <li ng-show="ctrl.vm.blade.isCommandCopy">
77
+ <a data-ng-click="ctrl.vm.blade.commandCopy()" class="fxs-commandBar-item" href="#"
78
78
  data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
79
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandCopyText || 'kopieren'}}</div>
79
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandCopyText || 'kopieren'}}</div>
80
80
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
81
81
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 512 512" enable-background="new 0 0 512 512">
82
82
  <path d="M320,128V0H96L0,96v288h192v128h320V128H320z M96,45.255V96H45.255L96,45.255z M32,352V128h96V32h160v96l-96,96v128H32z M288,173.255V224h-50.745L288,173.255z M480,480H224V256h96v-96h160V480z" />
@@ -85,10 +85,10 @@
85
85
  </a>
86
86
  </li>
87
87
  <!-- SAVE -->
88
- <li ng-show="vm.blade.isCommandSave">
89
- <a data-ng-click="vm.blade.commandSave()" class="fxs-commandBar-item" href="#"
88
+ <li ng-show="ctrl.vm.blade.isCommandSave">
89
+ <a data-ng-click="ctrl.vm.blade.commandSave()" class="fxs-commandBar-item" href="#"
90
90
  data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
91
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandSaveText || 'speichern'}}</div>
91
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandSaveText || 'speichern'}}</div>
92
92
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
93
93
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false">
94
94
  <g>
@@ -100,9 +100,9 @@
100
100
  </a>
101
101
  </li>
102
102
  <!-- DELETE -->
103
- <li ng-show="vm.blade.isCommandDelete">
104
- <a data-ng-click="vm.blade.commandDelete()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
105
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandDeleteText || 'löschen'}}</div>
103
+ <li ng-show="ctrl.vm.blade.isCommandDelete">
104
+ <a data-ng-click="ctrl.vm.blade.commandDelete()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
105
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandDeleteText || 'löschen'}}</div>
106
106
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
107
107
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 512 512" enable-background="new 0 0 512 512">
108
108
  <!--<path d="M 19.846 6.5 H 5.154 C 4.601 6.5 4.5 6.27 4.5 6 s 0.101 -1.5 0.654 -1.5 h 14.692 C 20.399 4.5 20.5 5.73 20.5 6 S 20.399 6.5 19.846 6.5 Z" />
@@ -115,63 +115,63 @@
115
115
  </a>
116
116
  </li>
117
117
  <!-- CANCEL -->
118
- <li ng-show="vm.blade.isCommandCancel">
119
- <a data-ng-click="vm.blade.commandCancel()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
120
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandCancelText || 'abbrechen'}}</div>
118
+ <li ng-show="ctrl.vm.blade.isCommandCancel">
119
+ <a data-ng-click="ctrl.vm.blade.commandCancel()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
120
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandCancelText || 'abbrechen'}}</div>
121
121
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
122
122
  <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20"><polygon points="16.894,5.414 15.48,4 10.436,9.044 5.414,4.023 4,5.437 9.022,10.458 4.022,15.458 5.436,16.872 10.436,11.872 15.458,16.894 16.872,15.48 11.85,10.458" /></svg>
123
123
  </div>
124
124
  </a>
125
125
  </li>
126
126
  <!-- BROWSE -->
127
- <li ng-show="vm.blade.isCommandBrowse">
128
- <a data-ng-click="vm.blade.commandBrowse()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
129
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandBrowseText || 'Browse'}}</div>
127
+ <li ng-show="ctrl.vm.blade.isCommandBrowse">
128
+ <a data-ng-click="ctrl.vm.blade.commandBrowse()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
129
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandBrowseText || 'Browse'}}</div>
130
130
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
131
131
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false"> <g> <polygon clip-rule="evenodd" fill-rule="evenodd" points="14.607,2.04 17.727,4.61 8.557,13.31 11.377,16.12 19.987,6.96 22.507,9.48 22.507,2.04" /> <path clip-rule="evenodd" fill-rule="evenodd" d="M 19.507 19.04 h -15 v -14 h 7 v -3 h -7.92 c -1.66 0 -2.09 1.77 -2.08 1.75 c -0.02 -0.74 0.01 11.45 0.02 16.17 c 0 1.09 2.05 2.08 2 2.08 c 0.68 -0.05 12.88 -0.02 17.36 -0.01 c 1 0.01 1.6 -1.46 1.62 -1.4 c -0.02 0.93 0 -6.59 0 -6.59 h -3 V 19.04 Z" /> </g> </svg>
132
132
  </div>
133
133
  </a>
134
134
  </li>
135
135
  <!-- START -->
136
- <li ng-show="vm.blade.isCommandStart">
137
- <a data-ng-click="vm.blade.commandStart()" class="fxs-commandBar-item fxs-commandBar-itemDisabled" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
138
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandStartText || 'Start'}}</div>
136
+ <li ng-show="ctrl.vm.blade.isCommandStart">
137
+ <a data-ng-click="ctrl.vm.blade.commandStart()" class="fxs-commandBar-item fxs-commandBar-itemDisabled" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
138
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandStartText || 'Start'}}</div>
139
139
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
140
140
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false"> <g> <polygon points="20,11.95 6,22 6,2" /> </g> </svg>
141
141
  </div>
142
142
  </a>
143
143
  </li>
144
144
  <!-- STOP -->
145
- <li ng-show="vm.blade.isCommandStop">
146
- <a data-ng-click="vm.blade.commandStop()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
147
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandStopText || 'Stop'}}</div>
145
+ <li ng-show="ctrl.vm.blade.isCommandStop">
146
+ <a data-ng-click="ctrl.vm.blade.commandStop()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
147
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandStopText || 'Stop'}}</div>
148
148
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
149
149
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false"> <rect x="4" y="4" width="16" height="16" /> </svg>
150
150
  </div>
151
151
  </a>
152
152
  </li>
153
153
  <!-- RESTART -->
154
- <li ng-show="vm.blade.isCommandRestart">
155
- <a data-ng-click="vm.blade.commandRestart()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
156
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandRestartText || 'Restart'}}</div>
154
+ <li ng-show="ctrl.vm.blade.isCommandRestart">
155
+ <a data-ng-click="ctrl.vm.blade.commandRestart()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
156
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandRestartText || 'Restart'}}</div>
157
157
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
158
158
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false"> <g> <g> <polygon points="3.25,2 11.94,2 11.94,10.17" /> <path d="M 12.6 22 C 7.32 21.91 3 17.53 3 12.19 c 0 -3.12 1.49 -5.86 3.78 -7.58 l 2.08 2.08 c -1.8 1.18 -2.98 3.22 -2.98 5.55 c 0 3.74 3.02 6.81 6.71 6.87 c 3.71 0.06 6.7 -2.9 6.7 -6.63 c 0 -2.37 -1.22 -4.48 -3.06 -5.71 l 2.04 -2.06 c 2.36 1.8 3.73 4.7 3.73 7.88 C 22 17.92 17.9 22.09 12.6 22 Z" /> </g> </g> </svg>
159
159
  </div>
160
160
  </a>
161
161
  </li>
162
162
  <!-- SWAP -->
163
- <li ng-show="vm.blade.isCommandSwap">
164
- <a data-ng-click="vm.blade.commandSwap()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
165
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandSwapText || 'Swap'}}</div>
163
+ <li ng-show="ctrl.vm.blade.isCommandSwap">
164
+ <a data-ng-click="ctrl.vm.blade.commandSwap()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
165
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandSwapText || 'Swap'}}</div>
166
166
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
167
167
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false"><polygon points="14.047,4.976 8.075,9.769 12.968,10.134 10.7,11.963 4.142,11.488 5.011,4.958 7.279,3.129 6.63,8.004 12.657,2.855 13.663,4.336" /><polygon points="19.927,19.097 17.806,20.715 18.318,16.061 12.026,21.145 10.59,19.38 16.873,14.295 11.98,13.93 14.248,12.101 20.604,12.32" /></svg>
168
168
  </div>
169
169
  </a>
170
170
  </li>
171
171
  <!-- DOCUMENT -->
172
- <li ng-show="vm.blade.isCommandDocument">
173
- <a data-ng-click="vm.blade.commandDocument()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
174
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandDocumentText || 'Dokument'}}</div>
172
+ <li ng-show="ctrl.vm.blade.isCommandDocument">
173
+ <a data-ng-click="ctrl.vm.blade.commandDocument()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
174
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandDocumentText || 'Dokument'}}</div>
175
175
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
176
176
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
177
177
  <path d="M65.164,11.126H26.033c-2.627,0-4.767,2.141-4.767,4.768v68.213c0,2.63,2.14,4.768,4.767,4.768h47.932 c2.63,0,4.768-2.138,4.768-4.768V25.869L65.164,11.126z M66.289,18.261l5.948,6.463h-5.948V18.261z M74.729,84.106 c0,0.421-0.344,0.765-0.765,0.765H26.033c-0.421,0-0.763-0.344-0.763-0.765V15.894c0-0.421,0.342-0.762,0.763-0.762h36.251v11.595 c0,1.104,0.899,1.999,2.003,1.999h10.442V84.106z M32.333,32.421h34c0.828,0,1.5,0.672,1.5,1.5s-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5S31.505,32.421,32.333,32.421z M67.833,44.001c0,0.828-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,42.501,67.833,43.173,67.833,44.001z M67.833,53.751 c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,52.251,67.833,52.923,67.833,53.751z M67.833,63.667c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34 C67.161,62.167,67.833,62.839,67.833,63.667z" />
@@ -180,9 +180,9 @@
180
180
  </a>
181
181
  </li>
182
182
  <!-- DOCUMENT2 -->
183
- <li ng-show="vm.blade.isCommandDocument2">
184
- <a data-ng-click="vm.blade.commandDocument2()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
185
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandDocument2Text || 'Dokument'}}</div>
183
+ <li ng-show="ctrl.vm.blade.isCommandDocument2">
184
+ <a data-ng-click="ctrl.vm.blade.commandDocument2()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
185
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandDocument2Text || 'Dokument'}}</div>
186
186
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
187
187
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
188
188
  <path d="M65.164,11.126H26.033c-2.627,0-4.767,2.141-4.767,4.768v68.213c0,2.63,2.14,4.768,4.767,4.768h47.932 c2.63,0,4.768-2.138,4.768-4.768V25.869L65.164,11.126z M66.289,18.261l5.948,6.463h-5.948V18.261z M74.729,84.106 c0,0.421-0.344,0.765-0.765,0.765H26.033c-0.421,0-0.763-0.344-0.763-0.765V15.894c0-0.421,0.342-0.762,0.763-0.762h36.251v11.595 c0,1.104,0.899,1.999,2.003,1.999h10.442V84.106z M32.333,32.421h34c0.828,0,1.5,0.672,1.5,1.5s-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5S31.505,32.421,32.333,32.421z M67.833,44.001c0,0.828-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,42.501,67.833,43.173,67.833,44.001z M67.833,53.751 c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,52.251,67.833,52.923,67.833,53.751z M67.833,63.667c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34 C67.161,62.167,67.833,62.839,67.833,63.667z" />
@@ -191,9 +191,9 @@
191
191
  </a>
192
192
  </li>
193
193
  <!-- DOCUMENT3 -->
194
- <li ng-show="vm.blade.isCommandDocument3">
195
- <a data-ng-click="vm.blade.commandDocument3()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
196
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandDocument3Text || 'Dokument'}}</div>
194
+ <li ng-show="ctrl.vm.blade.isCommandDocument3">
195
+ <a data-ng-click="ctrl.vm.blade.commandDocument3()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
196
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandDocument3Text || 'Dokument'}}</div>
197
197
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
198
198
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
199
199
  <path d="M65.164,11.126H26.033c-2.627,0-4.767,2.141-4.767,4.768v68.213c0,2.63,2.14,4.768,4.767,4.768h47.932 c2.63,0,4.768-2.138,4.768-4.768V25.869L65.164,11.126z M66.289,18.261l5.948,6.463h-5.948V18.261z M74.729,84.106 c0,0.421-0.344,0.765-0.765,0.765H26.033c-0.421,0-0.763-0.344-0.763-0.765V15.894c0-0.421,0.342-0.762,0.763-0.762h36.251v11.595 c0,1.104,0.899,1.999,2.003,1.999h10.442V84.106z M32.333,32.421h34c0.828,0,1.5,0.672,1.5,1.5s-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5S31.505,32.421,32.333,32.421z M67.833,44.001c0,0.828-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,42.501,67.833,43.173,67.833,44.001z M67.833,53.751 c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,52.251,67.833,52.923,67.833,53.751z M67.833,63.667c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34 C67.161,62.167,67.833,62.839,67.833,63.667z" />
@@ -202,9 +202,9 @@
202
202
  </a>
203
203
  </li>
204
204
  <!-- DOCUMENT4 -->
205
- <li ng-show="vm.blade.isCommandDocument4">
206
- <a data-ng-click="vm.blade.commandDocument4()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
207
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandDocument4Text || 'Dokument'}}</div>
205
+ <li ng-show="ctrl.vm.blade.isCommandDocument4">
206
+ <a data-ng-click="ctrl.vm.blade.commandDocument4()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
207
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandDocument4Text || 'Dokument'}}</div>
208
208
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
209
209
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
210
210
  <path d="M65.164,11.126H26.033c-2.627,0-4.767,2.141-4.767,4.768v68.213c0,2.63,2.14,4.768,4.767,4.768h47.932 c2.63,0,4.768-2.138,4.768-4.768V25.869L65.164,11.126z M66.289,18.261l5.948,6.463h-5.948V18.261z M74.729,84.106 c0,0.421-0.344,0.765-0.765,0.765H26.033c-0.421,0-0.763-0.344-0.763-0.765V15.894c0-0.421,0.342-0.762,0.763-0.762h36.251v11.595 c0,1.104,0.899,1.999,2.003,1.999h10.442V84.106z M32.333,32.421h34c0.828,0,1.5,0.672,1.5,1.5s-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5S31.505,32.421,32.333,32.421z M67.833,44.001c0,0.828-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,42.501,67.833,43.173,67.833,44.001z M67.833,53.751 c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,52.251,67.833,52.923,67.833,53.751z M67.833,63.667c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34 C67.161,62.167,67.833,62.839,67.833,63.667z" />
@@ -213,9 +213,9 @@
213
213
  </a>
214
214
  </li>
215
215
  <!-- Document5 -->
216
- <li ng-show="vm.blade.isCommandDocument5">
217
- <a data-ng-click="vm.blade.commandDocument5()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
218
- <div class="fxs-commandBar-item-text" data-bind="text: text()">{{vm.blade.commandDocument5Text || 'Dokument'}}</div>
216
+ <li ng-show="ctrl.vm.blade.isCommandDocument5">
217
+ <a data-ng-click="ctrl.vm.blade.commandDocument5()" class="fxs-commandBar-item" href="#" data-bind='css: { "fxs-commandBar-itemDisabled": !enabled(), "fxs-commandBar-itemPressed": pressed() }, attr: { href: enabled() ? "#" : null }'>
218
+ <div class="fxs-commandBar-item-text" data-bind="text: text()">{{ctrl.vm.blade.commandDocument5Text || 'Dokument'}}</div>
219
219
  <div class="fxs-commandBar-item-icon" data-bind="image: icon">
220
220
  <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
221
221
  <path d="M65.164,11.126H26.033c-2.627,0-4.767,2.141-4.767,4.768v68.213c0,2.63,2.14,4.768,4.767,4.768h47.932 c2.63,0,4.768-2.138,4.768-4.768V25.869L65.164,11.126z M66.289,18.261l5.948,6.463h-5.948V18.261z M74.729,84.106 c0,0.421-0.344,0.765-0.765,0.765H26.033c-0.421,0-0.763-0.344-0.763-0.765V15.894c0-0.421,0.342-0.762,0.763-0.762h36.251v11.595 c0,1.104,0.899,1.999,2.003,1.999h10.442V84.106z M32.333,32.421h34c0.828,0,1.5,0.672,1.5,1.5s-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5S31.505,32.421,32.333,32.421z M67.833,44.001c0,0.828-0.672,1.5-1.5,1.5h-34 c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,42.501,67.833,43.173,67.833,44.001z M67.833,53.751 c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34C67.161,52.251,67.833,52.923,67.833,53.751z M67.833,63.667c0,0.828-0.672,1.5-1.5,1.5h-34c-0.828,0-1.5-0.672-1.5-1.5s0.672-1.5,1.5-1.5h34 C67.161,62.167,67.833,62.839,67.833,63.667z" />
@@ -228,7 +228,7 @@
228
228
  </div>
229
229
  </header>
230
230
  <div class="fxs-blade-content fxs-pannable" style="height:calc(100% - 175px);">
231
- <div class="fxs-blade-stacklayout fxs-stacklayout fxs-stacklayout-vertical" ng-style="vm.blade.widthStackLayout">
231
+ <div class="fxs-blade-stacklayout fxs-stacklayout fxs-stacklayout-vertical" ng-style="ctrl.vm.blade.widthStackLayout">
232
232
  <div class="fxs-stacklayout-child">
233
233
  <div class="fxs-lens">
234
234
  <h2 class="fxs-lens-title"></h2>
@@ -236,23 +236,23 @@
236
236
  <section class="fxs-tile fxs-tilesize-fullwidthfitheight fx-rightClik">
237
237
  <div class="fxs-part">
238
238
  <header class="fxs-part-title">
239
- <h2 class="msportalfx-tooltip-overflow">{{vm.contentTitle}}</h2>
240
- <h3 class="msportalfx-tooltip-overflow">{{vm.contentSubTitle}}</h3>
239
+ <h2 class="msportalfx-tooltip-overflow">{{ctrl.vm.contentTitle}}</h2>
240
+ <h3 class="msportalfx-tooltip-overflow">{{ctrl.vm.contentSubTitle}}</h3>
241
241
  </header>
242
242
  <section class="fxs-part-content css-scope-HubsExtension">
243
243
  <div tabindex="0" class="fxcontrol-base azc-control azc-theme-frost azc-grid-focusableRow azc-grid-selectableRow azc-grid-activateableRow azc-grid-rightClickableRow azc-grid azc-grid-headerHidden Formatter FormatterHtmlBindings Focusable Selectable RightClickableRow" data-bind="pcGrid: $root" data-control="true">
244
244
  <div class="azc-grid-container">
245
245
 
246
246
  <!-- neutral -->
247
- <div data-ng-if="vm.blade.isInnerHtml">
247
+ <div data-ng-if="ctrl.vm.blade.isInnerHtml">
248
248
  <div ng-transclude></div>
249
249
  </div>
250
250
 
251
251
  <!-- nav -->
252
- <nav data-ng-if="vm.isNav" vm="vm"></nav>
252
+ <nav data-ng-if="ctrl.vm.isNav" vm="vm"></nav>
253
253
 
254
- <!-- navGrid -->
255
- <nav-grid data-ng-if="vm.blade.isNavGrid" vm="vm.blade.navGrid"></nav-grid>
254
+ <!-- grid -->
255
+ <grid data-ng-if="ctrl.vm.blade.isNavGrid" vm="ctrl.vm.blade.navGrid"></grid>
256
256
 
257
257
  </div>
258
258
  </div>
@@ -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 vm.items track by $index" data-ng-click="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">
@@ -1,12 +1,12 @@
1
1
  namespace angularportalazure {
2
- function navGrid($window) {
2
+ function grid($window) {
3
3
  return {
4
4
  restrict: 'E',
5
5
  scope: {},
6
6
  bindToController: { vm: '=' },
7
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/navgrid/navgrid.html',
7
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
8
8
  link: function (scope, element, attrs, controller) {
9
- console.log('navGrid.link()');
9
+ console.log('grid.link()');
10
10
  console.log(this);
11
11
  angular.forEach(scope.vm.items, function (item) {
12
12
  // Set some default values, depending on existing values
@@ -16,12 +16,12 @@
16
16
  });
17
17
  },
18
18
  controller: function () {
19
- console.log('navGrid.controller()');
19
+ console.log('grid.controller()');
20
20
  console.log(this);
21
21
  },
22
- controllerAs: 'vm'
22
+ controllerAs: 'ctrl'
23
23
  };
24
24
  }
25
25
 
26
- angular.module('angularportalazure').directive('navGrid', ['$window', navGrid]);
26
+ angular.module('angularportalazure').directive('grid', ['$window', grid]);
27
27
  }
@@ -1,22 +1,21 @@
1
1
  namespace angularportalazure {
2
- function azurePortalHome() {
3
- console.log('azurePortalHome');
2
+ function angularPortalHome() {
4
3
  return {
5
4
  restrict: 'E',
6
5
  scope: {},
7
6
  bindToController: { vm: '=' },
8
7
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
9
8
  link: function (scope, element, attrs, controller) {
10
- console.log('azurePortalHome.link()');
9
+ console.log('angularPortalHome.link()');
11
10
  console.log(this);
12
11
  },
13
12
  controller: function () {
14
- console.log('azurePortalHome.controller()');
13
+ console.log('angularPortalHome.controller()');
15
14
  console.log(this);
16
15
  },
17
16
  controllerAs: 'ctrl'
18
17
  };
19
18
  }
20
19
 
21
- angular.module('angularportalazure').directive('azurePortalHome', azurePortalHome);
20
+ angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
22
21
  }
@@ -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 vm.navItems track by $index" data-ng-click="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">
8
+ <tr data-ng-repeat="item in ctrl.vm.navItems 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">
@@ -19,7 +19,7 @@
19
19
  console.log('nav.controller()');
20
20
  console.log(this);
21
21
  },
22
- controllerAs: 'vm'
22
+ controllerAs: 'ctrl'
23
23
  };
24
24
  }
25
25
 
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.22",
5
+ "version": "0.2.24",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {