@ardimedia/angular-portal-azure 0.2.236 → 0.2.238

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
@@ -224,7 +224,7 @@ declare namespace angularportalazure {
224
224
  private _backgroundColor;
225
225
  backgroundColor: string;
226
226
  hide(): void;
227
- show(): void;
227
+ show(width?: number): void;
228
228
  private calcualteCssStyles();
229
229
  }
230
230
  }
@@ -280,6 +280,7 @@ declare namespace angularportalazure {
280
280
  class Tiles {
281
281
  showTiles: boolean;
282
282
  tiles: Array<any>;
283
+ isTilesLoaded: boolean;
283
284
  hideTileIfOnlyOne: boolean;
284
285
  private tileSizes;
285
286
  private nextLeft;
package/apn.js CHANGED
@@ -769,7 +769,9 @@ var angularportalazure;
769
769
  this.areaNotification.style.display = 'none';
770
770
  this.portalService.$rootScope.$broadcast('AreaNotification.Hide');
771
771
  };
772
- AreaNotification.prototype.show = function () {
772
+ AreaNotification.prototype.show = function (width) {
773
+ if (width === void 0) { width = 250; }
774
+ this.width = width;
773
775
  this.widthAreaUsed = 1; // Indicate to the calcualteCssStyles function, that we need to set this value
774
776
  this.calcualteCssStyles();
775
777
  this.areaNotification.style.display = 'inline-block';
@@ -890,7 +892,8 @@ var angularportalazure;
890
892
  function Tiles() {
891
893
  //#region Properties
892
894
  this.showTiles = true;
893
- this.tiles = undefined; // = new Array<any>();
895
+ this.tiles = new Array();
896
+ this.isTilesLoaded = false;
894
897
  this.hideTileIfOnlyOne = true; // not yet evaluated in HTML, but this is the standard behavior
895
898
  this.tileSizes = angularportalazure.TileSize.getTileSizes();
896
899
  this.nextLeft = 0;
@@ -901,6 +904,7 @@ var angularportalazure;
901
904
  //#endregion
902
905
  //#region Methods
903
906
  Tiles.prototype.addTile = function (tile) {
907
+ this.isTilesLoaded = true;
904
908
  var tileSize = this.tileSizes[tile.tileSize];
905
909
  tile.size = angularportalazure.TileSizes[tile.tileSize]; // Get CSS Name
906
910
  tile.top = this.nextTop + 'px';
@@ -31,7 +31,7 @@
31
31
  </header>
32
32
  <section class="fxs-part-content css-scope-HubsExtension"></section>
33
33
  </div>
34
- <div ng-if="$ctrl.vm.portalService.panorama.startboard.tiles.tiles !== undefined && $ctrl.vm.portalService.panorama.startboard.tiles.tiles.length === 0" class="xfxs-part fxs-part-clickable" style="background-color:#293644; padding:25px; max-width: 800px;margin-bottom:15px;">
34
+ <div ng-if="$ctrl.vm.portalService.panorama.startboard.tiles.isTilesLoaded && $ctrl.vm.portalService.panorama.startboard.tiles.tiles.length === 0" class="xfxs-part fxs-part-clickable" style="background-color:#293644; padding:25px; max-width: 800px;margin-bottom:15px;">
35
35
  <header class="xfxs-part-title" style="color:white">
36
36
  <h3 class="xmsportalfx-tooltip-overflow">Keine Applikationen zugeordnet</h3>
37
37
  <p class="xmsportalfx-tooltip-overflow" style="margin:0;padding:0">
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.236",
5
+ "version": "0.2.238",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {