@ecodev/natural 63.3.3 → 63.5.0

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.
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { UntypedFormGroup } from '@angular/forms';
3
- import { ActivatedRoute, Router } from '@angular/router';
3
+ import { ActivatedRoute, type NavigationExtras, Router } from '@angular/router';
4
4
  import { NaturalAlertService } from '../modules/alert/alert.service';
5
5
  import { NaturalAbstractPanel } from '../modules/panels/abstract-panel';
6
6
  import { NaturalAbstractModelService } from '../services/abstract-model.service';
@@ -83,7 +83,10 @@ export declare class NaturalAbstractDetail<TService extends NaturalAbstractModel
83
83
  /**
84
84
  * `confirmer` can be used to open a custom dialog, or anything else, to confirm the deletion, instead of the standard dialog
85
85
  */
86
- delete(redirectionRoute?: unknown[], confirmer?: Observable<boolean | undefined>): void;
86
+ delete(redirectionRoute?: unknown[] | {
87
+ commands: unknown[];
88
+ extras: NavigationExtras;
89
+ }, confirmer?: Observable<boolean | undefined>): void;
87
90
  protected postUpdate(model: ExtractTupdate<TService>): void;
88
91
  /**
89
92
  * Returns an observable that will be subscribed to immediately and the
@@ -106,6 +106,8 @@ export declare class NaturalAbstractList<TService extends NaturalAbstractModelSe
106
106
  * If change, check DocumentsComponent that overrides this function without calling super.ngOnInit().
107
107
  */
108
108
  ngOnInit(): void;
109
+ protected handleHistoryNavigation(): void;
110
+ protected historyNavigationFilter(): boolean;
109
111
  /**
110
112
  * Persist search and then launch whatever is required to refresh the list
111
113
  */
@@ -119,7 +121,7 @@ export declare class NaturalAbstractList<TService extends NaturalAbstractModelSe
119
121
  /**
120
122
  * Return current pagination, either the user defined one, or the default one
121
123
  */
122
- private getPagination;
124
+ protected getPagination(): PaginationInput;
123
125
  /**
124
126
  * Change pagination variables for query and persist in url and local storage the new value
125
127
  * The default value not persisted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecodev/natural",
3
- "version": "63.3.3",
3
+ "version": "63.5.0",
4
4
  "license": "MIT",
5
5
  "repository": "github:Ecodev/natural",
6
6
  "sideEffects": false,