@ecodev/natural 45.4.0 → 45.4.2
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/esm2020/lib/classes/abstract-list.mjs +18 -3
- package/esm2020/lib/modules/relations/relations.component.mjs +7 -4
- package/esm2020/lib/modules/sidenav/sidenav.service.mjs +1 -1
- package/esm2020/lib/services/abstract-model.service.mjs +3 -3
- package/esm2020/lib/services/persistence.service.mjs +4 -4
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/ecodev-natural.mjs +27 -9
- package/fesm2015/ecodev-natural.mjs.map +1 -1
- package/fesm2020/ecodev-natural.mjs +27 -9
- package/fesm2020/ecodev-natural.mjs.map +1 -1
- package/lib/modules/sidenav/sidenav.service.d.ts +2 -2
- package/lib/services/persistence.service.d.ts +2 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -43,11 +43,11 @@ export declare class NaturalSidenavService extends NaturalAbstractController {
|
|
|
43
43
|
/**
|
|
44
44
|
* LocalStorage key that stores the minimized status
|
|
45
45
|
*/
|
|
46
|
-
private minimizedStorageKey;
|
|
46
|
+
private readonly minimizedStorageKey;
|
|
47
47
|
/**
|
|
48
48
|
* LocalStorage key that stores the opened status
|
|
49
49
|
*/
|
|
50
|
-
private openedStorageKey;
|
|
50
|
+
private readonly openedStorageKey;
|
|
51
51
|
private minimizedStorageKeyWithName;
|
|
52
52
|
private openedStorageKeyWithName;
|
|
53
53
|
constructor(mediaObserver: MediaObserver, router: Router, sessionStorage: NaturalStorage, naturalSidenavStackService: NaturalSidenavStackService);
|
|
@@ -8,8 +8,8 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
*
|
|
9
9
|
* `storageKey` is only given if the value is coming from session storage (and not from URL).
|
|
10
10
|
*/
|
|
11
|
-
declare type PersistenceValidator = (key: string, storageKey: string | null, value: unknown) => boolean;
|
|
12
|
-
export declare const
|
|
11
|
+
export declare type PersistenceValidator = (key: string, storageKey: string | null, value: unknown) => boolean;
|
|
12
|
+
export declare const NATURAL_PERSISTENCE_VALIDATOR: InjectionToken<PersistenceValidator>;
|
|
13
13
|
export declare class NaturalPersistenceService {
|
|
14
14
|
private readonly router;
|
|
15
15
|
private readonly sessionStorage;
|
|
@@ -50,4 +50,3 @@ export declare class NaturalPersistenceService {
|
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<NaturalPersistenceService, [null, null, { optional: true; }]>;
|
|
51
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<NaturalPersistenceService>;
|
|
52
52
|
}
|
|
53
|
-
export {};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export * from './lib/services/abstract-model.service';
|
|
|
15
15
|
export { NaturalDebounceService } from './lib/services/debounce.service';
|
|
16
16
|
export * from './lib/services/enum.service';
|
|
17
17
|
export * from './lib/services/link-mutation.service';
|
|
18
|
-
export { NaturalPersistenceService,
|
|
18
|
+
export { NaturalPersistenceService, NATURAL_PERSISTENCE_VALIDATOR } from './lib/services/persistence.service';
|
|
19
19
|
export * from './lib/services/swiss-parsing-date-adapter.service';
|
|
20
20
|
export * from './lib/types/types';
|
|
21
21
|
export * from './lib/modules/alert/public-api';
|