@ardimedia/angular-portal-azure 0.2.42 → 0.2.43

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
@@ -111,7 +111,15 @@ declare namespace angularportalazure {
111
111
  commandSwap: () => void;
112
112
  commandSwapText: string;
113
113
  /** Obsolete */
114
+ blade: Blade;
114
115
  /** Obsolete */
116
+ isNavGrid: boolean;
117
+ /** Obsolete */
118
+ navGrid: {
119
+ portalService: any;
120
+ items: any[];
121
+ navigateTo: (path: string) => void;
122
+ };
115
123
  activate(): void;
116
124
  onActivate(): void;
117
125
  navigateTo(arg: any): void;
@@ -331,11 +339,9 @@ declare namespace angularportalazure {
331
339
  }
332
340
  }
333
341
  declare namespace angularportalazure {
334
- class BladeGrid extends angularportalazure.BladeData {
335
- constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
342
+ class BladeList extends angularportalazure.BladeData {
336
343
  items: any[];
337
- searchString: string;
338
- filter: any;
344
+ constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
339
345
  activate(): void;
340
346
  onActivate(): any;
341
347
  loadItems(f: any): void;
@@ -360,7 +366,7 @@ declare namespace angularportalazure {
360
366
  declare namespace angularportalazure {
361
367
  class BladeNav extends angularportalazure.BladeData {
362
368
  navItems: Array<angularportalazure.BladeNavItem>;
363
- isNavGrid: boolean;
369
+ isNav: boolean;
364
370
  constructor(portalService: angularportalazure.PortalService, path: string, title?: string, subtitle?: string, width?: number);
365
371
  }
366
372
  }
package/apn.js CHANGED
@@ -231,15 +231,21 @@ var angularportalazure;
231
231
  this.isCommandSwap = false;
232
232
  this.commandSwap = function () { this.onCommandSwap(); };
233
233
  this.commandSwapText = '';
234
+ /** Obsolete */
235
+ this.navGrid = {
236
+ portalService: null,
237
+ items: [],
238
+ navigateTo: function (path) { }
239
+ };
234
240
  angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' constructor called.', [this, portalService, path, title, subtitle, width]);
235
241
  var that = this;
236
- //this.blade = this;
242
+ this.blade = this;
237
243
  this.path = path;
238
244
  this.title = title;
239
245
  this.subTitle = subtitle;
240
246
  this.width.width = width + 'px';
241
247
  this.widthStackLayout.width = width - 50 + 'px';
242
- //this.navGrid.portalService = portalService;
248
+ this.navGrid.portalService = portalService;
243
249
  if (!portalService) {
244
250
  throw new Error('[angularportalazure.Blade] constructor parameter \'portalService\' must be provided.');
245
251
  }
@@ -267,7 +273,7 @@ var angularportalazure;
267
273
  // Register listener1
268
274
  this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
269
275
  angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' BladeArea.AddBlade event processing.', [this, event, args]);
270
- if (that.comparePaths(args.path, that.path)) {
276
+ if (that.blade.comparePaths(args.path, that.blade.path)) {
271
277
  that.activate();
272
278
  }
273
279
  });
@@ -286,16 +292,6 @@ var angularportalazure;
286
292
  configurable: true
287
293
  });
288
294
  //#endregion
289
- //#region OBSOLETE
290
- /** Obsolete */
291
- //blade: Blade;
292
- /** Obsolete */
293
- //navGrid = {
294
- // portalService: null,
295
- // items: [],
296
- // navigateTo: function (path: string) { }
297
- //};
298
- //#endregion
299
295
  //#endregion
300
296
  //#region Methods
301
297
  //#region Methods
@@ -391,26 +387,26 @@ var angularportalazure;
391
387
  /** Obsolete */
392
388
  Blade.prototype.setObsoleteLayoutProperites = function () {
393
389
  angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.setObsoleteLayoutProperites\' called.', [this]);
394
- //this.blade.title = this.title;
395
- //this.blade.statusbar = this.statusbar;
396
- //this.blade.statusbarClass = this.statusbarClass;
397
- //this.blade.isCommandBrowse = this.isCommandBrowse;
398
- //this.blade.isCommandCancel = this.isCommandCancel;
399
- //this.blade.isCommandCopy = this.isCommandCopy;
400
- //this.blade.isCommandDelete = this.isCommandDelete;
401
- //this.blade.isCommandDocument = this.isCommandDocument;
402
- //this.blade.isCommandDocument2 = this.isCommandDocument2;
403
- //this.blade.isCommandDocument3 = this.isCommandDocument3;
404
- //this.blade.isCommandDocument4 = this.isCommandDocument4;
405
- //this.blade.isCommandDocument5 = this.isCommandDocument5;
406
- //this.blade.isCommandNew = this.isCommandNew;
407
- //this.blade.isCommandOrder = this.isCommandOrder;
408
- //this.blade.isCommandRestart = this.isCommandRestart;
409
- //this.blade.isCommandSave = this.isCommandSave;
410
- //this.blade.isCommandSearch = this.isCommandSearch;
411
- //this.blade.isCommandStart = this.isCommandStart;
412
- //this.blade.isCommandStop = this.isCommandStop;
413
- //this.blade.isCommandSwap = this.isCommandSwap;
390
+ this.blade.title = this.title;
391
+ this.blade.statusbar = this.statusbar;
392
+ this.blade.statusbarClass = this.statusbarClass;
393
+ this.blade.isCommandBrowse = this.isCommandBrowse;
394
+ this.blade.isCommandCancel = this.isCommandCancel;
395
+ this.blade.isCommandCopy = this.isCommandCopy;
396
+ this.blade.isCommandDelete = this.isCommandDelete;
397
+ this.blade.isCommandDocument = this.isCommandDocument;
398
+ this.blade.isCommandDocument2 = this.isCommandDocument2;
399
+ this.blade.isCommandDocument3 = this.isCommandDocument3;
400
+ this.blade.isCommandDocument4 = this.isCommandDocument4;
401
+ this.blade.isCommandDocument5 = this.isCommandDocument5;
402
+ this.blade.isCommandNew = this.isCommandNew;
403
+ this.blade.isCommandOrder = this.isCommandOrder;
404
+ this.blade.isCommandRestart = this.isCommandRestart;
405
+ this.blade.isCommandSave = this.isCommandSave;
406
+ this.blade.isCommandSearch = this.isCommandSearch;
407
+ this.blade.isCommandStart = this.isCommandStart;
408
+ this.blade.isCommandStop = this.isCommandStop;
409
+ this.blade.isCommandSwap = this.isCommandSwap;
414
410
  };
415
411
  /** Obsolete */
416
412
  Blade.prototype.bladeClose = function () {
@@ -948,6 +944,15 @@ var angularportalazure;
948
944
  link: function (scope, element, attrs, controller) {
949
945
  //console.log('angularPortalBladeNav.link()');
950
946
  //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
951
956
  },
952
957
  controller: function () {
953
958
  //console.log('angularPortalBladeNav.controller()');
@@ -1064,7 +1069,6 @@ var angularportalazure;
1064
1069
  controller: function () {
1065
1070
  //console.log('grid.controller()');
1066
1071
  //console.log(this);
1067
- function navigateTo(path) { console.log(path); }
1068
1072
  },
1069
1073
  controllerAs: 'ctrl'
1070
1074
  };
@@ -1086,7 +1090,6 @@ var angularportalazure;
1086
1090
  controller: function () {
1087
1091
  //console.log('angularPortalHome.controller()');
1088
1092
  //console.log(this);
1089
- function navigateTo(path) { console.log(path); }
1090
1093
  },
1091
1094
  controllerAs: 'ctrl'
1092
1095
  };
@@ -1104,7 +1107,7 @@ var angularportalazure;
1104
1107
  link: function (scope, element, attrs, controller) {
1105
1108
  //console.log('nav.link()');
1106
1109
  //console.log(this);
1107
- angular.forEach(controller.vm.items, function (item) {
1110
+ angular.forEach(controller.vm.navItems, function (item) {
1108
1111
  // Set some default values, depending on existing values
1109
1112
  if (item.isVisible == undefined) {
1110
1113
  item.isVisible = true;
@@ -1120,7 +1123,6 @@ var angularportalazure;
1120
1123
  controller: function () {
1121
1124
  //console.log('nav.controller()');
1122
1125
  //console.log(this);
1123
- function navigateTo(path) { console.log(path); }
1124
1126
  },
1125
1127
  controllerAs: 'ctrl'
1126
1128
  };
@@ -1225,24 +1227,23 @@ var angularportalazure;
1225
1227
  /// <reference path="portalservice.ts" />
1226
1228
  var angularportalazure;
1227
1229
  (function (angularportalazure) {
1228
- var BladeGrid = (function (_super) {
1229
- __extends(BladeGrid, _super);
1230
+ var BladeList = (function (_super) {
1231
+ __extends(BladeList, _super);
1232
+ //#endregion
1230
1233
  //#region Constructor
1231
- function BladeGrid(portalService, path, title, subtitle, width) {
1234
+ function BladeList(portalService, path, title, subtitle, width) {
1232
1235
  if (subtitle === void 0) { subtitle = ''; }
1233
1236
  if (width === void 0) { width = 200; }
1234
1237
  _super.call(this, portalService, path, title, subtitle, width);
1235
- //#endregion
1236
1238
  //#region Properties
1237
1239
  this.items = [];
1238
- this.searchString = '';
1239
1240
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeList\' constructor called.', [this, portalService, path, title, subtitle, width]);
1240
1241
  this.isCommandNew = true;
1241
1242
  this.commandNewText = 'neu';
1242
1243
  }
1243
1244
  //#endregion
1244
1245
  //#region Methods
1245
- BladeGrid.prototype.activate = function () {
1246
+ BladeList.prototype.activate = function () {
1246
1247
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeList.activate\' called.', [this]);
1247
1248
  var that = this;
1248
1249
  that.statusbar = 'Daten laden...';
@@ -1254,10 +1255,10 @@ var angularportalazure;
1254
1255
  that.loadItems(onActivate);
1255
1256
  }
1256
1257
  };
1257
- BladeGrid.prototype.onActivate = function () {
1258
+ BladeList.prototype.onActivate = function () {
1258
1259
  throw new Error('[angularportalazure.BladeList] \'onActivate\' is an abstract function. Define one in the derived class.');
1259
1260
  };
1260
- BladeGrid.prototype.loadItems = function (f) {
1261
+ BladeList.prototype.loadItems = function (f) {
1261
1262
  var that = this;
1262
1263
  f.success(function (data) {
1263
1264
  that.items = data;
@@ -1269,7 +1270,7 @@ var angularportalazure;
1269
1270
  });
1270
1271
  };
1271
1272
  //#region Filter
1272
- BladeGrid.prototype.onFilter = function (actual, expected) {
1273
+ BladeList.prototype.onFilter = function (actual, expected) {
1273
1274
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeList.filter\' called.', [this, actual, expected]);
1274
1275
  //#region Documentation
1275
1276
  // > onFilter will be called for each item in an array
@@ -1355,16 +1356,17 @@ var angularportalazure;
1355
1356
  //#endregion
1356
1357
  //#region OBSOLETE
1357
1358
  /** Obsolete */
1358
- BladeGrid.prototype.setObsoleteLayoutProperites = function () {
1359
+ BladeList.prototype.setObsoleteLayoutProperites = function () {
1359
1360
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeList.setObsoleteLayoutProperites\' called.', [this]);
1360
- //if (this.items.length !== 0) {
1361
- // this.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
1362
- //}
1361
+ if (this.items.length !== 0) {
1362
+ this.blade.navGrid.items = this.items; //--> needed, otherwise nav html pages will no longer work.
1363
+ }
1364
+ this.blade.isNavGrid = this.isNavGrid;
1363
1365
  _super.prototype.setObsoleteLayoutProperites.call(this);
1364
1366
  };
1365
- return BladeGrid;
1367
+ return BladeList;
1366
1368
  }(angularportalazure.BladeData));
1367
- angularportalazure.BladeGrid = BladeGrid;
1369
+ angularportalazure.BladeList = BladeList;
1368
1370
  })(angularportalazure || (angularportalazure = {}));
1369
1371
  /// <reference path="debug.ts" />
1370
1372
  /// <reference path="bladenav.ts" />
@@ -1418,10 +1420,9 @@ var angularportalazure;
1418
1420
  _super.call(this, portalService, path, title, subtitle, width);
1419
1421
  //#region Properties
1420
1422
  this.navItems = new Array();
1421
- this.isNavGrid = true;
1423
+ this.isNav = true;
1422
1424
  angularportalazure.Debug.write('[angularportalazure-debug] \'BladeNav\' constructor called.', [this, portalService, path, title, subtitle, width]);
1423
1425
  _super.prototype.onNavigateTo = this.navigateTo;
1424
- this.isNavGrid = true;
1425
1426
  }
1426
1427
  return BladeNav;
1427
1428
  }(angularportalazure.BladeData));
@@ -13,10 +13,22 @@ 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
16
27
  },
17
28
  controller: function () {
18
29
  //console.log('angularPortalBladeNav.controller()');
19
30
  //console.log(this);
31
+
20
32
  this.vm.close = function () {
21
33
  angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
22
34
  portalService.bladeArea.clearLastLevel();
@@ -1,266 +1,269 @@
1
- <section data-ng-form="formblade" class="fxs-blade-locked fxs-blade fx-rightClick fxs-bladesize-small" ng-style="ctrl.vm.width">
2
- <header class="fxs-blade-header">
3
- <div class="fxs-blade-statusbar-wrapper">
4
- <div class="fxs-blade-statusbar">
5
- <span ng-class="ctrl.vm.statusbarClass">{{ctrl.vm.statusbar}}</span>
6
- </div>
7
- </div>
8
- <div class="fxs-blade-actions">
9
- <!--<button title="Pin blade to Startboard" class="fxs-blade-pin" type="button">
10
- <svg class="msportal-fx-svg-placeholder" viewBox="0 0 50 50">
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
- </svg>
13
- </button>-->
14
- <button data-ng-show="ctrl.vm.isMaximize" title="Maximize" class="fxs-blade-maximizeOrRestore" type="button">
15
- <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20">
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
- </svg>
18
- </button>
19
- <button data-ng-click="ctrl.vm.close();" title="Schliessen" class="fxs-blade-close" type="button">
20
- <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20">
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
- </svg>
23
- </button>
24
- </div>
25
- <div class="fxs-blade-title">
26
- <div class="fxs-blade-title-text-container">
27
- <h2 class="fxs-pannable fxs-blade-title-titleText msportalfx-tooltip-overflow">{{ctrl.vm.title}}</h2>
28
- <h3 class="fxs-pannable msportalfx-tooltip-overflow">{{ctrl.vm.subTitle}}</h3>
29
- </div>
30
- </div>
31
- <div class="fxs-blade-commandBarContainer">
32
- <div class="fxs-commandBar fxs-commandBar-active">
33
- <ul class="fxs-commandBar-itemList fxs-commandBar-itemList-canExpand">
34
- <!-- SHOW MORE COMMANDS -->
35
- <li ng-show="ctrl.vm.isCommandMore" class="fxs-commandBar-item-expandListContainer">
36
- <a title="Fewer" class="fxs-commandBar-item fxs-commandBar-item-expandList" href="" data-bind="click: func._ellipsisCommandHandler, attr: { title: data.ellipsisCommandText }"></a>
37
- </li>
38
- <!-- SERACH -->
39
- <li ng-show="ctrl.vm.isCommandSearch">
40
- <a data-ng-click="ctrl.vm.commandSearch()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.commandSearchText || 'suchen'}}</div>
43
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- <g>
46
- <path d="M384,192C384,85.969,298.031,0,192,0S0,85.969,0,192s85.969,192,192,192S384,298.031,384,192z M192,336 c-79.406,0-144-64.594-144-144S112.594,48,192,48s144,64.594,144,144S271.406,336,192,336z" />
47
- <path d="M497.938,430.063L380.469,312.594c-17.5,27.219-40.656,50.375-67.875,67.875l117.469,117.469 c18.75,18.75,49.156,18.75,67.875,0C516.688,479.219,516.688,448.813,497.938,430.063z" />
48
- </g>
49
- </svg>
50
- </div>
51
- </a>
52
- </li>
53
- <!-- ORDER -->
54
- <li ng-show="ctrl.vm.isCommandOrder">
55
- <a data-ng-click="ctrl.vm.commandOrder()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.commandOrderText || 'bestellen'}}</div>
58
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
59
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 30.512 24.717" focusable="false">
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" />
61
- </svg>
62
- </div>
63
- </a>
64
- </li>
65
- <!-- NEW -->
66
- <li ng-show="ctrl.vm.isCommandNew">
67
- <a data-ng-click="ctrl.vm.commandNew()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.commandNewText || 'neu'}}</div>
70
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
73
- </a>
74
- </li>
75
- <!-- COPY -->
76
- <li ng-show="ctrl.vm.isCommandCopy">
77
- <a data-ng-click="ctrl.vm.commandCopy()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.commandCopyText || 'kopieren'}}</div>
80
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- <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" />
83
- </svg>
84
- </div>
85
- </a>
86
- </li>
87
- <!-- SAVE -->
88
- <li ng-show="ctrl.vm.isCommandSave">
89
- <a data-ng-click="ctrl.vm.commandSave()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.commandSaveText || 'speichern'}}</div>
92
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
93
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false">
94
- <g>
95
- <path d="M18.009,0H0v21.002h21V2.993L18.009,0z M17.848,10.284H5.13V1.191h12.718V10.284z" />
96
- <rect x="12.635" y="2.165" width="3.742" height="7.144" />
97
- </g>
98
- </svg>
99
- </div>
100
- </a>
101
- </li>
102
- <!-- DELETE -->
103
- <li ng-show="ctrl.vm.isCommandDelete">
104
- <a data-ng-click="ctrl.vm.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.commandDeleteText || 'löschen'}}</div>
106
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- <!--<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" />
109
- <path d="M 14.33 3.5 h -0.011 h -3.723 c -0.402 0 -0.597 -0.13 -0.597 -0.5 c 0.011 -0.36 0.149 -0.5 0.597 -0.5 h 3.686 c 0.402 0 0.717 0.14 0.717 0.5 c 0 0.37 -0.256 0.5 -0.646 0.5 H 14.33 Z" />
110
- <path d="M 5.5 7.5 v 14 c 0.04 0.82 3.537 1 4.337 1 h 5.862 c 0.8 0 3.761 -0.18 3.801 -1 v -14 H 5.5 Z M 9.542 19.167 c 0.01 0.36 -0.27 0.68 -0.62 0.69 h -0.73 c -0.35 0 -0.63 -0.28 -0.65 -0.65 v -9.37 c -0.01 -0.37 0.542 -0.726 1.023 -0.726 c 0.34 0 0.967 0.316 0.977 0.676 V 19.167 Z M 13.5 19.156 c -0.01 0.36 -0.3 0.64 -0.64 0.64 h -0.74 c -0.35 -0.01 -0.63 -0.33 -0.62 -0.7 v -9.37 c 0.02 -0.37 0.642 -0.655 1.002 -0.635 S 13.51 9.416 13.5 9.786 V 19.156 Z M 17.396 19.151 c -0.01 0.36 -0.3 0.64 -0.64 0.64 h -0.74 c -0.35 -0.01 -0.63 -0.33 -0.62 -0.7 v -9.37 c 0.02 -0.37 0.642 -0.654 1.002 -0.635 c 0.36 0.02 1.008 0.325 0.998 0.695 V 19.151 Z" />-->
111
- <path d="M96,512h320l32-352H64L96,512z M320,64V0H192v64H32v96l32-32h384l32,32V64H320z M288,64h-64V32h64V64z" />
112
- </svg>
113
-
114
- </div>
115
- </a>
116
- </li>
117
- <!-- CANCEL -->
118
- <li ng-show="ctrl.vm.isCommandCancel">
119
- <a data-ng-click="ctrl.vm.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.commandCancelText || 'abbrechen'}}</div>
121
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
124
- </a>
125
- </li>
126
- <!-- BROWSE -->
127
- <li ng-show="ctrl.vm.isCommandBrowse">
128
- <a data-ng-click="ctrl.vm.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.commandBrowseText || 'Browse'}}</div>
130
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
133
- </a>
134
- </li>
135
- <!-- START -->
136
- <li ng-show="ctrl.vm.isCommandStart">
137
- <a data-ng-click="ctrl.vm.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.commandStartText || 'Start'}}</div>
139
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
142
- </a>
143
- </li>
144
- <!-- STOP -->
145
- <li ng-show="ctrl.vm.isCommandStop">
146
- <a data-ng-click="ctrl.vm.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.commandStopText || 'Stop'}}</div>
148
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
151
- </a>
152
- </li>
153
- <!-- RESTART -->
154
- <li ng-show="ctrl.vm.isCommandRestart">
155
- <a data-ng-click="ctrl.vm.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.commandRestartText || 'Restart'}}</div>
157
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
160
- </a>
161
- </li>
162
- <!-- SWAP -->
163
- <li ng-show="ctrl.vm.isCommandSwap">
164
- <a data-ng-click="ctrl.vm.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.commandSwapText || 'Swap'}}</div>
166
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
- </div>
169
- </a>
170
- </li>
171
- <!-- DOCUMENT -->
172
- <li ng-show="ctrl.vm.isCommandDocument">
173
- <a data-ng-click="ctrl.vm.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.commandDocumentText || 'Dokument'}}</div>
175
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
176
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
178
- </svg>
179
- </div>
180
- </a>
181
- </li>
182
- <!-- DOCUMENT2 -->
183
- <li ng-show="ctrl.vm.isCommandDocument2">
184
- <a data-ng-click="ctrl.vm.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.commandDocument2Text || 'Dokument'}}</div>
186
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
187
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
189
- </svg>
190
- </div>
191
- </a>
192
- </li>
193
- <!-- DOCUMENT3 -->
194
- <li ng-show="ctrl.vm.isCommandDocument3">
195
- <a data-ng-click="ctrl.vm.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.commandDocument3Text || 'Dokument'}}</div>
197
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
198
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
200
- </svg>
201
- </div>
202
- </a>
203
- </li>
204
- <!-- DOCUMENT4 -->
205
- <li ng-show="ctrl.vm.isCommandDocument4">
206
- <a data-ng-click="ctrl.vm.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.commandDocument4Text || 'Dokument'}}</div>
208
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
209
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
211
- </svg>
212
- </div>
213
- </a>
214
- </li>
215
- <!-- Document5 -->
216
- <li ng-show="ctrl.vm.isCommandDocument5">
217
- <a data-ng-click="ctrl.vm.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.commandDocument5Text || 'Dokument'}}</div>
219
- <div class="fxs-commandBar-item-icon" data-bind="image: icon">
220
- <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
222
- </svg>
223
- </div>
224
- </a>
225
- </li>
226
- </ul>
227
- </div>
228
- </div>
229
- </header>
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="ctrl.vm.widthStackLayout">
232
- <div class="fxs-stacklayout-child">
233
- <div class="fxs-lens">
234
- <h2 class="fxs-lens-title"></h2>
235
- <div class="fxs-lens-layout">
236
- <section class="fxs-tile fxs-tilesize-fullwidthfitheight fx-rightClik">
237
- <div class="fxs-part">
238
- <header class="fxs-part-title">
239
- <h2 class="msportalfx-tooltip-overflow">{{ctrl.vm.contentTitle}}</h2>
240
- <h3 class="msportalfx-tooltip-overflow">{{ctrl.vm.contentSubTitle}}</h3>
241
- </header>
242
- <section class="fxs-part-content css-scope-HubsExtension">
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
- <div class="azc-grid-container">
245
-
246
- <!-- neutral -->
247
- <div data-ng-if="ctrl.vm.isInnerHtml">
248
- <div ng-transclude></div>
249
- </div>
250
-
251
- <!-- nav -->
252
- <nav data-ng-if="ctrl.vm.isNavGrid" vm="ctrl.vm"></nav>
253
-
254
- </div>
255
- </div>
256
- </section>
257
- </div>
258
- </section>
259
- </div>
260
- </div>
261
- </div>
262
- </div>
263
- <div class="fxs-blade-maximized-content"></div>
264
- </div>
265
- <div class="fxs-blade-actionBar"></div>
266
- </section>
1
+ <section data-ng-form="formblade" class="fxs-blade-locked fxs-blade fx-rightClick fxs-bladesize-small" ng-style="ctrl.vm.blade.width">
2
+ <header class="fxs-blade-header">
3
+ <div class="fxs-blade-statusbar-wrapper">
4
+ <div class="fxs-blade-statusbar">
5
+ <span ng-class="ctrl.vm.blade.statusbarClass">{{ctrl.vm.blade.statusbar}}</span>
6
+ </div>
7
+ </div>
8
+ <div class="fxs-blade-actions">
9
+ <!--<button title="Pin blade to Startboard" class="fxs-blade-pin" type="button">
10
+ <svg class="msportal-fx-svg-placeholder" viewBox="0 0 50 50">
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
+ </svg>
13
+ </button>-->
14
+ <button data-ng-show="ctrl.vm.blade.isMaximize" title="Maximize" class="fxs-blade-maximizeOrRestore" type="button">
15
+ <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20">
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
+ </svg>
18
+ </button>
19
+ <button data-ng-click="ctrl.vm.close();" title="Schliessen" class="fxs-blade-close" type="button">
20
+ <svg class="msportal-fx-svg-placeholder" viewBox="0 0 20 20">
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
+ </svg>
23
+ </button>
24
+ </div>
25
+ <div class="fxs-blade-title">
26
+ <div class="fxs-blade-title-text-container">
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
+ </div>
30
+ </div>
31
+ <div class="fxs-blade-commandBarContainer">
32
+ <div class="fxs-commandBar fxs-commandBar-active">
33
+ <ul class="fxs-commandBar-itemList fxs-commandBar-itemList-canExpand">
34
+ <!-- SHOW MORE COMMANDS -->
35
+ <li ng-show="ctrl.vm.blade.isCommandMore" class="fxs-commandBar-item-expandListContainer">
36
+ <a title="Fewer" class="fxs-commandBar-item fxs-commandBar-item-expandList" href="" data-bind="click: func._ellipsisCommandHandler, attr: { title: data.ellipsisCommandText }"></a>
37
+ </li>
38
+ <!-- SERACH -->
39
+ <li ng-show="ctrl.vm.blade.isCommandSearch">
40
+ <a data-ng-click="ctrl.vm.blade.commandSearch()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.blade.commandSearchText || 'suchen'}}</div>
43
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ <g>
46
+ <path d="M384,192C384,85.969,298.031,0,192,0S0,85.969,0,192s85.969,192,192,192S384,298.031,384,192z M192,336 c-79.406,0-144-64.594-144-144S112.594,48,192,48s144,64.594,144,144S271.406,336,192,336z" />
47
+ <path d="M497.938,430.063L380.469,312.594c-17.5,27.219-40.656,50.375-67.875,67.875l117.469,117.469 c18.75,18.75,49.156,18.75,67.875,0C516.688,479.219,516.688,448.813,497.938,430.063z" />
48
+ </g>
49
+ </svg>
50
+ </div>
51
+ </a>
52
+ </li>
53
+ <!-- ORDER -->
54
+ <li ng-show="ctrl.vm.blade.isCommandOrder">
55
+ <a data-ng-click="ctrl.vm.blade.commandOrder()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.blade.commandOrderText || 'bestellen'}}</div>
58
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
59
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 30.512 24.717" focusable="false">
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" />
61
+ </svg>
62
+ </div>
63
+ </a>
64
+ </li>
65
+ <!-- NEW -->
66
+ <li ng-show="ctrl.vm.blade.isCommandNew">
67
+ <a data-ng-click="ctrl.vm.blade.commandNew()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.blade.commandNewText || 'neu'}}</div>
70
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
73
+ </a>
74
+ </li>
75
+ <!-- COPY -->
76
+ <li ng-show="ctrl.vm.blade.isCommandCopy">
77
+ <a data-ng-click="ctrl.vm.blade.commandCopy()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.blade.commandCopyText || 'kopieren'}}</div>
80
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ <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" />
83
+ </svg>
84
+ </div>
85
+ </a>
86
+ </li>
87
+ <!-- SAVE -->
88
+ <li ng-show="ctrl.vm.blade.isCommandSave">
89
+ <a data-ng-click="ctrl.vm.blade.commandSave()" class="fxs-commandBar-item" href="#"
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()">{{ctrl.vm.blade.commandSaveText || 'speichern'}}</div>
92
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
93
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 24 24" focusable="false">
94
+ <g>
95
+ <path d="M18.009,0H0v21.002h21V2.993L18.009,0z M17.848,10.284H5.13V1.191h12.718V10.284z" />
96
+ <rect x="12.635" y="2.165" width="3.742" height="7.144" />
97
+ </g>
98
+ </svg>
99
+ </div>
100
+ </a>
101
+ </li>
102
+ <!-- DELETE -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ <!--<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" />
109
+ <path d="M 14.33 3.5 h -0.011 h -3.723 c -0.402 0 -0.597 -0.13 -0.597 -0.5 c 0.011 -0.36 0.149 -0.5 0.597 -0.5 h 3.686 c 0.402 0 0.717 0.14 0.717 0.5 c 0 0.37 -0.256 0.5 -0.646 0.5 H 14.33 Z" />
110
+ <path d="M 5.5 7.5 v 14 c 0.04 0.82 3.537 1 4.337 1 h 5.862 c 0.8 0 3.761 -0.18 3.801 -1 v -14 H 5.5 Z M 9.542 19.167 c 0.01 0.36 -0.27 0.68 -0.62 0.69 h -0.73 c -0.35 0 -0.63 -0.28 -0.65 -0.65 v -9.37 c -0.01 -0.37 0.542 -0.726 1.023 -0.726 c 0.34 0 0.967 0.316 0.977 0.676 V 19.167 Z M 13.5 19.156 c -0.01 0.36 -0.3 0.64 -0.64 0.64 h -0.74 c -0.35 -0.01 -0.63 -0.33 -0.62 -0.7 v -9.37 c 0.02 -0.37 0.642 -0.655 1.002 -0.635 S 13.51 9.416 13.5 9.786 V 19.156 Z M 17.396 19.151 c -0.01 0.36 -0.3 0.64 -0.64 0.64 h -0.74 c -0.35 -0.01 -0.63 -0.33 -0.62 -0.7 v -9.37 c 0.02 -0.37 0.642 -0.654 1.002 -0.635 c 0.36 0.02 1.008 0.325 0.998 0.695 V 19.151 Z" />-->
111
+ <path d="M96,512h320l32-352H64L96,512z M320,64V0H192v64H32v96l32-32h384l32,32V64H320z M288,64h-64V32h64V64z" />
112
+ </svg>
113
+
114
+ </div>
115
+ </a>
116
+ </li>
117
+ <!-- CANCEL -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
124
+ </a>
125
+ </li>
126
+ <!-- BROWSE -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
133
+ </a>
134
+ </li>
135
+ <!-- START -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
142
+ </a>
143
+ </li>
144
+ <!-- STOP -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
151
+ </a>
152
+ </li>
153
+ <!-- RESTART -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
160
+ </a>
161
+ </li>
162
+ <!-- SWAP -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
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
+ </div>
169
+ </a>
170
+ </li>
171
+ <!-- DOCUMENT -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
176
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
178
+ </svg>
179
+ </div>
180
+ </a>
181
+ </li>
182
+ <!-- DOCUMENT2 -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
187
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
189
+ </svg>
190
+ </div>
191
+ </a>
192
+ </li>
193
+ <!-- DOCUMENT3 -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
198
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
200
+ </svg>
201
+ </div>
202
+ </a>
203
+ </li>
204
+ <!-- DOCUMENT4 -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
209
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
211
+ </svg>
212
+ </div>
213
+ </a>
214
+ </li>
215
+ <!-- Document5 -->
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
+ <div class="fxs-commandBar-item-icon" data-bind="image: icon">
220
+ <svg xmlns="http://www.w3.org/2000/svg" class="msportal-fx-svg-placeholder" viewBox="0 0 100 100" focusable="false">
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" />
222
+ </svg>
223
+ </div>
224
+ </a>
225
+ </li>
226
+ </ul>
227
+ </div>
228
+ </div>
229
+ </header>
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="ctrl.vm.blade.widthStackLayout">
232
+ <div class="fxs-stacklayout-child">
233
+ <div class="fxs-lens">
234
+ <h2 class="fxs-lens-title"></h2>
235
+ <div class="fxs-lens-layout">
236
+ <section class="fxs-tile fxs-tilesize-fullwidthfitheight fx-rightClik">
237
+ <div class="fxs-part">
238
+ <header class="fxs-part-title">
239
+ <h2 class="msportalfx-tooltip-overflow">{{ctrl.vm.contentTitle}}</h2>
240
+ <h3 class="msportalfx-tooltip-overflow">{{ctrl.vm.contentSubTitle}}</h3>
241
+ </header>
242
+ <section class="fxs-part-content css-scope-HubsExtension">
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
+ <div class="azc-grid-container">
245
+
246
+ <!-- neutral -->
247
+ <div data-ng-if="ctrl.vm.blade.isInnerHtml">
248
+ <div ng-transclude></div>
249
+ </div>
250
+
251
+ <!-- nav -->
252
+ <nav data-ng-if="ctrl.vm.isNav" vm="ctrl.vm"></nav>
253
+
254
+ <!-- grid -->
255
+ <grid data-ng-if="ctrl.vm.blade.isNavGrid" vm="ctrl.vm"></grid>
256
+
257
+ </div>
258
+ </div>
259
+ </section>
260
+ </div>
261
+ </section>
262
+ </div>
263
+ </div>
264
+ </div>
265
+ </div>
266
+ <div class="fxs-blade-maximized-content"></div>
267
+ </div>
268
+ <div class="fxs-blade-actionBar"></div>
269
+ </section>
@@ -18,7 +18,6 @@
18
18
  controller: function () {
19
19
  //console.log('grid.controller()');
20
20
  //console.log(this);
21
- function navigateTo(path: string) { console.log(path); }
22
21
  },
23
22
  controllerAs: 'ctrl'
24
23
  };
@@ -1,22 +1,21 @@
1
- namespace angularportalazure {
2
- function angularPortalHome() {
3
- return {
4
- restrict: 'E',
5
- scope: {},
6
- bindToController: { vm: '=' },
7
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
8
- link: function (scope, element, attrs, controller) {
9
- //console.log('angularPortalHome.link()');
10
- //console.log(this);
11
- },
12
- controller: function () {
13
- //console.log('angularPortalHome.controller()');
14
- //console.log(this);
15
- function navigateTo(path: string) { console.log(path); }
16
- },
17
- controllerAs: 'ctrl'
18
- };
19
- }
20
-
21
- angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
1
+ namespace angularportalazure {
2
+ function angularPortalHome() {
3
+ return {
4
+ restrict: 'E',
5
+ scope: {},
6
+ bindToController: { vm: '=' },
7
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
8
+ link: function (scope, element, attrs, controller) {
9
+ //console.log('angularPortalHome.link()');
10
+ //console.log(this);
11
+ },
12
+ controller: function () {
13
+ //console.log('angularPortalHome.controller()');
14
+ //console.log(this);
15
+ },
16
+ controllerAs: 'ctrl'
17
+ };
18
+ }
19
+
20
+ angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
22
21
  }
@@ -5,7 +5,7 @@
5
5
  <col class="col1">
6
6
  </colgroup>
7
7
  <tbody class="azc-grid-groupdata" role="rowgroup">
8
- <tr data-ng-repeat="item in ctrl.vm.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">
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">
@@ -1,28 +1,27 @@
1
- namespace angularportalazure {
2
- function nav($window) {
3
- return {
4
- restrict: 'E',
5
- scope: {},
6
- bindToController: { vm: '=' },
7
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
8
- link: function (scope, element, attrs, controller) {
9
- //console.log('nav.link()');
10
- //console.log(this);
11
- angular.forEach(controller.vm.items, function (item) {
12
- // Set some default values, depending on existing values
13
- if (item.isVisible == undefined) { item.isVisible = true; }
14
- if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
15
- if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
16
- });
17
- },
18
- controller: function () {
19
- //console.log('nav.controller()');
20
- //console.log(this);
21
- function navigateTo(path: string) { console.log(path); }
22
- },
23
- controllerAs: 'ctrl'
24
- };
25
- }
26
-
27
- angular.module('angularportalazure').directive('nav', ['$window', nav]);
28
- }
1
+ namespace angularportalazure {
2
+ function nav($window) {
3
+ return {
4
+ restrict: 'E',
5
+ scope: {},
6
+ bindToController: { vm: '=' },
7
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
8
+ link: function (scope, element, attrs, controller) {
9
+ //console.log('nav.link()');
10
+ //console.log(this);
11
+ angular.forEach(controller.vm.navItems, function (item) {
12
+ // Set some default values, depending on existing values
13
+ if (item.isVisible == undefined) { item.isVisible = true; }
14
+ if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
15
+ if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
16
+ });
17
+ },
18
+ controller: function () {
19
+ //console.log('nav.controller()');
20
+ //console.log(this);
21
+ },
22
+ controllerAs: 'ctrl'
23
+ };
24
+ }
25
+
26
+ angular.module('angularportalazure').directive('nav', ['$window', nav]);
27
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ardimedia/angular-portal-azure",
3
3
  "description": "Angular Portal Azure - GUI Framework.",
4
4
  "author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
5
- "version": "0.2.42",
5
+ "version": "0.2.43",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {