@ardimedia/angular-portal-azure 0.2.220 → 0.2.222

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.js CHANGED
@@ -1434,17 +1434,19 @@ var angularportalazure;
1434
1434
  if (exception.Message !== undefined) {
1435
1435
  message = message + ': ' + exception.Message + ' ';
1436
1436
  }
1437
- if (exception.ExceptionMessage !== undefined) {
1437
+ if (exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') === 0) {
1438
1438
  message = message + ': ' + exception.ExceptionMessage + ' ';
1439
1439
  }
1440
+ if (exception.ExceptionMessage !== undefined && exception.ExceptionMessage.toLowerCase().indexOf('see the inner exception for details') > 0) {
1441
+ if (exception.InnerException !== undefined) {
1442
+ message = message + ': ' + exception.InnerException.ExceptionMessage + ' ';
1443
+ }
1444
+ }
1440
1445
  if (exception.Messages !== undefined) {
1441
1446
  exception.Messages.forEach(function (item) {
1442
1447
  message = message + '- ' + item + ' ';
1443
1448
  });
1444
1449
  }
1445
- if (exception.InnerException !== undefined) {
1446
- message = message + ': ' + exception.InnerException.ExceptionMessage + ' ';
1447
- }
1448
1450
  return message;
1449
1451
  };
1450
1452
  Exception.processDotNetException1 = function (response) {
@@ -4,7 +4,7 @@
4
4
  <div class="col-6" style="padding-left: 25px;">
5
5
  <a href="#" class="fxs-topbar-home fxs-has-hover">{{$ctrl.vm.portalService.panorama.title}}</a>
6
6
  </div>
7
- <div class="col-6 fxs-avatarmenu-tenant-container">
7
+ <div class="col-6 fxs-avatarmenu-tenant-container" style="padding-right:10px;">
8
8
  <a class="fxs-has-hover" href="/Account/Manage">
9
9
  <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.name}}</span><br />
10
10
  <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.userName}}</span>
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
- require('./apn');
2
- module.exports = angularportalazure;
3
-
4
- // TODO: 2016-10-25/hp: maybe we should use someting like this and change our code from [global] to [umd]
5
- /// https://www.typescriptlang.org/docs/handbook/declaration-files/library-structures.html
6
- (function (root, factory) {
7
- if (typeof define === "function" && define.amd) {
8
- define(["libName"], factory);
9
- } else if (typeof module === "object" && module.exports) {
10
- module.exports = factory(require("libName"));
11
- } else {
12
- root.returnExports = factory(root.libName);
13
- }
1
+ require('./apn');
2
+ module.exports = angularportalazure;
3
+
4
+ // TODO: 2016-10-25/hp: maybe we should use someting like this and change our code from [global] to [umd]
5
+ /// https://www.typescriptlang.org/docs/handbook/declaration-files/library-structures.html
6
+ (function (root, factory) {
7
+ if (typeof define === "function" && define.amd) {
8
+ define(["libName"], factory);
9
+ } else if (typeof module === "object" && module.exports) {
10
+ module.exports = factory(require("libName"));
11
+ } else {
12
+ root.returnExports = factory(root.libName);
13
+ }
14
14
  }(this, function (b) { console.log(b); }))
package/package.json CHANGED
@@ -2,21 +2,21 @@
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.220",
5
+ "version": "0.2.222",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {
9
- "@angular/common": "^2.4.3",
10
- "@angular/compiler": "^2.4.3",
11
- "@angular/compiler-cli": "^2.4.3",
12
- "@angular/core": "^2.4.3",
13
- "@angular/forms": "^2.4.3",
14
- "@angular/http": "^2.4.3",
15
- "@angular/platform-browser": "^2.4.3",
16
- "@angular/platform-browser-dynamic": "^2.4.3",
17
- "@angular/platform-server": "^2.4.3",
18
- "@angular/router": "^3.4.3",
19
- "@angular/upgrade": "^2.4.3",
9
+ "@angular/common": "^2.4.4",
10
+ "@angular/compiler": "^2.4.4",
11
+ "@angular/compiler-cli": "^2.4.4",
12
+ "@angular/core": "^2.4.4",
13
+ "@angular/forms": "^2.4.4",
14
+ "@angular/http": "^2.4.4",
15
+ "@angular/platform-browser": "^2.4.4",
16
+ "@angular/platform-browser-dynamic": "^2.4.4",
17
+ "@angular/platform-server": "^2.4.4",
18
+ "@angular/router": "^3.4.4",
19
+ "@angular/upgrade": "^2.4.4",
20
20
  "angular": "^1.6.1",
21
21
  "angular-resource": "^1.6.1",
22
22
  "angular-translate": "^2.13.1",
@@ -27,12 +27,12 @@
27
27
  "ng-dialog": "^0.6.6"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/angular": "^1.6.0",
30
+ "@types/angular": "^1.6.2",
31
31
  "@types/angular-resource": "^1.5.8",
32
32
  "@types/angular-translate": "^2.4.34",
33
33
  "@types/angulartics": "^1.3.1",
34
34
  "@types/ng-dialog": "^0.6.0",
35
- "@types/node": "^7.0.0",
35
+ "@types/node": "^7.0.3",
36
36
  "tslint": "^4.3.1",
37
37
  "typescript": "^2.1.5"
38
38
  }