@ardimedia/angular-portal-azure 0.2.221 → 0.2.223

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 CHANGED
@@ -30,7 +30,8 @@ declare namespace angularportalazure {
30
30
  ngOnDestroy(): void;
31
31
  private removeWindowResizeListener();
32
32
  setupWindowResizeListener(callback: () => void): void;
33
- IsStringNullOrEmpty(value: string): boolean;
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.IsStringNullOrEmpty = function (value) {
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;
@@ -4,7 +4,7 @@
4
4
  <div class="col-6" style="padding-left: 25px;">
5
5
  <a href="#" class="fxs-topbar-home fxs-has-hover">{{$ctrl.vm.portalService.panorama.title}}</a>
6
6
  </div>
7
- <div class="col-6 fxs-avatarmenu-tenant-container">
7
+ <div class="col-6 fxs-avatarmenu-tenant-container" style="padding-right:10px;">
8
8
  <a class="fxs-has-hover" href="/Account/Manage">
9
9
  <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.name}}</span><br />
10
10
  <span>{{$ctrl.vm.portalService.panorama.avatarMenu.userAccount.userName}}</span>
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
- }
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
14
  }(this, function (b) { console.log(b); }))
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.221",
5
+ "version": "0.2.223",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {
9
- "@angular/common": "^2.4.3",
10
- "@angular/compiler": "^2.4.3",
11
- "@angular/compiler-cli": "^2.4.3",
12
- "@angular/core": "^2.4.3",
13
- "@angular/forms": "^2.4.3",
14
- "@angular/http": "^2.4.3",
15
- "@angular/platform-browser": "^2.4.3",
16
- "@angular/platform-browser-dynamic": "^2.4.3",
17
- "@angular/platform-server": "^2.4.3",
18
- "@angular/router": "^3.4.3",
19
- "@angular/upgrade": "^2.4.3",
9
+ "@angular/common": "^2.4.4",
10
+ "@angular/compiler": "^2.4.4",
11
+ "@angular/compiler-cli": "^2.4.4",
12
+ "@angular/core": "^2.4.4",
13
+ "@angular/forms": "^2.4.4",
14
+ "@angular/http": "^2.4.4",
15
+ "@angular/platform-browser": "^2.4.4",
16
+ "@angular/platform-browser-dynamic": "^2.4.4",
17
+ "@angular/platform-server": "^2.4.4",
18
+ "@angular/router": "^3.4.4",
19
+ "@angular/upgrade": "^2.4.4",
20
20
  "angular": "^1.6.1",
21
21
  "angular-resource": "^1.6.1",
22
22
  "angular-translate": "^2.13.1",
@@ -27,12 +27,12 @@
27
27
  "ng-dialog": "^0.6.6"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/angular": "^1.6.0",
30
+ "@types/angular": "^1.6.2",
31
31
  "@types/angular-resource": "^1.5.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.0",
35
+ "@types/node": "^7.0.3",
36
36
  "tslint": "^4.3.1",
37
37
  "typescript": "^2.1.5"
38
38
  }