@wlcm/angular 19.2.5 → 22.0.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 (217) hide show
  1. package/README.md +37 -0
  2. package/button/fesm2022/wlcm-angular-button.mjs +25 -31
  3. package/button/fesm2022/wlcm-angular-button.mjs.map +1 -1
  4. package/button/package.json +25 -0
  5. package/button/types/wlcm-angular-button.d.ts +28 -0
  6. package/core/fesm2022/wlcm-angular-core.mjs +76 -92
  7. package/core/fesm2022/wlcm-angular-core.mjs.map +1 -1
  8. package/core/package.json +26 -0
  9. package/core/types/wlcm-angular-core.d.ts +102 -0
  10. package/datepicker/fesm2022/wlcm-angular-datepicker.mjs +341 -497
  11. package/datepicker/fesm2022/wlcm-angular-datepicker.mjs.map +1 -1
  12. package/datepicker/package.json +33 -0
  13. package/datepicker/types/wlcm-angular-datepicker.d.ts +285 -0
  14. package/filters/fesm2022/wlcm-angular-filters.mjs +32 -38
  15. package/filters/fesm2022/wlcm-angular-filters.mjs.map +1 -1
  16. package/filters/package.json +25 -0
  17. package/filters/types/wlcm-angular-filters.d.ts +81 -0
  18. package/forms/fesm2022/wlcm-angular-forms.mjs +378 -405
  19. package/forms/fesm2022/wlcm-angular-forms.mjs.map +1 -1
  20. package/forms/package.json +31 -0
  21. package/forms/types/wlcm-angular-forms.d.ts +365 -0
  22. package/package.json +27 -46
  23. package/phone-input/fesm2022/wlcm-angular-phone-input.mjs +66 -84
  24. package/phone-input/fesm2022/wlcm-angular-phone-input.mjs.map +1 -1
  25. package/phone-input/package.json +32 -0
  26. package/phone-input/types/wlcm-angular-phone-input.d.ts +81 -0
  27. package/search-field/fesm2022/wlcm-angular-search-field.mjs +25 -30
  28. package/search-field/fesm2022/wlcm-angular-search-field.mjs.map +1 -1
  29. package/search-field/package.json +28 -0
  30. package/search-field/types/wlcm-angular-search-field.d.ts +24 -0
  31. package/stepper/fesm2022/wlcm-angular-stepper.mjs +171 -294
  32. package/stepper/fesm2022/wlcm-angular-stepper.mjs.map +1 -1
  33. package/stepper/package.json +24 -0
  34. package/stepper/types/wlcm-angular-stepper.d.ts +114 -0
  35. package/styles/components/button/index.scss +25 -82
  36. package/styles/components/calendar/_calendar-header.scss +3 -6
  37. package/styles/components/calendar/_calendar.scss +10 -13
  38. package/styles/components/common/index.scss +4 -7
  39. package/styles/components/datepicker/_datepicker-input-container.scss +0 -3
  40. package/styles/components/datepicker/_datepicker-panel.scss +2 -5
  41. package/styles/components/datepicker/_datepicker-trigger.scss +0 -3
  42. package/styles/components/datepicker/date-range-picker/_date-range-picker-body.scss +10 -5
  43. package/styles/components/datepicker/date-range-picker/_date-range-picker-input.scss +4 -7
  44. package/styles/components/datepicker/date-range-picker/_date-range-picker-panel.scss +2 -5
  45. package/styles/components/forms/_autocomplete.scss +0 -3
  46. package/styles/components/forms/_checkbox-group.scss +0 -3
  47. package/styles/components/forms/_checkbox.scss +6 -8
  48. package/styles/components/forms/_error.scss +2 -13
  49. package/styles/components/forms/_form-field.scss +9 -10
  50. package/styles/components/forms/_label.scss +2 -11
  51. package/styles/components/forms/_radio.scss +13 -12
  52. package/styles/components/forms/_select.scss +5 -8
  53. package/styles/components/forms/partials/_dropdown-panel.scss +4 -6
  54. package/styles/components/loader/_loader.scss +5 -9
  55. package/styles/components/phone-input/_country-code-select.scss +0 -5
  56. package/styles/components/phone-input/_phone-input-container.scss +1 -6
  57. package/styles/components/search-field/index.scss +0 -4
  58. package/styles/components/stepper/_step-header.scss +8 -11
  59. package/styles/components/stepper/_step.scss +0 -5
  60. package/styles/components/stepper/_stepper-header.scss +0 -5
  61. package/styles/components/stepper/_stepper.scss +0 -4
  62. package/styles/components/table/_table-head-data.scss +6 -9
  63. package/styles/components/table/_table-head.scss +0 -5
  64. package/styles/components/table/_table-row-data.scss +2 -7
  65. package/styles/components/table/_table-row.scss +0 -5
  66. package/styles/components/table/_table.scss +0 -5
  67. package/styles/core/_all-theme.scss +8 -3
  68. package/styles/core/_tokens.scss +41 -0
  69. package/styles/core/_utils.scss +11 -44
  70. package/styles/wlcm.scss +1 -3
  71. package/table/fesm2022/wlcm-angular-table.mjs +130 -160
  72. package/table/fesm2022/wlcm-angular-table.mjs.map +1 -1
  73. package/table/package.json +27 -0
  74. package/table/types/wlcm-angular-table.d.ts +115 -0
  75. package/button/index.d.ts +0 -2
  76. package/button/lib/button.module.d.ts +0 -7
  77. package/button/lib/components/button/button.component.d.ts +0 -19
  78. package/button/lib/models/button.models.d.ts +0 -4
  79. package/core/index.d.ts +0 -11
  80. package/core/lib/components/default-loader/default-loader.component.d.ts +0 -5
  81. package/core/lib/components/icons/calendar-icon/calendar-icon.component.d.ts +0 -5
  82. package/core/lib/components/icons/chevron-down-icon/chevron-down-icon.component.d.ts +0 -5
  83. package/core/lib/components/icons/close-icon/close-icon.component.d.ts +0 -5
  84. package/core/lib/components/icons/search-icon/search-icon.component.d.ts +0 -5
  85. package/core/lib/components/loader/loader.component.d.ts +0 -11
  86. package/core/lib/constants/_index.d.ts +0 -2
  87. package/core/lib/constants/http.constants.d.ts +0 -2
  88. package/core/lib/constants/icon.contants.d.ts +0 -4
  89. package/core/lib/constants/loader.constants.d.ts +0 -2
  90. package/core/lib/directives/_index.d.ts +0 -1
  91. package/core/lib/directives/icon.directive.d.ts +0 -15
  92. package/core/lib/models/_index.d.ts +0 -2
  93. package/core/lib/models/icon.models.d.ts +0 -9
  94. package/core/lib/models/option.models.d.ts +0 -14
  95. package/core/lib/services/scroll-detection.api.d.ts +0 -10
  96. package/core/lib/utils/paginated-data-emulator.utils.d.ts +0 -9
  97. package/core/lib/utils/stream.utils.d.ts +0 -6
  98. package/datepicker/index.d.ts +0 -17
  99. package/datepicker/lib/components/calendar-header/calendar-header.component.d.ts +0 -24
  100. package/datepicker/lib/components/range/date-range-calendar-header/date-range-calendar-header.component.d.ts +0 -24
  101. package/datepicker/lib/components/range/date-range-picker-bottom-panel/date-range-picker-bottom-panel.component.d.ts +0 -8
  102. package/datepicker/lib/components/range/date-range-picker-input/date-range-picker-input.component.d.ts +0 -36
  103. package/datepicker/lib/components/range/double-calendar-range-picker/double-calendar-range-picker.component.d.ts +0 -35
  104. package/datepicker/lib/components/range/single-calendar-range-picker/single-calendar-range-picker.component.d.ts +0 -27
  105. package/datepicker/lib/components/single/datepicker-input-container/datepicker-input-container.component.d.ts +0 -30
  106. package/datepicker/lib/components/single/datepicker-panel/datepicker-panel.component.d.ts +0 -17
  107. package/datepicker/lib/constants/datepicker.constants.d.ts +0 -7
  108. package/datepicker/lib/constants/range/date-range-picker.constants.d.ts +0 -4
  109. package/datepicker/lib/constants/range/date-range-selection-model.constants.d.ts +0 -4
  110. package/datepicker/lib/constants/range/date-range-trigger-selection-model.constants.d.ts +0 -4
  111. package/datepicker/lib/datepicker.module.d.ts +0 -12
  112. package/datepicker/lib/directives/calendar.directive.d.ts +0 -5
  113. package/datepicker/lib/directives/datepicker-input.base.d.ts +0 -33
  114. package/datepicker/lib/directives/datepicker-trigger.base.d.ts +0 -33
  115. package/datepicker/lib/directives/ragne/date-range-picker-input-end.directive.d.ts +0 -20
  116. package/datepicker/lib/directives/ragne/date-range-picker-input-start.directive.d.ts +0 -20
  117. package/datepicker/lib/directives/ragne/date-range-picker-input.base.d.ts +0 -23
  118. package/datepicker/lib/directives/ragne/left-calendar.directive.d.ts +0 -17
  119. package/datepicker/lib/directives/ragne/right-calendar.directive.d.ts +0 -20
  120. package/datepicker/lib/directives/single/datepicker-input.directive.d.ts +0 -21
  121. package/datepicker/lib/models/date-picker.models.d.ts +0 -18
  122. package/datepicker/lib/models/range/data-range-calendar.models.d.ts +0 -25
  123. package/datepicker/lib/models/range/date-range-picker.models.d.ts +0 -18
  124. package/datepicker/lib/models/range/date-range-validation.models.d.ts +0 -3
  125. package/datepicker/lib/utils/range/date-range-input.validators.d.ts +0 -2
  126. package/datepicker/lib/utils/range/date-range-picker-errors.d.ts +0 -4
  127. package/filters/index.d.ts +0 -5
  128. package/filters/lib/components/filters-group/filters-group.component.d.ts +0 -6
  129. package/filters/lib/constants/filter.constants.d.ts +0 -3
  130. package/filters/lib/constants/index.d.ts +0 -1
  131. package/filters/lib/directives/filter.directive.d.ts +0 -5
  132. package/filters/lib/directives/index.d.ts +0 -1
  133. package/filters/lib/filters.module.d.ts +0 -9
  134. package/filters/lib/models/array-filter.models.d.ts +0 -19
  135. package/filters/lib/models/filter.models.d.ts +0 -19
  136. package/filters/lib/models/filters-group.models.d.ts +0 -22
  137. package/filters/lib/models/index.d.ts +0 -3
  138. package/forms/index.d.ts +0 -12
  139. package/forms/lib/forms/components/autocomplete/autocomplete.component.d.ts +0 -76
  140. package/forms/lib/forms/components/checkbox/checkbox.component.d.ts +0 -28
  141. package/forms/lib/forms/components/checkbox-group/checkbox-group.component.d.ts +0 -25
  142. package/forms/lib/forms/components/error/error.component.d.ts +0 -5
  143. package/forms/lib/forms/components/form-field/form-field.component.d.ts +0 -34
  144. package/forms/lib/forms/components/index.d.ts +0 -8
  145. package/forms/lib/forms/components/label/label.component.d.ts +0 -7
  146. package/forms/lib/forms/components/partials/autocomplete-suffix/autocomplete-suffix.component.d.ts +0 -10
  147. package/forms/lib/forms/components/partials/index.d.ts +0 -1
  148. package/forms/lib/forms/components/select/select.component.d.ts +0 -90
  149. package/forms/lib/forms/constants/form-elements.constants.d.ts +0 -6
  150. package/forms/lib/forms/constants/form-errors.constants.d.ts +0 -4
  151. package/forms/lib/forms/constants/form-field.constants.d.ts +0 -1
  152. package/forms/lib/forms/constants/form-state-handlers.constants.d.ts +0 -6
  153. package/forms/lib/forms/constants/index.d.ts +0 -5
  154. package/forms/lib/forms/constants/select.constants.d.ts +0 -3
  155. package/forms/lib/forms/directives/autocomplete.directive.d.ts +0 -16
  156. package/forms/lib/forms/directives/form-field-custom-container.directive.d.ts +0 -8
  157. package/forms/lib/forms/directives/form-field-hint.directive.d.ts +0 -5
  158. package/forms/lib/forms/directives/form-field-prefix.directive.d.ts +0 -6
  159. package/forms/lib/forms/directives/form-field-suffix.directive.d.ts +0 -5
  160. package/forms/lib/forms/directives/input.directive.d.ts +0 -14
  161. package/forms/lib/forms/directives/select-input-binder.directive.d.ts +0 -5
  162. package/forms/lib/forms/forms.module.d.ts +0 -19
  163. package/forms/lib/forms/models/_index.d.ts +0 -5
  164. package/forms/lib/forms/models/autocomplete.models.d.ts +0 -9
  165. package/forms/lib/forms/models/form-errors.models.d.ts +0 -5
  166. package/forms/lib/forms/models/form.models.d.ts +0 -11
  167. package/forms/lib/forms/models/input.models.d.ts +0 -13
  168. package/forms/lib/forms/models/select.models.d.ts +0 -9
  169. package/forms/lib/forms/pipes/errors-mapper.pipe.d.ts +0 -17
  170. package/forms/lib/forms/services/form-state-handler.service.d.ts +0 -10
  171. package/forms/lib/forms/services/index.d.ts +0 -2
  172. package/forms/lib/forms/services/places.api.d.ts +0 -11
  173. package/phone-input/index.d.ts +0 -4
  174. package/phone-input/lib/components/country-code-select/country-code-select.component.d.ts +0 -15
  175. package/phone-input/lib/components/phone-input-container/phone-input-container.component.d.ts +0 -30
  176. package/phone-input/lib/constants/country-code-options.constants.d.ts +0 -3
  177. package/phone-input/lib/constants/phone-adapter.constants.d.ts +0 -3
  178. package/phone-input/lib/directives/phone-input.directive.d.ts +0 -36
  179. package/phone-input/lib/models/country-code.models.d.ts +0 -7
  180. package/phone-input/lib/models/phone-adapter.models.d.ts +0 -10
  181. package/phone-input/lib/models/phone.models.d.ts +0 -3
  182. package/phone-input/lib/phone-input.module.d.ts +0 -9
  183. package/phone-input/lib/pipes/phone-code.pipe.d.ts +0 -8
  184. package/search-field/index.d.ts +0 -2
  185. package/search-field/lib/components/search-field/search-field.component.d.ts +0 -16
  186. package/search-field/lib/search-field.module.d.ts +0 -8
  187. package/stepper/index.d.ts +0 -10
  188. package/stepper/lib/components/step/step.component.d.ts +0 -16
  189. package/stepper/lib/components/step-header/step-header.component.d.ts +0 -20
  190. package/stepper/lib/components/stepper/stepper.component.d.ts +0 -6
  191. package/stepper/lib/components/stepper-header/stepper-header.component.d.ts +0 -8
  192. package/stepper/lib/constants/step.constants.d.ts +0 -4
  193. package/stepper/lib/constants/stepper.stepper.d.ts +0 -3
  194. package/stepper/lib/directives/load-on-active-step.directive.d.ts +0 -13
  195. package/stepper/lib/models/step.models.d.ts +0 -43
  196. package/stepper/lib/models/stepper.models.d.ts +0 -44
  197. package/stepper/lib/stepper.module.d.ts +0 -12
  198. package/styles/core/_core.scss +0 -10
  199. package/table/index.d.ts +0 -9
  200. package/table/lib/components/table/table.component.d.ts +0 -24
  201. package/table/lib/components/table-head/table-head.component.d.ts +0 -8
  202. package/table/lib/components/table-head-actions/table-head-actions.component.d.ts +0 -12
  203. package/table/lib/components/table-head-data/table-head-data.component.d.ts +0 -5
  204. package/table/lib/components/table-row/table-row.component.d.ts +0 -23
  205. package/table/lib/components/table-row-actions/table-row-actions.component.d.ts +0 -5
  206. package/table/lib/components/table-row-data/table-row-data.component.d.ts +0 -5
  207. package/table/lib/components/table-row-spacer/table-row-spacer.component.d.ts +0 -5
  208. package/table/lib/constants/table-row.constants.d.ts +0 -3
  209. package/table/lib/constants/table.constants.d.ts +0 -3
  210. package/table/lib/directives/scrollable-table-container.directive.d.ts +0 -13
  211. package/table/lib/models/table-config-manager.models.d.ts +0 -12
  212. package/table/lib/models/table-row.models.d.ts +0 -10
  213. package/table/lib/models/table-selection-model.d.ts +0 -25
  214. package/table/lib/models/table.models.d.ts +0 -4
  215. package/table/lib/pipes/table-row-injector.pipe.d.ts +0 -9
  216. package/table/lib/table.module.d.ts +0 -13
  217. package/table/lib/utils/table-errors.utils.d.ts +0 -3
@@ -1,5 +1,4 @@
1
- @use 'sass:map';
2
- @use 'utils' as utils;
1
+ @use 'tokens' as tokens;
3
2
  @use '../components/common/index' as common;
4
3
  @use '../components/forms/index' as forms;
5
4
  @use '../components/button/index' as button;
@@ -11,7 +10,13 @@
11
10
  @use '../components/loader/index' as loader;
12
11
  @use '../components/table/index' as table;
13
12
 
14
- @mixin all-component-themes($theme-config) {
13
+ @mixin theme($theme-config) {
14
+ // Emit the `--wlcm-*` token contract; `emit-tokens` owns its own selectors
15
+ // (`:root` for light, plus `prefers-color-scheme` / `[data-theme]` blocks for
16
+ // dark) so component styles below can consume the `--wlcm-*` / `--mat-sys-*`
17
+ // `var()` references directly under either scheme.
18
+ @include tokens.emit-tokens($theme-config);
19
+
15
20
  @include common.theme($theme-config);
16
21
  @include forms.theme($theme-config);
17
22
  @include button.theme($theme-config);
@@ -0,0 +1,41 @@
1
+ @use 'sass:map';
2
+ @use 'utils' as utils;
3
+
4
+ // Default numeric weights applied when the consumer does NOT pass a named
5
+ // family for a tier. Named WLCM fonts (e.g. `Montserrat-Bold`) are registered
6
+ // via `@font-face` at `font-weight: normal` — the weight lives in the file — so
7
+ // whenever a family is present we pin the weight to `normal` to avoid faux-bold.
8
+ $default-weights: (
9
+ bold: 700,
10
+ medium: 500,
11
+ regular: 400,
12
+ );
13
+
14
+ // prettier-ignore
15
+ @mixin emit-tokens($theme-config) {
16
+ $typography: map-get($theme_config, typography) or ();
17
+
18
+ // Typography is scheme-independent.
19
+ //
20
+ // For each tier we emit a `--wlcm-<tier>-font-family` and a paired
21
+ // `--wlcm-<tier>-font-weight`. If the consumer supplied a named family, the
22
+ // family carries the weight so the weight token is `normal`; otherwise the
23
+ // family token is empty (so `font-family` inherits) and the weight token holds
24
+ // the real numeric weight. `utils.font()` consumes both.
25
+ @include emit-font-tier(bold, $typography);
26
+ @include emit-font-tier(medium, $typography);
27
+ @include emit-font-tier(regular, $typography);
28
+ }
29
+
30
+ // prettier-ignore
31
+ @mixin emit-font-tier($tier, $typography) {
32
+ $family: map-get($typography, #{$tier}-font-family);
33
+
34
+ @if $family {
35
+ --wlcm-#{$tier}-font-family: #{$family};
36
+ --wlcm-#{$tier}-font-weight: normal;
37
+ } @else {
38
+ --wlcm-#{$tier}-font-family: ;
39
+ --wlcm-#{$tier}-font-weight: #{map-get($default-weights, $tier)};
40
+ }
41
+ }
@@ -1,9 +1,5 @@
1
1
  @use 'sass:map';
2
2
 
3
- @function get-color-config($theme-config) {
4
- @return map-get($theme_config, color);
5
- }
6
-
7
3
  @function get-specific-color-config($theme-config) {
8
4
  @return map-get($theme_config, specific-color);
9
5
  }
@@ -12,44 +8,15 @@
12
8
  @return map-get($theme_config, typography);
13
9
  }
14
10
 
15
- @function get-bold-typography($typography-config) {
16
- @return map-get($typography-config, bold);
17
- }
18
-
19
- @function get-medium-typography($typography-config) {
20
- @return map-get($typography-config, medium);
21
- }
22
-
23
- @function get-regular-typography($typography-config) {
24
- @return map-get($typography-config, regular);
25
- }
26
-
27
- @function using-theme($theme-config) {
28
- $color-config: get-color-config($theme_config);
29
-
30
- $specific-color-config: get-specific-color-config($theme_config);
31
-
32
- $typography-config: get-typography-config($theme_config);
33
-
34
- @return (
35
- // Color
36
- primary-color: map-get($color-config, primary),
37
- accent-color: map-get($color-config, accent),
38
- warn-color: map-get($color-config, warn),
39
- // Specific Color
40
- text-black-color: map-get($specific-color-config, text-black-color),
41
- field-outline-color: map-get($specific-color-config, field-outline-color),
42
- focus-field-outline-color:
43
- map-get($specific-color-config, focus-field-outline-color),
44
- hover-field-outline-color:
45
- map-get($specific-color-config, hover-field-outline-color),
46
- selected-option-color:
47
- map-get($specific-color-config, selected-option-color),
48
- field-text-color: map-get($specific-color-config, field-text-color),
49
- placeholder-color: map-get($specific-color-config, placeholder-color),
50
- // Typography
51
- bold-font-family: get-bold-typography($typography-config),
52
- medium-font-family: get-medium-typography($typography-config),
53
- regular-font-family: get-regular-typography($typography-config)
54
- );
11
+ // Applies a named font tier (`bold` | `medium` | `regular`).
12
+ //
13
+ // Components consume `--wlcm-*` tokens directly rather than going through a
14
+ // theme map. Each tier resolves to a family/weight pair emitted by
15
+ // `tokens.emit-tokens()`: when the consumer supplied a named family the weight
16
+ // is `normal` (the font file carries the weight — avoids faux-bold); when no
17
+ // family was supplied the family is empty (so `font-family` inherits) and the
18
+ // weight token holds the real numeric weight.
19
+ @mixin font($tier) {
20
+ font-family: var(--wlcm-#{$tier}-font-family);
21
+ font-weight: var(--wlcm-#{$tier}-font-weight);
55
22
  }
package/styles/wlcm.scss CHANGED
@@ -1,3 +1 @@
1
- @forward './core/core' show core;
2
-
3
- @forward './core/all-theme' show all-component-themes;
1
+ @forward './core/all-theme' show theme;
@@ -1,15 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, InjectionToken, inject, Injector, Pipe, input, Inject, signal, ElementRef, HostBinding, output, NgZone, Directive, NgModule } from '@angular/core';
3
- import * as i3 from '@angular/common';
2
+ import { signal, ChangeDetectionStrategy, Component, InjectionToken, inject, Injector, Pipe, input, DestroyRef, Inject, output, ElementRef, Directive, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import { __decorate, __metadata } from 'tslib';
6
- import { BehaviorSubject, map, switchMap, takeUntil, skip, filter, finalize, fromEvent, debounceTime } from 'rxjs';
7
- import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
8
- import { toObservable } from '@angular/core/rxjs-interop';
9
- import { RxLet } from '@rx-angular/template/let';
10
- import * as i2 from '@wlcm/angular/forms';
5
+ import { toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
6
+ import { BehaviorSubject, map, switchMap, takeUntil, skip, filter, fromEvent, debounceTime } from 'rxjs';
7
+ import * as i1$1 from '@wlcm/angular/forms';
11
8
  import { WlcmFormsModule } from '@wlcm/angular/forms';
12
- import * as i3$1 from '@angular/forms';
9
+ import * as i2 from '@angular/forms';
13
10
  import { FormControl, ReactiveFormsModule, FormsModule } from '@angular/forms';
14
11
 
15
12
  class WlcmTableSelectionModel {
@@ -64,25 +61,27 @@ class TableConfigManager {
64
61
  class DefaultTableConfigManager extends TableConfigManager {
65
62
  constructor() {
66
63
  super(...arguments);
67
- this.#selectable$ = new BehaviorSubject(false);
68
- this.selectable$ = this.#selectable$.asObservable();
64
+ this.#selectable = signal(false, /* @ts-ignore */
65
+ ...(ngDevMode ? [{ debugName: "#selectable" }] : /* istanbul ignore next */ []));
66
+ this.selectableSignal = this.#selectable.asReadonly();
67
+ this.selectable$ = toObservable(this.#selectable);
69
68
  }
70
- #selectable$;
69
+ #selectable;
71
70
  get selectable() {
72
- return this.#selectable$.value;
71
+ return this.#selectable();
73
72
  }
74
73
  set selectable(value) {
75
- this.#selectable$.next(value);
74
+ this.#selectable.set(value);
76
75
  }
77
76
  }
78
77
 
79
78
  class WlcmTableRowSpacerComponent {
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmTableRowSpacerComponent, isStandalone: true, selector: "wlcm-table-row-spacer", host: { classAttribute: "wlcm-table-row-spacer" }, ngImport: i0, template: "", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
80
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: WlcmTableRowSpacerComponent, isStandalone: true, selector: "wlcm-table-row-spacer", host: { classAttribute: "wlcm-table-row-spacer" }, ngImport: i0, template: "", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
82
81
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowSpacerComponent, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowSpacerComponent, decorators: [{
84
83
  type: Component,
85
- args: [{ selector: 'wlcm-table-row-spacer', host: { class: 'wlcm-table-row-spacer' }, standalone: true, imports: [CommonModule], template: "" }]
84
+ args: [{ selector: 'wlcm-table-row-spacer', host: { class: 'wlcm-table-row-spacer' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "" }]
86
85
  }] });
87
86
 
88
87
  const WLCM_TABLE_ROW_CONTEXT = new InjectionToken('WLCM_TABLE_ROW_CONTEXT');
@@ -97,14 +96,13 @@ class WlcmTableRowInjectorPipe {
97
96
  parent: this.injector,
98
97
  });
99
98
  }
100
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowInjectorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
101
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowInjectorPipe, isStandalone: true, name: "wlcmTableRowInjector" }); }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowInjectorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
100
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowInjectorPipe, isStandalone: true, name: "wlcmTableRowInjector" }); }
102
101
  }
103
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowInjectorPipe, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowInjectorPipe, decorators: [{
104
103
  type: Pipe,
105
104
  args: [{
106
105
  name: 'wlcmTableRowInjector',
107
- standalone: true,
108
106
  }]
109
107
  }] });
110
108
 
@@ -118,24 +116,32 @@ const WLCM_TABLE_CONFIG = new InjectionToken('WLCM_TABLE_CONFIG', {
118
116
  factory: () => ({ selectable: false }),
119
117
  });
120
118
 
121
- let WlcmTableComponent = class WlcmTableComponent {
119
+ class WlcmTableComponent {
122
120
  #streamOfRows$;
123
- constructor(selectionModel, config, configManager) {
124
- this.selectionModel = selectionModel;
125
- this.config = config;
126
- this.configManager = configManager;
127
- this.rows = input([]);
128
- this.headTemplate = input();
129
- this.rowTemplate = input.required();
130
- this.isRowSelectable = input(() => true);
131
- this.selectId = input();
132
- this.trackBy = input((_, row) => row);
133
- this.selectable = input();
121
+ constructor() {
122
+ this.rows = input([], /* @ts-ignore */
123
+ ...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
124
+ this.headTemplate = input(/* @ts-ignore */
125
+ ...(ngDevMode ? [undefined, { debugName: "headTemplate" }] : /* istanbul ignore next */ []));
126
+ this.rowTemplate = input.required(/* @ts-ignore */
127
+ ...(ngDevMode ? [{ debugName: "rowTemplate" }] : /* istanbul ignore next */ []));
128
+ this.isRowSelectable = input(() => true, /* @ts-ignore */
129
+ ...(ngDevMode ? [{ debugName: "isRowSelectable" }] : /* istanbul ignore next */ []));
130
+ this.selectId = input(/* @ts-ignore */
131
+ ...(ngDevMode ? [undefined, { debugName: "selectId" }] : /* istanbul ignore next */ []));
132
+ this.trackBy = input((_, row) => row, /* @ts-ignore */
133
+ ...(ngDevMode ? [{ debugName: "trackBy" }] : /* istanbul ignore next */ []));
134
+ this.selectable = input(/* @ts-ignore */
135
+ ...(ngDevMode ? [undefined, { debugName: "selectable" }] : /* istanbul ignore next */ []));
134
136
  this.injector = inject(Injector);
137
+ this.selectionModel = inject(WlcmTableSelectionModel);
138
+ this.config = inject(WLCM_TABLE_CONFIG);
139
+ this.configManager = inject(TableConfigManager);
140
+ this.destroyRef = inject(DestroyRef);
135
141
  this.#streamOfRows$ = toObservable(this.rows);
136
- this.configManager.selectable = config.selectable;
142
+ this.configManager.selectable = this.config.selectable;
137
143
  toObservable(this.selectable)
138
- .pipe(untilDestroyed(this))
144
+ .pipe(takeUntilDestroyed())
139
145
  .subscribe((value) => {
140
146
  if (value === undefined)
141
147
  return;
@@ -148,7 +154,7 @@ let WlcmTableComponent = class WlcmTableComponent {
148
154
  WlcmTableErrorsUtils.throwNoSelectIdError();
149
155
  }
150
156
  this.#streamOfRows$
151
- .pipe(untilDestroyed(this))
157
+ .pipe(takeUntilDestroyed(this.destroyRef))
152
158
  .pipe(switchMap((rows) => this.configManager.selectable$.pipe(map(() => rows))))
153
159
  .subscribe((rows) => {
154
160
  if (!this.configManager.selectable) {
@@ -158,31 +164,25 @@ let WlcmTableComponent = class WlcmTableComponent {
158
164
  this.selectionModel.updateCollection(rows.filter(this.isRowSelectable()).map(this.selectId()));
159
165
  });
160
166
  }
161
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableComponent, deps: [{ token: WlcmTableSelectionModel }, { token: WLCM_TABLE_CONFIG }, { token: TableConfigManager }], target: i0.ɵɵFactoryTarget.Component }); }
162
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.4", type: WlcmTableComponent, isStandalone: true, selector: "wlcm-table", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, headTemplate: { classPropertyName: "headTemplate", publicName: "headTemplate", isSignal: true, isRequired: false, transformFunction: null }, rowTemplate: { classPropertyName: "rowTemplate", publicName: "rowTemplate", isSignal: true, isRequired: true, transformFunction: null }, isRowSelectable: { classPropertyName: "isRowSelectable", publicName: "isRowSelectable", isSignal: true, isRequired: false, transformFunction: null }, selectId: { classPropertyName: "selectId", publicName: "selectId", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, selectable: { classPropertyName: "selectable", publicName: "selectable", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "wlcm-table" }, providers: [
167
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
168
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: WlcmTableComponent, isStandalone: true, selector: "wlcm-table", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, headTemplate: { classPropertyName: "headTemplate", publicName: "headTemplate", isSignal: true, isRequired: false, transformFunction: null }, rowTemplate: { classPropertyName: "rowTemplate", publicName: "rowTemplate", isSignal: true, isRequired: true, transformFunction: null }, isRowSelectable: { classPropertyName: "isRowSelectable", publicName: "isRowSelectable", isSignal: true, isRequired: false, transformFunction: null }, selectId: { classPropertyName: "selectId", publicName: "selectId", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, selectable: { classPropertyName: "selectable", publicName: "selectable", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "wlcm-table" }, providers: [
163
169
  { provide: TableConfigManager, useClass: DefaultTableConfigManager },
164
170
  { provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel },
165
- ], ngImport: i0, template: "@if (headTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"headTemplate()!; injector: injector\"\n ></ng-container>\n}\n\n<tbody>\n <ng-container\n *ngFor=\"\n let row of rows();\n trackBy: trackBy();\n let index = index;\n let first = first;\n let last = last\n \"\n >\n @if ((first && headTemplate()) || !first) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n }\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n isRowSelectable: isRowSelectable(),\n index: index,\n first: first,\n last: last\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n </ng-container>\n</tbody>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: WlcmTableRowInjectorPipe, name: "wlcmTableRowInjector" }, { kind: "component", type: WlcmTableRowSpacerComponent, selector: "wlcm-table-row-spacer" }, { kind: "directive", type: RxLet, selector: "[rxLet]", inputs: ["rxLet", "rxLetStrategy", "rxLetComplete", "rxLetError", "rxLetSuspense", "rxLetContextTrigger", "rxLetCompleteTrigger", "rxLetErrorTrigger", "rxLetSuspenseTrigger", "rxLetNextTrigger", "rxLetRenderCallback", "rxLetParent", "rxLetPatchZone"], outputs: ["rendered"] }] }); }
166
- };
167
- WlcmTableComponent = __decorate([
168
- UntilDestroy(),
169
- __metadata("design:paramtypes", [WlcmTableSelectionModel, Object, TableConfigManager])
170
- ], WlcmTableComponent);
171
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableComponent, decorators: [{
171
+ ], ngImport: i0, template: "@if (headTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"headTemplate()!; injector: injector\"\n ></ng-container>\n}\n\n<tbody>\n @for (\n row of rows(); track trackBy()(index,\n row); let index = $index; let first = $first; let last = $last) {\n @if ((first && headTemplate()) || !first) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n }\n @let context =\n {\n $implicit: row,\n selectId: selectId(),\n isRowSelectable: isRowSelectable(),\n index: index,\n first: first,\n last: last,\n };\n <ng-container>\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n }\n</tbody>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: WlcmTableRowSpacerComponent, selector: "wlcm-table-row-spacer" }, { kind: "pipe", type: WlcmTableRowInjectorPipe, name: "wlcmTableRowInjector" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
172
+ }
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableComponent, decorators: [{
172
174
  type: Component,
173
- args: [{ selector: 'wlcm-table', host: { class: 'wlcm-table' }, standalone: true, imports: [CommonModule, WlcmTableRowInjectorPipe, WlcmTableRowSpacerComponent, RxLet], providers: [
175
+ args: [{ selector: 'wlcm-table', host: { class: 'wlcm-table' }, imports: [CommonModule, WlcmTableRowInjectorPipe, WlcmTableRowSpacerComponent], providers: [
174
176
  { provide: TableConfigManager, useClass: DefaultTableConfigManager },
175
177
  { provide: WlcmTableSelectionModel, useClass: DefaultWlcmTableSelectionModel },
176
- ], template: "@if (headTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"headTemplate()!; injector: injector\"\n ></ng-container>\n}\n\n<tbody>\n <ng-container\n *ngFor=\"\n let row of rows();\n trackBy: trackBy();\n let index = index;\n let first = first;\n let last = last\n \"\n >\n @if ((first && headTemplate()) || !first) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n }\n\n <ng-container\n *rxLet=\"\n {\n $implicit: row,\n selectId: selectId(),\n isRowSelectable: isRowSelectable(),\n index: index,\n first: first,\n last: last\n };\n let context\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n </ng-container>\n</tbody>\n" }]
177
- }], ctorParameters: () => [{ type: WlcmTableSelectionModel }, { type: undefined, decorators: [{
178
- type: Inject,
179
- args: [WLCM_TABLE_CONFIG]
180
- }] }, { type: TableConfigManager }] });
178
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (headTemplate()) {\n <ng-container\n *ngTemplateOutlet=\"headTemplate()!; injector: injector\"\n ></ng-container>\n}\n\n<tbody>\n @for (\n row of rows(); track trackBy()(index,\n row); let index = $index; let first = $first; let last = $last) {\n @if ((first && headTemplate()) || !first) {\n <wlcm-table-row-spacer></wlcm-table-row-spacer>\n }\n @let context =\n {\n $implicit: row,\n selectId: selectId(),\n isRowSelectable: isRowSelectable(),\n index: index,\n first: first,\n last: last,\n };\n <ng-container>\n <ng-container\n *ngTemplateOutlet=\"\n rowTemplate();\n context: context;\n injector: context | wlcmTableRowInjector\n \"\n >\n </ng-container>\n </ng-container>\n }\n</tbody>\n" }]
179
+ }], ctorParameters: () => [], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], headTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "headTemplate", required: false }] }], rowTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowTemplate", required: true }] }], isRowSelectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isRowSelectable", required: false }] }], selectId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectId", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], selectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectable", required: false }] }] } });
181
180
 
182
- let WlcmTableHeadActionsComponent = class WlcmTableHeadActionsComponent {
183
- constructor(selectionModel) {
184
- this.selectionModel = selectionModel;
181
+ class WlcmTableHeadActionsComponent {
182
+ constructor() {
185
183
  this.control = new FormControl(false);
184
+ this.selectionModel = inject(WlcmTableSelectionModel);
185
+ this.destroyRef = inject(DestroyRef);
186
186
  this.handleSelectionChange();
187
187
  }
188
188
  toggle(isChecked) {
@@ -193,73 +193,59 @@ let WlcmTableHeadActionsComponent = class WlcmTableHeadActionsComponent {
193
193
  }
194
194
  handleSelectionChange() {
195
195
  this.selectionModel.allSelected
196
- .pipe(untilDestroyed(this))
196
+ .pipe(takeUntilDestroyed(this.destroyRef))
197
197
  .subscribe((isSelected) => this.control.setValue(isSelected));
198
198
  }
199
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableHeadActionsComponent, deps: [{ token: WlcmTableSelectionModel }], target: i0.ɵɵFactoryTarget.Component }); }
200
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmTableHeadActionsComponent, isStandalone: true, selector: "wlcm-table-head-actions", host: { classAttribute: "wlcm-table-head-actions" }, ngImport: i0, template: "<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i2.WlcmCheckboxComponent, selector: "wlcm-checkbox", inputs: ["value"], outputs: ["changed"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] }); }
201
- };
202
- WlcmTableHeadActionsComponent = __decorate([
203
- UntilDestroy(),
204
- __metadata("design:paramtypes", [WlcmTableSelectionModel])
205
- ], WlcmTableHeadActionsComponent);
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableHeadActionsComponent, decorators: [{
199
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableHeadActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
200
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: WlcmTableHeadActionsComponent, isStandalone: true, selector: "wlcm-table-head-actions", host: { classAttribute: "wlcm-table-head-actions" }, ngImport: i0, template: "<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i1$1.WlcmCheckboxComponent, selector: "wlcm-checkbox", inputs: ["value"], outputs: ["changed"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
201
+ }
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableHeadActionsComponent, decorators: [{
207
203
  type: Component,
208
- args: [{ selector: 'wlcm-table-head-actions', host: { class: 'wlcm-table-head-actions' }, standalone: true, imports: [CommonModule, WlcmFormsModule, ReactiveFormsModule], template: "<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n" }]
209
- }], ctorParameters: () => [{ type: WlcmTableSelectionModel }] });
204
+ args: [{ selector: 'wlcm-table-head-actions', host: { class: 'wlcm-table-head-actions' }, imports: [WlcmFormsModule, ReactiveFormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<wlcm-checkbox\n [formControl]=\"control\"\n (changed)=\"toggle($event)\"\n></wlcm-checkbox>\n" }]
205
+ }], ctorParameters: () => [] });
210
206
 
211
207
  class WlcmTableHeadComponent {
212
- constructor(tableConfigManager) {
213
- this.tableConfigManager = tableConfigManager;
208
+ constructor() {
209
+ this.tableConfigManager = inject(TableConfigManager);
214
210
  }
215
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableHeadComponent, deps: [{ token: TableConfigManager }], target: i0.ɵɵFactoryTarget.Component }); }
216
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.4", type: WlcmTableHeadComponent, isStandalone: true, selector: "wlcm-table-head", host: { classAttribute: "wlcm-table-head" }, ngImport: i0, template: "@if (tableConfigManager.selectable) {\n <wlcm-table-head-actions></wlcm-table-head-actions>\n}\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: WlcmTableHeadActionsComponent, selector: "wlcm-table-head-actions" }] }); }
211
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableHeadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
212
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: WlcmTableHeadComponent, isStandalone: true, selector: "wlcm-table-head", host: { classAttribute: "wlcm-table-head" }, ngImport: i0, template: "@if (tableConfigManager.selectable) {\n <wlcm-table-head-actions></wlcm-table-head-actions>\n}\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "component", type: WlcmTableHeadActionsComponent, selector: "wlcm-table-head-actions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
217
213
  }
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableHeadComponent, decorators: [{
214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableHeadComponent, decorators: [{
219
215
  type: Component,
220
- args: [{ selector: 'wlcm-table-head', host: { class: 'wlcm-table-head' }, standalone: true, imports: [CommonModule, WlcmTableHeadActionsComponent], template: "@if (tableConfigManager.selectable) {\n <wlcm-table-head-actions></wlcm-table-head-actions>\n}\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n" }]
221
- }], ctorParameters: () => [{ type: TableConfigManager }] });
216
+ args: [{ selector: 'wlcm-table-head', host: { class: 'wlcm-table-head' }, imports: [WlcmTableHeadActionsComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (tableConfigManager.selectable) {\n <wlcm-table-head-actions></wlcm-table-head-actions>\n}\n\n<ng-content select=\"wlcm-table-head-data\"></ng-content>\n" }]
217
+ }] });
222
218
 
223
219
  class WlcmTableHeadDataComponent {
224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableHeadDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
225
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmTableHeadDataComponent, isStandalone: true, selector: "wlcm-table-head-data", host: { classAttribute: "wlcm-table-head-data" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
220
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableHeadDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
221
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: WlcmTableHeadDataComponent, isStandalone: true, selector: "wlcm-table-head-data", host: { classAttribute: "wlcm-table-head-data" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
226
222
  }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableHeadDataComponent, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableHeadDataComponent, decorators: [{
228
224
  type: Component,
229
- args: [{ selector: 'wlcm-table-head-data', host: { class: 'wlcm-table-head-data' }, standalone: true, imports: [CommonModule], template: "<ng-content></ng-content>\n" }]
225
+ args: [{ selector: 'wlcm-table-head-data', host: { class: 'wlcm-table-head-data' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
230
226
  }] });
231
227
 
232
228
  class WlcmTableRowActionsComponent {
233
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
234
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmTableRowActionsComponent, isStandalone: true, selector: "wlcm-table-row-actions", host: { classAttribute: "wlcm-table-row-actions" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
229
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
230
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: WlcmTableRowActionsComponent, isStandalone: true, selector: "wlcm-table-row-actions", host: { classAttribute: "wlcm-table-row-actions" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
235
231
  }
236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowActionsComponent, decorators: [{
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowActionsComponent, decorators: [{
237
233
  type: Component,
238
- args: [{ selector: 'wlcm-table-row-actions', host: { class: 'wlcm-table-row-actions' }, standalone: true, imports: [CommonModule], template: "<ng-content></ng-content>\n" }]
234
+ args: [{ selector: 'wlcm-table-row-actions', host: { class: 'wlcm-table-row-actions' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
239
235
  }] });
240
236
 
241
- let WlcmTableRowComponent = class WlcmTableRowComponent {
242
- get first() {
243
- return this.rowContext.first;
244
- }
245
- get last() {
246
- return this.rowContext.last;
247
- }
248
- constructor(elementRef, tableConfigManager, selectionModel, rowContext) {
249
- this.elementRef = elementRef;
250
- this.tableConfigManager = tableConfigManager;
251
- this.selectionModel = selectionModel;
237
+ class WlcmTableRowComponent {
238
+ constructor(rowContext) {
252
239
  this.rowContext = rowContext;
253
- this.isSelected = signal(false);
254
- this.isSelectable = signal(false);
255
- this.markAsSelected = () => {
256
- this.elementRef.nativeElement.classList.add('wlcm-table-row-selected');
257
- };
258
- this.markAsUnselected = () => {
259
- this.elementRef.nativeElement.classList.remove('wlcm-table-row-selected');
260
- };
261
- this.tableConfigManager.selectable$.pipe(untilDestroyed(this)).subscribe((value) => {
262
- this.isSelectable.update(() => value && this.rowContext.isRowSelectable(rowContext.$implicit));
240
+ this.isSelected = signal(false, /* @ts-ignore */
241
+ ...(ngDevMode ? [{ debugName: "isSelected" }] : /* istanbul ignore next */ []));
242
+ this.isSelectable = signal(false, /* @ts-ignore */
243
+ ...(ngDevMode ? [{ debugName: "isSelectable" }] : /* istanbul ignore next */ []));
244
+ this.destroyRef = inject(DestroyRef);
245
+ this.tableConfigManager = inject(TableConfigManager);
246
+ this.selectionModel = inject(WlcmTableSelectionModel);
247
+ this.tableConfigManager.selectable$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((value) => {
248
+ this.isSelectable.set(value && this.rowContext.isRowSelectable(this.rowContext.$implicit));
263
249
  if (this.isSelectable()) {
264
250
  this.rowId = this.rowContext.selectId(this.rowContext.$implicit);
265
251
  this.handleSelectionChanges();
@@ -275,87 +261,69 @@ let WlcmTableRowComponent = class WlcmTableRowComponent {
275
261
  }
276
262
  handleSelectionChanges() {
277
263
  this.selectionModel.selectionChanged
278
- .pipe(untilDestroyed(this))
264
+ .pipe(takeUntilDestroyed(this.destroyRef))
279
265
  .pipe(takeUntil(this.tableConfigManager.selectable$.pipe(skip(1))))
280
266
  .pipe(map((collection) => collection.has(this.rowId)))
281
267
  .pipe(filter((isSelected) => isSelected !== this.isSelected()))
282
- .pipe(finalize(() => this.markAsUnselected()))
283
- .subscribe((isSelected) => {
284
- this.isSelected.set(isSelected);
285
- isSelected ? this.markAsSelected() : this.markAsUnselected();
286
- });
268
+ .subscribe((isSelected) => this.isSelected.set(isSelected));
287
269
  }
288
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowComponent, deps: [{ token: i0.ElementRef }, { token: TableConfigManager }, { token: WlcmTableSelectionModel }, { token: WLCM_TABLE_ROW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
289
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.4", type: WlcmTableRowComponent, isStandalone: true, selector: "wlcm-table-row", host: { properties: { "class.wlcm-table-row-first": "this.first", "class.wlcm-table-row-last": "this.last" }, classAttribute: "wlcm-table-row" }, ngImport: i0, template: "@if (tableConfigManager.selectable) {\n <wlcm-table-row-actions>\n @if (isSelectable()) {\n <wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged($event)\"\n ></wlcm-checkbox>\n }\n </wlcm-table-row-actions>\n}\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: WlcmTableRowActionsComponent, selector: "wlcm-table-row-actions" }, { kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i2.WlcmCheckboxComponent, selector: "wlcm-checkbox", inputs: ["value"], outputs: ["changed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
290
- };
291
- WlcmTableRowComponent = __decorate([
292
- UntilDestroy(),
293
- __metadata("design:paramtypes", [ElementRef,
294
- TableConfigManager,
295
- WlcmTableSelectionModel, Object])
296
- ], WlcmTableRowComponent);
297
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowComponent, decorators: [{
270
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowComponent, deps: [{ token: WLCM_TABLE_ROW_CONTEXT }], target: i0.ɵɵFactoryTarget.Component }); }
271
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: WlcmTableRowComponent, isStandalone: true, selector: "wlcm-table-row", host: { properties: { "class.wlcm-table-row-first": "rowContext.first", "class.wlcm-table-row-last": "rowContext.last", "class.wlcm-table-row-selected": "isSelected()" }, classAttribute: "wlcm-table-row" }, ngImport: i0, template: "@if (tableConfigManager.selectable) {\n <wlcm-table-row-actions>\n @if (isSelectable()) {\n <wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged($event)\"\n ></wlcm-checkbox>\n }\n </wlcm-table-row-actions>\n}\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n", styles: [""], dependencies: [{ kind: "component", type: WlcmTableRowActionsComponent, selector: "wlcm-table-row-actions" }, { kind: "ngmodule", type: WlcmFormsModule }, { kind: "component", type: i1$1.WlcmCheckboxComponent, selector: "wlcm-checkbox", inputs: ["value"], outputs: ["changed"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
272
+ }
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowComponent, decorators: [{
298
274
  type: Component,
299
- args: [{ selector: 'wlcm-table-row', host: { class: 'wlcm-table-row' }, standalone: true, imports: [CommonModule, WlcmTableRowActionsComponent, WlcmFormsModule, FormsModule], template: "@if (tableConfigManager.selectable) {\n <wlcm-table-row-actions>\n @if (isSelectable()) {\n <wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged($event)\"\n ></wlcm-checkbox>\n }\n </wlcm-table-row-actions>\n}\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n" }]
300
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: TableConfigManager }, { type: WlcmTableSelectionModel }, { type: undefined, decorators: [{
275
+ args: [{ selector: 'wlcm-table-row', host: {
276
+ class: 'wlcm-table-row',
277
+ '[class.wlcm-table-row-first]': 'rowContext.first',
278
+ '[class.wlcm-table-row-last]': 'rowContext.last',
279
+ '[class.wlcm-table-row-selected]': 'isSelected()',
280
+ }, imports: [WlcmTableRowActionsComponent, WlcmFormsModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (tableConfigManager.selectable) {\n <wlcm-table-row-actions>\n @if (isSelectable()) {\n <wlcm-checkbox\n [ngModel]=\"isSelected()\"\n (changed)=\"selectionChanged($event)\"\n ></wlcm-checkbox>\n }\n </wlcm-table-row-actions>\n}\n\n<ng-content select=\"wlcm-table-row-data\"></ng-content>\n" }]
281
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
301
282
  type: Inject,
302
283
  args: [WLCM_TABLE_ROW_CONTEXT]
303
- }] }], propDecorators: { first: [{
304
- type: HostBinding,
305
- args: ['class.wlcm-table-row-first']
306
- }], last: [{
307
- type: HostBinding,
308
- args: ['class.wlcm-table-row-last']
309
- }] } });
284
+ }] }] });
310
285
 
311
286
  class WlcmTableRowDataComponent {
312
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
313
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: WlcmTableRowDataComponent, isStandalone: true, selector: "wlcm-table-row-data", host: { classAttribute: "wlcm-table-row-data" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
287
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
288
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: WlcmTableRowDataComponent, isStandalone: true, selector: "wlcm-table-row-data", host: { classAttribute: "wlcm-table-row-data" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
314
289
  }
315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableRowDataComponent, decorators: [{
290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableRowDataComponent, decorators: [{
316
291
  type: Component,
317
- args: [{ selector: 'wlcm-table-row-data', host: { class: 'wlcm-table-row-data' }, standalone: true, imports: [CommonModule], template: "<ng-content></ng-content>\n" }]
292
+ args: [{ selector: 'wlcm-table-row-data', host: { class: 'wlcm-table-row-data' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
318
293
  }] });
319
294
 
320
- let WlcmScrollableTableContainerDirective = class WlcmScrollableTableContainerDirective {
321
- constructor(zone, elementRef) {
322
- this.zone = zone;
323
- this.elementRef = elementRef;
324
- this.scrollDownOffsetPercent = input(0.8);
295
+ class WlcmScrollableTableContainerDirective {
296
+ constructor() {
297
+ this.scrollDownOffsetPercent = input(0.8, /* @ts-ignore */
298
+ ...(ngDevMode ? [{ debugName: "scrollDownOffsetPercent" }] : /* istanbul ignore next */ []));
325
299
  this.scrolledDown = output();
300
+ this.elementRef = inject(ElementRef);
326
301
  this.handleScrolling();
327
302
  }
328
303
  get element() {
329
304
  return this.elementRef.nativeElement;
330
305
  }
331
306
  handleScrolling() {
332
- this.zone.runOutsideAngular(() => {
333
- fromEvent(this.element, 'scroll')
334
- .pipe(debounceTime(50))
335
- .pipe(untilDestroyed(this))
336
- .subscribe(() => {
337
- if (this.element.scrollHeight * this.scrollDownOffsetPercent() <=
338
- this.element.scrollTop + this.element.clientHeight) {
339
- this.zone.run(() => this.scrolledDown.emit());
340
- }
341
- });
307
+ fromEvent(this.element, 'scroll', { passive: true })
308
+ .pipe(debounceTime(50))
309
+ .pipe(takeUntilDestroyed())
310
+ .subscribe(() => {
311
+ if (this.element.scrollHeight * this.scrollDownOffsetPercent() <=
312
+ this.element.scrollTop + this.element.clientHeight) {
313
+ this.scrolledDown.emit();
314
+ }
342
315
  });
343
316
  }
344
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmScrollableTableContainerDirective, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
345
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: WlcmScrollableTableContainerDirective, isStandalone: true, selector: "[wlcmScrollableTableContainer]", inputs: { scrollDownOffsetPercent: { classPropertyName: "scrollDownOffsetPercent", publicName: "scrollDownOffsetPercent", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { scrolledDown: "scrolledDown" }, host: { classAttribute: "wlcm-scrollable-table-container" }, ngImport: i0 }); }
346
- };
347
- WlcmScrollableTableContainerDirective = __decorate([
348
- UntilDestroy(),
349
- __metadata("design:paramtypes", [NgZone, ElementRef])
350
- ], WlcmScrollableTableContainerDirective);
351
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmScrollableTableContainerDirective, decorators: [{
317
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmScrollableTableContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
318
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: WlcmScrollableTableContainerDirective, isStandalone: true, selector: "[wlcmScrollableTableContainer]", inputs: { scrollDownOffsetPercent: { classPropertyName: "scrollDownOffsetPercent", publicName: "scrollDownOffsetPercent", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { scrolledDown: "scrolledDown" }, host: { classAttribute: "wlcm-scrollable-table-container" }, ngImport: i0 }); }
319
+ }
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmScrollableTableContainerDirective, decorators: [{
352
321
  type: Directive,
353
322
  args: [{
354
323
  selector: '[wlcmScrollableTableContainer]',
355
324
  host: { class: 'wlcm-scrollable-table-container' },
356
- standalone: true,
357
325
  }]
358
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }] });
326
+ }], ctorParameters: () => [], propDecorators: { scrollDownOffsetPercent: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollDownOffsetPercent", required: false }] }], scrolledDown: [{ type: i0.Output, args: ["scrolledDown"] }] } });
359
327
 
360
328
  const publicComponents = [
361
329
  WlcmTableComponent,
@@ -366,8 +334,8 @@ const publicComponents = [
366
334
  ];
367
335
  const publicDirectives = [WlcmScrollableTableContainerDirective];
368
336
  class WlcmTableModule {
369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
370
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableModule, imports: [CommonModule, WlcmTableComponent,
337
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
338
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableModule, imports: [CommonModule, WlcmTableComponent,
371
339
  WlcmTableHeadComponent,
372
340
  WlcmTableHeadDataComponent,
373
341
  WlcmTableRowDataComponent,
@@ -376,9 +344,11 @@ class WlcmTableModule {
376
344
  WlcmTableHeadDataComponent,
377
345
  WlcmTableRowDataComponent,
378
346
  WlcmTableRowComponent, WlcmScrollableTableContainerDirective] }); }
379
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableModule, imports: [CommonModule, publicComponents] }); }
347
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableModule, imports: [CommonModule, WlcmTableComponent,
348
+ WlcmTableHeadComponent,
349
+ WlcmTableRowComponent] }); }
380
350
  }
381
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: WlcmTableModule, decorators: [{
351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: WlcmTableModule, decorators: [{
382
352
  type: NgModule,
383
353
  args: [{
384
354
  imports: [CommonModule, ...publicComponents, ...publicDirectives],