@sambath999/localize-token 12.4.11 → 12.4.12

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 (43) hide show
  1. package/bundles/sambath999-localize-token.umd.js +436 -1067
  2. package/bundles/sambath999-localize-token.umd.js.map +1 -1
  3. package/{localize-logindlg/localize-logindlg.component.d.ts → components/localize-token-login-dialog.component.d.ts} +15 -6
  4. package/esm2015/components/localize-token-login-dialog.component.js +474 -0
  5. package/esm2015/models/localize-token-models.js +2 -0
  6. package/esm2015/models/localize-token.module.js +26 -0
  7. package/esm2015/public-api.js +6 -15
  8. package/esm2015/sambath999-localize-token.js +1 -1
  9. package/esm2015/services/localize-token-configure.service.js +32 -0
  10. package/esm2015/services/localize-token-dialog.service.js +64 -0
  11. package/fesm2015/sambath999-localize-token.js +93 -856
  12. package/fesm2015/sambath999-localize-token.js.map +1 -1
  13. package/{localize-logindlg/localize-logindlg.service.d.ts → models/localize-token-models.d.ts} +0 -9
  14. package/package.json +2 -2
  15. package/public-api.d.ts +5 -13
  16. package/sambath999-localize-token.metadata.json +1 -1
  17. package/services/localize-token-configure.service.d.ts +9 -0
  18. package/services/localize-token-dialog.service.d.ts +10 -0
  19. package/README.md +0 -57
  20. package/esm2015/localize-api-token/localize-api-token.module.js +0 -21
  21. package/esm2015/localize-api-token/localize-api-token.service.js +0 -34
  22. package/esm2015/localize-logindlg/localize-logindlg.component.js +0 -423
  23. package/esm2015/localize-logindlg/localize-logindlg.module.js +0 -28
  24. package/esm2015/localize-logindlg/localize-logindlg.service.js +0 -64
  25. package/esm2015/localize-token/helpers/interfaces.js +0 -19
  26. package/esm2015/localize-token/helpers/localize.api.assets.js +0 -20
  27. package/esm2015/localize-token/helpers/loccalize.api.helper.js +0 -267
  28. package/esm2015/localize-token/localize.api.service.js +0 -242
  29. package/esm2015/localize-token/localize.token.js +0 -60
  30. package/esm2015/localize-token/localize.token.module.js +0 -14
  31. package/esm2015/localize-token/localize.token.service.js +0 -94
  32. package/esm2015/localize-token/localize.token.storage.js +0 -107
  33. package/localize-api-token/localize-api-token.module.d.ts +0 -2
  34. package/localize-api-token/localize-api-token.service.d.ts +0 -12
  35. package/localize-logindlg/localize-logindlg.module.d.ts +0 -2
  36. package/localize-token/helpers/interfaces.d.ts +0 -89
  37. package/localize-token/helpers/localize.api.assets.d.ts +0 -5
  38. package/localize-token/helpers/loccalize.api.helper.d.ts +0 -32
  39. package/localize-token/localize.api.service.d.ts +0 -55
  40. package/localize-token/localize.token.d.ts +0 -55
  41. package/localize-token/localize.token.service.d.ts +0 -36
  42. package/localize-token/localize.token.storage.d.ts +0 -61
  43. /package/{localize-token/localize.token.module.d.ts → models/localize-token.module.d.ts} +0 -0
@@ -1,61 +0,0 @@
1
- export interface ICookieOptions {
2
- /**
3
- * Cookie expiration date in days from now. If not provided the cookie is a session cookie
4
- */
5
- expires?: number | Date;
6
- path?: string;
7
- domain?: string;
8
- secure?: boolean;
9
- samesite?: "strict" | "lax" | "none";
10
- }
11
- /**
12
- * Assembly of @package ng2-cookies @see https://www.npmjs.com/package/ng2-cookies
13
- *
14
- * Reassembled by
15
- * @author sambath999
16
- * @date_29_09_2021
17
- * Updated from raw parameters to
18
- * @param {ICookieOptions} options and added another newer cookie flag
19
- * @param {string} samesite
20
- * @param {constant} SameSiteTypes, @param {string} strict "strict", @param {string} lax "lax", @param {string} none "none"
21
- *
22
- * @enum
23
- */
24
- export declare class LocalizeTokenStorage {
25
- private get getDefaultOptions();
26
- private readonly defaultOptions;
27
- constructor(_defaultOptions?: ICookieOptions);
28
- /**
29
- * Checks the existence of a single cookie by it's name
30
- *
31
- * @param {string} name Identification of the cookie
32
- * @returns existence of the cookie
33
- */
34
- check(name: string): boolean;
35
- /**
36
- * Retrieves a single cookie by it's name
37
- *
38
- * @param {string} name Identification of the Cookie
39
- * @returns The Cookie's value
40
- */
41
- get(name: string): string | undefined;
42
- /**
43
- * Retrieves a a list of all cookie avaiable
44
- *
45
- * @returns Object with all Cookies
46
- */
47
- getAll(): any;
48
- set(name: string, value: string, options?: ICookieOptions): void;
49
- /**
50
- * Removes specified Cookie
51
- *
52
- * @param {string} name Cookie's identification
53
- * @param {string} path Path relative to the domain where the cookie should be avaiable. Default /
54
- * @param {string} domain Domain where the cookie should be avaiable. Default current domain
55
- */
56
- delete(name: string, path?: string, domain?: string): void;
57
- /**
58
- * Delete all cookie avaiable
59
- */
60
- deleteAll(path?: string, domain?: string): void;
61
- }