@ardimedia/angular-portal-azure 0.2.45 → 0.2.46

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
@@ -268,6 +268,7 @@ declare namespace angularportalazure {
268
268
  }
269
269
  declare namespace angularportalazure {
270
270
  class PortalService {
271
+ static $inject: string[];
271
272
  constructor($injector: any);
272
273
  parameter: angularportalazure.IBladeParameter;
273
274
  animate: any;
package/apn.js CHANGED
@@ -866,7 +866,6 @@ var angularportalazure;
866
866
  var angularportalazure;
867
867
  (function (angularportalazure) {
868
868
  var PortalService = (function () {
869
- //#region Constructor
870
869
  function PortalService($injector) {
871
870
  //#endregion
872
871
  //#region Properties
@@ -882,14 +881,13 @@ var angularportalazure;
882
881
  this.ngDialog = $injector.get('ngDialog');
883
882
  this.ngDialog.openConfirm;
884
883
  }
884
+ //#region Constructor
885
+ PortalService.$inject = ['$injector'];
885
886
  return PortalService;
886
887
  }());
887
888
  angularportalazure.PortalService = PortalService;
888
- //#region Angular Registration
889
- (function () {
890
- 'use strict';
891
- angular.module('angularportalazure').service('angularportalazure.portalService', ['$injector', PortalService]);
892
- })();
889
+ angular.module('angularportalazure').service('angularportalazure.portalService', PortalService);
890
+ console.log('angularportalazure.portalService');
893
891
  })(angularportalazure || (angularportalazure = {}));
894
892
  /// <reference types="angular" />
895
893
  /// <reference path="../../domain/debug.ts" />
@@ -916,6 +914,7 @@ var angularportalazure;
916
914
  };
917
915
  }
918
916
  angular.module('angularportalazure').directive('angularPortalBladeGrid', angularPortalBladeGrid);
917
+ console.log('angularPortalBladeGrid');
919
918
  })(angularportalazure || (angularportalazure = {}));
920
919
  /// <reference types="angular" />
921
920
  /// <reference path="../../domain/debug.ts" />
@@ -942,6 +941,7 @@ var angularportalazure;
942
941
  };
943
942
  }
944
943
  angular.module('angularportalazure').directive('angularPortalBladeNav', angularPortalBladeNav);
944
+ console.log('angularPortalBladeNav');
945
945
  })(angularportalazure || (angularportalazure = {}));
946
946
  /// <reference types="angular" />
947
947
  /// <reference path="../../domain/debug.ts" />
@@ -957,17 +957,22 @@ var angularportalazure;
957
957
  bindToController: { vm: '=' },
958
958
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
959
959
  link: function (scope, element, attrs, controller) {
960
- },
961
- controller: function () {
962
- this.vm.close = function () {
963
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
960
+ controller.vm.close = function () {
961
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [controller, portalService]);
964
962
  portalService.bladeArea.clearLastLevel();
965
963
  };
966
964
  },
965
+ controller: function () {
966
+ //this.vm.close = function () {
967
+ // angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
968
+ // portalService.bladeArea.clearLastLevel();
969
+ //};
970
+ },
967
971
  controllerAs: '$ctrl'
968
972
  };
969
973
  }
970
974
  angular.module('angularportalazure').directive('angularPortalBlade', angularPortalBlade);
975
+ console.log('angularPortalBlade');
971
976
  })(angularportalazure || (angularportalazure = {}));
972
977
  // http://blogs.msdn.com/b/laurieatkinson/archive/2014/08/23/implementing-a-save-warning-in-an-angular-spa.aspx
973
978
  //'use strict';
@@ -24,4 +24,5 @@ namespace angularportalazure {
24
24
  }
25
25
 
26
26
  angular.module('angularportalazure').directive('angularPortalBladeGrid', angularPortalBladeGrid);
27
+ console.log('angularPortalBladeGrid');
27
28
  }
@@ -24,4 +24,5 @@ namespace angularportalazure {
24
24
  }
25
25
 
26
26
  angular.module('angularportalazure').directive('angularPortalBladeNav', angularPortalBladeNav);
27
+ console.log('angularPortalBladeNav');
27
28
  }
@@ -12,16 +12,21 @@ namespace angularportalazure {
12
12
  bindToController: { vm: '=' },
13
13
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
14
14
  link: function (scope, element, attrs, controller) {
15
- },
16
- controller: function () {
17
- this.vm.close = function () {
18
- angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
15
+ controller.vm.close = function () {
16
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [controller, portalService]);
19
17
  portalService.bladeArea.clearLastLevel();
20
18
  };
21
19
  },
20
+ controller: function () {
21
+ //this.vm.close = function () {
22
+ // angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
23
+ // portalService.bladeArea.clearLastLevel();
24
+ //};
25
+ },
22
26
  controllerAs: '$ctrl'
23
27
  };
24
28
  }
25
29
 
26
30
  angular.module('angularportalazure').directive('angularPortalBlade', angularPortalBlade);
31
+ console.log('angularPortalBlade');
27
32
  }
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.45",
5
+ "version": "0.2.46",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {