@rxap/service-worker 19.0.0-dev.1 → 19.0.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 +8 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +33 -0
- package/compodoc/components/ServiceWorkerUpdateDialogComponent.html +14 -19
- package/compodoc/dependencies.html +6 -6
- package/compodoc/index.html +1 -1
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +6 -29
- package/compodoc/properties.html +1 -1
- package/docs/classes/AutoUpdateService.html +2 -2
- package/docs/classes/CheckForUpdateService.html +2 -2
- package/docs/classes/DialogUpdateService.html +2 -2
- package/docs/classes/LogUpdateService.html +2 -2
- package/docs/classes/ServiceWorkerUpdateDialogComponent.html +2 -2
- package/docs/documentation.json +110 -82
- package/docs/functions/ProvideServiceWorkerUpdater.html +1 -1
- package/docs/functions/UnregisterServiceWorker.html +1 -1
- package/docs/functions/withAutoUpdater.html +1 -1
- package/docs/functions/withDialogUpdater.html +1 -1
- package/docs/functions/withLogUpdater.html +1 -1
- package/docs/index.html +1 -1
- package/docs/variables/UPDATE_AVAILABLE_EVENT.html +1 -1
- package/package.json +16 -17
- package/theme.css +140 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [19.0.0](https://gitlab.com/rxap/packages/compare/@rxap/service-worker@19.0.0-dev.2...@rxap/service-worker@19.0.0) (2025-01-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rxap/service-worker
|
|
9
|
+
|
|
10
|
+
# [19.0.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/service-worker@19.0.0-dev.1...@rxap/service-worker@19.0.0-dev.2) (2025-01-03)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rxap/service-worker
|
|
13
|
+
|
|
6
14
|
# [19.0.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.9-dev.0...@rxap/service-worker@19.0.0-dev.1) (2024-12-11)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @rxap/service-worker
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ yarn add @rxap/service-worker
|
|
|
18
18
|
```
|
|
19
19
|
**Install peer dependencies:**
|
|
20
20
|
```bash
|
|
21
|
-
yarn add @angular/common@^
|
|
21
|
+
yarn add @angular/common@^19.0.3 @angular/core@^19.0.3 @angular/service-worker@^19.0.3 @rxap/environment@^19.0.0 @rxap/life-cycle@^19.0.0 rxjs@^7.8.1
|
|
22
22
|
```
|
|
23
23
|
**Execute the init generator:**
|
|
24
24
|
```bash
|
package/compodoc/changelog.html
CHANGED
|
@@ -85,6 +85,39 @@
|
|
|
85
85
|
<h1>Change Log</h1>
|
|
86
86
|
<p>All notable changes to this project will be documented in this file.
|
|
87
87
|
See <a href="https://conventionalcommits.org">Conventional Commits</a> for commit guidelines.</p>
|
|
88
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@19.0.0-dev.2...@rxap/service-worker@19.0.0">19.0.0</a> (2025-01-08)</h1>
|
|
89
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
90
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@19.0.0-dev.1...@rxap/service-worker@19.0.0-dev.2">19.0.0-dev.2</a> (2025-01-03)</h1>
|
|
91
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
92
|
+
<h1><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.9-dev.0...@rxap/service-worker@19.0.0-dev.1">19.0.0-dev.1</a> (2024-12-11)</h1>
|
|
93
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
94
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.8...@rxap/service-worker@18.0.9-dev.0">18.0.9-dev.0</a> (2024-12-10)</h2>
|
|
95
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
96
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.8-dev.0...@rxap/service-worker@18.0.8">18.0.8</a> (2024-12-10)</h2>
|
|
97
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
98
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.7...@rxap/service-worker@18.0.8-dev.0">18.0.8-dev.0</a> (2024-12-03)</h2>
|
|
99
|
+
<h3>Bug Fixes</h3>
|
|
100
|
+
<ul>
|
|
101
|
+
<li>ensure the proper theme color is used (<a href="https://gitlab.com/rxap/packages/commit/f6f0a9f5ff667cf5eff57d9fded13b89ccd8ffc7">f6f0a9f</a>)</li>
|
|
102
|
+
</ul>
|
|
103
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.7-dev.0...@rxap/service-worker@18.0.7">18.0.7</a> (2024-10-28)</h2>
|
|
104
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
105
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.6...@rxap/service-worker@18.0.7-dev.0">18.0.7-dev.0</a> (2024-10-04)</h2>
|
|
106
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
107
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.6-dev.0...@rxap/service-worker@18.0.6">18.0.6</a> (2024-08-22)</h2>
|
|
108
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
109
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.5...@rxap/service-worker@18.0.6-dev.0">18.0.6-dev.0</a> (2024-08-22)</h2>
|
|
110
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
111
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.5-dev.1...@rxap/service-worker@18.0.5">18.0.5</a> (2024-07-30)</h2>
|
|
112
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
113
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.5-dev.0...@rxap/service-worker@18.0.5-dev.1">18.0.5-dev.1</a> (2024-07-25)</h2>
|
|
114
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
115
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.4...@rxap/service-worker@18.0.5-dev.0">18.0.5-dev.0</a> (2024-07-09)</h2>
|
|
116
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
117
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.4-dev.0...@rxap/service-worker@18.0.4">18.0.4</a> (2024-06-30)</h2>
|
|
118
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
119
|
+
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.3...@rxap/service-worker@18.0.4-dev.0">18.0.4-dev.0</a> (2024-06-30)</h2>
|
|
120
|
+
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
88
121
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.3-dev.1...@rxap/service-worker@18.0.3">18.0.3</a> (2024-06-28)</h2>
|
|
89
122
|
<p><strong>Note:</strong> Version bump only for package @rxap/service-worker</p>
|
|
90
123
|
<h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/service-worker@18.0.3-dev.0...@rxap/service-worker@18.0.3-dev.1">18.0.3-dev.1</a> (2024-06-21)</h2>
|
|
@@ -155,10 +155,6 @@
|
|
|
155
155
|
<td class="col-md-9"><code>rxap-service-worker-update-dialog</code></td>
|
|
156
156
|
</tr>
|
|
157
157
|
|
|
158
|
-
<tr>
|
|
159
|
-
<td class="col-md-3">standalone</td>
|
|
160
|
-
<td class="col-md-9"><code>true</code></td>
|
|
161
|
-
</tr>
|
|
162
158
|
|
|
163
159
|
<tr>
|
|
164
160
|
<td class="col-md-3">imports</td>
|
|
@@ -274,7 +270,7 @@
|
|
|
274
270
|
</tr>
|
|
275
271
|
<tr>
|
|
276
272
|
<td class="col-md-2" colspan="2">
|
|
277
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
273
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:34</a></div>
|
|
278
274
|
</td>
|
|
279
275
|
</tr>
|
|
280
276
|
</tbody>
|
|
@@ -307,8 +303,8 @@
|
|
|
307
303
|
|
|
308
304
|
<tr>
|
|
309
305
|
<td class="col-md-4">
|
|
310
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
311
|
-
class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:
|
|
306
|
+
<div class="io-line">Defined in <a href="" data-line="42"
|
|
307
|
+
class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:42</a></div>
|
|
312
308
|
</td>
|
|
313
309
|
</tr>
|
|
314
310
|
|
|
@@ -360,7 +356,7 @@
|
|
|
360
356
|
</tr>
|
|
361
357
|
<tr>
|
|
362
358
|
<td class="col-md-4">
|
|
363
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
359
|
+
<div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:31</a></div>
|
|
364
360
|
</td>
|
|
365
361
|
</tr>
|
|
366
362
|
|
|
@@ -387,7 +383,7 @@
|
|
|
387
383
|
</tr>
|
|
388
384
|
<tr>
|
|
389
385
|
<td class="col-md-4">
|
|
390
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
386
|
+
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:36</a></div>
|
|
391
387
|
</td>
|
|
392
388
|
</tr>
|
|
393
389
|
|
|
@@ -419,14 +415,13 @@ import { VersionEvent } from '@angular/service-worker';
|
|
|
419
415
|
export const UPDATE_AVAILABLE_EVENT = new InjectionToken<VersionEvent>('UPDATE_AVAILABLE_EVENT');
|
|
420
416
|
|
|
421
417
|
@Component({
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
styleUrls: [ './service-worker-update-dialog.component.scss' ],
|
|
418
|
+
selector: 'rxap-service-worker-update-dialog',
|
|
419
|
+
imports: [
|
|
420
|
+
NgSwitch,
|
|
421
|
+
NgSwitchCase,
|
|
422
|
+
],
|
|
423
|
+
templateUrl: './service-worker-update-dialog.component.html',
|
|
424
|
+
styleUrls: ['./service-worker-update-dialog.component.scss']
|
|
430
425
|
})
|
|
431
426
|
export class ServiceWorkerUpdateDialogComponent implements AfterViewInit {
|
|
432
427
|
|
|
@@ -453,7 +448,7 @@ export class ServiceWorkerUpdateDialogComponent implements AfterViewInit {
|
|
|
453
448
|
|
|
454
449
|
<div class="tab-pane fade " id="templateData">
|
|
455
450
|
<pre class="line-numbers"><code class="language-html"><dialog #dialog
|
|
456
|
-
class="max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6">
|
|
451
|
+
class="max-w-6xl rounded overflow-auto drop-shadow-2xl bg-white text-black dark:bg-black dark:text-white flex flex-col gap-3 p-6">
|
|
457
452
|
<h2 class="text-2xl font-bold" i18n>A new application version is available</h2>
|
|
458
453
|
<ng-container [ngSwitch]="$any(updateAvailableEvent).type">
|
|
459
454
|
<table *ngSwitchCase="'VERSION_DETECTED'" class="table-auto">
|
|
@@ -526,7 +521,7 @@ export class ServiceWorkerUpdateDialogComponent implements AfterViewInit {
|
|
|
526
521
|
<script src="../js/libs/htmlparser.js"></script>
|
|
527
522
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
528
523
|
<script>
|
|
529
|
-
var COMPONENT_TEMPLATE = '<div><dialog #dialog class="max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6"> <h2 class="text-2xl font-bold" i18n>A new application version is available</h2> <ng-container [ngSwitch]="$any(updateAvailableEvent).type"> <table *ngSwitchCase="\'VERSION_DETECTED\'" class="table-auto"> <tr> <th i18n>Version hash</th> <td>{{$any(updateAvailableEvent)[\'version\'].hash}}</td> </tr> </table> <table *ngSwitchCase="\'VERSION_INSTALLATION_FAILED\'" class="table-auto"> <tr> <th i18n>Version hash</th> <td>{{$any(updateAvailableEvent)[\'version\'].hash}}</td> </tr> <tr> <th i18n>Version installation error</th> <td>{{$any(updateAvailableEvent)[\'error\']}}</td> </tr> </table> <table *ngSwitchCase="\'VERSION_READY\'" class="table-auto"> <tr> <th i18n>Current version hash</th> <td>{{$any(updateAvailableEvent)[\'currentVersion\'].hash}}</td> </tr> <tr> <th i18n>Last version hash</th> <td>{{$any(updateAvailableEvent)[\'latestVersion\'].hash}}</td> </tr> </table> <table *ngSwitchCase="\'NoNewVersionDetectedEvent\'" class="table-auto"> <tr> <th i18n>Version hash</th> <td>{{$any(updateAvailableEvent)[\'version\'].hash}}</td> </tr> </table> </ng-container> <button (click)="close()" class="px-4 py-2 rounded bg-primary-500" i18n>Update</button></dialog></div>'
|
|
524
|
+
var COMPONENT_TEMPLATE = '<div><dialog #dialog class="max-w-6xl rounded overflow-auto drop-shadow-2xl bg-white text-black dark:bg-black dark:text-white flex flex-col gap-3 p-6"> <h2 class="text-2xl font-bold" i18n>A new application version is available</h2> <ng-container [ngSwitch]="$any(updateAvailableEvent).type"> <table *ngSwitchCase="\'VERSION_DETECTED\'" class="table-auto"> <tr> <th i18n>Version hash</th> <td>{{$any(updateAvailableEvent)[\'version\'].hash}}</td> </tr> </table> <table *ngSwitchCase="\'VERSION_INSTALLATION_FAILED\'" class="table-auto"> <tr> <th i18n>Version hash</th> <td>{{$any(updateAvailableEvent)[\'version\'].hash}}</td> </tr> <tr> <th i18n>Version installation error</th> <td>{{$any(updateAvailableEvent)[\'error\']}}</td> </tr> </table> <table *ngSwitchCase="\'VERSION_READY\'" class="table-auto"> <tr> <th i18n>Current version hash</th> <td>{{$any(updateAvailableEvent)[\'currentVersion\'].hash}}</td> </tr> <tr> <th i18n>Last version hash</th> <td>{{$any(updateAvailableEvent)[\'latestVersion\'].hash}}</td> </tr> </table> <table *ngSwitchCase="\'NoNewVersionDetectedEvent\'" class="table-auto"> <tr> <th i18n>Version hash</th> <td>{{$any(updateAvailableEvent)[\'version\'].hash}}</td> </tr> </table> </ng-container> <button (click)="close()" class="px-4 py-2 rounded bg-primary-500" i18n>Update</button></dialog></div>'
|
|
530
525
|
var COMPONENTS = [{'name': 'ServiceWorkerUpdateDialogComponent', 'selector': 'rxap-service-worker-update-dialog'}];
|
|
531
526
|
var DIRECTIVES = [];
|
|
532
527
|
var ACTUAL_COMPONENT = {'name': 'ServiceWorkerUpdateDialogComponent'};
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</ol>
|
|
102
102
|
<ul class="dependencies-list">
|
|
103
103
|
<li>
|
|
104
|
-
<b>@nx/devkit</b> :
|
|
104
|
+
<b>@nx/devkit</b> : 20.3.1</li>
|
|
105
105
|
<li>
|
|
106
106
|
<b>tslib</b> : 2.6.2</li>
|
|
107
107
|
</ul>
|
|
@@ -113,15 +113,15 @@
|
|
|
113
113
|
</ol>
|
|
114
114
|
<ul class="dependencies-list">
|
|
115
115
|
<li>
|
|
116
|
-
<b>@angular/common</b> : ^
|
|
116
|
+
<b>@angular/common</b> : ^19.0.3</li>
|
|
117
117
|
<li>
|
|
118
|
-
<b>@angular/core</b> : ^
|
|
118
|
+
<b>@angular/core</b> : ^19.0.3</li>
|
|
119
119
|
<li>
|
|
120
|
-
<b>@angular/service-worker</b> : ^
|
|
120
|
+
<b>@angular/service-worker</b> : ^19.0.3</li>
|
|
121
121
|
<li>
|
|
122
|
-
<b>@rxap/environment</b> : ^
|
|
122
|
+
<b>@rxap/environment</b> : ^19.0.0</li>
|
|
123
123
|
<li>
|
|
124
|
-
<b>@rxap/life-cycle</b> : ^
|
|
124
|
+
<b>@rxap/life-cycle</b> : ^19.0.0</li>
|
|
125
125
|
<li>
|
|
126
126
|
<b>rxjs</b> : ^7.8.1</li>
|
|
127
127
|
</ul>
|
package/compodoc/index.html
CHANGED
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<h1>Installation</h1>
|
|
97
97
|
<p><strong>Add the package to your workspace:</strong></p>
|
|
98
98
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @rxap/service-worker</code></pre></div><p><strong>Install peer dependencies:</strong></p>
|
|
99
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @angular/common@^
|
|
99
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add @angular/common@^19.0.3 @angular/core@^19.0.3 @angular/service-worker@^19.0.3 @rxap/environment@^19.0.0 @rxap/life-cycle@^19.0.0 rxjs@^7.8.1 </code></pre></div><p><strong>Execute the init generator:</strong></p>
|
|
100
100
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn nx g @rxap/service-worker:init</code></pre></div><h1>Generators</h1>
|
|
101
101
|
<h2>init</h2>
|
|
102
102
|
<blockquote>
|