@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 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@^18.0.1 @angular/core@^18.0.1 @angular/service-worker@^18.0.1 @rxap/environment@^18.0.3 @rxap/life-cycle@^18.0.3 rxjs@^7.8.1
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
@@ -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="35" class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:35</a></div>
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="43"
311
- class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:43</a></div>
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="32" class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:32</a></div>
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="37" class="link-to-prism">src/lib/service-worker-update-dialog/service-worker-update-dialog.component.ts:37</a></div>
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 &#x27;@angular/service-worker&#x27;;
419
415
  export const UPDATE_AVAILABLE_EVENT &#x3D; new InjectionToken&lt;VersionEvent&gt;(&#x27;UPDATE_AVAILABLE_EVENT&#x27;);
420
416
 
421
417
  @Component({
422
- selector: &#x27;rxap-service-worker-update-dialog&#x27;,
423
- standalone: true,
424
- imports: [
425
- NgSwitch,
426
- NgSwitchCase,
427
- ],
428
- templateUrl: &#x27;./service-worker-update-dialog.component.html&#x27;,
429
- styleUrls: [ &#x27;./service-worker-update-dialog.component.scss&#x27; ],
418
+ selector: &#x27;rxap-service-worker-update-dialog&#x27;,
419
+ imports: [
420
+ NgSwitch,
421
+ NgSwitchCase,
422
+ ],
423
+ templateUrl: &#x27;./service-worker-update-dialog.component.html&#x27;,
424
+ styleUrls: [&#x27;./service-worker-update-dialog.component.scss&#x27;]
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">&lt;dialog #dialog
456
- class&#x3D;&quot;max-w-6xl rounded overflow-auto drop-shadow-2xl dark:bg-black dark:text-white flex flex-col gap-3 p-6&quot;&gt;
451
+ class&#x3D;&quot;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&quot;&gt;
457
452
  &lt;h2 class&#x3D;&quot;text-2xl font-bold&quot; i18n&gt;A new application version is available&lt;/h2&gt;
458
453
  &lt;ng-container [ngSwitch]&#x3D;&quot;$any(updateAvailableEvent).type&quot;&gt;
459
454
  &lt;table *ngSwitchCase&#x3D;&quot;&#x27;VERSION_DETECTED&#x27;&quot; class&#x3D;&quot;table-auto&quot;&gt;
@@ -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> : 19.3.2</li>
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> : ^18.0.1</li>
116
+ <b>@angular/common</b> : ^19.0.3</li>
117
117
  <li>
118
- <b>@angular/core</b> : ^18.0.1</li>
118
+ <b>@angular/core</b> : ^19.0.3</li>
119
119
  <li>
120
- <b>@angular/service-worker</b> : ^18.0.1</li>
120
+ <b>@angular/service-worker</b> : ^19.0.3</li>
121
121
  <li>
122
- <b>@rxap/environment</b> : ^18.0.3</li>
122
+ <b>@rxap/environment</b> : ^19.0.0</li>
123
123
  <li>
124
- <b>@rxap/life-cycle</b> : ^18.0.3</li>
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>
@@ -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 &#64;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 &#64;angular/common&#64;^18.0.1 &#64;angular/core&#64;^18.0.1 &#64;angular/service-worker&#64;^18.0.1 &#64;rxap/environment&#64;^18.0.3 &#64;rxap/life-cycle&#64;^18.0.3 rxjs&#64;^7.8.1 </code></pre></div><p><strong>Execute the init generator:</strong></p>
99
+ <b>Example :</b><div><pre class="line-numbers"><code class="language-bash">yarn add &#64;angular/common&#64;^19.0.3 &#64;angular/core&#64;^19.0.3 &#64;angular/service-worker&#64;^19.0.3 &#64;rxap/environment&#64;^19.0.0 &#64;rxap/life-cycle&#64;^19.0.0 rxjs&#64;^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 &#64;rxap/service-worker:init</code></pre></div><h1>Generators</h1>
101
101
  <h2>init</h2>
102
102
  <blockquote>
@@ -37,4 +37,4 @@ customElements.define('compodoc-menu', /*#__PURE__*/function (_HTMLElement) {
37
37
  this.innerHTML = tp.strings;
38
38
  }
39
39
  }]);
40
- }( /*#__PURE__*/_wrapNativeSuper(HTMLElement)));
40
+ }(/*#__PURE__*/_wrapNativeSuper(HTMLElement)));