@ardimedia/angular-portal-azure 0.2.324 → 0.2.326

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
@@ -36,6 +36,7 @@ declare namespace angularportalazure {
36
36
  private removeWindowResizeListener;
37
37
  setupWindowResizeListener(callback: () => void): void;
38
38
  isNumberUndefinedNullOr0(value: number): boolean;
39
+ isObjectNullUndefinedOrEmpty(value: object): boolean;
39
40
  isStringNullOrEmpty(value: string): boolean;
40
41
  getRandomString(length?: number): string;
41
42
  clearStatusBar(): void;
package/apn.js CHANGED
@@ -136,6 +136,20 @@ var angularportalazure;
136
136
  return true;
137
137
  }
138
138
  };
139
+ UserControlBase.prototype.isObjectNullUndefinedOrEmpty = function (value) {
140
+ if (value == null) {
141
+ return true;
142
+ }
143
+ if (value == undefined) {
144
+ return true;
145
+ }
146
+ if (value && Object.keys(value).length > 0) {
147
+ return false;
148
+ }
149
+ else {
150
+ return true;
151
+ }
152
+ };
139
153
  UserControlBase.prototype.isStringNullOrEmpty = function (value) {
140
154
  if (value && value.replace(' ', '').length > 0) {
141
155
  return false;
@@ -1,73 +1,74 @@
1
- <div class="fxs-portal fxs-theme-blue">
2
- <!-- fxs-topbar -->
3
- <div class="fxs-topbar container-fluid row">
4
- <div class="col-6" style="padding-left: 25px;">
5
- <a href="#" class="fxs-topbar-home fxs-has-hover">{{$ctrl.vm.portalService.panorama.title}}</a>
6
- </div>
7
- <div class="col-6 fxs-avatarmenu-tenant-container" style="padding-right:10px;">
8
- <a class="fxs-has-hover" href="/Account/Manage">
9
- <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.name}}</span><br />
10
- <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.userName}}</span>
11
- </a>
12
- </div>
13
- </div>
14
- <div id="apa-portal-scroll" class="fxs-portal-content fxs-panorama" style="height:calc(100% - 40px)">
15
- <!-- fxs-panorama-homearea -->
16
- <div class="fxs-panorama-homearea" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="$ctrl.vm.portalService.panorama.isVisible" style="padding-top:45px;">
17
- <div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
18
- <div class="xfxs-part fxs-part-clickable" style="background-color:#293644; padding:25px; max-width: 800px;margin-bottom:15px;">
19
- <header class="xfxs-part-title" style="color:white">
20
- <h3 class="xmsportalfx-tooltip-overflow">Redesign</h3>
21
- <p class="xmsportalfx-tooltip-overflow" style="margin:0;padding:0">
22
- Zur Zeit stehen nicht alle Applikation in der PREVIEW-Umgebung zur Verfügung. <b>
23
- Falls Ihre Applikation unten nicht aufgelistet wird,
24
- entfernen sie in der URL den Teil mit [.preview] und navigieren Sie somit zur STANDARD-Umgebung.
25
- In der STANDARD-Umgebung können Sie wie gewohnt weiterarbeiten.
26
- </b>
27
- In den kommenden Monaten werden alle Applikationen auf das neue Layout angepasst.
28
- <br /><br />Bei Fragen stehen wir gerne zur Verfügung.
29
- <br />Ihr Ardimedia Team
30
- </p>
31
- </header>
32
- <section class="fxs-part-content css-scope-HubsExtension"></section>
33
- </div>
34
- <!-- !$ctrl.vm.portalService.panorama.startboard.tiles.isTilesLoaded -->
35
- <div ng-if="$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;height:auto;">
36
- <header class="xfxs-part-title" style="color:white">
37
- <h3 class="xmsportalfx-tooltip-overflow">Keine Applikationen zugeordnet</h3>
38
- <p class="xmsportalfx-tooltip-overflow" style="margin:0;padding:0">
39
- Wenden Sie sich bitte an den Administrator damit die entsprechenden Applikationen zugeordnet werden können.
40
- <br />Ihr Ardimedia Team
41
- </p>
42
- </header>
43
- </div>
44
- <div class="fxs-startboard-layout fxs-flowlayout">
45
- <div class="fxs-flowlayout-childcontainer">
46
- <section data-ng-repeat="tile in $ctrl.vm.portalService.panorama.startboard.tiles.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
47
- <div class="fxs-part fxs-part-clickable" ng-click="tile.clicked();" style="cursor:pointer;">
48
- <header class="fxs-part-title">
49
- <h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
50
- <h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
51
- </header>
52
- <section class="fxs-part-content css-scope-HubsExtension"></section>
53
- </div>
54
- <div class="fxs-title-overlay"></div>
55
- </section>
56
- </div>
57
- </div>
58
- </div>
59
- </div>
60
- <!-- apa-blade-area -->
61
- <div id="apa-blade-area" class="fxs-journey-target fxs-journey">
62
- <div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
63
- <div data-ng-repeat="blade in $ctrl.vm.portalService.areaBlades.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
64
- </div>
65
- </div>
66
- <!--apa-notification-area-->
67
- <div id="apa-notification-area" style="display: none;">
68
- <div style="height:40px;background-color:#202428"></div>
69
- <button ng-if="!$ctrl.vm.portalService.areaNotification.path" ng-click="$ctrl.vm.portalService.areaNotification.hide();" >CLOSE</button>
70
- <div ng-include="$ctrl.vm.portalService.areaNotification.path"></div>
71
- </div>
72
- </div>
73
- </div>
1
+ <div class="fxs-portal fxs-theme-blue">
2
+ <!-- fxs-topbar -->
3
+ <div class="fxs-topbar container-fluid row">
4
+ <div class="col-6" style="padding-left: 25px;">
5
+ <a href="#" class="fxs-topbar-home fxs-has-hover">{{$ctrl.vm.portalService.panorama.title}}</a>
6
+ </div>
7
+ <div class="col-6 fxs-avatarmenu-tenant-container" style="padding-right:10px;">
8
+ <a class="fxs-has-hover" href="/Account/Manage">
9
+ <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.name}}</span><br />
10
+ <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.userName}}</span>
11
+ </a>
12
+ </div>
13
+ </div>
14
+ <div id="apa-portal-scroll" class="fxs-portal-content fxs-panorama" style="height:calc(100% - 40px)">
15
+ <!-- fxs-panorama-homearea -->
16
+ <div class="fxs-panorama-homearea" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}" ng-show="$ctrl.vm.portalService.panorama.isVisible" style="padding-top:45px;">
17
+ <div class="fxs-startboard-target fxs-startboard fx-rightClick" ng-class="{collapsed: !$ctrl.vm.portalService.panorama.startboard.tiles.showTiles}">
18
+ <!-- HEADER INFO AREA -->
19
+ <!--<div class="xfxs-part fxs-part-clickable" style="background-color:#293644; padding:25px; max-width: 800px;margin-bottom:15px;">
20
+ <header class="xfxs-part-title" style="color:white">
21
+ <h3 class="xmsportalfx-tooltip-overflow">Redesign</h3>
22
+ <p class="xmsportalfx-tooltip-overflow" style="margin:0;padding:0">
23
+ Zur Zeit stehen nicht alle Applikation in der PREVIEW-Umgebung zur Verfügung. <b>
24
+ Falls Ihre Applikation unten nicht aufgelistet wird,
25
+ entfernen sie in der URL den Teil mit [.preview] und navigieren Sie somit zur STANDARD-Umgebung.
26
+ In der STANDARD-Umgebung können Sie wie gewohnt weiterarbeiten.
27
+ </b>
28
+ In den kommenden Monaten werden alle Applikationen auf das neue Layout angepasst.
29
+ <br /><br />Bei Fragen stehen wir gerne zur Verfügung.
30
+ <br />Ihr Ardimedia Team
31
+ </p>
32
+ </header>
33
+ <section class="fxs-part-content css-scope-HubsExtension"></section>
34
+ </div>-->
35
+ <!-- !$ctrl.vm.portalService.panorama.startboard.tiles.isTilesLoaded -->
36
+ <div ng-if="$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;height:auto;">
37
+ <header class="xfxs-part-title" style="color:white">
38
+ <h3 class="xmsportalfx-tooltip-overflow">Keine Applikationen zugeordnet</h3>
39
+ <p class="xmsportalfx-tooltip-overflow" style="margin:0;padding:0">
40
+ Wenden Sie sich bitte an den Administrator damit die entsprechenden Applikationen zugeordnet werden können.
41
+ <br />Ihr Ardimedia Team
42
+ </p>
43
+ </header>
44
+ </div>
45
+ <div class="fxs-startboard-layout fxs-flowlayout">
46
+ <div class="fxs-flowlayout-childcontainer">
47
+ <section data-ng-repeat="tile in $ctrl.vm.portalService.panorama.startboard.tiles.tiles track by $index" class="fxs-tile fx-rightClick fxs-flowlayout-element" data-ng-class="{'fxs-tilesize-normal':tile.size=='normal', 'fxs-tilesize-mini':tile.size=='mini', 'fxs-tilesize-herowide':tile.size=='herowide'}" data-ng-style="{'left': tile.left, 'top': tile.top}">
48
+ <div class="fxs-part fxs-part-clickable" ng-click="tile.clicked();" style="cursor:pointer;">
49
+ <header class="fxs-part-title">
50
+ <h2 class="msportalfx-tooltip-overflow">{{tile.title}}</h2>
51
+ <h3 class="msportalfx-tooltip-overflow">{{tile.subTitle}}</h3>
52
+ </header>
53
+ <section class="fxs-part-content css-scope-HubsExtension"></section>
54
+ </div>
55
+ <div class="fxs-title-overlay"></div>
56
+ </section>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ <!-- apa-blade-area -->
62
+ <div id="apa-blade-area" class="fxs-journey-target fxs-journey">
63
+ <div class="fxs-journey-layout fxs-stacklayout fxs-stacklayout-horizontal">
64
+ <div data-ng-repeat="blade in $ctrl.vm.portalService.areaBlades.blades track by $index" class="azureportalblade fxs-stacklayout-child" ng-include="blade.path"></div>
65
+ </div>
66
+ </div>
67
+ <!--apa-notification-area-->
68
+ <div id="apa-notification-area" style="display: none;">
69
+ <div style="height:40px;background-color:#202428"></div>
70
+ <button ng-if="!$ctrl.vm.portalService.areaNotification.path" ng-click="$ctrl.vm.portalService.areaNotification.hide();">CLOSE</button>
71
+ <div ng-include="$ctrl.vm.portalService.areaNotification.path"></div>
72
+ </div>
73
+ </div>
74
+ </div>
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.324",
5
+ "version": "0.2.326",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {