@rxap/ngx-memory 19.0.4 → 19.1.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/CHANGELOG.md +21 -0
- package/compodoc/changelog.html +18 -0
- package/compodoc/js/menu-wc.js +5 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/compodoc/todo.html +232 -0
- package/docs/documentation.json +95 -95
- package/docs/html/classes/EphemeralStorageService.html +3 -3
- package/docs/html/classes/LocalStorageService.html +3 -3
- package/docs/html/classes/MockStorage.html +8 -8
- package/docs/html/classes/SessionStorageService.html +3 -3
- package/docs/html/classes/StorageService.html +3 -3
- package/docs/html/functions/LocalStorage.html +2 -2
- package/docs/html/functions/SessionStorage.html +2 -2
- package/docs/html/functions/StorageGet.html +1 -1
- package/docs/html/functions/StorageHas.html +1 -1
- package/docs/html/functions/StorageKey.html +1 -1
- package/docs/html/functions/StorageRemove.html +1 -1
- package/docs/html/functions/StorageSet.html +1 -1
- package/docs/html/functions/WebStorage.html +1 -1
- package/docs/html/functions/getExpired.html +1 -1
- package/docs/html/functions/stringify.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/ExpiredUnit.html +2 -2
- package/docs/html/variables/isBrowser.html +2 -2
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/EphemeralStorageService.md +8 -8
- package/docs/markdown/classes/LocalStorageService.md +8 -8
- package/docs/markdown/classes/MockStorage.md +9 -9
- package/docs/markdown/classes/SessionStorageService.md +8 -8
- package/docs/markdown/classes/StorageService.md +8 -8
- package/docs/markdown/functions/LocalStorage.md +2 -2
- package/docs/markdown/functions/SessionStorage.md +2 -2
- package/docs/markdown/functions/StorageGet.md +2 -2
- package/docs/markdown/functions/StorageHas.md +2 -2
- package/docs/markdown/functions/StorageKey.md +2 -2
- package/docs/markdown/functions/StorageRemove.md +2 -2
- package/docs/markdown/functions/StorageSet.md +2 -2
- package/docs/markdown/functions/WebStorage.md +2 -2
- package/docs/markdown/functions/getExpired.md +2 -2
- package/docs/markdown/functions/stringify.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/type-aliases/ExpiredUnit.md +2 -2
- package/docs/markdown/variables/isBrowser.md +2 -2
- package/docs/wiki/Class.EphemeralStorageService.md +7 -7
- package/docs/wiki/Class.LocalStorageService.md +7 -7
- package/docs/wiki/Class.MockStorage.md +8 -8
- package/docs/wiki/Class.SessionStorageService.md +7 -7
- package/docs/wiki/Class.StorageService.md +7 -7
- package/docs/wiki/Function.LocalStorage.md +1 -1
- package/docs/wiki/Function.SessionStorage.md +1 -1
- package/docs/wiki/Function.StorageGet.md +1 -1
- package/docs/wiki/Function.StorageHas.md +1 -1
- package/docs/wiki/Function.StorageKey.md +1 -1
- package/docs/wiki/Function.StorageRemove.md +1 -1
- package/docs/wiki/Function.StorageSet.md +1 -1
- package/docs/wiki/Function.WebStorage.md +1 -1
- package/docs/wiki/Function.getExpired.md +1 -1
- package/docs/wiki/Function.stringify.md +1 -1
- package/docs/wiki/TypeAlias.ExpiredUnit.md +1 -1
- package/docs/wiki/Variable.isBrowser.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-memory.mjs +12 -12
- package/fesm2022/rxap-ngx-memory.mjs.map +1 -1
- package/package.json +2 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **LocalStorage**(`key`?, `expiredAt`?, `expiredUnit`?): (`target`, `propertyName`) => `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [decorators/local-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [decorators/local-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/decorators/local-storage.ts#L14)
|
|
12
12
|
|
|
13
13
|
`localStorage` Decorator
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **SessionStorage**(`key`?, `expiredAt`?, `expiredUnit`?): (`target`, `propertyName`) => `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [decorators/session-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [decorators/session-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/decorators/session-storage.ts#L14)
|
|
12
12
|
|
|
13
13
|
`sessionStorage` Decorator
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **StorageGet**(`storage`, `key`): `unknown`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:20](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L20)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **StorageHas**(`storage`, `key`): `boolean`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:37](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L37)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **StorageKey**(`storage`, `index`): `null` \| `string`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:65](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L65)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **StorageRemove**(`storage`, `key`): `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:58](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L58)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **StorageSet**(`storage`, `key`, `value`, `expiredAt`, `expiredUnit`): `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:44](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L44)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **WebStorage**(`storage`, `key`?, `expiredAt`?, `expiredUnit`?): (`target`, `propertyName`) => `void`
|
|
10
10
|
|
|
11
|
-
Defined in: [decorators/web-storage.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [decorators/web-storage.ts:16](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/decorators/web-storage.ts#L16)
|
|
12
12
|
|
|
13
13
|
**`Internal`**
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **getExpired**(`val`, `unit`): `number`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:72](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:72](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L72)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **stringify**(`value`): `string`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:98](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:98](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L98)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
package/docs/markdown/globals.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **ExpiredUnit**: `"s"` \| `"m"` \| `"h"` \| `"d"` \| `"w"` \| `"y"` \| `"t"`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:11](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L11)
|
|
12
12
|
|
|
13
13
|
Expiration time unit
|
|
14
14
|
s: seconds
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-memory v19.0
|
|
1
|
+
[**@rxap/ngx-memory v19.1.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **isBrowser**: `boolean`
|
|
10
10
|
|
|
11
|
-
Defined in: [storage-utility.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [storage-utility.ts:18](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L18)
|
|
12
12
|
|
|
13
13
|
Determining if an Angular application is rendered in the browser
|
|
14
14
|
The Angular `PLATFORM_ID` identifier cannot be used directly by the `decorator`.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: EphemeralStorageService
|
|
4
4
|
|
|
5
|
-
Defined in: [ephemeral-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [ephemeral-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/ephemeral-storage.service.ts#L6)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [ephemeral-storage.service.ts:6](https://gitlab.com/rxap/packages/-/
|
|
|
14
14
|
|
|
15
15
|
> **new EphemeralStorageService**(): [`EphemeralStorageService`](../wiki/Class.EphemeralStorageService)
|
|
16
16
|
|
|
17
|
-
Defined in: [ephemeral-storage.service.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [ephemeral-storage.service.ts:8](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/ephemeral-storage.service.ts#L8)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
@@ -30,7 +30,7 @@ Defined in: [ephemeral-storage.service.ts:8](https://gitlab.com/rxap/packages/-/
|
|
|
30
30
|
|
|
31
31
|
> **clear**(): `void`
|
|
32
32
|
|
|
33
|
-
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L50)
|
|
34
34
|
|
|
35
35
|
#### Returns
|
|
36
36
|
|
|
@@ -46,7 +46,7 @@ Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
46
46
|
|
|
47
47
|
> **get**(`key`): `any`
|
|
48
48
|
|
|
49
|
-
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L19)
|
|
50
50
|
|
|
51
51
|
#### Parameters
|
|
52
52
|
|
|
@@ -68,7 +68,7 @@ Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
68
68
|
|
|
69
69
|
> **has**(`key`): `boolean`
|
|
70
70
|
|
|
71
|
-
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
71
|
+
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L15)
|
|
72
72
|
|
|
73
73
|
#### Parameters
|
|
74
74
|
|
|
@@ -90,7 +90,7 @@ Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
90
90
|
|
|
91
91
|
> **remove**(`key`): `void`
|
|
92
92
|
|
|
93
|
-
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
93
|
+
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L33)
|
|
94
94
|
|
|
95
95
|
Removes the specified key, e.g.:
|
|
96
96
|
- `remove('key')` Remove `key` key
|
|
@@ -118,7 +118,7 @@ key name or regular expression
|
|
|
118
118
|
|
|
119
119
|
> **set**(`key`, `value`, `expiredAt`, `expiredUnit`): `void`
|
|
120
120
|
|
|
121
|
-
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
121
|
+
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L23)
|
|
122
122
|
|
|
123
123
|
#### Parameters
|
|
124
124
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: LocalStorageService
|
|
4
4
|
|
|
5
|
-
Defined in: [local-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [local-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/local-storage.service.ts#L6)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [local-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob
|
|
|
14
14
|
|
|
15
15
|
> **new LocalStorageService**(): [`LocalStorageService`](../wiki/Class.LocalStorageService)
|
|
16
16
|
|
|
17
|
-
Defined in: [local-storage.service.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [local-storage.service.ts:7](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/local-storage.service.ts#L7)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
@@ -30,7 +30,7 @@ Defined in: [local-storage.service.ts:7](https://gitlab.com/rxap/packages/-/blob
|
|
|
30
30
|
|
|
31
31
|
> **clear**(): `void`
|
|
32
32
|
|
|
33
|
-
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L50)
|
|
34
34
|
|
|
35
35
|
#### Returns
|
|
36
36
|
|
|
@@ -46,7 +46,7 @@ Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
46
46
|
|
|
47
47
|
> **get**(`key`): `any`
|
|
48
48
|
|
|
49
|
-
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L19)
|
|
50
50
|
|
|
51
51
|
#### Parameters
|
|
52
52
|
|
|
@@ -68,7 +68,7 @@ Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
68
68
|
|
|
69
69
|
> **has**(`key`): `boolean`
|
|
70
70
|
|
|
71
|
-
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
71
|
+
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L15)
|
|
72
72
|
|
|
73
73
|
#### Parameters
|
|
74
74
|
|
|
@@ -90,7 +90,7 @@ Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
90
90
|
|
|
91
91
|
> **remove**(`key`): `void`
|
|
92
92
|
|
|
93
|
-
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
93
|
+
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L33)
|
|
94
94
|
|
|
95
95
|
Removes the specified key, e.g.:
|
|
96
96
|
- `remove('key')` Remove `key` key
|
|
@@ -118,7 +118,7 @@ key name or regular expression
|
|
|
118
118
|
|
|
119
119
|
> **set**(`key`, `value`, `expiredAt`, `expiredUnit`): `void`
|
|
120
120
|
|
|
121
|
-
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
121
|
+
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L23)
|
|
122
122
|
|
|
123
123
|
#### Parameters
|
|
124
124
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: MockStorage
|
|
4
4
|
|
|
5
|
-
Defined in: [storage-utility.ts:110](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [storage-utility.ts:110](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L110)
|
|
6
6
|
|
|
7
7
|
## Implements
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Defined in: [storage-utility.ts:110](https://gitlab.com/rxap/packages/-/blob/3ee
|
|
|
24
24
|
|
|
25
25
|
> **cache**: `Record`\<`string`, `string`\> = `{}`
|
|
26
26
|
|
|
27
|
-
Defined in: [storage-utility.ts:112](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [storage-utility.ts:112](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L112)
|
|
28
28
|
|
|
29
29
|
## Accessors
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ Defined in: [storage-utility.ts:112](https://gitlab.com/rxap/packages/-/blob/3ee
|
|
|
34
34
|
|
|
35
35
|
> **get** **length**(): `number`
|
|
36
36
|
|
|
37
|
-
Defined in: [storage-utility.ts:114](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [storage-utility.ts:114](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L114)
|
|
38
38
|
|
|
39
39
|
Returns the number of key/value pairs.
|
|
40
40
|
|
|
@@ -54,7 +54,7 @@ Returns the number of key/value pairs.
|
|
|
54
54
|
|
|
55
55
|
> **clear**(): `void`
|
|
56
56
|
|
|
57
|
-
Defined in: [storage-utility.ts:136](https://gitlab.com/rxap/packages/-/blob/
|
|
57
|
+
Defined in: [storage-utility.ts:136](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L136)
|
|
58
58
|
|
|
59
59
|
Removes all key/value pairs, if there are any.
|
|
60
60
|
|
|
@@ -76,7 +76,7 @@ Dispatches a storage event on Window objects holding an equivalent Storage objec
|
|
|
76
76
|
|
|
77
77
|
> **getItem**(`key`): `null` \| `string`
|
|
78
78
|
|
|
79
|
-
Defined in: [storage-utility.ts:118](https://gitlab.com/rxap/packages/-/blob/
|
|
79
|
+
Defined in: [storage-utility.ts:118](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L118)
|
|
80
80
|
|
|
81
81
|
Returns the current value associated with the given key, or null if the given key does not exist.
|
|
82
82
|
|
|
@@ -102,7 +102,7 @@ Returns the current value associated with the given key, or null if the given ke
|
|
|
102
102
|
|
|
103
103
|
> **key**(`index`): `null` \| `string`
|
|
104
104
|
|
|
105
|
-
Defined in: [storage-utility.ts:122](https://gitlab.com/rxap/packages/-/blob/
|
|
105
|
+
Defined in: [storage-utility.ts:122](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L122)
|
|
106
106
|
|
|
107
107
|
Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.
|
|
108
108
|
|
|
@@ -128,7 +128,7 @@ Returns the name of the nth key, or null if n is greater than or equal to the nu
|
|
|
128
128
|
|
|
129
129
|
> **removeItem**(`key`): `void`
|
|
130
130
|
|
|
131
|
-
Defined in: [storage-utility.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
131
|
+
Defined in: [storage-utility.ts:126](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L126)
|
|
132
132
|
|
|
133
133
|
Removes the key/value pair with the given key, if a key/value pair with the given key exists.
|
|
134
134
|
|
|
@@ -156,7 +156,7 @@ Dispatches a storage event on Window objects holding an equivalent Storage objec
|
|
|
156
156
|
|
|
157
157
|
> **setItem**(`key`, `value`): `void`
|
|
158
158
|
|
|
159
|
-
Defined in: [storage-utility.ts:132](https://gitlab.com/rxap/packages/-/blob/
|
|
159
|
+
Defined in: [storage-utility.ts:132](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L132)
|
|
160
160
|
|
|
161
161
|
Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.
|
|
162
162
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SessionStorageService
|
|
4
4
|
|
|
5
|
-
Defined in: [session-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [session-storage.service.ts:6](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/session-storage.service.ts#L6)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [session-storage.service.ts:6](https://gitlab.com/rxap/packages/-/bl
|
|
|
14
14
|
|
|
15
15
|
> **new SessionStorageService**(): [`SessionStorageService`](../wiki/Class.SessionStorageService)
|
|
16
16
|
|
|
17
|
-
Defined in: [session-storage.service.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [session-storage.service.ts:7](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/session-storage.service.ts#L7)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
@@ -30,7 +30,7 @@ Defined in: [session-storage.service.ts:7](https://gitlab.com/rxap/packages/-/bl
|
|
|
30
30
|
|
|
31
31
|
> **clear**(): `void`
|
|
32
32
|
|
|
33
|
-
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L50)
|
|
34
34
|
|
|
35
35
|
#### Returns
|
|
36
36
|
|
|
@@ -46,7 +46,7 @@ Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
46
46
|
|
|
47
47
|
> **get**(`key`): `any`
|
|
48
48
|
|
|
49
|
-
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L19)
|
|
50
50
|
|
|
51
51
|
#### Parameters
|
|
52
52
|
|
|
@@ -68,7 +68,7 @@ Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
68
68
|
|
|
69
69
|
> **has**(`key`): `boolean`
|
|
70
70
|
|
|
71
|
-
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
71
|
+
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L15)
|
|
72
72
|
|
|
73
73
|
#### Parameters
|
|
74
74
|
|
|
@@ -90,7 +90,7 @@ Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
90
90
|
|
|
91
91
|
> **remove**(`key`): `void`
|
|
92
92
|
|
|
93
|
-
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
93
|
+
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L33)
|
|
94
94
|
|
|
95
95
|
Removes the specified key, e.g.:
|
|
96
96
|
- `remove('key')` Remove `key` key
|
|
@@ -118,7 +118,7 @@ key name or regular expression
|
|
|
118
118
|
|
|
119
119
|
> **set**(`key`, `value`, `expiredAt`, `expiredUnit`): `void`
|
|
120
120
|
|
|
121
|
-
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
121
|
+
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L23)
|
|
122
122
|
|
|
123
123
|
#### Parameters
|
|
124
124
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: `abstract` StorageService
|
|
4
4
|
|
|
5
|
-
Defined in: [storage.service.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [storage.service.ts:12](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L12)
|
|
6
6
|
|
|
7
7
|
## Extended by
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ Defined in: [storage.service.ts:12](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
16
16
|
|
|
17
17
|
> `protected` **new StorageService**(`storage`): [`StorageService`](../wiki/Class.StorageService)
|
|
18
18
|
|
|
19
|
-
Defined in: [storage.service.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
19
|
+
Defined in: [storage.service.ts:13](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L13)
|
|
20
20
|
|
|
21
21
|
#### Parameters
|
|
22
22
|
|
|
@@ -34,7 +34,7 @@ Defined in: [storage.service.ts:13](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
34
34
|
|
|
35
35
|
> **clear**(): `void`
|
|
36
36
|
|
|
37
|
-
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L50)
|
|
38
38
|
|
|
39
39
|
#### Returns
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ Defined in: [storage.service.ts:50](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
46
46
|
|
|
47
47
|
> **get**(`key`): `any`
|
|
48
48
|
|
|
49
|
-
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L19)
|
|
50
50
|
|
|
51
51
|
#### Parameters
|
|
52
52
|
|
|
@@ -64,7 +64,7 @@ Defined in: [storage.service.ts:19](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
64
64
|
|
|
65
65
|
> **has**(`key`): `boolean`
|
|
66
66
|
|
|
67
|
-
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
67
|
+
Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L15)
|
|
68
68
|
|
|
69
69
|
#### Parameters
|
|
70
70
|
|
|
@@ -82,7 +82,7 @@ Defined in: [storage.service.ts:15](https://gitlab.com/rxap/packages/-/blob/3eeb
|
|
|
82
82
|
|
|
83
83
|
> **remove**(`key`): `void`
|
|
84
84
|
|
|
85
|
-
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [storage.service.ts:33](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L33)
|
|
86
86
|
|
|
87
87
|
Removes the specified key, e.g.:
|
|
88
88
|
- `remove('key')` Remove `key` key
|
|
@@ -106,7 +106,7 @@ key name or regular expression
|
|
|
106
106
|
|
|
107
107
|
> **set**(`key`, `value`, `expiredAt`, `expiredUnit`): `void`
|
|
108
108
|
|
|
109
|
-
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
109
|
+
Defined in: [storage.service.ts:23](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage.service.ts#L23)
|
|
110
110
|
|
|
111
111
|
#### Parameters
|
|
112
112
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **LocalStorage**(`key`?, `expiredAt`?, `expiredUnit`?): (`target`, `propertyName`) => `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [decorators/local-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [decorators/local-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/decorators/local-storage.ts#L14)
|
|
8
8
|
|
|
9
9
|
`localStorage` Decorator
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **SessionStorage**(`key`?, `expiredAt`?, `expiredUnit`?): (`target`, `propertyName`) => `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [decorators/session-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [decorators/session-storage.ts:14](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/decorators/session-storage.ts#L14)
|
|
8
8
|
|
|
9
9
|
`sessionStorage` Decorator
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageGet**(`storage`, `key`): `unknown`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:20](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L20)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageHas**(`storage`, `key`): `boolean`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:37](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L37)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageKey**(`storage`, `index`): `null` \| `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:65](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:65](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L65)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageRemove**(`storage`, `key`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:58](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L58)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **StorageSet**(`storage`, `key`, `value`, `expiredAt`, `expiredUnit`): `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:44](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L44)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **WebStorage**(`storage`, `key`?, `expiredAt`?, `expiredUnit`?): (`target`, `propertyName`) => `void`
|
|
6
6
|
|
|
7
|
-
Defined in: [decorators/web-storage.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [decorators/web-storage.ts:16](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/decorators/web-storage.ts#L16)
|
|
8
8
|
|
|
9
9
|
**`Internal`**
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **getExpired**(`val`, `unit`): `number`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:72](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:72](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L72)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **stringify**(`value`): `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [storage-utility.ts:98](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [storage-utility.ts:98](https://gitlab.com/rxap/packages/-/blob/3648307d22f6f77230de9b76f6335a68f0ed3849/packages/angular/memory/src/lib/storage-utility.ts#L98)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|