@ardimedia/angular-portal-azure 0.2.264 → 0.2.265

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.
Files changed (3) hide show
  1. package/apn.d.ts +1 -0
  2. package/apn.js +108 -108
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -158,6 +158,7 @@ declare namespace angularportalazure {
158
158
  onCommandStop(): void;
159
159
  onCommandSwap(): void;
160
160
  onCommandExcel(): void;
161
+ /** Change title, as soon as watchExpression changes. watchExpression is either a variable ore an expression, e.g. [name1 + name2] */
161
162
  setTitle(watchExpression: string, func: () => void): void;
162
163
  private setBladeHeights();
163
164
  }
package/apn.js CHANGED
@@ -44,7 +44,7 @@ var angularportalazure;
44
44
  var angularportalazure;
45
45
  (function (angularportalazure) {
46
46
  var UserAccount = (function () {
47
- //#region Constructor
47
+ // #region Constructor
48
48
  function UserAccount(username, firstName, lastName) {
49
49
  if (firstName === void 0) { firstName = ''; }
50
50
  if (lastName === void 0) { lastName = ''; }
@@ -93,13 +93,13 @@ var angularportalazure;
93
93
  var angularportalazure;
94
94
  (function (angularportalazure) {
95
95
  var UserControlBase = (function () {
96
- //#region Constructor
96
+ // #region Constructor
97
97
  function UserControlBase($scope, portalService) {
98
98
  this.$scope = $scope;
99
99
  this.portalService = portalService;
100
100
  }
101
- //#endregion
102
- //#region Methods
101
+ // #endregion
102
+ // #region Methods
103
103
  /** angular1: $onInit(), $onChanges(changesObj), $doCheck(), $onDestroy(), $postLink() */
104
104
  UserControlBase.prototype.$onDestroy = function () {
105
105
  this.removeWindowResizeListener();
@@ -157,13 +157,13 @@ var angularportalazure;
157
157
  (function (angularportalazure) {
158
158
  var Blade = (function (_super) {
159
159
  __extends(Blade, _super);
160
- //#region Constructor
160
+ // #region Constructor
161
161
  function Blade($scope, portalService, path, title, subtitle, width) {
162
162
  if (subtitle === void 0) { subtitle = ''; }
163
163
  if (width === void 0) { width = 200; }
164
164
  var _this = _super.call(this, $scope, portalService) || this;
165
- //#endregion
166
- //#region Properties
165
+ // #endregion
166
+ // #region Properties
167
167
  /** HACK: 2016-11-06/hp
168
168
  [angular-portal-blade] needs [this] as the controller.
169
169
  We don't know how to provide [this] to the directive.
@@ -177,9 +177,9 @@ var angularportalazure;
177
177
  _this.isInnerHtml = true;
178
178
  _this.statusBar = '';
179
179
  _this.statusBarClass = '';
180
- //#endregion
181
- //#endregion
182
- //#region Commands
180
+ // #endregion
181
+ // #endregion
182
+ // #region Commands
183
183
  _this.isCommandBrowse = false;
184
184
  _this.commandBrowse = function () { _this.onCommandBrowse(); };
185
185
  _this.commandBrowseText = '';
@@ -283,9 +283,9 @@ var angularportalazure;
283
283
  enumerable: true,
284
284
  configurable: true
285
285
  });
286
- //#endregion
287
- //#region Methods
288
- //#region Methods
286
+ // #endregion
287
+ // #region Methods
288
+ // #region Methods
289
289
  Blade.prototype.activate = function () {
290
290
  this.onActivate();
291
291
  this.onActivated();
@@ -326,7 +326,7 @@ var angularportalazure;
326
326
  throw new Error('[angularportalazure.Blade] path: \'' + this.path + '\' could not be removed, since no \'this.portalService.areaBlades\' available.');
327
327
  }
328
328
  };
329
- //#region Set StatusBar
329
+ // #region Set StatusBar
330
330
  Blade.prototype.clearStatusBar = function () {
331
331
  this.statusBar = '';
332
332
  this.statusBarClass = '';
@@ -363,9 +363,9 @@ var angularportalazure;
363
363
  this.statusBar = angularportalazure.Exception.getOneLineMessage(exception);
364
364
  this.statusBarClass = 'apa-statusbar-error';
365
365
  };
366
- //#endregion
367
- //#endregion
368
- //#region Commands
366
+ // #endregion
367
+ // #endregion
368
+ // #region Commands
369
369
  Blade.prototype.onCommandBrowse = function () {
370
370
  throw new Error('[angularportalazure.Blade] \'onCommandBrowse\' is an abstract function. Define one in the derived class.');
371
371
  };
@@ -420,8 +420,8 @@ var angularportalazure;
420
420
  Blade.prototype.onCommandExcel = function () {
421
421
  throw new Error('[angularportalazure.Blade] \'onCommandExcel\' is an abstract function. Define one in the derived class.');
422
422
  };
423
- //#endregion
424
- //** Change title, as soon as watchExpression changes. watchExpression is either a variable ore an expresssion, e.g. [name1 + name2] */
423
+ // #endregion
424
+ /** Change title, as soon as watchExpression changes. watchExpression is either a variable ore an expression, e.g. [name1 + name2] */
425
425
  Blade.prototype.setTitle = function (watchExpression, func) {
426
426
  var _this = this;
427
427
  if (this.watcherTitle === undefined) {
@@ -439,8 +439,8 @@ var angularportalazure;
439
439
  Blade.prototype.setBladeHeights = function () {
440
440
  this.bladeContentHeight = this.portalService.$window.innerHeight - 40 - 125; // 40 = topbar, 125 = blade header
441
441
  this.bladeContentHeightInner = this.bladeContentHeight - 50 - 3; // 50 = padding (top and bottom), somehow we miss 3px
442
- //this.portalService.$timeout(() => {
443
- //}, 50);
442
+ // this.portalService.$timeout(() => {
443
+ // }, 50);
444
444
  };
445
445
  return Blade;
446
446
  }(angularportalazure.UserControlBase));
@@ -459,15 +459,15 @@ var angularportalazure;
459
459
  function AreaBlades($scope, portalService) {
460
460
  var _this = _super.call(this, $scope, portalService) || this;
461
461
  _this.blades = new Array();
462
- //this.areaBlades = this.portalService.$window.document.getElementById('apa-blade-area');
462
+ // this.areaBlades = this.portalService.$window.document.getElementById('apa-blade-area');
463
463
  _this.portalScroll = _this.portalService.$window.document.getElementById('apa-portal-scroll');
464
464
  _this.setupAddBladeListener();
465
465
  _this.setupShowHideNotificationAreaListener();
466
466
  _this.setupWindowResizeListener(function () { _this.setPortalScrollCss(); });
467
467
  return _this;
468
468
  }
469
- //#endregion
470
- //#region Methods
469
+ // #endregion
470
+ // #region Methods
471
471
  AreaBlades.prototype.raiseAddBladeEvent = function (args) {
472
472
  var isBladeAlreadyShown = false;
473
473
  this.blades.forEach(function (blade) {
@@ -501,7 +501,7 @@ var angularportalazure;
501
501
  this.portalService.$analytics.pageTrack(path);
502
502
  path = path.toLowerCase();
503
503
  senderPath = senderPath.toLowerCase();
504
- //#region Verify
504
+ // #region Verify
505
505
  if (path === undefined || path === '') {
506
506
  return;
507
507
  }
@@ -514,11 +514,11 @@ var angularportalazure;
514
514
  throw new Error('[angularportalazure.AreaBlades] HTML element with ID [apa-portal-scroll] not found. Maybe it is to early to call function \'BladeArea.addBlade\'.');
515
515
  }
516
516
  }
517
- //#endregion
518
- //#region Clear all children of the parent path
517
+ // #endregion
518
+ // #region Clear all children of the parent path
519
519
  this.clearChild(senderPath);
520
- //#endregion
521
- //#region Make sure the blade is not yet show
520
+ // #endregion
521
+ // #region Make sure the blade is not yet show
522
522
  this.blades.forEach(function (blade) {
523
523
  // we do not distinguish between lower and upper case path name
524
524
  if (blade.comparePaths(blade.path, path)) {
@@ -526,12 +526,12 @@ var angularportalazure;
526
526
  }
527
527
  ;
528
528
  });
529
- //#endregion
530
- //#region Show the blade
529
+ // #endregion
530
+ // #region Show the blade
531
531
  var blade = new angularportalazure.Blade(this.$scope, this.portalService, path, '');
532
532
  this.blades.push(blade);
533
- //#endregion
534
- //#region Position the blade
533
+ // #endregion
534
+ // #region Position the blade
535
535
  if (this.portalService.$window !== undefined) {
536
536
  this.portalService.$window.setTimeout(function () {
537
537
  var azureportalblades = _this.portalService.$window.document.getElementsByClassName('azureportalblade');
@@ -544,7 +544,7 @@ var angularportalazure;
544
544
  }
545
545
  }, 250);
546
546
  }
547
- //#endregion
547
+ // #endregion
548
548
  return blade;
549
549
  };
550
550
  AreaBlades.prototype.clearAll = function () {
@@ -622,7 +622,7 @@ var angularportalazure;
622
622
  this.areaNotificationShowListener();
623
623
  this.areaNotificationHideListener();
624
624
  };
625
- //#endregion
625
+ // #endregion
626
626
  AreaBlades.prototype.setPortalScrollCss = function () {
627
627
  this.portalScroll.style.marginRight = this.portalService.areaNotification.widthAreaUsed + 'px';
628
628
  };
@@ -643,7 +643,7 @@ var angularportalazure;
643
643
  };
644
644
  return AreaBlades;
645
645
  }(angularportalazure.UserControlBase));
646
- //#region Constructor
646
+ // #region Constructor
647
647
  AreaBlades.$inject = ['$scope', 'angularportalazure.portalService'];
648
648
  angularportalazure.AreaBlades = AreaBlades;
649
649
  angular.module('angularportalazure').service('angularportalazure.areaBlades', AreaBlades);
@@ -655,13 +655,13 @@ var angularportalazure;
655
655
  (function (angularportalazure) {
656
656
  var BladeData = (function (_super) {
657
657
  __extends(BladeData, _super);
658
- //#region Constructor
658
+ // #region Constructor
659
659
  function BladeData($scope, portalService, path, title, subtitle, width) {
660
660
  if (subtitle === void 0) { subtitle = ''; }
661
661
  if (width === void 0) { width = 300; }
662
662
  return _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
663
663
  }
664
- //#endregion
664
+ // #endregion
665
665
  BladeData.prototype.onLoadItem = function () {
666
666
  this.visibility = 'collapse';
667
667
  this.setStatusBarLoadData();
@@ -690,21 +690,21 @@ var angularportalazure;
690
690
  (function (angularportalazure) {
691
691
  var BladeNav = (function (_super) {
692
692
  __extends(BladeNav, _super);
693
- //#region Constructor
693
+ // #region Constructor
694
694
  function BladeNav($scope, portalService, path, title, subtitle, width) {
695
695
  if (title === void 0) { title = ''; }
696
696
  if (subtitle === void 0) { subtitle = ''; }
697
697
  if (width === void 0) { width = 315; }
698
698
  var _this = _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
699
- //#endregion
700
- //#region Properties
699
+ // #endregion
700
+ // #region Properties
701
701
  _this.items = new Array();
702
702
  _this.isNav = true;
703
703
  _this.isInnerHtml = false;
704
704
  return _this;
705
705
  }
706
- //#endregion
707
- //#region Methods
706
+ // #endregion
707
+ // #region Methods
708
708
  BladeNav.prototype.onNavigateTo = function (path) {
709
709
  if (path === '') {
710
710
  return;
@@ -720,7 +720,7 @@ var angularportalazure;
720
720
  var angularportalazure;
721
721
  (function (angularportalazure) {
722
722
  var BladeNavItem = (function () {
723
- //#region Constructor
723
+ // #region Constructor
724
724
  function BladeNavItem(title, cssClass, bladePath, hrefPath, roles, isVisible, callback, bladeNav) {
725
725
  if (title === void 0) { title = ''; }
726
726
  if (cssClass === void 0) { cssClass = ''; }
@@ -739,8 +739,8 @@ var angularportalazure;
739
739
  this.callback = callback;
740
740
  this.bladeNav = bladeNav;
741
741
  }
742
- //#endregion
743
- //#region Methods
742
+ // #endregion
743
+ // #region Methods
744
744
  BladeNavItem.prototype.onNavItemClick = function () {
745
745
  if (this.callback != null) {
746
746
  this.callback();
@@ -758,11 +758,11 @@ var angularportalazure;
758
758
  (function (angularportalazure) {
759
759
  var AreaNotification = (function (_super) {
760
760
  __extends(AreaNotification, _super);
761
- //#region Constructor
761
+ // #region Constructor
762
762
  function AreaNotification($scope, portalService) {
763
763
  var _this = _super.call(this, $scope, portalService) || this;
764
- //#endregion
765
- //#region Properties
764
+ // #endregion
765
+ // #region Properties
766
766
  _this.path = '';
767
767
  _this.widthAreaUsed = 0;
768
768
  _this._width = 250;
@@ -794,8 +794,8 @@ var angularportalazure;
794
794
  enumerable: true,
795
795
  configurable: true
796
796
  });
797
- //#endregion
798
- //#region Methods
797
+ // #endregion
798
+ // #region Methods
799
799
  AreaNotification.prototype.hide = function () {
800
800
  this.path = '';
801
801
  this.widthAreaUsed = 0;
@@ -835,7 +835,7 @@ var angularportalazure;
835
835
  (function (angularportalazure) {
836
836
  var AvatarMenu = (function (_super) {
837
837
  __extends(AvatarMenu, _super);
838
- //#region Constructor
838
+ // #region Constructor
839
839
  function AvatarMenu($scope, portalService) {
840
840
  return _super.call(this, $scope, portalService) || this;
841
841
  }
@@ -860,14 +860,14 @@ var angularportalazure;
860
860
  var angularportalazure;
861
861
  (function (angularportalazure) {
862
862
  var TileSize = (function () {
863
- //#region Constructor
863
+ // #region Constructor
864
864
  function TileSize(tileSizes, width, height) {
865
865
  this.tileSizes = tileSizes;
866
866
  this.width = width;
867
867
  this.height = height;
868
868
  }
869
- //#endregion
870
- //#region Methods
869
+ // #endregion
870
+ // #region Methods
871
871
  TileSize.getTileSizes = function () {
872
872
  var tileSizes = Array();
873
873
  tileSizes.push(new TileSize(angularportalazure.TileSizes.small, 90, 90));
@@ -887,7 +887,7 @@ var angularportalazure;
887
887
  var angularportalazure;
888
888
  (function (angularportalazure) {
889
889
  var Tile = (function () {
890
- //#region Constructor
890
+ // #region Constructor
891
891
  function Tile(title, bladePath, portalService) {
892
892
  this.portalService = portalService;
893
893
  this.title = title;
@@ -895,7 +895,7 @@ var angularportalazure;
895
895
  this.tileSize = angularportalazure.TileSizes.normal;
896
896
  }
897
897
  Object.defineProperty(Tile.prototype, "bladePath", {
898
- //#region bladePath
898
+ // #region bladePath
899
899
  get: function () {
900
900
  return this._bladePath;
901
901
  },
@@ -906,8 +906,8 @@ var angularportalazure;
906
906
  enumerable: true,
907
907
  configurable: true
908
908
  });
909
- //#endregion
910
- //#region Methods
909
+ // #endregion
910
+ // #region Methods
911
911
  Tile.prototype.clicked = function () {
912
912
  this.portalService.areaBlades.setFirstBlade(this.bladePath);
913
913
  };
@@ -923,7 +923,7 @@ var angularportalazure;
923
923
  (function (angularportalazure) {
924
924
  var Tiles = (function () {
925
925
  function Tiles() {
926
- //#region Properties
926
+ // #region Properties
927
927
  this.showTiles = true;
928
928
  this.tiles = new Array();
929
929
  this.isTilesLoaded = false;
@@ -932,10 +932,10 @@ var angularportalazure;
932
932
  this.nextLeft = 0;
933
933
  this.nextTop = 0;
934
934
  this.columnHeightMax = 0;
935
- //#endregion
935
+ // #endregion
936
936
  }
937
- //#endregion
938
- //#region Methods
937
+ // #endregion
938
+ // #region Methods
939
939
  Tiles.prototype.addTile = function (tile) {
940
940
  this.isTilesLoaded = true;
941
941
  var tileSize = this.tileSizes[tile.tileSize];
@@ -966,7 +966,7 @@ var angularportalazure;
966
966
  (function (angularportalazure) {
967
967
  var Startboard = (function (_super) {
968
968
  __extends(Startboard, _super);
969
- //#region Constructor
969
+ // #region Constructor
970
970
  function Startboard($scope, portalService) {
971
971
  var _this = _super.call(this, $scope, portalService) || this;
972
972
  _this.tiles = new angularportalazure.Tiles();
@@ -985,8 +985,8 @@ var angularportalazure;
985
985
  (function (angularportalazure) {
986
986
  var Panorama = (function (_super) {
987
987
  __extends(Panorama, _super);
988
- //#endregion
989
- //#region Constructor
988
+ // #endregion
989
+ // #region Constructor
990
990
  function Panorama($scope, title, portalService) {
991
991
  var _this = _super.call(this, $scope, portalService) || this;
992
992
  _this.isVisible = true;
@@ -1009,7 +1009,7 @@ var angularportalazure;
1009
1009
  var angularportalazure;
1010
1010
  (function (angularportalazure) {
1011
1011
  var PortalShell = (function () {
1012
- //#region Constructor
1012
+ // #region Constructor
1013
1013
  function PortalShell(portalService, title) {
1014
1014
  if (title === void 0) { title = null; }
1015
1015
  this.portalService = portalService;
@@ -1038,8 +1038,8 @@ var angularportalazure;
1038
1038
  (function (angularportalazure) {
1039
1039
  var PortalService = (function () {
1040
1040
  function PortalService($injector) {
1041
- //#endregion
1042
- //#region Properties
1041
+ // #endregion
1042
+ // #region Properties
1043
1043
  this.parameter = { action: 'none', itemId: 0 };
1044
1044
  this.$injector = $injector;
1045
1045
  this.$http = $injector.get('$http');
@@ -1054,7 +1054,7 @@ var angularportalazure;
1054
1054
  }
1055
1055
  return PortalService;
1056
1056
  }());
1057
- //#region Constructor
1057
+ // #region Constructor
1058
1058
  PortalService.$inject = ['$injector'];
1059
1059
  angularportalazure.PortalService = PortalService;
1060
1060
  angular.module('angularportalazure').service('angularportalazure.portalService', PortalService);
@@ -1133,13 +1133,13 @@ var angularportalazure;
1133
1133
  (function (angularportalazure) {
1134
1134
  var BladeDetail = (function (_super) {
1135
1135
  __extends(BladeDetail, _super);
1136
- //#region Constructor
1136
+ // #region Constructor
1137
1137
  function BladeDetail($scope, portalService, path, title, subtitle, width) {
1138
1138
  if (subtitle === void 0) { subtitle = ''; }
1139
1139
  if (width === void 0) { width = 200; }
1140
1140
  var _this = _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
1141
- //#endregion
1142
- //#region Properties
1141
+ // #endregion
1142
+ // #region Properties
1143
1143
  _this.item = {};
1144
1144
  _this.commandNewText = 'neu';
1145
1145
  _this.commandSaveText = 'speichern';
@@ -1147,8 +1147,8 @@ var angularportalazure;
1147
1147
  _this.commandCancelText = 'abbrechen';
1148
1148
  return _this;
1149
1149
  }
1150
- //#endregion
1151
- //#region Methods
1150
+ // #endregion
1151
+ // #region Methods
1152
1152
  BladeDetail.prototype.loadItem = function (func) {
1153
1153
  var _this = this;
1154
1154
  this.onLoadItem();
@@ -1196,18 +1196,18 @@ var angularportalazure;
1196
1196
  (function (angularportalazure) {
1197
1197
  var BladeGrid = (function (_super) {
1198
1198
  __extends(BladeGrid, _super);
1199
- //#region Constructor
1199
+ // #region Constructor
1200
1200
  function BladeGrid($scope, portalService, path, title, subtitle, width) {
1201
1201
  if (subtitle === void 0) { subtitle = ''; }
1202
1202
  if (width === void 0) { width = 200; }
1203
1203
  var _this = _super.call(this, $scope, portalService, path, title, subtitle, width) || this;
1204
- //#endregion
1205
- //#region Properties
1204
+ // #endregion
1205
+ // #region Properties
1206
1206
  _this.items = [];
1207
1207
  return _this;
1208
1208
  }
1209
- //#endregion
1210
- //#region Methods
1209
+ // #endregion
1210
+ // #region Methods
1211
1211
  BladeGrid.prototype.loadItems = function (func) {
1212
1212
  var _this = this;
1213
1213
  this.onLoadItems();
@@ -1218,15 +1218,15 @@ var angularportalazure;
1218
1218
  _this.setStatusBarException(exception);
1219
1219
  });
1220
1220
  };
1221
- //#region Filter
1221
+ // #region Filter
1222
1222
  BladeGrid.prototype.onFilter = function (actual, expected) {
1223
- //#region Documentation
1223
+ // #region Documentation
1224
1224
  // > onFilter will be called for each item in an array
1225
1225
  // > If the item is an native type (string, number), the filter will be called with the native type in the parameter 'actual'
1226
1226
  // > If the item is an object, the filter will be called with each property of the object in the parameter 'actual'
1227
1227
  // > If the item is an object, the filter will also be called with the object in the parameter 'actual'
1228
- //#endregion
1229
- //#region Helper functions
1228
+ // #endregion
1229
+ // #region Helper functions
1230
1230
  // Implemenation detail:
1231
1231
  // > We implemented the following functions with in-line-functions, since onFilter is not called within the scope of a class (this. not working).
1232
1232
  // Function to convert 'number' to 'string'
@@ -1262,14 +1262,14 @@ var angularportalazure;
1262
1262
  }
1263
1263
  }
1264
1264
  };
1265
- //#endregion
1266
- //#region Initialize
1265
+ // #endregion
1266
+ // #region Initialize
1267
1267
  // Prepare 'expected' value
1268
1268
  expected = expected.toLowerCase();
1269
1269
  // Split the search string into its parts if separated by blanks
1270
1270
  var expectedSplitted = expected.split(' ');
1271
- //#endregion
1272
- //#region Process depending on type
1271
+ // #endregion
1272
+ // #region Process depending on type
1273
1273
  // Process property, typeof 'object'
1274
1274
  if (typeof actual === 'object') {
1275
1275
  processObject(actual);
@@ -1282,16 +1282,16 @@ var angularportalazure;
1282
1282
  if (typeof actual === 'string') {
1283
1283
  valueFound(actual, expected);
1284
1284
  }
1285
- //#endregion
1286
- //#region Verify if all expected has been found
1285
+ // #endregion
1286
+ // #region Verify if all expected has been found
1287
1287
  var foundCount = 0;
1288
1288
  expectedSplitted.forEach(function (expectedItem) {
1289
1289
  if (expectedItem === '') {
1290
1290
  foundCount++;
1291
1291
  }
1292
1292
  });
1293
- //#endregion
1294
- //#region Return result
1293
+ // #endregion
1294
+ // #region Return result
1295
1295
  if (foundCount === expectedSplitted.length) {
1296
1296
  return true;
1297
1297
  }
@@ -1299,7 +1299,7 @@ var angularportalazure;
1299
1299
  return false;
1300
1300
  }
1301
1301
  ;
1302
- //#endregion
1302
+ // #endregion
1303
1303
  };
1304
1304
  return BladeGrid;
1305
1305
  }(angularportalazure.BladeData));
@@ -1309,11 +1309,11 @@ var angularportalazure;
1309
1309
  var angularportalazure;
1310
1310
  (function (angularportalazure) {
1311
1311
  var Debug = (function () {
1312
- //#region Constructor
1312
+ // #region Constructor
1313
1313
  function Debug() {
1314
1314
  }
1315
- //#endregion
1316
- //#region Methods
1315
+ // #endregion
1316
+ // #region Methods
1317
1317
  Debug.enable = function (key) {
1318
1318
  Debug.isEnabled = true;
1319
1319
  if (key) {
@@ -1365,8 +1365,8 @@ var angularportalazure;
1365
1365
  };
1366
1366
  return Debug;
1367
1367
  }());
1368
- //#endregion
1369
- //#region Properties
1368
+ // #endregion
1369
+ // #region Properties
1370
1370
  Debug.isEnabled = false;
1371
1371
  Debug.isWithObjects = false;
1372
1372
  Debug.keys = new Array();
@@ -1409,10 +1409,10 @@ var angularportalazure;
1409
1409
  exception.StackTrace = responseData.StackTrace;
1410
1410
  exception.InnerException = responseData.InnerException;
1411
1411
  // ValidationsExceptionDotNet
1412
- //exception.ClassName = 'Not yet implemented';
1413
- //exception.Data = [{ key: 0, value: 'Not yet implemented' }];
1412
+ // exception.ClassName = 'Not yet implemented';
1413
+ // exception.Data = [{ key: 0, value: 'Not yet implemented' }];
1414
1414
  // ValidationResultDotNet
1415
- //exception.ValidationResults = [{ ErrorMessage: 'Not yet implemented', MemberNames: [] }];
1415
+ // exception.ValidationResults = [{ ErrorMessage: 'Not yet implemented', MemberNames: [] }];
1416
1416
  };
1417
1417
  ValidationsExceptionDotNet.convertExceptionType = function (exception, responseData) {
1418
1418
  if (responseData.ExceptionType === undefined) {
@@ -1447,8 +1447,8 @@ var angularportalazure;
1447
1447
  function Exception() {
1448
1448
  return _super !== null && _super.apply(this, arguments) || this;
1449
1449
  }
1450
- //#endregion
1451
- //#region Static Methods
1450
+ // #endregion
1451
+ // #region Static Methods
1452
1452
  Exception.getOneLineMessage = function (exception) {
1453
1453
  var message = 'FEHLER ';
1454
1454
  if (exception.Message !== undefined) {
@@ -1501,7 +1501,7 @@ var angularportalazure;
1501
1501
  };
1502
1502
  Exception.processDotNetException1 = function (response) {
1503
1503
  var exception = new angularportalazure.Exception();
1504
- //#region Convert data to Messages
1504
+ // #region Convert data to Messages
1505
1505
  exception.Messages = [];
1506
1506
  if (response.data.Data === undefined) {
1507
1507
  exception.Messages.push('No further information found in [response.data.Data].');
@@ -1513,7 +1513,7 @@ var angularportalazure;
1513
1513
  i++;
1514
1514
  }
1515
1515
  }
1516
- //#endregion
1516
+ // #endregion
1517
1517
  return exception;
1518
1518
  };
1519
1519
  // TODO:2017-01-09/hp: Implement this function for angular2
@@ -1533,13 +1533,13 @@ var angularportalazure;
1533
1533
  var angularportalazure;
1534
1534
  (function (angularportalazure) {
1535
1535
  var DataService = (function () {
1536
- //#region Constructor
1536
+ // #region Constructor
1537
1537
  function DataService($http, $q) {
1538
1538
  this.$http = $http;
1539
1539
  this.$q = $q;
1540
1540
  }
1541
- //#endregion
1542
- //#region Methods
1541
+ // #endregion
1542
+ // #region Methods
1543
1543
  DataService.prototype.getData = function (url) {
1544
1544
  return this.$http({ method: 'GET', url: url })
1545
1545
  .then(function (response) { })
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.264",
5
+ "version": "0.2.265",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {