@ardimedia/angular-portal-azure 0.2.90 → 0.2.91

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.js CHANGED
@@ -984,69 +984,103 @@ var angularportalazure;
984
984
  /// <reference path="../../domain/portalservice.ts" />
985
985
  var angularportalazure;
986
986
  (function (angularportalazure) {
987
- angularPortalBlade.$inject = ['angularportalazure.portalService'];
988
- function angularPortalBlade(portalService) {
989
- return {
990
- restrict: 'E',
991
- transclude: true,
992
- scope: {},
993
- bindToController: { vm: '=' },
994
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
995
- link: function (scope, element, attrs, controller) {
996
- //controller.close = function () {
997
- // portalService.bladeArea.clearLastLevel();
998
- //};
999
- },
1000
- controller: function () {
1001
- this.$onInit = function () {
1002
- this.close = function () {
1003
- portalService.bladeArea.clearLastLevel();
1004
- };
1005
- };
1006
- },
1007
- controllerAs: '$ctrl'
987
+ //angularPortalBlade.$inject = ['angularportalazure.portalService'];
988
+ //function angularPortalBlade(portalService: angularportalazure.PortalService) {
989
+ // return {
990
+ // restrict: 'E',
991
+ // transclude: true,
992
+ // scope: {},
993
+ // bindToController: { vm: '=' },
994
+ // templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
995
+ // link: function (scope, element, attrs, controller) {
996
+ // //controller.close = function () {
997
+ // // portalService.bladeArea.clearLastLevel();
998
+ // //};
999
+ // },
1000
+ // controller: function () {
1001
+ // this.$onInit = function () {
1002
+ // this.close = function () {
1003
+ // portalService.bladeArea.clearLastLevel();
1004
+ // };
1005
+ // };
1006
+ // },
1007
+ // controllerAs: '$ctrl'
1008
+ // };
1009
+ //}
1010
+ //angular.module('angularportalazure').directive('angularPortalBlade', angularPortalBlade);
1011
+ AngularPortalBladeController.$inject = ['angularportalazure.portalService'];
1012
+ function AngularPortalBladeController(portalService) {
1013
+ this.$onInit = function () {
1014
+ this.close = function () {
1015
+ portalService.bladeArea.clearLastLevel();
1016
+ };
1008
1017
  };
1009
1018
  }
1010
- angular.module('angularportalazure').directive('angularPortalBlade', angularPortalBlade);
1019
+ var angularPortalBlade = {
1020
+ transclude: true,
1021
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
1022
+ controller: AngularPortalBladeController,
1023
+ bindings: {
1024
+ vm: '='
1025
+ }
1026
+ };
1027
+ angular.module('angularportalazure').component('angularPortalBlade', angularPortalBlade);
1011
1028
  })(angularportalazure || (angularportalazure = {}));
1012
1029
  // http://blogs.msdn.com/b/laurieatkinson/archive/2014/08/23/implementing-a-save-warning-in-an-angular-spa.aspx
1013
1030
  var angularportalazure;
1014
1031
  (function (angularportalazure) {
1015
- grid.$inject = ['angularportalazure.portalService'];
1016
- function grid(portalService) {
1017
- return {
1018
- restrict: 'E',
1019
- transclude: true,
1020
- scope: {},
1021
- bindToController: { vm: '=' },
1022
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
1023
- link: function (scope, element, attrs, controller) { },
1024
- controller: function () {
1025
- //this.$onInit = function () {
1026
- // this.close = function () {
1027
- // portalService.bladeArea.clearLastLevel();
1028
- // };
1029
- //};
1030
- },
1031
- controllerAs: '$ctrl'
1032
- };
1033
- }
1034
- angular.module('angularportalazure').directive('grid', grid);
1032
+ //grid.$inject = ['angularportalazure.portalService'];
1033
+ //function grid(portalService: angularportalazure.PortalService) {
1034
+ // return {
1035
+ // restrict: 'E',
1036
+ // transclude: true,
1037
+ // scope: {},
1038
+ // bindToController: { vm: '=' },
1039
+ // templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
1040
+ // link: function (scope, element, attrs, controller) { },
1041
+ // controller: function () {
1042
+ // //this.$onInit = function () {
1043
+ // // this.close = function () {
1044
+ // // portalService.bladeArea.clearLastLevel();
1045
+ // // };
1046
+ // //};
1047
+ // },
1048
+ // controllerAs: '$ctrl'
1049
+ // };
1050
+ //}
1051
+ //angular.module('angularportalazure').directive('grid', grid);
1052
+ var grid = {
1053
+ transclude: true,
1054
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
1055
+ controller: function () { },
1056
+ bindings: {
1057
+ vm: '='
1058
+ }
1059
+ };
1060
+ angular.module('angularportalazure').component('grid', grid);
1035
1061
  })(angularportalazure || (angularportalazure = {}));
1036
1062
  var angularportalazure;
1037
1063
  (function (angularportalazure) {
1038
- function angularPortalHome() {
1039
- return {
1040
- restrict: 'E',
1041
- scope: {},
1042
- bindToController: { vm: '=' },
1043
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
1044
- link: function (scope, element, attrs, controller) { },
1045
- controller: function () { },
1046
- controllerAs: '$ctrl'
1047
- };
1048
- }
1049
- angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
1064
+ //function angularPortalHome() {
1065
+ // return {
1066
+ // restrict: 'E',
1067
+ // scope: {},
1068
+ // bindToController: { vm: '=' },
1069
+ // templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
1070
+ // link: function (scope, element, attrs, controller) { },
1071
+ // controller: function () { },
1072
+ // controllerAs: '$ctrl'
1073
+ // };
1074
+ //}
1075
+ //angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
1076
+ var angularPortalHome = {
1077
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
1078
+ controller: function () { },
1079
+ bindings: {
1080
+ vm: '='
1081
+ }
1082
+ };
1083
+ angular.module('angularportalazure').component('angularPortalHome', angularPortalHome);
1050
1084
  })(angularportalazure || (angularportalazure = {}));
1051
1085
  var angularportalazure;
1052
1086
  (function (angularportalazure) {
@@ -3,29 +3,49 @@
3
3
  /// <reference path="../../domain/portalservice.ts" />
4
4
 
5
5
  namespace angularportalazure {
6
- angularPortalBlade.$inject = ['angularportalazure.portalService'];
7
- function angularPortalBlade(portalService: angularportalazure.PortalService) {
8
- return {
9
- restrict: 'E',
10
- transclude: true,
11
- scope: {},
12
- bindToController: { vm: '=' },
13
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
14
- link: function (scope, element, attrs, controller) {
15
- //controller.close = function () {
16
- // portalService.bladeArea.clearLastLevel();
17
- //};
18
- },
19
- controller: function () {
20
- this.$onInit = function () {
21
- this.close = function () {
22
- portalService.bladeArea.clearLastLevel();
23
- };
24
- };
25
- },
26
- controllerAs: '$ctrl'
6
+ //angularPortalBlade.$inject = ['angularportalazure.portalService'];
7
+ //function angularPortalBlade(portalService: angularportalazure.PortalService) {
8
+ // return {
9
+ // restrict: 'E',
10
+ // transclude: true,
11
+ // scope: {},
12
+ // bindToController: { vm: '=' },
13
+ // templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
14
+ // link: function (scope, element, attrs, controller) {
15
+ // //controller.close = function () {
16
+ // // portalService.bladeArea.clearLastLevel();
17
+ // //};
18
+ // },
19
+ // controller: function () {
20
+ // this.$onInit = function () {
21
+ // this.close = function () {
22
+ // portalService.bladeArea.clearLastLevel();
23
+ // };
24
+ // };
25
+ // },
26
+ // controllerAs: '$ctrl'
27
+ // };
28
+ //}
29
+
30
+ //angular.module('angularportalazure').directive('angularPortalBlade', angularPortalBlade);
31
+
32
+ AngularPortalBladeController.$inject = ['angularportalazure.portalService'];
33
+ function AngularPortalBladeController(portalService: angularportalazure.PortalService) {
34
+ this.$onInit = function () {
35
+ this.close = function () {
36
+ portalService.bladeArea.clearLastLevel();
37
+ };
27
38
  };
28
39
  }
29
40
 
30
- angular.module('angularportalazure').directive('angularPortalBlade', angularPortalBlade);
41
+ var angularPortalBlade = {
42
+ transclude: true,
43
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
44
+ controller: AngularPortalBladeController,
45
+ bindings: {
46
+ vm: '='
47
+ }
48
+ };
49
+
50
+ angular.module('angularportalazure').component('angularPortalBlade', angularPortalBlade);
31
51
  }
@@ -1,23 +1,34 @@
1
1
  namespace angularportalazure {
2
- grid.$inject = ['angularportalazure.portalService'];
3
- function grid(portalService: angularportalazure.PortalService) {
4
- return {
5
- restrict: 'E',
6
- transclude: true,
7
- scope: {},
8
- bindToController: { vm: '=' },
9
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
10
- link: function (scope, element, attrs, controller) { },
11
- controller: function () {
12
- //this.$onInit = function () {
13
- // this.close = function () {
14
- // portalService.bladeArea.clearLastLevel();
15
- // };
16
- //};
17
- },
18
- controllerAs: '$ctrl'
19
- };
20
- }
2
+ //grid.$inject = ['angularportalazure.portalService'];
3
+ //function grid(portalService: angularportalazure.PortalService) {
4
+ // return {
5
+ // restrict: 'E',
6
+ // transclude: true,
7
+ // scope: {},
8
+ // bindToController: { vm: '=' },
9
+ // templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
10
+ // link: function (scope, element, attrs, controller) { },
11
+ // controller: function () {
12
+ // //this.$onInit = function () {
13
+ // // this.close = function () {
14
+ // // portalService.bladeArea.clearLastLevel();
15
+ // // };
16
+ // //};
17
+ // },
18
+ // controllerAs: '$ctrl'
19
+ // };
20
+ //}
21
21
 
22
- angular.module('angularportalazure').directive('grid', grid);
22
+ //angular.module('angularportalazure').directive('grid', grid);
23
+
24
+ var grid = {
25
+ transclude: true,
26
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/grid/grid.html',
27
+ controller: function () { },
28
+ bindings: {
29
+ vm: '='
30
+ }
31
+ };
32
+
33
+ angular.module('angularportalazure').component('grid', grid);
23
34
  }
@@ -1,15 +1,25 @@
1
1
  namespace angularportalazure {
2
- function angularPortalHome() {
3
- return {
4
- restrict: 'E',
5
- scope: {},
6
- bindToController: { vm: '=' },
7
- templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
8
- link: function (scope, element, attrs, controller) { },
9
- controller: function () { },
10
- controllerAs: '$ctrl'
11
- };
12
- }
2
+ //function angularPortalHome() {
3
+ // return {
4
+ // restrict: 'E',
5
+ // scope: {},
6
+ // bindToController: { vm: '=' },
7
+ // templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
8
+ // link: function (scope, element, attrs, controller) { },
9
+ // controller: function () { },
10
+ // controllerAs: '$ctrl'
11
+ // };
12
+ //}
13
13
 
14
- angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
14
+ //angular.module('angularportalazure').directive('angularPortalHome', angularPortalHome);
15
+
16
+ var angularPortalHome = {
17
+ templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
18
+ controller: function () { },
19
+ bindings: {
20
+ vm: '='
21
+ }
22
+ };
23
+
24
+ angular.module('angularportalazure').component('angularPortalHome', angularPortalHome);
15
25
  }
@@ -25,6 +25,7 @@
25
25
  // controllerAs: '$ctrl'
26
26
  // };
27
27
  //}
28
+
28
29
  //angular.module('angularportalazure').directive('nav', nav);
29
30
 
30
31
  var nav = {
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.90",
5
+ "version": "0.2.91",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {