@ardimedia/angular-portal-azure 0.2.294 → 0.2.296
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 +12 -11
- package/apn.js +16 -1
- package/package.json +15 -15
package/apn.d.ts
CHANGED
|
@@ -27,8 +27,9 @@ declare namespace angularportalazure {
|
|
|
27
27
|
$onDestroy(): void;
|
|
28
28
|
/** angular2: ngOnChanges(), ngOnInit, ngDoCheck, ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit, ngAfterViewChecked, ngOnDestroy */
|
|
29
29
|
ngOnDestroy(): void;
|
|
30
|
-
private removeWindowResizeListener
|
|
30
|
+
private removeWindowResizeListener;
|
|
31
31
|
setupWindowResizeListener(callback: () => void): void;
|
|
32
|
+
isNumberUndefinedNullOr0(value: number): boolean;
|
|
32
33
|
isStringNullOrEmpty(value: string): boolean;
|
|
33
34
|
getRandomString(length?: number): string;
|
|
34
35
|
}
|
|
@@ -166,7 +167,7 @@ declare namespace angularportalazure {
|
|
|
166
167
|
onCommandExcel(): void;
|
|
167
168
|
/** Change title, as soon as watchExpression changes. watchExpression is either a variable ore an expression, e.g. [name1 + name2] */
|
|
168
169
|
setTitle(watchExpression: string, func: () => void): void;
|
|
169
|
-
private setBladeHeights
|
|
170
|
+
private setBladeHeights;
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
173
|
declare namespace angularportalazure {
|
|
@@ -190,9 +191,9 @@ declare namespace angularportalazure {
|
|
|
190
191
|
hidePanorama(): void;
|
|
191
192
|
/** We need to call this when AreaBlades is no longer used, otherwise the listener does not get removed. */
|
|
192
193
|
close(): void;
|
|
193
|
-
private setPortalScrollCss
|
|
194
|
-
private setupShowHideNotificationAreaListener
|
|
195
|
-
private setupAddBladeListener
|
|
194
|
+
private setPortalScrollCss;
|
|
195
|
+
private setupShowHideNotificationAreaListener;
|
|
196
|
+
private setupAddBladeListener;
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
199
|
declare namespace angularportalazure {
|
|
@@ -241,7 +242,7 @@ declare namespace angularportalazure {
|
|
|
241
242
|
onHide(): boolean;
|
|
242
243
|
onShow(): void;
|
|
243
244
|
onShowed(): void;
|
|
244
|
-
private calcualteCssStyles
|
|
245
|
+
private calcualteCssStyles;
|
|
245
246
|
}
|
|
246
247
|
}
|
|
247
248
|
declare namespace angularportalazure {
|
|
@@ -263,7 +264,7 @@ declare namespace angularportalazure {
|
|
|
263
264
|
small = 0,
|
|
264
265
|
mini = 1,
|
|
265
266
|
normal = 2,
|
|
266
|
-
herowide = 3
|
|
267
|
+
herowide = 3
|
|
267
268
|
}
|
|
268
269
|
}
|
|
269
270
|
declare namespace angularportalazure {
|
|
@@ -442,8 +443,8 @@ declare namespace angularportalazure {
|
|
|
442
443
|
}[];
|
|
443
444
|
ValidationResults: ValidationResultDotNet[];
|
|
444
445
|
convertResponse(response: any): void;
|
|
445
|
-
private static convertResponse
|
|
446
|
-
private static convertExceptionType
|
|
446
|
+
private static convertResponse;
|
|
447
|
+
private static convertExceptionType;
|
|
447
448
|
}
|
|
448
449
|
}
|
|
449
450
|
declare namespace angularportalazure {
|
|
@@ -456,7 +457,7 @@ declare namespace angularportalazure {
|
|
|
456
457
|
Url: string;
|
|
457
458
|
static getOneLineMessage(exception: angularportalazure.Exception): string;
|
|
458
459
|
static prepareException(response: angular.IHttpPromiseCallbackArg<angularportalazure.Exception> | any): angularportalazure.Exception;
|
|
459
|
-
private static processDotNetException1
|
|
460
|
-
private static processDotNetException2
|
|
460
|
+
private static processDotNetException1;
|
|
461
|
+
private static processDotNetException2;
|
|
461
462
|
}
|
|
462
463
|
}
|
package/apn.js
CHANGED
|
@@ -120,6 +120,21 @@ var angularportalazure;
|
|
|
120
120
|
id = setTimeout(function () { callback(); }, 50);
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
+
UserControlBase.prototype.isNumberUndefinedNullOr0 = function (value) {
|
|
124
|
+
//if ((typeof value == 'undefined')
|
|
125
|
+
// || (value == null)
|
|
126
|
+
// || (value == 0)) {
|
|
127
|
+
// return true;
|
|
128
|
+
//} else {
|
|
129
|
+
// return false;
|
|
130
|
+
//}
|
|
131
|
+
if (value && value > 0) {
|
|
132
|
+
return false;
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
return true;
|
|
136
|
+
}
|
|
137
|
+
};
|
|
123
138
|
UserControlBase.prototype.isStringNullOrEmpty = function (value) {
|
|
124
139
|
if (value && value.replace(' ', '').length > 0) {
|
|
125
140
|
return false;
|
|
@@ -1406,7 +1421,7 @@ var angularportalazure;
|
|
|
1406
1421
|
// #region Verify if all expected has been found
|
|
1407
1422
|
var foundCount = 0;
|
|
1408
1423
|
expectedSplitted.forEach(function (expectedItem) {
|
|
1409
|
-
if (expectedItem === '') {
|
|
1424
|
+
if (expectedItem === '') { // all expectedSplitted.items which have been found, are initialized to '' (see above)
|
|
1410
1425
|
foundCount++;
|
|
1411
1426
|
}
|
|
1412
1427
|
});
|
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.296",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@angular/animations": "^
|
|
10
|
-
"@angular/common": "^
|
|
11
|
-
"@angular/compiler": "^
|
|
12
|
-
"@angular/core": "^
|
|
13
|
-
"@angular/forms": "^
|
|
14
|
-
"@angular/http": "^
|
|
15
|
-
"@angular/platform-browser": "^
|
|
16
|
-
"@angular/platform-browser-dynamic": "^
|
|
17
|
-
"@angular/platform-server": "^
|
|
18
|
-
"@angular/router": "^
|
|
19
|
-
"@angular/upgrade": "^
|
|
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
20
|
"angular": "^1.7.4",
|
|
21
21
|
"angular-resource": "^1.7.4",
|
|
22
22
|
"angular-translate": "^2.18.1",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"angulartics-google-analytics": "^0.5.0",
|
|
26
26
|
"bootstrap": "^4.1.3",
|
|
27
27
|
"ng-dialog": "^1.4.0",
|
|
28
|
-
"rxjs": "^
|
|
28
|
+
"rxjs": "^6.3.3",
|
|
29
29
|
"zone.js": "^0.8.26"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@angular/compiler-cli": "^
|
|
32
|
+
"@angular/compiler-cli": "^6.1.9",
|
|
33
33
|
"@types/angular": "https://registry.npmjs.org/@types/angular/-/angular-1.6.17.tgz",
|
|
34
34
|
"@types/angular-resource": "^1.5.14",
|
|
35
35
|
"@types/angular-translate": "^2.16.0",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"@types/ng-dialog": "^0.6.2",
|
|
38
38
|
"@types/node": "^9.4.6",
|
|
39
39
|
"tslint": "^5.11.0",
|
|
40
|
-
"typescript": "^2.
|
|
40
|
+
"typescript": "^2.9.2"
|
|
41
41
|
}
|
|
42
42
|
}
|