@ardimedia/angular-portal-azure 0.2.113 → 0.2.114

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 +6 -6
  2. package/apn.js +3 -3
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- /// <reference types="angulartics" />
2
1
  /// <reference types="angular" />
3
2
  /// <reference types="angular-resource" />
3
+ /// <reference types="angulartics" />
4
4
  /// <reference types="angular-translate" />
5
5
  declare namespace angularportalazure {
6
6
  }
@@ -272,7 +272,7 @@ declare namespace angularportalazure {
272
272
  declare namespace angularportalazure {
273
273
  class PortalService {
274
274
  static $inject: string[];
275
- constructor($injector: any);
275
+ constructor($injector: angular.auto.IInjectorService, $scope: angular.IScope);
276
276
  parameter: angularportalazure.BladeParameter;
277
277
  $analytics: angulartics.IAnalyticsService;
278
278
  animate: any;
@@ -295,13 +295,13 @@ declare namespace angularportalazure {
295
295
  panorama: angularportalazure.Panorama;
296
296
  bladeArea: angularportalazure.BladeArea;
297
297
  ngDialog: any;
298
+ $injector: angular.auto.IInjectorService;
299
+ $scope: angular.IScope;
298
300
  $http: angular.IHttpService;
299
301
  $httpBackend: angular.IHttpBackendService;
300
- $injector: angular.auto.IInjectorService;
301
302
  $q: angular.IQService;
302
303
  $rootScope: angular.IRootScopeService;
303
304
  $window: angular.IWindowService;
304
- $scope: angular.IScope;
305
305
  $translate: angular.translate.ITranslateService;
306
306
  }
307
307
  }
@@ -323,8 +323,8 @@ declare namespace angularportalazure {
323
323
  }
324
324
  }
325
325
  declare namespace angularportalazure {
326
- class BladeDetail extends angularportalazure.BladeData {
327
- item: any;
326
+ class BladeDetail<T> extends angularportalazure.BladeData {
327
+ item: T;
328
328
  constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
329
329
  loadItem(func: () => any): void;
330
330
  onLoadItem(): void;
package/apn.js CHANGED
@@ -889,12 +889,12 @@ var angularportalazure;
889
889
  var angularportalazure;
890
890
  (function (angularportalazure) {
891
891
  var PortalService = (function () {
892
- function PortalService($injector) {
892
+ function PortalService($injector, $scope) {
893
893
  //#endregion
894
894
  //#region Properties
895
895
  this.parameter = { action: 'none', itemId: 0 };
896
896
  this.$injector = $injector;
897
- //this.$scope = $scope;
897
+ this.$scope = $scope;
898
898
  this.$http = $injector.get('$http');
899
899
  this.$httpBackend = $injector.get('$httpBackend');
900
900
  this.$q = $injector.get('$q');
@@ -908,7 +908,7 @@ var angularportalazure;
908
908
  return PortalService;
909
909
  }());
910
910
  //#region Constructor
911
- PortalService.$inject = ['$injector'];
911
+ PortalService.$inject = ['$injector', '$scope'];
912
912
  angularportalazure.PortalService = PortalService;
913
913
  angular.module('angularportalazure').service('angularportalazure.portalService', PortalService);
914
914
  })(angularportalazure || (angularportalazure = {}));
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.113",
5
+ "version": "0.2.114",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {