@rxap/environment 19.2.0 → 21.0.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/compodoc/changelog.html +12 -0
  3. package/compodoc/components/EnvironmentComponent.html +56 -36
  4. package/compodoc/dependencies.html +3 -3
  5. package/compodoc/js/search/search_index.js +2 -2
  6. package/compodoc/properties.html +1 -1
  7. package/docs/documentation.json +73 -73
  8. package/docs/html/classes/EnvironmentComponent.html +2 -2
  9. package/docs/html/functions/DetermineProductionEnvironmentName.html +1 -1
  10. package/docs/html/functions/DetermineReleaseName.html +1 -1
  11. package/docs/html/functions/IsNotReleaseVersion.html +1 -1
  12. package/docs/html/functions/ProvideEnvironment.html +1 -1
  13. package/docs/html/functions/UpdateEnvironment.html +2 -2
  14. package/docs/html/index.html +2 -2
  15. package/docs/html/interfaces/Environment.html +11 -11
  16. package/docs/html/modules.html +1 -1
  17. package/docs/html/types/AnySchema.html +1 -1
  18. package/docs/html/variables/RXAP_ENVIRONMENT.html +1 -1
  19. package/docs/markdown/README.md +1 -1
  20. package/docs/markdown/classes/EnvironmentComponent.md +3 -3
  21. package/docs/markdown/functions/DetermineProductionEnvironmentName.md +2 -2
  22. package/docs/markdown/functions/DetermineReleaseName.md +2 -2
  23. package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
  24. package/docs/markdown/functions/ProvideEnvironment.md +2 -2
  25. package/docs/markdown/functions/UpdateEnvironment.md +2 -2
  26. package/docs/markdown/globals.md +2 -2
  27. package/docs/markdown/interfaces/Environment.md +18 -18
  28. package/docs/markdown/type-aliases/AnySchema.md +2 -2
  29. package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
  30. package/docs/wiki/Class.EnvironmentComponent.md +2 -2
  31. package/docs/wiki/Function.DetermineProductionEnvironmentName.md +1 -1
  32. package/docs/wiki/Function.DetermineReleaseName.md +1 -1
  33. package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
  34. package/docs/wiki/Function.ProvideEnvironment.md +1 -1
  35. package/docs/wiki/Function.UpdateEnvironment.md +1 -1
  36. package/docs/wiki/Interface.Environment.md +17 -17
  37. package/docs/wiki/TypeAlias.AnySchema.md +1 -1
  38. package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
  39. package/docs/wiki/globals.md +1 -1
  40. package/fesm2022/rxap-environment.mjs +9 -19
  41. package/fesm2022/rxap-environment.mjs.map +1 -1
  42. package/package.json +10 -9
  43. package/{lib/environment.d.ts → types/rxap-environment.d.ts} +32 -2
  44. package/index.d.ts +0 -8
  45. package/lib/determine-production-environment-name.d.ts +0 -2
  46. package/lib/determine-release-name.d.ts +0 -2
  47. package/lib/environment/environment.component.d.ts +0 -7
  48. package/lib/environment/tokens.d.ts +0 -3
  49. package/lib/is-not-release-version.d.ts +0 -2
  50. package/lib/provide-environment.d.ts +0 -5
  51. package/lib/update-environment.d.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 21.0.1-dev.1 (2026-11-22)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **angular:** add ng-prism styleguide targets and environment showcase
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Claude Opus 5.5
10
+ - Merzough Münker
11
+
12
+ ## 21.0.1-dev.0 (2026-11-20)
13
+
14
+ This was a version bump only for angular-environment to align it with other projects, there were no code changes.
15
+
1
16
  ## 19.2.0 (2026-11-20)
2
17
 
3
18
  This was a version bump only for angular-environment to align it with other projects, there were no code changes.
@@ -82,6 +82,18 @@
82
82
  <div class="content getting-started">
83
83
  <div class="content-data">
84
84
 
85
+ <h2>21.0.1-dev.1 (2026-11-22)</h2>
86
+ <h3>🚀 Features</h3>
87
+ <ul>
88
+ <li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
89
+ </ul>
90
+ <h3>❤️ Thank You</h3>
91
+ <ul>
92
+ <li>Claude Opus 5.5</li>
93
+ <li>Merzough Münker</li>
94
+ </ul>
95
+ <h2>21.0.1-dev.0 (2026-11-20)</h2>
96
+ <p>This was a version bump only for angular-environment to align it with other projects, there were no code changes.</p>
85
97
  <h2>19.2.0 (2026-11-20)</h2>
86
98
  <p>This was a version bump only for angular-environment to align it with other projects, there were no code changes.</p>
87
99
  <h2>19.2.0-dev.0 (2026-06-19)</h2>
@@ -161,7 +161,6 @@
161
161
  <tr>
162
162
  <td class="col-md-3">imports</td>
163
163
  <td class="col-md-9">
164
- <code>NgIf</code>
165
164
  <code>DatePipe</code>
166
165
  </td>
167
166
  </tr>
@@ -256,7 +255,7 @@
256
255
  </tr>
257
256
  <tr>
258
257
  <td class="col-md-4">
259
- <div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/lib/environment/environment.component.ts:24</a></div>
258
+ <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/environment/environment.component.ts:31</a></div>
260
259
  </td>
261
260
  </tr>
262
261
 
@@ -269,18 +268,25 @@
269
268
 
270
269
 
271
270
  <div class="tab-pane fade tab-source-code" id="source">
272
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
273
- DatePipe,
274
- NgIf,
275
- } from &#x27;@angular/common&#x27;;
271
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { DatePipe } from &#x27;@angular/common&#x27;;
276
272
  import {
277
273
  ChangeDetectionStrategy,
278
274
  Component,
279
275
  inject,
280
276
  } from &#x27;@angular/core&#x27;;
277
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
281
278
  import { Environment } from &#x27;../environment&#x27;;
282
279
  import { RXAP_ENVIRONMENT } from &#x27;./tokens&#x27;;
283
280
 
281
+ @Showcase({
282
+ title: &#x27;Environment&#x27;,
283
+ category: &#x27;Environment&#x27;,
284
+ description: &#x27;Shows the build information of the running app. The values are read from the &#x60;RXAP_ENVIRONMENT&#x60; token, which the styleguide host provides with demo data.&#x27;,
285
+ status: &#x27;stable&#x27;,
286
+ variants: [
287
+ { name: &#x27;Default&#x27; },
288
+ ],
289
+ })
284
290
  @Component({
285
291
  selector: &#x27;rxap-environment&#x27;,
286
292
  templateUrl: &#x27;./environment.component.html&#x27;,
@@ -288,7 +294,7 @@ import { RXAP_ENVIRONMENT } from &#x27;./tokens&#x27;;
288
294
  changeDetection: ChangeDetectionStrategy.OnPush,
289
295
 
290
296
  host: { class: &#x27;rxap-environment&#x27; },
291
- imports: [NgIf, DatePipe]
297
+ imports: [DatePipe]
292
298
  })
293
299
  export class EnvironmentComponent {
294
300
 
@@ -302,38 +308,52 @@ export class EnvironmentComponent {
302
308
  <pre class="line-numbers"><code class="language-html">&lt;div class&#x3D;&quot;p-4&quot;&gt;
303
309
  &lt;h2 class&#x3D;&quot;text-xl font-bold pb-2&quot;&gt;{{ environment.app }}&lt;/h2&gt;
304
310
  &lt;table class&#x3D;&quot;table-auto&quot;&gt;
305
- &lt;tr *ngIf&#x3D;&quot;environment.name&quot;&gt;
306
- &lt;th&gt;Environment&lt;/th&gt;
307
- &lt;td&gt;{{environment.name}}&lt;/td&gt;
308
- &lt;/tr&gt;
311
+ @if (environment.name) {
312
+ &lt;tr&gt;
313
+ &lt;th&gt;Environment&lt;/th&gt;
314
+ &lt;td&gt;{{environment.name}}&lt;/td&gt;
315
+ &lt;/tr&gt;
316
+ }
309
317
  &lt;tr&gt;
310
318
  &lt;th&gt;Production&lt;/th&gt;
311
319
  &lt;td&gt;{{environment.production}}&lt;/td&gt;
312
320
  &lt;/tr&gt;
313
- &lt;tr *ngIf&#x3D;&quot;environment.serviceWorker !&#x3D;&#x3D; undefined&quot;&gt;
314
- &lt;th&gt;Service Worker&lt;/th&gt;
315
- &lt;td&gt;{{environment.serviceWorker}}&lt;/td&gt;
316
- &lt;/tr&gt;
317
- &lt;tr *ngIf&#x3D;&quot;environment.release&quot;&gt;
318
- &lt;th&gt;Release&lt;/th&gt;
319
- &lt;td&gt;{{environment.release}}&lt;/td&gt;
320
- &lt;/tr&gt;
321
- &lt;tr *ngIf&#x3D;&quot;environment.commit&quot;&gt;
322
- &lt;th&gt;Commit&lt;/th&gt;
323
- &lt;td&gt;{{environment.commit}}&lt;/td&gt;
324
- &lt;/tr&gt;
325
- &lt;tr *ngIf&#x3D;&quot;environment.timestamp&quot;&gt;
326
- &lt;th&gt;Timestamp&lt;/th&gt;
327
- &lt;td&gt;{{environment.timestamp | date:&#x27;dd.MM.yy HH:mm:ss&#x27;}}&lt;/td&gt;
328
- &lt;/tr&gt;
329
- &lt;tr *ngIf&#x3D;&quot;environment.branch&quot;&gt;
330
- &lt;th&gt;Branch&lt;/th&gt;
331
- &lt;td&gt;{{environment.branch}}&lt;/td&gt;
332
- &lt;/tr&gt;
333
- &lt;tr *ngIf&#x3D;&quot;environment.tag&quot;&gt;
334
- &lt;th&gt;Tag&lt;/th&gt;
335
- &lt;td&gt;{{environment.tag}}&lt;/td&gt;
336
- &lt;/tr&gt;
321
+ @if (environment.serviceWorker !&#x3D;&#x3D; undefined) {
322
+ &lt;tr&gt;
323
+ &lt;th&gt;Service Worker&lt;/th&gt;
324
+ &lt;td&gt;{{environment.serviceWorker}}&lt;/td&gt;
325
+ &lt;/tr&gt;
326
+ }
327
+ @if (environment.release) {
328
+ &lt;tr&gt;
329
+ &lt;th&gt;Release&lt;/th&gt;
330
+ &lt;td&gt;{{environment.release}}&lt;/td&gt;
331
+ &lt;/tr&gt;
332
+ }
333
+ @if (environment.commit) {
334
+ &lt;tr&gt;
335
+ &lt;th&gt;Commit&lt;/th&gt;
336
+ &lt;td&gt;{{environment.commit}}&lt;/td&gt;
337
+ &lt;/tr&gt;
338
+ }
339
+ @if (environment.timestamp) {
340
+ &lt;tr&gt;
341
+ &lt;th&gt;Timestamp&lt;/th&gt;
342
+ &lt;td&gt;{{environment.timestamp | date:&#x27;dd.MM.yy HH:mm:ss&#x27;}}&lt;/td&gt;
343
+ &lt;/tr&gt;
344
+ }
345
+ @if (environment.branch) {
346
+ &lt;tr&gt;
347
+ &lt;th&gt;Branch&lt;/th&gt;
348
+ &lt;td&gt;{{environment.branch}}&lt;/td&gt;
349
+ &lt;/tr&gt;
350
+ }
351
+ @if (environment.tag) {
352
+ &lt;tr&gt;
353
+ &lt;th&gt;Tag&lt;/th&gt;
354
+ &lt;td&gt;{{environment.tag}}&lt;/td&gt;
355
+ &lt;/tr&gt;
356
+ }
337
357
  &lt;ng-content&gt;&lt;/ng-content&gt;
338
358
  &lt;/table&gt;
339
359
  &lt;/div&gt;
@@ -390,7 +410,7 @@ table {
390
410
  <script src="../js/libs/htmlparser.js"></script>
391
411
  <script src="../js/libs/deep-iterator.js"></script>
392
412
  <script>
393
- var COMPONENT_TEMPLATE = '<div><div class="p-4"> <h2 class="text-xl font-bold pb-2">{{ environment.app }}</h2> <table class="table-auto"> <tr *ngIf="environment.name"> <th>Environment</th> <td>{{environment.name}}</td> </tr> <tr> <th>Production</th> <td>{{environment.production}}</td> </tr> <tr *ngIf="environment.serviceWorker !== undefined"> <th>Service Worker</th> <td>{{environment.serviceWorker}}</td> </tr> <tr *ngIf="environment.release"> <th>Release</th> <td>{{environment.release}}</td> </tr> <tr *ngIf="environment.commit"> <th>Commit</th> <td>{{environment.commit}}</td> </tr> <tr *ngIf="environment.timestamp"> <th>Timestamp</th> <td>{{environment.timestamp | date:\'dd.MM.yy HH:mm:ss\'}}</td> </tr> <tr *ngIf="environment.branch"> <th>Branch</th> <td>{{environment.branch}}</td> </tr> <tr *ngIf="environment.tag"> <th>Tag</th> <td>{{environment.tag}}</td> </tr> <ng-content></ng-content> </table></div></div>'
413
+ var COMPONENT_TEMPLATE = '<div><div class="p-4"> <h2 class="text-xl font-bold pb-2">{{ environment.app }}</h2> <table class="table-auto"> @if (environment.name) { <tr> <th>Environment</th> <td>{{environment.name}}</td> </tr> } <tr> <th>Production</th> <td>{{environment.production}}</td> </tr> @if (environment.serviceWorker !== undefined) { <tr> <th>Service Worker</th> <td>{{environment.serviceWorker}}</td> </tr> } @if (environment.release) { <tr> <th>Release</th> <td>{{environment.release}}</td> </tr> } @if (environment.commit) { <tr> <th>Commit</th> <td>{{environment.commit}}</td> </tr> } @if (environment.timestamp) { <tr> <th>Timestamp</th> <td>{{environment.timestamp | date:\'dd.MM.yy HH:mm:ss\'}}</td> </tr> } @if (environment.branch) { <tr> <th>Branch</th> <td>{{environment.branch}}</td> </tr> } @if (environment.tag) { <tr> <th>Tag</th> <td>{{environment.tag}}</td> </tr> } <ng-content></ng-content> </table></div></div>'
394
414
  var COMPONENTS = [{'name': 'EnvironmentComponent', 'selector': 'rxap-environment'}];
395
415
  var DIRECTIVES = [];
396
416
  var ACTUAL_COMPONENT = {'name': 'EnvironmentComponent'};
@@ -101,7 +101,7 @@
101
101
  </ol>
102
102
  <ul class="dependencies-list">
103
103
  <li>
104
- <b>@nx/devkit</b> : 20.5.0</li>
104
+ <b>@nx/devkit</b> : 22.7.5</li>
105
105
  <li>
106
106
  <b>tslib</b> : 2.6.2</li>
107
107
  </ul>
@@ -113,9 +113,9 @@
113
113
  </ol>
114
114
  <ul class="dependencies-list">
115
115
  <li>
116
- <b>@angular/common</b> : ^19.2.1</li>
116
+ <b>@angular/common</b> : ^21.2.9</li>
117
117
  <li>
118
- <b>@angular/core</b> : ^19.2.1</li>
118
+ <b>@angular/core</b> : ^21.2.9</li>
119
119
  </ul>
120
120
 
121
121