@ardimedia/angular-portal-azure 0.2.171 → 0.2.172

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 +3 -2
  2. package/apn.js +12 -9
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -291,8 +291,9 @@ declare namespace angularportalazure {
291
291
  }
292
292
  }
293
293
  declare namespace angularportalazure {
294
- class PortalShell extends angularportalazure.UserControlBase {
295
- constructor(portalService: angularportalazure.PortalService, title: string);
294
+ class PortalShell {
295
+ portalService: angularportalazure.PortalService;
296
+ constructor(portalService: angularportalazure.PortalService, title?: string);
296
297
  }
297
298
  }
298
299
  declare namespace angularportalazure {
package/apn.js CHANGED
@@ -931,19 +931,22 @@ var angularportalazure;
931
931
  "use strict";
932
932
  var angularportalazure;
933
933
  (function (angularportalazure) {
934
- var PortalShell = (function (_super) {
935
- __extends(PortalShell, _super);
934
+ var PortalShell = (function () {
936
935
  //#region Constructor
937
936
  function PortalShell(portalService, title) {
938
- var _this = _super.call(this, null, portalService) || this;
939
- _this.portalService = portalService;
940
- _this.portalService.portalShell = _this;
941
- _this.portalService.panorama = new angularportalazure.Panorama(_this.$scope, title, _this.portalService);
942
- _this.portalService.panorama.title = title;
943
- return _this;
937
+ if (title === void 0) { title = null; }
938
+ this.portalService = portalService;
939
+ this.portalService = portalService;
940
+ this.portalService.panorama = new angularportalazure.Panorama(null, title, this.portalService);
941
+ if (title === '' || title === null || title === undefined) {
942
+ this.portalService.panorama.title = this.portalService.$window.location.hostname.toLowerCase();
943
+ }
944
+ else {
945
+ this.portalService.panorama.title = title;
946
+ }
944
947
  }
945
948
  return PortalShell;
946
- }(angularportalazure.UserControlBase));
949
+ }());
947
950
  angularportalazure.PortalShell = PortalShell;
948
951
  })(angularportalazure || (angularportalazure = {}));
949
952
  /// <reference types="angular" />
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.171",
5
+ "version": "0.2.172",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {