@4sh/ui-kit 0.4.0 → 0.6.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 (111) hide show
  1. package/README.fr.md +73 -60
  2. package/README.md +72 -59
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +4 -4
  4. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +7 -6
  6. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +4 -4
  8. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  9. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +7 -7
  10. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  11. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +11 -8
  12. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  13. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +32 -12
  14. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +3 -3
  16. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +51 -15
  17. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  18. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +3 -3
  19. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  20. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +13 -9
  21. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  22. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +6 -6
  23. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +5 -5
  24. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  25. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +6 -6
  26. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +8 -4
  28. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +24 -9
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  31. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +4 -4
  32. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  33. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +3 -3
  34. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +4 -4
  35. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  36. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +4 -8
  37. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  38. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +4 -8
  39. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  40. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +11 -6
  41. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  42. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +29 -15
  43. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  44. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +8 -9
  45. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  46. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +13 -6
  47. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  48. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +6 -4
  49. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  50. package/fesm2022/4sh-ui-kit-forms.mjs +16 -16
  51. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  52. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +12 -12
  53. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  54. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +3 -3
  55. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
  56. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +3 -3
  57. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +3 -3
  58. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +3 -3
  59. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  60. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +9 -9
  61. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +3 -3
  62. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
  63. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  64. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +5 -4
  65. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  66. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +3 -3
  67. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
  68. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +4 -4
  69. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  70. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +3 -3
  71. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  72. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +10 -10
  73. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  74. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +30 -14
  75. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  76. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +43 -17
  77. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  78. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +4 -4
  79. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  80. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +4 -4
  81. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  82. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +23 -7
  83. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  84. package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
  85. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  86. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +10 -5
  87. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  88. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
  89. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  90. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +79 -14
  91. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  92. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +15 -13
  93. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  94. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +29 -21
  95. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  96. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -15
  97. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  98. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +4 -4
  99. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  100. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +55 -42
  101. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  102. package/fesm2022/4sh-ui-kit-theming.mjs +7 -7
  103. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  104. package/mcp/LICENSE +201 -0
  105. package/mcp/data/text-search-docs.json +7046 -0
  106. package/mcp/data/ui-config.json +16960 -0
  107. package/mcp/index.js +33018 -0
  108. package/mcp/package.json +18 -0
  109. package/package.json +10 -4
  110. package/schematics/index.cjs +28 -18
  111. package/types/4sh-ui-kit-layout-ui-card.d.ts +13 -1
@@ -258,14 +258,16 @@ class UiTable {
258
258
  const sort = this.sortState();
259
259
  if (!sort)
260
260
  return data;
261
- return [...data].sort((a, b) => sort.order * compareValues(resolveFieldData(a, sort.field), resolveFieldData(b, sort.field)));
261
+ return [...data].sort((a, b) => sort.order *
262
+ compareValues(resolveFieldData(a, sort.field), resolveFieldData(b, sort.field)));
262
263
  }
263
264
  const metas = this.multiSortState();
264
265
  if (!metas.length)
265
266
  return data;
266
267
  return [...data].sort((a, b) => {
267
268
  for (const meta of metas) {
268
- const result = meta.order * compareValues(resolveFieldData(a, meta.field), resolveFieldData(b, meta.field));
269
+ const result = meta.order *
270
+ compareValues(resolveFieldData(a, meta.field), resolveFieldData(b, meta.field));
269
271
  if (result !== 0)
270
272
  return result;
271
273
  }
@@ -274,7 +276,9 @@ class UiTable {
274
276
  }, /* @ts-ignore */
275
277
  ...(ngDevMode ? [{ debugName: "processedData" }] : /* istanbul ignore next */ []));
276
278
  /** @ignore Paginator total: server-provided in lazy mode, client count otherwise. */
277
- this.effectiveTotalRecords = computed(() => this.lazy() ? (this.totalRecords() ?? this.processedData().length) : this.processedData().length, /* @ts-ignore */
279
+ this.effectiveTotalRecords = computed(() => this.lazy()
280
+ ? (this.totalRecords() ?? this.processedData().length)
281
+ : this.processedData().length, /* @ts-ignore */
278
282
  ...(ngDevMode ? [{ debugName: "effectiveTotalRecords" }] : /* istanbul ignore next */ []));
279
283
  /** @ignore */
280
284
  this.pageCount = computed(() => Math.max(1, Math.ceil(this.effectiveTotalRecords() / Math.max(1, this.rowsState()))), /* @ts-ignore */
@@ -393,7 +397,8 @@ class UiTable {
393
397
  if (Object.keys(this.expandedRowKeys()).length && !this.dataKey()) {
394
398
  console.warn('[ui-table] `expandedRowKeys` requires `dataKey` to identify rows.');
395
399
  }
396
- if (this.virtualScroll() && (!this.scrollable() || !this.scrollHeight() || this.scrollHeight() === 'flex')) {
400
+ if (this.virtualScroll() &&
401
+ (!this.scrollable() || !this.scrollHeight() || this.scrollHeight() === 'flex')) {
397
402
  console.warn('[ui-table] `virtualScroll` requires `scrollable` and a fixed `scrollHeight`.');
398
403
  }
399
404
  if (this.totalRecords() !== undefined && !this.lazy()) {
@@ -596,7 +601,9 @@ class UiTable {
596
601
  }
597
602
  /** @ignore Maps an absolute row index onto `processedData` (page-local in lazy pagination). */
598
603
  dataIndex(index) {
599
- return this.lazy() && this.paginator() && !this.virtualScroll() ? index - this.clampedFirst() : index;
604
+ return this.lazy() && this.paginator() && !this.virtualScroll()
605
+ ? index - this.clampedFirst()
606
+ : index;
600
607
  }
601
608
  /** @ignore Shift+click / Shift+Arrow range selection (replaces the selection). */
602
609
  selectRange(originalEvent, index) {
@@ -767,12 +774,12 @@ class UiTable {
767
774
  notifyColResize(element, delta) {
768
775
  this.colResize.emit({ element, delta });
769
776
  }
770
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
771
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: UiTable, isStandalone: true, selector: "ui-table", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showGridlines: { classPropertyName: "showGridlines", publicName: "showGridlines", isSignal: true, isRequired: false, transformFunction: null }, stripedRows: { classPropertyName: "stripedRows", publicName: "stripedRows", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", isSignal: true, isRequired: false, transformFunction: null }, tableStyle: { classPropertyName: "tableStyle", publicName: "tableStyle", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, sortMode: { classPropertyName: "sortMode", publicName: "sortMode", isSignal: true, isRequired: false, transformFunction: null }, sortField: { classPropertyName: "sortField", publicName: "sortField", isSignal: true, isRequired: false, transformFunction: null }, sortOrder: { classPropertyName: "sortOrder", publicName: "sortOrder", isSignal: true, isRequired: false, transformFunction: null }, multiSortMeta: { classPropertyName: "multiSortMeta", publicName: "multiSortMeta", isSignal: true, isRequired: false, transformFunction: null }, defaultSortOrder: { classPropertyName: "defaultSortOrder", publicName: "defaultSortOrder", isSignal: true, isRequired: false, transformFunction: null }, customSort: { classPropertyName: "customSort", publicName: "customSort", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, frozenValue: { classPropertyName: "frozenValue", publicName: "frozenValue", isSignal: true, isRequired: false, transformFunction: null }, expandedRowKeys: { classPropertyName: "expandedRowKeys", publicName: "expandedRowKeys", isSignal: true, isRequired: false, transformFunction: null }, resizableColumns: { classPropertyName: "resizableColumns", publicName: "resizableColumns", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingAriaLabel: { classPropertyName: "loadingAriaLabel", publicName: "loadingAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, emptyIcon: { classPropertyName: "emptyIcon", publicName: "emptyIcon", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { 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" }, queries: [{ propertyName: "captionTemplate", first: true, predicate: ["caption"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "bodyTemplate", first: true, predicate: ["body"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "expandedRowTemplate", first: true, predicate: ["expandedrow"], descendants: true, isSignal: true }, { propertyName: "emptyMessageTemplate", first: true, predicate: ["emptymessage"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tableEl", first: true, predicate: ["tableEl"], descendants: true, isSignal: true }, { propertyName: "theadEl", first: true, predicate: ["theadEl"], descendants: true, isSignal: true }, { propertyName: "wrapperEl", first: true, predicate: ["wrapperEl"], descendants: true, isSignal: true }], ngImport: i0, template: "<div [class]=\"classes()\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n @if (captionTemplate(); as caption) {\n <div class=\"ui-table-caption\">\n <ng-container [ngTemplateOutlet]=\"caption\" />\n </div>\n }\n\n <div class=\"ui-table-container\">\n <div\n #wrapperEl\n class=\"ui-table-wrapper\"\n [style.max-height]=\"scrollMaxHeight()\"\n [style.--ui-table-frozen-top.px]=\"frozenRowsTop()\"\n (scroll)=\"onWrapperScroll()\"\n >\n <table #tableEl class=\"ui-table-table\" [style]=\"tableStyle() ?? null\">\n @if (headerTemplate(); as header) {\n <thead #theadEl class=\"ui-table-thead\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n </thead>\n }\n\n @if (!loading() && frozenValue()?.length) {\n <tbody class=\"ui-table-tbody _frozen-rows\">\n @for (row of frozenValue(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"rowContext(row, $index, true)\" />\n }\n }\n </tbody>\n }\n\n <tbody class=\"ui-table-tbody\">\n @if (loading()) {\n <tr class=\"ui-table-loading-row\">\n <td class=\"ui-table-loading-cell\" [attr.colspan]=\"columnCount()\">\n <ui-spinner [ariaLabel]=\"loadingAriaLabel()\" />\n </td>\n </tr>\n } @else {\n @if (virtualScroll() && virtualPadding().top > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().top\"></td>\n </tr>\n }\n\n @for (row of pageData(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"rowContext(row, $index)\" />\n }\n @if (expandedRowTemplate(); as expansion) {\n @if (isRowExpanded(row)) {\n <ng-container [ngTemplateOutlet]=\"expansion\" [ngTemplateOutletContext]=\"rowContext(row, $index)\" />\n }\n }\n } @empty {\n <tr class=\"ui-table-empty-row\">\n <td class=\"ui-table-empty-cell\" [attr.colspan]=\"columnCount()\">\n @if (emptyMessageTemplate(); as empty) {\n <ng-container [ngTemplateOutlet]=\"empty\" />\n } @else {\n <ui-empty-state size=\"small\" [icon]=\"emptyIcon()\" [title]=\"emptyMessage()\" />\n }\n </td>\n </tr>\n }\n\n @if (virtualScroll() && virtualPadding().bottom > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().bottom\"></td>\n </tr>\n }\n }\n </tbody>\n\n @if (footerTemplate(); as footer) {\n <tfoot class=\"ui-table-tfoot\">\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </tfoot>\n }\n </table>\n </div>\n </div>\n\n @if (paginator()) {\n <ui-paginator\n [totalRecords]=\"effectiveTotalRecords()\"\n [rows]=\"rowsState()\"\n (rowsChange)=\"onPaginatorRows($event)\"\n [first]=\"first()\"\n (firstChange)=\"first.set($event)\"\n [pageLinks]=\"pageLinks()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n ariaLabel=\"Pagination du tableau\"\n (pageChange)=\"pageChange.emit($event)\"\n />\n }\n</div>\n", styles: ["ui-table{display:block;min-width:0}ui-table:has(>.ui-table._flex-scroll){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table{font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--table-body-content-odd)}.ui-table-container{min-width:0}.ui-table-wrapper{min-width:0;overflow-x:auto}.ui-table-loading-cell{text-align:center}.ui-table-loading-cell ui-spinner{display:flex;justify-content:center;padding:var(--ui-table-loading-padding-y, var(--units-3xl)) 0}.ui-table-table{width:100%;border-collapse:separate;border-spacing:0}.ui-table-table th,.ui-table-table td{box-sizing:border-box}.ui-table-caption{padding:var(--units-md) var(--units-default);font-weight:var(--weight-bold)}.ui-table-thead th{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-head-surface-default);color:var(--table-head-content-default);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-head-stroke-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);text-align:left;white-space:nowrap}.ui-table-tbody td{padding:var(--ui-table-cell-padding, var(--units-default));background-color:var(--table-body-surface-odd);color:var(--table-body-content-odd);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd);transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-tbody tr:last-child td{border-bottom-color:transparent}.ui-table._striped .ui-table-tbody tr:nth-child(2n) td{background-color:var(--table-body-surface-even);color:var(--table-body-content-even);border-bottom-color:var(--table-body-stroke-even)}.ui-table._hoverable .ui-table-tbody tr:hover td{background-color:var(--table-body-surface-hover);color:var(--table-body-content-hover)}.ui-table-tbody tr._selected td,.ui-table._striped .ui-table-tbody tr._selected td{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-bottom-color:var(--informative-highlightlow-stroke-default)}.ui-table._hoverable .ui-table-tbody tr._selected:hover td{background-color:var(--informative-highlightlow-surface-hover);color:var(--informative-highlightlow-content-hover)}.ui-table-selectable-row{cursor:pointer}.ui-table-selectable-row:focus-visible{outline:var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) solid var(--global-border-focus);outline-offset:calc(-1 * var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))))}.ui-table-reorderable-row{cursor:grab}.ui-table-reorderable-row._drop-above td{box-shadow:inset 0 var(--ui-table-drop-indicator-width, var(--stroke-lg)) 0 0 var(--global-border-focus)}.ui-table-reorderable-row._drop-below td{box-shadow:inset 0 calc(-1 * var(--ui-table-drop-indicator-width, var(--stroke-lg))) 0 0 var(--global-border-focus)}.ui-table-empty-cell{text-align:center}.ui-table-empty-cell ui-empty-state{display:flex;justify-content:center;padding:var(--units-xl) 0}.ui-table-virtual-spacer td{padding:0;border:none;background:none}.ui-table-tfoot td{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-footer-surface-default);color:var(--table-footer-content-default);border-top:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-footer-stroke-default);font-weight:var(--weight-bold);text-align:left}.ui-table._small .ui-table-tbody td{padding:var(--ui-table-cell-padding-small, var(--units-sm) var(--units-md))}.ui-table._small .ui-table-thead th,.ui-table._small .ui-table-tfoot td{padding:var(--ui-table-head-padding-small, var(--units-sm) var(--units-md))}.ui-table._large .ui-table-tbody td{padding:var(--ui-table-cell-padding-large, var(--units-xl) var(--units-default))}.ui-table._large .ui-table-thead th,.ui-table._large .ui-table-tfoot td{padding:var(--ui-table-head-padding-large, var(--units-default))}.ui-table._gridlines .ui-table-table{border:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th,.ui-table._gridlines .ui-table-tbody td,.ui-table._gridlines .ui-table-tfoot td{border-right:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th:last-child,.ui-table._gridlines .ui-table-tbody td:last-child,.ui-table._gridlines .ui-table-tfoot td:last-child{border-right:none}.ui-table-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-sortable-column:hover{background-color:var(--table-head-surface-hover);color:var(--table-head-content-hover)}.ui-table-sortable-column:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-table-sortable-column .ui-table-sort-icon{margin-left:var(--units-xs);vertical-align:middle}.ui-table._scrollable .ui-table-wrapper{overflow:auto}.ui-table._scrollable .ui-table-thead th{position:sticky;top:0;z-index:2}.ui-table._scrollable .ui-table-thead th._frozen-left,.ui-table._scrollable .ui-table-thead th._frozen-right{z-index:3}.ui-table._scrollable .ui-table-tfoot td{position:sticky;bottom:0;z-index:2}.ui-table._scrollable .ui-table-tbody._frozen-rows td{position:sticky;top:var(--ui-table-frozen-top, 0);z-index:1;font-weight:var(--weight-bold)}.ui-table._flex-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table._flex-scroll .ui-table-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.ui-table._flex-scroll .ui-table-wrapper{flex:1 1 0;min-height:0}.ui-table._virtual .ui-table-wrapper{overflow-anchor:none}.ui-table .ui-table-table th._frozen-left,.ui-table .ui-table-table th._frozen-right,.ui-table .ui-table-table td._frozen-left,.ui-table .ui-table-table td._frozen-right{position:sticky;z-index:1}.ui-table-thead th._frozen-left,.ui-table-thead th._frozen-right{z-index:3}.ui-table._resizable .ui-table-thead th{position:relative;overflow:hidden}.ui-table-column-resizer{position:absolute;top:0;right:0;width:var(--ui-table-resizer-hit-width, var(--units-sm));height:100%;cursor:col-resize;touch-action:none}.ui-table-column-resizer:hover{border-right:var(--stroke-default) solid var(--global-border-default-hover)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: UiPaginator, selector: "ui-paginator", inputs: ["totalRecords", "rows", "first", "pageLinks", "ellipsis", "boundaryCount", "rowsPerPageOptions", "showFirstLastIcon", "showPageLinks", "showCurrentPageReport", "currentPageReportTemplate", "disabled", "ariaLabel", "pageAriaLabel", "firstPageAriaLabel", "prevPageAriaLabel", "nextPageAriaLabel", "lastPageAriaLabel", "rowsPerPageAriaLabel"], outputs: ["rowsChange", "firstChange", "pageChange"] }, { kind: "component", type: UiEmptyState, selector: "ui-empty-state", inputs: ["title", "description", "icon", "iconType", "size", "showMedia", "ariaLabel", "ariaLabelledBy"] }, { kind: "component", type: UiSpinner, selector: "ui-spinner", inputs: ["size", "orientation", "label", "ariaLabel", "spinnerTemplate", "image", "imageAlt", "icon", "strokeWidth", "fill", "animationDuration", "delay"] }], encapsulation: i0.ViewEncapsulation.None }); }
777
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
778
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: UiTable, isStandalone: true, selector: "ui-table", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showGridlines: { classPropertyName: "showGridlines", publicName: "showGridlines", isSignal: true, isRequired: false, transformFunction: null }, stripedRows: { classPropertyName: "stripedRows", publicName: "stripedRows", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", isSignal: true, isRequired: false, transformFunction: null }, tableStyle: { classPropertyName: "tableStyle", publicName: "tableStyle", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, sortMode: { classPropertyName: "sortMode", publicName: "sortMode", isSignal: true, isRequired: false, transformFunction: null }, sortField: { classPropertyName: "sortField", publicName: "sortField", isSignal: true, isRequired: false, transformFunction: null }, sortOrder: { classPropertyName: "sortOrder", publicName: "sortOrder", isSignal: true, isRequired: false, transformFunction: null }, multiSortMeta: { classPropertyName: "multiSortMeta", publicName: "multiSortMeta", isSignal: true, isRequired: false, transformFunction: null }, defaultSortOrder: { classPropertyName: "defaultSortOrder", publicName: "defaultSortOrder", isSignal: true, isRequired: false, transformFunction: null }, customSort: { classPropertyName: "customSort", publicName: "customSort", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, frozenValue: { classPropertyName: "frozenValue", publicName: "frozenValue", isSignal: true, isRequired: false, transformFunction: null }, expandedRowKeys: { classPropertyName: "expandedRowKeys", publicName: "expandedRowKeys", isSignal: true, isRequired: false, transformFunction: null }, resizableColumns: { classPropertyName: "resizableColumns", publicName: "resizableColumns", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingAriaLabel: { classPropertyName: "loadingAriaLabel", publicName: "loadingAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, emptyIcon: { classPropertyName: "emptyIcon", publicName: "emptyIcon", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { 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" }, queries: [{ propertyName: "captionTemplate", first: true, predicate: ["caption"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "bodyTemplate", first: true, predicate: ["body"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "expandedRowTemplate", first: true, predicate: ["expandedrow"], descendants: true, isSignal: true }, { propertyName: "emptyMessageTemplate", first: true, predicate: ["emptymessage"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tableEl", first: true, predicate: ["tableEl"], descendants: true, isSignal: true }, { propertyName: "theadEl", first: true, predicate: ["theadEl"], descendants: true, isSignal: true }, { propertyName: "wrapperEl", first: true, predicate: ["wrapperEl"], descendants: true, isSignal: true }], ngImport: i0, template: "<div [class]=\"classes()\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n @if (captionTemplate(); as caption) {\n <div class=\"ui-table-caption\">\n <ng-container [ngTemplateOutlet]=\"caption\" />\n </div>\n }\n\n <div class=\"ui-table-container\">\n <div\n #wrapperEl\n class=\"ui-table-wrapper\"\n [style.max-height]=\"scrollMaxHeight()\"\n [style.--ui-table-frozen-top.px]=\"frozenRowsTop()\"\n (scroll)=\"onWrapperScroll()\"\n >\n <table #tableEl class=\"ui-table-table\" [style]=\"tableStyle() ?? null\">\n @if (headerTemplate(); as header) {\n <thead #theadEl class=\"ui-table-thead\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n </thead>\n }\n\n @if (!loading() && frozenValue()?.length) {\n <tbody class=\"ui-table-tbody _frozen-rows\">\n @for (row of frozenValue(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container\n [ngTemplateOutlet]=\"body\"\n [ngTemplateOutletContext]=\"rowContext(row, $index, true)\"\n />\n }\n }\n </tbody>\n }\n\n <tbody class=\"ui-table-tbody\">\n @if (loading()) {\n <tr class=\"ui-table-loading-row\">\n <td class=\"ui-table-loading-cell\" [attr.colspan]=\"columnCount()\">\n <ui-spinner [ariaLabel]=\"loadingAriaLabel()\" />\n </td>\n </tr>\n } @else {\n @if (virtualScroll() && virtualPadding().top > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().top\"></td>\n </tr>\n }\n\n @for (row of pageData(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container\n [ngTemplateOutlet]=\"body\"\n [ngTemplateOutletContext]=\"rowContext(row, $index)\"\n />\n }\n @if (expandedRowTemplate(); as expansion) {\n @if (isRowExpanded(row)) {\n <ng-container\n [ngTemplateOutlet]=\"expansion\"\n [ngTemplateOutletContext]=\"rowContext(row, $index)\"\n />\n }\n }\n } @empty {\n <tr class=\"ui-table-empty-row\">\n <td class=\"ui-table-empty-cell\" [attr.colspan]=\"columnCount()\">\n @if (emptyMessageTemplate(); as empty) {\n <ng-container [ngTemplateOutlet]=\"empty\" />\n } @else {\n <ui-empty-state size=\"small\" [icon]=\"emptyIcon()\" [title]=\"emptyMessage()\" />\n }\n </td>\n </tr>\n }\n\n @if (virtualScroll() && virtualPadding().bottom > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().bottom\"></td>\n </tr>\n }\n }\n </tbody>\n\n @if (footerTemplate(); as footer) {\n <tfoot class=\"ui-table-tfoot\">\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </tfoot>\n }\n </table>\n </div>\n </div>\n\n @if (paginator()) {\n <ui-paginator\n [totalRecords]=\"effectiveTotalRecords()\"\n [rows]=\"rowsState()\"\n (rowsChange)=\"onPaginatorRows($event)\"\n [first]=\"first()\"\n (firstChange)=\"first.set($event)\"\n [pageLinks]=\"pageLinks()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n ariaLabel=\"Pagination du tableau\"\n (pageChange)=\"pageChange.emit($event)\"\n />\n }\n</div>\n", styles: ["ui-table{display:block;min-width:0}ui-table:has(>.ui-table._flex-scroll){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table{font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--table-body-content-odd)}.ui-table-container{min-width:0}.ui-table-wrapper{min-width:0;overflow-x:auto}.ui-table-loading-cell{text-align:center}.ui-table-loading-cell ui-spinner{display:flex;justify-content:center;padding:var(--ui-table-loading-padding-y, var(--units-3xl)) 0}.ui-table-table{width:100%;border-collapse:separate;border-spacing:0}.ui-table-table th,.ui-table-table td{box-sizing:border-box}.ui-table-caption{padding:var(--units-md) var(--units-default);font-weight:var(--weight-bold)}.ui-table-thead th{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-head-surface-default);color:var(--table-head-content-default);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-head-stroke-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);text-align:left;white-space:nowrap}.ui-table-tbody td{padding:var(--ui-table-cell-padding, var(--units-default));background-color:var(--table-body-surface-odd);color:var(--table-body-content-odd);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd);transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-tbody tr:last-child td{border-bottom-color:transparent}.ui-table._striped .ui-table-tbody tr:nth-child(2n) td{background-color:var(--table-body-surface-even);color:var(--table-body-content-even);border-bottom-color:var(--table-body-stroke-even)}.ui-table._hoverable .ui-table-tbody tr:hover td{background-color:var(--table-body-surface-hover);color:var(--table-body-content-hover)}.ui-table-tbody tr._selected td,.ui-table._striped .ui-table-tbody tr._selected td{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-bottom-color:var(--informative-highlightlow-stroke-default)}.ui-table._hoverable .ui-table-tbody tr._selected:hover td{background-color:var(--informative-highlightlow-surface-hover);color:var(--informative-highlightlow-content-hover)}.ui-table-selectable-row{cursor:pointer}.ui-table-selectable-row:focus-visible{outline:var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) solid var(--global-border-focus);outline-offset:calc(-1 * var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))))}.ui-table-reorderable-row{cursor:grab}.ui-table-reorderable-row._drop-above td{box-shadow:inset 0 var(--ui-table-drop-indicator-width, var(--stroke-lg)) 0 0 var(--global-border-focus)}.ui-table-reorderable-row._drop-below td{box-shadow:inset 0 calc(-1 * var(--ui-table-drop-indicator-width, var(--stroke-lg))) 0 0 var(--global-border-focus)}.ui-table-empty-cell{text-align:center}.ui-table-empty-cell ui-empty-state{display:flex;justify-content:center;padding:var(--units-xl) 0}.ui-table-virtual-spacer td{padding:0;border:none;background:none}.ui-table-tfoot td{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-footer-surface-default);color:var(--table-footer-content-default);border-top:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-footer-stroke-default);font-weight:var(--weight-bold);text-align:left}.ui-table._small .ui-table-tbody td{padding:var(--ui-table-cell-padding-small, var(--units-sm) var(--units-md))}.ui-table._small .ui-table-thead th,.ui-table._small .ui-table-tfoot td{padding:var(--ui-table-head-padding-small, var(--units-sm) var(--units-md))}.ui-table._large .ui-table-tbody td{padding:var(--ui-table-cell-padding-large, var(--units-xl) var(--units-default))}.ui-table._large .ui-table-thead th,.ui-table._large .ui-table-tfoot td{padding:var(--ui-table-head-padding-large, var(--units-default))}.ui-table._gridlines .ui-table-table{border:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th,.ui-table._gridlines .ui-table-tbody td,.ui-table._gridlines .ui-table-tfoot td{border-right:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th:last-child,.ui-table._gridlines .ui-table-tbody td:last-child,.ui-table._gridlines .ui-table-tfoot td:last-child{border-right:none}.ui-table-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-sortable-column:hover{background-color:var(--table-head-surface-hover);color:var(--table-head-content-hover)}.ui-table-sortable-column:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-table-sortable-column .ui-table-sort-icon{margin-left:var(--units-xs);vertical-align:middle}.ui-table._scrollable .ui-table-wrapper{overflow:auto}.ui-table._scrollable .ui-table-thead th{position:sticky;top:0;z-index:2}.ui-table._scrollable .ui-table-thead th._frozen-left,.ui-table._scrollable .ui-table-thead th._frozen-right{z-index:3}.ui-table._scrollable .ui-table-tfoot td{position:sticky;bottom:0;z-index:2}.ui-table._scrollable .ui-table-tbody._frozen-rows td{position:sticky;top:var(--ui-table-frozen-top, 0);z-index:1;font-weight:var(--weight-bold)}.ui-table._flex-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table._flex-scroll .ui-table-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.ui-table._flex-scroll .ui-table-wrapper{flex:1 1 0;min-height:0}.ui-table._virtual .ui-table-wrapper{overflow-anchor:none}.ui-table .ui-table-table th._frozen-left,.ui-table .ui-table-table th._frozen-right,.ui-table .ui-table-table td._frozen-left,.ui-table .ui-table-table td._frozen-right{position:sticky;z-index:1}.ui-table-thead th._frozen-left,.ui-table-thead th._frozen-right{z-index:3}.ui-table._resizable .ui-table-thead th{position:relative;overflow:hidden}.ui-table-column-resizer{position:absolute;top:0;right:0;width:var(--ui-table-resizer-hit-width, var(--units-sm));height:100%;cursor:col-resize;touch-action:none}.ui-table-column-resizer:hover{border-right:var(--stroke-default) solid var(--global-border-default-hover)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: UiPaginator, selector: "ui-paginator", inputs: ["totalRecords", "rows", "first", "pageLinks", "ellipsis", "boundaryCount", "rowsPerPageOptions", "showFirstLastIcon", "showPageLinks", "showCurrentPageReport", "currentPageReportTemplate", "disabled", "ariaLabel", "pageAriaLabel", "firstPageAriaLabel", "prevPageAriaLabel", "nextPageAriaLabel", "lastPageAriaLabel", "rowsPerPageAriaLabel"], outputs: ["rowsChange", "firstChange", "pageChange"] }, { kind: "component", type: UiEmptyState, selector: "ui-empty-state", inputs: ["title", "description", "icon", "iconType", "size", "showMedia", "ariaLabel", "ariaLabelledBy"] }, { kind: "component", type: UiSpinner, selector: "ui-spinner", inputs: ["size", "orientation", "label", "ariaLabel", "spinnerTemplate", "image", "imageAlt", "icon", "strokeWidth", "fill", "animationDuration", "delay"] }], encapsulation: i0.ViewEncapsulation.None }); }
772
779
  }
773
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTable, decorators: [{
780
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTable, decorators: [{
774
781
  type: Component,
775
- args: [{ selector: 'ui-table', imports: [NgTemplateOutlet, UiPaginator, UiEmptyState, UiSpinner], encapsulation: ViewEncapsulation.None, template: "<div [class]=\"classes()\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n @if (captionTemplate(); as caption) {\n <div class=\"ui-table-caption\">\n <ng-container [ngTemplateOutlet]=\"caption\" />\n </div>\n }\n\n <div class=\"ui-table-container\">\n <div\n #wrapperEl\n class=\"ui-table-wrapper\"\n [style.max-height]=\"scrollMaxHeight()\"\n [style.--ui-table-frozen-top.px]=\"frozenRowsTop()\"\n (scroll)=\"onWrapperScroll()\"\n >\n <table #tableEl class=\"ui-table-table\" [style]=\"tableStyle() ?? null\">\n @if (headerTemplate(); as header) {\n <thead #theadEl class=\"ui-table-thead\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n </thead>\n }\n\n @if (!loading() && frozenValue()?.length) {\n <tbody class=\"ui-table-tbody _frozen-rows\">\n @for (row of frozenValue(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"rowContext(row, $index, true)\" />\n }\n }\n </tbody>\n }\n\n <tbody class=\"ui-table-tbody\">\n @if (loading()) {\n <tr class=\"ui-table-loading-row\">\n <td class=\"ui-table-loading-cell\" [attr.colspan]=\"columnCount()\">\n <ui-spinner [ariaLabel]=\"loadingAriaLabel()\" />\n </td>\n </tr>\n } @else {\n @if (virtualScroll() && virtualPadding().top > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().top\"></td>\n </tr>\n }\n\n @for (row of pageData(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container [ngTemplateOutlet]=\"body\" [ngTemplateOutletContext]=\"rowContext(row, $index)\" />\n }\n @if (expandedRowTemplate(); as expansion) {\n @if (isRowExpanded(row)) {\n <ng-container [ngTemplateOutlet]=\"expansion\" [ngTemplateOutletContext]=\"rowContext(row, $index)\" />\n }\n }\n } @empty {\n <tr class=\"ui-table-empty-row\">\n <td class=\"ui-table-empty-cell\" [attr.colspan]=\"columnCount()\">\n @if (emptyMessageTemplate(); as empty) {\n <ng-container [ngTemplateOutlet]=\"empty\" />\n } @else {\n <ui-empty-state size=\"small\" [icon]=\"emptyIcon()\" [title]=\"emptyMessage()\" />\n }\n </td>\n </tr>\n }\n\n @if (virtualScroll() && virtualPadding().bottom > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().bottom\"></td>\n </tr>\n }\n }\n </tbody>\n\n @if (footerTemplate(); as footer) {\n <tfoot class=\"ui-table-tfoot\">\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </tfoot>\n }\n </table>\n </div>\n </div>\n\n @if (paginator()) {\n <ui-paginator\n [totalRecords]=\"effectiveTotalRecords()\"\n [rows]=\"rowsState()\"\n (rowsChange)=\"onPaginatorRows($event)\"\n [first]=\"first()\"\n (firstChange)=\"first.set($event)\"\n [pageLinks]=\"pageLinks()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n ariaLabel=\"Pagination du tableau\"\n (pageChange)=\"pageChange.emit($event)\"\n />\n }\n</div>\n", styles: ["ui-table{display:block;min-width:0}ui-table:has(>.ui-table._flex-scroll){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table{font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--table-body-content-odd)}.ui-table-container{min-width:0}.ui-table-wrapper{min-width:0;overflow-x:auto}.ui-table-loading-cell{text-align:center}.ui-table-loading-cell ui-spinner{display:flex;justify-content:center;padding:var(--ui-table-loading-padding-y, var(--units-3xl)) 0}.ui-table-table{width:100%;border-collapse:separate;border-spacing:0}.ui-table-table th,.ui-table-table td{box-sizing:border-box}.ui-table-caption{padding:var(--units-md) var(--units-default);font-weight:var(--weight-bold)}.ui-table-thead th{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-head-surface-default);color:var(--table-head-content-default);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-head-stroke-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);text-align:left;white-space:nowrap}.ui-table-tbody td{padding:var(--ui-table-cell-padding, var(--units-default));background-color:var(--table-body-surface-odd);color:var(--table-body-content-odd);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd);transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-tbody tr:last-child td{border-bottom-color:transparent}.ui-table._striped .ui-table-tbody tr:nth-child(2n) td{background-color:var(--table-body-surface-even);color:var(--table-body-content-even);border-bottom-color:var(--table-body-stroke-even)}.ui-table._hoverable .ui-table-tbody tr:hover td{background-color:var(--table-body-surface-hover);color:var(--table-body-content-hover)}.ui-table-tbody tr._selected td,.ui-table._striped .ui-table-tbody tr._selected td{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-bottom-color:var(--informative-highlightlow-stroke-default)}.ui-table._hoverable .ui-table-tbody tr._selected:hover td{background-color:var(--informative-highlightlow-surface-hover);color:var(--informative-highlightlow-content-hover)}.ui-table-selectable-row{cursor:pointer}.ui-table-selectable-row:focus-visible{outline:var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) solid var(--global-border-focus);outline-offset:calc(-1 * var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))))}.ui-table-reorderable-row{cursor:grab}.ui-table-reorderable-row._drop-above td{box-shadow:inset 0 var(--ui-table-drop-indicator-width, var(--stroke-lg)) 0 0 var(--global-border-focus)}.ui-table-reorderable-row._drop-below td{box-shadow:inset 0 calc(-1 * var(--ui-table-drop-indicator-width, var(--stroke-lg))) 0 0 var(--global-border-focus)}.ui-table-empty-cell{text-align:center}.ui-table-empty-cell ui-empty-state{display:flex;justify-content:center;padding:var(--units-xl) 0}.ui-table-virtual-spacer td{padding:0;border:none;background:none}.ui-table-tfoot td{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-footer-surface-default);color:var(--table-footer-content-default);border-top:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-footer-stroke-default);font-weight:var(--weight-bold);text-align:left}.ui-table._small .ui-table-tbody td{padding:var(--ui-table-cell-padding-small, var(--units-sm) var(--units-md))}.ui-table._small .ui-table-thead th,.ui-table._small .ui-table-tfoot td{padding:var(--ui-table-head-padding-small, var(--units-sm) var(--units-md))}.ui-table._large .ui-table-tbody td{padding:var(--ui-table-cell-padding-large, var(--units-xl) var(--units-default))}.ui-table._large .ui-table-thead th,.ui-table._large .ui-table-tfoot td{padding:var(--ui-table-head-padding-large, var(--units-default))}.ui-table._gridlines .ui-table-table{border:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th,.ui-table._gridlines .ui-table-tbody td,.ui-table._gridlines .ui-table-tfoot td{border-right:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th:last-child,.ui-table._gridlines .ui-table-tbody td:last-child,.ui-table._gridlines .ui-table-tfoot td:last-child{border-right:none}.ui-table-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-sortable-column:hover{background-color:var(--table-head-surface-hover);color:var(--table-head-content-hover)}.ui-table-sortable-column:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-table-sortable-column .ui-table-sort-icon{margin-left:var(--units-xs);vertical-align:middle}.ui-table._scrollable .ui-table-wrapper{overflow:auto}.ui-table._scrollable .ui-table-thead th{position:sticky;top:0;z-index:2}.ui-table._scrollable .ui-table-thead th._frozen-left,.ui-table._scrollable .ui-table-thead th._frozen-right{z-index:3}.ui-table._scrollable .ui-table-tfoot td{position:sticky;bottom:0;z-index:2}.ui-table._scrollable .ui-table-tbody._frozen-rows td{position:sticky;top:var(--ui-table-frozen-top, 0);z-index:1;font-weight:var(--weight-bold)}.ui-table._flex-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table._flex-scroll .ui-table-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.ui-table._flex-scroll .ui-table-wrapper{flex:1 1 0;min-height:0}.ui-table._virtual .ui-table-wrapper{overflow-anchor:none}.ui-table .ui-table-table th._frozen-left,.ui-table .ui-table-table th._frozen-right,.ui-table .ui-table-table td._frozen-left,.ui-table .ui-table-table td._frozen-right{position:sticky;z-index:1}.ui-table-thead th._frozen-left,.ui-table-thead th._frozen-right{z-index:3}.ui-table._resizable .ui-table-thead th{position:relative;overflow:hidden}.ui-table-column-resizer{position:absolute;top:0;right:0;width:var(--ui-table-resizer-hit-width, var(--units-sm));height:100%;cursor:col-resize;touch-action:none}.ui-table-column-resizer:hover{border-right:var(--stroke-default) solid var(--global-border-default-hover)}\n"] }]
782
+ args: [{ selector: 'ui-table', imports: [NgTemplateOutlet, UiPaginator, UiEmptyState, UiSpinner], encapsulation: ViewEncapsulation.None, template: "<div [class]=\"classes()\" [attr.aria-busy]=\"loading() ? 'true' : null\">\n @if (captionTemplate(); as caption) {\n <div class=\"ui-table-caption\">\n <ng-container [ngTemplateOutlet]=\"caption\" />\n </div>\n }\n\n <div class=\"ui-table-container\">\n <div\n #wrapperEl\n class=\"ui-table-wrapper\"\n [style.max-height]=\"scrollMaxHeight()\"\n [style.--ui-table-frozen-top.px]=\"frozenRowsTop()\"\n (scroll)=\"onWrapperScroll()\"\n >\n <table #tableEl class=\"ui-table-table\" [style]=\"tableStyle() ?? null\">\n @if (headerTemplate(); as header) {\n <thead #theadEl class=\"ui-table-thead\">\n <ng-container [ngTemplateOutlet]=\"header\" />\n </thead>\n }\n\n @if (!loading() && frozenValue()?.length) {\n <tbody class=\"ui-table-tbody _frozen-rows\">\n @for (row of frozenValue(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container\n [ngTemplateOutlet]=\"body\"\n [ngTemplateOutletContext]=\"rowContext(row, $index, true)\"\n />\n }\n }\n </tbody>\n }\n\n <tbody class=\"ui-table-tbody\">\n @if (loading()) {\n <tr class=\"ui-table-loading-row\">\n <td class=\"ui-table-loading-cell\" [attr.colspan]=\"columnCount()\">\n <ui-spinner [ariaLabel]=\"loadingAriaLabel()\" />\n </td>\n </tr>\n } @else {\n @if (virtualScroll() && virtualPadding().top > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().top\"></td>\n </tr>\n }\n\n @for (row of pageData(); track $index) {\n @if (bodyTemplate(); as body) {\n <ng-container\n [ngTemplateOutlet]=\"body\"\n [ngTemplateOutletContext]=\"rowContext(row, $index)\"\n />\n }\n @if (expandedRowTemplate(); as expansion) {\n @if (isRowExpanded(row)) {\n <ng-container\n [ngTemplateOutlet]=\"expansion\"\n [ngTemplateOutletContext]=\"rowContext(row, $index)\"\n />\n }\n }\n } @empty {\n <tr class=\"ui-table-empty-row\">\n <td class=\"ui-table-empty-cell\" [attr.colspan]=\"columnCount()\">\n @if (emptyMessageTemplate(); as empty) {\n <ng-container [ngTemplateOutlet]=\"empty\" />\n } @else {\n <ui-empty-state size=\"small\" [icon]=\"emptyIcon()\" [title]=\"emptyMessage()\" />\n }\n </td>\n </tr>\n }\n\n @if (virtualScroll() && virtualPadding().bottom > 0) {\n <tr class=\"ui-table-virtual-spacer\" aria-hidden=\"true\">\n <td [attr.colspan]=\"columnCount()\" [style.height.px]=\"virtualPadding().bottom\"></td>\n </tr>\n }\n }\n </tbody>\n\n @if (footerTemplate(); as footer) {\n <tfoot class=\"ui-table-tfoot\">\n <ng-container [ngTemplateOutlet]=\"footer\" />\n </tfoot>\n }\n </table>\n </div>\n </div>\n\n @if (paginator()) {\n <ui-paginator\n [totalRecords]=\"effectiveTotalRecords()\"\n [rows]=\"rowsState()\"\n (rowsChange)=\"onPaginatorRows($event)\"\n [first]=\"first()\"\n (firstChange)=\"first.set($event)\"\n [pageLinks]=\"pageLinks()\"\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\n ariaLabel=\"Pagination du tableau\"\n (pageChange)=\"pageChange.emit($event)\"\n />\n }\n</div>\n", styles: ["ui-table{display:block;min-width:0}ui-table:has(>.ui-table._flex-scroll){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table{font-family:var(--fontfamily-base);font-size:var(--size-typography-text-default);color:var(--table-body-content-odd)}.ui-table-container{min-width:0}.ui-table-wrapper{min-width:0;overflow-x:auto}.ui-table-loading-cell{text-align:center}.ui-table-loading-cell ui-spinner{display:flex;justify-content:center;padding:var(--ui-table-loading-padding-y, var(--units-3xl)) 0}.ui-table-table{width:100%;border-collapse:separate;border-spacing:0}.ui-table-table th,.ui-table-table td{box-sizing:border-box}.ui-table-caption{padding:var(--units-md) var(--units-default);font-weight:var(--weight-bold)}.ui-table-thead th{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-head-surface-default);color:var(--table-head-content-default);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-head-stroke-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);text-align:left;white-space:nowrap}.ui-table-tbody td{padding:var(--ui-table-cell-padding, var(--units-default));background-color:var(--table-body-surface-odd);color:var(--table-body-content-odd);border-bottom:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd);transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-tbody tr:last-child td{border-bottom-color:transparent}.ui-table._striped .ui-table-tbody tr:nth-child(2n) td{background-color:var(--table-body-surface-even);color:var(--table-body-content-even);border-bottom-color:var(--table-body-stroke-even)}.ui-table._hoverable .ui-table-tbody tr:hover td{background-color:var(--table-body-surface-hover);color:var(--table-body-content-hover)}.ui-table-tbody tr._selected td,.ui-table._striped .ui-table-tbody tr._selected td{background-color:var(--informative-highlightlow-surface-default);color:var(--informative-highlightlow-content-default);border-bottom-color:var(--informative-highlightlow-stroke-default)}.ui-table._hoverable .ui-table-tbody tr._selected:hover td{background-color:var(--informative-highlightlow-surface-hover);color:var(--informative-highlightlow-content-hover)}.ui-table-selectable-row{cursor:pointer}.ui-table-selectable-row:focus-visible{outline:var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) solid var(--global-border-focus);outline-offset:calc(-1 * var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))))}.ui-table-reorderable-row{cursor:grab}.ui-table-reorderable-row._drop-above td{box-shadow:inset 0 var(--ui-table-drop-indicator-width, var(--stroke-lg)) 0 0 var(--global-border-focus)}.ui-table-reorderable-row._drop-below td{box-shadow:inset 0 calc(-1 * var(--ui-table-drop-indicator-width, var(--stroke-lg))) 0 0 var(--global-border-focus)}.ui-table-empty-cell{text-align:center}.ui-table-empty-cell ui-empty-state{display:flex;justify-content:center;padding:var(--units-xl) 0}.ui-table-virtual-spacer td{padding:0;border:none;background:none}.ui-table-tfoot td{padding:var(--ui-table-head-padding, var(--units-md) var(--units-default));background-color:var(--table-footer-surface-default);color:var(--table-footer-content-default);border-top:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-footer-stroke-default);font-weight:var(--weight-bold);text-align:left}.ui-table._small .ui-table-tbody td{padding:var(--ui-table-cell-padding-small, var(--units-sm) var(--units-md))}.ui-table._small .ui-table-thead th,.ui-table._small .ui-table-tfoot td{padding:var(--ui-table-head-padding-small, var(--units-sm) var(--units-md))}.ui-table._large .ui-table-tbody td{padding:var(--ui-table-cell-padding-large, var(--units-xl) var(--units-default))}.ui-table._large .ui-table-thead th,.ui-table._large .ui-table-tfoot td{padding:var(--ui-table-head-padding-large, var(--units-default))}.ui-table._gridlines .ui-table-table{border:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th,.ui-table._gridlines .ui-table-tbody td,.ui-table._gridlines .ui-table-tfoot td{border-right:var(--ui-table-stroke-width, var(--stroke-sm)) solid var(--table-body-stroke-odd)}.ui-table._gridlines .ui-table-thead th:last-child,.ui-table._gridlines .ui-table-tbody td:last-child,.ui-table._gridlines .ui-table-tfoot td:last-child{border-right:none}.ui-table-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-table-sortable-column:hover{background-color:var(--table-head-surface-hover);color:var(--table-head-content-hover)}.ui-table-sortable-column:focus-visible{outline:none;box-shadow:inset 0 0 0 var(--ui-table-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--global-border-focus)}.ui-table-sortable-column .ui-table-sort-icon{margin-left:var(--units-xs);vertical-align:middle}.ui-table._scrollable .ui-table-wrapper{overflow:auto}.ui-table._scrollable .ui-table-thead th{position:sticky;top:0;z-index:2}.ui-table._scrollable .ui-table-thead th._frozen-left,.ui-table._scrollable .ui-table-thead th._frozen-right{z-index:3}.ui-table._scrollable .ui-table-tfoot td{position:sticky;bottom:0;z-index:2}.ui-table._scrollable .ui-table-tbody._frozen-rows td{position:sticky;top:var(--ui-table-frozen-top, 0);z-index:1;font-weight:var(--weight-bold)}.ui-table._flex-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.ui-table._flex-scroll .ui-table-container{display:flex;flex-direction:column;flex:1 1 0;min-height:0}.ui-table._flex-scroll .ui-table-wrapper{flex:1 1 0;min-height:0}.ui-table._virtual .ui-table-wrapper{overflow-anchor:none}.ui-table .ui-table-table th._frozen-left,.ui-table .ui-table-table th._frozen-right,.ui-table .ui-table-table td._frozen-left,.ui-table .ui-table-table td._frozen-right{position:sticky;z-index:1}.ui-table-thead th._frozen-left,.ui-table-thead th._frozen-right{z-index:3}.ui-table._resizable .ui-table-thead th{position:relative;overflow:hidden}.ui-table-column-resizer{position:absolute;top:0;right:0;width:var(--ui-table-resizer-hit-width, var(--units-sm));height:100%;cursor:col-resize;touch-action:none}.ui-table-column-resizer:hover{border-right:var(--stroke-default) solid var(--global-border-default-hover)}\n"] }]
776
783
  }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], showGridlines: [{ type: i0.Input, args: [{ isSignal: true, alias: "showGridlines", required: false }] }], stripedRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "stripedRows", required: false }] }], rowHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowHover", required: false }] }], tableStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "tableStyle", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }, { type: i0.Output, args: ["selectionChange"] }], metaKeySelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "metaKeySelection", required: false }] }], sortMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortMode", required: false }] }], sortField: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortField", required: false }] }], sortOrder: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortOrder", required: false }] }], multiSortMeta: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiSortMeta", required: false }] }], defaultSortOrder: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultSortOrder", required: false }] }], customSort: [{ type: i0.Input, args: [{ isSignal: true, alias: "customSort", required: false }] }], paginator: [{ type: i0.Input, args: [{ isSignal: true, alias: "paginator", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }, { type: i0.Output, args: ["firstChange"] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], pageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinks", required: false }] }], totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], scrollable: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollable", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], frozenValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "frozenValue", required: false }] }], expandedRowKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedRowKeys", required: false }] }, { type: i0.Output, args: ["expandedRowKeysChange"] }], resizableColumns: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizableColumns", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], loadingAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingAriaLabel", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], emptyIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyIcon", required: false }] }], virtualScroll: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScroll", required: false }] }], virtualScrollItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "virtualScrollItemSize", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], rowSelect: [{ type: i0.Output, args: ["rowSelect"] }], rowUnselect: [{ type: i0.Output, args: ["rowUnselect"] }], headerCheckboxToggle: [{ type: i0.Output, args: ["headerCheckboxToggle"] }], sortFunction: [{ type: i0.Output, args: ["sortFunction"] }], sortChange: [{ type: i0.Output, args: ["sortChange"] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }], rowExpand: [{ type: i0.Output, args: ["rowExpand"] }], rowCollapse: [{ type: i0.Output, args: ["rowCollapse"] }], colResize: [{ type: i0.Output, args: ["colResize"] }], rowReorder: [{ type: i0.Output, args: ["rowReorder"] }], lazyLoad: [{ type: i0.Output, args: ["lazyLoad"] }], captionTemplate: [{ type: i0.ContentChild, args: ['caption', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { isSignal: true }] }], bodyTemplate: [{ type: i0.ContentChild, args: ['body', { isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { isSignal: true }] }], expandedRowTemplate: [{ type: i0.ContentChild, args: ['expandedrow', { isSignal: true }] }], emptyMessageTemplate: [{ type: i0.ContentChild, args: ['emptymessage', { isSignal: true }] }], tableEl: [{ type: i0.ViewChild, args: ['tableEl', { isSignal: true }] }], theadEl: [{ type: i0.ViewChild, args: ['theadEl', { isSignal: true }] }], wrapperEl: [{ type: i0.ViewChild, args: ['wrapperEl', { isSignal: true }] }] } });
777
784
  /**
778
785
  * uiSortableColumn — makes a `<th>` sortable.
@@ -805,10 +812,10 @@ class UiTableSortableColumn {
805
812
  event.preventDefault();
806
813
  this.table.toggleColumnSort(this.field(), event);
807
814
  }
808
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableSortableColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
809
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: UiTableSortableColumn, isStandalone: true, selector: "[uiSortableColumn]", inputs: { field: { classPropertyName: "field", publicName: "uiSortableColumn", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "uiSortableColumnDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onTrigger($event)", "keydown.enter": "onTrigger($event)", "keydown.space": "onTrigger($event)" }, properties: { "class._sorted": "sorted()", "attr.tabindex": "disabled() ? null : 0", "attr.role": "\"columnheader\"", "attr.aria-sort": "ariaSort()" }, classAttribute: "ui-table-sortable-column" }, ngImport: i0 }); }
815
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableSortableColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
816
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiTableSortableColumn, isStandalone: true, selector: "[uiSortableColumn]", inputs: { field: { classPropertyName: "field", publicName: "uiSortableColumn", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "uiSortableColumnDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onTrigger($event)", "keydown.enter": "onTrigger($event)", "keydown.space": "onTrigger($event)" }, properties: { "class._sorted": "sorted()", "attr.tabindex": "disabled() ? null : 0", "attr.role": "\"columnheader\"", "attr.aria-sort": "ariaSort()" }, classAttribute: "ui-table-sortable-column" }, ngImport: i0 }); }
810
817
  }
811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableSortableColumn, decorators: [{
818
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableSortableColumn, decorators: [{
812
819
  type: Directive,
813
820
  args: [{
814
821
  selector: '[uiSortableColumn]',
@@ -842,10 +849,10 @@ class UiTableSortIcon {
842
849
  }, /* @ts-ignore */
843
850
  ...(ngDevMode ? [{ debugName: "iconName" }] : /* istanbul ignore next */ []));
844
851
  }
845
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableSortIcon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
846
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: UiTableSortIcon, isStandalone: true, selector: "ui-table-sort-icon", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `<ui-icon class="ui-table-sort-icon" [name]="iconName()" size="sm" />`, isInline: true, dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
852
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableSortIcon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
853
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: UiTableSortIcon, isStandalone: true, selector: "ui-table-sort-icon", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `<ui-icon class="ui-table-sort-icon" [name]="iconName()" size="sm" />`, isInline: true, dependencies: [{ kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }] }); }
847
854
  }
848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableSortIcon, decorators: [{
855
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableSortIcon, decorators: [{
849
856
  type: Component,
850
857
  args: [{
851
858
  selector: 'ui-table-sort-icon',
@@ -885,7 +892,10 @@ class UiTableSelectableRow {
885
892
  // Registry lookup used by Shift+Arrow (the moving row must resolve the
886
893
  // data/index of its target sibling).
887
894
  effect(() => {
888
- this.table.selectableRowRefs.set(this.el.nativeElement, { data: this.data(), index: this.index() });
895
+ this.table.selectableRowRefs.set(this.el.nativeElement, {
896
+ data: this.data(),
897
+ index: this.index(),
898
+ });
889
899
  });
890
900
  inject(DestroyRef).onDestroy(() => this.table.selectableRowRefs.delete(this.el.nativeElement));
891
901
  }
@@ -959,15 +969,17 @@ class UiTableSelectableRow {
959
969
  }
960
970
  /** @ignore First / last selectable row of the table. */
961
971
  findEdgeRow(edge) {
962
- const rows = this.el.nativeElement.closest('table')?.querySelectorAll('.ui-table-selectable-row');
972
+ const rows = this.el.nativeElement
973
+ .closest('table')
974
+ ?.querySelectorAll('.ui-table-selectable-row');
963
975
  if (!rows?.length)
964
976
  return null;
965
977
  return edge === 'start' ? rows[0] : rows[rows.length - 1];
966
978
  }
967
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableSelectableRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
968
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: UiTableSelectableRow, isStandalone: true, selector: "[uiSelectableRow]", inputs: { data: { classPropertyName: "data", publicName: "uiSelectableRow", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "uiSelectableRowIndex", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "uiSelectableRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeydown($event)" }, properties: { "class._selected": "selected()", "attr.tabindex": "tabindex()", "attr.aria-selected": "selected()" }, classAttribute: "ui-table-selectable-row" }, ngImport: i0 }); }
979
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableSelectableRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
980
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiTableSelectableRow, isStandalone: true, selector: "[uiSelectableRow]", inputs: { data: { classPropertyName: "data", publicName: "uiSelectableRow", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "uiSelectableRowIndex", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "uiSelectableRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeydown($event)" }, properties: { "class._selected": "selected()", "attr.tabindex": "tabindex()", "attr.aria-selected": "selected()" }, classAttribute: "ui-table-selectable-row" }, ngImport: i0 }); }
969
981
  }
970
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableSelectableRow, decorators: [{
982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableSelectableRow, decorators: [{
971
983
  type: Directive,
972
984
  args: [{
973
985
  selector: '[uiSelectableRow]',
@@ -1007,8 +1019,8 @@ class UiTableCheckbox {
1007
1019
  onToggle(_checked) {
1008
1020
  this.table.toggleRowWithCheckbox(undefined, this.value(), this.index());
1009
1021
  }
1010
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1011
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: UiTableCheckbox, isStandalone: true, selector: "ui-table-checkbox", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1022
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1023
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: UiTableCheckbox, isStandalone: true, selector: "ui-table-checkbox", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1012
1024
  <ui-checkbox
1013
1025
  [ngModel]="checked()"
1014
1026
  [disabled]="disabled()"
@@ -1017,7 +1029,7 @@ class UiTableCheckbox {
1017
1029
  />
1018
1030
  `, isInline: true, dependencies: [{ kind: "component", type: UiCheckbox, selector: "ui-checkbox", inputs: ["label", "trueValue", "falseValue", "indeterminate", "checkIcon", "indeterminateIcon"], outputs: ["checkboxChange", "checkboxFocus", "checkboxBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
1019
1031
  }
1020
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableCheckbox, decorators: [{
1032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableCheckbox, decorators: [{
1021
1033
  type: Component,
1022
1034
  args: [{
1023
1035
  selector: 'ui-table-checkbox',
@@ -1050,8 +1062,8 @@ class UiTableHeaderCheckbox {
1050
1062
  onToggle(checked) {
1051
1063
  this.table.toggleAllRows(undefined, checked === true);
1052
1064
  }
1053
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableHeaderCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1054
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: UiTableHeaderCheckbox, isStandalone: true, selector: "ui-table-header-checkbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1065
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableHeaderCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1066
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: UiTableHeaderCheckbox, isStandalone: true, selector: "ui-table-header-checkbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1055
1067
  <ui-checkbox
1056
1068
  [ngModel]="table.allSelected()"
1057
1069
  [indeterminate]="table.partiallySelected()"
@@ -1061,7 +1073,7 @@ class UiTableHeaderCheckbox {
1061
1073
  />
1062
1074
  `, isInline: true, dependencies: [{ kind: "component", type: UiCheckbox, selector: "ui-checkbox", inputs: ["label", "trueValue", "falseValue", "indeterminate", "checkIcon", "indeterminateIcon"], outputs: ["checkboxChange", "checkboxFocus", "checkboxBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
1063
1075
  }
1064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableHeaderCheckbox, decorators: [{
1076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableHeaderCheckbox, decorators: [{
1065
1077
  type: Component,
1066
1078
  args: [{
1067
1079
  selector: 'ui-table-header-checkbox',
@@ -1103,8 +1115,8 @@ class UiTableRadio {
1103
1115
  onSelect() {
1104
1116
  this.table.selectRowWithRadio(undefined, this.value(), this.index());
1105
1117
  }
1106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableRadio, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1107
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: UiTableRadio, isStandalone: true, selector: "ui-table-radio", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableRadio, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1119
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.2", type: UiTableRadio, isStandalone: true, selector: "ui-table-radio", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
1108
1120
  <ui-radio
1109
1121
  [value]="value()"
1110
1122
  [ngModel]="table.isSelected(value()) ? value() : undefined"
@@ -1115,7 +1127,7 @@ class UiTableRadio {
1115
1127
  />
1116
1128
  `, isInline: true, dependencies: [{ kind: "component", type: UiRadio, selector: "ui-radio", inputs: ["value", "label"], outputs: ["radioChange", "radioFocus", "radioBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
1117
1129
  }
1118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableRadio, decorators: [{
1130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableRadio, decorators: [{
1119
1131
  type: Component,
1120
1132
  args: [{
1121
1133
  selector: 'ui-table-radio',
@@ -1151,10 +1163,10 @@ class UiTableRowToggler {
1151
1163
  this.table.toggleRow(this.data(), event);
1152
1164
  event.stopPropagation();
1153
1165
  }
1154
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableRowToggler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1155
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: UiTableRowToggler, isStandalone: true, selector: "[uiRowToggler]", inputs: { data: { classPropertyName: "data", publicName: "uiRowToggler", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "click": "onToggle($event)" }, properties: { "attr.aria-expanded": "expanded()" } }, ngImport: i0 }); }
1166
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableRowToggler, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1167
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiTableRowToggler, isStandalone: true, selector: "[uiRowToggler]", inputs: { data: { classPropertyName: "data", publicName: "uiRowToggler", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "click": "onToggle($event)" }, properties: { "attr.aria-expanded": "expanded()" } }, ngImport: i0 }); }
1156
1168
  }
1157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableRowToggler, decorators: [{
1169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableRowToggler, decorators: [{
1158
1170
  type: Directive,
1159
1171
  args: [{
1160
1172
  selector: '[uiRowToggler]',
@@ -1231,10 +1243,10 @@ class UiTableFrozenColumn {
1231
1243
  cell.style.left = '';
1232
1244
  }
1233
1245
  }
1234
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableFrozenColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1235
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: UiTableFrozenColumn, isStandalone: true, selector: "[uiFrozenColumn]", inputs: { frozen: { classPropertyName: "frozen", publicName: "uiFrozenColumn", isSignal: true, isRequired: false, transformFunction: null }, alignFrozen: { classPropertyName: "alignFrozen", publicName: "alignFrozen", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class._frozen-left": "isFrozen() && alignFrozen() === \"left\"", "class._frozen-right": "isFrozen() && alignFrozen() === \"right\"" } }, ngImport: i0 }); }
1246
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableFrozenColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1247
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiTableFrozenColumn, isStandalone: true, selector: "[uiFrozenColumn]", inputs: { frozen: { classPropertyName: "frozen", publicName: "uiFrozenColumn", isSignal: true, isRequired: false, transformFunction: null }, alignFrozen: { classPropertyName: "alignFrozen", publicName: "alignFrozen", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class._frozen-left": "isFrozen() && alignFrozen() === \"left\"", "class._frozen-right": "isFrozen() && alignFrozen() === \"right\"" } }, ngImport: i0 }); }
1236
1248
  }
1237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableFrozenColumn, decorators: [{
1249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableFrozenColumn, decorators: [{
1238
1250
  type: Directive,
1239
1251
  args: [{
1240
1252
  selector: '[uiFrozenColumn]',
@@ -1306,10 +1318,10 @@ class UiTableResizableColumn {
1306
1318
  });
1307
1319
  this.destroyRef.onDestroy(() => this.cleanupDrag?.());
1308
1320
  }
1309
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableResizableColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1310
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: UiTableResizableColumn, isStandalone: true, selector: "[uiResizableColumn]", host: { classAttribute: "ui-table-resizable-column" }, ngImport: i0 }); }
1321
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableResizableColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1322
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: UiTableResizableColumn, isStandalone: true, selector: "[uiResizableColumn]", host: { classAttribute: "ui-table-resizable-column" }, ngImport: i0 }); }
1311
1323
  }
1312
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableResizableColumn, decorators: [{
1324
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableResizableColumn, decorators: [{
1313
1325
  type: Directive,
1314
1326
  args: [{
1315
1327
  selector: '[uiResizableColumn]',
@@ -1330,7 +1342,8 @@ class UiTableReorderableRow {
1330
1342
  /** @ignore */
1331
1343
  this.el = inject(ElementRef);
1332
1344
  /** Absolute row index (from the body template context). */
1333
- this.index = input.required({ ...(ngDevMode ? { debugName: "index" } : /* istanbul ignore next */ {}), alias: 'uiReorderableRow', transform: numberAttribute });
1345
+ this.index = input.required({ ...(ngDevMode ? { debugName: "index" } : /* istanbul ignore next */ {}), alias: 'uiReorderableRow',
1346
+ transform: numberAttribute });
1334
1347
  /** @ignore Visual drop indicator (edge of the hovered row). */
1335
1348
  this.dropPosition = signal(null, /* @ts-ignore */
1336
1349
  ...(ngDevMode ? [{ debugName: "dropPosition" }] : /* istanbul ignore next */ []));
@@ -1373,10 +1386,10 @@ class UiTableReorderableRow {
1373
1386
  this.dropPosition.set(null);
1374
1387
  this.table.draggedRowIndex = null;
1375
1388
  }
1376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableReorderableRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1377
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.1", type: UiTableReorderableRow, isStandalone: true, selector: "[uiReorderableRow]", inputs: { index: { classPropertyName: "index", publicName: "uiReorderableRow", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "dragstart": "onDragStart($event)", "dragover": "onDragOver($event)", "dragleave": "onDragLeave()", "drop": "onDrop($event)", "dragend": "onDragEnd()" }, properties: { "attr.draggable": "true", "class._drop-above": "dropPosition() === \"above\"", "class._drop-below": "dropPosition() === \"below\"" }, classAttribute: "ui-table-reorderable-row" }, ngImport: i0 }); }
1389
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableReorderableRow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1390
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiTableReorderableRow, isStandalone: true, selector: "[uiReorderableRow]", inputs: { index: { classPropertyName: "index", publicName: "uiReorderableRow", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "dragstart": "onDragStart($event)", "dragover": "onDragOver($event)", "dragleave": "onDragLeave()", "drop": "onDrop($event)", "dragend": "onDragEnd()" }, properties: { "attr.draggable": "true", "class._drop-above": "dropPosition() === \"above\"", "class._drop-below": "dropPosition() === \"below\"" }, classAttribute: "ui-table-reorderable-row" }, ngImport: i0 }); }
1378
1391
  }
1379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: UiTableReorderableRow, decorators: [{
1392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiTableReorderableRow, decorators: [{
1380
1393
  type: Directive,
1381
1394
  args: [{
1382
1395
  selector: '[uiReorderableRow]',