@ardimedia/angular-portal-azure 0.2.45 → 0.2.47
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 +1 -0
- package/apn.js +11 -10
- package/directives/blade/angular-portal-blade.ts +8 -4
- package/package.json +1 -1
package/apn.d.ts
CHANGED
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,12 @@ 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
|
-
|
|
889
|
-
(function () {
|
|
890
|
-
'use strict';
|
|
891
|
-
angular.module('angularportalazure').service('angularportalazure.portalService', ['$injector', PortalService]);
|
|
892
|
-
})();
|
|
889
|
+
angular.module('angularportalazure').service('angularportalazure.portalService', PortalService);
|
|
893
890
|
})(angularportalazure || (angularportalazure = {}));
|
|
894
891
|
/// <reference types="angular" />
|
|
895
892
|
/// <reference path="../../domain/debug.ts" />
|
|
@@ -957,13 +954,17 @@ var angularportalazure;
|
|
|
957
954
|
bindToController: { vm: '=' },
|
|
958
955
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
959
956
|
link: function (scope, element, attrs, controller) {
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
this.vm.close = function () {
|
|
963
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
957
|
+
controller.vm.close = function () {
|
|
958
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [controller, portalService]);
|
|
964
959
|
portalService.bladeArea.clearLastLevel();
|
|
965
960
|
};
|
|
966
961
|
},
|
|
962
|
+
controller: function () {
|
|
963
|
+
//this.vm.close = function () {
|
|
964
|
+
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
965
|
+
// portalService.bladeArea.clearLastLevel();
|
|
966
|
+
//};
|
|
967
|
+
},
|
|
967
968
|
controllerAs: '$ctrl'
|
|
968
969
|
};
|
|
969
970
|
}
|
|
@@ -12,13 +12,17 @@ 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
|
-
|
|
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
|
}
|
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.
|
|
5
|
+
"version": "0.2.47",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|