@4sh/ui-kit 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/README.fr.md +10 -10
  2. package/README.md +10 -10
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
  10. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
  12. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
  14. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -1000
  16. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
  18. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  19. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2048
  20. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  21. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
  22. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  23. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
  24. package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
  25. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
  26. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
  28. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
  32. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -138
  34. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  35. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -257
  36. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  37. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -312
  38. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  39. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
  40. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  41. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -199
  42. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  43. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
  44. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
  45. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
  46. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  47. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
  48. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  49. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
  50. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  51. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
  52. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  53. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
  54. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  55. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
  56. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  57. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
  58. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  59. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
  60. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
  61. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -137
  62. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  63. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
  64. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
  65. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
  66. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
  67. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
  68. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  69. package/fesm2022/4sh-ui-kit-forms.mjs +721 -638
  70. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  71. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
  72. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  73. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
  74. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
  76. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
  77. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
  78. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
  80. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
  82. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
  84. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
  86. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
  88. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
  90. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  91. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
  92. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  93. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
  94. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
  95. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
  96. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  97. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
  98. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  99. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
  100. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  101. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
  102. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  103. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
  104. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
  105. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
  106. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  107. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
  108. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  109. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
  110. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  111. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
  112. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  113. package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
  114. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  115. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
  116. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
  117. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
  118. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  119. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
  120. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  121. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
  122. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  123. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
  124. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  125. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
  126. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  127. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
  128. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  129. package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
  130. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  131. package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
  132. package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
  133. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
  134. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  135. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
  136. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  137. package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
  138. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  139. package/fesm2022/4sh-ui-kit-types.mjs +0 -12
  140. package/fesm2022/4sh-ui-kit.mjs +3 -15
  141. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  142. package/mcp/data/component-api.json +299 -2
  143. package/mcp/data/text-search-docs.json +149 -9
  144. package/mcp/data/ui-config.json +378 -1
  145. package/mcp/index.js +8190 -2876
  146. package/mcp/package.json +1 -1
  147. package/package.json +5 -1
  148. package/styles/component-vars.scss +22 -1
  149. package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
  150. package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
  151. package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
  152. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
  153. package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
  154. package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
  155. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +573 -376
  156. package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
  157. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
  158. package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
  159. package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
  160. package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
  161. package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
  162. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
  163. package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
  164. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -59
  165. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -96
  166. package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -104
  167. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
  168. package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -118
  169. package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
  170. package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
  171. package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
  172. package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
  173. package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
  174. package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
  175. package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
  176. package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
  177. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
  178. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -56
  179. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
  180. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
  181. package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
  182. package/types/4sh-ui-kit-forms.d.ts +275 -194
  183. package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
  184. package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
  185. package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
  186. package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
  187. package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
  188. package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
  189. package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
  190. package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
  191. package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
  192. package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
  193. package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
  194. package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
  195. package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
  196. package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
  197. package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
  198. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
  199. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
  200. package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
  201. package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
  202. package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
  203. package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
  204. package/types/4sh-ui-kit-motion.d.ts +117 -67
  205. package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
  206. package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
  207. package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
  208. package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
  209. package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
  210. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
  211. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
  212. package/types/4sh-ui-kit-overlay.d.ts +6 -6
  213. package/types/4sh-ui-kit-ripple.d.ts +99 -74
  214. package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
  215. package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
  216. package/types/4sh-ui-kit-theming.d.ts +27 -29
  217. package/types/4sh-ui-kit-types.d.ts +6 -5
  218. package/types/4sh-ui-kit.d.ts +4 -3
  219. package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
@@ -1,92 +1,94 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef } from '@angular/core';
3
- import { UiPaginatorPageEvent } from '@4sh/ui-kit/table/ui-paginator';
4
-
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ import * as i0 from "@angular/core";
5
+ import { TemplateRef } from "@angular/core";
6
+ import { UiPaginatorPageEvent } from "@4sh/ui-kit/table/ui-paginator";
5
7
  /** Cell padding density. */
6
- type TableSize = 'default' | 'small' | 'large';
8
+ export type TableSize = 'default' | 'small' | 'large';
7
9
  /** Row selection behavior (null = no selection). */
8
- type TableSelectionMode = 'single' | 'multiple' | null;
10
+ export type TableSelectionMode = 'single' | 'multiple' | null;
9
11
  /** Sorting behavior: one column at a time, or several (Ctrl/Cmd + click). */
10
- type TableSortMode = 'single' | 'multiple';
12
+ export type TableSortMode = 'single' | 'multiple';
11
13
  /** Edge a frozen column sticks to. */
12
- type TableFrozenAlign = 'left' | 'right';
14
+ export type TableFrozenAlign = 'left' | 'right';
13
15
  /** One (field, direction) pair of a multiple sort. */
14
- interface UiTableSortMeta {
15
- field: string;
16
- /** 1 = ascending, -1 = descending. */
17
- order: number;
16
+ export interface UiTableSortMeta {
17
+ field: string;
18
+ /** 1 = ascending, -1 = descending. */
19
+ order: number;
18
20
  }
19
21
  /** Payload of `sortFunction` (emitted when `customSort` is enabled). */
20
- interface UiTableSortEvent<T = unknown> {
21
- /** The data array to sort in place. */
22
- data: T[];
23
- mode: TableSortMode;
24
- field?: string;
25
- order?: number;
26
- multiSortMeta?: UiTableSortMeta[];
22
+ export interface UiTableSortEvent<T = unknown> {
23
+ /** The data array to sort in place. */
24
+ data: T[];
25
+ mode: TableSortMode;
26
+ field?: string;
27
+ order?: number;
28
+ multiSortMeta?: UiTableSortMeta[];
27
29
  }
28
30
  /** Payload of `sortChange` — the sort state after a header interaction (no data: lazy consumers refetch). */
29
- interface UiTableSortChangeEvent {
30
- mode: TableSortMode;
31
- /** Single mode: sorted field (`undefined` when the sort was removed). */
32
- field?: string;
33
- /** Single mode: `1` asc, `-1` desc, `0` when unsorted. */
34
- order?: number;
35
- /** Multiple mode: composed sort metas. */
36
- multiSortMeta?: UiTableSortMeta[];
31
+ export interface UiTableSortChangeEvent {
32
+ mode: TableSortMode;
33
+ /** Single mode: sorted field (`undefined` when the sort was removed). */
34
+ field?: string;
35
+ /** Single mode: `1` asc, `-1` desc, `0` when unsorted. */
36
+ order?: number;
37
+ /** Multiple mode: composed sort metas. */
38
+ multiSortMeta?: UiTableSortMeta[];
37
39
  }
38
40
  /** Payload of `rowSelect` / `rowUnselect`. */
39
- interface UiTableRowSelectEvent<T = unknown> {
40
- originalEvent?: Event;
41
- data: T;
42
- index?: number;
43
- /** Interaction that triggered the (un)selection. */
44
- type: 'row' | 'checkbox' | 'radio';
41
+ export interface UiTableRowSelectEvent<T = unknown> {
42
+ originalEvent?: Event;
43
+ data: T;
44
+ index?: number;
45
+ /** Interaction that triggered the (un)selection. */
46
+ type: 'row' | 'checkbox' | 'radio';
45
47
  }
46
48
  /** Payload of `headerCheckboxToggle`. */
47
- interface UiTableHeaderCheckboxToggleEvent {
48
- originalEvent?: Event;
49
- checked: boolean;
49
+ export interface UiTableHeaderCheckboxToggleEvent {
50
+ originalEvent?: Event;
51
+ checked: boolean;
50
52
  }
51
53
  /** Payload of `pageChange` (same shape as the standalone `ui-paginator`). */
52
- type UiTablePageEvent = UiPaginatorPageEvent;
54
+ export type UiTablePageEvent = UiPaginatorPageEvent;
53
55
  /** Payload of `rowReorder` (drag & drop). */
54
- interface UiTableRowReorderEvent<T = unknown> {
55
- dragIndex: number;
56
- dropIndex: number;
57
- /** Reordered copy of `value` — rebind it to the table. */
58
- value: T[];
56
+ export interface UiTableRowReorderEvent<T = unknown> {
57
+ dragIndex: number;
58
+ dropIndex: number;
59
+ /** Reordered copy of `value` — rebind it to the table. */
60
+ value: T[];
59
61
  }
60
62
  /** Payload of `lazyLoad` (virtual scroll in lazy mode). */
61
- interface UiTableLazyLoadEvent {
62
- /** Index of the first row of the rendered window. */
63
- first: number;
64
- /** Index right after the last rendered row. */
65
- last: number;
63
+ export interface UiTableLazyLoadEvent {
64
+ /** Index of the first row of the rendered window. */
65
+ first: number;
66
+ /** Index right after the last rendered row. */
67
+ last: number;
66
68
  }
67
69
  /** Payload of `rowExpand` / `rowCollapse`. */
68
- interface UiTableRowExpandEvent<T = unknown> {
69
- originalEvent?: Event;
70
- data: T;
70
+ export interface UiTableRowExpandEvent<T = unknown> {
71
+ originalEvent?: Event;
72
+ data: T;
71
73
  }
72
74
  /** Payload of `colResize`. */
73
- interface UiTableColResizeEvent {
74
- /** The resized header cell. */
75
- element: HTMLElement;
76
- /** Applied horizontal delta in px. */
77
- delta: number;
75
+ export interface UiTableColResizeEvent {
76
+ /** The resized header cell. */
77
+ element: HTMLElement;
78
+ /** Applied horizontal delta in px. */
79
+ delta: number;
78
80
  }
79
81
  /** Context handed to the `#body` (and frozen body) row template. */
80
- interface UiTableBodyContext<T = unknown> {
81
- $implicit: T;
82
- /** Absolute row index in the (sorted) dataset. */
83
- rowIndex: number;
84
- /** Even position within the rendered page (for manual striping needs). */
85
- even: boolean;
86
- selected: boolean;
87
- expanded: boolean;
88
- /** True when the row comes from `frozenValue`. */
89
- frozen: boolean;
82
+ export interface UiTableBodyContext<T = unknown> {
83
+ $implicit: T;
84
+ /** Absolute row index in the (sorted) dataset. */
85
+ rowIndex: number;
86
+ /** Even position within the rendered page (for manual striping needs). */
87
+ even: boolean;
88
+ selected: boolean;
89
+ expanded: boolean;
90
+ /** True when the row comes from `frozenValue`. */
91
+ frozen: boolean;
90
92
  }
91
93
  /**
92
94
  * ui-table — headless data table.
@@ -105,242 +107,428 @@ interface UiTableBodyContext<T = unknown> {
105
107
  * `.ui-table`) because the row markup is projected from the consumer and
106
108
  * would not match emulated-encapsulation selectors.
107
109
  */
108
- declare class UiTable<T = unknown> {
109
- /** Rows to display. */
110
- value: _angular_core.InputSignal<T[]>;
111
- /** Property (dotted path allowed) uniquely identifying a row — required for expansion, recommended for selection. */
112
- dataKey: _angular_core.InputSignal<string | undefined>;
113
- /** Cell padding density. */
114
- size: _angular_core.InputSignal<TableSize>;
115
- /** Displays borders between cells. */
116
- showGridlines: _angular_core.InputSignalWithTransform<boolean, unknown>;
117
- /** Alternates the background of even rows. */
118
- stripedRows: _angular_core.InputSignalWithTransform<boolean, unknown>;
119
- /** Highlights the hovered row (implicit when a selection mode is active). */
120
- rowHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
121
- /** Inline styles applied to the inner `<table>` (e.g. `{'min-width': '60rem'}` for horizontal scroll). */
122
- tableStyle: _angular_core.InputSignal<Record<string, string> | undefined>;
123
- /** Row selection behavior. `single` keeps one row, `multiple` an array. */
124
- selectionMode: _angular_core.InputSignal<TableSelectionMode>;
125
- /** Selected row (single) or rows (multiple). Two-way bindable. */
126
- selection: _angular_core.ModelSignal<T | T[] | null>;
127
- /** Desktop-like selection: plain click replaces, Ctrl/Cmd+click toggles, Shift+click ranges. */
128
- metaKeySelection: _angular_core.InputSignalWithTransform<boolean, unknown>;
129
- /** One column at a time, or several with Ctrl/Cmd + click. */
130
- sortMode: _angular_core.InputSignal<TableSortMode>;
131
- /** Initial sorted field (presort). */
132
- sortField: _angular_core.InputSignal<string | undefined>;
133
- /** Initial sort direction (1 asc, -1 desc). */
134
- sortOrder: _angular_core.InputSignalWithTransform<number, unknown>;
135
- /** Initial multiple-sort state (presort, `sortMode="multiple"`). */
136
- multiSortMeta: _angular_core.InputSignal<UiTableSortMeta[] | undefined>;
137
- /** Direction applied when a column becomes sorted. */
138
- defaultSortOrder: _angular_core.InputSignalWithTransform<number, unknown>;
139
- /** Delegates sorting: the table stops sorting itself and emits `sortFunction`. */
140
- customSort: _angular_core.InputSignalWithTransform<boolean, unknown>;
141
- /** Splits rows into pages and renders the paginator bar. */
142
- paginator: _angular_core.InputSignalWithTransform<boolean, unknown>;
143
- /** Rows per page. */
144
- rows: _angular_core.InputSignalWithTransform<number, unknown>;
145
- /** Index of the first displayed row. Two-way bindable (programmatic pagination). */
146
- first: _angular_core.ModelSignal<number>;
147
- /** Choices offered in the rows-per-page select (omit to hide it). */
148
- rowsPerPageOptions: _angular_core.InputSignal<number[] | undefined>;
149
- /** Maximum number of page-number buttons. */
150
- pageLinks: _angular_core.InputSignalWithTransform<number, unknown>;
151
- /** Total row count on the server (lazy mode) — drives the paginator; ignored otherwise. */
152
- totalRecords: _angular_core.InputSignal<number | undefined>;
153
- /** Enables the scroll shell (sticky header inside the scrollable viewport). */
154
- scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
155
- /** Viewport height: a CSS size (e.g. `'400px'`) or `'flex'` to fill the flex parent. */
156
- scrollHeight: _angular_core.InputSignal<string | undefined>;
157
- /** Rows pinned above the body while scrolling. */
158
- frozenValue: _angular_core.InputSignal<T[] | undefined>;
159
- /** Expanded rows, keyed by `dataKey` value. Two-way bindable. */
160
- expandedRowKeys: _angular_core.ModelSignal<Record<string, boolean>>;
161
- /** Enables column resizing (fit mode: the next column absorbs the delta). */
162
- resizableColumns: _angular_core.InputSignalWithTransform<boolean, unknown>;
163
- /** Displays a mask + spinner over the table while data is being fetched. */
164
- loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
165
- /** Accessible name of the loading indicator. */
166
- loadingAriaLabel: _angular_core.InputSignal<string>;
167
- /** Title of the default empty state (rendered with `ui-empty-state`; `#emptymessage` overrides it). */
168
- emptyMessage: _angular_core.InputSignal<string>;
169
- /** Icon of the default empty state. */
170
- emptyIcon: _angular_core.InputSignal<string>;
171
- /** Windows the rendered rows to the visible viewport (requires `scrollable` + a fixed `scrollHeight`). */
172
- virtualScroll: _angular_core.InputSignalWithTransform<boolean, unknown>;
173
- /** Fixed row height in px (also apply it to the `<tr>` of the body template). */
174
- virtualScrollItemSize: _angular_core.InputSignalWithTransform<number, unknown>;
175
- /**
176
- * Lazy/server mode: the consumer owns sorting and pagination — `value` is the
177
- * currently loaded page (with `paginator` + `totalRecords`, listen to
178
- * `pageChange`/`sortChange` to refetch) or the loaded window (with
179
- * `virtualScroll`, `lazyLoad` emits the rendered range). No client-side
180
- * sorting or page slicing is applied.
181
- */
182
- lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
183
- /** Emitted when a row becomes selected. */
184
- rowSelect: _angular_core.OutputEmitterRef<UiTableRowSelectEvent<T>>;
185
- /** Emitted when a row becomes unselected. */
186
- rowUnselect: _angular_core.OutputEmitterRef<UiTableRowSelectEvent<T>>;
187
- /** Emitted when the header select-all checkbox is toggled. */
188
- headerCheckboxToggle: _angular_core.OutputEmitterRef<UiTableHeaderCheckboxToggleEvent>;
189
- /** Emitted instead of sorting internally when `customSort` is enabled. */
190
- sortFunction: _angular_core.OutputEmitterRef<UiTableSortEvent<T>>;
191
- /** Emitted whenever the sort state changes from a header interaction (lazy mode: refetch with it). */
192
- sortChange: _angular_core.OutputEmitterRef<UiTableSortChangeEvent>;
193
- /** Emitted on any pagination change (navigation or rows-per-page). */
194
- pageChange: _angular_core.OutputEmitterRef<UiPaginatorPageEvent>;
195
- /** Emitted when a row expands. */
196
- rowExpand: _angular_core.OutputEmitterRef<UiTableRowExpandEvent<T>>;
197
- /** Emitted when a row collapses. */
198
- rowCollapse: _angular_core.OutputEmitterRef<UiTableRowExpandEvent<T>>;
199
- /** Emitted after a column resize. */
200
- colResize: _angular_core.OutputEmitterRef<UiTableColResizeEvent>;
201
- /** Emitted after a row drag & drop, with the reordered copy of `value`. */
202
- rowReorder: _angular_core.OutputEmitterRef<UiTableRowReorderEvent<T>>;
203
- /** Emitted when the virtual-scroll window changes (lazy mode). */
204
- lazyLoad: _angular_core.OutputEmitterRef<UiTableLazyLoadEvent>;
205
- /** @ignore Free content rendered above the table. */
206
- protected readonly captionTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
207
- /** @ignore `<tr>` of header cells. */
208
- protected readonly headerTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
209
- /** @ignore Row template (context: row, rowIndex, even, selected, expanded, frozen). */
210
- protected readonly bodyTemplate: _angular_core.Signal<TemplateRef<UiTableBodyContext<T>> | undefined>;
211
- /** @ignore `<tr>` of footer cells. */
212
- protected readonly footerTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
213
- /** @ignore Extra `<tr>` rendered under an expanded row. */
214
- protected readonly expandedRowTemplate: _angular_core.Signal<TemplateRef<UiTableBodyContext<T>> | undefined>;
215
- /** @ignore Content of the "no rows" cell. */
216
- protected readonly emptyMessageTemplate: _angular_core.Signal<TemplateRef<unknown> | undefined>;
217
- /** @ignore */
218
- private readonly tableEl;
219
- /** @ignore */
220
- private readonly theadEl;
221
- /** @ignore */
222
- private readonly wrapperEl;
223
- /** @ignore Scroll position of the wrapper (drives the virtual window). */
224
- private readonly wrapperScrollTop;
225
- /** @ignore Measured height of the scroll viewport. */
226
- private readonly wrapperHeight;
227
- /** @ignore Row index currently dragged (row reorder). */
228
- draggedRowIndex: number | null;
229
- /** @ignore Selectable-row directives currently rendered, by host element (keyboard range selection). */
230
- readonly selectableRowRefs: Map<Element, {
231
- data: T;
232
- index: number;
233
- }>;
234
- /** @ignore Shift-selection anchor (absolute row index). */
235
- private anchorRowIndex;
236
- /** @ignore */
237
- private readonly uid;
238
- /** @ignore */
239
- private readonly destroyRef;
240
- /** @ignore Active single sort; reset when the `sortField`/`sortOrder` inputs change. */
241
- readonly sortState: _angular_core.WritableSignal<{
242
- field: string;
243
- order: number;
244
- } | null>;
245
- /** @ignore Active multiple sort. */
246
- readonly multiSortState: _angular_core.WritableSignal<UiTableSortMeta[]>;
247
- /** @ignore Effective rows-per-page (user can change it via the paginator select). */
248
- protected readonly rowsState: _angular_core.WritableSignal<number>;
249
- /** @ignore Number of header cells (drives the colspan of the empty row). */
250
- protected readonly columnCount: _angular_core.WritableSignal<number>;
251
- /** @ignore Measured header height (sticky offset of frozen rows). */
252
- protected readonly frozenRowsTop: _angular_core.WritableSignal<number>;
253
- constructor();
254
- /** @ignore Measures the header height + stacks the frozen-row sticky offsets. */
255
- private measureStickyMetrics;
256
- /** @ignore Sorted dataset (identity when `customSort` delegates sorting). */
257
- readonly processedData: _angular_core.Signal<T[]>;
258
- /** @ignore Paginator total: server-provided in lazy mode, client count otherwise. */
259
- protected readonly effectiveTotalRecords: _angular_core.Signal<number>;
260
- /** @ignore */
261
- protected readonly pageCount: _angular_core.Signal<number>;
262
- /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */
263
- protected readonly clampedFirst: _angular_core.Signal<number>;
264
- /** @ignore Rendered window of the virtual scroll (with a small buffer). */
265
- protected readonly virtualRange: _angular_core.Signal<{
266
- start: number;
267
- end: number;
268
- }>;
269
- /** @ignore Heights of the spacer rows keeping the scrollbar honest (virtual scroll). */
270
- protected readonly virtualPadding: _angular_core.Signal<{
271
- top: number;
272
- bottom: number;
273
- }>;
274
- /** @ignore Absolute index of the first rendered row. */
275
- protected readonly pageOffset: _angular_core.Signal<number>;
276
- /** @ignore Rows actually rendered (page, virtual window, or whole dataset). */
277
- protected readonly pageData: _angular_core.Signal<T[]>;
278
- /** @ignore */
279
- protected readonly isFlexScroll: _angular_core.Signal<boolean>;
280
- /** @ignore Viewport max-height (fixed scrollHeight mode only). */
281
- protected readonly scrollMaxHeight: _angular_core.Signal<string | null>;
282
- /** @ignore */
283
- protected readonly classes: _angular_core.Signal<string>;
284
- /** @ignore Template context of a body row. */
285
- protected rowContext(row: T, pageIndex: number, frozen?: boolean): UiTableBodyContext<T>;
286
- /** Current direction of a column: 1, -1, or 0 when unsorted. */
287
- getSortOrder(field: string): number;
288
- /** @ignore Cycles the sort of a column (called by `uiSortableColumn`). */
289
- toggleColumnSort(field: string, originalEvent: Event): void;
290
- /** @ignore Row equality: by `dataKey` when provided, by reference otherwise. */
291
- private rowEquals;
292
- /** @ignore Selection normalized as an array. */
293
- readonly selectionArray: _angular_core.Signal<T[]>;
294
- /** True when the row is part of the current selection. */
295
- isSelected(row: T): boolean;
296
- /** @ignore Every processed row is selected (header checkbox state). */
297
- readonly allSelected: _angular_core.Signal<boolean>;
298
- /** @ignore Partial selection (header checkbox indeterminate state). */
299
- readonly partiallySelected: _angular_core.Signal<boolean>;
300
- /** @ignore Row click / Enter / Space (called by `uiSelectableRow`). */
301
- handleRowClick(originalEvent: Event, data: T, index: number): void;
302
- /** @ignore Maps an absolute row index onto `processedData` (page-local in lazy pagination). */
303
- private dataIndex;
304
- /** @ignore Shift+click / Shift+Arrow range selection (replaces the selection). */
305
- selectRange(originalEvent: Event, index: number): void;
306
- /** @ignore Checkbox-column toggle (called by `ui-table-checkbox`). */
307
- toggleRowWithCheckbox(originalEvent: Event | undefined, data: T, index?: number): void;
308
- /** @ignore Header checkbox toggle: selects / clears every processed row. */
309
- toggleAllRows(originalEvent: Event | undefined, checked: boolean): void;
310
- /** @ignore Radio-column selection (called by `ui-table-radio`). */
311
- selectRowWithRadio(originalEvent: Event | undefined, data: T, index?: number): void;
312
- /** @ignore */
313
- private unselectRow;
314
- /** @ignore Key of a row for the expansion map. */
315
- rowKey(data: T): string | undefined;
316
- /** True when the row is expanded. */
317
- isRowExpanded(data: T): boolean;
318
- /** Toggles the expansion of a row (used by `uiRowToggler`). */
319
- toggleRow(data: T, originalEvent?: Event): void;
320
- /** @ignore Rows-per-page picked in the paginator select. */
321
- protected onPaginatorRows(rows: number): void;
322
- /** @ignore Drop of a dragged row: emits the reordered copy of `value`. */
323
- dropRow(dropIndex: number): void;
324
- /** @ignore */
325
- protected onWrapperScroll(): void;
326
- /** @ignore Row receiving the tab stop (first selected row on the page, else the first row). */
327
- private readonly tabbableRow;
328
- /** @ignore Roving tabindex: only one row is tabbable (WAI-ARIA grid-like navigation). */
329
- isRowTabbable(data: T): boolean;
330
- /** @ignore Selects every processed row (Ctrl+A). */
331
- selectAllRows(originalEvent: Event): void;
332
- /** @ignore Selects from a row to the first / last processed row (Ctrl+Shift+Home / End). */
333
- selectRangeToEdge(index: number, edge: 'start' | 'end'): void;
334
- /** @ignore Freezes every column width in px so the drag only moves the shared edge. */
335
- lockColumnWidths(): void;
336
- /** @ignore Fit-mode resize: the delta moves the edge between `cell` and its next sibling. */
337
- resizeColumnFit(cell: HTMLElement, startWidth: number, nextStartWidth: number, delta: number): boolean;
338
- /** @ignore Forwarded from the resize directive once the drag ends. */
339
- notifyColResize(element: HTMLElement, delta: number): void;
340
- /** @ignore Stable id base for internal controls. */
341
- protected readonly idBase: string;
342
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTable<any>, never>;
343
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiTable<any>, "ui-table", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showGridlines": { "alias": "showGridlines"; "required": false; "isSignal": true; }; "stripedRows": { "alias": "stripedRows"; "required": false; "isSignal": true; }; "rowHover": { "alias": "rowHover"; "required": false; "isSignal": true; }; "tableStyle": { "alias": "tableStyle"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "metaKeySelection": { "alias": "metaKeySelection"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortOrder": { "alias": "sortOrder"; "required": false; "isSignal": true; }; "multiSortMeta": { "alias": "multiSortMeta"; "required": false; "isSignal": true; }; "defaultSortOrder": { "alias": "defaultSortOrder"; "required": false; "isSignal": true; }; "customSort": { "alias": "customSort"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; "isSignal": true; }; "pageLinks": { "alias": "pageLinks"; "required": false; "isSignal": true; }; "totalRecords": { "alias": "totalRecords"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "frozenValue": { "alias": "frozenValue"; "required": false; "isSignal": true; }; "expandedRowKeys": { "alias": "expandedRowKeys"; "required": false; "isSignal": true; }; "resizableColumns": { "alias": "resizableColumns"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingAriaLabel": { "alias": "loadingAriaLabel"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "emptyIcon": { "alias": "emptyIcon"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; }, { "selection": "selectionChange"; "first": "firstChange"; "expandedRowKeys": "expandedRowKeysChange"; "rowSelect": "rowSelect"; "rowUnselect": "rowUnselect"; "headerCheckboxToggle": "headerCheckboxToggle"; "sortFunction": "sortFunction"; "sortChange": "sortChange"; "pageChange": "pageChange"; "rowExpand": "rowExpand"; "rowCollapse": "rowCollapse"; "colResize": "colResize"; "rowReorder": "rowReorder"; "lazyLoad": "lazyLoad"; }, ["captionTemplate", "headerTemplate", "bodyTemplate", "footerTemplate", "expandedRowTemplate", "emptyMessageTemplate"], never, true, never>;
110
+ export declare class UiTable<T = unknown> {
111
+ /** Rows to display. */
112
+ value: import("@angular/core").InputSignal<T[]>;
113
+ /** Property (dotted path allowed) uniquely identifying a row — required for expansion, recommended for selection. */
114
+ dataKey: import("@angular/core").InputSignal<string | undefined>;
115
+ /** Cell padding density. */
116
+ size: import("@angular/core").InputSignal<TableSize>;
117
+ /** Displays borders between cells. */
118
+ showGridlines: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
119
+ /** Alternates the background of even rows. */
120
+ stripedRows: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
121
+ /** Highlights the hovered row (implicit when a selection mode is active). */
122
+ rowHover: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
123
+ /** Inline styles applied to the inner `<table>` (e.g. `{'min-width': '60rem'}` for horizontal scroll). */
124
+ tableStyle: import("@angular/core").InputSignal<Record<string, string> | undefined>;
125
+ /** Row selection behavior. `single` keeps one row, `multiple` an array. */
126
+ selectionMode: import("@angular/core").InputSignal<TableSelectionMode>;
127
+ /** Selected row (single) or rows (multiple). Two-way bindable. */
128
+ selection: import("@angular/core").ModelSignal<T | T[] | null>;
129
+ /** Desktop-like selection: plain click replaces, Ctrl/Cmd+click toggles, Shift+click ranges. */
130
+ metaKeySelection: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
131
+ /** One column at a time, or several with Ctrl/Cmd + click. */
132
+ sortMode: import("@angular/core").InputSignal<TableSortMode>;
133
+ /** Initial sorted field (presort). */
134
+ sortField: import("@angular/core").InputSignal<string | undefined>;
135
+ /** Initial sort direction (1 asc, -1 desc). */
136
+ sortOrder: import("@angular/core").InputSignalWithTransform<number, unknown>;
137
+ /** Initial multiple-sort state (presort, `sortMode="multiple"`). */
138
+ multiSortMeta: import("@angular/core").InputSignal<UiTableSortMeta[] | undefined>;
139
+ /** Direction applied when a column becomes sorted. */
140
+ defaultSortOrder: import("@angular/core").InputSignalWithTransform<number, unknown>;
141
+ /** Delegates sorting: the table stops sorting itself and emits `sortFunction`. */
142
+ customSort: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
143
+ /** Splits rows into pages and renders the paginator bar. */
144
+ paginator: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
145
+ /** Rows per page. */
146
+ rows: import("@angular/core").InputSignalWithTransform<number, unknown>;
147
+ /** Index of the first displayed row. Two-way bindable (programmatic pagination). */
148
+ first: import("@angular/core").ModelSignal<number>;
149
+ /** Choices offered in the rows-per-page select (omit to hide it). */
150
+ rowsPerPageOptions: import("@angular/core").InputSignal<number[] | undefined>;
151
+ /** Maximum number of page-number buttons. */
152
+ pageLinks: import("@angular/core").InputSignalWithTransform<number, unknown>;
153
+ /** Total row count on the server (lazy mode) — drives the paginator; ignored otherwise. */
154
+ totalRecords: import("@angular/core").InputSignal<number | undefined>;
155
+ /** Enables the scroll shell (sticky header inside the scrollable viewport). */
156
+ scrollable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
157
+ /** Viewport height: a CSS size (e.g. `'400px'`) or `'flex'` to fill the flex parent. */
158
+ scrollHeight: import("@angular/core").InputSignal<string | undefined>;
159
+ /** Rows pinned above the body while scrolling. */
160
+ frozenValue: import("@angular/core").InputSignal<T[] | undefined>;
161
+ /** Expanded rows, keyed by `dataKey` value. Two-way bindable. */
162
+ expandedRowKeys: import("@angular/core").ModelSignal<Record<string, boolean>>;
163
+ /** Enables column resizing (fit mode: the next column absorbs the delta). */
164
+ resizableColumns: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
165
+ /** Displays a mask + spinner over the table while data is being fetched. */
166
+ loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
167
+ /** Accessible name of the loading indicator. */
168
+ loadingAriaLabel: import("@angular/core").InputSignal<string>;
169
+ /** Title of the default empty state (rendered with `ui-empty-state`; `#emptymessage` overrides it). */
170
+ emptyMessage: import("@angular/core").InputSignal<string>;
171
+ /** Icon of the default empty state. */
172
+ emptyIcon: import("@angular/core").InputSignal<string>;
173
+ /** Windows the rendered rows to the visible viewport (requires `scrollable` + a fixed `scrollHeight`). */
174
+ virtualScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
175
+ /** Fixed row height in px (also apply it to the `<tr>` of the body template). */
176
+ virtualScrollItemSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
177
+ /**
178
+ * Lazy/server mode: the consumer owns sorting and pagination — `value` is the
179
+ * currently loaded page (with `paginator` + `totalRecords`, listen to
180
+ * `pageChange`/`sortChange` to refetch) or the loaded window (with
181
+ * `virtualScroll`, `lazyLoad` emits the rendered range). No client-side
182
+ * sorting or page slicing is applied.
183
+ */
184
+ lazy: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
185
+ /** Emitted when a row becomes selected. */
186
+ rowSelect: import("@angular/core").OutputEmitterRef<UiTableRowSelectEvent<T>>;
187
+ /** Emitted when a row becomes unselected. */
188
+ rowUnselect: import("@angular/core").OutputEmitterRef<UiTableRowSelectEvent<T>>;
189
+ /** Emitted when the header select-all checkbox is toggled. */
190
+ headerCheckboxToggle: import("@angular/core").OutputEmitterRef<UiTableHeaderCheckboxToggleEvent>;
191
+ /** Emitted instead of sorting internally when `customSort` is enabled. */
192
+ sortFunction: import("@angular/core").OutputEmitterRef<UiTableSortEvent<T>>;
193
+ /** Emitted whenever the sort state changes from a header interaction (lazy mode: refetch with it). */
194
+ sortChange: import("@angular/core").OutputEmitterRef<UiTableSortChangeEvent>;
195
+ /** Emitted on any pagination change (navigation or rows-per-page). */
196
+ pageChange: import("@angular/core").OutputEmitterRef<UiPaginatorPageEvent>;
197
+ /** Emitted when a row expands. */
198
+ rowExpand: import("@angular/core").OutputEmitterRef<UiTableRowExpandEvent<T>>;
199
+ /** Emitted when a row collapses. */
200
+ rowCollapse: import("@angular/core").OutputEmitterRef<UiTableRowExpandEvent<T>>;
201
+ /** Emitted after a column resize. */
202
+ colResize: import("@angular/core").OutputEmitterRef<UiTableColResizeEvent>;
203
+ /** Emitted after a row drag & drop, with the reordered copy of `value`. */
204
+ rowReorder: import("@angular/core").OutputEmitterRef<UiTableRowReorderEvent<T>>;
205
+ /** Emitted when the virtual-scroll window changes (lazy mode). */
206
+ lazyLoad: import("@angular/core").OutputEmitterRef<UiTableLazyLoadEvent>;
207
+ /** @ignore Free content rendered above the table. */
208
+ protected readonly captionTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
209
+ /** @ignore `<tr>` of header cells. */
210
+ protected readonly headerTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
211
+ /** @ignore Row template (context: row, rowIndex, even, selected, expanded, frozen). */
212
+ protected readonly bodyTemplate: import("@angular/core").Signal<TemplateRef<UiTableBodyContext<T>> | undefined>;
213
+ /** @ignore `<tr>` of footer cells. */
214
+ protected readonly footerTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
215
+ /** @ignore Extra `<tr>` rendered under an expanded row. */
216
+ protected readonly expandedRowTemplate: import("@angular/core").Signal<TemplateRef<UiTableBodyContext<T>> | undefined>;
217
+ /** @ignore Content of the "no rows" cell. */
218
+ protected readonly emptyMessageTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
219
+ /** @ignore */
220
+ private readonly tableEl;
221
+ /** @ignore */
222
+ private readonly theadEl;
223
+ /** @ignore */
224
+ private readonly wrapperEl;
225
+ /** @ignore Scroll position of the wrapper (drives the virtual window). */
226
+ private readonly wrapperScrollTop;
227
+ /** @ignore Measured height of the scroll viewport. */
228
+ private readonly wrapperHeight;
229
+ /** @ignore Row index currently dragged (row reorder). */
230
+ draggedRowIndex: number | null;
231
+ /** @ignore Selectable-row directives currently rendered, by host element (keyboard range selection). */
232
+ readonly selectableRowRefs: Map<Element, {
233
+ data: T;
234
+ index: number;
235
+ }>;
236
+ /** @ignore Shift-selection anchor (absolute row index). */
237
+ private anchorRowIndex;
238
+ /** @ignore */
239
+ private readonly uid;
240
+ /** @ignore */
241
+ private readonly destroyRef;
242
+ /** @ignore Active single sort; reset when the `sortField`/`sortOrder` inputs change. */
243
+ readonly sortState: import("@angular/core").WritableSignal<{
244
+ field: string;
245
+ order: number;
246
+ } | null>;
247
+ /** @ignore Active multiple sort. */
248
+ readonly multiSortState: import("@angular/core").WritableSignal<UiTableSortMeta[]>;
249
+ /** @ignore Effective rows-per-page (user can change it via the paginator select). */
250
+ protected readonly rowsState: import("@angular/core").WritableSignal<number>;
251
+ /** @ignore Number of header cells (drives the colspan of the empty row). */
252
+ protected readonly columnCount: import("@angular/core").WritableSignal<number>;
253
+ /** @ignore Measured header height (sticky offset of frozen rows). */
254
+ protected readonly frozenRowsTop: import("@angular/core").WritableSignal<number>;
255
+ constructor();
256
+ /** @ignore Measures the header height + stacks the frozen-row sticky offsets. */
257
+ private measureStickyMetrics;
258
+ /** @ignore Sorted dataset (identity when `customSort` delegates sorting). */
259
+ readonly processedData: import("@angular/core").Signal<T[]>;
260
+ /** @ignore Paginator total: server-provided in lazy mode, client count otherwise. */
261
+ protected readonly effectiveTotalRecords: import("@angular/core").Signal<number>;
262
+ /** @ignore */
263
+ protected readonly pageCount: import("@angular/core").Signal<number>;
264
+ /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */
265
+ protected readonly clampedFirst: import("@angular/core").Signal<number>;
266
+ /** @ignore Rendered window of the virtual scroll (with a small buffer). */
267
+ protected readonly virtualRange: import("@angular/core").Signal<{
268
+ start: number;
269
+ end: number;
270
+ }>;
271
+ /** @ignore Heights of the spacer rows keeping the scrollbar honest (virtual scroll). */
272
+ protected readonly virtualPadding: import("@angular/core").Signal<{
273
+ top: number;
274
+ bottom: number;
275
+ }>;
276
+ /** @ignore Absolute index of the first rendered row. */
277
+ protected readonly pageOffset: import("@angular/core").Signal<number>;
278
+ /** @ignore Rows actually rendered (page, virtual window, or whole dataset). */
279
+ protected readonly pageData: import("@angular/core").Signal<T[]>;
280
+ /** @ignore */
281
+ protected readonly isFlexScroll: import("@angular/core").Signal<boolean>;
282
+ /** @ignore Viewport max-height (fixed scrollHeight mode only). */
283
+ protected readonly scrollMaxHeight: import("@angular/core").Signal<string | null>;
284
+ /** @ignore */
285
+ protected readonly classes: import("@angular/core").Signal<string>;
286
+ /** @ignore Template context of a body row. */
287
+ protected rowContext(row: T, pageIndex: number, frozen?: boolean): UiTableBodyContext<T>;
288
+ /** Current direction of a column: 1, -1, or 0 when unsorted. */
289
+ getSortOrder(field: string): number;
290
+ /** @ignore Cycles the sort of a column (called by `uiSortableColumn`). */
291
+ toggleColumnSort(field: string, originalEvent: Event): void;
292
+ /** @ignore Row equality: by `dataKey` when provided, by reference otherwise. */
293
+ private rowEquals;
294
+ /** @ignore Selection normalized as an array. */
295
+ readonly selectionArray: import("@angular/core").Signal<T[]>;
296
+ /** True when the row is part of the current selection. */
297
+ isSelected(row: T): boolean;
298
+ /** @ignore Every processed row is selected (header checkbox state). */
299
+ readonly allSelected: import("@angular/core").Signal<boolean>;
300
+ /** @ignore Partial selection (header checkbox indeterminate state). */
301
+ readonly partiallySelected: import("@angular/core").Signal<boolean>;
302
+ /** @ignore Row click / Enter / Space (called by `uiSelectableRow`). */
303
+ handleRowClick(originalEvent: Event, data: T, index: number): void;
304
+ /** @ignore Maps an absolute row index onto `processedData` (page-local in lazy pagination). */
305
+ private dataIndex;
306
+ /** @ignore Shift+click / Shift+Arrow range selection (replaces the selection). */
307
+ selectRange(originalEvent: Event, index: number): void;
308
+ /** @ignore Checkbox-column toggle (called by `ui-table-checkbox`). */
309
+ toggleRowWithCheckbox(originalEvent: Event | undefined, data: T, index?: number): void;
310
+ /** @ignore Header checkbox toggle: selects / clears every processed row. */
311
+ toggleAllRows(originalEvent: Event | undefined, checked: boolean): void;
312
+ /** @ignore Radio-column selection (called by `ui-table-radio`). */
313
+ selectRowWithRadio(originalEvent: Event | undefined, data: T, index?: number): void;
314
+ /** @ignore */
315
+ private unselectRow;
316
+ /** @ignore Key of a row for the expansion map. */
317
+ rowKey(data: T): string | undefined;
318
+ /** True when the row is expanded. */
319
+ isRowExpanded(data: T): boolean;
320
+ /** Toggles the expansion of a row (used by `uiRowToggler`). */
321
+ toggleRow(data: T, originalEvent?: Event): void;
322
+ /** @ignore Rows-per-page picked in the paginator select. */
323
+ protected onPaginatorRows(rows: number): void;
324
+ /** @ignore Drop of a dragged row: emits the reordered copy of `value`. */
325
+ dropRow(dropIndex: number): void;
326
+ /** @ignore */
327
+ protected onWrapperScroll(): void;
328
+ /** @ignore Row receiving the tab stop (first selected row on the page, else the first row). */
329
+ private readonly tabbableRow;
330
+ /** @ignore Roving tabindex: only one row is tabbable (WAI-ARIA grid-like navigation). */
331
+ isRowTabbable(data: T): boolean;
332
+ /** @ignore Selects every processed row (Ctrl+A). */
333
+ selectAllRows(originalEvent: Event): void;
334
+ /** @ignore Selects from a row to the first / last processed row (Ctrl+Shift+Home / End). */
335
+ selectRangeToEdge(index: number, edge: 'start' | 'end'): void;
336
+ /** @ignore Freezes every column width in px so the drag only moves the shared edge. */
337
+ lockColumnWidths(): void;
338
+ /** @ignore Fit-mode resize: the delta moves the edge between `cell` and its next sibling. */
339
+ resizeColumnFit(cell: HTMLElement, startWidth: number, nextStartWidth: number, delta: number): boolean;
340
+ /** @ignore Forwarded from the resize directive once the drag ends. */
341
+ notifyColResize(element: HTMLElement, delta: number): void;
342
+ /** @ignore Stable id base for internal controls. */
343
+ protected readonly idBase: string;
344
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTable<any>, never>;
345
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTable<any>, "ui-table", never, {
346
+ "value": {
347
+ "alias": "value";
348
+ "required": false;
349
+ "isSignal": true;
350
+ };
351
+ "dataKey": {
352
+ "alias": "dataKey";
353
+ "required": false;
354
+ "isSignal": true;
355
+ };
356
+ "size": {
357
+ "alias": "size";
358
+ "required": false;
359
+ "isSignal": true;
360
+ };
361
+ "showGridlines": {
362
+ "alias": "showGridlines";
363
+ "required": false;
364
+ "isSignal": true;
365
+ };
366
+ "stripedRows": {
367
+ "alias": "stripedRows";
368
+ "required": false;
369
+ "isSignal": true;
370
+ };
371
+ "rowHover": {
372
+ "alias": "rowHover";
373
+ "required": false;
374
+ "isSignal": true;
375
+ };
376
+ "tableStyle": {
377
+ "alias": "tableStyle";
378
+ "required": false;
379
+ "isSignal": true;
380
+ };
381
+ "selectionMode": {
382
+ "alias": "selectionMode";
383
+ "required": false;
384
+ "isSignal": true;
385
+ };
386
+ "selection": {
387
+ "alias": "selection";
388
+ "required": false;
389
+ "isSignal": true;
390
+ };
391
+ "metaKeySelection": {
392
+ "alias": "metaKeySelection";
393
+ "required": false;
394
+ "isSignal": true;
395
+ };
396
+ "sortMode": {
397
+ "alias": "sortMode";
398
+ "required": false;
399
+ "isSignal": true;
400
+ };
401
+ "sortField": {
402
+ "alias": "sortField";
403
+ "required": false;
404
+ "isSignal": true;
405
+ };
406
+ "sortOrder": {
407
+ "alias": "sortOrder";
408
+ "required": false;
409
+ "isSignal": true;
410
+ };
411
+ "multiSortMeta": {
412
+ "alias": "multiSortMeta";
413
+ "required": false;
414
+ "isSignal": true;
415
+ };
416
+ "defaultSortOrder": {
417
+ "alias": "defaultSortOrder";
418
+ "required": false;
419
+ "isSignal": true;
420
+ };
421
+ "customSort": {
422
+ "alias": "customSort";
423
+ "required": false;
424
+ "isSignal": true;
425
+ };
426
+ "paginator": {
427
+ "alias": "paginator";
428
+ "required": false;
429
+ "isSignal": true;
430
+ };
431
+ "rows": {
432
+ "alias": "rows";
433
+ "required": false;
434
+ "isSignal": true;
435
+ };
436
+ "first": {
437
+ "alias": "first";
438
+ "required": false;
439
+ "isSignal": true;
440
+ };
441
+ "rowsPerPageOptions": {
442
+ "alias": "rowsPerPageOptions";
443
+ "required": false;
444
+ "isSignal": true;
445
+ };
446
+ "pageLinks": {
447
+ "alias": "pageLinks";
448
+ "required": false;
449
+ "isSignal": true;
450
+ };
451
+ "totalRecords": {
452
+ "alias": "totalRecords";
453
+ "required": false;
454
+ "isSignal": true;
455
+ };
456
+ "scrollable": {
457
+ "alias": "scrollable";
458
+ "required": false;
459
+ "isSignal": true;
460
+ };
461
+ "scrollHeight": {
462
+ "alias": "scrollHeight";
463
+ "required": false;
464
+ "isSignal": true;
465
+ };
466
+ "frozenValue": {
467
+ "alias": "frozenValue";
468
+ "required": false;
469
+ "isSignal": true;
470
+ };
471
+ "expandedRowKeys": {
472
+ "alias": "expandedRowKeys";
473
+ "required": false;
474
+ "isSignal": true;
475
+ };
476
+ "resizableColumns": {
477
+ "alias": "resizableColumns";
478
+ "required": false;
479
+ "isSignal": true;
480
+ };
481
+ "loading": {
482
+ "alias": "loading";
483
+ "required": false;
484
+ "isSignal": true;
485
+ };
486
+ "loadingAriaLabel": {
487
+ "alias": "loadingAriaLabel";
488
+ "required": false;
489
+ "isSignal": true;
490
+ };
491
+ "emptyMessage": {
492
+ "alias": "emptyMessage";
493
+ "required": false;
494
+ "isSignal": true;
495
+ };
496
+ "emptyIcon": {
497
+ "alias": "emptyIcon";
498
+ "required": false;
499
+ "isSignal": true;
500
+ };
501
+ "virtualScroll": {
502
+ "alias": "virtualScroll";
503
+ "required": false;
504
+ "isSignal": true;
505
+ };
506
+ "virtualScrollItemSize": {
507
+ "alias": "virtualScrollItemSize";
508
+ "required": false;
509
+ "isSignal": true;
510
+ };
511
+ "lazy": {
512
+ "alias": "lazy";
513
+ "required": false;
514
+ "isSignal": true;
515
+ };
516
+ }, {
517
+ "selection": "selectionChange";
518
+ "first": "firstChange";
519
+ "expandedRowKeys": "expandedRowKeysChange";
520
+ "rowSelect": "rowSelect";
521
+ "rowUnselect": "rowUnselect";
522
+ "headerCheckboxToggle": "headerCheckboxToggle";
523
+ "sortFunction": "sortFunction";
524
+ "sortChange": "sortChange";
525
+ "pageChange": "pageChange";
526
+ "rowExpand": "rowExpand";
527
+ "rowCollapse": "rowCollapse";
528
+ "colResize": "colResize";
529
+ "rowReorder": "rowReorder";
530
+ "lazyLoad": "lazyLoad";
531
+ }, ["captionTemplate", "headerTemplate", "bodyTemplate", "footerTemplate", "expandedRowTemplate", "emptyMessageTemplate"], never, true, never>;
344
532
  }
345
533
  /**
346
534
  * uiSortableColumn — makes a `<th>` sortable.
@@ -348,35 +536,52 @@ declare class UiTable<T = unknown> {
348
536
  * Click / Enter / Space cycles ascending → descending → unsorted (single
349
537
  * mode) or composes with Ctrl/Cmd in multiple mode. Exposes `aria-sort`.
350
538
  */
351
- declare class UiTableSortableColumn {
352
- /** @ignore */
353
- private readonly table;
354
- /** Field (dotted path allowed) this column sorts on. */
355
- field: _angular_core.InputSignal<string>;
356
- /** Disables the sort interaction. */
357
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
358
- /** @ignore */
359
- protected readonly sorted: _angular_core.Signal<boolean>;
360
- /** @ignore */
361
- protected readonly ariaSort: _angular_core.Signal<"none" | "ascending" | "descending">;
362
- /** @ignore */
363
- protected onTrigger(event: Event): void;
364
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableSortableColumn, never>;
365
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiTableSortableColumn, "[uiSortableColumn]", never, { "field": { "alias": "uiSortableColumn"; "required": true; "isSignal": true; }; "disabled": { "alias": "uiSortableColumnDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
539
+ export declare class UiTableSortableColumn {
540
+ /** @ignore */
541
+ private readonly table;
542
+ /** Field (dotted path allowed) this column sorts on. */
543
+ field: import("@angular/core").InputSignal<string>;
544
+ /** Disables the sort interaction. */
545
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
546
+ /** @ignore */
547
+ protected readonly sorted: import("@angular/core").Signal<boolean>;
548
+ /** @ignore */
549
+ protected readonly ariaSort: import("@angular/core").Signal<"none" | "ascending" | "descending">;
550
+ /** @ignore */
551
+ protected onTrigger(event: Event): void;
552
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableSortableColumn, never>;
553
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableSortableColumn, "[uiSortableColumn]", never, {
554
+ "field": {
555
+ "alias": "uiSortableColumn";
556
+ "required": true;
557
+ "isSignal": true;
558
+ };
559
+ "disabled": {
560
+ "alias": "uiSortableColumnDisabled";
561
+ "required": false;
562
+ "isSignal": true;
563
+ };
564
+ }, {}, never, never, true, never>;
366
565
  }
367
566
  /**
368
567
  * ui-table-sort-icon — direction indicator of a sortable column.
369
568
  * Decorative: the accessible state lives on the `<th>` (`aria-sort`).
370
569
  */
371
- declare class UiTableSortIcon {
372
- /** @ignore */
373
- private readonly table;
374
- /** Field of the column this icon reflects. */
375
- field: _angular_core.InputSignal<string>;
376
- /** @ignore */
377
- protected readonly iconName: _angular_core.Signal<"sort" | "sort-up" | "sort-down">;
378
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableSortIcon, never>;
379
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiTableSortIcon, "ui-table-sort-icon", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
570
+ export declare class UiTableSortIcon {
571
+ /** @ignore */
572
+ private readonly table;
573
+ /** Field of the column this icon reflects. */
574
+ field: import("@angular/core").InputSignal<string>;
575
+ /** @ignore */
576
+ protected readonly iconName: import("@angular/core").Signal<"sort" | "sort-up" | "sort-down">;
577
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableSortIcon, never>;
578
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTableSortIcon, "ui-table-sort-icon", never, {
579
+ "field": {
580
+ "alias": "field";
581
+ "required": true;
582
+ "isSignal": true;
583
+ };
584
+ }, {}, never, never, true, never>;
380
585
  }
381
586
  /**
382
587
  * uiSelectableRow — makes a `<tr>` selectable.
@@ -385,156 +590,247 @@ declare class UiTableSortIcon {
385
590
  * `metaKeySelection`); Arrow Up/Down moves the focus between rows, Space /
386
591
  * Enter toggles, Shift+Arrow extends the range.
387
592
  */
388
- declare class UiTableSelectableRow<T = unknown> {
389
- /** @ignore */
390
- private readonly table;
391
- /** @ignore */
392
- private readonly el;
393
- /** Row data carried by this `<tr>`. */
394
- data: _angular_core.InputSignal<T>;
395
- /** Absolute row index (from the body template context). */
396
- index: _angular_core.InputSignalWithTransform<number, unknown>;
397
- /** Disables the selection interaction. */
398
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
399
- /** @ignore */
400
- protected readonly selected: _angular_core.Signal<boolean>;
401
- /** @ignore Roving tabindex: a single row carries the tab stop. */
402
- protected readonly tabindex: _angular_core.Signal<0 | -1 | null>;
403
- constructor();
404
- /** @ignore */
405
- protected onClick(event: MouseEvent): void;
406
- /** @ignore */
407
- protected onKeydown(event: KeyboardEvent): void;
408
- /** @ignore Nearest selectable `<tr>` sibling (skips expansion rows). */
409
- private findSiblingRow;
410
- /** @ignore First / last selectable row of the table. */
411
- private findEdgeRow;
412
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableSelectableRow<any>, never>;
413
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiTableSelectableRow<any>, "[uiSelectableRow]", never, { "data": { "alias": "uiSelectableRow"; "required": true; "isSignal": true; }; "index": { "alias": "uiSelectableRowIndex"; "required": false; "isSignal": true; }; "disabled": { "alias": "uiSelectableRowDisabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
593
+ export declare class UiTableSelectableRow<T = unknown> {
594
+ /** @ignore */
595
+ private readonly table;
596
+ /** @ignore */
597
+ private readonly el;
598
+ /** Row data carried by this `<tr>`. */
599
+ data: import("@angular/core").InputSignal<T>;
600
+ /** Absolute row index (from the body template context). */
601
+ index: import("@angular/core").InputSignalWithTransform<number, unknown>;
602
+ /** Disables the selection interaction. */
603
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
604
+ /** @ignore */
605
+ protected readonly selected: import("@angular/core").Signal<boolean>;
606
+ /** @ignore Roving tabindex: a single row carries the tab stop. */
607
+ protected readonly tabindex: import("@angular/core").Signal<0 | -1 | null>;
608
+ constructor();
609
+ /** @ignore */
610
+ protected onClick(event: MouseEvent): void;
611
+ /** @ignore */
612
+ protected onKeydown(event: KeyboardEvent): void;
613
+ /** @ignore Nearest selectable `<tr>` sibling (skips expansion rows). */
614
+ private findSiblingRow;
615
+ /** @ignore First / last selectable row of the table. */
616
+ private findEdgeRow;
617
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableSelectableRow<any>, never>;
618
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableSelectableRow<any>, "[uiSelectableRow]", never, {
619
+ "data": {
620
+ "alias": "uiSelectableRow";
621
+ "required": true;
622
+ "isSignal": true;
623
+ };
624
+ "index": {
625
+ "alias": "uiSelectableRowIndex";
626
+ "required": false;
627
+ "isSignal": true;
628
+ };
629
+ "disabled": {
630
+ "alias": "uiSelectableRowDisabled";
631
+ "required": false;
632
+ "isSignal": true;
633
+ };
634
+ }, {}, never, never, true, never>;
414
635
  }
415
636
  /**
416
637
  * ui-table-checkbox — row checkbox of a checkbox-based multiple selection.
417
638
  * Instantiates `ui-checkbox` bound to the table selection.
418
639
  */
419
- declare class UiTableCheckbox<T = unknown> {
420
- /** @ignore */
421
- private readonly table;
422
- /** Row this checkbox (un)selects. */
423
- value: _angular_core.InputSignal<T>;
424
- /** Absolute row index (forwarded to the selection events). */
425
- index: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
426
- /** Disables the checkbox. */
427
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
428
- /** Accessible name of the checkbox. */
429
- ariaLabel: _angular_core.InputSignal<string>;
430
- /** @ignore */
431
- protected readonly checked: _angular_core.Signal<boolean>;
432
- /** @ignore */
433
- protected onToggle(_checked: unknown): void;
434
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableCheckbox<any>, never>;
435
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiTableCheckbox<any>, "ui-table-checkbox", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
640
+ export declare class UiTableCheckbox<T = unknown> {
641
+ /** @ignore */
642
+ private readonly table;
643
+ /** Row this checkbox (un)selects. */
644
+ value: import("@angular/core").InputSignal<T>;
645
+ /** Absolute row index (forwarded to the selection events). */
646
+ index: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
647
+ /** Disables the checkbox. */
648
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
649
+ /** Accessible name of the checkbox. */
650
+ ariaLabel: import("@angular/core").InputSignal<string>;
651
+ /** @ignore */
652
+ protected readonly checked: import("@angular/core").Signal<boolean>;
653
+ /** @ignore */
654
+ protected onToggle(_checked: unknown): void;
655
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableCheckbox<any>, never>;
656
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTableCheckbox<any>, "ui-table-checkbox", never, {
657
+ "value": {
658
+ "alias": "value";
659
+ "required": true;
660
+ "isSignal": true;
661
+ };
662
+ "index": {
663
+ "alias": "index";
664
+ "required": false;
665
+ "isSignal": true;
666
+ };
667
+ "disabled": {
668
+ "alias": "disabled";
669
+ "required": false;
670
+ "isSignal": true;
671
+ };
672
+ "ariaLabel": {
673
+ "alias": "ariaLabel";
674
+ "required": false;
675
+ "isSignal": true;
676
+ };
677
+ }, {}, never, never, true, never>;
436
678
  }
437
679
  /**
438
680
  * ui-table-header-checkbox — header select-all checkbox (checkbox selection).
439
681
  * Checked when every row is selected, indeterminate on partial selection.
440
682
  */
441
- declare class UiTableHeaderCheckbox<T = unknown> {
442
- /** @ignore */
443
- protected readonly table: UiTable<T>;
444
- /** Disables the checkbox. */
445
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
446
- /** Accessible name of the checkbox. */
447
- ariaLabel: _angular_core.InputSignal<string>;
448
- /** @ignore */
449
- protected onToggle(checked: unknown): void;
450
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableHeaderCheckbox<any>, never>;
451
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiTableHeaderCheckbox<any>, "ui-table-header-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
683
+ export declare class UiTableHeaderCheckbox<T = unknown> {
684
+ /** @ignore */
685
+ protected readonly table: UiTable<T>;
686
+ /** Disables the checkbox. */
687
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
688
+ /** Accessible name of the checkbox. */
689
+ ariaLabel: import("@angular/core").InputSignal<string>;
690
+ /** @ignore */
691
+ protected onToggle(checked: unknown): void;
692
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableHeaderCheckbox<any>, never>;
693
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTableHeaderCheckbox<any>, "ui-table-header-checkbox", never, {
694
+ "disabled": {
695
+ "alias": "disabled";
696
+ "required": false;
697
+ "isSignal": true;
698
+ };
699
+ "ariaLabel": {
700
+ "alias": "ariaLabel";
701
+ "required": false;
702
+ "isSignal": true;
703
+ };
704
+ }, {}, never, never, true, never>;
452
705
  }
453
706
  /**
454
707
  * ui-table-radio — row radio button of a radio-based single selection.
455
708
  * Instantiates `ui-radio` bound to the table selection.
456
709
  */
457
- declare class UiTableRadio<T = unknown> {
458
- /** @ignore */
459
- protected readonly table: UiTable<T>;
460
- /** Row this radio selects. */
461
- value: _angular_core.InputSignal<T>;
462
- /** Absolute row index (forwarded to the selection events). */
463
- index: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
464
- /** Native group name (defaults to a per-table group). */
465
- name: _angular_core.InputSignal<string>;
466
- /** Disables the radio. */
467
- disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
468
- /** Accessible name of the radio. */
469
- ariaLabel: _angular_core.InputSignal<string>;
470
- /** @ignore */
471
- protected onSelect(): void;
472
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableRadio<any>, never>;
473
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<UiTableRadio<any>, "ui-table-radio", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
710
+ export declare class UiTableRadio<T = unknown> {
711
+ /** @ignore */
712
+ protected readonly table: UiTable<T>;
713
+ /** Row this radio selects. */
714
+ value: import("@angular/core").InputSignal<T>;
715
+ /** Absolute row index (forwarded to the selection events). */
716
+ index: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
717
+ /** Native group name (defaults to a per-table group). */
718
+ name: import("@angular/core").InputSignal<string>;
719
+ /** Disables the radio. */
720
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
721
+ /** Accessible name of the radio. */
722
+ ariaLabel: import("@angular/core").InputSignal<string>;
723
+ /** @ignore */
724
+ protected onSelect(): void;
725
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableRadio<any>, never>;
726
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiTableRadio<any>, "ui-table-radio", never, {
727
+ "value": {
728
+ "alias": "value";
729
+ "required": true;
730
+ "isSignal": true;
731
+ };
732
+ "index": {
733
+ "alias": "index";
734
+ "required": false;
735
+ "isSignal": true;
736
+ };
737
+ "name": {
738
+ "alias": "name";
739
+ "required": false;
740
+ "isSignal": true;
741
+ };
742
+ "disabled": {
743
+ "alias": "disabled";
744
+ "required": false;
745
+ "isSignal": true;
746
+ };
747
+ "ariaLabel": {
748
+ "alias": "ariaLabel";
749
+ "required": false;
750
+ "isSignal": true;
751
+ };
752
+ }, {}, never, never, true, never>;
474
753
  }
475
754
  /**
476
755
  * uiRowToggler — toggles the expansion of a row. Place it on the expand
477
756
  * button (native `<button>` or `ui-button`); `aria-expanded` is reflected.
478
757
  */
479
- declare class UiTableRowToggler<T = unknown> {
480
- /** @ignore */
481
- private readonly table;
482
- /** Row whose expansion this button toggles. */
483
- data: _angular_core.InputSignal<T>;
484
- /** @ignore */
485
- protected readonly expanded: _angular_core.Signal<boolean>;
486
- /** @ignore */
487
- protected onToggle(event: Event): void;
488
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableRowToggler<any>, never>;
489
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiTableRowToggler<any>, "[uiRowToggler]", never, { "data": { "alias": "uiRowToggler"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
758
+ export declare class UiTableRowToggler<T = unknown> {
759
+ /** @ignore */
760
+ private readonly table;
761
+ /** Row whose expansion this button toggles. */
762
+ data: import("@angular/core").InputSignal<T>;
763
+ /** @ignore */
764
+ protected readonly expanded: import("@angular/core").Signal<boolean>;
765
+ /** @ignore */
766
+ protected onToggle(event: Event): void;
767
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableRowToggler<any>, never>;
768
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableRowToggler<any>, "[uiRowToggler]", never, {
769
+ "data": {
770
+ "alias": "uiRowToggler";
771
+ "required": true;
772
+ "isSignal": true;
773
+ };
774
+ }, {}, never, never, true, never>;
490
775
  }
491
776
  /**
492
777
  * uiFrozenColumn — pins a column while scrolling horizontally.
493
778
  * Apply to every `<th>`/`<td>` of the column; `alignFrozen` picks the edge.
494
779
  */
495
- declare class UiTableFrozenColumn {
496
- /** @ignore */
497
- private readonly el;
498
- /** @ignore */
499
- private readonly injector;
500
- /** Enables the pinning (attribute presence defaults to true). */
501
- frozen: _angular_core.InputSignalWithTransform<boolean, unknown>;
502
- /** Edge the column sticks to. */
503
- alignFrozen: _angular_core.InputSignal<TableFrozenAlign>;
504
- /** @ignore */
505
- protected readonly isFrozen: _angular_core.Signal<boolean>;
506
- constructor();
507
- /** @ignore */
508
- private updatePosition;
509
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableFrozenColumn, never>;
510
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiTableFrozenColumn, "[uiFrozenColumn]", never, { "frozen": { "alias": "uiFrozenColumn"; "required": false; "isSignal": true; }; "alignFrozen": { "alias": "alignFrozen"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
780
+ export declare class UiTableFrozenColumn {
781
+ /** @ignore */
782
+ private readonly el;
783
+ /** @ignore */
784
+ private readonly injector;
785
+ /** Enables the pinning (attribute presence defaults to true). */
786
+ frozen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
787
+ /** Edge the column sticks to. */
788
+ alignFrozen: import("@angular/core").InputSignal<TableFrozenAlign>;
789
+ /** @ignore */
790
+ protected readonly isFrozen: import("@angular/core").Signal<boolean>;
791
+ constructor();
792
+ /** @ignore */
793
+ private updatePosition;
794
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableFrozenColumn, never>;
795
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableFrozenColumn, "[uiFrozenColumn]", never, {
796
+ "frozen": {
797
+ "alias": "uiFrozenColumn";
798
+ "required": false;
799
+ "isSignal": true;
800
+ };
801
+ "alignFrozen": {
802
+ "alias": "alignFrozen";
803
+ "required": false;
804
+ "isSignal": true;
805
+ };
806
+ }, {}, never, never, true, never>;
511
807
  }
512
808
  /**
513
809
  * uiResizableColumn — drag handle on a `<th>` to resize the column.
514
810
  * Fit mode: the next column absorbs the delta, the table width is preserved.
515
811
  */
516
- declare class UiTableResizableColumn {
517
- /** @ignore */
518
- private readonly table;
519
- /** @ignore */
520
- private readonly el;
521
- /** @ignore */
522
- private readonly destroyRef;
523
- /** @ignore */
524
- private startX;
525
- /** @ignore */
526
- private startWidth;
527
- /** @ignore */
528
- private nextStartWidth;
529
- /** @ignore */
530
- private appliedDelta;
531
- /** @ignore */
532
- private cleanupDrag;
533
- constructor();
534
- /** @ignore */
535
- private readonly onPointerDown;
536
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableResizableColumn, never>;
537
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiTableResizableColumn, "[uiResizableColumn]", never, {}, {}, never, never, true, never>;
812
+ export declare class UiTableResizableColumn {
813
+ /** @ignore */
814
+ private readonly table;
815
+ /** @ignore */
816
+ private readonly el;
817
+ /** @ignore */
818
+ private readonly destroyRef;
819
+ /** @ignore */
820
+ private startX;
821
+ /** @ignore */
822
+ private startWidth;
823
+ /** @ignore */
824
+ private nextStartWidth;
825
+ /** @ignore */
826
+ private appliedDelta;
827
+ /** @ignore */
828
+ private cleanupDrag;
829
+ constructor();
830
+ /** @ignore */
831
+ private readonly onPointerDown;
832
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableResizableColumn, never>;
833
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableResizableColumn, "[uiResizableColumn]", never, {}, {}, never, never, true, never>;
538
834
  }
539
835
  /**
540
836
  * uiReorderableRow — drag & drop a `<tr>` to reorder rows.
@@ -543,28 +839,31 @@ declare class UiTableResizableColumn {
543
839
  * table emits `rowReorder` with a reordered copy of `value` (rebind it).
544
840
  * Intended for unsorted data (reordering a sorted view is ambiguous).
545
841
  */
546
- declare class UiTableReorderableRow {
547
- /** @ignore */
548
- private readonly table;
549
- /** @ignore */
550
- private readonly el;
551
- /** Absolute row index (from the body template context). */
552
- index: _angular_core.InputSignalWithTransform<number, unknown>;
553
- /** @ignore Visual drop indicator (edge of the hovered row). */
554
- protected readonly dropPosition: _angular_core.WritableSignal<"above" | "below" | null>;
555
- /** @ignore */
556
- protected onDragStart(event: DragEvent): void;
557
- /** @ignore */
558
- protected onDragOver(event: DragEvent): void;
559
- /** @ignore */
560
- protected onDragLeave(): void;
561
- /** @ignore */
562
- protected onDrop(event: DragEvent): void;
563
- /** @ignore */
564
- protected onDragEnd(): void;
565
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<UiTableReorderableRow, never>;
566
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<UiTableReorderableRow, "[uiReorderableRow]", never, { "index": { "alias": "uiReorderableRow"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
567
- }
568
-
569
- export { UiTable, UiTableCheckbox, UiTableFrozenColumn, UiTableHeaderCheckbox, UiTableRadio, UiTableReorderableRow, UiTableResizableColumn, UiTableRowToggler, UiTableSelectableRow, UiTableSortIcon, UiTableSortableColumn };
570
- export type { TableFrozenAlign, TableSelectionMode, TableSize, TableSortMode, UiTableBodyContext, UiTableColResizeEvent, UiTableHeaderCheckboxToggleEvent, UiTableLazyLoadEvent, UiTablePageEvent, UiTableRowExpandEvent, UiTableRowReorderEvent, UiTableRowSelectEvent, UiTableSortChangeEvent, UiTableSortEvent, UiTableSortMeta };
842
+ export declare class UiTableReorderableRow {
843
+ /** @ignore */
844
+ private readonly table;
845
+ /** @ignore */
846
+ private readonly el;
847
+ /** Absolute row index (from the body template context). */
848
+ index: import("@angular/core").InputSignalWithTransform<number, unknown>;
849
+ /** @ignore Visual drop indicator (edge of the hovered row). */
850
+ protected readonly dropPosition: import("@angular/core").WritableSignal<"above" | "below" | null>;
851
+ /** @ignore */
852
+ protected onDragStart(event: DragEvent): void;
853
+ /** @ignore */
854
+ protected onDragOver(event: DragEvent): void;
855
+ /** @ignore */
856
+ protected onDragLeave(): void;
857
+ /** @ignore */
858
+ protected onDrop(event: DragEvent): void;
859
+ /** @ignore */
860
+ protected onDragEnd(): void;
861
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiTableReorderableRow, never>;
862
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableReorderableRow, "[uiReorderableRow]", never, {
863
+ "index": {
864
+ "alias": "uiReorderableRow";
865
+ "required": true;
866
+ "isSignal": true;
867
+ };
868
+ }, {}, never, never, true, never>;
869
+ }