@ardimedia/angular-portal-azure 0.2.70 → 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 -8
- 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
|
@@ -274,18 +274,12 @@ var angularportalazure;
|
|
|
274
274
|
}
|
|
275
275
|
/** OBSOLETE: end */
|
|
276
276
|
// Register listener1
|
|
277
|
-
console.log('listener1');
|
|
278
277
|
_this.listener1 = that.portalService.$rootScope.$on('BladeArea.AddBlade', function (event, args) {
|
|
279
|
-
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade\' BladeArea.AddBlade event processing.', [this, event, args]);
|
|
280
278
|
if (that.blade.comparePaths(args.path, that.blade.path)) {
|
|
281
|
-
console.log('activate');
|
|
279
|
+
console.log('function call: that.activate() will probably not work since this/that is not pointing to the right object.');
|
|
282
280
|
that.activate();
|
|
283
281
|
}
|
|
284
282
|
});
|
|
285
|
-
console.log('1');
|
|
286
|
-
that.activate();
|
|
287
|
-
console.log('2');
|
|
288
|
-
(function () { return that.activate(); });
|
|
289
283
|
return _this;
|
|
290
284
|
//#endregion
|
|
291
285
|
}
|
|
@@ -314,6 +308,7 @@ var angularportalazure;
|
|
|
314
308
|
};
|
|
315
309
|
Blade.prototype.onActivate = function () {
|
|
316
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.');
|
|
317
312
|
};
|
|
318
313
|
Blade.prototype.navigateTo = function (path) {
|
|
319
314
|
angularportalazure.Debug.write('[angularportalazure-debug] \'Blade.navigateTo\' called. You should not override this, use onNavigateTo instead.', [this, path]);
|
|
@@ -904,7 +899,7 @@ var angularportalazure;
|
|
|
904
899
|
/// <reference types="angulartics" />
|
|
905
900
|
/// <reference path="bladearea.ts" />
|
|
906
901
|
/// <reference path="debug.ts" />
|
|
907
|
-
/// <reference path="
|
|
902
|
+
/// <reference path="bladeparameter.ts" />
|
|
908
903
|
/// <reference path="panorama.ts" />
|
|
909
904
|
/// <reference path="portalshell.ts" />
|
|
910
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": {
|