@ardimedia/angular-portal-azure 0.2.52 → 0.2.53
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 +14 -11
- package/apn.js +25 -32
- package/directives/blade/angular-portal-blade-grid.ts +6 -5
- package/directives/blade/angular-portal-blade-nav.ts +6 -5
- package/directives/blade/angular-portal-blade.ts +6 -4
- package/directives/grid/grid.ts +1 -2
- package/directives/home/home.ts +2 -8
- package/directives/nav/nav.ts +1 -6
- package/package.json +7 -6
package/apn.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/// <reference types="angulartics" />
|
|
2
|
+
/// <reference types="angular" />
|
|
3
|
+
/// <reference types="angular-resource" />
|
|
1
4
|
declare namespace angularportalazure {
|
|
2
5
|
}
|
|
3
6
|
declare namespace angularportalazure {
|
|
@@ -270,7 +273,7 @@ declare namespace angularportalazure {
|
|
|
270
273
|
static $inject: string[];
|
|
271
274
|
constructor($injector: any);
|
|
272
275
|
parameter: angularportalazure.IBladeParameter;
|
|
273
|
-
$analytics:
|
|
276
|
+
$analytics: angulartics.IAnalyticsService;
|
|
274
277
|
animate: any;
|
|
275
278
|
animation: any;
|
|
276
279
|
component: any;
|
|
@@ -291,13 +294,13 @@ declare namespace angularportalazure {
|
|
|
291
294
|
panorama: angularportalazure.Panorama;
|
|
292
295
|
bladeArea: angularportalazure.BladeArea;
|
|
293
296
|
ngDialog: any;
|
|
294
|
-
$http:
|
|
295
|
-
$httpBackend:
|
|
296
|
-
$injector:
|
|
297
|
-
$q:
|
|
298
|
-
$rootScope:
|
|
299
|
-
$window:
|
|
300
|
-
$scope:
|
|
297
|
+
$http: angular.IHttpService;
|
|
298
|
+
$httpBackend: angular.IHttpBackendService;
|
|
299
|
+
$injector: angular.auto.IInjectorService;
|
|
300
|
+
$q: angular.IQService;
|
|
301
|
+
$rootScope: angular.IRootScopeService;
|
|
302
|
+
$window: angular.IWindowService;
|
|
303
|
+
$scope: angular.IScope;
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
306
|
declare namespace angularportalazure {
|
|
@@ -379,9 +382,9 @@ declare namespace angularportalazure {
|
|
|
379
382
|
}
|
|
380
383
|
declare namespace angularportalazure {
|
|
381
384
|
class DataService {
|
|
382
|
-
$http:
|
|
383
|
-
$q:
|
|
384
|
-
constructor($http:
|
|
385
|
+
$http: angular.IHttpService;
|
|
386
|
+
$q: angular.IQService;
|
|
387
|
+
constructor($http: angular.IHttpService, $q: angular.IQService);
|
|
385
388
|
getData(url: string): any;
|
|
386
389
|
}
|
|
387
390
|
}
|
package/apn.js
CHANGED
|
@@ -885,6 +885,7 @@ var angularportalazure;
|
|
|
885
885
|
angularportalazure.PortalShell = PortalShell;
|
|
886
886
|
})(angularportalazure || (angularportalazure = {}));
|
|
887
887
|
/// <reference types="angular" />
|
|
888
|
+
/// <reference types="angulartics" />
|
|
888
889
|
/// <reference path="bladearea.ts" />
|
|
889
890
|
/// <reference path="debug.ts" />
|
|
890
891
|
/// <reference path="ibladeparameter.ts" />
|
|
@@ -929,12 +930,13 @@ var angularportalazure;
|
|
|
929
930
|
scope: {},
|
|
930
931
|
bindToController: { vm: '=' },
|
|
931
932
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
932
|
-
link: function (scope, element, attrs, controller) {
|
|
933
|
-
},
|
|
933
|
+
link: function (scope, element, attrs, controller) { },
|
|
934
934
|
controller: function () {
|
|
935
|
-
this
|
|
936
|
-
|
|
937
|
-
|
|
935
|
+
this.$onInit = function () {
|
|
936
|
+
this.vm.close = function () {
|
|
937
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
938
|
+
portalService.bladeArea.clearLastLevel();
|
|
939
|
+
};
|
|
938
940
|
};
|
|
939
941
|
},
|
|
940
942
|
controllerAs: '$ctrl'
|
|
@@ -955,12 +957,13 @@ var angularportalazure;
|
|
|
955
957
|
scope: {},
|
|
956
958
|
bindToController: { vm: '=' },
|
|
957
959
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
958
|
-
link: function (scope, element, attrs, controller) {
|
|
959
|
-
},
|
|
960
|
+
link: function (scope, element, attrs, controller) { },
|
|
960
961
|
controller: function () {
|
|
961
|
-
this
|
|
962
|
-
|
|
963
|
-
|
|
962
|
+
this.$onInit = function () {
|
|
963
|
+
this.vm.close = function () {
|
|
964
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
965
|
+
portalService.bladeArea.clearLastLevel();
|
|
966
|
+
};
|
|
964
967
|
};
|
|
965
968
|
},
|
|
966
969
|
controllerAs: '$ctrl'
|
|
@@ -988,10 +991,12 @@ var angularportalazure;
|
|
|
988
991
|
};
|
|
989
992
|
},
|
|
990
993
|
controller: function () {
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
994
|
+
this.$onInit = function () {
|
|
995
|
+
//this.vm.close = function () {
|
|
996
|
+
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
997
|
+
// portalService.bladeArea.clearLastLevel();
|
|
998
|
+
//};
|
|
999
|
+
};
|
|
995
1000
|
},
|
|
996
1001
|
controllerAs: '$ctrl'
|
|
997
1002
|
};
|
|
@@ -1051,8 +1056,7 @@ var angularportalazure;
|
|
|
1051
1056
|
// if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
1052
1057
|
//});
|
|
1053
1058
|
},
|
|
1054
|
-
controller: function () {
|
|
1055
|
-
},
|
|
1059
|
+
controller: function () { },
|
|
1056
1060
|
controllerAs: '$ctrl'
|
|
1057
1061
|
};
|
|
1058
1062
|
}
|
|
@@ -1066,14 +1070,8 @@ var angularportalazure;
|
|
|
1066
1070
|
scope: {},
|
|
1067
1071
|
bindToController: { vm: '=' },
|
|
1068
1072
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
|
|
1069
|
-
link: function (scope, element, attrs, controller) {
|
|
1070
|
-
|
|
1071
|
-
//console.log(this);
|
|
1072
|
-
},
|
|
1073
|
-
controller: function () {
|
|
1074
|
-
//console.log('angularPortalHome.controller()');
|
|
1075
|
-
//console.log(this);
|
|
1076
|
-
},
|
|
1073
|
+
link: function (scope, element, attrs, controller) { },
|
|
1074
|
+
controller: function () { },
|
|
1077
1075
|
controllerAs: '$ctrl'
|
|
1078
1076
|
};
|
|
1079
1077
|
}
|
|
@@ -1088,8 +1086,6 @@ var angularportalazure;
|
|
|
1088
1086
|
bindToController: { vm: '=' },
|
|
1089
1087
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
1090
1088
|
link: function (scope, element, attrs, controller) {
|
|
1091
|
-
//console.log('nav.link()');
|
|
1092
|
-
//console.log(this);
|
|
1093
1089
|
angular.forEach(controller.vm.items, function (item) {
|
|
1094
1090
|
// Set some default values, depending on existing values
|
|
1095
1091
|
if (item.isVisible == undefined) {
|
|
@@ -1103,10 +1099,7 @@ var angularportalazure;
|
|
|
1103
1099
|
}
|
|
1104
1100
|
});
|
|
1105
1101
|
},
|
|
1106
|
-
controller: function () {
|
|
1107
|
-
//console.log('nav.controller()');
|
|
1108
|
-
//console.log(this);
|
|
1109
|
-
},
|
|
1102
|
+
controller: function () { },
|
|
1110
1103
|
controllerAs: '$ctrl'
|
|
1111
1104
|
};
|
|
1112
1105
|
}
|
|
@@ -1470,9 +1463,9 @@ var angularportalazure;
|
|
|
1470
1463
|
DataService.prototype.getData = function (url) {
|
|
1471
1464
|
var that = this;
|
|
1472
1465
|
return that.$http({ method: 'GET', url: url })
|
|
1473
|
-
.
|
|
1466
|
+
.then(function (response) {
|
|
1474
1467
|
})
|
|
1475
|
-
.
|
|
1468
|
+
.catch(function (response) {
|
|
1476
1469
|
});
|
|
1477
1470
|
};
|
|
1478
1471
|
return DataService;
|
|
@@ -11,12 +11,13 @@ namespace angularportalazure {
|
|
|
11
11
|
scope: {},
|
|
12
12
|
bindToController: { vm: '=' },
|
|
13
13
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
14
|
-
link: function (scope, element, attrs, controller) {
|
|
15
|
-
},
|
|
14
|
+
link: function (scope, element, attrs, controller) { },
|
|
16
15
|
controller: function () {
|
|
17
|
-
this
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
this.$onInit = function () {
|
|
17
|
+
this.vm.close = function () {
|
|
18
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
19
|
+
portalService.bladeArea.clearLastLevel();
|
|
20
|
+
};
|
|
20
21
|
};
|
|
21
22
|
},
|
|
22
23
|
controllerAs: '$ctrl'
|
|
@@ -11,12 +11,13 @@ namespace angularportalazure {
|
|
|
11
11
|
scope: {},
|
|
12
12
|
bindToController: { vm: '=' },
|
|
13
13
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/blade/blade.html',
|
|
14
|
-
link: function (scope, element, attrs, controller) {
|
|
15
|
-
},
|
|
14
|
+
link: function (scope, element, attrs, controller) { },
|
|
16
15
|
controller: function () {
|
|
17
|
-
this
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
this.$onInit = function () {
|
|
17
|
+
this.vm.close = function () {
|
|
18
|
+
angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
19
|
+
portalService.bladeArea.clearLastLevel();
|
|
20
|
+
};
|
|
20
21
|
};
|
|
21
22
|
},
|
|
22
23
|
controllerAs: '$ctrl'
|
|
@@ -18,10 +18,12 @@ namespace angularportalazure {
|
|
|
18
18
|
};
|
|
19
19
|
},
|
|
20
20
|
controller: function () {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
this.$onInit = function () {
|
|
22
|
+
//this.vm.close = function () {
|
|
23
|
+
// angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
|
|
24
|
+
// portalService.bladeArea.clearLastLevel();
|
|
25
|
+
//};
|
|
26
|
+
};
|
|
25
27
|
},
|
|
26
28
|
controllerAs: '$ctrl'
|
|
27
29
|
};
|
package/directives/grid/grid.ts
CHANGED
package/directives/home/home.ts
CHANGED
|
@@ -5,14 +5,8 @@
|
|
|
5
5
|
scope: {},
|
|
6
6
|
bindToController: { vm: '=' },
|
|
7
7
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/home/home.html',
|
|
8
|
-
link: function (scope, element, attrs, controller) {
|
|
9
|
-
|
|
10
|
-
//console.log(this);
|
|
11
|
-
},
|
|
12
|
-
controller: function () {
|
|
13
|
-
//console.log('angularPortalHome.controller()');
|
|
14
|
-
//console.log(this);
|
|
15
|
-
},
|
|
8
|
+
link: function (scope, element, attrs, controller) { },
|
|
9
|
+
controller: function () { },
|
|
16
10
|
controllerAs: '$ctrl'
|
|
17
11
|
};
|
|
18
12
|
}
|
package/directives/nav/nav.ts
CHANGED
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
bindToController: { vm: '=' },
|
|
7
7
|
templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
|
|
8
8
|
link: function (scope, element, attrs, controller) {
|
|
9
|
-
//console.log('nav.link()');
|
|
10
|
-
//console.log(this);
|
|
11
9
|
angular.forEach(controller.vm.items, function (item) {
|
|
12
10
|
// Set some default values, depending on existing values
|
|
13
11
|
if (item.isVisible == undefined) { item.isVisible = true; }
|
|
@@ -15,10 +13,7 @@
|
|
|
15
13
|
if (item.bladePath == undefined || item.bladePath == '') { item.style = { cursor: 'default' }; }
|
|
16
14
|
});
|
|
17
15
|
},
|
|
18
|
-
controller: function () {
|
|
19
|
-
//console.log('nav.controller()');
|
|
20
|
-
//console.log(this);
|
|
21
|
-
},
|
|
16
|
+
controller: function () { },
|
|
22
17
|
controllerAs: '$ctrl'
|
|
23
18
|
};
|
|
24
19
|
}
|
package/package.json
CHANGED
|
@@ -2,20 +2,21 @@
|
|
|
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.53",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"@types/ng-dialog": "0.0.31",
|
|
12
|
-
"angular": "^1.5.9",
|
|
13
|
-
"angular-resource": "^1.5.9",
|
|
9
|
+
"angular": "^1.6.0",
|
|
10
|
+
"angular-resource": "^1.6.0",
|
|
14
11
|
"angulartics": "^1.3.0",
|
|
15
12
|
"angulartics-google-analytics": "^0.4.0",
|
|
16
13
|
"ng-dialog": "^0.6.4"
|
|
17
14
|
},
|
|
18
15
|
"devDependencies": {
|
|
16
|
+
"@types/angular": "^1.5.20",
|
|
17
|
+
"@types/angular-resource": "^1.5.8",
|
|
18
|
+
"@types/angulartics": "^1.3.0",
|
|
19
|
+
"@types/ng-dialog": "0.0.33",
|
|
19
20
|
"typescript": "^2.1.4"
|
|
20
21
|
}
|
|
21
22
|
}
|