@ardimedia/angular-portal-azure 0.2.191 → 0.2.192

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.d.ts +1 -0
  2. package/apn.js +8 -0
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -30,6 +30,7 @@ declare namespace angularportalazure {
30
30
  ngOnDestroy(): void;
31
31
  private removeWindowResizeListener();
32
32
  setupWindowResizeListener(callback: () => void): void;
33
+ IsStringNullOrEmpty(value: string): boolean;
33
34
  }
34
35
  }
35
36
  declare namespace angularportalazure {
package/apn.js CHANGED
@@ -121,6 +121,14 @@ var angularportalazure;
121
121
  id = setTimeout(function () { callback(); }, 50);
122
122
  });
123
123
  };
124
+ UserControlBase.prototype.IsStringNullOrEmpty = function (value) {
125
+ if (value && value.replace(' ', '').length > 0) {
126
+ return false;
127
+ }
128
+ else {
129
+ return true;
130
+ }
131
+ };
124
132
  return UserControlBase;
125
133
  }());
126
134
  angularportalazure.UserControlBase = UserControlBase;
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.191",
5
+ "version": "0.2.192",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {