@ardimedia/angular-portal-azure 0.2.222 → 0.2.224
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 +2 -1
- package/apn.js +9 -1
- package/package.json +13 -13
package/apn.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ declare namespace angularportalazure {
|
|
|
30
30
|
ngOnDestroy(): void;
|
|
31
31
|
private removeWindowResizeListener();
|
|
32
32
|
setupWindowResizeListener(callback: () => void): void;
|
|
33
|
-
|
|
33
|
+
isStringNullOrEmpty(value: string): boolean;
|
|
34
|
+
getRandomString(length?: number): string;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
declare namespace angularportalazure {
|
package/apn.js
CHANGED
|
@@ -121,7 +121,7 @@ var angularportalazure;
|
|
|
121
121
|
id = setTimeout(function () { callback(); }, 50);
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
-
UserControlBase.prototype.
|
|
124
|
+
UserControlBase.prototype.isStringNullOrEmpty = function (value) {
|
|
125
125
|
if (value && value.replace(' ', '').length > 0) {
|
|
126
126
|
return false;
|
|
127
127
|
}
|
|
@@ -129,6 +129,10 @@ var angularportalazure;
|
|
|
129
129
|
return true;
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
+
UserControlBase.prototype.getRandomString = function (length) {
|
|
133
|
+
if (length === void 0) { length = 20; }
|
|
134
|
+
return Math.round((Math.pow(36, length + 1) - Math.random() * Math.pow(36, length))).toString(36).slice(1);
|
|
135
|
+
};
|
|
132
136
|
return UserControlBase;
|
|
133
137
|
}());
|
|
134
138
|
angularportalazure.UserControlBase = UserControlBase;
|
|
@@ -1414,11 +1418,15 @@ var angularportalazure;
|
|
|
1414
1418
|
var exception = new angularportalazure.Exception();
|
|
1415
1419
|
if (response.headers === undefined) {
|
|
1416
1420
|
console.log('> Get information from [.data].');
|
|
1421
|
+
console.log(response);
|
|
1417
1422
|
exception = Exception.processDotNetException1(response);
|
|
1423
|
+
console.log(exception);
|
|
1418
1424
|
}
|
|
1419
1425
|
else {
|
|
1420
1426
|
console.log('> Get information from [.json()].');
|
|
1427
|
+
console.log(response);
|
|
1421
1428
|
exception = Exception.processDotNetException2(response);
|
|
1429
|
+
console.log(exception);
|
|
1422
1430
|
}
|
|
1423
1431
|
exception.convertResponse(response);
|
|
1424
1432
|
exception.Url = response.url;
|
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.
|
|
5
|
+
"version": "0.2.224",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@angular/common": "^2.4.4",
|
|
10
|
-
"@angular/compiler": "^2.4.
|
|
11
|
-
"@angular/compiler-cli": "^2.4.
|
|
12
|
-
"@angular/core": "^2.4.
|
|
13
|
-
"@angular/forms": "^2.4.
|
|
14
|
-
"@angular/http": "^2.4.
|
|
15
|
-
"@angular/platform-browser": "^2.4.
|
|
16
|
-
"@angular/platform-browser-dynamic": "^2.4.
|
|
17
|
-
"@angular/platform-server": "^2.4.
|
|
18
|
-
"@angular/router": "^3.4.
|
|
19
|
-
"@angular/upgrade": "^2.4.
|
|
10
|
+
"@angular/compiler": "^2.4.5",
|
|
11
|
+
"@angular/compiler-cli": "^2.4.5",
|
|
12
|
+
"@angular/core": "^2.4.5",
|
|
13
|
+
"@angular/forms": "^2.4.5",
|
|
14
|
+
"@angular/http": "^2.4.5",
|
|
15
|
+
"@angular/platform-browser": "^2.4.5",
|
|
16
|
+
"@angular/platform-browser-dynamic": "^2.4.5",
|
|
17
|
+
"@angular/platform-server": "^2.4.5",
|
|
18
|
+
"@angular/router": "^3.4.5",
|
|
19
|
+
"@angular/upgrade": "^2.4.5",
|
|
20
20
|
"angular": "^1.6.1",
|
|
21
21
|
"angular-resource": "^1.6.1",
|
|
22
22
|
"angular-translate": "^2.13.1",
|
|
@@ -32,8 +32,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.
|
|
36
|
-
"tslint": "^4.
|
|
35
|
+
"@types/node": "^7.0.4",
|
|
36
|
+
"tslint": "^4.4.1",
|
|
37
37
|
"typescript": "^2.1.5"
|
|
38
38
|
}
|
|
39
39
|
}
|