@rxap/service-worker 19.0.1-dev.2 → 19.0.1-dev.5
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 +12 -0
- package/README.md +24 -25
- package/compodoc/changelog.html +6 -0
- package/compodoc/dependencies.html +3 -3
- package/compodoc/index.html +26 -17
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +4 -1
- package/docs/documentation.json +108 -411
- package/docs/html/assets/hierarchy.js +1 -0
- package/docs/{assets → html/assets}/highlight.css +13 -6
- package/docs/html/assets/icons.js +18 -0
- package/docs/html/assets/icons.svg +1 -0
- package/docs/{assets → html/assets}/main.js +5 -4
- package/docs/html/assets/navigation.js +1 -0
- package/docs/html/assets/search.js +1 -0
- package/docs/html/assets/style.css +1611 -0
- package/docs/html/classes/AutoUpdateService.html +3 -0
- package/docs/html/classes/CheckForUpdateService.html +3 -0
- package/docs/html/classes/DialogUpdateService.html +3 -0
- package/docs/html/classes/LogUpdateService.html +3 -0
- package/docs/html/classes/ServiceWorkerUpdateDialogComponent.html +10 -0
- package/docs/html/functions/ProvideServiceWorkerUpdater.html +1 -0
- package/docs/html/functions/UnregisterServiceWorker.html +1 -0
- package/docs/html/functions/withAutoUpdater.html +1 -0
- package/docs/html/functions/withDialogUpdater.html +1 -0
- package/docs/html/functions/withLogUpdater.html +1 -0
- package/docs/html/index.html +33 -0
- package/docs/html/modules.html +1 -0
- package/docs/html/variables/UPDATE_AVAILABLE_EVENT.html +1 -0
- package/docs/markdown/README.md +37 -0
- package/docs/markdown/classes/AutoUpdateService.md +39 -0
- package/docs/markdown/classes/CheckForUpdateService.md +43 -0
- package/docs/markdown/classes/DialogUpdateService.md +43 -0
- package/docs/markdown/classes/LogUpdateService.md +39 -0
- package/docs/markdown/classes/ServiceWorkerUpdateDialogComponent.md +79 -0
- package/docs/markdown/functions/ProvideServiceWorkerUpdater.md +21 -0
- package/docs/markdown/functions/UnregisterServiceWorker.md +21 -0
- package/docs/markdown/functions/withAutoUpdater.md +15 -0
- package/docs/markdown/functions/withDialogUpdater.md +15 -0
- package/docs/markdown/functions/withLogUpdater.md +15 -0
- package/docs/markdown/globals.md +25 -0
- package/docs/markdown/variables/UPDATE_AVAILABLE_EVENT.md +11 -0
- package/docs/wiki/Class.AutoUpdateService.md +35 -0
- package/docs/wiki/Class.CheckForUpdateService.md +39 -0
- package/docs/wiki/Class.DialogUpdateService.md +39 -0
- package/docs/wiki/Class.LogUpdateService.md +35 -0
- package/docs/wiki/Class.ServiceWorkerUpdateDialogComponent.md +75 -0
- package/docs/wiki/Function.ProvideServiceWorkerUpdater.md +17 -0
- package/docs/wiki/Function.UnregisterServiceWorker.md +17 -0
- package/docs/wiki/Function.withAutoUpdater.md +11 -0
- package/docs/wiki/Function.withDialogUpdater.md +11 -0
- package/docs/wiki/Function.withLogUpdater.md +11 -0
- package/docs/wiki/Home.md +33 -0
- package/docs/wiki/Variable.UPDATE_AVAILABLE_EVENT.md +7 -0
- package/docs/wiki/_Sidebar.md +21 -0
- package/docs/wiki/globals.md +21 -0
- package/package.json +10 -8
- package/docs/assets/icons.js +0 -15
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1412
- package/docs/classes/AutoUpdateService.html +0 -4
- package/docs/classes/CheckForUpdateService.html +0 -6
- package/docs/classes/DialogUpdateService.html +0 -6
- package/docs/classes/LogUpdateService.html +0 -4
- package/docs/classes/ServiceWorkerUpdateDialogComponent.html +0 -7
- package/docs/functions/ProvideServiceWorkerUpdater.html +0 -1
- package/docs/functions/UnregisterServiceWorker.html +0 -1
- package/docs/functions/withAutoUpdater.html +0 -1
- package/docs/functions/withDialogUpdater.html +0 -1
- package/docs/functions/withLogUpdater.html +0 -1
- package/docs/index.html +0 -25
- package/docs/modules.html +0 -12
- package/docs/variables/UPDATE_AVAILABLE_EVENT.html +0 -1
- /package/docs/{.nojekyll → html/.nojekyll} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / AutoUpdateService
|
|
6
|
+
|
|
7
|
+
# Class: AutoUpdateService
|
|
8
|
+
|
|
9
|
+
Defined in: [auto-update.service.ts:12](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/auto-update.service.ts#L12)
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
|
|
13
|
+
### new AutoUpdateService()
|
|
14
|
+
|
|
15
|
+
> **new AutoUpdateService**(`updates`): [`AutoUpdateService`](AutoUpdateService.md)
|
|
16
|
+
|
|
17
|
+
Defined in: [auto-update.service.ts:14](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/auto-update.service.ts#L14)
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
##### updates
|
|
22
|
+
|
|
23
|
+
`SwUpdate`
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
[`AutoUpdateService`](AutoUpdateService.md)
|
|
28
|
+
|
|
29
|
+
## Methods
|
|
30
|
+
|
|
31
|
+
### start()
|
|
32
|
+
|
|
33
|
+
> **start**(): `void`
|
|
34
|
+
|
|
35
|
+
Defined in: [auto-update.service.ts:20](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/auto-update.service.ts#L20)
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / CheckForUpdateService
|
|
6
|
+
|
|
7
|
+
# Class: CheckForUpdateService
|
|
8
|
+
|
|
9
|
+
Defined in: [check-for-update.service.ts:16](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/check-for-update.service.ts#L16)
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
|
|
13
|
+
### new CheckForUpdateService()
|
|
14
|
+
|
|
15
|
+
> **new CheckForUpdateService**(`lifeCycle`, `updates`): [`CheckForUpdateService`](CheckForUpdateService.md)
|
|
16
|
+
|
|
17
|
+
Defined in: [check-for-update.service.ts:20](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/check-for-update.service.ts#L20)
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
##### lifeCycle
|
|
22
|
+
|
|
23
|
+
`LifeCycleService`
|
|
24
|
+
|
|
25
|
+
##### updates
|
|
26
|
+
|
|
27
|
+
`SwUpdate`
|
|
28
|
+
|
|
29
|
+
#### Returns
|
|
30
|
+
|
|
31
|
+
[`CheckForUpdateService`](CheckForUpdateService.md)
|
|
32
|
+
|
|
33
|
+
## Methods
|
|
34
|
+
|
|
35
|
+
### start()
|
|
36
|
+
|
|
37
|
+
> **start**(): `void`
|
|
38
|
+
|
|
39
|
+
Defined in: [check-for-update.service.ts:26](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/check-for-update.service.ts#L26)
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`void`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / DialogUpdateService
|
|
6
|
+
|
|
7
|
+
# Class: DialogUpdateService
|
|
8
|
+
|
|
9
|
+
Defined in: [dialog-update.service.ts:28](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/dialog-update.service.ts#L28)
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
|
|
13
|
+
### new DialogUpdateService()
|
|
14
|
+
|
|
15
|
+
> **new DialogUpdateService**(`applicationRef`, `updates`): [`DialogUpdateService`](DialogUpdateService.md)
|
|
16
|
+
|
|
17
|
+
Defined in: [dialog-update.service.ts:29](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/dialog-update.service.ts#L29)
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
##### applicationRef
|
|
22
|
+
|
|
23
|
+
`ApplicationRef`
|
|
24
|
+
|
|
25
|
+
##### updates
|
|
26
|
+
|
|
27
|
+
`SwUpdate`
|
|
28
|
+
|
|
29
|
+
#### Returns
|
|
30
|
+
|
|
31
|
+
[`DialogUpdateService`](DialogUpdateService.md)
|
|
32
|
+
|
|
33
|
+
## Methods
|
|
34
|
+
|
|
35
|
+
### start()
|
|
36
|
+
|
|
37
|
+
> **start**(): `void`
|
|
38
|
+
|
|
39
|
+
Defined in: [dialog-update.service.ts:37](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/dialog-update.service.ts#L37)
|
|
40
|
+
|
|
41
|
+
#### Returns
|
|
42
|
+
|
|
43
|
+
`void`
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / LogUpdateService
|
|
6
|
+
|
|
7
|
+
# Class: LogUpdateService
|
|
8
|
+
|
|
9
|
+
Defined in: [log-update.service.ts:8](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/log-update.service.ts#L8)
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
|
|
13
|
+
### new LogUpdateService()
|
|
14
|
+
|
|
15
|
+
> **new LogUpdateService**(`updates`): [`LogUpdateService`](LogUpdateService.md)
|
|
16
|
+
|
|
17
|
+
Defined in: [log-update.service.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/log-update.service.ts#L10)
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
##### updates
|
|
22
|
+
|
|
23
|
+
`SwUpdate`
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
[`LogUpdateService`](LogUpdateService.md)
|
|
28
|
+
|
|
29
|
+
## Methods
|
|
30
|
+
|
|
31
|
+
### start()
|
|
32
|
+
|
|
33
|
+
> **start**(): `void`
|
|
34
|
+
|
|
35
|
+
Defined in: [log-update.service.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/log-update.service.ts#L13)
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / ServiceWorkerUpdateDialogComponent
|
|
6
|
+
|
|
7
|
+
# Class: ServiceWorkerUpdateDialogComponent
|
|
8
|
+
|
|
9
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:28](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L28)
|
|
10
|
+
|
|
11
|
+
## Implements
|
|
12
|
+
|
|
13
|
+
- `AfterViewInit`
|
|
14
|
+
|
|
15
|
+
## Constructors
|
|
16
|
+
|
|
17
|
+
### new ServiceWorkerUpdateDialogComponent()
|
|
18
|
+
|
|
19
|
+
> **new ServiceWorkerUpdateDialogComponent**(): [`ServiceWorkerUpdateDialogComponent`](ServiceWorkerUpdateDialogComponent.md)
|
|
20
|
+
|
|
21
|
+
#### Returns
|
|
22
|
+
|
|
23
|
+
[`ServiceWorkerUpdateDialogComponent`](ServiceWorkerUpdateDialogComponent.md)
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
### closeDialog
|
|
28
|
+
|
|
29
|
+
> **closeDialog**: `EventEmitter`\<`void`\>
|
|
30
|
+
|
|
31
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:34](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L34)
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### dialog
|
|
36
|
+
|
|
37
|
+
> **dialog**: `ElementRef`\<`HTMLDialogElement`\>
|
|
38
|
+
|
|
39
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:31](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L31)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### updateAvailableEvent
|
|
44
|
+
|
|
45
|
+
> `readonly` **updateAvailableEvent**: `VersionEvent`
|
|
46
|
+
|
|
47
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:36](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L36)
|
|
48
|
+
|
|
49
|
+
## Methods
|
|
50
|
+
|
|
51
|
+
### close()
|
|
52
|
+
|
|
53
|
+
> **close**(): `void`
|
|
54
|
+
|
|
55
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:42](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L42)
|
|
56
|
+
|
|
57
|
+
#### Returns
|
|
58
|
+
|
|
59
|
+
`void`
|
|
60
|
+
|
|
61
|
+
***
|
|
62
|
+
|
|
63
|
+
### ngAfterViewInit()
|
|
64
|
+
|
|
65
|
+
> **ngAfterViewInit**(): `void`
|
|
66
|
+
|
|
67
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:38](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L38)
|
|
68
|
+
|
|
69
|
+
A callback method that is invoked immediately after
|
|
70
|
+
Angular has completed initialization of a component's view.
|
|
71
|
+
It is invoked only once when the view is instantiated.
|
|
72
|
+
|
|
73
|
+
#### Returns
|
|
74
|
+
|
|
75
|
+
`void`
|
|
76
|
+
|
|
77
|
+
#### Implementation of
|
|
78
|
+
|
|
79
|
+
`AfterViewInit.ngAfterViewInit`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / ProvideServiceWorkerUpdater
|
|
6
|
+
|
|
7
|
+
# Function: ProvideServiceWorkerUpdater()
|
|
8
|
+
|
|
9
|
+
> **ProvideServiceWorkerUpdater**(...`providers`): (`Provider` \| `EnvironmentProviders`)[]
|
|
10
|
+
|
|
11
|
+
Defined in: [provide-service-worker-updater.ts:12](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L12)
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
### providers
|
|
16
|
+
|
|
17
|
+
...(`Provider` \| `EnvironmentProviders`)[]
|
|
18
|
+
|
|
19
|
+
## Returns
|
|
20
|
+
|
|
21
|
+
(`Provider` \| `EnvironmentProviders`)[]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / UnregisterServiceWorker
|
|
6
|
+
|
|
7
|
+
# Function: UnregisterServiceWorker()
|
|
8
|
+
|
|
9
|
+
> **UnregisterServiceWorker**(`environment`): `void`
|
|
10
|
+
|
|
11
|
+
Defined in: [unregister-service-worker.ts:3](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/unregister-service-worker.ts#L3)
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
### environment
|
|
16
|
+
|
|
17
|
+
`Environment`
|
|
18
|
+
|
|
19
|
+
## Returns
|
|
20
|
+
|
|
21
|
+
`void`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / withAutoUpdater
|
|
6
|
+
|
|
7
|
+
# Function: withAutoUpdater()
|
|
8
|
+
|
|
9
|
+
> **withAutoUpdater**(): `EnvironmentProviders`
|
|
10
|
+
|
|
11
|
+
Defined in: [provide-service-worker-updater.ts:36](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L36)
|
|
12
|
+
|
|
13
|
+
## Returns
|
|
14
|
+
|
|
15
|
+
`EnvironmentProviders`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / withDialogUpdater
|
|
6
|
+
|
|
7
|
+
# Function: withDialogUpdater()
|
|
8
|
+
|
|
9
|
+
> **withDialogUpdater**(): `EnvironmentProviders`
|
|
10
|
+
|
|
11
|
+
Defined in: [provide-service-worker-updater.ts:29](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L29)
|
|
12
|
+
|
|
13
|
+
## Returns
|
|
14
|
+
|
|
15
|
+
`EnvironmentProviders`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / withLogUpdater
|
|
6
|
+
|
|
7
|
+
# Function: withLogUpdater()
|
|
8
|
+
|
|
9
|
+
> **withLogUpdater**(): `EnvironmentProviders`
|
|
10
|
+
|
|
11
|
+
Defined in: [provide-service-worker-updater.ts:22](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L22)
|
|
12
|
+
|
|
13
|
+
## Returns
|
|
14
|
+
|
|
15
|
+
`EnvironmentProviders`
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[**@rxap/service-worker**](README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# @rxap/service-worker
|
|
6
|
+
|
|
7
|
+
## Classes
|
|
8
|
+
|
|
9
|
+
- [AutoUpdateService](classes/AutoUpdateService.md)
|
|
10
|
+
- [CheckForUpdateService](classes/CheckForUpdateService.md)
|
|
11
|
+
- [DialogUpdateService](classes/DialogUpdateService.md)
|
|
12
|
+
- [LogUpdateService](classes/LogUpdateService.md)
|
|
13
|
+
- [ServiceWorkerUpdateDialogComponent](classes/ServiceWorkerUpdateDialogComponent.md)
|
|
14
|
+
|
|
15
|
+
## Variables
|
|
16
|
+
|
|
17
|
+
- [UPDATE\_AVAILABLE\_EVENT](variables/UPDATE_AVAILABLE_EVENT.md)
|
|
18
|
+
|
|
19
|
+
## Functions
|
|
20
|
+
|
|
21
|
+
- [ProvideServiceWorkerUpdater](functions/ProvideServiceWorkerUpdater.md)
|
|
22
|
+
- [UnregisterServiceWorker](functions/UnregisterServiceWorker.md)
|
|
23
|
+
- [withAutoUpdater](functions/withAutoUpdater.md)
|
|
24
|
+
- [withDialogUpdater](functions/withDialogUpdater.md)
|
|
25
|
+
- [withLogUpdater](functions/withLogUpdater.md)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[**@rxap/service-worker**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@rxap/service-worker](../globals.md) / UPDATE\_AVAILABLE\_EVENT
|
|
6
|
+
|
|
7
|
+
# Variable: UPDATE\_AVAILABLE\_EVENT
|
|
8
|
+
|
|
9
|
+
> `const` **UPDATE\_AVAILABLE\_EVENT**: `InjectionToken`\<`VersionEvent`\>
|
|
10
|
+
|
|
11
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:17](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L17)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / AutoUpdateService
|
|
2
|
+
|
|
3
|
+
# Class: AutoUpdateService
|
|
4
|
+
|
|
5
|
+
Defined in: [auto-update.service.ts:12](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/auto-update.service.ts#L12)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new AutoUpdateService()
|
|
10
|
+
|
|
11
|
+
> **new AutoUpdateService**(`updates`): [`AutoUpdateService`](../wiki/Class.AutoUpdateService)
|
|
12
|
+
|
|
13
|
+
Defined in: [auto-update.service.ts:14](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/auto-update.service.ts#L14)
|
|
14
|
+
|
|
15
|
+
#### Parameters
|
|
16
|
+
|
|
17
|
+
##### updates
|
|
18
|
+
|
|
19
|
+
`SwUpdate`
|
|
20
|
+
|
|
21
|
+
#### Returns
|
|
22
|
+
|
|
23
|
+
[`AutoUpdateService`](../wiki/Class.AutoUpdateService)
|
|
24
|
+
|
|
25
|
+
## Methods
|
|
26
|
+
|
|
27
|
+
### start()
|
|
28
|
+
|
|
29
|
+
> **start**(): `void`
|
|
30
|
+
|
|
31
|
+
Defined in: [auto-update.service.ts:20](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/auto-update.service.ts#L20)
|
|
32
|
+
|
|
33
|
+
#### Returns
|
|
34
|
+
|
|
35
|
+
`void`
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / CheckForUpdateService
|
|
2
|
+
|
|
3
|
+
# Class: CheckForUpdateService
|
|
4
|
+
|
|
5
|
+
Defined in: [check-for-update.service.ts:16](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/check-for-update.service.ts#L16)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new CheckForUpdateService()
|
|
10
|
+
|
|
11
|
+
> **new CheckForUpdateService**(`lifeCycle`, `updates`): [`CheckForUpdateService`](../wiki/Class.CheckForUpdateService)
|
|
12
|
+
|
|
13
|
+
Defined in: [check-for-update.service.ts:20](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/check-for-update.service.ts#L20)
|
|
14
|
+
|
|
15
|
+
#### Parameters
|
|
16
|
+
|
|
17
|
+
##### lifeCycle
|
|
18
|
+
|
|
19
|
+
`LifeCycleService`
|
|
20
|
+
|
|
21
|
+
##### updates
|
|
22
|
+
|
|
23
|
+
`SwUpdate`
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
[`CheckForUpdateService`](../wiki/Class.CheckForUpdateService)
|
|
28
|
+
|
|
29
|
+
## Methods
|
|
30
|
+
|
|
31
|
+
### start()
|
|
32
|
+
|
|
33
|
+
> **start**(): `void`
|
|
34
|
+
|
|
35
|
+
Defined in: [check-for-update.service.ts:26](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/check-for-update.service.ts#L26)
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / DialogUpdateService
|
|
2
|
+
|
|
3
|
+
# Class: DialogUpdateService
|
|
4
|
+
|
|
5
|
+
Defined in: [dialog-update.service.ts:28](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/dialog-update.service.ts#L28)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new DialogUpdateService()
|
|
10
|
+
|
|
11
|
+
> **new DialogUpdateService**(`applicationRef`, `updates`): [`DialogUpdateService`](../wiki/Class.DialogUpdateService)
|
|
12
|
+
|
|
13
|
+
Defined in: [dialog-update.service.ts:29](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/dialog-update.service.ts#L29)
|
|
14
|
+
|
|
15
|
+
#### Parameters
|
|
16
|
+
|
|
17
|
+
##### applicationRef
|
|
18
|
+
|
|
19
|
+
`ApplicationRef`
|
|
20
|
+
|
|
21
|
+
##### updates
|
|
22
|
+
|
|
23
|
+
`SwUpdate`
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
[`DialogUpdateService`](../wiki/Class.DialogUpdateService)
|
|
28
|
+
|
|
29
|
+
## Methods
|
|
30
|
+
|
|
31
|
+
### start()
|
|
32
|
+
|
|
33
|
+
> **start**(): `void`
|
|
34
|
+
|
|
35
|
+
Defined in: [dialog-update.service.ts:37](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/dialog-update.service.ts#L37)
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / LogUpdateService
|
|
2
|
+
|
|
3
|
+
# Class: LogUpdateService
|
|
4
|
+
|
|
5
|
+
Defined in: [log-update.service.ts:8](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/log-update.service.ts#L8)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new LogUpdateService()
|
|
10
|
+
|
|
11
|
+
> **new LogUpdateService**(`updates`): [`LogUpdateService`](../wiki/Class.LogUpdateService)
|
|
12
|
+
|
|
13
|
+
Defined in: [log-update.service.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/log-update.service.ts#L10)
|
|
14
|
+
|
|
15
|
+
#### Parameters
|
|
16
|
+
|
|
17
|
+
##### updates
|
|
18
|
+
|
|
19
|
+
`SwUpdate`
|
|
20
|
+
|
|
21
|
+
#### Returns
|
|
22
|
+
|
|
23
|
+
[`LogUpdateService`](../wiki/Class.LogUpdateService)
|
|
24
|
+
|
|
25
|
+
## Methods
|
|
26
|
+
|
|
27
|
+
### start()
|
|
28
|
+
|
|
29
|
+
> **start**(): `void`
|
|
30
|
+
|
|
31
|
+
Defined in: [log-update.service.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/log-update.service.ts#L13)
|
|
32
|
+
|
|
33
|
+
#### Returns
|
|
34
|
+
|
|
35
|
+
`void`
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / ServiceWorkerUpdateDialogComponent
|
|
2
|
+
|
|
3
|
+
# Class: ServiceWorkerUpdateDialogComponent
|
|
4
|
+
|
|
5
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:28](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L28)
|
|
6
|
+
|
|
7
|
+
## Implements
|
|
8
|
+
|
|
9
|
+
- `AfterViewInit`
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
|
|
13
|
+
### new ServiceWorkerUpdateDialogComponent()
|
|
14
|
+
|
|
15
|
+
> **new ServiceWorkerUpdateDialogComponent**(): [`ServiceWorkerUpdateDialogComponent`](../wiki/Class.ServiceWorkerUpdateDialogComponent)
|
|
16
|
+
|
|
17
|
+
#### Returns
|
|
18
|
+
|
|
19
|
+
[`ServiceWorkerUpdateDialogComponent`](../wiki/Class.ServiceWorkerUpdateDialogComponent)
|
|
20
|
+
|
|
21
|
+
## Properties
|
|
22
|
+
|
|
23
|
+
### closeDialog
|
|
24
|
+
|
|
25
|
+
> **closeDialog**: `EventEmitter`\<`void`\>
|
|
26
|
+
|
|
27
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:34](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L34)
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### dialog
|
|
32
|
+
|
|
33
|
+
> **dialog**: `ElementRef`\<`HTMLDialogElement`\>
|
|
34
|
+
|
|
35
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:31](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L31)
|
|
36
|
+
|
|
37
|
+
***
|
|
38
|
+
|
|
39
|
+
### updateAvailableEvent
|
|
40
|
+
|
|
41
|
+
> `readonly` **updateAvailableEvent**: `VersionEvent`
|
|
42
|
+
|
|
43
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:36](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L36)
|
|
44
|
+
|
|
45
|
+
## Methods
|
|
46
|
+
|
|
47
|
+
### close()
|
|
48
|
+
|
|
49
|
+
> **close**(): `void`
|
|
50
|
+
|
|
51
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:42](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L42)
|
|
52
|
+
|
|
53
|
+
#### Returns
|
|
54
|
+
|
|
55
|
+
`void`
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### ngAfterViewInit()
|
|
60
|
+
|
|
61
|
+
> **ngAfterViewInit**(): `void`
|
|
62
|
+
|
|
63
|
+
Defined in: [service-worker-update-dialog/service-worker-update-dialog.component.ts:38](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts#L38)
|
|
64
|
+
|
|
65
|
+
A callback method that is invoked immediately after
|
|
66
|
+
Angular has completed initialization of a component's view.
|
|
67
|
+
It is invoked only once when the view is instantiated.
|
|
68
|
+
|
|
69
|
+
#### Returns
|
|
70
|
+
|
|
71
|
+
`void`
|
|
72
|
+
|
|
73
|
+
#### Implementation of
|
|
74
|
+
|
|
75
|
+
`AfterViewInit.ngAfterViewInit`
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / ProvideServiceWorkerUpdater
|
|
2
|
+
|
|
3
|
+
# Function: ProvideServiceWorkerUpdater()
|
|
4
|
+
|
|
5
|
+
> **ProvideServiceWorkerUpdater**(...`providers`): (`Provider` \| `EnvironmentProviders`)[]
|
|
6
|
+
|
|
7
|
+
Defined in: [provide-service-worker-updater.ts:12](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L12)
|
|
8
|
+
|
|
9
|
+
## Parameters
|
|
10
|
+
|
|
11
|
+
### providers
|
|
12
|
+
|
|
13
|
+
...(`Provider` \| `EnvironmentProviders`)[]
|
|
14
|
+
|
|
15
|
+
## Returns
|
|
16
|
+
|
|
17
|
+
(`Provider` \| `EnvironmentProviders`)[]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / UnregisterServiceWorker
|
|
2
|
+
|
|
3
|
+
# Function: UnregisterServiceWorker()
|
|
4
|
+
|
|
5
|
+
> **UnregisterServiceWorker**(`environment`): `void`
|
|
6
|
+
|
|
7
|
+
Defined in: [unregister-service-worker.ts:3](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/unregister-service-worker.ts#L3)
|
|
8
|
+
|
|
9
|
+
## Parameters
|
|
10
|
+
|
|
11
|
+
### environment
|
|
12
|
+
|
|
13
|
+
`Environment`
|
|
14
|
+
|
|
15
|
+
## Returns
|
|
16
|
+
|
|
17
|
+
`void`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / withAutoUpdater
|
|
2
|
+
|
|
3
|
+
# Function: withAutoUpdater()
|
|
4
|
+
|
|
5
|
+
> **withAutoUpdater**(): `EnvironmentProviders`
|
|
6
|
+
|
|
7
|
+
Defined in: [provide-service-worker-updater.ts:36](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L36)
|
|
8
|
+
|
|
9
|
+
## Returns
|
|
10
|
+
|
|
11
|
+
`EnvironmentProviders`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[@rxap/service-worker](../wiki/globals) / withDialogUpdater
|
|
2
|
+
|
|
3
|
+
# Function: withDialogUpdater()
|
|
4
|
+
|
|
5
|
+
> **withDialogUpdater**(): `EnvironmentProviders`
|
|
6
|
+
|
|
7
|
+
Defined in: [provide-service-worker-updater.ts:29](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/service-worker/src/lib/provide-service-worker-updater.ts#L29)
|
|
8
|
+
|
|
9
|
+
## Returns
|
|
10
|
+
|
|
11
|
+
`EnvironmentProviders`
|