@myrmidon/cadmus-core 0.1.0 → 1.0.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.
- package/README.md +2 -2
- package/esm2020/lib/cadmus-core.module.mjs +8 -7
- package/esm2020/lib/guards/pending-changes.guard.mjs +5 -5
- package/esm2020/lib/models.mjs +1 -1
- package/esm2020/lib/pipes/sort.pipe.mjs +5 -4
- package/esm2020/lib/services/library-route.service.mjs +20 -19
- package/esm2020/lib/services/text-layer.service.mjs +30 -28
- package/esm2020/lib/text-range.mjs +1 -1
- package/esm2020/lib/token-location.mjs +3 -3
- package/esm2020/lib/token-point.mjs +2 -2
- package/esm2020/public-api.mjs +1 -12
- package/fesm2015/myrmidon-cadmus-core.mjs +68 -1371
- package/fesm2015/myrmidon-cadmus-core.mjs.map +1 -1
- package/fesm2020/myrmidon-cadmus-core.mjs +67 -1371
- package/fesm2020/myrmidon-cadmus-core.mjs.map +1 -1
- package/lib/cadmus-core.module.d.ts +2 -1
- package/lib/models.d.ts +1 -94
- package/lib/services/library-route.service.d.ts +7 -7
- package/lib/services/text-layer.service.d.ts +6 -6
- package/lib/text-range.d.ts +1 -1
- package/lib/token-location.d.ts +1 -1
- package/lib/token-point.d.ts +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +0 -10
- package/esm2020/lib/datation.mjs +0 -520
- package/esm2020/lib/historical-date.mjs +0 -297
- package/esm2020/lib/roman-number.mjs +0 -155
- package/esm2020/lib/services/env.service.mjs +0 -77
- package/esm2020/lib/services/env.service.provider.mjs +0 -31
- package/esm2020/lib/services/error.service.mjs +0 -40
- package/esm2020/lib/services/gravatar.service.mjs +0 -30
- package/esm2020/lib/services/local-storage.service.mjs +0 -101
- package/esm2020/lib/utils.mjs +0 -36
- package/esm2020/lib/validators/password.validator.mjs +0 -34
- package/lib/datation.d.ts +0 -157
- package/lib/historical-date.d.ts +0 -84
- package/lib/roman-number.d.ts +0 -34
- package/lib/services/env.service.d.ts +0 -55
- package/lib/services/env.service.provider.d.ts +0 -15
- package/lib/services/error.service.d.ts +0 -16
- package/lib/services/gravatar.service.d.ts +0 -12
- package/lib/services/local-storage.service.d.ts +0 -35
- package/lib/utils.d.ts +0 -4
- package/lib/validators/password.validator.d.ts +0 -6
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LocalStorageService {
|
|
3
|
-
/**
|
|
4
|
-
* Retrieve the object with the specified key from the specified storage.
|
|
5
|
-
* @param key key.
|
|
6
|
-
* @param session true to use session instead of local storage.
|
|
7
|
-
*/
|
|
8
|
-
retrieve<T>(key: string, session?: boolean): T;
|
|
9
|
-
/**
|
|
10
|
-
* Store the specified object with the specified key in the specified storage.
|
|
11
|
-
* @param key key.
|
|
12
|
-
* @param value object.
|
|
13
|
-
* @param session true to use session instead of local storage.
|
|
14
|
-
*/
|
|
15
|
-
store(key: string, value: any, session?: boolean): void;
|
|
16
|
-
/**
|
|
17
|
-
* Remove the object with the specified key from the specified storage.
|
|
18
|
-
* @param key key.
|
|
19
|
-
* @param session true to use session instead of local storage.
|
|
20
|
-
*/
|
|
21
|
-
remove(key: string, session?: boolean): void;
|
|
22
|
-
/**
|
|
23
|
-
* Get all the stored entities keys starting with the specified prefix.
|
|
24
|
-
* @param prefix key prefix.
|
|
25
|
-
* @param session true to use session instead of local storage.
|
|
26
|
-
*/
|
|
27
|
-
getKeys(prefix: string, session?: boolean): string[];
|
|
28
|
-
/**
|
|
29
|
-
* Remove all the entries whose key starts with the specified prefix.
|
|
30
|
-
* @param prefix key prefix.
|
|
31
|
-
*/
|
|
32
|
-
clear(prefix: string, session?: boolean): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
35
|
-
}
|
package/lib/utils.d.ts
DELETED