@ecodev/natural 63.5.1 → 63.6.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.
- package/fesm2022/ecodev-natural-vanilla.mjs +6 -2
- package/fesm2022/ecodev-natural-vanilla.mjs.map +1 -1
- package/fesm2022/ecodev-natural.mjs +26 -37
- package/fesm2022/ecodev-natural.mjs.map +1 -1
- package/lib/classes/abstract-list.d.ts +3 -4
- package/lib/classes/utility.d.ts +4 -1
- package/lib/modules/search/dropdown-container/dropdown-container.component.d.ts +0 -2
- package/package.json +1 -1
- package/vanilla/src/lib/classes/utility.d.ts +4 -1
|
@@ -5,16 +5,16 @@ import { Sort } from '@angular/material/sort';
|
|
|
5
5
|
import { ActivatedRoute, Data, NavigationExtras, Router } from '@angular/router';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { NaturalAlertService } from '../modules/alert/alert.service';
|
|
8
|
+
import { AvailableColumn } from '../modules/columns-picker/types';
|
|
8
9
|
import { NaturalAbstractPanel } from '../modules/panels/abstract-panel';
|
|
9
10
|
import { NaturalSearchFacets } from '../modules/search/types/facet';
|
|
10
11
|
import { NaturalSearchSelections } from '../modules/search/types/values';
|
|
11
12
|
import { NaturalAbstractModelService } from '../services/abstract-model.service';
|
|
12
13
|
import { NaturalPersistenceService } from '../services/persistence.service';
|
|
13
|
-
import { NaturalDataSource, PaginatedData } from './data-source';
|
|
14
|
-
import { NaturalQueryVariablesManager, PaginationInput, QueryVariables, Sorting } from './query-variable-manager';
|
|
15
14
|
import { ExtractTall, ExtractVall, Literal } from '../types/types';
|
|
16
15
|
import { NavigableItem } from './abstract-navigable-list';
|
|
17
|
-
import {
|
|
16
|
+
import { NaturalDataSource, PaginatedData } from './data-source';
|
|
17
|
+
import { NaturalQueryVariablesManager, PaginationInput, QueryVariables, Sorting } from './query-variable-manager';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
19
|
type MaybeNavigable = Literal | NavigableItem<Literal>;
|
|
20
20
|
/**
|
|
@@ -107,7 +107,6 @@ export declare class NaturalAbstractList<TService extends NaturalAbstractModelSe
|
|
|
107
107
|
*/
|
|
108
108
|
ngOnInit(): void;
|
|
109
109
|
protected handleHistoryNavigation(): void;
|
|
110
|
-
protected historyNavigationFilter(): boolean;
|
|
111
110
|
/**
|
|
112
111
|
* Persist search and then launch whatever is required to refresh the list
|
|
113
112
|
*/
|
package/lib/classes/utility.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NavigationEnd, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import type { ReadonlyDeep } from 'type-fest';
|
|
4
|
+
import { Literal } from '../types/types';
|
|
3
5
|
import { PaginationInput, Sorting } from './query-variable-manager';
|
|
4
6
|
/**
|
|
5
7
|
* Very basic formatting to get only date, without time and ignoring entirely the timezone
|
|
@@ -75,3 +77,4 @@ export declare function validateSorting(data: unknown): Sorting[] | null;
|
|
|
75
77
|
* Return valid columns from whatever is available from data. Invalid properties/types will be dropped.
|
|
76
78
|
*/
|
|
77
79
|
export declare function validateColumns(data: unknown): string[] | null;
|
|
80
|
+
export declare function onHistoryEvent(router: Router): Observable<NavigationEnd>;
|
|
@@ -15,8 +15,6 @@ export declare class NaturalDropdownContainerComponent extends BasePortalOutlet
|
|
|
15
15
|
readonly closed: Subject<void>;
|
|
16
16
|
/** Current state of the panel animation. */
|
|
17
17
|
protected panelAnimationState: 'void' | 'enter';
|
|
18
|
-
/** Emits whenever an animation on the menu completes. */
|
|
19
|
-
private readonly animationDone;
|
|
20
18
|
private focusTrap;
|
|
21
19
|
private elementFocusedBeforeDialogWasOpened;
|
|
22
20
|
ngOnDestroy(): void;
|
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NavigationEnd, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import type { ReadonlyDeep } from 'type-fest';
|
|
4
|
+
import { Literal } from '../types/types';
|
|
3
5
|
import { PaginationInput, Sorting } from './query-variable-manager';
|
|
4
6
|
/**
|
|
5
7
|
* Very basic formatting to get only date, without time and ignoring entirely the timezone
|
|
@@ -75,3 +77,4 @@ export declare function validateSorting(data: unknown): Sorting[] | null;
|
|
|
75
77
|
* Return valid columns from whatever is available from data. Invalid properties/types will be dropped.
|
|
76
78
|
*/
|
|
77
79
|
export declare function validateColumns(data: unknown): string[] | null;
|
|
80
|
+
export declare function onHistoryEvent(router: Router): Observable<NavigationEnd>;
|