@rxap/ngx-material-table-select 19.1.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 (144) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/compodoc/changelog.html +58 -0
  3. package/compodoc/classes/MockWindowRef.html +16 -20
  4. package/compodoc/components/TableSelectInputComponent.html +168 -461
  5. package/compodoc/components/TableSelectWindowComponent.html +114 -228
  6. package/compodoc/components/WindowTestWrapperComponent.html +47 -74
  7. package/compodoc/dependencies.html +21 -21
  8. package/compodoc/directives/OpenTableSelectWindowDirective.html +671 -591
  9. package/compodoc/directives/TableSelectControlDirective.html +433 -280
  10. package/compodoc/graph/dependencies.svg +15 -145
  11. package/compodoc/injectables/OpenTableSelectWindowMethod.html +5 -76
  12. package/compodoc/interfaces/BooleanColumn.html +3 -14
  13. package/compodoc/interfaces/DateColumn.html +3 -14
  14. package/compodoc/interfaces/OpenTableSelectWindowMethodParameters.html +3 -14
  15. package/compodoc/interfaces/SelectColumn.html +4 -15
  16. package/compodoc/js/menu-wc.js +13 -63
  17. package/compodoc/js/menu-wc_es5.js +1 -1
  18. package/compodoc/js/search/search_index.js +2 -2
  19. package/compodoc/miscellaneous/variables.html +1 -1
  20. package/compodoc/modules.html +0 -17
  21. package/compodoc/overview.html +1 -177
  22. package/compodoc/properties.html +1 -1
  23. package/docs/documentation.json +4633 -4087
  24. package/docs/html/assets/hierarchy.js +1 -1
  25. package/docs/html/assets/navigation.js +1 -1
  26. package/docs/html/assets/search.js +1 -1
  27. package/docs/html/classes/ExtractTableSelectColumnMapMixin.html +2 -2
  28. package/docs/html/classes/ExtractTableSelectDataSourceMixin.html +2 -2
  29. package/docs/html/classes/ExtractTableSelectToDisplayMixin.html +2 -2
  30. package/docs/html/classes/ExtractTableSelectToValueMixin.html +2 -2
  31. package/docs/html/classes/MockWindowRef.html +20 -20
  32. package/docs/html/classes/OpenTableSelectWindowDirective.html +19 -29
  33. package/docs/html/classes/OpenTableSelectWindowMethod.html +2 -2
  34. package/docs/html/classes/TableSelectControlDirective.html +11 -25
  35. package/docs/html/classes/TableSelectInputComponent.html +23 -26
  36. package/docs/html/classes/TableSelectWindowComponent.html +2 -2
  37. package/docs/html/classes/WindowTestWrapperComponent.html +3 -3
  38. package/docs/html/functions/CreateFilterFormProvider.html +1 -1
  39. package/docs/html/functions/UseTableSelectColumns.html +1 -1
  40. package/docs/html/functions/UseTableSelectDataSource.html +1 -1
  41. package/docs/html/functions/UseTableSelectMethod.html +1 -1
  42. package/docs/html/functions/UseTableSelectToDisplay.html +1 -1
  43. package/docs/html/functions/UseTableSelectToValue.html +1 -1
  44. package/docs/html/hierarchy.html +1 -1
  45. package/docs/html/index.html +2 -2
  46. package/docs/html/interfaces/BooleanColumn.html +2 -2
  47. package/docs/html/interfaces/DateColumn.html +2 -2
  48. package/docs/html/interfaces/OpenTableSelectWindowMethodParameters.html +4 -4
  49. package/docs/html/interfaces/SelectColumn.html +2 -2
  50. package/docs/html/modules.html +1 -1
  51. package/docs/html/types/TableSelectColumn.html +1 -1
  52. package/docs/html/types/TableSelectColumnMap.html +1 -1
  53. package/docs/html/types/TableSelectToDisplayFunction.html +1 -1
  54. package/docs/html/types/TableSelectToValueFunction.html +1 -1
  55. package/docs/html/variables/TABLE_SELECT_COLUMN_MAP.html +1 -1
  56. package/docs/html/variables/TABLE_SELECT_DATA_SOURCE.html +1 -1
  57. package/docs/html/variables/TABLE_SELECT_METHOD.html +1 -1
  58. package/docs/html/variables/TABLE_SELECT_TO_DISPLAY.html +1 -1
  59. package/docs/html/variables/TABLE_SELECT_TO_VALUE.html +1 -1
  60. package/docs/markdown/README.md +1 -1
  61. package/docs/markdown/classes/ExtractTableSelectColumnMapMixin.md +8 -8
  62. package/docs/markdown/classes/ExtractTableSelectDataSourceMixin.md +13 -13
  63. package/docs/markdown/classes/ExtractTableSelectToDisplayMixin.md +8 -8
  64. package/docs/markdown/classes/ExtractTableSelectToValueMixin.md +8 -8
  65. package/docs/markdown/classes/MockWindowRef.md +39 -41
  66. package/docs/markdown/classes/OpenTableSelectWindowDirective.md +107 -159
  67. package/docs/markdown/classes/OpenTableSelectWindowMethod.md +4 -16
  68. package/docs/markdown/classes/TableSelectControlDirective.md +73 -139
  69. package/docs/markdown/classes/TableSelectInputComponent.md +59 -118
  70. package/docs/markdown/classes/TableSelectWindowComponent.md +14 -28
  71. package/docs/markdown/classes/WindowTestWrapperComponent.md +11 -11
  72. package/docs/markdown/functions/CreateFilterFormProvider.md +2 -2
  73. package/docs/markdown/functions/UseTableSelectColumns.md +2 -2
  74. package/docs/markdown/functions/UseTableSelectDataSource.md +2 -2
  75. package/docs/markdown/functions/UseTableSelectMethod.md +2 -2
  76. package/docs/markdown/functions/UseTableSelectToDisplay.md +2 -2
  77. package/docs/markdown/functions/UseTableSelectToValue.md +2 -2
  78. package/docs/markdown/globals.md +2 -3
  79. package/docs/markdown/interfaces/BooleanColumn.md +5 -5
  80. package/docs/markdown/interfaces/DateColumn.md +6 -6
  81. package/docs/markdown/interfaces/OpenTableSelectWindowMethodParameters.md +14 -14
  82. package/docs/markdown/interfaces/SelectColumn.md +5 -5
  83. package/docs/markdown/type-aliases/TableSelectColumn.md +2 -2
  84. package/docs/markdown/type-aliases/TableSelectColumnMap.md +2 -2
  85. package/docs/markdown/type-aliases/TableSelectToDisplayFunction.md +2 -2
  86. package/docs/markdown/type-aliases/TableSelectToValueFunction.md +2 -2
  87. package/docs/markdown/variables/TABLE_SELECT_COLUMN_MAP.md +2 -2
  88. package/docs/markdown/variables/TABLE_SELECT_DATA_SOURCE.md +2 -2
  89. package/docs/markdown/variables/TABLE_SELECT_METHOD.md +3 -3
  90. package/docs/markdown/variables/TABLE_SELECT_TO_DISPLAY.md +2 -2
  91. package/docs/markdown/variables/TABLE_SELECT_TO_VALUE.md +2 -2
  92. package/docs/wiki/Class.ExtractTableSelectColumnMapMixin.md +7 -7
  93. package/docs/wiki/Class.ExtractTableSelectDataSourceMixin.md +12 -12
  94. package/docs/wiki/Class.ExtractTableSelectToDisplayMixin.md +7 -7
  95. package/docs/wiki/Class.ExtractTableSelectToValueMixin.md +7 -7
  96. package/docs/wiki/Class.MockWindowRef.md +38 -40
  97. package/docs/wiki/Class.OpenTableSelectWindowDirective.md +106 -158
  98. package/docs/wiki/Class.OpenTableSelectWindowMethod.md +3 -15
  99. package/docs/wiki/Class.TableSelectControlDirective.md +72 -138
  100. package/docs/wiki/Class.TableSelectInputComponent.md +58 -117
  101. package/docs/wiki/Class.TableSelectWindowComponent.md +13 -27
  102. package/docs/wiki/Class.WindowTestWrapperComponent.md +10 -10
  103. package/docs/wiki/Function.CreateFilterFormProvider.md +1 -1
  104. package/docs/wiki/Function.UseTableSelectColumns.md +1 -1
  105. package/docs/wiki/Function.UseTableSelectDataSource.md +1 -1
  106. package/docs/wiki/Function.UseTableSelectMethod.md +1 -1
  107. package/docs/wiki/Function.UseTableSelectToDisplay.md +1 -1
  108. package/docs/wiki/Function.UseTableSelectToValue.md +1 -1
  109. package/docs/wiki/Interface.BooleanColumn.md +4 -4
  110. package/docs/wiki/Interface.DateColumn.md +5 -5
  111. package/docs/wiki/Interface.OpenTableSelectWindowMethodParameters.md +13 -13
  112. package/docs/wiki/Interface.SelectColumn.md +4 -4
  113. package/docs/wiki/TypeAlias.TableSelectColumn.md +1 -1
  114. package/docs/wiki/TypeAlias.TableSelectColumnMap.md +1 -1
  115. package/docs/wiki/TypeAlias.TableSelectToDisplayFunction.md +1 -1
  116. package/docs/wiki/TypeAlias.TableSelectToValueFunction.md +1 -1
  117. package/docs/wiki/Variable.TABLE_SELECT_COLUMN_MAP.md +1 -1
  118. package/docs/wiki/Variable.TABLE_SELECT_DATA_SOURCE.md +1 -1
  119. package/docs/wiki/Variable.TABLE_SELECT_METHOD.md +2 -2
  120. package/docs/wiki/Variable.TABLE_SELECT_TO_DISPLAY.md +1 -1
  121. package/docs/wiki/Variable.TABLE_SELECT_TO_VALUE.md +1 -1
  122. package/docs/wiki/_Sidebar.md +0 -1
  123. package/docs/wiki/globals.md +1 -2
  124. package/fesm2022/rxap-ngx-material-table-select.mjs +254 -345
  125. package/fesm2022/rxap-ngx-material-table-select.mjs.map +1 -1
  126. package/package.json +60 -59
  127. package/types/rxap-ngx-material-table-select.d.ts +266 -0
  128. package/docs/html/classes/TableSelectControlModule.html +0 -2
  129. package/docs/markdown/classes/TableSelectControlModule.md +0 -19
  130. package/docs/wiki/Class.TableSelectControlModule.md +0 -15
  131. package/index.d.ts +0 -13
  132. package/lib/create-filter-form-provider.d.ts +0 -3
  133. package/lib/decorators.d.ts +0 -17
  134. package/lib/extract-table-select-column-map.mixin.d.ts +0 -7
  135. package/lib/extract-table-select-data-source.mixin.d.ts +0 -7
  136. package/lib/extract-table-select-to-display.mixin.d.ts +0 -7
  137. package/lib/extract-table-select-to-value.mixin.d.ts +0 -7
  138. package/lib/open-table-select-window.directive.d.ts +0 -47
  139. package/lib/open-table-select-window.method.d.ts +0 -55
  140. package/lib/table-select-control.directive.d.ts +0 -49
  141. package/lib/table-select-control.module.d.ts +0 -10
  142. package/lib/table-select-input/table-select-input.component.d.ts +0 -45
  143. package/lib/table-select-window/table-select-window.component.d.ts +0 -21
  144. package/lib/table-select-window/window-test-wrapper.d.ts +0 -36
@@ -164,7 +164,6 @@
164
164
  <tr>
165
165
  <td class="col-md-3">imports</td>
166
166
  <td class="col-md-9">
167
- <code>NgIf</code>
168
167
  <code>MatProgressBarModule</code>
169
168
  <code>MatTableModule</code>
170
169
  <code>TableDataSourceDirective</code>
@@ -172,10 +171,6 @@
172
171
  <code>MatSortModule</code>
173
172
  <code>CheckboxHeaderCellComponent</code>
174
173
  <code>CheckboxCellComponent</code>
175
- <code>NgFor</code>
176
- <code>NgSwitch</code>
177
- <code>NgSwitchCase</code>
178
- <code>NgSwitchDefault</code>
179
174
  <code>MatFormFieldModule</code>
180
175
  <code>MatInputModule</code>
181
176
  <code>FormsModule</code>
@@ -231,8 +226,6 @@
231
226
  <td class="col-md-4">
232
227
  <ul class="index-list">
233
228
  <li>
234
- <span class="modifier"></span>
235
- <span class="modifier">Public</span>
236
229
  <span class="modifier">Readonly</span>
237
230
  <a href="#data" >data</a>
238
231
  </li>
@@ -301,69 +294,15 @@
301
294
  <tbody>
302
295
  <tr>
303
296
  <td class="col-md-4">
304
- <code>constructor(data: <a href="../interfaces/OpenTableSelectWindowMethodParameters.html" target="_self">OpenTableSelectWindowMethodParameters</a>, selectRows: SelectRowService<Data>, windowRef: WindowRef)</code>
297
+ <code>constructor()</code>
305
298
  </td>
306
299
  </tr>
307
300
  <tr>
308
301
  <td class="col-md-4">
309
- <div class="io-line">Defined in <a href="" data-line="101" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:101</a></div>
302
+ <div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:88</a></div>
310
303
  </td>
311
304
  </tr>
312
305
 
313
- <tr>
314
- <td class="col-md-4">
315
- <div>
316
- <b>Parameters :</b>
317
- <table class="params">
318
- <thead>
319
- <tr>
320
- <td>Name</td>
321
- <td>Type</td>
322
- <td>Optional</td>
323
- </tr>
324
- </thead>
325
- <tbody>
326
- <tr>
327
- <td>data</td>
328
-
329
- <td>
330
- <code><a href="../interfaces/OpenTableSelectWindowMethodParameters.html" target="_self" >OpenTableSelectWindowMethodParameters</a></code>
331
- </td>
332
-
333
- <td>
334
- No
335
- </td>
336
-
337
- </tr>
338
- <tr>
339
- <td>selectRows</td>
340
-
341
- <td>
342
- <code>SelectRowService&lt;Data&gt;</code>
343
- </td>
344
-
345
- <td>
346
- No
347
- </td>
348
-
349
- </tr>
350
- <tr>
351
- <td>windowRef</td>
352
-
353
- <td>
354
- <code>WindowRef</code>
355
- </td>
356
-
357
- <td>
358
- No
359
- </td>
360
-
361
- </tr>
362
- </tbody>
363
- </table>
364
- </div>
365
- </td>
366
- </tr>
367
306
  </tbody>
368
307
  </table>
369
308
  </section>
@@ -399,8 +338,8 @@
399
338
 
400
339
  <tr>
401
340
  <td class="col-md-4">
402
- <div class="io-line">Defined in <a href="" data-line="133"
403
- class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:133</a></div>
341
+ <div class="io-line">Defined in <a href="" data-line="114"
342
+ class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:114</a></div>
404
343
  </td>
405
344
  </tr>
406
345
 
@@ -438,8 +377,8 @@
438
377
 
439
378
  <tr>
440
379
  <td class="col-md-4">
441
- <div class="io-line">Defined in <a href="" data-line="137"
442
- class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:137</a></div>
380
+ <div class="io-line">Defined in <a href="" data-line="118"
381
+ class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:118</a></div>
443
382
  </td>
444
383
  </tr>
445
384
 
@@ -475,8 +414,8 @@
475
414
 
476
415
  <tr>
477
416
  <td class="col-md-4">
478
- <div class="io-line">Defined in <a href="" data-line="125"
479
- class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:125</a></div>
417
+ <div class="io-line">Defined in <a href="" data-line="106"
418
+ class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:106</a></div>
480
419
  </td>
481
420
  </tr>
482
421
 
@@ -534,8 +473,6 @@
534
473
  <td class="col-md-4">
535
474
  <a name="data"></a>
536
475
  <span class="name">
537
- <span class="modifier"></span>
538
- <span class="modifier">Public</span>
539
476
  <span class="modifier">Readonly</span>
540
477
  <span ><b>data</b></span>
541
478
  <a href="#data"><span class="icon ion-ios-link"></span></a>
@@ -544,22 +481,12 @@
544
481
  </tr>
545
482
  <tr>
546
483
  <td class="col-md-4">
547
- <i>Type : </i> <code><a href="../interfaces/OpenTableSelectWindowMethodParameters.html" target="_self" >OpenTableSelectWindowMethodParameters</a></code>
548
-
549
- </td>
550
- </tr>
551
- <tr>
552
- <td class="col-md-4">
553
- <b>Decorators : </b>
554
- <br />
555
- <code>
556
- @Inject(RXAP_WINDOW_DATA)<br />
557
- </code>
484
+ <i>Default value : </i><code>inject&lt;OpenTableSelectWindowMethodParameters&gt;(RXAP_WINDOW_DATA)</code>
558
485
  </td>
559
486
  </tr>
560
487
  <tr>
561
488
  <td class="col-md-4">
562
- <div class="io-line">Defined in <a href="" data-line="105" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:105</a></div>
489
+ <div class="io-line">Defined in <a href="" data-line="78" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:78</a></div>
563
490
  </td>
564
491
  </tr>
565
492
 
@@ -587,7 +514,7 @@
587
514
  </tr>
588
515
  <tr>
589
516
  <td class="col-md-4">
590
- <div class="io-line">Defined in <a href="" data-line="96" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:96</a></div>
517
+ <div class="io-line">Defined in <a href="" data-line="83" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:83</a></div>
591
518
  </td>
592
519
  </tr>
593
520
 
@@ -615,7 +542,7 @@
615
542
  </tr>
616
543
  <tr>
617
544
  <td class="col-md-4">
618
- <div class="io-line">Defined in <a href="" data-line="97" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:97</a></div>
545
+ <div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:84</a></div>
619
546
  </td>
620
547
  </tr>
621
548
 
@@ -642,7 +569,7 @@
642
569
  </tr>
643
570
  <tr>
644
571
  <td class="col-md-4">
645
- <div class="io-line">Defined in <a href="" data-line="101" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:101</a></div>
572
+ <div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:88</a></div>
646
573
  </td>
647
574
  </tr>
648
575
 
@@ -670,7 +597,7 @@
670
597
  </tr>
671
598
  <tr>
672
599
  <td class="col-md-4">
673
- <div class="io-line">Defined in <a href="" data-line="98" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:98</a></div>
600
+ <div class="io-line">Defined in <a href="" data-line="85" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:85</a></div>
674
601
  </td>
675
602
  </tr>
676
603
 
@@ -698,7 +625,7 @@
698
625
  </tr>
699
626
  <tr>
700
627
  <td class="col-md-4">
701
- <div class="io-line">Defined in <a href="" data-line="99" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:99</a></div>
628
+ <div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/table-select-window/table-select-window.component.ts:86</a></div>
702
629
  </td>
703
630
  </tr>
704
631
 
@@ -711,20 +638,8 @@
711
638
 
712
639
 
713
640
  <div class="tab-pane fade tab-source-code" id="source">
714
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
715
- AsyncPipe,
716
- KeyValuePipe,
717
- NgFor,
718
- NgIf,
719
- NgSwitch,
720
- NgSwitchCase,
721
- NgSwitchDefault,
722
- } from &#x27;@angular/common&#x27;;
723
- import {
724
- ChangeDetectionStrategy,
725
- Component,
726
- Inject,
727
- } from &#x27;@angular/core&#x27;;
641
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AsyncPipe, KeyValuePipe } from &#x27;@angular/common&#x27;;
642
+ import { ChangeDetectionStrategy, Component, inject } from &#x27;@angular/core&#x27;;
728
643
  import {
729
644
  FormsModule,
730
645
  ReactiveFormsModule,
@@ -774,37 +689,36 @@ import { OpenTableSelectWindowMethodParameters } from &#x27;../open-table-select
774
689
  TableFilterService,
775
690
  ],
776
691
  imports: [
777
- NgIf,
778
- MatProgressBarModule,
779
- MatTableModule,
780
- TableDataSourceDirective,
781
- FilterHeaderRowDirective,
782
- MatSortModule,
783
- CheckboxHeaderCellComponent,
784
- CheckboxCellComponent,
785
- NgFor,
786
- NgSwitch,
787
- NgSwitchCase,
788
- NgSwitchDefault,
789
- MatFormFieldModule,
790
- MatInputModule,
791
- FormsModule,
792
- ReactiveFormsModule,
793
- ParentControlContainerDirective,
794
- MatButtonModule,
795
- InputClearButtonDirective,
796
- MatIconModule,
797
- DateCellComponent,
798
- BooleanCellComponent,
799
- MatPaginatorModule,
800
- WindowFooterDirective,
801
- AsyncPipe,
802
- KeyValuePipe,
803
- GetFromObjectPipe,
804
- FormFieldNoPaddingDirective,
805
- ]
692
+ MatProgressBarModule,
693
+ MatTableModule,
694
+ TableDataSourceDirective,
695
+ FilterHeaderRowDirective,
696
+ MatSortModule,
697
+ CheckboxHeaderCellComponent,
698
+ CheckboxCellComponent,
699
+ MatFormFieldModule,
700
+ MatInputModule,
701
+ FormsModule,
702
+ ReactiveFormsModule,
703
+ ParentControlContainerDirective,
704
+ MatButtonModule,
705
+ InputClearButtonDirective,
706
+ MatIconModule,
707
+ DateCellComponent,
708
+ BooleanCellComponent,
709
+ MatPaginatorModule,
710
+ WindowFooterDirective,
711
+ AsyncPipe,
712
+ KeyValuePipe,
713
+ GetFromObjectPipe,
714
+ FormFieldNoPaddingDirective
715
+ ]
806
716
  })
807
717
  export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
718
+ readonly data &#x3D; inject&lt;OpenTableSelectWindowMethodParameters&gt;(RXAP_WINDOW_DATA);
719
+ private readonly selectRows &#x3D; inject&lt;SelectRowService&lt;Data&gt;&gt;(SelectRowService);
720
+ private readonly windowRef &#x3D; inject&lt;WindowRef&gt;(RXAP_WINDOW_REF);
721
+
808
722
 
809
723
  public readonly displayColumns: string[];
810
724
  public readonly filterDisplayColumns: string[];
@@ -813,13 +727,7 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
813
727
 
814
728
  public hasNotSelected$: Observable&lt;boolean&gt;;
815
729
 
816
- constructor(
817
- @Inject(RXAP_WINDOW_DATA)
818
- public readonly data: OpenTableSelectWindowMethodParameters,
819
- private readonly selectRows: SelectRowService&lt;Data&gt;,
820
- @Inject(RXAP_WINDOW_REF)
821
- private readonly windowRef: WindowRef
822
- ) {
730
+ constructor() {
823
731
  this.id &#x3D; this.data.id;
824
732
  this.displayColumns &#x3D; [ ...this.data.columns.keys() ];
825
733
  if (this.data.multiple) {
@@ -857,62 +765,54 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
857
765
  </div>
858
766
 
859
767
  <div class="tab-pane fade " id="templateData">
860
- <pre class="line-numbers"><code class="language-html">&lt;mat-progress-bar *ngIf&#x3D;&quot;tableDataSourceDirective.loading$ | async&quot; mode&#x3D;&quot;indeterminate&quot;&gt;&lt;/mat-progress-bar&gt;
768
+ <pre class="line-numbers"><code class="language-html">@if (tableDataSourceDirective.loading$ | async) {
769
+ &lt;mat-progress-bar mode&#x3D;&quot;indeterminate&quot;&gt;&lt;/mat-progress-bar&gt;
770
+ }
861
771
  &lt;div class&#x3D;&quot;table-scroll-container mt-4 overflow-x-auto overscroll-auto&quot;&gt;
862
772
  &lt;table #tableDataSourceDirective&#x3D;&quot;rxapTableDataSource&quot;
863
- [id]&#x3D;&quot;id ?? &#x27;table-select&#x27;&quot;
864
- [paginator]&#x3D;&quot;paginator&quot;
865
- [parameters]&#x3D;&quot;data.parameters&quot;
866
- mat-table
867
- matSort
868
- rxap-filter-header-row
869
- rxapTableDataSource&gt;
870
-
871
- &lt;ng-container *ngIf&#x3D;&quot;data.multiple&quot; matColumnDef&#x3D;&quot;select&quot; [sticky]&#x3D;&quot;true&quot;&gt;
872
- &lt;th *matHeaderCellDef class&#x3D;&quot;drop-shadow-2xl&quot; mat-header-cell rxap-checkbox-header-cell&gt;&lt;/th&gt;
873
- &lt;td
874
- *matCellDef&#x3D;&quot;let element&quot;
875
- [element]&#x3D;&quot;element&quot;
876
- class&#x3D;&quot;drop-shadow-2xl&quot;
877
- mat-cell
878
- rxap-checkbox-cell
879
- &gt;&lt;/td&gt;
880
- &lt;/ng-container&gt;
881
-
882
- &lt;ng-container *ngIf&#x3D;&quot;hasSomeFilterColumn&quot;&gt;
883
-
884
- &lt;ng-container *ngIf&#x3D;&quot;data.multiple&quot; [matColumnDef]&#x3D;&quot;&#x27;filter__select&#x27;&quot;&gt;
885
- &lt;th *matHeaderCellDef mat-header-cell&gt;&lt;/th&gt;
773
+ [id]&#x3D;&quot;id ?? &#x27;table-select&#x27;&quot;
774
+ [paginator]&#x3D;&quot;paginator&quot;
775
+ [parameters]&#x3D;&quot;data.parameters&quot;
776
+ mat-table
777
+ matSort
778
+ rxap-filter-header-row
779
+ rxapTableDataSource&gt;
780
+
781
+ @if (data.multiple) {
782
+ &lt;ng-container matColumnDef&#x3D;&quot;select&quot; [sticky]&#x3D;&quot;true&quot;&gt;
783
+ &lt;th *matHeaderCellDef class&#x3D;&quot;drop-shadow-2xl&quot; mat-header-cell rxap-checkbox-header-cell&gt;&lt;/th&gt;
784
+ &lt;td
785
+ *matCellDef&#x3D;&quot;let element&quot;
786
+ [element]&#x3D;&quot;element&quot;
787
+ class&#x3D;&quot;drop-shadow-2xl&quot;
788
+ mat-cell
789
+ rxap-checkbox-cell
790
+ &gt;&lt;/td&gt;
886
791
  &lt;/ng-container&gt;
792
+ }
887
793
 
888
- &lt;ng-container *ngFor&#x3D;&quot;let item of data.columns | keyvalue&quot;&gt;
889
-
890
- &lt;ng-container *ngIf&#x3D;&quot;item.value.filter&quot;&gt;
891
-
892
- &lt;ng-container [ngSwitch]&#x3D;&quot;item.value.type&quot;&gt;
893
-
894
- &lt;ng-container *ngSwitchCase&#x3D;&quot;&#x27;date&#x27;&quot;&gt;
895
-
794
+ @if (hasSomeFilterColumn) {
795
+ @if (data.multiple) {
796
+ &lt;ng-container [matColumnDef]&#x3D;&quot;&#x27;filter__select&#x27;&quot;&gt;
797
+ &lt;th *matHeaderCellDef mat-header-cell&gt;&lt;/th&gt;
798
+ &lt;/ng-container&gt;
799
+ }
800
+ @for (item of data.columns | keyvalue; track item) {
801
+ @if (item.value.filter) {
802
+ @switch (item.value.type) {
803
+ @case (&#x27;date&#x27;) {
896
804
  &lt;ng-container [matColumnDef]&#x3D;&quot;&#x27;filter__&#x27; + item.key&quot;&gt;
897
805
  &lt;th *matHeaderCellDef mat-header-cell&gt;
898
-
899
806
  &lt;/th&gt;
900
807
  &lt;/ng-container&gt;
901
-
902
- &lt;/ng-container&gt;
903
-
904
- &lt;ng-container *ngSwitchCase&#x3D;&quot;&#x27;boolean&#x27;&quot;&gt;
905
-
808
+ }
809
+ @case (&#x27;boolean&#x27;) {
906
810
  &lt;ng-container [matColumnDef]&#x3D;&quot;&#x27;filter__&#x27; + item.key&quot;&gt;
907
811
  &lt;th *matHeaderCellDef mat-header-cell&gt;
908
-
909
812
  &lt;/th&gt;
910
813
  &lt;/ng-container&gt;
911
-
912
- &lt;/ng-container&gt;
913
-
914
- &lt;ng-container *ngSwitchDefault&gt;
915
-
814
+ }
815
+ @default {
916
816
  &lt;ng-container [matColumnDef]&#x3D;&quot;&#x27;filter__&#x27; + item.key&quot;&gt;
917
817
  &lt;th *matHeaderCellDef mat-header-cell&gt;
918
818
  &lt;mat-form-field rxapNoPadding&gt;
@@ -922,36 +822,27 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
922
822
  [placeholder]&#x3D;&quot;&#x27;Enter the &#x27; + item.value.label + &#x27; filter&#x27;&quot;
923
823
  matInput
924
824
  parentControlContainer
925
- /&gt;
825
+ /&gt;
926
826
  &lt;button mat-icon-button matSuffix rxapInputClearButton&gt;
927
827
  &lt;mat-icon&gt;clear&lt;/mat-icon&gt;
928
828
  &lt;/button&gt;
929
829
  &lt;/mat-form-field&gt;
930
830
  &lt;/th&gt;
931
831
  &lt;/ng-container&gt;
932
-
933
- &lt;/ng-container&gt;
934
-
935
- &lt;/ng-container&gt;
936
-
937
- &lt;/ng-container&gt;
938
-
939
- &lt;ng-container *ngIf&#x3D;&quot;!item.value.filter&quot;&gt;
832
+ }
833
+ }
834
+ }
835
+ @if (!item.value.filter) {
940
836
  &lt;ng-container [matColumnDef]&#x3D;&quot;&#x27;filter__&#x27; + item.key&quot;&gt;
941
837
  &lt;th *matHeaderCellDef mat-header-cell&gt;{{ data.showHeader ? &#x27;&#x27; : item.value.label }}&lt;/th&gt;
942
838
  &lt;/ng-container&gt;
943
- &lt;/ng-container&gt;
944
-
945
- &lt;/ng-container&gt;
946
-
947
- &lt;/ng-container&gt;
948
-
949
- &lt;ng-container *ngFor&#x3D;&quot;let item of data.columns | keyvalue&quot;&gt;
950
-
951
- &lt;ng-container [ngSwitch]&#x3D;&quot;item.value.type&quot;&gt;
952
-
953
- &lt;ng-container *ngSwitchCase&#x3D;&quot;&#x27;date&#x27;&quot;&gt;
839
+ }
840
+ }
841
+ }
954
842
 
843
+ @for (item of data.columns | keyvalue; track item) {
844
+ @switch (item.value.type) {
845
+ @case (&#x27;date&#x27;) {
955
846
  &lt;ng-container [matColumnDef]&#x3D;&quot;item.key&quot;&gt;
956
847
  &lt;th *matHeaderCellDef mat-header-cell mat-sort-header&gt;{{ item.value.label }}&lt;/th&gt;
957
848
  &lt;td
@@ -961,11 +852,8 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
961
852
  mat-cell
962
853
  &gt;&lt;/td&gt;
963
854
  &lt;/ng-container&gt;
964
-
965
- &lt;/ng-container&gt;
966
-
967
- &lt;ng-container *ngSwitchCase&#x3D;&quot;&#x27;boolean&#x27;&quot;&gt;
968
-
855
+ }
856
+ @case (&#x27;boolean&#x27;) {
969
857
  &lt;ng-container [matColumnDef]&#x3D;&quot;item.key&quot;&gt;
970
858
  &lt;th *matHeaderCellDef mat-header-cell mat-sort-header&gt;{{ item.value.label }}&lt;/th&gt;
971
859
  &lt;td
@@ -974,11 +862,8 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
974
862
  mat-cell
975
863
  &gt;&lt;/td&gt;
976
864
  &lt;/ng-container&gt;
977
-
978
- &lt;/ng-container&gt;
979
-
980
- &lt;ng-container *ngSwitchDefault&gt;
981
-
865
+ }
866
+ @default {
982
867
  &lt;ng-container [matColumnDef]&#x3D;&quot;item.key&quot;&gt;
983
868
  &lt;th *matHeaderCellDef mat-header-cell mat-sort-header&gt;
984
869
  {{ item.value.label }}
@@ -987,27 +872,24 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
987
872
  {{ element | getFromObject:item.key }}
988
873
  &lt;/td&gt;
989
874
  &lt;/ng-container&gt;
875
+ }
876
+ }
877
+ }
990
878
 
991
- &lt;/ng-container&gt;
992
-
993
- &lt;/ng-container&gt;
994
-
995
- &lt;/ng-container&gt;
996
-
997
- &lt;ng-container *ngIf&#x3D;&quot;hasSomeFilterColumn&quot;&gt;
879
+ @if (hasSomeFilterColumn) {
998
880
  &lt;tr
999
881
  *matHeaderRowDef&#x3D;&quot;filterDisplayColumns&quot;
1000
882
  class&#x3D;&quot;filter-header&quot;
1001
883
  mat-header-row
1002
884
  &gt;&lt;/tr&gt;
1003
- &lt;/ng-container&gt;
885
+ }
1004
886
 
1005
- &lt;ng-template [ngIf]&#x3D;&quot;data.showHeader&quot;&gt;
887
+ @if (data.showHeader) {
1006
888
  &lt;tr
1007
889
  *matHeaderRowDef&#x3D;&quot;displayColumns&quot;
1008
890
  mat-header-row
1009
891
  &gt;&lt;/tr&gt;
1010
- &lt;/ng-template&gt;
892
+ }
1011
893
 
1012
894
  &lt;tr
1013
895
  (click)&#x3D;&quot;selectRow(element)&quot;
@@ -1030,11 +912,15 @@ export class TableSelectWindowComponent&lt;Data &#x3D; unknown&gt; {
1030
912
  &lt;button (click)&#x3D;&quot;close()&quot; class&#x3D;&quot;grow-0&quot; mat-stroked-button type&#x3D;&quot;button&quot;&gt;
1031
913
  &lt;ng-container i18n&gt;Cancel&lt;/ng-container&gt;
1032
914
  &lt;/button&gt;
1033
- &lt;button (click)&#x3D;&quot;select()&quot; *ngIf&#x3D;&quot;data.multiple&quot; [disabled]&#x3D;&quot;hasNotSelected$ | async&quot; class&#x3D;&quot;grow-0&quot; mat-raised-button
1034
- type&#x3D;&quot;button&quot;&gt;
1035
- &lt;ng-container i18n&gt;Select&lt;/ng-container&gt;
1036
- &lt;/button&gt;
1037
- &lt;span *ngIf&#x3D;&quot;!data.multiple&quot; class&#x3D;&quot;hint&quot; i18n&gt;Click on a row to select an entry.&lt;/span&gt;
915
+ @if (data.multiple) {
916
+ &lt;button (click)&#x3D;&quot;select()&quot; [disabled]&#x3D;&quot;hasNotSelected$ | async&quot; class&#x3D;&quot;grow-0&quot; mat-raised-button
917
+ type&#x3D;&quot;button&quot;&gt;
918
+ &lt;ng-container i18n&gt;Select&lt;/ng-container&gt;
919
+ &lt;/button&gt;
920
+ }
921
+ @if (!data.multiple) {
922
+ &lt;span class&#x3D;&quot;hint&quot; i18n&gt;Click on a row to select an entry.&lt;/span&gt;
923
+ }
1038
924
  &lt;/div&gt;
1039
925
  &lt;/ng-template&gt;
1040
926
  </code></pre>
@@ -1096,7 +982,7 @@ tr.mat-row {
1096
982
  <script src="../js/libs/htmlparser.js"></script>
1097
983
  <script src="../js/libs/deep-iterator.js"></script>
1098
984
  <script>
1099
- var COMPONENT_TEMPLATE = '<div><mat-progress-bar *ngIf="tableDataSourceDirective.loading$ | async" mode="indeterminate"></mat-progress-bar><div class="table-scroll-container mt-4 overflow-x-auto overscroll-auto"> <table #tableDataSourceDirective="rxapTableDataSource" [id]="id ?? \'table-select\'" [paginator]="paginator" [parameters]="data.parameters" mat-table matSort rxap-filter-header-row rxapTableDataSource> <ng-container *ngIf="data.multiple" matColumnDef="select" [sticky]="true"> <th *matHeaderCellDef class="drop-shadow-2xl" mat-header-cell rxap-checkbox-header-cell></th> <td *matCellDef="let element" [element]="element" class="drop-shadow-2xl" mat-cell rxap-checkbox-cell ></td> </ng-container> <ng-container *ngIf="hasSomeFilterColumn"> <ng-container *ngIf="data.multiple" [matColumnDef]="\'filter__select\'"> <th *matHeaderCellDef mat-header-cell></th> </ng-container> <ng-container *ngFor="let item of data.columns | keyvalue"> <ng-container *ngIf="item.value.filter"> <ng-container [ngSwitch]="item.value.type"> <ng-container *ngSwitchCase="\'date\'"> <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell> </th> </ng-container> </ng-container> <ng-container *ngSwitchCase="\'boolean\'"> <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell> </th> </ng-container> </ng-container> <ng-container *ngSwitchDefault> <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell> <mat-form-field rxapNoPadding> <mat-label i18n>{{ item.value.label }}</mat-label> <input [formControlName]="item.key" [placeholder]="\'Enter the \' + item.value.label + \' filter\'" matInput parentControlContainer /> <button mat-icon-button matSuffix rxapInputClearButton> <mat-icon>clear</mat-icon> </button> </mat-form-field> </th> </ng-container> </ng-container> </ng-container> </ng-container> <ng-container *ngIf="!item.value.filter"> <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell>{{ data.showHeader ? \'\' : item.value.label }}</th> </ng-container> </ng-container> </ng-container> </ng-container> <ng-container *ngFor="let item of data.columns | keyvalue"> <ng-container [ngSwitch]="item.value.type"> <ng-container *ngSwitchCase="\'date\'"> <ng-container [matColumnDef]="item.key"> <th *matHeaderCellDef mat-header-cell mat-sort-header>{{ item.value.label }}</th> <td *matCellDef="let element" [format]="item.value[\'format\']" [rxap-date-cell]="element | getFromObject:item.key" mat-cell ></td> </ng-container> </ng-container> <ng-container *ngSwitchCase="\'boolean\'"> <ng-container [matColumnDef]="item.key"> <th *matHeaderCellDef mat-header-cell mat-sort-header>{{ item.value.label }}</th> <td *matCellDef="let element" [rxap-boolean-cell]="element | getFromObject:item.key" mat-cell ></td> </ng-container> </ng-container> <ng-container *ngSwitchDefault> <ng-container [matColumnDef]="item.key"> <th *matHeaderCellDef mat-header-cell mat-sort-header> {{ item.value.label }} </th> <td *matCellDef="let element" mat-cell> {{ element | getFromObject:item.key }} </td> </ng-container> </ng-container> </ng-container> </ng-container> <ng-container *ngIf="hasSomeFilterColumn"> <tr *matHeaderRowDef="filterDisplayColumns" class="filter-header" mat-header-row ></tr> </ng-container> <ng-template [ngIf]="data.showHeader"> <tr *matHeaderRowDef="displayColumns" mat-header-row ></tr> </ng-template> <tr (click)="selectRow(element)" *matRowDef="let element; columns: displayColumns" [@rowsAnimation] class="cursor-pointer" mat-row ></tr> </table></div><mat-paginator #paginator="matPaginator" [pageSizeOptions]="[5, 10, 25, 50, 75, 100, 150, 200]" [pageSize]="10"></mat-paginator><ng-template rxapWindowFooter> <div class="flex flex-row items-center gap-4"> <button (click)="close()" class="grow-0" mat-stroked-button type="button"> <ng-container i18n>Cancel</ng-container> </button> <button (click)="select()" *ngIf="data.multiple" [disabled]="hasNotSelected$ | async" class="grow-0" mat-raised-button type="button"> <ng-container i18n>Select</ng-container> </button> <span *ngIf="!data.multiple" class="hint" i18n>Click on a row to select an entry.</span> </div></ng-template></div>'
985
+ var COMPONENT_TEMPLATE = '<div>@if (tableDataSourceDirective.loading$ | async) { <mat-progress-bar mode="indeterminate"></mat-progress-bar>}<div class="table-scroll-container mt-4 overflow-x-auto overscroll-auto"> <table #tableDataSourceDirective="rxapTableDataSource" [id]="id ?? \'table-select\'" [paginator]="paginator" [parameters]="data.parameters" mat-table matSort rxap-filter-header-row rxapTableDataSource> @if (data.multiple) { <ng-container matColumnDef="select" [sticky]="true"> <th *matHeaderCellDef class="drop-shadow-2xl" mat-header-cell rxap-checkbox-header-cell></th> <td *matCellDef="let element" [element]="element" class="drop-shadow-2xl" mat-cell rxap-checkbox-cell ></td> </ng-container> } @if (hasSomeFilterColumn) { @if (data.multiple) { <ng-container [matColumnDef]="\'filter__select\'"> <th *matHeaderCellDef mat-header-cell></th> </ng-container> } @for (item of data.columns | keyvalue; track item) { @if (item.value.filter) { @switch (item.value.type) { @case (\'date\') { <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell> </th> </ng-container> } @case (\'boolean\') { <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell> </th> </ng-container> } @default { <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell> <mat-form-field rxapNoPadding> <mat-label i18n>{{ item.value.label }}</mat-label> <input [formControlName]="item.key" [placeholder]="\'Enter the \' + item.value.label + \' filter\'" matInput parentControlContainer /> <button mat-icon-button matSuffix rxapInputClearButton> <mat-icon>clear</mat-icon> </button> </mat-form-field> </th> </ng-container> } } } @if (!item.value.filter) { <ng-container [matColumnDef]="\'filter__\' + item.key"> <th *matHeaderCellDef mat-header-cell>{{ data.showHeader ? \'\' : item.value.label }}</th> </ng-container> } } } @for (item of data.columns | keyvalue; track item) { @switch (item.value.type) { @case (\'date\') { <ng-container [matColumnDef]="item.key"> <th *matHeaderCellDef mat-header-cell mat-sort-header>{{ item.value.label }}</th> <td *matCellDef="let element" [format]="item.value[\'format\']" [rxap-date-cell]="element | getFromObject:item.key" mat-cell ></td> </ng-container> } @case (\'boolean\') { <ng-container [matColumnDef]="item.key"> <th *matHeaderCellDef mat-header-cell mat-sort-header>{{ item.value.label }}</th> <td *matCellDef="let element" [rxap-boolean-cell]="element | getFromObject:item.key" mat-cell ></td> </ng-container> } @default { <ng-container [matColumnDef]="item.key"> <th *matHeaderCellDef mat-header-cell mat-sort-header> {{ item.value.label }} </th> <td *matCellDef="let element" mat-cell> {{ element | getFromObject:item.key }} </td> </ng-container> } } } @if (hasSomeFilterColumn) { <tr *matHeaderRowDef="filterDisplayColumns" class="filter-header" mat-header-row ></tr> } @if (data.showHeader) { <tr *matHeaderRowDef="displayColumns" mat-header-row ></tr> } <tr (click)="selectRow(element)" *matRowDef="let element; columns: displayColumns" [@rowsAnimation] class="cursor-pointer" mat-row ></tr> </table></div><mat-paginator #paginator="matPaginator" [pageSizeOptions]="[5, 10, 25, 50, 75, 100, 150, 200]" [pageSize]="10"></mat-paginator><ng-template rxapWindowFooter> <div class="flex flex-row items-center gap-4"> <button (click)="close()" class="grow-0" mat-stroked-button type="button"> <ng-container i18n>Cancel</ng-container> </button> @if (data.multiple) { <button (click)="select()" [disabled]="hasNotSelected$ | async" class="grow-0" mat-raised-button type="button"> <ng-container i18n>Select</ng-container> </button> } @if (!data.multiple) { <span class="hint" i18n>Click on a row to select an entry.</span> } </div></ng-template></div>'
1100
986
  var COMPONENTS = [{'name': 'TableSelectInputComponent', 'selector': 'rxap-table-select-input'},{'name': 'TableSelectWindowComponent', 'selector': 'rxap-table-select-window'},{'name': 'WindowTestWrapperComponent', 'selector': ''}];
1101
987
  var DIRECTIVES = [{'name': 'OpenTableSelectWindowDirective', 'selector': '[rxapOpenTableSelectWindow]'},{'name': 'TableSelectControlDirective', 'selector': 'mat-form-field[rxapTableSelectControl]'}];
1102
988
  var ACTUAL_COMPONENT = {'name': 'TableSelectWindowComponent'};