@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.
Files changed (44) hide show
  1. package/README.md +2 -2
  2. package/esm2020/lib/cadmus-core.module.mjs +8 -7
  3. package/esm2020/lib/guards/pending-changes.guard.mjs +5 -5
  4. package/esm2020/lib/models.mjs +1 -1
  5. package/esm2020/lib/pipes/sort.pipe.mjs +5 -4
  6. package/esm2020/lib/services/library-route.service.mjs +20 -19
  7. package/esm2020/lib/services/text-layer.service.mjs +30 -28
  8. package/esm2020/lib/text-range.mjs +1 -1
  9. package/esm2020/lib/token-location.mjs +3 -3
  10. package/esm2020/lib/token-point.mjs +2 -2
  11. package/esm2020/public-api.mjs +1 -12
  12. package/fesm2015/myrmidon-cadmus-core.mjs +68 -1371
  13. package/fesm2015/myrmidon-cadmus-core.mjs.map +1 -1
  14. package/fesm2020/myrmidon-cadmus-core.mjs +67 -1371
  15. package/fesm2020/myrmidon-cadmus-core.mjs.map +1 -1
  16. package/lib/cadmus-core.module.d.ts +2 -1
  17. package/lib/models.d.ts +1 -94
  18. package/lib/services/library-route.service.d.ts +7 -7
  19. package/lib/services/text-layer.service.d.ts +6 -6
  20. package/lib/text-range.d.ts +1 -1
  21. package/lib/token-location.d.ts +1 -1
  22. package/lib/token-point.d.ts +1 -1
  23. package/package.json +5 -5
  24. package/public-api.d.ts +0 -10
  25. package/esm2020/lib/datation.mjs +0 -520
  26. package/esm2020/lib/historical-date.mjs +0 -297
  27. package/esm2020/lib/roman-number.mjs +0 -155
  28. package/esm2020/lib/services/env.service.mjs +0 -77
  29. package/esm2020/lib/services/env.service.provider.mjs +0 -31
  30. package/esm2020/lib/services/error.service.mjs +0 -40
  31. package/esm2020/lib/services/gravatar.service.mjs +0 -30
  32. package/esm2020/lib/services/local-storage.service.mjs +0 -101
  33. package/esm2020/lib/utils.mjs +0 -36
  34. package/esm2020/lib/validators/password.validator.mjs +0 -34
  35. package/lib/datation.d.ts +0 -157
  36. package/lib/historical-date.d.ts +0 -84
  37. package/lib/roman-number.d.ts +0 -34
  38. package/lib/services/env.service.d.ts +0 -55
  39. package/lib/services/env.service.provider.d.ts +0 -15
  40. package/lib/services/error.service.d.ts +0 -16
  41. package/lib/services/gravatar.service.d.ts +0 -12
  42. package/lib/services/local-storage.service.d.ts +0 -35
  43. package/lib/utils.d.ts +0 -4
  44. 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
@@ -1,4 +0,0 @@
1
- /**
2
- * Deep-copy an object.
3
- */
4
- export declare function deepCopy(obj: any): any;
@@ -1,6 +0,0 @@
1
- import { AbstractControl } from '@angular/forms';
2
- export declare class PasswordValidator {
3
- static isValidPassword(control: AbstractControl): {
4
- [key: string]: boolean;
5
- };
6
- }