@ardimedia/angular-portal-azure 0.2.31 → 0.2.32
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
|
@@ -307,8 +307,6 @@ declare namespace angularportalazure {
|
|
|
307
307
|
}
|
|
308
308
|
declare namespace angularportalazure {
|
|
309
309
|
}
|
|
310
|
-
declare namespace angularportalazure {
|
|
311
|
-
}
|
|
312
310
|
declare namespace angularportalazure {
|
|
313
311
|
/** If a Web API through an exception, the following interface should be available. */
|
|
314
312
|
interface IException {
|
package/apn.js
CHANGED
|
@@ -895,44 +895,6 @@ var angularportalazure;
|
|
|
895
895
|
/// <reference path="../../domain/debug.ts" />
|
|
896
896
|
/// <reference path="../../domain/portalservice.ts" />
|
|
897
897
|
var angularportalazure;
|
|
898
|
-
(function (angularportalazure) {
|
|
899
|
-
function angularPortalBladeGrid(portalService) {
|
|
900
|
-
return {
|
|
901
|
-
restrict: 'E',
|
|
902
|
-
transclude: true,
|
|
903
|
-
scope: {},
|
|
904
|
-
bindToController: { vm: '=' },
|
|
905
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
906
|
-
link: function (scope, element, attrs, controller) {
|
|
907
|
-
//console.log('angularPortalBladeGrid.link()');
|
|
908
|
-
//console.log(this);
|
|
909
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
910
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
911
|
-
//if (scope.vm.close === undefined) {
|
|
912
|
-
// scope.vm.close = function () {
|
|
913
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
914
|
-
// portalService.bladeArea.clearLastLevel();
|
|
915
|
-
// }
|
|
916
|
-
//}
|
|
917
|
-
//#endregion
|
|
918
|
-
},
|
|
919
|
-
controller: function () {
|
|
920
|
-
//console.log('angularPortalBladeGrid.controller()');
|
|
921
|
-
//console.log(this);
|
|
922
|
-
this.vm.close = function () {
|
|
923
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
924
|
-
portalService.bladeArea.clearLastLevel();
|
|
925
|
-
};
|
|
926
|
-
},
|
|
927
|
-
controllerAs: 'ctrl'
|
|
928
|
-
};
|
|
929
|
-
}
|
|
930
|
-
angular.module('angularportalazure').directive('angularPortalBladeGrid', ['angularportalazure.portalService', angularPortalBladeGrid]);
|
|
931
|
-
})(angularportalazure || (angularportalazure = {}));
|
|
932
|
-
/// <reference types="angular" />
|
|
933
|
-
/// <reference path="../../domain/debug.ts" />
|
|
934
|
-
/// <reference path="../../domain/portalservice.ts" />
|
|
935
|
-
var angularportalazure;
|
|
936
898
|
(function (angularportalazure) {
|
|
937
899
|
function angularPortalBladeNav(portalService) {
|
|
938
900
|
return {
|
|
@@ -944,15 +906,6 @@ var angularportalazure;
|
|
|
944
906
|
link: function (scope, element, attrs, controller) {
|
|
945
907
|
//console.log('angularPortalBladeNav.link()');
|
|
946
908
|
//console.log(this);
|
|
947
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
948
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
949
|
-
//if (scope.vm.close === undefined) {
|
|
950
|
-
// scope.vm.close = function () {
|
|
951
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
952
|
-
// portalService.bladeArea.clearLastLevel();
|
|
953
|
-
// }
|
|
954
|
-
//}
|
|
955
|
-
//#endregion
|
|
956
909
|
},
|
|
957
910
|
controller: function () {
|
|
958
911
|
//console.log('angularPortalBladeNav.controller()');
|
|
@@ -13,22 +13,10 @@ namespace angularportalazure {
|
|
|
13
13
|
link: function (scope, element, attrs, controller) {
|
|
14
14
|
//console.log('angularPortalBladeNav.link()');
|
|
15
15
|
//console.log(this);
|
|
16
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
17
|
-
|
|
18
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
19
|
-
//if (scope.vm.close === undefined) {
|
|
20
|
-
// scope.vm.close = function () {
|
|
21
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
22
|
-
// portalService.bladeArea.clearLastLevel();
|
|
23
|
-
// }
|
|
24
|
-
//}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
16
|
},
|
|
28
17
|
controller: function () {
|
|
29
18
|
//console.log('angularPortalBladeNav.controller()');
|
|
30
19
|
//console.log(this);
|
|
31
|
-
|
|
32
20
|
this.vm.close = function () {
|
|
33
21
|
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
34
22
|
portalService.bladeArea.clearLastLevel();
|
package/directives/nav/nav.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<col class="col1">
|
|
6
6
|
</colgroup>
|
|
7
7
|
<tbody class="azc-grid-groupdata" role="rowgroup">
|
|
8
|
-
<tr data-ng-repeat="item in ctrl.vm.
|
|
8
|
+
<tr data-ng-repeat="item in ctrl.vm.navItems track by $index" data-ng-click="ctrl.vm.navigateTo(item.bladePath);" role="row" aria-selected="false" data-grid-row-activated="false" data-grid-selectable="true" data-grid-focusable="true" data-grid-activateable="true" ng-show="item.isVisible" style="cursor:pointer" ng-style="item.style">
|
|
9
9
|
<td class="msportalfx-gridcolumn-asseticon" role="gridcell" data-grid-cell-activated="false">
|
|
10
10
|
<div class="azc-vivaControl" data-bind='vivaControl: "DEB28B4C-518F-4F70-A817-BF9277606CAB"'>
|
|
11
11
|
<div data-bind="image: value">
|
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.32",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/// <reference types="angular" />
|
|
2
|
-
/// <reference path="../../domain/debug.ts" />
|
|
3
|
-
/// <reference path="../../domain/portalservice.ts" />
|
|
4
|
-
|
|
5
|
-
namespace angularportalazure {
|
|
6
|
-
function angularPortalBladeGrid(portalService: angularportalazure.PortalService) {
|
|
7
|
-
return {
|
|
8
|
-
restrict: 'E',
|
|
9
|
-
transclude: true,
|
|
10
|
-
scope: {},
|
|
11
|
-
bindToController: { vm: '=' },
|
|
12
|
-
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
13
|
-
link: function (scope, element, attrs, controller) {
|
|
14
|
-
//console.log('angularPortalBladeGrid.link()');
|
|
15
|
-
//console.log(this);
|
|
16
|
-
//#region the following code makes sure, that a function scope.vm.close is available
|
|
17
|
-
|
|
18
|
-
//if (scope.vm === undefined) { scope.vm = {}; }
|
|
19
|
-
//if (scope.vm.close === undefined) {
|
|
20
|
-
// scope.vm.close = function () {
|
|
21
|
-
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
22
|
-
// portalService.bladeArea.clearLastLevel();
|
|
23
|
-
// }
|
|
24
|
-
//}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
},
|
|
28
|
-
controller: function () {
|
|
29
|
-
//console.log('angularPortalBladeGrid.controller()');
|
|
30
|
-
//console.log(this);
|
|
31
|
-
|
|
32
|
-
this.vm.close = function () {
|
|
33
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
34
|
-
portalService.bladeArea.clearLastLevel();
|
|
35
|
-
};
|
|
36
|
-
},
|
|
37
|
-
controllerAs: 'ctrl'
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
angular.module('angularportalazure').directive('angularPortalBladeGrid', ['angularportalazure.portalService', angularPortalBladeGrid]);
|
|
42
|
-
}
|