@ardimedia/angular-portal-azure 0.2.324 → 0.2.325
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 +1 -0
- package/apn.js +14 -0
- package/package.json +1 -1
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;
|
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.
|
|
5
|
+
"version": "0.2.325",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|