@ardimedia/angular-portal-azure 0.2.319 → 0.2.321

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.
Files changed (3) hide show
  1. package/apn.d.ts +5 -5
  2. package/apn.js +7 -7
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -29,6 +29,10 @@ declare namespace angularportalazure {
29
29
  $onDestroy(): void;
30
30
  /** angular2: ngOnChanges(), ngOnInit, ngDoCheck, ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit, ngAfterViewChecked, ngOnDestroy */
31
31
  ngOnDestroy(): void;
32
+ /** Override */
33
+ onActivate(): void;
34
+ /** Override */
35
+ onActivated(): void;
32
36
  private removeWindowResizeListener;
33
37
  setupWindowResizeListener(callback: () => void): void;
34
38
  isNumberUndefinedNullOr0(value: number): boolean;
@@ -135,10 +139,6 @@ declare namespace angularportalazure {
135
139
  commandExcel: () => void;
136
140
  commandExcelText: string;
137
141
  activate(): void;
138
- /** Override */
139
- onActivate(): void;
140
- /** Override */
141
- onActivated(): void;
142
142
  navigateTo(path: any): void;
143
143
  /** Must be overridden. */
144
144
  onNavigateTo(value: any): void;
@@ -266,7 +266,7 @@ declare namespace angularportalazure {
266
266
  onSavedObject(): void;
267
267
  /** Extension point */
268
268
  onSaveObjectException(ex: angularportalazure.Exception): void;
269
- deleteItem(func: () => Promise<T | angularportalazure.Exception> | angular.IPromise<T | angularportalazure.Exception>, ngForm?: any): (Promise<T | void> | angular.IPromise<T | void>);
269
+ deleteItem(func: () => Promise<T | number | void | angularportalazure.Exception> | angular.IPromise<T | number | void | angularportalazure.Exception>, ngForm?: any): (Promise<T | number | void> | angular.IPromise<T | number | void>);
270
270
  /** Extension point */
271
271
  onDeleteItem(): void;
272
272
  /** Extension point */
package/apn.js CHANGED
@@ -109,6 +109,12 @@ var angularportalazure;
109
109
  UserControlBase.prototype.ngOnDestroy = function () {
110
110
  this.removeWindowResizeListener();
111
111
  };
112
+ /** Override */
113
+ UserControlBase.prototype.onActivate = function () {
114
+ };
115
+ /** Override */
116
+ UserControlBase.prototype.onActivated = function () {
117
+ };
112
118
  UserControlBase.prototype.removeWindowResizeListener = function () {
113
119
  if (this.windowResizeHandler !== undefined) {
114
120
  this.portalService.$window.removeEventListener('resize', this.windowResizeHandler);
@@ -345,12 +351,6 @@ var angularportalazure;
345
351
  this.onActivate();
346
352
  this.onActivated();
347
353
  };
348
- /** Override */
349
- Blade.prototype.onActivate = function () {
350
- };
351
- /** Override */
352
- Blade.prototype.onActivated = function () {
353
- };
354
354
  Blade.prototype.navigateTo = function (path) {
355
355
  this.onNavigateTo(path);
356
356
  };
@@ -497,7 +497,7 @@ var angularportalazure;
497
497
  var isBladeAlreadyShown = false;
498
498
  this.blades.forEach(function (blade) {
499
499
  if (blade.path === args.path) {
500
- // Blade is already show, just activate it again
500
+ // Blade is already shown, just activate it again
501
501
  blade.onActivate();
502
502
  isBladeAlreadyShown = true;
503
503
  return;
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.319",
5
+ "version": "0.2.321",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {