@rxap/components 19.0.4 → 19.1.0-dev.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/compodoc/changelog.html +5 -0
  3. package/compodoc/components/CopyToClipboardButtonComponent.html +46 -89
  4. package/compodoc/components/CopyToClipboardComponent.html +255 -33
  5. package/compodoc/dependencies.html +2 -2
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +420 -260
  9. package/docs/html/assets/search.js +1 -1
  10. package/docs/html/classes/ConfirmComponent.html +2 -2
  11. package/docs/html/classes/ConfirmDirective.html +3 -3
  12. package/docs/html/classes/ConfirmModule.html +2 -2
  13. package/docs/html/classes/CopyToClipboardButtonComponent.html +2 -2
  14. package/docs/html/classes/CopyToClipboardComponent.html +6 -2
  15. package/docs/html/classes/EmptyRouterOutletComponent.html +2 -2
  16. package/docs/html/classes/JsonViewerComponent.html +4 -4
  17. package/docs/html/classes/NavigateBackButtonComponent.html +2 -2
  18. package/docs/html/index.html +2 -2
  19. package/docs/html/interfaces/Segment.html +2 -2
  20. package/docs/html/modules.html +1 -1
  21. package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +1 -1
  22. package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +1 -1
  23. package/docs/markdown/README.md +1 -1
  24. package/docs/markdown/classes/ConfirmComponent.md +4 -4
  25. package/docs/markdown/classes/ConfirmDirective.md +15 -15
  26. package/docs/markdown/classes/ConfirmModule.md +2 -2
  27. package/docs/markdown/classes/CopyToClipboardButtonComponent.md +6 -14
  28. package/docs/markdown/classes/CopyToClipboardComponent.md +40 -8
  29. package/docs/markdown/classes/EmptyRouterOutletComponent.md +2 -2
  30. package/docs/markdown/classes/JsonViewerComponent.md +18 -18
  31. package/docs/markdown/classes/NavigateBackButtonComponent.md +3 -3
  32. package/docs/markdown/globals.md +2 -2
  33. package/docs/markdown/interfaces/Segment.md +7 -7
  34. package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
  35. package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
  36. package/docs/wiki/Class.ConfirmComponent.md +3 -3
  37. package/docs/wiki/Class.ConfirmDirective.md +14 -14
  38. package/docs/wiki/Class.ConfirmModule.md +1 -1
  39. package/docs/wiki/Class.CopyToClipboardButtonComponent.md +5 -13
  40. package/docs/wiki/Class.CopyToClipboardComponent.md +39 -7
  41. package/docs/wiki/Class.EmptyRouterOutletComponent.md +1 -1
  42. package/docs/wiki/Class.JsonViewerComponent.md +17 -17
  43. package/docs/wiki/Class.NavigateBackButtonComponent.md +2 -2
  44. package/docs/wiki/Interface.Segment.md +6 -6
  45. package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
  46. package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
  47. package/docs/wiki/globals.md +1 -1
  48. package/fesm2022/rxap-components.mjs +19 -27
  49. package/fesm2022/rxap-components.mjs.map +1 -1
  50. package/lib/copy-to-clipboard/copy-to-clipboard.component.d.ts +8 -4
  51. package/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.d.ts +2 -4
  52. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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.1.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/components@19.0.4...@rxap/components@19.1.0-dev.0) (2025-06-25)
7
+
8
+ ### Features
9
+
10
+ - support custom content better ([c722dd3](https://gitlab.com/rxap/packages/commit/c722dd36690d05597fbc048efa4ad5734df1dafe))
11
+
6
12
  ## [19.0.4](https://gitlab.com/rxap/packages/compare/@rxap/components@19.0.4-dev.0...@rxap/components@19.0.4) (2025-05-16)
7
13
 
8
14
  **Note:** Version bump only for package @rxap/components
@@ -85,6 +85,11 @@
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/components@19.0.4...@rxap/components@19.1.0-dev.0">19.1.0-dev.0</a> (2025-06-25)</h1>
89
+ <h3>Features</h3>
90
+ <ul>
91
+ <li>support custom content better (<a href="https://gitlab.com/rxap/packages/commit/c722dd36690d05597fbc048efa4ad5734df1dafe">c722dd3</a>)</li>
92
+ </ul>
88
93
  <h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/components@19.0.4-dev.0...@rxap/components@19.0.4">19.0.4</a> (2025-05-16)</h2>
89
94
  <p><strong>Note:</strong> Version bump only for package @rxap/components</p>
90
95
  <h2><a href="https://gitlab.com/rxap/packages/compare/@rxap/components@19.0.3...@rxap/components@19.0.4-dev.0">19.0.4-dev.0</a> (2025-03-12)</h2>
@@ -191,18 +191,17 @@
191
191
  <h3 id="index">Index</h3>
192
192
  <table class="table table-sm table-bordered index-table">
193
193
  <tbody>
194
-
195
194
  <tr>
196
195
  <td class="col-md-4">
197
- <h6><b>Methods</b></h6>
196
+ <h6><b>Properties</b></h6>
198
197
  </td>
199
198
  </tr>
200
199
  <tr>
201
200
  <td class="col-md-4">
202
201
  <ul class="index-list">
203
202
  <li>
204
- <span class="modifier">Public</span>
205
- <a href="#copied" >copied</a>
203
+ <span class="modifier">Readonly</span>
204
+ <a href="#value" >value</a>
206
205
  </li>
207
206
  </ul>
208
207
  </td>
@@ -210,14 +209,15 @@
210
209
 
211
210
  <tr>
212
211
  <td class="col-md-4">
213
- <h6><b>Inputs</b></h6>
212
+ <h6><b>Methods</b></h6>
214
213
  </td>
215
214
  </tr>
216
215
  <tr>
217
216
  <td class="col-md-4">
218
217
  <ul class="index-list">
219
218
  <li>
220
- <a href="#value" >value</a>
219
+ <span class="modifier">Public</span>
220
+ <a href="#copied" >copied</a>
221
221
  </li>
222
222
  </ul>
223
223
  </td>
@@ -226,88 +226,13 @@
226
226
 
227
227
 
228
228
 
229
+
229
230
  </tbody>
230
231
  </table>
231
232
  </section>
232
233
 
233
- <section data-compodoc="block-constructor">
234
- <h3 id="constructor">Constructor</h3>
235
- <table class="table table-sm table-bordered">
236
- <tbody>
237
- <tr>
238
- <td class="col-md-4">
239
- <code>constructor(snackbar: MatSnackBar)</code>
240
- </td>
241
- </tr>
242
- <tr>
243
- <td class="col-md-4">
244
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.ts:29</a></div>
245
- </td>
246
- </tr>
247
234
 
248
- <tr>
249
- <td class="col-md-4">
250
- <div>
251
- <b>Parameters :</b>
252
- <table class="params">
253
- <thead>
254
- <tr>
255
- <td>Name</td>
256
- <td>Type</td>
257
- <td>Optional</td>
258
- </tr>
259
- </thead>
260
- <tbody>
261
- <tr>
262
- <td>snackbar</td>
263
-
264
- <td>
265
- <code>MatSnackBar</code>
266
- </td>
267
-
268
- <td>
269
- No
270
- </td>
271
-
272
- </tr>
273
- </tbody>
274
- </table>
275
- </div>
276
- </td>
277
- </tr>
278
- </tbody>
279
- </table>
280
- </section>
281
235
 
282
- <section data-compodoc="block-inputs">
283
- <h3 id="inputs">Inputs</h3>
284
- <table class="table table-sm table-bordered">
285
- <tbody>
286
- <tr>
287
- <td class="col-md-4">
288
- <a name="value"></a>
289
- <b>value</b>
290
- </td>
291
- </tr>
292
- <tr>
293
- <td class="col-md-4">
294
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
295
-
296
- </td>
297
- </tr>
298
- <tr>
299
- <td class="col-md-4">
300
- <i>Default value : </i><code>&#x27;&#x27;</code>
301
- </td>
302
- </tr>
303
- <tr>
304
- <td class="col-md-2" colspan="2">
305
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.ts:29</a></div>
306
- </td>
307
- </tr>
308
- </tbody>
309
- </table>
310
- </section>
311
236
 
312
237
 
313
238
 
@@ -356,6 +281,38 @@
356
281
  </tbody>
357
282
  </table>
358
283
  </section>
284
+ <section data-compodoc="block-properties">
285
+
286
+ <h3 id="inputs">
287
+ Properties
288
+ </h3>
289
+ <table class="table table-sm table-bordered">
290
+ <tbody>
291
+ <tr>
292
+ <td class="col-md-4">
293
+ <a name="value"></a>
294
+ <span class="name">
295
+ <span class="modifier">Readonly</span>
296
+ <span ><b>value</b></span>
297
+ <a href="#value"><span class="icon ion-ios-link"></span></a>
298
+ </span>
299
+ </td>
300
+ </tr>
301
+ <tr>
302
+ <td class="col-md-4">
303
+ <i>Default value : </i><code>input(&#x27;&#x27;)</code>
304
+ </td>
305
+ </tr>
306
+ <tr>
307
+ <td class="col-md-4">
308
+ <div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/copy-to-clipboard-button/copy-to-clipboard-button.component.ts:30</a></div>
309
+ </td>
310
+ </tr>
311
+
312
+
313
+ </tbody>
314
+ </table>
315
+ </section>
359
316
 
360
317
  </div>
361
318
 
@@ -364,7 +321,9 @@
364
321
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
365
322
  ChangeDetectionStrategy,
366
323
  Component,
324
+ inject,
367
325
  Inject,
326
+ input,
368
327
  Input,
369
328
  } from &#x27;@angular/core&#x27;;
370
329
  import {
@@ -388,14 +347,12 @@ import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
388
347
  ]
389
348
  })
390
349
  export class CopyToClipboardButtonComponent {
391
- @Input()
392
- public value &#x3D; &#x27;&#x27;;
350
+ readonly value &#x3D; input(&#x27;&#x27;);
393
351
 
394
- constructor(@Inject(MatSnackBar) private readonly snackbar: MatSnackBar) {
395
- }
352
+ private readonly snackbar &#x3D; inject(MatSnackBar);
396
353
 
397
354
  public copied() {
398
- this.snackbar.open(&#x27;Erfolgreich in die Zwischenablage kopiert.&#x27;, &#x27;OK&#x27;, {
355
+ this.snackbar.open($localize&#x60;Successfully copied to the clipboard.&#x60;, &#x27;OK&#x27;, {
399
356
  duration: 2500,
400
357
  });
401
358
  }
@@ -407,7 +364,7 @@ export class CopyToClipboardButtonComponent {
407
364
  <pre class="line-numbers"><code class="language-html">&lt;button
408
365
  (cdkCopyToClipboardCopied)&#x3D;&quot;copied()&quot;
409
366
  (click)&#x3D;&quot;$event.stopPropagation()&quot;
410
- [cdkCopyToClipboard]&#x3D;&quot;value&quot;
367
+ [cdkCopyToClipboard]&#x3D;&quot;value()&quot;
411
368
  mat-icon-button
412
369
  type&#x3D;&quot;button&quot;
413
370
  &gt;
@@ -448,7 +405,7 @@ export class CopyToClipboardButtonComponent {
448
405
  <script src="../js/libs/htmlparser.js"></script>
449
406
  <script src="../js/libs/deep-iterator.js"></script>
450
407
  <script>
451
- var COMPONENT_TEMPLATE = '<div><button (cdkCopyToClipboardCopied)="copied()" (click)="$event.stopPropagation()" [cdkCopyToClipboard]="value" mat-icon-button type="button"> <mat-icon>content_copy</mat-icon></button></div>'
408
+ var COMPONENT_TEMPLATE = '<div><button (cdkCopyToClipboardCopied)="copied()" (click)="$event.stopPropagation()" [cdkCopyToClipboard]="value()" mat-icon-button type="button"> <mat-icon>content_copy</mat-icon></button></div>'
452
409
  var COMPONENTS = [{'name': 'ConfirmComponent', 'selector': 'rxap-confirm'},{'name': 'CopyToClipboardButtonComponent', 'selector': 'rxap-copy-to-clipboard-button'},{'name': 'CopyToClipboardComponent', 'selector': 'rxap-copy-to-clipboard'},{'name': 'EmptyRouterOutletComponent', 'selector': 'rxap-empty-router-outlet'},{'name': 'JsonViewerComponent', 'selector': 'rxap-json-viewer'},{'name': 'NavigateBackButtonComponent', 'selector': 'rxap-navigate-back-button'}];
453
410
  var DIRECTIVES = [{'name': 'ConfirmDirective', 'selector': '[rxapConfirm]'}];
454
411
  var ACTUAL_COMPONENT = {'name': 'CopyToClipboardButtonComponent'};
@@ -157,8 +157,8 @@
157
157
  <tr>
158
158
  <td class="col-md-3">imports</td>
159
159
  <td class="col-md-9">
160
- <code>NgIf</code>
161
160
  <code><a href="../components/CopyToClipboardButtonComponent.html" target="_self" >CopyToClipboardButtonComponent</a></code>
161
+ <code>NgClass</code>
162
162
  </td>
163
163
  </tr>
164
164
 
@@ -189,6 +189,45 @@
189
189
  <h3 id="index">Index</h3>
190
190
  <table class="table table-sm table-bordered index-table">
191
191
  <tbody>
192
+ <tr>
193
+ <td class="col-md-4">
194
+ <h6><b>Properties</b></h6>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td class="col-md-4">
199
+ <ul class="index-list">
200
+ <li>
201
+ <span class="modifier">Readonly</span>
202
+ <a href="#active" >active</a>
203
+ </li>
204
+ <li>
205
+ <span class="modifier">Readonly</span>
206
+ <a href="#containerClass" >containerClass</a>
207
+ </li>
208
+ <li>
209
+ <span class="modifier">Readonly</span>
210
+ <a href="#disabled" >disabled</a>
211
+ </li>
212
+ <li>
213
+ <span class="modifier">Readonly</span>
214
+ <a href="#isPositionAfter" >isPositionAfter</a>
215
+ </li>
216
+ <li>
217
+ <span class="modifier">Readonly</span>
218
+ <a href="#isPositionBefore" >isPositionBefore</a>
219
+ </li>
220
+ <li>
221
+ <span class="modifier">Readonly</span>
222
+ <a href="#position" >position</a>
223
+ </li>
224
+ <li>
225
+ <span class="modifier">Readonly</span>
226
+ <a href="#value" >value</a>
227
+ </li>
228
+ </ul>
229
+ </td>
230
+ </tr>
192
231
 
193
232
 
194
233
  <tr>
@@ -230,12 +269,6 @@
230
269
  <b>active</b>
231
270
  </td>
232
271
  </tr>
233
- <tr>
234
- <td class="col-md-4">
235
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
236
-
237
- </td>
238
- </tr>
239
272
  <tr>
240
273
  <td class="col-md-4">
241
274
  <i>Default value : </i><code>true</code>
@@ -243,7 +276,7 @@
243
276
  </tr>
244
277
  <tr>
245
278
  <td class="col-md-2" colspan="2">
246
- <div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:18</a></div>
279
+ <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:22</a></div>
247
280
  </td>
248
281
  </tr>
249
282
  </tbody>
@@ -256,12 +289,6 @@
256
289
  <b>disabled</b>
257
290
  </td>
258
291
  </tr>
259
- <tr>
260
- <td class="col-md-4">
261
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
262
-
263
- </td>
264
- </tr>
265
292
  <tr>
266
293
  <td class="col-md-4">
267
294
  <i>Default value : </i><code>false</code>
@@ -269,7 +296,7 @@
269
296
  </tr>
270
297
  <tr>
271
298
  <td class="col-md-2" colspan="2">
272
- <div class="io-line">Defined in <a href="" data-line="19" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:19</a></div>
299
+ <div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:23</a></div>
273
300
  </td>
274
301
  </tr>
275
302
  </tbody>
@@ -282,12 +309,6 @@
282
309
  <b>value</b>
283
310
  </td>
284
311
  </tr>
285
- <tr>
286
- <td class="col-md-4">
287
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
288
-
289
- </td>
290
- </tr>
291
312
  <tr>
292
313
  <td class="col-md-4">
293
314
  <i>Required : </i>&nbsp;<b>true</b>
@@ -295,7 +316,7 @@
295
316
  </tr>
296
317
  <tr>
297
318
  <td class="col-md-2" colspan="2">
298
- <div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:20</a></div>
319
+ <div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:24</a></div>
299
320
  </td>
300
321
  </tr>
301
322
  </tbody>
@@ -305,16 +326,203 @@
305
326
 
306
327
 
307
328
 
329
+ <section data-compodoc="block-properties">
330
+
331
+ <h3 id="inputs">
332
+ Properties
333
+ </h3>
334
+ <table class="table table-sm table-bordered">
335
+ <tbody>
336
+ <tr>
337
+ <td class="col-md-4">
338
+ <a name="active"></a>
339
+ <span class="name">
340
+ <span class="modifier">Readonly</span>
341
+ <span ><b>active</b></span>
342
+ <a href="#active"><span class="icon ion-ios-link"></span></a>
343
+ </span>
344
+ </td>
345
+ </tr>
346
+ <tr>
347
+ <td class="col-md-4">
348
+ <i>Default value : </i><code>true</code>
349
+ </td>
350
+ </tr>
351
+ <tr>
352
+ <td class="col-md-4">
353
+ <div class="io-line">Defined in <a href="" data-line="22" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:22</a></div>
354
+ </td>
355
+ </tr>
356
+
357
+
358
+ </tbody>
359
+ </table>
360
+ <table class="table table-sm table-bordered">
361
+ <tbody>
362
+ <tr>
363
+ <td class="col-md-4">
364
+ <a name="containerClass"></a>
365
+ <span class="name">
366
+ <span class="modifier">Readonly</span>
367
+ <span ><b>containerClass</b></span>
368
+ <a href="#containerClass"><span class="icon ion-ios-link"></span></a>
369
+ </span>
370
+ </td>
371
+ </tr>
372
+ <tr>
373
+ <td class="col-md-4">
374
+ <i>Default value : </i><code>input&lt;string&gt;(&#x27;flex flex-row gap-2&#x27;)</code>
375
+ </td>
376
+ </tr>
377
+ <tr>
378
+ <td class="col-md-4">
379
+ <div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:26</a></div>
380
+ </td>
381
+ </tr>
382
+
383
+
384
+ </tbody>
385
+ </table>
386
+ <table class="table table-sm table-bordered">
387
+ <tbody>
388
+ <tr>
389
+ <td class="col-md-4">
390
+ <a name="disabled"></a>
391
+ <span class="name">
392
+ <span class="modifier">Readonly</span>
393
+ <span ><b>disabled</b></span>
394
+ <a href="#disabled"><span class="icon ion-ios-link"></span></a>
395
+ </span>
396
+ </td>
397
+ </tr>
398
+ <tr>
399
+ <td class="col-md-4">
400
+ <i>Default value : </i><code>false</code>
401
+ </td>
402
+ </tr>
403
+ <tr>
404
+ <td class="col-md-4">
405
+ <div class="io-line">Defined in <a href="" data-line="23" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:23</a></div>
406
+ </td>
407
+ </tr>
408
+
409
+
410
+ </tbody>
411
+ </table>
412
+ <table class="table table-sm table-bordered">
413
+ <tbody>
414
+ <tr>
415
+ <td class="col-md-4">
416
+ <a name="isPositionAfter"></a>
417
+ <span class="name">
418
+ <span class="modifier">Readonly</span>
419
+ <span ><b>isPositionAfter</b></span>
420
+ <a href="#isPositionAfter"><span class="icon ion-ios-link"></span></a>
421
+ </span>
422
+ </td>
423
+ </tr>
424
+ <tr>
425
+ <td class="col-md-4">
426
+ <i>Default value : </i><code>computed(() &#x3D;&gt; this.position() &#x3D;&#x3D;&#x3D; &#x27;after&#x27;)</code>
427
+ </td>
428
+ </tr>
429
+ <tr>
430
+ <td class="col-md-4">
431
+ <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:31</a></div>
432
+ </td>
433
+ </tr>
434
+
435
+
436
+ </tbody>
437
+ </table>
438
+ <table class="table table-sm table-bordered">
439
+ <tbody>
440
+ <tr>
441
+ <td class="col-md-4">
442
+ <a name="isPositionBefore"></a>
443
+ <span class="name">
444
+ <span class="modifier">Readonly</span>
445
+ <span ><b>isPositionBefore</b></span>
446
+ <a href="#isPositionBefore"><span class="icon ion-ios-link"></span></a>
447
+ </span>
448
+ </td>
449
+ </tr>
450
+ <tr>
451
+ <td class="col-md-4">
452
+ <i>Default value : </i><code>computed(() &#x3D;&gt; this.position() &#x3D;&#x3D;&#x3D; &#x27;before&#x27;)</code>
453
+ </td>
454
+ </tr>
455
+ <tr>
456
+ <td class="col-md-4">
457
+ <div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:30</a></div>
458
+ </td>
459
+ </tr>
460
+
461
+
462
+ </tbody>
463
+ </table>
464
+ <table class="table table-sm table-bordered">
465
+ <tbody>
466
+ <tr>
467
+ <td class="col-md-4">
468
+ <a name="position"></a>
469
+ <span class="name">
470
+ <span class="modifier">Readonly</span>
471
+ <span ><b>position</b></span>
472
+ <a href="#position"><span class="icon ion-ios-link"></span></a>
473
+ </span>
474
+ </td>
475
+ </tr>
476
+ <tr>
477
+ <td class="col-md-4">
478
+ <i>Default value : </i><code>input&lt;&#x27;before&#x27; | &#x27;after&#x27;&gt;(&#x27;before&#x27;)</code>
479
+ </td>
480
+ </tr>
481
+ <tr>
482
+ <td class="col-md-4">
483
+ <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:28</a></div>
484
+ </td>
485
+ </tr>
486
+
487
+
488
+ </tbody>
489
+ </table>
490
+ <table class="table table-sm table-bordered">
491
+ <tbody>
492
+ <tr>
493
+ <td class="col-md-4">
494
+ <a name="value"></a>
495
+ <span class="name">
496
+ <span class="modifier">Readonly</span>
497
+ <span ><b>value</b></span>
498
+ <a href="#value"><span class="icon ion-ios-link"></span></a>
499
+ </span>
500
+ </td>
501
+ </tr>
502
+ <tr>
503
+ <td class="col-md-4">
504
+ <div class="io-line">Defined in <a href="" data-line="24" class="link-to-prism">src/lib/copy-to-clipboard/copy-to-clipboard.component.ts:24</a></div>
505
+ </td>
506
+ </tr>
507
+
508
+
509
+ </tbody>
510
+ </table>
511
+ </section>
308
512
 
309
513
  </div>
310
514
 
311
515
 
312
516
  <div class="tab-pane fade tab-source-code" id="source">
313
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgIf } from &#x27;@angular/common&#x27;;
517
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
518
+ NgClass,
519
+ NgIf,
520
+ } from &#x27;@angular/common&#x27;;
314
521
  import {
315
522
  ChangeDetectionStrategy,
316
523
  Component,
317
- Input,
524
+ computed,
525
+ input,
318
526
  } from &#x27;@angular/core&#x27;;
319
527
  import { CopyToClipboardButtonComponent } from &#x27;../copy-to-clipboard-button/copy-to-clipboard-button.component&#x27;;
320
528
 
@@ -323,23 +531,37 @@ import { CopyToClipboardButtonComponent } from &#x27;../copy-to-clipboard-button
323
531
  templateUrl: &#x27;./copy-to-clipboard.component.html&#x27;,
324
532
  styleUrls: [&#x27;./copy-to-clipboard.component.scss&#x27;],
325
533
  changeDetection: ChangeDetectionStrategy.OnPush,
326
- imports: [NgIf, CopyToClipboardButtonComponent]
534
+ imports: [ CopyToClipboardButtonComponent, NgClass ],
327
535
  })
328
536
  export class CopyToClipboardComponent {
329
537
 
330
- @Input() public active &#x3D; true;
331
- @Input() public disabled &#x3D; false;
332
- @Input({ required: true }) public value!: string;
538
+ readonly active &#x3D; input(true);
539
+ readonly disabled &#x3D; input(false);
540
+ readonly value &#x3D; input.required&lt;string&gt;();
541
+
542
+ readonly containerClass &#x3D; input&lt;string&gt;(&#x27;flex flex-row gap-2&#x27;);
543
+
544
+ readonly position &#x3D; input&lt;&#x27;before&#x27; | &#x27;after&#x27;&gt;(&#x27;before&#x27;);
545
+
546
+ readonly isPositionBefore &#x3D; computed(() &#x3D;&gt; this.position() &#x3D;&#x3D;&#x3D; &#x27;before&#x27;);
547
+ readonly isPositionAfter &#x3D; computed(() &#x3D;&gt; this.position() &#x3D;&#x3D;&#x3D; &#x27;after&#x27;);
333
548
 
334
549
  }
335
550
  </code></pre>
336
551
  </div>
337
552
 
338
553
  <div class="tab-pane fade " id="templateData">
339
- <pre class="line-numbers"><code class="language-html">&lt;div class&#x3D;&quot;flex flex-row gap-0.5 items-center&quot;&gt;
340
- &lt;rxap-copy-to-clipboard-button *ngIf&#x3D;&quot;active&quot; [value]&#x3D;&quot;value&quot; class&#x3D;&quot;w-[40px]&quot;&gt;&lt;/rxap-copy-to-clipboard-button&gt;
341
- &lt;span #ref class&#x3D;&quot;content grow-0&quot;&gt;&lt;ng-content&gt;&lt;/ng-content&gt;&lt;/span&gt;
342
- &lt;span *ngIf&#x3D;&quot;!ref.innerHTML.trim()&quot; class&#x3D;&quot;content grow-0&quot;&gt;{{ value }}&lt;/span&gt;
554
+ <pre class="line-numbers"><code class="language-html">&lt;div class&#x3D;&quot;flex flex-row gap-2 items-center&quot;&gt;
555
+ @if (active() &amp;&amp; isPositionBefore()) {
556
+ &lt;rxap-copy-to-clipboard-button [value]&#x3D;&quot;value()&quot; class&#x3D;&quot;w-[40px]&quot;&gt;&lt;/rxap-copy-to-clipboard-button&gt;
557
+ }
558
+ &lt;span #ref class&#x3D;&quot;grow {{ containerClass() }}&quot; [ngClass]&#x3D;&quot;{ &#x27;hidden&#x27;: !ref.innerHTML.trim() }&quot;&gt;&lt;ng-content&gt;&lt;/ng-content&gt;&lt;/span&gt;
559
+ @if (!ref.innerHTML.trim()) {
560
+ &lt;span class&#x3D;&quot;grow&quot;&gt;{{ value() }}&lt;/span&gt;
561
+ }
562
+ @if (active() &amp;&amp; isPositionAfter()) {
563
+ &lt;rxap-copy-to-clipboard-button [value]&#x3D;&quot;value()&quot; class&#x3D;&quot;w-[40px]&quot;&gt;&lt;/rxap-copy-to-clipboard-button&gt;
564
+ }
343
565
  &lt;/div&gt;
344
566
  </code></pre>
345
567
  </div>
@@ -376,7 +598,7 @@ export class CopyToClipboardComponent {
376
598
  <script src="../js/libs/htmlparser.js"></script>
377
599
  <script src="../js/libs/deep-iterator.js"></script>
378
600
  <script>
379
- var COMPONENT_TEMPLATE = '<div><div class="flex flex-row gap-0.5 items-center"> <rxap-copy-to-clipboard-button *ngIf="active" [value]="value" class="w-[40px]"></rxap-copy-to-clipboard-button> <span #ref class="content grow-0"><ng-content></ng-content></span> <span *ngIf="!ref.innerHTML.trim()" class="content grow-0">{{ value }}</span></div></div>'
601
+ var COMPONENT_TEMPLATE = '<div><div class="flex flex-row gap-2 items-center"> @if (active() && isPositionBefore()) { <rxap-copy-to-clipboard-button [value]="value()" class="w-[40px]"></rxap-copy-to-clipboard-button> } <span #ref class="grow {{ containerClass() }}" [ngClass]="{ \'hidden\': !ref.innerHTML.trim() }"><ng-content></ng-content></span> @if (!ref.innerHTML.trim()) { <span class="grow">{{ value() }}</span> } @if (active() && isPositionAfter()) { <rxap-copy-to-clipboard-button [value]="value()" class="w-[40px]"></rxap-copy-to-clipboard-button> }</div></div>'
380
602
  var COMPONENTS = [{'name': 'ConfirmComponent', 'selector': 'rxap-confirm'},{'name': 'CopyToClipboardButtonComponent', 'selector': 'rxap-copy-to-clipboard-button'},{'name': 'CopyToClipboardComponent', 'selector': 'rxap-copy-to-clipboard'},{'name': 'EmptyRouterOutletComponent', 'selector': 'rxap-empty-router-outlet'},{'name': 'JsonViewerComponent', 'selector': 'rxap-json-viewer'},{'name': 'NavigateBackButtonComponent', 'selector': 'rxap-navigate-back-button'}];
381
603
  var DIRECTIVES = [{'name': 'ConfirmDirective', 'selector': '[rxapConfirm]'}];
382
604
  var ACTUAL_COMPONENT = {'name': 'CopyToClipboardComponent'};
@@ -123,9 +123,9 @@
123
123
  <li>
124
124
  <b>@angular/router</b> : ^19.2.1</li>
125
125
  <li>
126
- <b>@rxap/rxjs</b> : ^1.1.16-dev.0</li>
126
+ <b>@rxap/rxjs</b> : ^1.1.16</li>
127
127
  <li>
128
- <b>@rxap/utilities</b> : ^16.4.4-dev.0</li>
128
+ <b>@rxap/utilities</b> : ^16.4.5-dev.0</li>
129
129
  <li>
130
130
  <b>rxjs</b> : ^7.8.1</li>
131
131
  </ul>