@eui/ecl 22.0.0-alpha.63 → 22.0.0-alpha.64
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.
- package/docs/changelog.html +10 -0
- package/docs/components/EclRadioLabelComponent.html +101 -118
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclRadioLabelComponent.md +0 -4
- package/docs/json/documentation.json +37 -73
- package/docs/llms.txt +7 -7
- package/docs/miscellaneous/variables.html +20 -20
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-layout-wrapper.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-quiz.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs +5 -49
- package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-radio.d.ts +9 -21
- package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-table.mjs","names":[],"sources":["../../components/ecl-table/ecl-table-sort-button.component.ts","../../components/ecl-table/ecl-table-sort-button.component.html","../../components/ecl-table/events/ecl-sort-table.event.ts","../../components/ecl-table/events/ecl-filter-table.event.ts","../../components/ecl-table/ecl-table.directive.ts","../../components/ecl-table/index.ts"],"sourcesContent":["import { Component, computed, inject } from '@angular/core';\nimport { AsyncPipe } from '@angular/common';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Internal sort button rendered inside sortable `EclTableHeaderDirective` cells.\n * Provides an ECL-styled arrow icon and an `aria-label` for screen-reader accessibility.\n * Created and appended programmatically by `EclTableHeaderDirective`; not used in templates directly.\n *\n * - Selector: `button[eclTableSortButton]`.\n * - `ariaLabel` defaults to `'Sort table'` and is updated by the parent header directive\n * on each sort cycle using the `ecl.table.SORT-LABEL.*` translation keys.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclTableSortButton]',\n templateUrl: './ecl-table-sort-button.component.html',\n imports: [...EUI_ECL_ICON, AsyncPipe],\n host: {\n '[attr.aria-label]': 'ariaLabel',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableSortButtonComponent extends ECLBaseDirective {\n eclThemeService = inject(EclThemeService);\n\n /**\n * Accessibility label describing the button's function.\n * This value is bound to the `aria-label` attribute.\n */\n ariaLabel = 'Sort table';\n\n /**\n * CSS classes applied to the host element.\n * Includes ECL base table sort arrow styling.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__arrow'));\n}\n","<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-up\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-down\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n","import { EclBaseEvent } from '@eui/ecl/core';\nimport { SortOrder } from '../ecl-table.directive';\n\n/**\n * Event emitted when the table sort order changes.\n *\n * Extends the base ECL event to provide sorting-specific information.\n */\nexport class EclSortTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The order in which the table is currently sorted.\n * Can be 'ascending', 'descending', or null (unsorted).\n */\n public sortOrder: SortOrder,\n\n /**\n * The identifier of the column that triggered the sort event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a table column filter value changes.\n *\n * Extends the base ECL event to provide filtering-specific information.\n */\nexport class EclFilterTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The current keyword typed in the column filter field (trimmed).\n * Empty string means the column filter is cleared.\n */\n public keyword: string,\n\n /**\n * The identifier of the column that triggered the filter event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import {\n AfterContentInit,\n Directive,\n ElementRef,\n forwardRef,\n ViewContainerRef,\n booleanAttribute,\n Renderer2,\n AfterViewInit,\n ChangeDetectorRef,\n computed,\n OnInit,\n inject,\n ComponentRef,\n afterNextRender,\n effect,\n input,\n output,\n linkedSignal,\n contentChildren,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\nimport { EclSortTableEvent } from './events/ecl-sort-table.event';\nimport { EclFilterTableEvent } from './events/ecl-filter-table.event';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * Enum representing the sort order of a column.\n */\nexport enum SortOrder {\n DESCENDING = 'descending',\n ASCENDING = 'ascending',\n}\n\n/**\n * Directive for styling and managing ECL-compliant tables.\n * Applies ECL table classes to the host element and coordinates column-level sort events\n * by aggregating `sort` outputs from projected `EclTableHeaderDirective` children.\n *\n * - Selector: `[eclTable]`.\n * - `isZebra` adds alternating row shading (`ecl-table--zebra`).\n * - `isSimple` opts out of the enhanced mobile layout in favour of horizontal scrolling (`ecl-table--simple`).\n * Automatically forced to `true` when no header directives are projected.\n * - `id` sets the HTML `id` attribute; a UUID is generated when omitted.\n * - Emits `sort` (`EclSortTableEvent`) whenever a sortable column header is clicked.\n * - Companion directives: `[eclTableHead]`, `[eclTableHeader]`, `[eclTableRow]`, `[eclTableBody]`,\n * `[eclTableCell]`, `[eclTableCellGroup]`, `[eclTableResponsive]`, `caption[eclTableCaption]`.\n */\n@Directive({\n selector: '[eclTable]',\n host: {\n '[attr.id]': 'tableId()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableDirective extends ECLBaseDirective implements OnInit, AfterContentInit {\n /**\n * Applies zebra striping to the table rows by adding the `ecl-table--zebra` class if true.\n */\n readonly isZebra = input(false, { transform: booleanAttribute });\n\n /**\n * Opts out of the enhanced mobile layout and applies the \"simple\" table variant\n * by adding the `ecl-table--simple` class.\n *\n * This only affects narrow (mobile) viewports; on desktop both variants render as\n * a standard table, so this input is effectively a no-op there.\n * - Default (enhanced): on mobile each row collapses into a stacked, card-like layout\n * that uses the `eclTableCellHeader` value as the label for each cell.\n * - Simple: on mobile the table keeps its native structure and scrolls horizontally\n * inside the responsive wrapper instead of collapsing.\n *\n * Automatically enabled if no header is detected, since the enhanced mobile layout\n * has no header labels to project onto the cells.\n */\n readonly isSimple = input(false, { transform: booleanAttribute });\n\n /**\n * Writable internal \"simple\" state, seeded from the `isSimple` input.\n * May be forced to `true` internally when no header is detected.\n */\n private isSimpleTable = linkedSignal(() => this.isSimple());\n\n /**\n * The HTML ID attribute of the table. If not provided, a UUID is generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected tableId = linkedSignal(() => this.id());\n\n /**\n * Computed list of CSS classes for the host element.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table'), this.isZebra() ? 'ecl-table--zebra' : '', this.isSimpleTable() ? 'ecl-table--simple' : ''].join(' ').trim());\n\n /**\n * Emits an event when a column sort is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an event when a column filter value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n /**\n * List of header directives detected in the content.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n private el = inject(ElementRef);\n\n /** Current keyword for each filterable column, keyed by column identifier. */\n private activeFilters = new Map<string, string>();\n\n constructor() {\n super();\n\n // Re-emit each header's sort and filter events through the table's own outputs.\n // Re-subscribes whenever the set of headers changes, disposing the previous\n // subscriptions so removed headers don't leak.\n effect((onCleanup) => {\n const subscription = new Subscription();\n this.eclTableHeaders().forEach((header) => {\n subscription.add(header.sort.subscribe((evt) => this.sort.emit(evt)));\n subscription.add(\n header.filter.subscribe((evt) => {\n this.applyFilter(evt);\n this.filter.emit(evt);\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique ID if none is provided.\n */\n ngOnInit(): void {\n if (!this.tableId()) {\n this.tableId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Lifecycle hook that runs after content is fully initialized.\n * Determines if the table should be rendered in \"simple\" mode.\n */\n ngAfterContentInit(): void {\n this.convertToSimpleVariant();\n }\n\n /**\n * Forces the \"simple\" variant when no header directives are found.\n *\n * The enhanced mobile layout relies on header cells to supply the per-cell labels\n * (via `eclTableCellHeader`); without headers there is nothing to project, so the\n * table falls back to the simple (horizontal-scroll) variant on mobile.\n */\n private convertToSimpleVariant(): void {\n if (this.eclTableHeaders().length === 0) {\n this.isSimpleTable.set(true);\n }\n }\n\n /**\n * Applies the built-in row filtering.\n *\n * Records the latest keyword for the column that emitted the event, then shows/hides\n * every body row: a row stays visible only if it matches every active column filter\n * (case-insensitive substring). Rows are toggled via the native `hidden` attribute.\n */\n private applyFilter(evt: EclFilterTableEvent): void {\n if (evt.keyword) {\n this.activeFilters.set(evt.columnId, evt.keyword.toLowerCase());\n } else {\n this.activeFilters.delete(evt.columnId);\n }\n\n const table: HTMLTableElement = this.el.nativeElement;\n const tbody = table.querySelector('tbody');\n if (!tbody) {\n return;\n }\n\n const columnIndexes = this.mapColumnIndexes(table);\n const rows = Array.from(tbody.rows);\n\n rows.forEach((row) => {\n const isVisible = [...this.activeFilters.entries()].every(([columnId, keyword]) => {\n const colIndex = columnIndexes.get(columnId);\n if (colIndex === undefined) {\n return true;\n }\n const cell = row.cells[colIndex];\n return !!cell && cell.textContent.toLowerCase().includes(keyword);\n });\n row.hidden = !isVisible;\n });\n }\n\n /**\n * Maps every sortable/filterable column identifier to its actual column index in the\n * `<thead>`, taking `rowspan` and `colspan` into account so filter inputs line up with\n * body cells.\n *\n * Column ids come from the header directive instances (not DOM attributes), so a cell's\n * identifier is resolved by matching the DOM cell to its `EclTableHeaderDirective` by\n * element identity.\n */\n private mapColumnIndexes(table: HTMLTableElement): Map<string, number> {\n const columnIndexes = new Map<string, number>();\n const thead = table.querySelector('thead');\n if (!thead) {\n return columnIndexes;\n }\n\n // Index the header directives by their host element for O(1) lookup.\n const headerByElement = new Map<HTMLElement, EclTableHeaderDirective>();\n this.eclTableHeaders().forEach((header) => {\n headerByElement.set(header.hostElement, header);\n });\n\n const rowSpans: number[] = [];\n Array.from(thead.rows).forEach((row) => {\n let col = 0;\n Array.from(row.cells).forEach((cell) => {\n while (rowSpans[col] > 0) {\n col += 1;\n }\n\n const columnId = headerByElement.get(cell as HTMLElement)?.columnId;\n if (columnId) {\n columnIndexes.set(columnId, col);\n }\n\n const colspan = Number(cell.getAttribute('colspan')) || 1;\n const rowspan = Number(cell.getAttribute('rowspan')) || 1;\n for (let i = col; i < col + colspan; i += 1) {\n rowSpans[i] = rowspan;\n }\n col += colspan;\n });\n\n for (let i = 0; i < rowSpans.length; i += 1) {\n if (rowSpans[i] > 0) {\n rowSpans[i] -= 1;\n }\n }\n });\n\n return columnIndexes;\n }\n}\n\n/**\n * Directive applied to `<thead>` elements inside a table.\n * Detects header changes and manages ARIA attributes.\n */\n@Directive({\n selector: '[eclTableHead]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableHeadDirective extends ECLBaseDirective {\n /**\n * Applies the ECL head class to the element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__head'));\n\n /**\n * List of header directives under this head element.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n constructor() {\n super();\n\n // When any header is sorted, reset the `aria-sort` state on every header so\n // only the active column reports a sort direction. Re-subscribes whenever the\n // set of headers changes, disposing the previous subscriptions.\n effect((onCleanup) => {\n const headers = this.eclTableHeaders();\n const subscription = new Subscription();\n headers.forEach((header) => {\n subscription.add(\n header.sort.subscribe(() => {\n headers.forEach((th) => th.removeAriaSort());\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n}\n\n/**\n * Directive representing a single table header cell in an ECL table.\n * Supports sorting functionality and accessibility attributes.\n */\n@Directive({\n selector: '[eclTableHeader]',\n host: {\n '[attr.aria-sort]': 'ariaSort',\n '[attr.data-ecl-table-sort-toggle]': 'eclSortable()',\n '[attr.scope]': 'scope()',\n '[attr.id]': 'headerId()',\n '[class]': 'cssClasses()',\n '[class.ecl-table__header--sortable]': 'isSortable',\n '[class.ecl-table__header--filterable]': 'isFilterable',\n '(click)': 'onClick($event)',\n },\n})\nexport class EclTableHeaderDirective extends ECLBaseDirective implements OnInit {\n /**\n * Current sort order of the column (`ascending`, `descending`, or `null`).\n * This sets the `aria-sort` attribute used for accessibility.\n */\n sortOrder: SortOrder | null = null;\n\n get ariaSort(): SortOrder | 'none' {\n return this.sortOrder ?? 'none';\n }\n\n /**\n * Enables sorting on the header. Also sets the `data-ecl-table-sort-toggle` attribute.\n * Acts as the unique identifier for the column when sorting.\n */\n readonly eclSortable = input<string>(null);\n\n /**\n * Enables filtering on the header.\n * Acts as the unique identifier for the column when filtering.\n */\n readonly eclFilterable = input<string | null>(null);\n\n /**\n * Scope of the table header. Default is `col`. Sets the `scope` attribute.\n */\n readonly scope = input('col');\n\n /**\n * HTML `id` attribute of the table header cell. If not provided, a UUID will be generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected headerId = linkedSignal(() => this.id());\n\n /**\n * Aria-label for the sort button that will be injected into the header cell.\n *\n * When provided, the value is used verbatim: it is NOT translated and is NOT\n * updated as the sort direction changes. The consumer is responsible for passing\n * an already-localized string (e.g. `[sortButtonAriaLabel]=\"'my.key' | translate\"`).\n *\n * When omitted, the directive manages the label internally and translates it via\n * the `ecl.table.SORT-LABEL.*` keys, updating it on each sort toggle.\n */\n readonly sortButtonAriaLabel = input<string>(undefined);\n\n /**\n * Visible label for the filter field that will be injected into the header cell.\n * The label is rendered screen-reader-only by the ECL styles.\n * Falls back to the `ecl.table.FILTER-LABEL` translation when not provided.\n */\n readonly filterLabel = input<string>();\n\n /**\n * Applies the `ecl-table__header--sortable` modifier when the header is sortable.\n */\n get isSortable(): boolean {\n return !!this.eclSortable();\n }\n\n /**\n * Applies the `ecl-table__header--filterable` modifier when the header is filterable.\n */\n get isFilterable(): boolean {\n return !!this.eclFilterable();\n }\n\n /**\n * Computes the CSS classes applied to the header element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__header'));\n\n /**\n * Emits an `EclSortTableEvent` when the header is clicked and sorting is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an `EclFilterTableEvent` when the column's filter field value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n private containerComponentRef: ComponentRef<EclTableSortButtonComponent>;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private renderer = inject(Renderer2);\n private translateService = inject(TranslateService);\n\n /** Debounce timer for filter input changes. */\n private filterTimer: ReturnType<typeof setTimeout>;\n\n /**\n * The native `<th>` element this directive is attached to.\n * Used by the parent table to map a header to its column index.\n */\n get hostElement(): HTMLElement {\n return this.el.nativeElement;\n }\n\n /**\n * Column identifier used by the parent table to key sort/filter state.\n * Prefers the filter id, falling back to the sort id.\n */\n get columnId(): string | null {\n return this.eclFilterable() ?? this.eclSortable();\n }\n\n constructor() {\n super();\n\n // Inject the sort button and filter field after the next render. `afterNextRender`\n // only runs in the browser, so the DOM is manipulated client-side (never during SSR).\n afterNextRender(() => {\n this.initSortButtons();\n this.initFilterField();\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique `id` if not already defined.\n */\n ngOnInit(): void {\n if (!this.headerId()) {\n this.headerId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Clears the `aria-sort` attribute, used to visually and semantically reset previous sort state.\n *\n * Remove the dark arrow for current sorting from prev sorted column\n */\n removeAriaSort(): void {\n this.renderer.setAttribute(this.el.nativeElement, 'aria-sort', 'none');\n }\n\n /**\n * Handles click events on the header.\n * Cycles through sort orders: `null` -> `ascending` -> `descending` -> `null`.\n * Emits a `EclSortTableEvent` with the updated sort state and column identifier.\n *\n * Click triggers 1 -> asc sorting, 2 -> desc sorting then 3 -> initial sorting\n */\n onClick(evt: Event): void {\n // Clicking inside the filter field must not trigger sorting.\n if ((evt.target as HTMLElement)?.closest('.ecl-table__filter')) {\n return;\n }\n if (this.eclSortable()) {\n switch (this.sortOrder) {\n case null: {\n this.sortOrder = SortOrder.ASCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.ascending'));\n break;\n }\n case SortOrder.ASCENDING: {\n this.sortOrder = SortOrder.DESCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.descending'));\n break;\n }\n case SortOrder.DESCENDING: {\n this.sortOrder = null;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.default'));\n break;\n }\n }\n\n this.sort.emit(new EclSortTableEvent(this.sortOrder, this.eclSortable()));\n }\n }\n\n private changeButtonAriaLabel(newAriaLabel: string): void {\n if (!this.sortButtonAriaLabel() && this.containerComponentRef) {\n this.containerComponentRef.instance.ariaLabel = newAriaLabel;\n }\n }\n\n /**\n * Creates (or returns the existing) `.ecl-table__header-inner` wrapper used to lay out the\n * header content. On first call the header's current content is moved into a nested\n * `.ecl-table__header-label`, so the sort arrow can live inside the label and the filter\n * field can be appended underneath, matching the upstream ECL markup.\n */\n private getOrCreateHeaderInner(): HTMLElement {\n const host: HTMLElement = this.el.nativeElement;\n let inner: HTMLElement = host.querySelector(':scope > .ecl-table__header-inner');\n if (!inner) {\n inner = this.renderer.createElement('span');\n this.renderer.addClass(inner, 'ecl-table__header-inner');\n\n const label = this.renderer.createElement('span');\n this.renderer.addClass(label, 'ecl-table__header-label');\n while (host.firstChild) {\n this.renderer.appendChild(label, host.firstChild);\n }\n this.renderer.appendChild(inner, label);\n\n this.renderer.appendChild(host, inner);\n }\n return inner;\n }\n\n /**\n * Dynamically creates and appends the sort button to the header's label wrapper.\n * Optionally sets the button's `aria-label` if provided.\n */\n private initSortButtons(): void {\n if (this.eclSortable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = inner.querySelector('.ecl-table__header-label');\n\n this.containerComponentRef = this.viewContainerRef.createComponent(EclTableSortButtonComponent);\n this.renderer.appendChild(label, this.containerComponentRef.location.nativeElement);\n const sortButtonAriaLabel = this.sortButtonAriaLabel();\n if (sortButtonAriaLabel) {\n this.containerComponentRef.instance.ariaLabel = sortButtonAriaLabel;\n } else {\n this.containerComponentRef.instance.ariaLabel = this.translateService.instant('ecl.table.SORT-LABEL.default');\n }\n }\n }\n\n /**\n * Dynamically creates and appends a column filter field to the header's inner wrapper\n * when filtering is enabled. Emits an `EclFilterTableEvent` (debounced) on input.\n */\n private initFilterField(): void {\n if (this.eclFilterable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = this.filterLabel() ?? this.translateService.instant('ecl.table.FILTER-LABEL');\n const inputId = `${this.headerId()}-filter`;\n\n const wrapper = this.renderer.createElement('span');\n this.renderer.addClass(wrapper, 'ecl-table__filter');\n\n const labelEl = this.renderer.createElement('label');\n this.renderer.addClass(labelEl, 'ecl-table__filter-label');\n this.renderer.setAttribute(labelEl, 'for', inputId);\n this.renderer.appendChild(labelEl, this.renderer.createText(label));\n this.renderer.appendChild(wrapper, labelEl);\n\n const input = this.renderer.createElement('input');\n this.renderer.setAttribute(input, 'type', 'search');\n this.renderer.setAttribute(input, 'id', inputId);\n this.renderer.addClass(input, 'ecl-table__filter-input');\n this.renderer.addClass(input, 'ecl-text-input');\n this.renderer.listen(input, 'input', (event: Event) => this.onFilterInput((event.target as HTMLInputElement).value));\n this.renderer.appendChild(wrapper, input);\n\n this.renderer.appendChild(inner, wrapper);\n }\n }\n\n /**\n * Debounced handler for the column filter field; emits the trimmed keyword.\n */\n private onFilterInput(value: string): void {\n clearTimeout(this.filterTimer);\n this.filterTimer = setTimeout(() => {\n this.filter.emit(new EclFilterTableEvent(value.trim(), this.eclFilterable()));\n }, 300);\n }\n}\n\n/**\n * Directive for applying ECL row styling to a table row element.\n */\n@Directive({\n selector: '[eclTableRow]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableRowDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__row` class to the table row.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__row'));\n}\n\n/**\n * Directive for applying ECL body styling to a table body element.\n */\n@Directive({\n selector: '[eclTableBody]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableBodyDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__body` class to the table body.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__body'));\n}\n\n/**\n * Directive for styling individual table cells in the ECL table.\n */\n@Directive({\n selector: '[eclTableCell]',\n host: {\n '[attr.data-ecl-table-header]': 'eclTableCellHeader()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellDirective extends ECLBaseDirective {\n /**\n * Provides a reference to the related table header.\n * Sets the `data-ecl-table-header` attribute for accessibility or responsive behavior.\n */\n readonly eclTableCellHeader = input<string>();\n\n /**\n * If `true`, applies additional group styling to the cell.\n */\n readonly isGroup = input(false, { transform: booleanAttribute });\n\n /**\n * Computes and applies appropriate CSS classes for the table cell.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table__cell'), this.isGroup() ? 'ecl-table__cell--group' : ''].join(' ').trim());\n}\n\n/**\n * Directive used to group multiple table cells under a shared header group.\n */\n@Directive({\n selector: '[eclTableCellGroup]',\n host: {\n '[attr.data-ecl-table-header-group]': 'cellGroup()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellGroupDirective extends ECLBaseDirective implements AfterViewInit {\n /**\n * Sets the `data-ecl-table-header-group` attribute to link to a header group.\n */\n readonly eclTableCellGroup = input<string>();\n\n /**\n * Writable internal group value, seeded from the `eclTableCellGroup` input.\n * An empty string is normalized to `null` so the attribute is omitted.\n */\n protected cellGroup = linkedSignal(() => this.eclTableCellGroup());\n\n /**\n * Applies the group-specific cell class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__cell--group'));\n\n private cd = inject(ChangeDetectorRef);\n /**\n * Ensures `data-ecl-table-header-group` is not empty and triggers change detection.\n */\n ngAfterViewInit(): void {\n this.cellGroup.set(this.cellGroup() !== '' ? this.cellGroup() : null);\n this.cd.detectChanges();\n }\n}\n\n/**\n * Directive for applying ECL responsive wrapper to a table container.\n */\n@Directive({\n selector: '[eclTableResponsive]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableResponsiveDirective extends ECLBaseDirective {\n /**\n * Applies the `ecl-table-responsive` class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table-responsive'));\n}\n\n/**\n * Directive for applying styling to a table caption element.\n */\n@Directive({\n selector: 'caption[eclTableCaption]',\n host: {\n '[class.ecl-table__caption]': 'true',\n },\n})\nexport class EclTableCaptionDirective extends ECLBaseDirective {}\n","import {\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableResponsiveDirective,\n EclTableCaptionDirective,\n} from './ecl-table.directive';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\n\nexport * from './ecl-table.directive';\nexport * from './ecl-table-sort-button.component';\nexport * from './events/ecl-sort-table.event';\nexport * from './events/ecl-filter-table.event';\n\nexport const EUI_ECL_TABLE = [\n EclTableCaptionDirective,\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableSortButtonComponent,\n EclTableResponsiveDirective,\n] as const;"],"mappings":";;;;;;;;AAyBA,IAAa,8BAAb,MAAa,oCAAoC,iBAAgB;CAVjE,cAAA;;EAWI,KAAA,kBAAkB,OAAO,eAAe;EAMxC,KAAA,YAAY;EAMO,KAAA,aAAa,eAC5B,MAAM,cAAc,kBAAkB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC/C;CAfY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA2B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA3B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA2B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA;IAAA,mBAAA;IAAA,SAAA;GAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCzBxC;GAEA,cAAA,CAAA;IAAA,MAAA;IAAA,MAAA,GAAA;IAAA,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA,GAAA;IAAA,MAAA;IAAA,MDiB+B;IAAS,MAAA;GAAA,CAAA;EAAA,CAAA;CAAA;;AAM3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EAVvC,MAAA;EAEa,MAAA,CAAA;GAAA,UAAA;GAA4B,SAE7B,CAAC,GAAG,cAAc,SAAS;GAAC,MAC/B;IACF,qBAAqB;IACrB,WAAW;GACd;GAAA,UAAA;EAAA,CAAA;;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,EAAA,YAAA,EAAA,SAAA,eAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EANvC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,WAAW,eACd;EACJ,CAAA;;;AAkBD,IAAa,2BAAb,MAAa,iCAAiC,iBAAgB;CAAjD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAwB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAxB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAwB,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,4BAAA,OAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAxB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EANpC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,8BAA8B,OACjC;EACJ,CAAA;;;AC/rBD,MAAa,gBAAgB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACM"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-table.mjs","names":[],"sources":["../../components/ecl-table/ecl-table-sort-button.component.ts","../../components/ecl-table/ecl-table-sort-button.component.html","../../components/ecl-table/events/ecl-sort-table.event.ts","../../components/ecl-table/events/ecl-filter-table.event.ts","../../components/ecl-table/ecl-table.directive.ts","../../components/ecl-table/index.ts"],"sourcesContent":["import { Component, computed, inject } from '@angular/core';\nimport { AsyncPipe } from '@angular/common';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Internal sort button rendered inside sortable `EclTableHeaderDirective` cells.\n * Provides an ECL-styled arrow icon and an `aria-label` for screen-reader accessibility.\n * Created and appended programmatically by `EclTableHeaderDirective`; not used in templates directly.\n *\n * - Selector: `button[eclTableSortButton]`.\n * - `ariaLabel` defaults to `'Sort table'` and is updated by the parent header directive\n * on each sort cycle using the `ecl.table.SORT-LABEL.*` translation keys.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclTableSortButton]',\n templateUrl: './ecl-table-sort-button.component.html',\n imports: [...EUI_ECL_ICON, AsyncPipe],\n host: {\n '[attr.aria-label]': 'ariaLabel',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableSortButtonComponent extends ECLBaseDirective {\n eclThemeService = inject(EclThemeService);\n\n /**\n * Accessibility label describing the button's function.\n * This value is bound to the `aria-label` attribute.\n */\n ariaLabel = 'Sort table';\n\n /**\n * CSS classes applied to the host element.\n * Includes ECL base table sort arrow styling.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__arrow'));\n}\n","<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-up\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-down\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n","import { EclBaseEvent } from '@eui/ecl/core';\nimport { SortOrder } from '../ecl-table.directive';\n\n/**\n * Event emitted when the table sort order changes.\n *\n * Extends the base ECL event to provide sorting-specific information.\n */\nexport class EclSortTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The order in which the table is currently sorted.\n * Can be 'ascending', 'descending', or null (unsorted).\n */\n public sortOrder: SortOrder,\n\n /**\n * The identifier of the column that triggered the sort event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a table column filter value changes.\n *\n * Extends the base ECL event to provide filtering-specific information.\n */\nexport class EclFilterTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The current keyword typed in the column filter field (trimmed).\n * Empty string means the column filter is cleared.\n */\n public keyword: string,\n\n /**\n * The identifier of the column that triggered the filter event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import {\n AfterContentInit,\n Directive,\n ElementRef,\n forwardRef,\n ViewContainerRef,\n booleanAttribute,\n Renderer2,\n AfterViewInit,\n ChangeDetectorRef,\n computed,\n OnInit,\n inject,\n ComponentRef,\n afterNextRender,\n effect,\n input,\n output,\n linkedSignal,\n contentChildren,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\nimport { EclSortTableEvent } from './events/ecl-sort-table.event';\nimport { EclFilterTableEvent } from './events/ecl-filter-table.event';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * Enum representing the sort order of a column.\n */\nexport enum SortOrder {\n DESCENDING = 'descending',\n ASCENDING = 'ascending',\n}\n\n/**\n * Directive for styling and managing ECL-compliant tables.\n * Applies ECL table classes to the host element and coordinates column-level sort events\n * by aggregating `sort` outputs from projected `EclTableHeaderDirective` children.\n *\n * - Selector: `[eclTable]`.\n * - `isZebra` adds alternating row shading (`ecl-table--zebra`).\n * - `isSimple` opts out of the enhanced mobile layout in favour of horizontal scrolling (`ecl-table--simple`).\n * Automatically forced to `true` when no header directives are projected.\n * - `id` sets the HTML `id` attribute; a UUID is generated when omitted.\n * - Emits `sort` (`EclSortTableEvent`) whenever a sortable column header is clicked.\n * - Companion directives: `[eclTableHead]`, `[eclTableHeader]`, `[eclTableRow]`, `[eclTableBody]`,\n * `[eclTableCell]`, `[eclTableCellGroup]`, `[eclTableResponsive]`, `caption[eclTableCaption]`.\n */\n@Directive({\n selector: '[eclTable]',\n host: {\n '[attr.id]': 'tableId()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableDirective extends ECLBaseDirective implements OnInit, AfterContentInit {\n /**\n * Applies zebra striping to the table rows by adding the `ecl-table--zebra` class if true.\n */\n readonly isZebra = input(false, { transform: booleanAttribute });\n\n /**\n * Opts out of the enhanced mobile layout and applies the \"simple\" table variant\n * by adding the `ecl-table--simple` class.\n *\n * This only affects narrow (mobile) viewports; on desktop both variants render as\n * a standard table, so this input is effectively a no-op there.\n * - Default (enhanced): on mobile each row collapses into a stacked, card-like layout\n * that uses the `eclTableCellHeader` value as the label for each cell.\n * - Simple: on mobile the table keeps its native structure and scrolls horizontally\n * inside the responsive wrapper instead of collapsing.\n *\n * Automatically enabled if no header is detected, since the enhanced mobile layout\n * has no header labels to project onto the cells.\n */\n readonly isSimple = input(false, { transform: booleanAttribute });\n\n /**\n * Writable internal \"simple\" state, seeded from the `isSimple` input.\n * May be forced to `true` internally when no header is detected.\n */\n private isSimpleTable = linkedSignal(() => this.isSimple());\n\n /**\n * The HTML ID attribute of the table. If not provided, a UUID is generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected tableId = linkedSignal(() => this.id());\n\n /**\n * Computed list of CSS classes for the host element.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table'), this.isZebra() ? 'ecl-table--zebra' : '', this.isSimpleTable() ? 'ecl-table--simple' : ''].join(' ').trim());\n\n /**\n * Emits an event when a column sort is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an event when a column filter value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n /**\n * List of header directives detected in the content.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n private el = inject(ElementRef);\n\n /** Current keyword for each filterable column, keyed by column identifier. */\n private activeFilters = new Map<string, string>();\n\n constructor() {\n super();\n\n // Re-emit each header's sort and filter events through the table's own outputs.\n // Re-subscribes whenever the set of headers changes, disposing the previous\n // subscriptions so removed headers don't leak.\n effect((onCleanup) => {\n const subscription = new Subscription();\n this.eclTableHeaders().forEach((header) => {\n subscription.add(header.sort.subscribe((evt) => this.sort.emit(evt)));\n subscription.add(\n header.filter.subscribe((evt) => {\n this.applyFilter(evt);\n this.filter.emit(evt);\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique ID if none is provided.\n */\n ngOnInit(): void {\n if (!this.tableId()) {\n this.tableId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Lifecycle hook that runs after content is fully initialized.\n * Determines if the table should be rendered in \"simple\" mode.\n */\n ngAfterContentInit(): void {\n this.convertToSimpleVariant();\n }\n\n /**\n * Forces the \"simple\" variant when no header directives are found.\n *\n * The enhanced mobile layout relies on header cells to supply the per-cell labels\n * (via `eclTableCellHeader`); without headers there is nothing to project, so the\n * table falls back to the simple (horizontal-scroll) variant on mobile.\n */\n private convertToSimpleVariant(): void {\n if (this.eclTableHeaders().length === 0) {\n this.isSimpleTable.set(true);\n }\n }\n\n /**\n * Applies the built-in row filtering.\n *\n * Records the latest keyword for the column that emitted the event, then shows/hides\n * every body row: a row stays visible only if it matches every active column filter\n * (case-insensitive substring). Rows are toggled via the native `hidden` attribute.\n */\n private applyFilter(evt: EclFilterTableEvent): void {\n if (evt.keyword) {\n this.activeFilters.set(evt.columnId, evt.keyword.toLowerCase());\n } else {\n this.activeFilters.delete(evt.columnId);\n }\n\n const table: HTMLTableElement = this.el.nativeElement;\n const tbody = table.querySelector('tbody');\n if (!tbody) {\n return;\n }\n\n const columnIndexes = this.mapColumnIndexes(table);\n const rows = Array.from(tbody.rows);\n\n rows.forEach((row) => {\n const isVisible = [...this.activeFilters.entries()].every(([columnId, keyword]) => {\n const colIndex = columnIndexes.get(columnId);\n if (colIndex === undefined) {\n return true;\n }\n const cell = row.cells[colIndex];\n return !!cell && cell.textContent.toLowerCase().includes(keyword);\n });\n row.hidden = !isVisible;\n });\n }\n\n /**\n * Maps every sortable/filterable column identifier to its actual column index in the\n * `<thead>`, taking `rowspan` and `colspan` into account so filter inputs line up with\n * body cells.\n *\n * Column ids come from the header directive instances (not DOM attributes), so a cell's\n * identifier is resolved by matching the DOM cell to its `EclTableHeaderDirective` by\n * element identity.\n */\n private mapColumnIndexes(table: HTMLTableElement): Map<string, number> {\n const columnIndexes = new Map<string, number>();\n const thead = table.querySelector('thead');\n if (!thead) {\n return columnIndexes;\n }\n\n // Index the header directives by their host element for O(1) lookup.\n const headerByElement = new Map<HTMLElement, EclTableHeaderDirective>();\n this.eclTableHeaders().forEach((header) => {\n headerByElement.set(header.hostElement, header);\n });\n\n const rowSpans: number[] = [];\n Array.from(thead.rows).forEach((row) => {\n let col = 0;\n Array.from(row.cells).forEach((cell) => {\n while (rowSpans[col] > 0) {\n col += 1;\n }\n\n const columnId = headerByElement.get(cell as HTMLElement)?.columnId;\n if (columnId) {\n columnIndexes.set(columnId, col);\n }\n\n const colspan = Number(cell.getAttribute('colspan')) || 1;\n const rowspan = Number(cell.getAttribute('rowspan')) || 1;\n for (let i = col; i < col + colspan; i += 1) {\n rowSpans[i] = rowspan;\n }\n col += colspan;\n });\n\n for (let i = 0; i < rowSpans.length; i += 1) {\n if (rowSpans[i] > 0) {\n rowSpans[i] -= 1;\n }\n }\n });\n\n return columnIndexes;\n }\n}\n\n/**\n * Directive applied to `<thead>` elements inside a table.\n * Detects header changes and manages ARIA attributes.\n */\n@Directive({\n selector: '[eclTableHead]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableHeadDirective extends ECLBaseDirective {\n /**\n * Applies the ECL head class to the element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__head'));\n\n /**\n * List of header directives under this head element.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n constructor() {\n super();\n\n // When any header is sorted, reset the `aria-sort` state on every header so\n // only the active column reports a sort direction. Re-subscribes whenever the\n // set of headers changes, disposing the previous subscriptions.\n effect((onCleanup) => {\n const headers = this.eclTableHeaders();\n const subscription = new Subscription();\n headers.forEach((header) => {\n subscription.add(\n header.sort.subscribe(() => {\n headers.forEach((th) => th.removeAriaSort());\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n}\n\n/**\n * Directive representing a single table header cell in an ECL table.\n * Supports sorting functionality and accessibility attributes.\n */\n@Directive({\n selector: '[eclTableHeader]',\n host: {\n '[attr.aria-sort]': 'ariaSort',\n '[attr.data-ecl-table-sort-toggle]': 'eclSortable()',\n '[attr.scope]': 'scope()',\n '[attr.id]': 'headerId()',\n '[class]': 'cssClasses()',\n '[class.ecl-table__header--sortable]': 'isSortable',\n '[class.ecl-table__header--filterable]': 'isFilterable',\n '(click)': 'onClick($event)',\n },\n})\nexport class EclTableHeaderDirective extends ECLBaseDirective implements OnInit {\n /**\n * Current sort order of the column (`ascending`, `descending`, or `null`).\n * This sets the `aria-sort` attribute used for accessibility.\n */\n sortOrder: SortOrder | null = null;\n\n get ariaSort(): SortOrder | 'none' {\n return this.sortOrder ?? 'none';\n }\n\n /**\n * Enables sorting on the header. Also sets the `data-ecl-table-sort-toggle` attribute.\n * Acts as the unique identifier for the column when sorting.\n */\n readonly eclSortable = input<string>(null);\n\n /**\n * Enables filtering on the header.\n * Acts as the unique identifier for the column when filtering.\n */\n readonly eclFilterable = input<string | null>(null);\n\n /**\n * Scope of the table header. Default is `col`. Sets the `scope` attribute.\n */\n readonly scope = input('col');\n\n /**\n * HTML `id` attribute of the table header cell. If not provided, a UUID will be generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected headerId = linkedSignal(() => this.id());\n\n /**\n * Aria-label for the sort button that will be injected into the header cell.\n *\n * When provided, the value is used verbatim: it is NOT translated and is NOT\n * updated as the sort direction changes. The consumer is responsible for passing\n * an already-localized string (e.g. `[sortButtonAriaLabel]=\"'my.key' | translate\"`).\n *\n * When omitted, the directive manages the label internally and translates it via\n * the `ecl.table.SORT-LABEL.*` keys, updating it on each sort toggle.\n */\n readonly sortButtonAriaLabel = input<string>(undefined);\n\n /**\n * Visible label for the filter field that will be injected into the header cell.\n * The label is rendered screen-reader-only by the ECL styles.\n * Falls back to the `ecl.table.FILTER-LABEL` translation when not provided.\n */\n readonly filterLabel = input<string>();\n\n /**\n * Applies the `ecl-table__header--sortable` modifier when the header is sortable.\n */\n get isSortable(): boolean {\n return !!this.eclSortable();\n }\n\n /**\n * Applies the `ecl-table__header--filterable` modifier when the header is filterable.\n */\n get isFilterable(): boolean {\n return !!this.eclFilterable();\n }\n\n /**\n * Computes the CSS classes applied to the header element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__header'));\n\n /**\n * Emits an `EclSortTableEvent` when the header is clicked and sorting is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an `EclFilterTableEvent` when the column's filter field value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n private containerComponentRef: ComponentRef<EclTableSortButtonComponent>;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private renderer = inject(Renderer2);\n private translateService = inject(TranslateService);\n\n /** Debounce timer for filter input changes. */\n private filterTimer: ReturnType<typeof setTimeout>;\n\n /**\n * The native `<th>` element this directive is attached to.\n * Used by the parent table to map a header to its column index.\n */\n get hostElement(): HTMLElement {\n return this.el.nativeElement;\n }\n\n /**\n * Column identifier used by the parent table to key sort/filter state.\n * Prefers the filter id, falling back to the sort id.\n */\n get columnId(): string | null {\n return this.eclFilterable() ?? this.eclSortable();\n }\n\n constructor() {\n super();\n\n // Inject the sort button and filter field after the next render. `afterNextRender`\n // only runs in the browser, so the DOM is manipulated client-side (never during SSR).\n afterNextRender(() => {\n this.initSortButtons();\n this.initFilterField();\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique `id` if not already defined.\n */\n ngOnInit(): void {\n if (!this.headerId()) {\n this.headerId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Clears the `aria-sort` attribute, used to visually and semantically reset previous sort state.\n *\n * Remove the dark arrow for current sorting from prev sorted column\n */\n removeAriaSort(): void {\n this.renderer.setAttribute(this.el.nativeElement, 'aria-sort', 'none');\n }\n\n /**\n * Handles click events on the header.\n * Cycles through sort orders: `null` -> `ascending` -> `descending` -> `null`.\n * Emits a `EclSortTableEvent` with the updated sort state and column identifier.\n *\n * Click triggers 1 -> asc sorting, 2 -> desc sorting then 3 -> initial sorting\n */\n onClick(evt: Event): void {\n // Clicking inside the filter field must not trigger sorting.\n if ((evt.target as HTMLElement)?.closest('.ecl-table__filter')) {\n return;\n }\n if (this.eclSortable()) {\n switch (this.sortOrder) {\n case null: {\n this.sortOrder = SortOrder.ASCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.ascending'));\n break;\n }\n case SortOrder.ASCENDING: {\n this.sortOrder = SortOrder.DESCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.descending'));\n break;\n }\n case SortOrder.DESCENDING: {\n this.sortOrder = null;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.default'));\n break;\n }\n }\n\n this.sort.emit(new EclSortTableEvent(this.sortOrder, this.eclSortable()));\n }\n }\n\n private changeButtonAriaLabel(newAriaLabel: string): void {\n if (!this.sortButtonAriaLabel() && this.containerComponentRef) {\n this.containerComponentRef.instance.ariaLabel = newAriaLabel;\n }\n }\n\n /**\n * Creates (or returns the existing) `.ecl-table__header-inner` wrapper used to lay out the\n * header content. On first call the header's current content is moved into a nested\n * `.ecl-table__header-label`, so the sort arrow can live inside the label and the filter\n * field can be appended underneath, matching the upstream ECL markup.\n */\n private getOrCreateHeaderInner(): HTMLElement {\n const host: HTMLElement = this.el.nativeElement;\n let inner: HTMLElement = host.querySelector(':scope > .ecl-table__header-inner');\n if (!inner) {\n inner = this.renderer.createElement('span');\n this.renderer.addClass(inner, 'ecl-table__header-inner');\n\n const label = this.renderer.createElement('span');\n this.renderer.addClass(label, 'ecl-table__header-label');\n while (host.firstChild) {\n this.renderer.appendChild(label, host.firstChild);\n }\n this.renderer.appendChild(inner, label);\n\n this.renderer.appendChild(host, inner);\n }\n return inner;\n }\n\n /**\n * Dynamically creates and appends the sort button to the header's label wrapper.\n * Optionally sets the button's `aria-label` if provided.\n */\n private initSortButtons(): void {\n if (this.eclSortable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = inner.querySelector('.ecl-table__header-label');\n\n this.containerComponentRef = this.viewContainerRef.createComponent(EclTableSortButtonComponent);\n this.renderer.appendChild(label, this.containerComponentRef.location.nativeElement);\n const sortButtonAriaLabel = this.sortButtonAriaLabel();\n if (sortButtonAriaLabel) {\n this.containerComponentRef.instance.ariaLabel = sortButtonAriaLabel;\n } else {\n this.containerComponentRef.instance.ariaLabel = this.translateService.instant('ecl.table.SORT-LABEL.default');\n }\n }\n }\n\n /**\n * Dynamically creates and appends a column filter field to the header's inner wrapper\n * when filtering is enabled. Emits an `EclFilterTableEvent` (debounced) on input.\n */\n private initFilterField(): void {\n if (this.eclFilterable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = this.filterLabel() ?? this.translateService.instant('ecl.table.FILTER-LABEL');\n const inputId = `${this.headerId()}-filter`;\n\n const wrapper = this.renderer.createElement('span');\n this.renderer.addClass(wrapper, 'ecl-table__filter');\n\n const labelEl = this.renderer.createElement('label');\n this.renderer.addClass(labelEl, 'ecl-table__filter-label');\n this.renderer.setAttribute(labelEl, 'for', inputId);\n this.renderer.appendChild(labelEl, this.renderer.createText(label));\n this.renderer.appendChild(wrapper, labelEl);\n\n const input = this.renderer.createElement('input');\n this.renderer.setAttribute(input, 'type', 'search');\n this.renderer.setAttribute(input, 'id', inputId);\n this.renderer.addClass(input, 'ecl-table__filter-input');\n this.renderer.addClass(input, 'ecl-text-input');\n this.renderer.listen(input, 'input', (event: Event) => this.onFilterInput((event.target as HTMLInputElement).value));\n this.renderer.appendChild(wrapper, input);\n\n this.renderer.appendChild(inner, wrapper);\n }\n }\n\n /**\n * Debounced handler for the column filter field; emits the trimmed keyword.\n */\n private onFilterInput(value: string): void {\n clearTimeout(this.filterTimer);\n this.filterTimer = setTimeout(() => {\n this.filter.emit(new EclFilterTableEvent(value.trim(), this.eclFilterable()));\n }, 300);\n }\n}\n\n/**\n * Directive for applying ECL row styling to a table row element.\n */\n@Directive({\n selector: '[eclTableRow]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableRowDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__row` class to the table row.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__row'));\n}\n\n/**\n * Directive for applying ECL body styling to a table body element.\n */\n@Directive({\n selector: '[eclTableBody]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableBodyDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__body` class to the table body.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__body'));\n}\n\n/**\n * Directive for styling individual table cells in the ECL table.\n */\n@Directive({\n selector: '[eclTableCell]',\n host: {\n '[attr.data-ecl-table-header]': 'eclTableCellHeader()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellDirective extends ECLBaseDirective {\n /**\n * Provides a reference to the related table header.\n * Sets the `data-ecl-table-header` attribute for accessibility or responsive behavior.\n */\n readonly eclTableCellHeader = input<string>();\n\n /**\n * If `true`, applies additional group styling to the cell.\n */\n readonly isGroup = input(false, { transform: booleanAttribute });\n\n /**\n * Computes and applies appropriate CSS classes for the table cell.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table__cell'), this.isGroup() ? 'ecl-table__cell--group' : ''].join(' ').trim());\n}\n\n/**\n * Directive used to group multiple table cells under a shared header group.\n */\n@Directive({\n selector: '[eclTableCellGroup]',\n host: {\n '[attr.data-ecl-table-header-group]': 'cellGroup()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellGroupDirective extends ECLBaseDirective implements AfterViewInit {\n /**\n * Sets the `data-ecl-table-header-group` attribute to link to a header group.\n */\n readonly eclTableCellGroup = input<string>();\n\n /**\n * Writable internal group value, seeded from the `eclTableCellGroup` input.\n * An empty string is normalized to `null` so the attribute is omitted.\n */\n protected cellGroup = linkedSignal(() => this.eclTableCellGroup());\n\n /**\n * Applies the group-specific cell class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__cell--group'));\n\n private cd = inject(ChangeDetectorRef);\n /**\n * Ensures `data-ecl-table-header-group` is not empty and triggers change detection.\n */\n ngAfterViewInit(): void {\n this.cellGroup.set(this.cellGroup() !== '' ? this.cellGroup() : null);\n this.cd.detectChanges();\n }\n}\n\n/**\n * Directive for applying ECL responsive wrapper to a table container.\n */\n@Directive({\n selector: '[eclTableResponsive]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableResponsiveDirective extends ECLBaseDirective {\n /**\n * Applies the `ecl-table-responsive` class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table-responsive'));\n}\n\n/**\n * Directive for applying styling to a table caption element.\n */\n@Directive({\n selector: 'caption[eclTableCaption]',\n host: {\n '[class.ecl-table__caption]': 'true',\n },\n})\nexport class EclTableCaptionDirective extends ECLBaseDirective {}\n","import {\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableResponsiveDirective,\n EclTableCaptionDirective,\n} from './ecl-table.directive';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\n\nexport * from './ecl-table.directive';\nexport * from './ecl-table-sort-button.component';\nexport * from './events/ecl-sort-table.event';\nexport * from './events/ecl-filter-table.event';\n\nexport const EUI_ECL_TABLE = [\n EclTableCaptionDirective,\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableSortButtonComponent,\n EclTableResponsiveDirective,\n] as const;"],"mappings":";;;;;;;;AAyBA,IAAa,8BAAb,MAAa,oCAAoC,iBAAgB;CAVjE,cAAA;;EAWI,KAAA,kBAAkB,OAAO,eAAe;EAMxC,KAAA,YAAY;EAMO,KAAA,aAAa,eAC5B,MAAM,cAAc,kBAAkB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC/C;CAfY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA2B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA3B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA2B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA;IAAA,mBAAA;IAAA,SAAA;GAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCzBxC;GAEA,cAAA,CAAA;IAAA,MAAA;IAAA,MAAA,GAAA;IAAA,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA,GAAA;IAAA,MAAA;IAAA,MDiB+B;IAAS,MAAA;GAAA,CAAA;EAAA,CAAA;CAAA;;AAM3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EAVvC,MAAA;EAEa,MAAA,CAAA;GAAA,UAAA;GAA4B,SAE7B,CAAC,GAAG,cAAc,SAAS;GAAC,MAC/B;IACF,qBAAqB;IACrB,WAAW;GACd;GAAA,UAAA;EAAA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A,EAAA,YAAA,EAAA,SAAA,eAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EANvC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,WAAW,eACd;EACJ,CAAA;;;AAkBD,IAAa,2BAAb,MAAa,iCAAiC,iBAAgB;CAAjD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAwB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAxB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAwB,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,4BAAA,OAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAxB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EANpC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,8BAA8B,OACjC;EACJ,CAAA;;;AC/rBD,MAAa,gBAAgB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACM"}
|
package/package.json
CHANGED
|
@@ -126,38 +126,26 @@ export declare class EclRadioLabelComponent extends ECLBaseDirective {
|
|
|
126
126
|
/**
|
|
127
127
|
* Adds styling for an invalid state.
|
|
128
128
|
*
|
|
129
|
-
*
|
|
130
|
-
* the invalid state onto the label.
|
|
129
|
+
* Internal writable state propagated from the parent `eclRadio` directive,
|
|
130
|
+
* which owns the invalid state and pushes it onto the label. Not intended to
|
|
131
|
+
* be bound directly on the label; set the state on the parent `eclRadio`.
|
|
131
132
|
*/
|
|
132
|
-
readonly isInvalid: import("@angular/core").
|
|
133
|
+
readonly isInvalid: import("@angular/core").WritableSignal<boolean>;
|
|
133
134
|
/**
|
|
134
135
|
* Adds styling for a disabled state.
|
|
135
136
|
*
|
|
136
|
-
*
|
|
137
|
-
* the disabled state onto the label.
|
|
137
|
+
* Internal writable state propagated from the parent `eclRadio` directive,
|
|
138
|
+
* which owns the disabled state and pushes it onto the label. Not intended to
|
|
139
|
+
* be bound directly on the label; set the state on the parent `eclRadio`.
|
|
138
140
|
*/
|
|
139
|
-
readonly isDisabled: import("@angular/core").
|
|
141
|
+
readonly isDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
140
142
|
/**
|
|
141
143
|
* Returns the CSS classes applied to the host element.
|
|
142
144
|
* Includes the base `ecl-radio__label` class.
|
|
143
145
|
*/
|
|
144
146
|
protected readonly cssClasses: import("@angular/core").Signal<string>;
|
|
145
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclRadioLabelComponent, never>;
|
|
146
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EclRadioLabelComponent, "[eclRadioLabel]", never, {
|
|
147
|
-
"isInvalid": {
|
|
148
|
-
"alias": "isInvalid";
|
|
149
|
-
"required": false;
|
|
150
|
-
"isSignal": true;
|
|
151
|
-
};
|
|
152
|
-
"isDisabled": {
|
|
153
|
-
"alias": "isDisabled";
|
|
154
|
-
"required": false;
|
|
155
|
-
"isSignal": true;
|
|
156
|
-
};
|
|
157
|
-
}, {
|
|
158
|
-
"isInvalid": "isInvalidChange";
|
|
159
|
-
"isDisabled": "isDisabledChange";
|
|
160
|
-
}, never, ["*"], true, never>;
|
|
148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EclRadioLabelComponent, "[eclRadioLabel]", never, {}, {}, never, ["*"], true, never>;
|
|
161
149
|
}
|
|
162
150
|
export declare const EUI_ECL_RADIO: readonly [typeof EclRadioDirective, typeof EclRadioInputDirective, typeof EclRadioLabelComponent];
|
|
163
151
|
//# sourceMappingURL=eui-ecl-components-ecl-radio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-radio.d.ts","names":[],"sources":["../../components/ecl-radio/ecl-radio.directive.ts","../../components/ecl-radio/ecl-radio-input.directive.ts","../../components/ecl-radio/ecl-radio-label.component.ts","../../components/ecl-radio/index.ts"],"mappings":";;;;;;;;;;;;;;;qBAuBa,0BAA0B;;;;WAI1B,kCAAQ;;;;WAKR,uCAAa;;;;WAKb,sCAAY;;;;;mBAMJ;;;;;mBAMA;;;;;;;;;;WAWR,oCAAU;;;;;;;;;;WAWV,mCAAS;;;;;WAMT,gDAAsB;;;;;;qBAWZ,oCAAU;;;;;EAO7B,gBAAgB,oBAAoB;;;;;UAS5B;SAjFC,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;;;;qBCLjB,+BAA+B,4BAA4B;EACpE,UAAQ;YACE,WAAS;YACT,IAAE;;;;;qBAMO,oCAAU;EAG7B;SAZS,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;;;qBCAA,+BAA+B
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-radio.d.ts","names":[],"sources":["../../components/ecl-radio/ecl-radio.directive.ts","../../components/ecl-radio/ecl-radio-input.directive.ts","../../components/ecl-radio/ecl-radio-label.component.ts","../../components/ecl-radio/index.ts"],"mappings":";;;;;;;;;;;;;;;qBAuBa,0BAA0B;;;;WAI1B,kCAAQ;;;;WAKR,uCAAa;;;;WAKb,sCAAY;;;;;mBAMJ;;;;;mBAMA;;;;;;;;;;WAWR,oCAAU;;;;;;;;;;WAWV,mCAAS;;;;;WAMT,gDAAsB;;;;;;qBAWZ,oCAAU;;;;;EAO7B,gBAAgB,oBAAoB;;;;;UAS5B;SAjFC,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;;;;qBCLjB,+BAA+B,4BAA4B;EACpE,UAAQ;YACE,WAAS;YACT,IAAE;;;;;qBAMO,oCAAU;EAG7B;SAZS,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;;;qBCAA,+BAA+B;;;;;;;;WAQ/B,mCAAS;;;;;;;;WAST,oCAAU;;;;;qBAMA,oCAAU;SAvBpB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;qBCVA,gCAAa,0BAAA,+BAAA"}
|