@ardimedia/angular-portal-azure 0.2.69 → 0.2.71
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 +2 -2
- package/apn.js +3 -2
- package/package.json +1 -1
package/apn.d.ts
CHANGED
|
@@ -176,7 +176,7 @@ declare namespace angularportalazure {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
declare namespace angularportalazure {
|
|
179
|
-
interface
|
|
179
|
+
interface BladeParameter {
|
|
180
180
|
action: string;
|
|
181
181
|
item?: any;
|
|
182
182
|
itemId: number;
|
|
@@ -273,7 +273,7 @@ declare namespace angularportalazure {
|
|
|
273
273
|
class PortalService {
|
|
274
274
|
static $inject: string[];
|
|
275
275
|
constructor($injector: any);
|
|
276
|
-
parameter: angularportalazure.
|
|
276
|
+
parameter: angularportalazure.BladeParameter;
|
|
277
277
|
$analytics: angulartics.IAnalyticsService;
|
|
278
278
|
animate: any;
|
|
279
279
|
animation: any;
|
package/apn.js
CHANGED
|
@@ -275,8 +275,8 @@ var angularportalazure;
|
|
|
275
275
|
/** OBSOLETE: end */
|
|
276
276
|
// Register listener1
|
|
277
277
|
_this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
|
|
278
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' BladeArea.AddBlade event processing.', [this, event, args]);
|
|
279
278
|
if (that.blade.comparePaths(args.path, that.blade.path)) {
|
|
279
|
+
console.log('function call: that.activate() will probably not work since this/that is not pointing to the right object.');
|
|
280
280
|
that.activate();
|
|
281
281
|
}
|
|
282
282
|
});
|
|
@@ -308,6 +308,7 @@ var angularportalazure;
|
|
|
308
308
|
};
|
|
309
309
|
Blade.prototype.onActivate = function () {
|
|
310
310
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.onActivate\' not overriden. You could override this.', [this]);
|
|
311
|
+
throw new Error('[angularportalazure.Blade] \'onActivate\' is an abstract function. Define one in the derived class.');
|
|
311
312
|
};
|
|
312
313
|
Blade.prototype.navigateTo = function (path) {
|
|
313
314
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this, path]);
|
|
@@ -898,7 +899,7 @@ var angularportalazure;
|
|
|
898
899
|
/// <reference types="angulartics" />
|
|
899
900
|
/// <reference path="bladearea.ts" />
|
|
900
901
|
/// <reference path="debug.ts" />
|
|
901
|
-
/// <reference path="
|
|
902
|
+
/// <reference path="bladeparameter.ts" />
|
|
902
903
|
/// <reference path="panorama.ts" />
|
|
903
904
|
/// <reference path="portalshell.ts" />
|
|
904
905
|
var angularportalazure;
|
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.71",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|