@ecodev/natural 63.4.0 → 63.5.1

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.
@@ -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
@@ -1,4 +1,3 @@
1
- import { AnimationEvent } from '@angular/animations';
2
1
  import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
3
2
  import { ComponentRef, EmbeddedViewRef, InjectionToken, OnDestroy } from '@angular/core';
4
3
  import { Subject } from 'rxjs';
@@ -15,18 +14,17 @@ export declare class NaturalDropdownContainerComponent extends BasePortalOutlet
15
14
  readonly portalOutlet: import("@angular/core").Signal<CdkPortalOutlet>;
16
15
  readonly closed: Subject<void>;
17
16
  /** Current state of the panel animation. */
18
- panelAnimationState: 'void' | 'enter';
17
+ protected panelAnimationState: 'void' | 'enter';
19
18
  /** Emits whenever an animation on the menu completes. */
20
19
  private readonly animationDone;
21
20
  private focusTrap;
22
21
  private elementFocusedBeforeDialogWasOpened;
23
- constructor();
24
22
  ngOnDestroy(): void;
25
23
  close(): void;
26
24
  attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
27
25
  attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
28
- startAnimation(): void;
29
- onAnimationDone(event: AnimationEvent): void;
26
+ /** Callback that is invoked when the panel animation completes. */
27
+ protected onAnimationDone(state: string): void;
30
28
  private trapFocus;
31
29
  /** Restores focus to the element that was focused before the dialog opened. */
32
30
  private restoreFocus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecodev/natural",
3
- "version": "63.4.0",
3
+ "version": "63.5.1",
4
4
  "license": "MIT",
5
5
  "repository": "github:Ecodev/natural",
6
6
  "sideEffects": false,
@@ -23,7 +23,6 @@
23
23
  "tslib": "^2.8.1"
24
24
  },
25
25
  "peerDependencies": {
26
- "@angular/animations": "^19.2.0",
27
26
  "@angular/cdk": "^19.2.0",
28
27
  "@angular/common": "^19.2.0",
29
28
  "@angular/core": "^19.2.0",
@@ -1,10 +0,0 @@
1
- import { AnimationTriggerMetadata } from '@angular/animations';
2
- /**
3
- * Animations used by the mat-menu component.
4
- * Animation duration and timing values are based on:
5
- * https://material.io/guidelines/components/menus.html#menus-usage
6
- */
7
- export declare const naturalDropdownAnimations: {
8
- readonly transformMenu: AnimationTriggerMetadata;
9
- readonly fadeInItems: AnimationTriggerMetadata;
10
- };