@ardimedia/angular-portal-azure 0.2.332 → 0.2.334

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.js +14 -3
  2. package/index.js +14 -14
  3. package/package.json +19 -18
package/apn.js CHANGED
@@ -213,9 +213,12 @@ var angularportalazure;
213
213
  })(angularportalazure || (angularportalazure = {}));
214
214
  // #region Declarations
215
215
  var __extends = (this && this.__extends) || (function () {
216
- var extendStatics = Object.setPrototypeOf ||
217
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
218
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
216
+ var extendStatics = function (d, b) {
217
+ extendStatics = Object.setPrototypeOf ||
218
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
219
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
220
+ return extendStatics(d, b);
221
+ }
219
222
  return function (d, b) {
220
223
  extendStatics(d, b);
221
224
  function __() { this.constructor = d; }
@@ -1774,6 +1777,14 @@ var angularportalazure;
1774
1777
  exception.Message = response.json().InnerException.InnerException.Message;
1775
1778
  }
1776
1779
  // #endregion
1780
+ // #region Process (Angular 2) response._body
1781
+ else if (response._body !== undefined) {
1782
+ var body = JSON.parse(response._body);
1783
+ if (body.Message) {
1784
+ exception.Message = body.Message;
1785
+ }
1786
+ }
1787
+ // #endregion
1777
1788
  //exception.convertResponse(response);
1778
1789
  exception.Url = response.url;
1779
1790
  exception.Status = response.status;
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
- }
14
- }(this, function (b) { console.log(b); }))
1
+ require('./apn');
2
+ module.exports = angularportalazure;
3
+
4
+ // TODO: 2016-10-25/hp: maybe we should use something 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
+ }(this, function (b) { console.log(b); }))
package/package.json CHANGED
@@ -2,23 +2,24 @@
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.332",
5
+ "version": "0.2.334",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {
9
- "@angular/animations": "^6.1.9",
10
- "@angular/common": "^6.1.9",
11
- "@angular/compiler": "^6.1.9",
12
- "@angular/core": "^6.1.9",
13
- "@angular/forms": "^6.1.9",
14
- "@angular/http": "^6.1.9",
15
- "@angular/platform-browser": "^6.1.9",
16
- "@angular/platform-browser-dynamic": "^6.1.9",
17
- "@angular/platform-server": "^6.1.9",
18
- "@angular/router": "^6.1.9",
19
- "@angular/upgrade": "^6.1.9",
20
- "angular": "^1.7.4",
21
- "angular-resource": "^1.7.4",
9
+ "@angular/animations": "^7.0.0",
10
+ "@angular/cli": "^7.0.2",
11
+ "@angular/common": "^7.0.0",
12
+ "@angular/compiler": "^7.0.0",
13
+ "@angular/core": "^7.0.0",
14
+ "@angular/forms": "^7.0.0",
15
+ "@angular/http": "^7.0.0",
16
+ "@angular/platform-browser": "^7.0.0",
17
+ "@angular/platform-browser-dynamic": "^7.0.0",
18
+ "@angular/platform-server": "^7.0.0",
19
+ "@angular/router": "^7.0.0",
20
+ "@angular/upgrade": "^7.0.0",
21
+ "angular": "^1.7.5",
22
+ "angular-resource": "^1.7.5",
22
23
  "angular-translate": "^2.18.1",
23
24
  "angular-translate-storage-cookie": "^2.18.1",
24
25
  "angulartics": "^1.6.0",
@@ -29,14 +30,14 @@
29
30
  "zone.js": "^0.8.26"
30
31
  },
31
32
  "devDependencies": {
32
- "@angular/compiler-cli": "^6.1.9",
33
- "@types/angular": "https://registry.npmjs.org/@types/angular/-/angular-1.6.17.tgz",
33
+ "@angular/compiler-cli": "^7.0.0",
34
+ "@types/angular": "1.6.51",
34
35
  "@types/angular-resource": "^1.5.14",
35
36
  "@types/angular-translate": "^2.16.0",
36
37
  "@types/angulartics": "^1.4.1",
37
38
  "@types/ng-dialog": "^0.6.2",
38
- "@types/node": "^9.4.6",
39
+ "@types/node": "^10.12.0",
39
40
  "tslint": "^5.11.0",
40
- "typescript": "^2.9.2"
41
+ "typescript": "^3.1.3"
41
42
  }
42
43
  }