@poadio/ui-angular 0.13.0 → 0.14.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.
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { model, input, booleanAttribute, signal, computed, Directive, InjectionToken, makeEnvironmentProviders, inject, Injectable, Optional, Inject, numberAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ElementRef, output, contentChildren, effect, HostAttributeToken, contentChild, forwardRef, viewChild, HostListener, TemplateRef, Injector, afterNextRender, afterRenderEffect, PLATFORM_ID, DestroyRef, ComponentRef, ViewContainerRef, untracked, ViewChild, viewChildren, ChangeDetectorRef, Renderer2, NgZone } from '@angular/core';
3
- import { UI_EN, uiTranslate, uiText, uiFormat, createIconRegistry, iconHostProps, iconSvgProps, iconRootClasses, iconTransform, buttonClasses, buttonProps, buttonGroupRootClasses, buttonGroupPressed, buttonGroupPick, inputControlProps, textareaAutosizeHeight, fieldRootClasses, fieldMessage, fieldControlProps, numberControlProps, numberRootClasses, numberButtons, numberDisplay, numberHandlesKey, numberTransition, passwordInputProps, passwordToggleProps, passwordMeter, passwordRootClasses, passwordTransition, sliderValues, sliderLabelId, sliderHandleProps, sliderMarks, sliderRootClasses, sliderFill, sliderPosition, sliderFillSize, sliderPercent, sliderFormat, sliderBubbleVisible, elementIsRtl, sliderApply, sliderValueAt, sliderNearest, sliderCompose, sliderValueOf, SLIDER_KEYS, sliderKeyTarget, colorParse, colorHslToRgb, colorRgbToHsv, colorHsvToRgb, colorRgbToHsl, colorFormat, COLOR_PRESETS, colorpickerHsv, colorpickerView, colorpickerRootClasses, colorpickerTriggerProps, COLORPICKER_PLACEMENTS, floatingConnection, colorpickerPresetSelected, colorpickerCanOpen, colorpickerDismiss, colorpickerWrite, colorpickerFromPreset, colorpickerFromHex, colorpickerFromChannel, colorpickerFromAlpha, colorpickerFraction, colorpickerPoint, colorpickerKey, colorpickerFromEyedropper, ratingControlProps, ratingRootClasses, ratingStars, ratingIconSize, ratingColor, ratingText, ratingShown, ratingFill, ratingStarClasses, ratingFirstHalf, ratingInteractive, RATING_KEYS, ratingTransition, MASK_PRESETS, maskApply, maskUnmask, maskResolve, maskPlaceholder, maskInputMode, maskWrite, maskInput, maskFirstSlot, keyFilterValid, keyFilterBlocks, keyFilterPaste, inplaceRootClasses, INPLACE_FOCUS_SELECTOR, inplaceTransition, switchControlProps, switchLabelProps, switchRootClasses, switchTransition, checkboxControlProps, checkboxLabelProps, checkboxRootClasses, checkboxMark, checkboxTransition, radioGroupClasses, radioKeydown, radioSelect, radioControlProps, radioLabelProps, radioRootClasses, segmentedOptionProps, segmentedRootClasses, segmentedIsOn, segmentedPick, segmentedKeydown, toggleButtonView, toggleButtonTransition, FOCUS_AUTOFOCUS_ATTR, FOCUSABLE_SELECTOR, focusTrapTab, focusTrapInitial, SHEET_ANIM_MS, sheetDragTransform, sheetHeightClass, sheetHeightCss, sheetDragStarts, sheetDragOffset, sheetRelease, selectListboxProps, selectEmptyMessage, selectOptionProps, selectScrollTop, SELECT_PLACEMENTS, selectUseSheet, selectItems, selectFilterItems, selectOptionsOf, selectActiveDescendant, selectOptionLabel, selectOptionValue, selectOptionDisabled, selectEquals, selectFindOption, selectTransition, selectSheetTitle, selectFallbackLabel, selectRootClasses, selectTriggerProps, selectFilterProps, multiselectValues, multiselectLimitReached, multiselectShows, multiselectCountLabel, multiselectAllState, multiselectAllProps, multiselectRootClasses, multiselectToggle, multiselectRemove, multiselectToggleAll, tableCompare, tableSortRows, tableColumnId, tableColumnSortField, tableColumnAlign, paginatorPageCount, paginatorPage, paginatorVisible, paginatorReport, paginatorLinks, paginatorGoTo, paginatorChangeRows, paginatorEvent, dialogMobileMode, dialogSheetHeight, dialogContainerClass, dialogContainerProps, dialogMaximizeButton, dialogWidth, dialogHeight, dialogMaxWidth, dialogDragTransform, dialogDragStarts, dialogDragOffset, DIALOG_ANIM_MS, dialogShouldClose, dialogPlacement, dialogHasBackdrop, dialogBlocksScroll, confirmCanAccept, confirmAcceptSeverity, confirmIcon, confirmClasses, confirmDialogConfig, TOOLTIP_INITIAL, tooltipTransition, tooltipCandidates, TOOLTIP_OFFSET, TOOLTIP_MARGIN, tooltipAnchorProps, floatingArrow, TOOLTIP_ARROW, popoverProps, popoverOpen, popoverUseSheet, popoverCandidates, POPOVER_MARGIN, popoverDismiss, popoverRestoreFocus, popoverToggle, popoverTriggerProps, POPOVER_ARROW, uiFirstDayOfWeek, uiUses12Hours, startOfDay, sheetUse, startOfMonth, DATEPICKER_PLACEMENTS, DATEPICKER_OFFSET, datepickerSelected, datepickerHasTime, datepickerEffectiveMode, datepickerFormat, datepickerDisplay, datepickerMonths, datepickerMonthLabel, datepickerWeekdays, datepickerDecadeStart, datepickerYears, datepickerHourDisplay, datepickerNavLabels, datepickerInputProps, datepickerDisabledKeys, toDate as toDate$1, datepickerRows, datepickerDayProps, isSameDay, datepickerInitialView, datepickerParse, datepickerNavigate, datepickerMonthDisabled, datepickerYearDisabled, datepickerHoverInRange, datepickerPickDay, datepickerShouldClose, datepickerWithTime, datepickerDayDisabled, datepickerValue, datepickerBumpTime, datepickerTimeFromInput, datepickerGridKey, datepickerFollow, isoOf, tableToggleRow, tableSelectSingle, tableSelectRange, tableSelectOnly, tableToggleAll, tableClearSelection, tabsActiveIndex, classNames, tabsRootClasses, tabsTabProps, tabsPanelProps, tabsPanelRendered, tabsSelect, tabsKeydown, tabsScrollBy, tabsOverflow, stepperRootClasses, stepperItemProps, stepperStateOf, stepperCanGo, stepperReachable, accordionHeaderProps, accordionRegionProps, accordionIsOpen, accordionSet, accordionKeydown, MENU_PLACEMENTS, MENU_OFFSET, MENU_INITIAL, menuVisible, menuHasIcons, menuItemProps, menuSubIcon, menuUseSheet, menuKeydown, menuOpen, menuActivate, menuHover, menuSubHover, splitButtonIconSize, splitButtonToggleProps, tableSortMetas, tableCollator, tableView, tableBodyState, tableHeaderRowProps, tableRootProps, tableActiveIndex, tableRowProps, paginatorClampFirst, tableFormatCell, tableThClasses, tableTdClasses, tableRowClasses, tableSkeletonWidth, tableSortIndex, tableSortOrderOf, tableSortIcon, tableAriaSort, tableSortToggle, tableSortState, TABLE_ROW_CLICK_IGNORE, tableRowClickAction, tableGridKey, tableSortTo, skeletonBars, skeletonRootClasses, comboValues, comboInputProps, comboRootClasses, comboOptionProps, comboLabel, comboIsSelected, comboTextOf, comboBlur, comboInput, comboFilter, comboResults, comboPick, comboKeydown, toastMessage, TOAST_OUT_MS, toastRootClass, toastForKey, toastSync, toastLife, toastSeverity, toastIcon, toastItemProps, toastPause, toastResume, messageClasses, messageIcon, messageIconSize, avatarInitials, avatarIconSize, avatarContent, avatarColors, avatarRootClasses, avatarLabel, chipClasses, chipProps, chipShowRemove, chipIconSize, chipClickAction, chipKeyAction, tagClasses, tagIconSize, badgeClasses, badgeProps, badgeContent, badgeOverlayVisible, badgeText, progressClasses, progressShowHead, progressShowValue, progressTrackProps, progressBarWidth, progressPercent, spinnerClasses, dividerClasses, dividerProps, avatarGroupHidden, avatarGroupHiddenTitle, avatarGroupMoreText, avatarGroupOverflow, meterTotal, meterRemaining, meterSegments, meterRootClasses, meterBarProps, meterValueText, meterPercentText, addDays, isValidDate, addYears, addMonths, isoWeek, formatDate, POAD_ICONS } from '@poadio/ui-core';
3
+ import { UI_EN, uiTranslate, uiText, uiFormat, createIconRegistry, iconHostProps, iconSvgProps, iconRootClasses, iconTransform, buttonClasses, buttonProps, buttonGroupRootClasses, buttonGroupPressed, buttonGroupPick, inputControlProps, textareaAutosizeHeight, fieldRootClasses, fieldMessage, fieldControlProps, numberControlProps, numberRootClasses, numberButtons, numberDisplay, numberHandlesKey, numberTransition, passwordInputProps, passwordToggleProps, passwordMeter, passwordRootClasses, passwordTransition, sliderValues, sliderLabelId, sliderHandleProps, sliderMarks, sliderRootClasses, sliderFill, sliderPosition, sliderFillSize, sliderPercent, sliderFormat, sliderBubbleVisible, elementIsRtl, sliderApply, sliderValueAt, sliderNearest, sliderCompose, sliderValueOf, SLIDER_KEYS, sliderKeyTarget, colorParse, colorHslToRgb, colorRgbToHsv, colorHsvToRgb, colorRgbToHsl, colorFormat, COLOR_PRESETS, colorpickerHsv, colorpickerView, colorpickerRootClasses, colorpickerTriggerProps, COLORPICKER_PLACEMENTS, floatingConnection, colorpickerPresetSelected, colorpickerCanOpen, colorpickerDismiss, colorpickerWrite, colorpickerFromPreset, colorpickerFromHex, colorpickerFromChannel, colorpickerFromAlpha, colorpickerFraction, colorpickerPoint, colorpickerKey, colorpickerFromEyedropper, ratingControlProps, ratingRootClasses, ratingStars, ratingIconSize, ratingColor, ratingText, ratingShown, ratingFill, ratingStarClasses, ratingFirstHalf, ratingInteractive, RATING_KEYS, ratingTransition, MASK_PRESETS, maskApply, maskUnmask, maskResolve, maskPlaceholder, maskInputMode, maskWrite, maskInput, maskFirstSlot, keyFilterValid, keyFilterBlocks, keyFilterPaste, inplaceRootClasses, INPLACE_FOCUS_SELECTOR, inplaceTransition, switchControlProps, switchLabelProps, switchRootClasses, switchTransition, checkboxControlProps, checkboxLabelProps, checkboxRootClasses, checkboxMark, checkboxTransition, radioGroupClasses, radioKeydown, radioSelect, radioControlProps, radioLabelProps, radioRootClasses, segmentedOptionProps, segmentedRootClasses, segmentedIsOn, segmentedPick, segmentedKeydown, toggleButtonView, toggleButtonTransition, FOCUS_AUTOFOCUS_ATTR, FOCUSABLE_SELECTOR, focusTrapTab, focusTrapInitial, SHEET_ANIM_MS, sheetDragTransform, sheetHeightClass, sheetHeightCss, sheetDragStarts, sheetDragOffset, sheetRelease, selectListboxProps, selectEmptyMessage, selectOptionProps, selectScrollTop, SELECT_PLACEMENTS, selectUseSheet, selectItems, selectFilterItems, selectOptionsOf, selectActiveDescendant, selectOptionLabel, selectOptionValue, selectOptionDisabled, selectEquals, selectFindOption, selectTransition, selectSheetTitle, selectFallbackLabel, selectRootClasses, selectTriggerProps, selectFilterProps, multiselectValues, multiselectLimitReached, multiselectShows, multiselectCountLabel, multiselectAllState, multiselectAllProps, multiselectRootClasses, multiselectToggle, multiselectRemove, multiselectToggleAll, tableCompare, tableSortRows, tableMatch, tableRowPredicate, tableFilterRows, tableColumnId, tableColumnSortField, tableColumnAlign, paginatorPageCount, paginatorPage, paginatorVisible, paginatorReport, paginatorLinks, paginatorGoTo, paginatorChangeRows, paginatorEvent, dialogMobileMode, dialogSheetHeight, dialogContainerClass, dialogContainerProps, dialogMaximizeButton, dialogWidth, dialogHeight, dialogMaxWidth, dialogDragTransform, dialogDragStarts, dialogDragOffset, DIALOG_ANIM_MS, dialogShouldClose, dialogPlacement, dialogHasBackdrop, dialogBlocksScroll, confirmCanAccept, confirmAcceptSeverity, confirmIcon, confirmClasses, confirmDialogConfig, TOOLTIP_INITIAL, tooltipTransition, tooltipCandidates, TOOLTIP_OFFSET, TOOLTIP_MARGIN, tooltipAnchorProps, floatingArrow, TOOLTIP_ARROW, popoverProps, popoverOpen, popoverUseSheet, popoverCandidates, POPOVER_MARGIN, popoverDismiss, popoverRestoreFocus, popoverToggle, popoverTriggerProps, POPOVER_ARROW, uiFirstDayOfWeek, uiUses12Hours, startOfDay, sheetUse, startOfMonth, DATEPICKER_PLACEMENTS, DATEPICKER_OFFSET, datepickerSelected, datepickerHasTime, datepickerEffectiveMode, datepickerFormat, datepickerDisplay, datepickerMonths, datepickerMonthLabel, datepickerWeekdays, datepickerDecadeStart, datepickerYears, datepickerHourDisplay, datepickerNavLabels, datepickerInputProps, datepickerDisabledKeys, toDate, datepickerRows, datepickerDayProps, isSameDay, datepickerInitialView, datepickerParse, datepickerNavigate, datepickerMonthDisabled, datepickerYearDisabled, datepickerHoverInRange, datepickerPickDay, datepickerShouldClose, datepickerWithTime, datepickerDayDisabled, datepickerValue, datepickerBumpTime, datepickerTimeFromInput, datepickerGridKey, datepickerFollow, isoOf, tableToggleRow, tableSelectSingle, tableSelectRange, tableSelectOnly, tableToggleAll, tableClearSelection, tableFilterOperatorLabel, TABLE_FILTER_OPERATORS, tableFilterKind, tableFilterDefaultMode, tableFilterOperator, tableFilterValueForOperator, tabsActiveIndex, classNames, tabsRootClasses, tabsTabProps, tabsPanelProps, tabsPanelRendered, tabsSelect, tabsKeydown, tabsScrollBy, tabsOverflow, stepperRootClasses, stepperItemProps, stepperStateOf, stepperCanGo, stepperReachable, accordionHeaderProps, accordionRegionProps, accordionIsOpen, accordionSet, accordionKeydown, MENU_PLACEMENTS, MENU_OFFSET, MENU_INITIAL, menuVisible, menuHasIcons, menuItemProps, menuSubIcon, menuUseSheet, menuKeydown, menuOpen, menuActivate, menuHover, menuSubHover, splitButtonIconSize, splitButtonToggleProps, tableSortMetas, tableCollator, tableGlobalFields, tableView, tableBodyState, tableHeaderRowProps, tableRootProps, tableActiveIndex, tableRowProps, tableFilterActiveCount, tableRowCountParts, tableCounts, paginatorClampFirst, tableFormatCell, tableThClasses, tableTdClasses, tableRowClasses, tableSkeletonWidth, tableSortIndex, tableSortOrderOf, tableSortIcon, tableAriaSort, tableSortToggle, tableSortState, tableFilterDelay, tableFilterSet, TABLE_ROW_CLICK_IGNORE, tableRowClickAction, tableGridKey, tableSortTo, tableFilterIsActive, tableFilterValues, tableFilterPart, tableFilterSetOperator, tableFilterRangePart, tableFilterToggleValue, tableFilterClear, tablePanelOperatorOptions, TABLE_PANEL_TABS, tablePanelTabProps, tablePanelBodyProps, tablePanelTabKey, tablePanelTabClick, tablePanelColumnMatches, tablePanelAllState, tablePanelKind, tablePanelDraftInit, tablePanelDraftSync, tablePanelIsActive, tablePanelDraftFilter, tablePanelDraftToggle, skeletonBars, skeletonRootClasses, comboValues, comboInputProps, comboRootClasses, comboOptionProps, comboLabel, comboIsSelected, comboTextOf, comboBlur, comboInput, comboFilter, comboResults, comboPick, comboKeydown, toastMessage, TOAST_OUT_MS, toastRootClass, toastForKey, toastSync, toastLife, toastSeverity, toastIcon, toastItemProps, toastPause, toastResume, messageClasses, messageIcon, messageIconSize, avatarInitials, avatarIconSize, avatarContent, avatarColors, avatarRootClasses, avatarLabel, chipClasses, chipProps, chipShowRemove, chipIconSize, chipClickAction, chipKeyAction, tagClasses, tagIconSize, badgeClasses, badgeProps, badgeContent, badgeOverlayVisible, badgeText, progressClasses, progressShowHead, progressShowValue, progressTrackProps, progressBarWidth, progressPercent, spinnerClasses, dividerClasses, dividerProps, avatarGroupHidden, avatarGroupHiddenTitle, avatarGroupMoreText, avatarGroupOverflow, meterTotal, meterRemaining, meterSegments, meterRootClasses, meterBarProps, meterValueText, meterPercentText, addDays, isValidDate, addYears, addMonths, isoWeek, formatDate, POAD_ICONS } from '@poadio/ui-core';
4
4
  export { POAD_ICONS, POAD_ICONS_CEREMA, POAD_ICONS_CORE, POAD_ICONS_DATA, POAD_ICONS_FILES, POAD_ICONS_GEO, POAD_ICONS_UI, POAD_ICON_ALIASES, POAD_ICON_CATEGORIES, UI_EN, UI_FR, addDays, addMonths, addYears, compareDay, daysInMonth, endOfMonth, formatDate, isBetweenDay, isSameDay, isSameMonth, isValidDate, isoOf, isoWeek, localeDateFormat, monthNames, pad2, parseIso, parseWithFormat, startOfDay, startOfMonth, toDate, uiFirstDayOfWeek, uiFormat, uiInterpolate, uiPickForm, uiPlaceholders, uiUses12Hours, weekdayNames } from '@poadio/ui-core';
5
5
  import { DomSanitizer } from '@angular/platform-browser';
6
6
  import * as i1$2 from '@angular/forms';
@@ -3078,77 +3078,18 @@ const POAD_SELECT_TRIGGER_STYLES = `
3078
3078
  function poadCompare(a, b) { return tableCompare(a, b); }
3079
3079
  /** Tri stable multi-critères (ne mute pas) : `tableSortRows` du socle, langue de l'environnement d'exécution. */
3080
3080
  function poadSortData(data, metas) { return tableSortRows(data, metas); }
3081
- function toDate(v) {
3082
- if (v instanceof Date)
3083
- return v;
3084
- if (typeof v === 'string' || typeof v === 'number') {
3085
- const d = new Date(v);
3086
- return isNaN(d.getTime()) ? null : d;
3087
- }
3088
- return null;
3089
- }
3090
- const sameDay = (a, b) => a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
3091
- /** Test d'un filtre de colonne sur une valeur. */
3092
- const isEmptyValue = (v) => v == null || v === '' || (Array.isArray(v) && !v.length);
3093
- function poadMatch(value, filter, mode = 'contains') {
3094
- if (mode === 'isEmpty')
3095
- return isEmptyValue(value);
3096
- if (mode === 'isNotEmpty')
3097
- return !isEmptyValue(value);
3098
- if (filter == null || filter === '' || (Array.isArray(filter) && !filter.length))
3099
- return true;
3100
- switch (mode) {
3101
- case 'eq': return value === filter || poadNormalize(value) === poadNormalize(filter);
3102
- case 'neq': return !(value === filter || poadNormalize(value) === poadNormalize(filter));
3103
- case 'contains': return poadNormalize(value).includes(poadNormalize(filter));
3104
- case 'notContains': return !poadNormalize(value).includes(poadNormalize(filter));
3105
- case 'startsWith': return poadNormalize(value).startsWith(poadNormalize(filter));
3106
- case 'endsWith': return poadNormalize(value).endsWith(poadNormalize(filter));
3107
- case 'lt': return value != null && poadCompare(value, filter) < 0;
3108
- case 'lte': return value != null && poadCompare(value, filter) <= 0;
3109
- case 'gt': return value != null && poadCompare(value, filter) > 0;
3110
- case 'gte': return value != null && poadCompare(value, filter) >= 0;
3111
- case 'in': return Array.isArray(filter) && filter.some(f => f === value || poadNormalize(f) === poadNormalize(value));
3112
- case 'notIn': return !(Array.isArray(filter) && filter.some(f => f === value || poadNormalize(f) === poadNormalize(value)));
3113
- case 'between': {
3114
- const [lo, hi] = Array.isArray(filter) ? filter : [null, null];
3115
- return value != null && (lo == null || poadCompare(value, lo) >= 0) && (hi == null || poadCompare(value, hi) <= 0);
3116
- }
3117
- case 'dateIs': {
3118
- const a = toDate(value), b = toDate(filter);
3119
- return !!a && !!b && sameDay(a, b);
3120
- }
3121
- case 'dateIsNot': {
3122
- const a = toDate(value), b = toDate(filter);
3123
- return !a || !b || !sameDay(a, b);
3124
- }
3125
- case 'dateBefore': {
3126
- const a = toDate(value), b = toDate(filter);
3127
- return !!a && !!b && a < b;
3128
- }
3129
- case 'dateAfter': {
3130
- const a = toDate(value), b = toDate(filter);
3131
- return !!a && !!b && a > b;
3132
- }
3133
- default: return true;
3134
- }
3135
- }
3081
+ /**
3082
+ * Test d'un filtre de colonne sur une valeur : `tableMatch` du socle (19 modes, texte sans accents ni casse, dates au
3083
+ * jour), langue de l'environnement d'exécution (la table, elle, filtre dans la langue de la bibliothèque).
3084
+ */
3085
+ function poadMatch(value, filter, mode = 'contains') { return tableMatch(value, filter, mode); }
3136
3086
  /** Prédicat de filtre ligne (filtre global sur `globalFields` + filtres par colonne) ; null si aucun filtre actif. */
3137
3087
  function poadRowPredicate(globalFilter, globalFields, filters) {
3138
- const g = poadNormalize((globalFilter ?? '').trim());
3139
- const entries = Object.entries(filters).filter(([, f]) => f && f.value != null && f.value !== '' && !(Array.isArray(f.value) && !f.value.length));
3140
- if (!g && !entries.length)
3141
- return null;
3142
- return (row) => {
3143
- if (g && !globalFields.some(f => poadNormalize(poadResolve(row, f)).includes(g)))
3144
- return false;
3145
- return entries.every(([field, f]) => poadMatch(poadResolve(row, field), f.value, f.matchMode ?? 'contains'));
3146
- };
3088
+ return tableRowPredicate({ globalFilter, globalFields, filters, resolve: (row, f) => poadResolve(row, f) });
3147
3089
  }
3148
3090
  /** Filtre local : filtre global (sur `globalFields`) + filtres par colonne. */
3149
3091
  function poadFilterData(data, globalFilter, globalFields, filters) {
3150
- const p = poadRowPredicate(globalFilter, globalFields, filters);
3151
- return p ? data.filter(p) : [...data];
3092
+ return tableFilterRows(data, { globalFilter, globalFields, filters, resolve: (row, f) => poadResolve(row, f) });
3152
3093
  }
3153
3094
  /** Clé de ligne (dataKey ou l'objet lui-même). */
3154
3095
  const poadRowKey = (row, dataKey) => (dataKey ? poadResolve(row, dataKey) : row);
@@ -3376,7 +3317,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
3376
3317
 
3377
3318
  /**
3378
3319
  * <poad-filter-chip label="Statut" value="en ligne, en pause" active removable (removed)="…" (clicked)="…"/>
3379
- * Chip de filtre de la barre d'outils (pointillé inactif = « + Filtre », plein accent quand actif).
3320
+ * Chip de filtre de la barre d'outils (pointillé inactif = « + Filtre », plein accent quand actif). Tranche 2 de la table :
3321
+ * feuille partagée `@poadio/ui-core/filter-chip.css` (encapsulation désactivée), même DOM que `PoadFilterChip` d'ui-react.
3380
3322
  * @atelier ajustement=naturel icone=filter largeur=2 hauteur=1 pose-label=Filtre
3381
3323
  */
3382
3324
  class PoadFilterChipComponent {
@@ -3401,7 +3343,7 @@ class PoadFilterChipComponent {
3401
3343
  @if (removable() && active()) {
3402
3344
  <button type="button" class="poad-filter-chip__x" [attr.aria-label]="i18n.t('filter.remove', { label: label() })" [disabled]="disabled()" (click)="removed.emit($event)"><poad-icon name="x" [size]="11"/></button>
3403
3345
  }
3404
- `, isInline: true, styles: [":host{display:inline-flex;align-items:center;height:26px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font:var(--poad-font-size-sm) var(--poad-font);overflow:hidden;transition:border-color var(--poad-dur),background var(--poad-dur),color var(--poad-dur)}:host(.is-active){border-style:solid;border-color:var(--poad-accent);background:var(--poad-accent-soft);color:var(--poad-accent)}:host(.is-disabled){opacity:.55}:host(:hover:not(.is-disabled):not(.is-active)){border-color:var(--poad-fg-muted);color:var(--poad-fg)}button{all:unset;display:inline-flex;align-items:center;gap:5px;height:100%;cursor:pointer;box-sizing:border-box}button[disabled]{cursor:not-allowed}button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-2px}.poad-filter-chip__main{padding:0 8px 0 10px}.poad-filter-chip__sep{margin:0 -1px;opacity:.7}.poad-filter-chip__value{font-weight:600}.poad-filter-chip__x{padding:0 8px 0 4px;color:inherit;opacity:.8}.poad-filter-chip__x:hover{opacity:1}\n"], dependencies: [{ kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3346
+ `, isInline: true, styles: [".poad-filter-chip{display:inline-flex;align-items:center;height:26px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font:var(--poad-font-size-sm) var(--poad-font);overflow:hidden;transition:border-color var(--poad-dur),background var(--poad-dur),color var(--poad-dur)}.poad-filter-chip.is-active{border-style:solid;border-color:var(--poad-accent);background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-filter-chip.is-disabled{opacity:.55}.poad-filter-chip:hover:not(.is-disabled):not(.is-active){border-color:var(--poad-fg-muted);color:var(--poad-fg)}.poad-filter-chip>button{all:unset;display:inline-flex;align-items:center;gap:5px;height:100%;cursor:pointer;box-sizing:border-box}.poad-filter-chip>button[disabled]{cursor:not-allowed}.poad-filter-chip>button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-2px}.poad-filter-chip>.poad-filter-chip__main{padding:0 8px 0 10px}.poad-filter-chip>:where(.poad-filter-chip__main)>.poad-filter-chip__sep{margin:0 -1px;opacity:.7}.poad-filter-chip>:where(.poad-filter-chip__main)>.poad-filter-chip__value{font-weight:600}.poad-filter-chip>.poad-filter-chip__x{padding:0 8px 0 4px;color:inherit;opacity:.8}.poad-filter-chip>.poad-filter-chip__x:hover{opacity:1}\n"], dependencies: [{ kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3405
3347
  }
3406
3348
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadFilterChipComponent, decorators: [{
3407
3349
  type: Component,
@@ -3415,14 +3357,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
3415
3357
  @if (removable() && active()) {
3416
3358
  <button type="button" class="poad-filter-chip__x" [attr.aria-label]="i18n.t('filter.remove', { label: label() })" [disabled]="disabled()" (click)="removed.emit($event)"><poad-icon name="x" [size]="11"/></button>
3417
3359
  }
3418
- `, styles: [":host{display:inline-flex;align-items:center;height:26px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font:var(--poad-font-size-sm) var(--poad-font);overflow:hidden;transition:border-color var(--poad-dur),background var(--poad-dur),color var(--poad-dur)}:host(.is-active){border-style:solid;border-color:var(--poad-accent);background:var(--poad-accent-soft);color:var(--poad-accent)}:host(.is-disabled){opacity:.55}:host(:hover:not(.is-disabled):not(.is-active)){border-color:var(--poad-fg-muted);color:var(--poad-fg)}button{all:unset;display:inline-flex;align-items:center;gap:5px;height:100%;cursor:pointer;box-sizing:border-box}button[disabled]{cursor:not-allowed}button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-2px}.poad-filter-chip__main{padding:0 8px 0 10px}.poad-filter-chip__sep{margin:0 -1px;opacity:.7}.poad-filter-chip__value{font-weight:600}.poad-filter-chip__x{padding:0 8px 0 4px;color:inherit;opacity:.8}.poad-filter-chip__x:hover{opacity:1}\n"] }]
3360
+ `, encapsulation: ViewEncapsulation.None, styles: [".poad-filter-chip{display:inline-flex;align-items:center;height:26px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font:var(--poad-font-size-sm) var(--poad-font);overflow:hidden;transition:border-color var(--poad-dur),background var(--poad-dur),color var(--poad-dur)}.poad-filter-chip.is-active{border-style:solid;border-color:var(--poad-accent);background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-filter-chip.is-disabled{opacity:.55}.poad-filter-chip:hover:not(.is-disabled):not(.is-active){border-color:var(--poad-fg-muted);color:var(--poad-fg)}.poad-filter-chip>button{all:unset;display:inline-flex;align-items:center;gap:5px;height:100%;cursor:pointer;box-sizing:border-box}.poad-filter-chip>button[disabled]{cursor:not-allowed}.poad-filter-chip>button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-2px}.poad-filter-chip>.poad-filter-chip__main{padding:0 8px 0 10px}.poad-filter-chip>:where(.poad-filter-chip__main)>.poad-filter-chip__sep{margin:0 -1px;opacity:.7}.poad-filter-chip>:where(.poad-filter-chip__main)>.poad-filter-chip__value{font-weight:600}.poad-filter-chip>.poad-filter-chip__x{padding:0 8px 0 4px;color:inherit;opacity:.8}.poad-filter-chip>.poad-filter-chip__x:hover{opacity:1}\n"] }]
3419
3361
  }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], removable: [{ type: i0.Input, args: [{ isSignal: true, alias: "removable", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }], removed: [{ type: i0.Output, args: ["removed"] }] } });
3420
3362
 
3421
3363
  /**
3422
3364
  * <poad-paginator [(first)]="first" [(rows)]="rows" [totalRecords]="42" [rowsPerPageOptions]="[10,25,50]" (pageChange)="…"/>
3423
3365
  * Remplace p-paginator. Réutilisé par poad-table. `currentPageReportTemplate` (défaut = catalogue `paginator.report`) : {first} {last} {totalRecords} {currentPage} {totalPages} {rows}.
3424
3366
  * Calculs (pages, liens avec ellipses, rapport, changement de taille) : machine `paginator` de @poadio/ui-core ; style
3425
- * partagé : `@poadio/ui-core/paginator.css` (encapsulation désactivée).
3367
+ * partagé : `@poadio/ui-core/paginator.css` (encapsulation désactivée). Taille de page : liste déroulante `poad-select`.
3426
3368
  * @atelier icone=arrow-left-right hauteur=1
3427
3369
  * @atelier-exemple totalRecords 120
3428
3370
  * @atelier-exemple rows 10
@@ -3435,6 +3377,8 @@ class PoadPaginatorComponent {
3435
3377
  rowsPerPageOptions = input([10, 25, 50, 100], ...(ngDevMode ? [{ debugName: "rowsPerPageOptions" }] : /* istanbul ignore next */ []));
3436
3378
  /** Non défini = message `paginator.rowsPerPage` du catalogue. */
3437
3379
  rowsPerPageLabel = input(...(ngDevMode ? [undefined, { debugName: "rowsPerPageLabel" }] : /* istanbul ignore next */ []));
3380
+ /** Tailles proposées, pour la liste déroulante (`poad-select`, pas de `<select>` natif). */
3381
+ rppOptions = computed(() => this.rowsPerPageOptions().map(o => ({ label: String(o), value: o })), ...(ngDevMode ? [{ debugName: "rppOptions" }] : /* istanbul ignore next */ []));
3438
3382
  rowsPerPageText = computed(() => this.i18n.text(this.rowsPerPageLabel(), 'paginator.rowsPerPage'), ...(ngDevMode ? [{ debugName: "rowsPerPageText" }] : /* istanbul ignore next */ []));
3439
3383
  pageLinks = input(5, { ...(ngDevMode ? { debugName: "pageLinks" } : /* istanbul ignore next */ {}), transform: numberAttribute });
3440
3384
  showCurrentPageReport = input(true, { ...(ngDevMode ? { debugName: "showCurrentPageReport" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
@@ -3471,15 +3415,10 @@ class PoadPaginatorComponent {
3471
3415
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.20", type: PoadPaginatorComponent, isStandalone: true, selector: "poad-paginator", inputs: { first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageLabel: { classPropertyName: "rowsPerPageLabel", publicName: "rowsPerPageLabel", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, alwaysShow: { classPropertyName: "alwaysShow", publicName: "alwaysShow", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { first: "firstChange", rows: "rowsChange", pageChange: "pageChange" }, host: { attributes: { "role": "navigation" }, properties: { "attr.aria-label": "i18n.t('paginator.label')", "class.is-hidden": "!visible()" }, classAttribute: "poad-paginator" }, ngImport: i0, template: `
3472
3416
  @if (visible()) {
3473
3417
  @if (rowsPerPageOptions().length) {
3474
- <label class="poad-paginator__rpp">
3418
+ <span class="poad-paginator__rpp">
3475
3419
  <span>{{ rowsPerPageText() }}</span>
3476
- <span class="poad-paginator__sel">
3477
- <select [value]="rows()" (change)="changeRows(+$any($event.target).value)" [attr.aria-label]="rowsPerPageText()">
3478
- @for (o of rowsPerPageOptions(); track o) {<option [value]="o" [selected]="o === rows()">{{ o }}</option>}
3479
- </select>
3480
- <poad-icon name="chevron-down" [size]="11"/>
3481
- </span>
3482
- </label>
3420
+ <poad-select class="poad-paginator__sel" size="sm" [options]="rppOptions()" [value]="rows()" [ariaLabel]="rowsPerPageText()" (changed)="changeRows(+$any($event))"/>
3421
+ </span>
3483
3422
  }
3484
3423
  <span class="poad-paginator__grow"></span>
3485
3424
  @if (showCurrentPageReport()) {<span class="poad-paginator__report">{{ report() }}</span>}
@@ -3496,22 +3435,17 @@ class PoadPaginatorComponent {
3496
3435
  @if (showFirstLastIcon()) {<button type="button" [attr.aria-label]="i18n.t('paginator.lastPage')" [disabled]="page() >= pageCount() - 1" (click)="goTo(pageCount() - 1)"><poad-icon name="chevrons-right" [size]="13"/></button>}
3497
3436
  </span>
3498
3437
  }
3499
- `, isInline: true, styles: [".poad-paginator{display:flex;align-items:center;gap:14px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg-secondary)}.poad-paginator.is-hidden{display:none}.poad-paginator .poad-paginator__grow{flex:1}.poad-paginator .poad-paginator__rpp{display:inline-flex;align-items:center;gap:8px}.poad-paginator .poad-paginator__sel{position:relative;display:inline-flex;align-items:center;border:1px solid var(--poad-border);border-radius:6px;color:var(--poad-fg);background:var(--poad-surface)}.poad-paginator .poad-paginator__sel>select{appearance:none;border:0;background:transparent;color:inherit;font:inherit;padding-block:3px;padding-inline:8px 22px;cursor:pointer;outline:none}.poad-paginator .poad-paginator__sel:focus-within{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-paginator .poad-paginator__sel>.poad-icon{position:absolute;inset-inline-end:6px;pointer-events:none;color:var(--poad-fg-muted)}.poad-paginator .poad-paginator__report{font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages{display:inline-flex;gap:2px;align-items:center}.poad-paginator .poad-paginator__pages>button{min-width:26px;height:26px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;display:inline-grid;place-items:center;font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages>button.is-on{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-paginator .poad-paginator__pages>button:hover:not(.is-on):not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-paginator .poad-paginator__pages>button[disabled]{opacity:.4;cursor:default}.poad-paginator .poad-paginator__pages>button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-1px}.poad-paginator .poad-paginator__dots{min-width:20px;text-align:center;color:var(--poad-fg-muted)}\n"], dependencies: [{ kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3438
+ `, isInline: true, styles: [".poad-paginator{display:flex;align-items:center;gap:14px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg-secondary)}.poad-paginator.is-hidden{display:none}.poad-paginator .poad-paginator__grow{flex:1}.poad-paginator .poad-paginator__rpp{display:inline-flex;align-items:center;gap:8px}.poad-paginator .poad-paginator__sel,.poad-paginator .poad-paginator__sel>.poad-select{width:auto;min-width:72px}.poad-paginator .poad-paginator__rpp>span{white-space:nowrap}.poad-paginator .poad-paginator__report{font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages{display:inline-flex;gap:2px;align-items:center}.poad-paginator .poad-paginator__pages>button{min-width:26px;height:26px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;display:inline-grid;place-items:center;font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages>button.is-on{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-paginator .poad-paginator__pages>button:hover:not(.is-on):not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-paginator .poad-paginator__pages>button[disabled]{opacity:.4;cursor:default}.poad-paginator .poad-paginator__pages>button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-1px}.poad-paginator .poad-paginator__dots{min-width:20px;text-align:center;color:var(--poad-fg-muted)}\n"], dependencies: [{ kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadSelectComponent, selector: "poad-select", outputs: ["changed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
3500
3439
  }
3501
3440
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadPaginatorComponent, decorators: [{
3502
3441
  type: Component,
3503
- args: [{ selector: 'poad-paginator', standalone: true, imports: [PoadIconComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'poad-paginator', role: 'navigation', '[attr.aria-label]': "i18n.t('paginator.label')", '[class.is-hidden]': '!visible()' }, template: `
3442
+ args: [{ selector: 'poad-paginator', standalone: true, imports: [PoadIconComponent, PoadSelectComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'poad-paginator', role: 'navigation', '[attr.aria-label]': "i18n.t('paginator.label')", '[class.is-hidden]': '!visible()' }, template: `
3504
3443
  @if (visible()) {
3505
3444
  @if (rowsPerPageOptions().length) {
3506
- <label class="poad-paginator__rpp">
3445
+ <span class="poad-paginator__rpp">
3507
3446
  <span>{{ rowsPerPageText() }}</span>
3508
- <span class="poad-paginator__sel">
3509
- <select [value]="rows()" (change)="changeRows(+$any($event.target).value)" [attr.aria-label]="rowsPerPageText()">
3510
- @for (o of rowsPerPageOptions(); track o) {<option [value]="o" [selected]="o === rows()">{{ o }}</option>}
3511
- </select>
3512
- <poad-icon name="chevron-down" [size]="11"/>
3513
- </span>
3514
- </label>
3447
+ <poad-select class="poad-paginator__sel" size="sm" [options]="rppOptions()" [value]="rows()" [ariaLabel]="rowsPerPageText()" (changed)="changeRows(+$any($event))"/>
3448
+ </span>
3515
3449
  }
3516
3450
  <span class="poad-paginator__grow"></span>
3517
3451
  @if (showCurrentPageReport()) {<span class="poad-paginator__report">{{ report() }}</span>}
@@ -3528,7 +3462,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
3528
3462
  @if (showFirstLastIcon()) {<button type="button" [attr.aria-label]="i18n.t('paginator.lastPage')" [disabled]="page() >= pageCount() - 1" (click)="goTo(pageCount() - 1)"><poad-icon name="chevrons-right" [size]="13"/></button>}
3529
3463
  </span>
3530
3464
  }
3531
- `, encapsulation: ViewEncapsulation.None, styles: [".poad-paginator{display:flex;align-items:center;gap:14px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg-secondary)}.poad-paginator.is-hidden{display:none}.poad-paginator .poad-paginator__grow{flex:1}.poad-paginator .poad-paginator__rpp{display:inline-flex;align-items:center;gap:8px}.poad-paginator .poad-paginator__sel{position:relative;display:inline-flex;align-items:center;border:1px solid var(--poad-border);border-radius:6px;color:var(--poad-fg);background:var(--poad-surface)}.poad-paginator .poad-paginator__sel>select{appearance:none;border:0;background:transparent;color:inherit;font:inherit;padding-block:3px;padding-inline:8px 22px;cursor:pointer;outline:none}.poad-paginator .poad-paginator__sel:focus-within{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-paginator .poad-paginator__sel>.poad-icon{position:absolute;inset-inline-end:6px;pointer-events:none;color:var(--poad-fg-muted)}.poad-paginator .poad-paginator__report{font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages{display:inline-flex;gap:2px;align-items:center}.poad-paginator .poad-paginator__pages>button{min-width:26px;height:26px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;display:inline-grid;place-items:center;font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages>button.is-on{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-paginator .poad-paginator__pages>button:hover:not(.is-on):not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-paginator .poad-paginator__pages>button[disabled]{opacity:.4;cursor:default}.poad-paginator .poad-paginator__pages>button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-1px}.poad-paginator .poad-paginator__dots{min-width:20px;text-align:center;color:var(--poad-fg-muted)}\n"] }]
3465
+ `, encapsulation: ViewEncapsulation.None, styles: [".poad-paginator{display:flex;align-items:center;gap:14px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg-secondary)}.poad-paginator.is-hidden{display:none}.poad-paginator .poad-paginator__grow{flex:1}.poad-paginator .poad-paginator__rpp{display:inline-flex;align-items:center;gap:8px}.poad-paginator .poad-paginator__sel,.poad-paginator .poad-paginator__sel>.poad-select{width:auto;min-width:72px}.poad-paginator .poad-paginator__rpp>span{white-space:nowrap}.poad-paginator .poad-paginator__report{font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages{display:inline-flex;gap:2px;align-items:center}.poad-paginator .poad-paginator__pages>button{min-width:26px;height:26px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;display:inline-grid;place-items:center;font-variant-numeric:tabular-nums}.poad-paginator .poad-paginator__pages>button.is-on{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-paginator .poad-paginator__pages>button:hover:not(.is-on):not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-paginator .poad-paginator__pages>button[disabled]{opacity:.4;cursor:default}.poad-paginator .poad-paginator__pages>button:focus-visible{outline:2px solid var(--poad-ring);outline-offset:-1px}.poad-paginator .poad-paginator__dots{min-width:20px;text-align:center;color:var(--poad-fg-muted)}\n"] }]
3532
3466
  }], propDecorators: { first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }, { type: i0.Output, args: ["firstChange"] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }, { type: i0.Output, args: ["rowsChange"] }], totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], rowsPerPageLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageLabel", required: false }] }], pageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinks", required: false }] }], showCurrentPageReport: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentPageReport", required: false }] }], currentPageReportTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPageReportTemplate", required: false }] }], showFirstLastIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFirstLastIcon", required: false }] }], showPageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPageLinks", required: false }] }], alwaysShow: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysShow", required: false }] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }] } });
3533
3467
 
3534
3468
  /** Données injectables dans le composant ouvert par PoadDialogService. */
@@ -4643,7 +4577,7 @@ class PoadDatepickerComponent extends PoadValueAccessor {
4643
4577
  navLabels = computed(() => datepickerNavLabels(this.view()), ...(ngDevMode ? [{ debugName: "navLabels" }] : /* istanbul ignore next */ []));
4644
4578
  inputAttrs = computed(() => datepickerInputProps({ id: this.id, open: this.isOpen(), invalid: this.invalid() }), ...(ngDevMode ? [{ debugName: "inputAttrs" }] : /* istanbul ignore next */ []));
4645
4579
  limits = computed(() => ({
4646
- min: toDate$1(this.min()), max: toDate$1(this.max()), disabledDays: this.disabledDays(), disabledKeys: datepickerDisabledKeys(this.disabledDates()),
4580
+ min: toDate(this.min()), max: toDate(this.max()), disabledDays: this.disabledDays(), disabledKeys: datepickerDisabledKeys(this.disabledDates()),
4647
4581
  }), ...(ngDevMode ? [{ debugName: "limits" }] : /* istanbul ignore next */ []));
4648
4582
  rows = computed(() => datepickerRows({
4649
4583
  viewDate: this.viewDate(), firstDay: this.firstDay(), selected: this.selected(), selection: this.selectionMode(), today: this.today, limits: this.limits(), locale: this.loc(),
@@ -6157,7 +6091,8 @@ const POAD_TABLE_STYLES_3 = `
6157
6091
  `;
6158
6092
 
6159
6093
  /**
6160
- * Styles poad-table (4/4) : menu ⋮ d'en-tête, ligne de filtres à opérateurs, zone de groupement, n° de ligne, drag de lignes, pied « N lignes ». Tokens --poad-* uniquement.
6094
+ * Styles poad-table (4/4) : menu ⋮ d'en-tête, zone de groupement, n° de ligne, drag de lignes. Tokens --poad-* uniquement.
6095
+ * La ligne de filtres à opérateurs et le pied « N lignes » (tranche 2) sont passés dans `@poadio/ui-core/table.css`.
6161
6096
  * Sans encapsulation, comme la feuille de base `@poadio/ui-core/table.css` (même écriture : classe d'hôte répétée pour
6162
6097
  * garder la priorité qu'avait chaque règle encapsulée, sélecteurs ancrés sur la structure du gabarit) ; passeront dans
6163
6098
  * le socle avec leur tranche (ui-core `src/table/README.md`).
@@ -6178,25 +6113,6 @@ const POAD_TABLE_STYLES_4 = `
6178
6113
  .poad-table.poad-table.poad-table .tbl > :where(thead) > :where(tr) > th.is-filtered .hd-txt { color: var(--poad-accent); }
6179
6114
  .poad-table.poad-table.poad-table.poad-table.is-resizable .tbl > :where(thead) > :where(tr) > th.has-menu > .hm { right: 10px; }
6180
6115
 
6181
- /* ---------- ligne de filtres à opérateurs ---------- */
6182
- .poad-table.poad-table.poad-table .tbl > :where(thead, tbody) > tr.flt > th { padding: 5px 6px; }
6183
- .poad-table .flt-cell { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; }
6184
- .poad-table.poad-table .flt-cell input, .poad-table.poad-table .flt-cell select, .poad-table.poad-table .flt-cell .flt-in { flex: 1 1 0; min-width: 0; height: 28px; padding: 0 26px 0 8px; box-sizing: border-box; font: var(--poad-font-size-sm) var(--poad-font); color: var(--poad-fg); background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius-sm); outline: 0; transition: border-color var(--poad-dur), box-shadow var(--poad-dur); }
6185
- .poad-table.poad-table .flt-cell.is-range input { padding-right: 8px; }
6186
- .poad-table.poad-table .flt-cell.is-range input:last-of-type { padding-right: 26px; }
6187
- .poad-table.poad-table .flt-cell input:focus, .poad-table.poad-table .flt-cell select:focus, .poad-table.poad-table .flt-cell .flt-in:focus-visible { border-color: var(--poad-accent); box-shadow: 0 0 0 2px var(--poad-ring); }
6188
- .poad-table.poad-table .flt-cell.is-active input, .poad-table.poad-table .flt-cell.is-active select, .poad-table.poad-table .flt-cell.is-active .flt-in { border-color: var(--poad-accent); background: var(--poad-accent-soft); }
6189
- .poad-table.poad-table .flt-cell .flt-in { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; text-align: left; cursor: pointer; }
6190
- .poad-table.poad-table .flt-cell .flt-in.is-ph { color: var(--poad-fg-muted); }
6191
- .poad-table.poad-table.poad-table .flt-cell .flt-in .poad-icon { color: var(--poad-fg-muted); flex: none; }
6192
- .poad-table.poad-table .flt-cell .flt-txt { flex: 1; height: 28px; display: inline-flex; align-items: center; padding: 0 26px 0 8px; font: italic var(--poad-font-size-sm) var(--poad-font); color: var(--poad-accent); background: var(--poad-accent-soft); border: 1px solid var(--poad-accent); border-radius: var(--poad-radius-sm); box-sizing: border-box; }
6193
- .poad-table.poad-table .flt-cell .flt-op { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border: 0; border-radius: 4px; background: transparent; color: var(--poad-fg-muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
6194
- .poad-table.poad-table .flt-cell .flt-op:hover, .poad-table.poad-table .flt-cell .flt-op.is-on { color: var(--poad-accent); background: var(--poad-accent-soft); }
6195
- .poad-table.poad-table .flt-cell.is-active .flt-op { right: 22px; }
6196
- .poad-table.poad-table .flt-cell .flt-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border: 0; border-radius: 4px; background: transparent; color: var(--poad-fg-muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
6197
- .poad-table.poad-table .flt-cell .flt-x:hover { color: var(--poad-danger); background: var(--poad-danger-soft); }
6198
- .poad-table.poad-table .flt-cell select { appearance: none; padding-right: 26px; }
6199
-
6200
6116
  /* ---------- zone « grouper par » ---------- */
6201
6117
  .poad-table .dt-gz { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 40px; padding: 6px 12px; border-bottom: 1px solid var(--poad-border); background: var(--poad-bg-subtle); color: var(--poad-fg-muted); font-size: var(--poad-font-size-sm); }
6202
6118
  .poad-table .dt-gz.cdk-drop-list-receiving, .poad-table .dt-gz.cdk-drop-list-dragging { background: var(--poad-accent-soft); color: var(--poad-accent); outline: 1px dashed var(--poad-accent); outline-offset: -4px; }
@@ -6228,9 +6144,6 @@ const POAD_TABLE_STYLES_4 = `
6228
6144
  .cdk-drag-preview.dt-tr-preview td { padding: 0 12px; height: 42px; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
6229
6145
  .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.col-drag, .poad-table.poad-table.poad-table.is-stacked .tbl > :where(tfoot) > :where(tr.dt-grand) > td.col-drag { display: none; }
6230
6146
 
6231
- /* ---------- pied « N lignes » ---------- */
6232
- .poad-table .dt-foot__count { font: var(--poad-font-size-sm) var(--poad-font-mono); color: var(--poad-fg-secondary); white-space: nowrap; }
6233
- .poad-table.poad-table .dt-foot.has-count .poad-paginator { flex: 1; }
6234
6147
  `;
6235
6148
 
6236
6149
  /**
@@ -7061,63 +6974,23 @@ function poadAutosizeWidth(host, c, headerText, values, opts = {}) {
7061
6974
 
7062
6975
  /** Libellé d'un opérateur dans la langue courante. */
7063
6976
  function poadOperatorLabel(op, i18n) {
7064
- return op.label ?? (op.labelKey ? i18n.t(op.labelKey) : op.mode);
7065
- }
7066
- /** Opérateurs disponibles par type de filtre (ligne de filtres sous l'en-tête, façon AG Grid). */
7067
- const POAD_FILTER_OPERATORS = {
7068
- text: [
7069
- { mode: 'contains', labelKey: 'filter.opContains', short: '∋', needsValue: true }, { mode: 'notContains', labelKey: 'filter.opNotContains', short: '∌', needsValue: true },
7070
- { mode: 'startsWith', labelKey: 'filter.opStartsWith', short: 'a…', needsValue: true }, { mode: 'endsWith', labelKey: 'filter.opEndsWith', short: '…z', needsValue: true },
7071
- { mode: 'eq', labelKey: 'filter.opEquals', short: '=', needsValue: true }, { mode: 'neq', labelKey: 'filter.opNotEquals', short: '≠', needsValue: true },
7072
- { mode: 'isEmpty', labelKey: 'filter.opIsEmpty', short: '∅', needsValue: false }, { mode: 'isNotEmpty', labelKey: 'filter.opIsNotEmpty', short: '≠∅', needsValue: false },
7073
- ],
7074
- number: [
7075
- { mode: 'eq', labelKey: 'filter.opEquals', short: '=', needsValue: true }, { mode: 'neq', labelKey: 'filter.opNotEquals', short: '≠', needsValue: true },
7076
- { mode: 'lt', labelKey: 'filter.opLessThan', short: '<', needsValue: true }, { mode: 'lte', labelKey: 'filter.opLessOrEqual', short: '≤', needsValue: true },
7077
- { mode: 'gt', labelKey: 'filter.opGreaterThan', short: '>', needsValue: true }, { mode: 'gte', labelKey: 'filter.opGreaterOrEqual', short: '≥', needsValue: true },
7078
- { mode: 'between', labelKey: 'filter.opBetween', short: '↔', needsValue: true, range: true },
7079
- { mode: 'isEmpty', labelKey: 'filter.opIsEmpty', short: '∅', needsValue: false }, { mode: 'isNotEmpty', labelKey: 'filter.opIsNotEmpty', short: '≠∅', needsValue: false },
7080
- ],
7081
- date: [
7082
- { mode: 'dateIs', labelKey: 'filter.opDateIs', short: '=', needsValue: true }, { mode: 'dateIsNot', labelKey: 'filter.opDateIsNot', short: '≠', needsValue: true },
7083
- { mode: 'dateBefore', labelKey: 'filter.opDateBefore', short: '<', needsValue: true }, { mode: 'dateAfter', labelKey: 'filter.opDateAfter', short: '>', needsValue: true },
7084
- { mode: 'between', labelKey: 'filter.opBetween', short: '↔', needsValue: true, range: true },
7085
- { mode: 'isEmpty', labelKey: 'filter.opIsEmpty', short: '∅', needsValue: false }, { mode: 'isNotEmpty', labelKey: 'filter.opIsNotEmpty', short: '≠∅', needsValue: false },
7086
- ],
7087
- boolean: [{ mode: 'eq', labelKey: 'filter.opEquals', short: '=', needsValue: true }],
7088
- select: [{ mode: 'in', labelKey: 'filter.opIn', short: '∈', needsValue: true }, { mode: 'notIn', labelKey: 'filter.opNotIn', short: '∉', needsValue: true }, { mode: 'eq', labelKey: 'filter.opEquals', short: '=', needsValue: true }],
7089
- };
7090
- function poadFilterKindOf(c) {
7091
- const ft = c.filterType();
7092
- if (ft === 'select' || ft === 'boolean' || ft === 'number' || ft === 'date')
7093
- return ft;
7094
- const dt = c.dataType();
7095
- return dt === 'number' || dt === 'date' || dt === 'boolean' ? dt : 'text';
6977
+ return tableFilterOperatorLabel(op, (k) => i18n.t(k));
7096
6978
  }
7097
- function poadFilterOperators(c) { return POAD_FILTER_OPERATORS[poadFilterKindOf(c)]; }
7098
- function poadDefaultMatchMode(c) {
7099
- const explicit = c.filterMatchMode();
7100
- if (explicit)
7101
- return explicit;
7102
- const k = poadFilterKindOf(c);
7103
- return k === 'select' ? 'in' : k === 'boolean' || k === 'number' ? 'eq' : k === 'date' ? 'dateIs' : 'contains';
6979
+ /** Opérateurs disponibles par type de filtre (ligne de filtres sous l'en-tête, façon AG Grid) : ceux du socle. */
6980
+ const POAD_FILTER_OPERATORS = TABLE_FILTER_OPERATORS;
6981
+ /** Ce que le modèle de filtre du socle lit d'une colonne. */
6982
+ function filterDef(c) {
6983
+ return { field: c.field(), dataType: c.dataType(), filterType: c.filterType(), filterMatchMode: c.filterMatchMode(), filterOptions: c.filterOptions() };
7104
6984
  }
6985
+ function poadFilterKindOf(c) { return tableFilterKind(filterDef(c)); }
6986
+ function poadFilterOperators(c) { return POAD_FILTER_OPERATORS[poadFilterKindOf(c)]; }
6987
+ function poadDefaultMatchMode(c) { return tableFilterDefaultMode(filterDef(c)); }
7105
6988
  /** Opérateur courant d'une colonne (celui du filtre posé, sinon le défaut). */
7106
6989
  function poadCurrentOperator(c, filters) {
7107
- const mode = (filters[c.field()]?.matchMode ?? poadDefaultMatchMode(c));
7108
- const ops = poadFilterOperators(c);
7109
- return ops.find(o => o.mode === mode) ?? { mode, label: mode, short: '', needsValue: true };
6990
+ return tableFilterOperator(filterDef(c), filters);
7110
6991
  }
7111
6992
  /** Valeur à écrire dans `filters` quand on change d'opérateur en gardant (si possible) la valeur saisie. */
7112
- function poadValueForOperator(op, current) {
7113
- if (!op.needsValue)
7114
- return true;
7115
- if (op.range)
7116
- return Array.isArray(current) ? current : [current ?? null, null];
7117
- if (op.mode === 'in' || op.mode === 'notIn')
7118
- return Array.isArray(current) ? current : current == null || current === '' ? [] : [current];
7119
- return Array.isArray(current) ? current[0] ?? null : current ?? null;
7120
- }
6993
+ function poadValueForOperator(op, current) { return tableFilterValueForOperator(op, current); }
7121
6994
 
7122
6995
  class PoadTabLabelDirective {
7123
6996
  tpl;
@@ -9361,8 +9234,11 @@ class PoadTableComponent extends PoadTableBase {
9361
9234
  nowrap: c.nowrap(), headerClass: c.headerClass(), bodyClass: c.bodyClass(),
9362
9235
  }])), ...(ngDevMode ? [{ debugName: "colDefs" }] : /* istanbul ignore next */ []));
9363
9236
  def(c) { return this.colDefs().get(c) ?? {}; }
9364
- globalFields = computed(() => this.globalFilterFields().length ? this.globalFilterFields() : this.columns().map(c => c.field()).filter(Boolean), ...(ngDevMode ? [{ debugName: "globalFields" }] : /* istanbul ignore next */ []));
9365
- rowPredicate = computed(() => this.lazy() ? null : poadRowPredicate(this.globalFilter(), this.globalFields(), this.filters()), ...(ngDevMode ? [{ debugName: "rowPredicate" }] : /* istanbul ignore next */ []));
9237
+ globalFields = computed(() => tableGlobalFields(this.globalFilterFields(), this.columns().map(c => ({ field: c.field() }))), ...(ngDevMode ? [{ debugName: "globalFields" }] : /* istanbul ignore next */ []));
9238
+ /** Prédicat des filtres (modèle du socle : recherche globale + filtres de colonne, langue de la bibliothèque) ; aucun en `lazy`. */
9239
+ rowPredicate = computed(() => this.lazy() ? null : tableRowPredicate({
9240
+ globalFilter: this.globalFilter(), globalFields: this.globalFields(), filters: this.filters(), locale: this.i18n.locale(), collator: this.collator(), resolve: (r, f) => poadResolve(r, f),
9241
+ }), ...(ngDevMode ? [{ debugName: "rowPredicate" }] : /* istanbul ignore next */ []));
9366
9242
  /** Adaptateur de nœuds (arbre / groupé), null en mode plat. */
9367
9243
  adapter = computed(() => {
9368
9244
  if (!this.hierarchical())
@@ -9384,12 +9260,13 @@ class PoadTableComponent extends PoadTableBase {
9384
9260
  const paged = this.usePaginator() && !this.lazy();
9385
9261
  return a.visible(this.expandedNodeSet(), { expandedGroups: this.expandedGroupSet(), withGroupFooters: !!this.groupFooterTpl() || !!this.aggregates(), first: paged ? this.first() : 0, rows: paged ? this.rows() : 0 });
9386
9262
  }, ...(ngDevMode ? [{ debugName: "nodes" }] : /* istanbul ignore next */ []));
9387
- /** Données filtrées (identiques à `value` en lazy ; en hiérarchique : lignes conservées à plat). */
9388
- filteredData = computed(() => this.adapter() ? this.adapter().allRows() : this.lazy() ? this.source() : poadFilterData(this.source(), this.globalFilter(), this.globalFields(), this.filters()), ...(ngDevMode ? [{ debugName: "filteredData" }] : /* istanbul ignore next */ []));
9389
- /** Données triées (à plat, ordre d'affichage). */
9390
- view = computed(() => tableView(this.filteredData(), {
9263
+ /** Pipeline du socle : filtre → tri → page (en hiérarchique, l'adaptateur a déjà filtré et trié ; rien de local en lazy). */
9264
+ view = computed(() => tableView(this.adapter() ? this.adapter().allRows() : this.source(), {
9265
+ filter: this.adapter() ? null : this.rowPredicate(),
9391
9266
  metas: this.adapter() ? [] : this.sortMetas(), collator: this.collator(), lazy: this.lazy(), customSort: this.customSort(), paginate: this.usePaginator(), first: this.first(), rows: this.rows(),
9392
9267
  }), ...(ngDevMode ? [{ debugName: "view" }] : /* istanbul ignore next */ []));
9268
+ /** Données filtrées (identiques à `value` en lazy ; en hiérarchique : lignes conservées à plat). */
9269
+ filteredData = computed(() => this.view().filtered, ...(ngDevMode ? [{ debugName: "filteredData" }] : /* istanbul ignore next */ []));
9393
9270
  sortedData = computed(() => this.view().sorted, ...(ngDevMode ? [{ debugName: "sortedData" }] : /* istanbul ignore next */ []));
9394
9271
  /** Lignes affichées (page courante ; en hiérarchique : lignes réelles visibles). */
9395
9272
  /** Pagination locale active (désactivée en virtual scroll). */
@@ -9443,7 +9320,9 @@ class PoadTableComponent extends PoadTableBase {
9443
9320
  }
9444
9321
  grandTotal = computed(() => this.adapter()?.grandTotal ?? {}, ...(ngDevMode ? [{ debugName: "grandTotal" }] : /* istanbul ignore next */ []));
9445
9322
  showGrandTotalRow = computed(() => this.showGrandTotal() && !!this.aggregates() && !!this.adapter(), ...(ngDevMode ? [{ debugName: "showGrandTotalRow" }] : /* istanbul ignore next */ []));
9446
- activeFilterCount = computed(() => Object.values(this.filters()).filter(f => f && f.value != null && f.value !== '' && !(Array.isArray(f.value) && !f.value.length)).length, ...(ngDevMode ? [{ debugName: "activeFilterCount" }] : /* istanbul ignore next */ []));
9323
+ activeFilterCount = computed(() => tableFilterActiveCount(this.filters()), ...(ngDevMode ? [{ debugName: "activeFilterCount" }] : /* istanbul ignore next */ []));
9324
+ /** Pied « N lignes · M filtrées · K sélectionnées » (textes du catalogue). */
9325
+ rowCountText = computed(() => tableRowCountParts(tableCounts({ total: this.totalRows(), filtered: this.totalFiltered(), selected: this.selectedCount() }), (k, p) => this.i18n.t(k, p), this.rowCountLabel()).join(' · '), ...(ngDevMode ? [{ debugName: "rowCountText" }] : /* istanbul ignore next */ []));
9447
9326
  treeColumnId = computed(() => { const f = this.treeColumn(); const c = f ? this.visibleColumns().find(x => x.field() === f) : this.visibleColumns()[0]; return c?.id() ?? null; }, ...(ngDevMode ? [{ debugName: "treeColumnId" }] : /* istanbul ignore next */ []));
9448
9327
  selectedKeys = computed(() => {
9449
9328
  const s = this.selection();
@@ -9597,40 +9476,36 @@ class PoadTableComponent extends PoadTableBase {
9597
9476
  if (this.lazy())
9598
9477
  this.emitLazy();
9599
9478
  }
9600
- // ---- filtres ----
9479
+ // ---- filtres (réducteur du socle ; minuteries ici) ----
9480
+ /** Lance `apply` tout de suite, ou après le délai des filtres (`filterDelay`, la dernière frappe l'emporte). */
9481
+ debounce(timer, apply, immediate = false) {
9482
+ if (timer)
9483
+ clearTimeout(timer);
9484
+ const d = tableFilterDelay(immediate ? 0 : this.filterDelay());
9485
+ if (d === 'now') {
9486
+ apply();
9487
+ return null;
9488
+ }
9489
+ return setTimeout(apply, d);
9490
+ }
9601
9491
  onSearch(text, immediate = false) {
9602
9492
  this.searchText.set(text);
9603
- if (this.searchTimer)
9604
- clearTimeout(this.searchTimer);
9605
- const apply = () => { this.globalFilter.set(text); this.first.set(0); this.emitFilter(); };
9606
- immediate ? apply() : (this.searchTimer = setTimeout(apply, this.filterDelay()));
9493
+ this.searchTimer = this.debounce(this.searchTimer, () => { this.globalFilter.set(text); this.first.set(0); this.emitFilter(); }, immediate);
9607
9494
  }
9608
9495
  filterValue(c) { return this.filters()[c.field()]?.value ?? null; }
9609
9496
  filterFn(c) { return (v, m) => this.setFilter(c, v, m); }
9610
- setFilterDebounced(c, v) {
9497
+ debounceColumn(c, apply) {
9611
9498
  const key = c.field();
9612
- const t = this.filterTimers.get(key);
9499
+ const t = this.debounce(this.filterTimers.get(key), apply);
9613
9500
  if (t)
9614
- clearTimeout(t);
9615
- this.filterTimers.set(key, setTimeout(() => this.setFilter(c, v), this.filterDelay()));
9501
+ this.filterTimers.set(key, t);
9502
+ else
9503
+ this.filterTimers.delete(key);
9616
9504
  }
9505
+ setFilterDebounced(c, v) { this.debounceColumn(c, () => this.setFilter(c, v)); }
9617
9506
  /** Pose un filtre de colonne (matchMode : explicite > opérateur courant de la colonne > défaut selon le type). */
9618
9507
  setFilter(c, value, matchMode) {
9619
- const mm = matchMode ?? this.filters()[c.field()]?.matchMode ?? poadCurrentOperator(c, {}).mode;
9620
- const numeric = poadFilterKindOf(c) === 'number';
9621
- const conv = (x) => (numeric && typeof x === 'string' && x !== '' ? Number(x) : x);
9622
- const v = Array.isArray(value) ? value.map(conv) : conv(value);
9623
- const next = { ...this.filters() };
9624
- const empty = v == null || v === '' || (Array.isArray(v) && v.every(x => x == null || x === ''));
9625
- if (empty && mm !== 'isEmpty' && mm !== 'isNotEmpty') {
9626
- if (next[c.field()]?.matchMode)
9627
- next[c.field()] = { value: null, matchMode: mm };
9628
- else
9629
- delete next[c.field()];
9630
- }
9631
- else
9632
- next[c.field()] = { value: v, matchMode: mm };
9633
- this.filters.set(next);
9508
+ this.filters.set(tableFilterSet(this.filters(), c.field(), value, { matchMode, defaultMode: poadDefaultMatchMode(c), kind: poadFilterKindOf(c), locale: this.i18n.locale() }));
9634
9509
  this.first.set(0);
9635
9510
  this.emitFilter();
9636
9511
  }
@@ -9943,41 +9818,33 @@ class PoadTableComponent extends PoadTableBase {
9943
9818
  return c.filterOptions().map(o => ({ label: o.label, icon: sel.some(v => v === o.value) ? 'check' : 'square', command: () => this.toggleInValue(c, o.value) }));
9944
9819
  }, ...(ngDevMode ? [{ debugName: "inMenuItems" }] : /* istanbul ignore next */ []));
9945
9820
  filterKind(c) { return poadFilterKindOf(c); }
9821
+ /** Oui / non d'un filtre booléen (liste déroulante de la bibliothèque, libellés du catalogue). */
9822
+ booleanOptions = computed(() => [{ label: this.i18n.t('common.yes'), value: true }, { label: this.i18n.t('common.no'), value: false }], ...(ngDevMode ? [{ debugName: "booleanOptions" }] : /* istanbul ignore next */ []));
9946
9823
  filterOp(c) { return poadCurrentOperator(c, this.filters()); }
9947
9824
  opLabel(op) { return poadOperatorLabel(op, this.i18n); }
9948
- hasColFilter(c) { const f = this.filters()[c.field()]; return !!f && f.value != null && f.value !== '' && !(Array.isArray(f.value) && !f.value.length); }
9949
- filterArray(c) { const v = this.filterValue(c); return Array.isArray(v) ? v : []; }
9950
- filterPart(c, i) { const v = this.filterValue(c); return Array.isArray(v) ? v[i] ?? '' : i === 0 ? v ?? '' : ''; }
9825
+ hasColFilter(c) { return tableFilterIsActive(this.filters()[c.field()]); }
9826
+ filterArray(c) { return tableFilterValues(this.filters(), c.field()); }
9827
+ filterPart(c, i) { return tableFilterPart(this.filterValue(c), i); }
9951
9828
  openFilterMenu(c, e) { e.stopPropagation(); this.filterMenuCol.set(c); this.filterMenu()?.show(e.currentTarget); }
9952
9829
  openInMenu(c, e) { e.stopPropagation(); this.inMenuCol.set(c); this.inMenu()?.show(e.currentTarget); }
9953
9830
  setFilterOperator(c, op) {
9954
- const value = poadValueForOperator(op, this.filterValue(c));
9955
- const empty = value == null || value === '' || (Array.isArray(value) && value.every(v => v == null || v === ''));
9956
- if (empty && op.needsValue) {
9957
- const next = { ...this.filters() };
9958
- delete next[c.field()];
9959
- next[c.field()] = { value: null, matchMode: op.mode };
9960
- this.filters.set(next);
9961
- return;
9831
+ const r = tableFilterSetOperator(this.filters(), c.field(), op, { kind: poadFilterKindOf(c), locale: this.i18n.locale() });
9832
+ this.filters.set(r.filters);
9833
+ if (r.apply) {
9834
+ this.first.set(0);
9835
+ this.emitFilter();
9962
9836
  }
9963
- this.setFilter(c, value, op.mode);
9964
9837
  }
9965
9838
  setFilterPart(c, i, raw) {
9966
- const cur = this.filterValue(c);
9967
- const arr = Array.isArray(cur) ? [...cur] : [cur ?? null, null];
9968
- arr[i] = raw === '' ? null : c.filterType() === 'number' || c.dataType() === 'number' ? Number(raw) : raw;
9969
- const key = c.field();
9970
- const t = this.filterTimers.get(key);
9971
- if (t)
9972
- clearTimeout(t);
9973
- this.filterTimers.set(key, setTimeout(() => this.setFilter(c, arr.every(v => v == null) ? null : arr, 'between'), this.filterDelay()));
9839
+ const value = tableFilterRangePart(this.filterValue(c), i, raw, { numeric: c.filterType() === 'number' || c.dataType() === 'number', locale: this.i18n.locale() });
9840
+ this.debounceColumn(c, () => this.setFilter(c, value, 'between'));
9974
9841
  }
9975
9842
  toggleInValue(c, v) {
9976
- const cur = this.filterArray(c);
9977
- const next = cur.includes(v) ? cur.filter(x => x !== v) : [...cur, v];
9978
- this.setFilter(c, next.length ? next : null, this.filterOp(c).mode);
9843
+ this.filters.set(tableFilterToggleValue(this.filters(), c.field(), v, { matchMode: this.filterOp(c).mode }));
9844
+ this.first.set(0);
9845
+ this.emitFilter();
9979
9846
  }
9980
- clearColumnFilter(c) { const next = { ...this.filters() }; delete next[c.field()]; this.filters.set(next); this.first.set(0); this.emitFilter(); }
9847
+ clearColumnFilter(c) { this.filters.set(tableFilterClear(this.filters(), c.field())); this.first.set(0); this.emitFilter(); }
9981
9848
  // ---- drag de lignes ----
9982
9849
  canDragRow(row) { return this.rowDragEnabled() && !(this.rowDragDisabled()?.(row) ?? false); }
9983
9850
  onRowDrop(e) {
@@ -10100,11 +9967,11 @@ class PoadTableComponent extends PoadTableBase {
10100
9967
  poadDownloadCsv([cols.map(c => c.header() || c.field()), ...data.map(r => cols.map(c => { const v = poadResolve(r, c.field()); return this.cellFormatter() ? this.cellFormatter()(v, c, r) : v; }))], opts.filename ?? 'export', opts.separator);
10101
9968
  }
10102
9969
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10103
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.20", type: PoadTableComponent, isStandalone: true, selector: "poad-table", host: { properties: { "class.is-dense": "dense()", "class.is-striped": "striped()", "class.is-hoverable": "hoverable()", "class.is-bordered": "bordered()", "class.is-borderless": "borderless()", "class.is-sticky-header": "stickyHeader()", "class.has-scroll-height": "!!scrollHeight()", "class.is-resizable": "resizableColumns()", "class.acts-always": "rowActionsAlwaysVisible()", "class.is-loading": "loading()", "class.is-tree": "isTree()", "class.is-grouped": "isGrouped()", "class.has-tree-lines": "showTreeLines()", "class.is-stacked": "resp.stacked()", "class.hide-p2": "resp.hiddenPriorities().has(2)", "class.hide-p3": "resp.hiddenPriorities().has(3)", "class.hide-p4": "resp.hiddenPriorities().has(4)", "class.hide-p5": "resp.hiddenPriorities().has(5)", "class.is-scrolled-x": "sticky.scrolledX()", "class.is-scrolled-x-end": "sticky.scrolledXEnd()", "class.is-virtual": "virtualScroll()", "class.is-reorderable": "reorderableColumns()", "class.has-row-numbers": "showRowNumber()", "class.rows-draggable": "rowDragEnabled()", "class.has-col-menu": "hasColumnMenu()", "class.edit-cell": "editMode() === \"cell\"", "class.edit-row": "editMode() === \"row\" || editMode() === \"row-inline\"", "class.show-edit-icon": "editMode() === \"cell\" && showEditIcon()", "style.--_scroll-h": "scrollHeight() || null", "style.--_detail-pl": "detailPaddingLeft()", "style.--_indent": "indent()" }, classAttribute: "poad-table" }, viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "dtEl", first: true, predicate: ["dt"], descendants: true, isSignal: true }, { propertyName: "headerMenu", first: true, predicate: ["hmenu"], descendants: true, isSignal: true }, { propertyName: "filterMenu", first: true, predicate: ["fmenu"], descendants: true, isSignal: true }, { propertyName: "inMenu", first: true, predicate: ["inmenu"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<!-- Colonnes d\u00E9finies par l'entr\u00E9e [colonnes] : rendues en <poad-column> R\u00C9ELS (une\n colonne ne dessine rien, :host display none) et r\u00E9cup\u00E9r\u00E9es par la requ\u00EAte de VUE de\n la base \u2014 le moteur ne consomme qu'une seule esp\u00E8ce de colonne. -->\n@for (d of colonnes(); track d.field) {\n <poad-column\n [field]=\"d.field\"\n [header]=\"d.header ?? d.field\"\n [dataType]=\"d.dataType ?? 'text'\"\n [align]=\"d.align ?? 'left'\"\n [width]=\"d.width ?? ''\"\n [sortable]=\"d.sortable ?? false\"\n />\n}\n<div class=\"dt\" #dt [class]=\"'dt ' + styleClass()\">\n <!-- barre de s\u00E9lection contextuelle (remplace la barre d'outils) -->\n @if (selectedCount() > 0 && showSelectionBar()) {\n <div class=\"dt-sel\" role=\"region\" aria-live=\"polite\">\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n <span>{{ selectedLabel() === undefined && selectedLabelPlural() === undefined ? i18n.t('table.selectedCount', { n: selectedCount() }) : selectedCount() + ' ' + (selectedCount() > 1 ? (selectedLabelPlural() ?? selectedLabel()) : (selectedLabel() ?? selectedLabelPlural())) }}</span>\n <span class=\"dt-sel__grow\"></span>\n <ng-content select=\"[poadTableSelectionBar]\"/>\n <button type=\"button\" class=\"dt-sel__clear\" [attr.aria-label]=\"i18n.t('table.clearSelection')\" (click)=\"clearSelection()\"><poad-icon name=\"x\" [size]=\"14\"/></button>\n </div>\n } @else if (showToolbar()) {\n <div class=\"dt-bar\">\n @if (title()) {<span class=\"dt-bar__title\">{{ title() }}</span>}\n @if (showCount()) {<span class=\"dt-bar__count\">{{ count() ?? totalFiltered() }}</span>}\n @if (resp.stacked()) {\n <button type=\"button\" class=\"dt-bar__btn dt-bar__filters\" [class.is-on]=\"filtersOpen()\" [attr.aria-expanded]=\"filtersOpen()\" (click)=\"filtersOpen.set(!filtersOpen())\">\n <poad-icon name=\"filter\" [size]=\"13\"/>{{ i18n.text(filtersLabel(), 'table.filters') }}@if (activeFilterCount() > 0) {<span class=\"dt-bar__count\">{{ activeFilterCount() }}</span>}\n </button>\n }\n <span class=\"dt-bar__tools\" [class.is-open]=\"filtersOpen()\"><ng-content select=\"[poadTableToolbar]\"/></span>\n <span class=\"dt-bar__grow\"></span>\n @if (showSearch()) {\n <div class=\"dt-bar__search\">\n <poad-icon name=\"search\" [size]=\"14\"/>\n <input type=\"search\" [placeholder]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\" [value]=\"searchText()\" (input)=\"onSearch($any($event.target).value)\" [attr.aria-label]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\"/>\n @if (searchText()) {<button type=\"button\" class=\"dt-bar__clear\" [attr.aria-label]=\"i18n.t('table.clearSearch')\" (click)=\"onSearch('', true)\"><poad-icon name=\"x\" [size]=\"12\"/></button>}\n </div>\n }\n <span class=\"dt-bar__tools-end\"><ng-content select=\"[poadTableToolbarEnd]\"/></span>\n @if (columnToggle()) {\n <div class=\"dt-bar__cols\">\n <button type=\"button\" class=\"dt-bar__btn\" [class.is-on]=\"colsMenuOpen()\" aria-haspopup=\"true\" [attr.aria-expanded]=\"colsMenuOpen()\" (click)=\"colsMenuOpen.set(!colsMenuOpen())\">\n {{ i18n.text(columnsLabel(), 'table.columns') }} <poad-icon name=\"chevron-down\" [size]=\"12\"/>\n </button>\n @if (colsMenuOpen()) {\n <div class=\"dt-bar__menu\" role=\"menu\" (keydown.escape)=\"colsMenuOpen.set(false)\">\n <div class=\"dt-bar__menu-title\">{{ i18n.text(columnsLabel(), 'table.columns') }}</div>\n @for (c of orderedColumns(); track c.id(); let ci = $index; let first = $first; let last = $last) {\n <label [class.is-locked]=\"!c.toggleable()\">\n <poad-checkbox [value]=\"!c.hidden()\" [disabled]=\"!c.toggleable()\" (changed)=\"toggleColumn(c, !$event)\"/>\n <span>{{ c.header() || c.field() }}</span>\n @if (reorderableColumns()) {\n <span class=\"mv\" (click)=\"$event.stopPropagation(); $event.preventDefault()\">\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveUp')\" [disabled]=\"first\" (click)=\"moveColumn(ci, ci - 1)\"><poad-icon name=\"chevron-up\" [size]=\"12\"/></button>\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveDown')\" [disabled]=\"last\" (click)=\"moveColumn(ci, ci + 1)\"><poad-icon name=\"chevron-down\" [size]=\"12\"/></button>\n </span>\n }\n </label>\n }\n </div>\n }\n </div>\n }\n @if (showDensityToggle()) {\n <button type=\"button\" class=\"dt-bar__btn is-ghost dt-bar__density\" [class.is-on]=\"dense()\" [attr.aria-pressed]=\"dense()\" [attr.aria-label]=\"i18n.t('table.density')\" [title]=\"i18n.t('table.density')\" (click)=\"dense.set(!dense())\"><poad-icon name=\"chevrons-up-down\" [size]=\"14\"/></button>\n }\n </div>\n }\n\n @if (showGroupZone() && !resp.stacked()) {\n <div class=\"dt-gz\" [class.is-empty]=\"!groupFields().length\" cdkDropList [id]=\"gzId\" cdkDropListOrientation=\"horizontal\" [cdkDropListData]=\"groupFields()\" [cdkDropListEnterPredicate]=\"gzEnter\" (cdkDropListDropped)=\"onGroupZoneDrop($event)\">\n <poad-icon name=\"layers\" [size]=\"14\"/>\n @if (!groupFields().length) {<span class=\"dt-gz__hint\">{{ i18n.text(groupZoneLabel(), 'table.groupZone') }}</span>}\n @for (f of groupFields(); track f) {\n <span class=\"dt-gz__chip\" cdkDrag [cdkDragData]=\"f\" cdkDragLockAxis=\"x\"><poad-icon name=\"drag\" [size]=\"11\" class=\"dt-gz__drag\"/><span>{{ groupChipLabel(f) }}</span><button type=\"button\" [attr.aria-label]=\"i18n.t('table.ungroupBy', { label: groupChipLabel(f) })\" (click)=\"ungroup(f)\"><poad-icon name=\"x\" [size]=\"11\"/></button></span>\n }\n </div>\n }\n\n <div class=\"dt-scroll\" #scroller (scroll)=\"onScroll()\">\n @if (loading() && hasData()) {<div class=\"dt-loading\"><poad-icon name=\"loader\" [size]=\"22\" spin/></div>}\n @let ta = tableAttrs();\n <table class=\"tbl\" [class]=\"'tbl ' + tableClass()\" [style]=\"tableStyle()\" [attr.aria-busy]=\"ta['aria-busy']\" [attr.aria-rowcount]=\"ta['aria-rowcount']\" [attr.role]=\"ta.role\" [attr.aria-multiselectable]=\"ta['aria-multiselectable']\">\n @if (captionTpl()) {<caption><ng-container *ngTemplateOutlet=\"captionTpl()!.tpl\"/></caption>}\n <colgroup>\n @if (hasNumberColumn()) {<col style=\"width:44px\">}\n @if (hasSelectionColumn()) {<col style=\"width:36px\">}\n @if (rowDragEnabled()) {<col style=\"width:28px\">}\n @if (hasExpandColumn()) {<col style=\"width:30px\">}\n @for (c of visibleColumns(); track c.id()) {<col [style.width]=\"colWidth(c)\" [style.min-width]=\"c.minWidth() || null\" [style.max-width]=\"c.maxWidth() || null\">}\n @if (hasActionsColumn()) {<col [style.width]=\"rowActionsWidth()\">}\n </colgroup>\n <thead>\n @let hgRows = headerGroups().length && !resp.stacked() ? 1 : 0;\n @if (hgRows) {\n <tr class=\"hg\" [attr.aria-rowindex]=\"headerRowAttrs(0)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (g of headerGroups(); track $index) {<th scope=\"colgroup\" [attr.colspan]=\"g.span\" [class]=\"'hg-cell ' + (g.class || '')\">{{ g.header }}</th>}\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n <tr [attr.aria-rowindex]=\"headerRowAttrs(hgRows)['aria-rowindex']\" cdkDropList cdkDropListOrientation=\"horizontal\" [cdkDropListDisabled]=\"!reorderableColumns() && !showGroupZone()\" [cdkDropListSortingDisabled]=\"!reorderableColumns()\" [cdkDropListConnectedTo]=\"showGroupZone() ? [gzId] : []\" (cdkDropListDropped)=\"onColumnDrop($event)\">\n @if (hasNumberColumn()) {<th class=\"col-num\" scope=\"col\" data-sk=\"num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">#</th>}\n @if (hasSelectionColumn()) {\n <th class=\"col-sel\" scope=\"col\" data-sk=\"sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (selectionMode() === 'multiple' && selectAll()) {\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n }\n </th>\n }\n @if (rowDragEnabled()) {<th class=\"col-drag\" scope=\"col\" data-sk=\"drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"><span hidden>{{ i18n.t('table.move') }}</span></th>}\n @if (hasExpandColumn()) {<th class=\"col-exp\" scope=\"col\" data-sk=\"exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"><span hidden>{{ i18n.t('table.detail') }}</span></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th scope=\"col\" [attr.data-sk]=\"c.id()\" [class]=\"thClass(c) + (canDrag(c) ? ' can-drag' : '') + (showsMenu(c) ? ' has-menu' : '') + (hasColFilter(c) ? ' is-filtered' : '')\" [attr.aria-sort]=\"ariaSort(c)\" [style.width]=\"colWidth(c)\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\"\n cdkDrag [cdkDragDisabled]=\"!canDrag(c)\" [cdkDragData]=\"c\" [cdkDragLockAxis]=\"showGroupZone() ? null : 'x'\" cdkDragPreviewClass=\"dt-th-preview\" [cdkDragBoundary]=\"showGroupZone() ? '' : '.tbl thead'\">\n @if (canDrag(c)) {<span class=\"dh\" cdkDragHandle aria-hidden=\"true\" [title]=\"i18n.t('table.moveColumn')\"><poad-icon name=\"drag\" [size]=\"12\"/></span>}\n @if (c.headerTpl()) {\n <ng-container *ngTemplateOutlet=\"c.headerTpl()!.tpl; context: { $implicit: c }\"/>\n } @else if (c.sortable()) {\n <button type=\"button\" class=\"hd\" (click)=\"sort(c, $event)\" [attr.aria-label]=\"i18n.t('table.sortBy', { column: c.header() })\">\n <span class=\"hd-txt\">{{ c.header() }}</span>\n <poad-icon [name]=\"sortIcon(c)\" [size]=\"12\"/>\n @if (sortMode() === 'multiple' && sortIndex(c) > 0) {<span class=\"hd-idx\">{{ sortIndex(c) }}</span>}\n </button>\n } @else {\n <span class=\"hd\"><span class=\"hd-txt\">{{ c.header() }}</span></span>\n }\n @if (showsMenu(c)) {<button type=\"button\" class=\"hm\" [class.is-on]=\"menuColumn() === c && !!headerMenu()?.visible()\" [attr.aria-label]=\"i18n.t('table.columnMenu')\" aria-haspopup=\"menu\" (click)=\"openHeaderMenu(c, $event)\" (pointerdown)=\"$event.stopPropagation()\"><poad-icon name=\"more-vertical\" [size]=\"13\"/></button>}\n @if (isResizable(c)) {<span class=\"rz\" [class.is-active]=\"resizingId() === c.id()\" (pointerdown)=\"startResize($event, c)\" aria-hidden=\"true\"></span>}\n </th>\n }\n @if (hasActionsColumn()) {<th class=\"col-acts\" scope=\"col\" data-sk=\"acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span hidden>{{ i18n.t('table.actions') }}</span></th>}\n </tr>\n @if (hasFilterRow()) {\n <tr class=\"flt\" [attr.aria-rowindex]=\"headerRowAttrs(hgRows + 1)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th [class]=\"stickyClass(c.id())\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\">\n @if (c.filterable()) {\n @if (c.filterTpl()) {\n <ng-container *ngTemplateOutlet=\"c.filterTpl()!.tpl; context: { $implicit: c, value: filterValue(c), filter: filterFn(c) }\"/>\n } @else {\n @let kind = filterKind(c);\n @let op = filterOp(c);\n <div class=\"flt-cell\" [class.is-active]=\"hasColFilter(c)\" [class.is-range]=\"op.range\">\n @if (kind === 'boolean') {\n <select [value]=\"filterValue(c) == null ? '' : '' + filterValue(c)\" (change)=\"setFilter(c, $any($event.target).value === '' ? null : $any($event.target).value === 'true')\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\">\n <option value=\"\">{{ c.filterPlaceholder() || i18n.t('filter.any') }}</option><option value=\"true\">{{ i18n.t('common.yes') }}</option><option value=\"false\">{{ i18n.t('common.no') }}</option>\n </select>\n } @else if (kind === 'select' && op.mode !== 'eq') {\n <button type=\"button\" class=\"flt-in\" [class.is-ph]=\"!filterArray(c).length\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\" (click)=\"openInMenu(c, $event)\">\n <span>{{ filterArray(c).length ? i18n.t('filter.selectedCount', { n: filterArray(c).length }) : (c.filterPlaceholder() || i18n.t('filter.any')) }}</span><poad-icon name=\"chevron-down\" [size]=\"11\"/>\n </button>\n } @else if (kind === 'select') {\n <select [value]=\"filterValue(c) ?? ''\" (change)=\"setFilter(c, $any($event.target).value || null, 'eq')\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\">\n <option value=\"\">{{ c.filterPlaceholder() || i18n.t('filter.any') }}</option>\n @for (o of c.filterOptions(); track $index) {<option [value]=\"o.value\" [selected]=\"o.value === filterValue(c)\">{{ o.label }}</option>}\n </select>\n } @else if (!op.needsValue) {\n <span class=\"flt-txt\">{{ opLabel(op) }}</span>\n } @else if (op.range) {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"i18n.t('filter.min')\" (input)=\"setFilterPart(c, 0, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMin', { column: c.header() })\"/>\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 1)\" [placeholder]=\"i18n.t('filter.max')\" (input)=\"setFilterPart(c, 1, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMax', { column: c.header() })\"/>\n } @else {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"c.filterPlaceholder() || opLabel(op)\" (input)=\"setFilterDebounced(c, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\"/>\n }\n @if (kind !== 'boolean') {\n <button type=\"button\" class=\"flt-op\" [class.is-on]=\"hasColFilter(c) || op.mode !== filterOp(c).mode\" [attr.aria-label]=\"i18n.t('filter.operator', { label: opLabel(op) })\" [title]=\"opLabel(op)\" (click)=\"openFilterMenu(c, $event)\"><poad-icon name=\"filter\" [size]=\"12\"/></button>\n }\n @if (hasColFilter(c)) {<button type=\"button\" class=\"flt-x\" [attr.aria-label]=\"i18n.t('filter.clear')\" (click)=\"clearColumnFilter(c)\"><poad-icon name=\"x\" [size]=\"11\"/></button>}\n </div>\n }\n }\n </th>\n }\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n </thead>\n <tbody cdkDropList [cdkDropListDisabled]=\"!rowDragEnabled()\" cdkDropListLockAxis=\"y\" (cdkDropListDropped)=\"onRowDrop($event)\">\n @if (bodyState() === 'skeleton') {\n @for (i of skeletonRows(); track i) {\n <tr class=\"dt-row is-skeleton\" aria-hidden=\"true\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id()) {<td [class]=\"tdClass(c)\"><div class=\"skel\" [style.width.%]=\"skeletonWidth(i, $index)\" [style.margin-left]=\"alignOf(c) === 'right' ? 'auto' : null\"></div></td>}\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n } @else if (bodyState() === 'empty') {\n <tr class=\"dt-empty\"><td [attr.colspan]=\"colspan()\">\n @if (emptyTpl()) {<ng-container *ngTemplateOutlet=\"emptyTpl()!.tpl\"/>}\n @else {\n <div class=\"empty\">\n @if (emptyIcon()) {<poad-icon [name]=\"emptyIcon()\" [size]=\"26\" [strokeWidth]=\"1.5\"/>}\n <b>{{ i18n.text(emptyMessage(), 'table.empty') }}</b>\n @if (emptyHint()) {<span>{{ emptyHint() }}</span>}\n </div>\n }\n </td></tr>\n } @else {\n @if (virtual.range().topPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().topPad\"></td></tr>}\n @for (d of renderRows(); track d.trackKey; let vi = $index) {\n @let i = vi + virtual.range().start;\n @if (d.kind === 'group') {\n <!-- en-t\u00EAte de groupe -->\n <tr class=\"dt-group\" [class.is-expanded]=\"d.node!.expanded\" [style.--_lvl]=\"d.level\" role=\"row\" [attr.aria-level]=\"d.level + 1\" [attr.aria-expanded]=\"d.node!.expanded\">\n <td [attr.colspan]=\"colspan()\" class=\"dt-group__cell\">\n <div class=\"dt-group__inner\">\n @if (hasSelectionColumn() && selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectGroup', { label: d.node!.group!.label })\" (changed)=\"toggleGroupSelection(d, $event)\"/>\n }\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"d.node!.expanded\" [attr.aria-label]=\"d.node!.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleGroup(d.node!)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n @if (groupHeaderTpl()) {\n <ng-container *ngTemplateOutlet=\"groupHeaderTpl()!.tpl; context: groupCtx(d)\"/>\n } @else {\n <span class=\"dt-group__label\">{{ d.node!.group!.label }}</span>\n <span class=\"dt-group__count\">{{ d.node!.group!.count }}</span>\n }\n </div>\n </td>\n </tr>\n } @else if (d.kind === 'groupFooter') {\n <!-- pied de groupe (agr\u00E9gats) -->\n <tr class=\"dt-group-foot\" [style.--_lvl]=\"d.level\">\n @if (groupFooterTpl()) {\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"groupFooterTpl()!.tpl; context: groupCtx(d)\"/></td>\n } @else {\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {<span class=\"dt-group-foot__label\">{{ i18n.t('table.total', { label: d.node!.group!.label }) }}</span>}\n @else if (hasAggregate(c)) {{{ formatCell(d.node!.group!.aggregates[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n }\n </tr>\n } @else if (resp.stacked() && cardTpl()) {\n <!-- carte custom (mode stack) -->\n @let ca = rowAttrs(d, i);\n <tr class=\"dt-row dt-card\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [attr.tabindex]=\"ca.tabindex\" [attr.aria-selected]=\"ca.selected\" [attr.aria-rowindex]=\"ca.rowindex\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"cardTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, selected: isSelected(d.row) }\"/></td>\n </tr>\n } @else {\n <!-- ligne -->\n @let ra = rowAttrs(d, i);\n <tr class=\"dt-row\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [style.--_lvl]=\"d.level\" [attr.data-key]=\"d.key\" [class.is-editing-row]=\"isRowEditing(d.row)\"\n cdkDrag [cdkDragDisabled]=\"!canDragRow(d.row)\" [cdkDragData]=\"d.row\" cdkDragLockAxis=\"y\" cdkDragPreviewClass=\"dt-tr-preview\" cdkDragBoundary=\".tbl\"\n [attr.tabindex]=\"ra.tabindex\" [attr.aria-selected]=\"ra.selected\" [attr.aria-rowindex]=\"ra.rowindex\"\n [attr.role]=\"hierarchical() ? 'row' : null\" [attr.aria-level]=\"hierarchical() ? d.level + 1 : null\" [attr.aria-expanded]=\"d.node?.hasChildren ? d.node!.expanded : null\"\n [attr.aria-setsize]=\"d.node ? d.node.setSize : null\" [attr.aria-posinset]=\"d.node ? d.node.posInSet : null\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (dblclick)=\"rowDblClick.emit({ row: d.row, index: i, event: $event })\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n @if (hasNumberColumn()) {<td class=\"col-num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">{{ rowNumber(d) }}</td>}\n @if (hasSelectionColumn()) {\n <td class=\"col-sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (canSelect(d.row)) {\n @if (selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"toggleRow(d.row, i, $event)\"/>\n } @else {\n <poad-checkbox [value]=\"isSelected(d.row)\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"selectSingle(d.row, i)\"/>\n }\n }\n </td>\n }\n @if (rowDragEnabled()) {\n <td class=\"col-drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\">\n @if (canDragRow(d.row)) {<span class=\"rdh\" cdkDragHandle [title]=\"i18n.t('table.moveRow')\" aria-hidden=\"true\"><poad-icon name=\"drag\" [size]=\"13\"/></span>}\n </td>\n }\n @if (hasExpandColumn()) {\n <td class=\"col-exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\">\n @if (canExpand(d.row)) {\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"isExpanded(d.row)\" [attr.aria-label]=\"isExpanded(d.row) ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleExpand(d.row, $event)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n }\n </td>\n }\n @for (c of visibleColumns(); track c.id(); let cFirst = $first) {\n <td [class]=\"tdClass(c) + ' ' + stickyClass(c.id()) + (isTreeColumn(c) ? ' dt-tree-cell' : '') + (cFirst ? ' dt-first' : '') + (editUi.canEditCell(c) ? ' is-editable' : '') + (edit.isEditing(d.row, c) ? ' is-editing' : '')\"\n [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\" [attr.data-l]=\"c.header()\"\n (click)=\"editUi.onCellClick(d.row, c, $event, false)\" (dblclick)=\"editUi.onCellClick(d.row, c, $event, true)\">\n @if (edit.isEditing(d.row, c) && c.field()) {\n <!-- \u00E9diteur inline (mode cell ou row) -->\n <div class=\"dt-editor\" [class.is-invalid]=\"!!edit.cellError(d.row, c)\" (click)=\"$event.stopPropagation()\" (dblclick)=\"$event.stopPropagation()\" (keydown)=\"editUi.onKey(d.row, c, $event)\" (focusout)=\"editUi.onBlur(d.row, c)\">\n @if (c.editorTpl()) {\n <ng-container *ngTemplateOutlet=\"c.editorTpl()!.tpl; context: editUi.ctxFor(d.row, c, i)\"/>\n } @else {\n @switch (c.editor()) {\n @case ('select') {\n <select poadEditFocus [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).value)\">\n @for (o of c.effectiveEditorOptions(); track $index) {<option [value]=\"o.value\" [selected]=\"o.value === edit.valueOf(d.row, c)\">{{ o.label }}</option>}\n </select>\n }\n @case ('checkbox') {<input type=\"checkbox\" poadEditFocus [checked]=\"!!edit.valueOf(d.row, c)\" [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).checked)\"/>}\n @case ('textarea') {<textarea poadEditFocus rows=\"3\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"></textarea>}\n @default {<input poadEditFocus [type]=\"editUi.inputType(c)\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" [attr.aria-invalid]=\"edit.cellError(d.row, c) ? 'true' : null\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"/>}\n }\n }\n @if (edit.cellError(d.row, c)) {<span class=\"dt-editor__err\" role=\"alert\">{{ edit.cellError(d.row, c) }}</span>}\n </div>\n } @else {\n @if (editUi.canEditCell(c) && showEditIcon()) {<button type=\"button\" class=\"ce\" tabindex=\"-1\" [attr.aria-label]=\"i18n.t('common.edit')\" (click)=\"$event.stopPropagation(); editUi.startEdit(d.row, c)\"><poad-icon name=\"edit\" [size]=\"11\"/></button>}\n @if (isTreeColumn(c) && d.node) {\n <span class=\"poad-tree-toggle\" [style.--_lvl]=\"d.level\">\n @if (showTreeLines()) { @for (l of levelsOf(d.level); track l) {<i class=\"tl\" aria-hidden=\"true\"></i>} }\n @else {<i class=\"ind\" aria-hidden=\"true\"></i>}\n <button type=\"button\" class=\"tg\" [class.is-leaf]=\"!d.node.hasChildren\" [class.is-open]=\"d.node.expanded\" [attr.tabindex]=\"d.node.hasChildren ? 0 : -1\"\n [attr.aria-expanded]=\"d.node.hasChildren ? d.node.expanded : null\" [attr.aria-label]=\"d.node.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleNode(d.node, $event)\">\n @if (d.node.loading) {<poad-icon name=\"loader\" [size]=\"12\" spin/>} @else {<poad-icon name=\"chevron-right\" [size]=\"13\"/>}\n </button>\n @if (treeIconOf(d.row)) {<poad-icon class=\"ic\" [name]=\"treeIconOf(d.row)!\" [size]=\"14\"/>}\n </span>\n }\n @if (c.cellTpl()) {\n <ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: d.node?.expanded ?? false, hasChildren: d.node?.hasChildren ?? false, node: d.node }\"/>\n } @else {<span class=\"cell-txt\">{{ formatCell(cell(d.row, c), c) }}</span>}\n }\n </td>\n }\n @if (hasActionsColumn()) {\n <td class=\"col-acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span class=\"acts\" (click)=\"$event.stopPropagation()\">\n @if ((editMode() === 'row' || editMode() === 'row-inline') && showRowEditButton()) {\n @if (isRowEditing(d.row)) {\n <button type=\"button\" class=\"re ok\" [attr.aria-label]=\"i18n.t('table.saveRow')\" [title]=\"i18n.t('common.save')\" (click)=\"saveRowEdit(d.row)\"><poad-icon name=\"check\" [size]=\"15\"/></button>\n <button type=\"button\" class=\"re ko\" [attr.aria-label]=\"i18n.t('table.cancelEdit')\" [title]=\"i18n.t('common.cancel')\" (click)=\"cancelRowEdit(d.row)\"><poad-icon name=\"x\" [size]=\"15\"/></button>\n } @else {\n <button type=\"button\" class=\"re\" [attr.aria-label]=\"i18n.t('table.editRow')\" [title]=\"i18n.t('common.edit')\" (click)=\"initRowEdit(d.row)\"><poad-icon name=\"edit\" [size]=\"14\"/></button>\n }\n }\n @if (rowActionsTpl()) {<ng-container *ngTemplateOutlet=\"rowActionsTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, editing: isRowEditing(d.row) }\"/>}\n </span></td>\n }\n </tr>\n @if (isExpanded(d.row) && hasExpandColumn()) {\n <tr class=\"dt-detail\" [style.--_lvl]=\"d.level\"><td [attr.colspan]=\"colspan()\">\n @if (expansionTpl()) {\n <ng-container *ngTemplateOutlet=\"expansionTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, hiddenColumns: hiddenByPriority(), node: d.node }\"/>\n } @else {\n <div class=\"kv\">\n @for (c of hiddenByPriority(); track c.id()) {<div><b>{{ c.header() || c.field() }}</b>\n @if (c.cellTpl()) {<ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: false, hasChildren: false, node: d.node }\"/>}\n @else {{{ formatCell(cell(d.row, c), c) }}}\n </div>}\n </div>\n }\n </td></tr>\n }\n }\n }\n @if (virtual.range().bottomPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().bottomPad\"></td></tr>}\n }\n </tbody>\n @if (footerTpl() || showGrandTotalRow()) {\n <tfoot>\n @if (showGrandTotalRow()) {\n <tr class=\"dt-grand\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {{{ i18n.text(grandTotalLabel(), 'table.grandTotal') }}}\n @else if (hasAggregate(c)) {{{ formatCell(grandTotal()[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n @if (footerTpl()) {<ng-container *ngTemplateOutlet=\"footerTpl()!.tpl; context: { $implicit: pageData(), columns: visibleColumns(), aggregates: grandTotal() }\"/>}\n </tfoot>\n }\n </table>\n </div>\n\n @if ((usePaginator() && (paginationTotal() > 0 || lazy())) || showRowCount()) {\n <div class=\"dt-foot\" [class.has-count]=\"showRowCount()\">\n @if (showRowCount()) {\n <span class=\"dt-foot__count\">\n @if (rowCountTpl()) {<ng-container *ngTemplateOutlet=\"rowCountTpl()!.tpl; context: { $implicit: totalRows(), total: totalRows(), filtered: totalFiltered(), selected: selectedCount() }\"/>}\n @else {{{ rowCountLabel() === undefined ? i18n.t('table.rowCount', { n: totalRows() }) : totalRows() + ' ' + rowCountLabel() }}@if (totalFiltered() !== totalRows()) { \u00B7 {{ i18n.t('table.filteredCount', { n: totalFiltered() }) }}}@if (selectedCount() > 0) { \u00B7 {{ i18n.t('table.selectedRows', { n: selectedCount() }) }}}}\n </span>\n }\n @if (usePaginator() && (paginationTotal() > 0 || lazy())) {\n <poad-paginator [first]=\"first()\" [rows]=\"rows()\" [totalRecords]=\"paginationTotal()\" [rowsPerPageOptions]=\"rowsPerPageOptions()\" [pageLinks]=\"resp.stacked() ? 3 : pageLinks()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\" [currentPageReportTemplate]=\"currentPageReportTemplate()\" [showFirstLastIcon]=\"showFirstLastIcon()\"\n [alwaysShow]=\"alwaysShowPaginator()\" (pageChange)=\"onPage($event)\"/>\n }\n </div>\n }\n <poad-menu #hmenu popup [items]=\"menuItems()\" [ariaLabel]=\"i18n.t('table.columnMenu')\"/>\n <poad-menu #fmenu popup [items]=\"filterMenuItems()\" [ariaLabel]=\"i18n.t('filter.operatorMenu')\" [minWidth]=\"200\"/>\n <poad-menu #inmenu popup [closeOnSelect]=\"false\" [items]=\"inMenuItems()\" [ariaLabel]=\"i18n.t('filter.valuesMenu')\" [minWidth]=\"180\"/>\n</div>\n", styles: [".poad-table{--_row-h: var(--poad-table-row-h, 42px);--_cell-px: 12px;display:block;min-width:0;max-width:100%;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.poad-table.is-dense{--_row-h: 34px}.poad-table .dt{border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);background:var(--poad-surface);overflow:hidden;position:relative}.poad-table.poad-table.is-borderless .dt{border:0;border-radius:0}.poad-table .dt-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--poad-border);flex-wrap:wrap}.poad-table .dt-bar__title{font-weight:600;font-size:13.5px;margin-inline-end:4px}.poad-table .dt-bar__count{font:500 11px var(--poad-font-mono);padding:2px 7px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table .dt-bar__grow{flex:1}.poad-table .dt-bar__search{position:relative;display:flex;align-items:center;width:240px;max-width:100%}.poad-table.poad-table .dt-bar__search .poad-icon{position:absolute;inset-inline-start:9px;color:var(--poad-fg-muted);pointer-events:none}.poad-table.poad-table .dt-bar__search input{width:100%;box-sizing:border-box;height:30px;padding-block:0;padding-inline:30px 28px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .dt-bar__search input::placeholder{color:var(--poad-fg-muted)}.poad-table.poad-table .dt-bar__search input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-bar__search .dt-bar__clear{position:absolute;inset-inline-end:6px;border:0;background:transparent;color:var(--poad-fg-muted);cursor:pointer;display:grid;place-items:center;padding:2px;border-radius:4px}.poad-table.poad-table .dt-bar__search .dt-bar__clear:hover{color:var(--poad-fg);background:var(--poad-hover)}.poad-table .dt-bar__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:26px;padding:0 8px;border-radius:var(--poad-radius-sm);border:1px solid var(--poad-border-strong);background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;white-space:nowrap}.poad-table .dt-bar__btn:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table .dt-bar__btn:focus-visible{outline:2px solid var(--poad-ring);outline-offset:1px}.poad-table .dt-bar__btn.is-ghost{border-color:transparent;width:26px;padding:0}.poad-table .dt-bar__btn.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table .dt-bar__cols{position:relative}.poad-table .dt-bar__menu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:20;min-width:200px;max-height:280px;overflow:auto;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:9px;box-shadow:var(--poad-shadow-lg);padding:4px}.poad-table.poad-table .dt-bar__menu label{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:var(--poad-font-size)}.poad-table.poad-table .dt-bar__menu label:hover{background:var(--poad-hover)}.poad-table.poad-table .dt-bar__menu label.is-locked{opacity:.5;cursor:default}.poad-table .dt-bar__menu-title{font:600 10px/1 var(--poad-font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--poad-fg-muted);padding:6px 8px 4px}.poad-table .dt-sel{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--poad-accent-soft);border-bottom:1px solid var(--poad-border);font-size:12.5px;color:var(--poad-accent);font-weight:500;min-height:47px;box-sizing:border-box}.poad-table .dt-sel__grow{flex:1}.poad-table .dt-sel__clear{border:0;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;width:26px;height:26px;border-radius:6px}.poad-table .dt-sel__clear:hover{background:var(--poad-accent-soft)}.poad-table .dt-scroll{overflow:auto;position:relative}.poad-table.poad-table.has-scroll-height .dt-scroll{max-height:var(--_scroll-h);scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent;scrollbar-gutter:stable}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar{width:10px;height:10px}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table .dt-loading{position:absolute;inset:0;display:grid;place-items:center;background:color-mix(in srgb,var(--poad-surface) 55%,transparent);z-index:5}.poad-table.poad-table .dt-loading .poad-icon{color:var(--poad-accent)}.poad-table .tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:var(--poad-font-size)}.poad-table.poad-table.is-resizable .tbl{table-layout:fixed}.poad-table.poad-table .tbl>caption{text-align:start;padding:10px 12px;font-weight:600;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th{position:relative;text-align:start;font-weight:600;font-size:var(--poad-font-size-sm);color:var(--poad-fg-secondary);background:var(--poad-bg-subtle);padding:0 var(--_cell-px);height:38px;border-bottom:1px solid var(--poad-border);white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th{position:sticky;top:0;z-index:3}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right{text-align:end}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-center{text-align:center}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left{position:sticky;inset-inline-start:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;inset-inline-end:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right{background:var(--poad-bg-subtle);z-index:4}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd{display:inline-flex;align-items:center;gap:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right>.hd{flex-direction:row-reverse}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-txt{overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd{all:unset;display:inline-flex;align-items:center;gap:4px;cursor:pointer;border-radius:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd:focus-visible{outline:2px solid var(--poad-ring);outline-offset:2px}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{opacity:0;transition:opacity var(--poad-dur);flex:none}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hd>.poad-icon{opacity:.6}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd>.poad-icon{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-idx{font:600 9px var(--poad-font-mono);background:var(--poad-accent-soft);color:var(--poad-accent);border-radius:999px;padding:1px 4px}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz{position:absolute;inset-inline-end:0;top:8px;bottom:8px;width:5px;cursor:col-resize;z-index:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:after{content:\"\";position:absolute;inset-inline-end:2px;top:0;bottom:0;width:1px;background:var(--poad-border);transition:background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:hover:after,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz.is-active:after{background:var(--poad-accent);width:2px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-sel,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{width:36px;padding-inline-end:0}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-exp,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{width:30px;padding:0 4px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-acts,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{text-align:end;white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{height:auto;padding:6px var(--_cell-px);background:var(--poad-surface);font-weight:400}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>select{width:100%;box-sizing:border-box;height:26px;padding:0 8px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input:focus,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>select:focus{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td{padding:0 var(--_cell-px);height:var(--_row-h);border-bottom:1px solid var(--poad-border);vertical-align:middle;font-variant-numeric:tabular-nums;box-sizing:border-box}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-right{text-align:end}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-center,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-center{text-align:center}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{font-family:var(--poad-font-mono);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-nowrap,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th{border-inline-end:1px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th:last-child{border-inline-end:0}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:last-child>td{border-bottom:0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td{background:var(--poad-hover)}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selectable{cursor:pointer}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible>td{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent),inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-expanded :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transform:rotate(90deg)}.poad-table.poad-table .tbl :where(td.col-acts)>.acts{display:inline-flex;gap:2px;align-items:center;opacity:0;transition:opacity var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:hover>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:hover:where(.dt-grand)>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-selected>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:focus-within>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:focus-within:where(.dt-grand)>:where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.acts-always .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{background:var(--poad-bg-subtle);height:auto;padding-block:12px 14px;padding-inline:var(--_detail-pl, 58px) var(--_cell-px)}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-detail:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>tfoot>:where(tr.dt-grand)>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg-secondary);border-top:1px solid var(--poad-border);border-bottom:0}.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 22px;font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv>:where(div)>b{display:block;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin-bottom:4px}.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{height:12px;border-radius:4px;background:linear-gradient(90deg,var(--poad-elevated),var(--poad-hover),var(--poad-elevated));background-size:200% 100%;animation:poad-tbl-sh 1.4s infinite}@keyframes poad-tbl-sh{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{animation:none}.poad-table.poad-table .tbl :where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{transition:none}}.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty{display:grid;place-items:center;gap:6px;padding:34px 12px;text-align:center;color:var(--poad-fg-secondary);font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>.poad-icon{color:var(--poad-fg-muted)}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>b{color:var(--poad-fg);font-size:var(--poad-font-size)}.poad-table .dt-foot{display:flex;align-items:center;gap:14px;padding:8px 12px;border-top:1px solid var(--poad-border)}.poad-table.poad-table .dt-foot .poad-paginator{flex:1}\n", ".poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;z-index:2;background:var(--poad-surface);background-clip:padding-box}.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-right{z-index:4;background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-right{z-index:5}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-right{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-right{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-left,.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-right{background:color-mix(in srgb,var(--poad-accent) 12%,var(--poad-surface))}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-last-left{transition:box-shadow var(--poad-dur)}.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(thead)>:where(tr)>th.st-last-left{box-shadow:1px 0 0 var(--poad-border),6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tbody)>:where(tr)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(thead)>:where(tr)>th.st-first-right{box-shadow:-1px 0 0 var(--poad-border),-6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right.col-acts>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right.col-acts>.acts{background:inherit}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.cell-txt,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.cell-txt{white-space:normal}.poad-table .poad-tree-toggle{display:inline-flex;align-items:center;vertical-align:middle;margin-right:4px}.poad-table.poad-table .poad-tree-toggle .ind{display:inline-block;width:calc(var(--_lvl, 0) * var(--_indent, 20px));flex:none}.poad-table.poad-table .poad-tree-toggle .tl{display:inline-block;width:var(--_indent, 20px);align-self:stretch;flex:none;position:relative}.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{padding-top:0;padding-bottom:0}.poad-table.poad-table.has-tree-lines .poad-tree-toggle{align-self:stretch;height:var(--_row-h)}.poad-table.poad-table.poad-table.has-tree-lines .poad-tree-toggle .tl:before{content:\"\";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid var(--poad-border)}.poad-table.poad-table .poad-tree-toggle .tg{width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0;flex:none}.poad-table.poad-table .poad-tree-toggle .tg:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .poad-tree-toggle .tg:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg.is-open .poad-icon{transform:rotate(90deg)}.poad-table.poad-table .poad-tree-toggle .tg.is-leaf{visibility:hidden;pointer-events:none}.poad-table.poad-table .poad-tree-toggle .ic{color:var(--poad-fg-muted);margin:0 6px 0 2px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.lvl-0.has-children>td.dt-tree-cell{font-weight:500}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group>td{background:var(--poad-bg-subtle);height:34px;padding:0 var(--_cell-px);border-bottom:1px solid var(--poad-border)}.poad-table .dt-group__inner{display:flex;align-items:center;gap:6px;padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px));font-weight:600;font-size:var(--poad-font-size-sm)}.poad-table.poad-table .dt-group__inner .exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-group__inner .exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-group__inner .exp .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group.is-expanded .dt-group__inner .exp .poad-icon{transform:rotate(90deg)}.poad-table .dt-group__count{font:500 10.5px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td{background:var(--poad-bg-subtle);height:32px;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td.dt-num,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr.dt-grand>td.dt-num{font-family:var(--poad-font-mono);font-weight:600}.poad-table .dt-group-foot__label{padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px) + 26px);font-weight:500}.poad-table.poad-table.poad-table.poad-table .tbl>tfoot>tr.dt-grand>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg);border-top:2px solid var(--poad-border);height:36px}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group:hover>td,.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group-foot:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{padding-left:calc(var(--_detail-pl, 58px) + var(--_lvl, 0) * var(--_indent, 20px))}.poad-table .dt-bar__tools,.poad-table .dt-bar__tools-end{display:contents}.poad-table .dt-bar__filters{display:inline-flex}.poad-table.poad-table .dt-bar__filters .dt-bar__count{padding:1px 6px;font-size:10px}.poad-table.poad-table.is-stacked .dt-bar{gap:8px}.poad-table.poad-table.is-stacked .dt-bar__tools{display:none}.poad-table.poad-table.is-stacked .dt-bar__tools.is-open{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-basis:100%;order:10;padding-top:8px;border-top:1px dashed var(--poad-border)}.poad-table.poad-table.is-stacked .dt-bar__grow{display:none}.poad-table.poad-table.is-stacked .dt-bar__search{order:5;flex-basis:100%;width:100%}.poad-table.poad-table.is-stacked .dt-bar__cols,.poad-table.poad-table.is-stacked .dt-bar__density{display:none}.poad-table.poad-table.is-stacked .dt-sel{position:sticky;bottom:0;z-index:6;flex-wrap:wrap;border-top:1px solid var(--poad-border);order:99}.poad-table.poad-table.is-stacked .dt-scroll{overflow-x:hidden}.poad-table.poad-table.is-stacked .tbl,.poad-table.poad-table.poad-table.is-stacked .tbl>tbody,.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>tr:where(.dt-grand),.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>thead,.poad-table.poad-table.poad-table.is-stacked .tbl>colgroup,.poad-table.poad-table.poad-table.is-stacked .tbl>caption{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row{position:relative;padding:10px 12px;border-bottom:1px solid var(--poad-border);height:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.has-sel{padding-left:44px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected{background:var(--poad-accent-soft);box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover>td,.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected>td,.poad-table.poad-table.poad-table.poad-table.is-striped.is-stacked .tbl>:where(thead,tbody)>tr.dt-row>td{background:transparent!important;box-shadow:none!important}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:focus-visible{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{height:auto;padding:2px 0;border:0;white-space:normal;display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12.5px;position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td[data-l]:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td[data-l]:before{content:attr(data-l);color:var(--poad-fg-muted);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;flex:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{position:absolute;left:12px;top:12px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first:before{content:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{position:absolute;right:44px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{display:block;font-size:14px;font-weight:500;padding:0 44px 6px 0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .tl,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .tl{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{position:absolute;right:8px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{text-align:right}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-detail>td{padding:8px 12px 10px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-1{margin-left:22px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-2{margin-left:44px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-3{margin-left:66px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group>td{padding:8px 12px;height:auto;display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot{display:flex;flex-wrap:wrap;gap:4px 14px;padding:6px 12px 6px 44px}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td{padding:0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand{padding:8px 12px}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-empty>td{display:block}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.is-skeleton>td{display:block;padding:4px 0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-card>td{padding:0;display:block}.poad-table.poad-table.is-stacked .dt-foot{flex-wrap:wrap;gap:8px}.poad-table.poad-table.is-stacked .dt-foot .poad-paginator__rpp{display:none}\n", ".poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh{display:none;position:absolute;left:2px;top:50%;transform:translateY(-50%);width:14px;height:18px;color:var(--poad-fg-muted);cursor:grab;border-radius:3px;place-items:center}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag{padding-left:calc(var(--_cell-px) + 6px)}.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag:hover>.dh,.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag.cdk-drag-dragging>.dh{display:grid}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder{opacity:.35;background:var(--poad-accent-soft)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder:before{content:\"\";position:absolute;left:-1px;top:4px;bottom:4px;width:2px;background:var(--poad-accent)}.cdk-drag-preview.dt-th-preview{display:flex;align-items:center;height:38px;padding:0 12px;box-sizing:border-box;font:600 var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:6px;box-shadow:var(--poad-shadow-lg);list-style:none}.poad-table.poad-table.poad-table.poad-table .tbl>thead>tr.cdk-drop-list-dragging>th:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-animating{transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .dt-bar__menu .mv{display:inline-flex;gap:0;margin-left:auto}.poad-table.poad-table.poad-table .dt-bar__menu .mv button{border:0;background:transparent;color:var(--poad-fg-muted);width:20px;height:20px;border-radius:4px;cursor:pointer;display:grid;place-items:center;padding:0}.poad-table.poad-table.poad-table .dt-bar__menu .mv button:hover:not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-bar__menu .mv button[disabled]{opacity:.3;cursor:default}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th{height:30px;text-align:center;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell{border-left:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell:first-child{border-left:0}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg>th{position:sticky;top:0;z-index:3}.poad-table.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg+tr>th{top:30px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-vpad>td{padding:0;border:0;height:auto}.poad-table.poad-table.is-virtual .dt-scroll{overflow-anchor:none}.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{cursor:text;position:relative}.poad-table.poad-table.poad-table.poad-table.poad-table.edit-cell.is-hoverable .tbl>tbody>tr.dt-row>td.is-editable:hover{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-border-strong)}.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{padding-right:calc(var(--_cell-px) + 16px)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:focus-visible{opacity:.7}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:hover{opacity:1!important;background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{padding-top:0;padding-bottom:0;background:var(--poad-surface)!important;box-shadow:none!important}.poad-table .dt-editor{position:relative;display:flex;align-items:stretch;min-height:calc(var(--_row-h) - 8px);margin:4px 0}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{height:auto;vertical-align:top}.poad-table.poad-table .dt-editor input,.poad-table.poad-table .dt-editor select,.poad-table.poad-table .dt-editor textarea{width:100%;height:calc(var(--_row-h) - 8px);box-sizing:border-box;padding:0 8px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);outline:0;box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-editor input[type=number]{font-family:var(--poad-font-mono);text-align:right}.poad-table.poad-table .dt-editor textarea{height:auto;min-height:76px;padding:6px 8px;resize:vertical;line-height:1.45;font:var(--poad-font-size)/1.45 var(--poad-font)}.poad-table.poad-table .dt-editor input[type=checkbox]{width:16px;height:16px;box-shadow:none;accent-color:var(--poad-accent)}.poad-table.poad-table .dt-editor.is-invalid input,.poad-table.poad-table .dt-editor.is-invalid select,.poad-table.poad-table .dt-editor.is-invalid textarea{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.poad-table .dt-editor__err{position:absolute;left:0;top:calc(100% + 4px);z-index:6;padding:3px 8px;border-radius:6px;background:var(--poad-danger);color:#fff;font-size:11px;white-space:nowrap;box-shadow:var(--poad-shadow-md);pointer-events:none}.poad-table .dt-editor__err:before{content:\"\";position:absolute;left:10px;top:-4px;width:8px;height:8px;background:inherit;transform:rotate(45deg)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.dt-row.is-editing-row>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re{display:inline-grid;place-items:center;width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);cursor:pointer;padding:0}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ok{color:var(--poad-success)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ko{color:var(--poad-danger)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.is-editing-row>:where(td.col-acts)>.acts{opacity:1}\n", ".poad-table .dt-scroll{scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.poad-table .dt-scroll::-webkit-scrollbar{height:10px;width:10px}.poad-table .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.has-menu{padding-right:calc(var(--_cell-px) + 20px)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur);z-index:2}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered>.hm{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:hover,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered .hd-txt{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table.is-resizable .tbl>:where(thead)>:where(tr)>th.has-menu>.hm{right:10px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{padding:5px 6px}.poad-table .flt-cell{position:relative;display:flex;align-items:center;gap:4px;min-width:0}.poad-table.poad-table .flt-cell input,.poad-table.poad-table .flt-cell select,.poad-table.poad-table .flt-cell .flt-in{flex:1 1 0;min-width:0;height:28px;padding:0 26px 0 8px;box-sizing:border-box;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .flt-cell.is-range input{padding-right:8px}.poad-table.poad-table .flt-cell.is-range input:last-of-type{padding-right:26px}.poad-table.poad-table .flt-cell input:focus,.poad-table.poad-table .flt-cell select:focus,.poad-table.poad-table .flt-cell .flt-in:focus-visible{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .flt-cell.is-active input,.poad-table.poad-table .flt-cell.is-active select,.poad-table.poad-table .flt-cell.is-active .flt-in{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell .flt-in{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;cursor:pointer}.poad-table.poad-table .flt-cell .flt-in.is-ph{color:var(--poad-fg-muted)}.poad-table.poad-table.poad-table .flt-cell .flt-in .poad-icon{color:var(--poad-fg-muted);flex:none}.poad-table.poad-table .flt-cell .flt-txt{flex:1;height:28px;display:inline-flex;align-items:center;padding:0 26px 0 8px;font:italic var(--poad-font-size-sm) var(--poad-font);color:var(--poad-accent);background:var(--poad-accent-soft);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);box-sizing:border-box}.poad-table.poad-table .flt-cell .flt-op{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-op:hover,.poad-table.poad-table .flt-cell .flt-op.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell.is-active .flt-op{right:22px}.poad-table.poad-table .flt-cell .flt-x{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:18px;height:18px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-x:hover{color:var(--poad-danger);background:var(--poad-danger-soft)}.poad-table.poad-table .flt-cell select{appearance:none;padding-right:26px}.poad-table .dt-gz{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:40px;padding:6px 12px;border-bottom:1px solid var(--poad-border);background:var(--poad-bg-subtle);color:var(--poad-fg-muted);font-size:var(--poad-font-size-sm)}.poad-table .dt-gz.cdk-drop-list-receiving,.poad-table .dt-gz.cdk-drop-list-dragging{background:var(--poad-accent-soft);color:var(--poad-accent);outline:1px dashed var(--poad-accent);outline-offset:-4px}.poad-table .dt-gz__hint{font-style:italic}.poad-table .dt-gz__chip,.dt-gz__chip.cdk-drag-preview{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 4px 0 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent);font-weight:500;cursor:grab}.poad-table.poad-table .dt-gz__chip .dt-gz__drag,.dt-gz__chip.cdk-drag-preview .dt-gz__drag{opacity:.6}.poad-table.poad-table .dt-gz__chip button,.dt-gz__chip.cdk-drag-preview button{width:18px;height:18px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-gz__chip button:hover,.dt-gz__chip.cdk-drag-preview button:hover{background:var(--poad-accent);color:var(--poad-fg-on-accent)}.poad-table .dt-gz__chip.cdk-drag-placeholder{opacity:.35}.cdk-drag-preview.dt-gz__chip{box-shadow:var(--poad-shadow-md)}.poad-table.poad-table.is-stacked .dt-gz{display:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{width:44px;text-align:right;font:11px var(--poad-font-mono);color:var(--poad-fg-muted);background:var(--poad-bg-subtle);padding:0 8px;-webkit-user-select:none;user-select:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num{font-weight:600}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-num{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{position:absolute;left:auto;right:12px;bottom:6px;width:auto;background:transparent;padding:0}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num:before{content:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-drag,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{width:28px;padding:0 4px}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh{display:inline-grid;place-items:center;width:20px;height:24px;color:var(--poad-fg-muted);cursor:grab;opacity:0;transition:opacity var(--poad-dur);border-radius:4px}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-drag>.rdh,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.cdk-drag-dragging>td.col-drag>.rdh{opacity:.8}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder{opacity:0}.poad-table.poad-table.poad-table .tbl>tbody.cdk-drop-list-dragging>tr.dt-row:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder>td{border-top:2px solid var(--poad-accent)}.cdk-drag-preview.dt-tr-preview{display:table;table-layout:fixed;box-sizing:border-box;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:8px;box-shadow:var(--poad-shadow-lg);opacity:.95;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.cdk-drag-preview.dt-tr-preview td{padding:0 12px;height:42px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{display:none}.poad-table .dt-foot__count{font:var(--poad-font-size-sm) var(--poad-font-mono);color:var(--poad-fg-secondary);white-space:nowrap}.poad-table.poad-table .dt-foot.has-count .poad-paginator{flex:1}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PoadColumnComponent, selector: "poad-column", inputs: ["field", "key", "header", "sortable", "sortField", "width", "minWidth", "maxWidth", "align", "resizable", "sticky", "hidden", "toggleable", "filterable", "filterType", "filterOptions", "filterPlaceholder", "filterMatchMode", "dataType", "exportable", "headerClass", "bodyClass", "nowrap", "priority", "groupable", "menu", "editable", "editor", "editorOptions", "validator", "reorderable"], outputs: ["hiddenChange"] }, { kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadCheckboxComponent, selector: "poad-checkbox", inputs: ["label", "ariaLabel", "indeterminate", "invalid", "readonly"], outputs: ["indeterminateChange", "changed"] }, { kind: "component", type: PoadPaginatorComponent, selector: "poad-paginator", inputs: ["first", "rows", "totalRecords", "rowsPerPageOptions", "rowsPerPageLabel", "pageLinks", "showCurrentPageReport", "currentPageReportTemplate", "showFirstLastIcon", "showPageLinks", "alwaysShow"], outputs: ["firstChange", "rowsChange", "pageChange"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: PoadEditFocusDirective, selector: "[poadEditFocus]" }, { kind: "component", type: PoadMenuComponent, selector: "poad-menu", inputs: ["items", "popup", "ariaLabel", "minWidth", "closeOnSelect", "mobile", "sheetTitle"], outputs: ["itemClick", "shown", "hidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
9970
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.20", type: PoadTableComponent, isStandalone: true, selector: "poad-table", host: { properties: { "class.is-dense": "dense()", "class.is-striped": "striped()", "class.is-hoverable": "hoverable()", "class.is-bordered": "bordered()", "class.is-borderless": "borderless()", "class.is-sticky-header": "stickyHeader()", "class.has-scroll-height": "!!scrollHeight()", "class.is-resizable": "resizableColumns()", "class.acts-always": "rowActionsAlwaysVisible()", "class.is-loading": "loading()", "class.is-tree": "isTree()", "class.is-grouped": "isGrouped()", "class.has-tree-lines": "showTreeLines()", "class.is-stacked": "resp.stacked()", "class.hide-p2": "resp.hiddenPriorities().has(2)", "class.hide-p3": "resp.hiddenPriorities().has(3)", "class.hide-p4": "resp.hiddenPriorities().has(4)", "class.hide-p5": "resp.hiddenPriorities().has(5)", "class.is-scrolled-x": "sticky.scrolledX()", "class.is-scrolled-x-end": "sticky.scrolledXEnd()", "class.is-virtual": "virtualScroll()", "class.is-reorderable": "reorderableColumns()", "class.has-row-numbers": "showRowNumber()", "class.rows-draggable": "rowDragEnabled()", "class.has-col-menu": "hasColumnMenu()", "class.edit-cell": "editMode() === \"cell\"", "class.edit-row": "editMode() === \"row\" || editMode() === \"row-inline\"", "class.show-edit-icon": "editMode() === \"cell\" && showEditIcon()", "style.--_scroll-h": "scrollHeight() || null", "style.--_detail-pl": "detailPaddingLeft()", "style.--_indent": "indent()" }, classAttribute: "poad-table" }, viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "dtEl", first: true, predicate: ["dt"], descendants: true, isSignal: true }, { propertyName: "headerMenu", first: true, predicate: ["hmenu"], descendants: true, isSignal: true }, { propertyName: "filterMenu", first: true, predicate: ["fmenu"], descendants: true, isSignal: true }, { propertyName: "inMenu", first: true, predicate: ["inmenu"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<!-- Colonnes d\u00E9finies par l'entr\u00E9e [colonnes] : rendues en <poad-column> R\u00C9ELS (une\n colonne ne dessine rien, :host display none) et r\u00E9cup\u00E9r\u00E9es par la requ\u00EAte de VUE de\n la base \u2014 le moteur ne consomme qu'une seule esp\u00E8ce de colonne. -->\n@for (d of colonnes(); track d.field) {\n <poad-column\n [field]=\"d.field\"\n [header]=\"d.header ?? d.field\"\n [dataType]=\"d.dataType ?? 'text'\"\n [align]=\"d.align ?? 'left'\"\n [width]=\"d.width ?? ''\"\n [sortable]=\"d.sortable ?? false\"\n />\n}\n<div class=\"dt\" #dt [class]=\"'dt ' + styleClass()\">\n <!-- barre de s\u00E9lection contextuelle (remplace la barre d'outils) -->\n @if (selectedCount() > 0 && showSelectionBar()) {\n <div class=\"dt-sel\" role=\"region\" aria-live=\"polite\">\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n <span>{{ selectedLabel() === undefined && selectedLabelPlural() === undefined ? i18n.t('table.selectedCount', { n: selectedCount() }) : selectedCount() + ' ' + (selectedCount() > 1 ? (selectedLabelPlural() ?? selectedLabel()) : (selectedLabel() ?? selectedLabelPlural())) }}</span>\n <span class=\"dt-sel__grow\"></span>\n <ng-content select=\"[poadTableSelectionBar]\"/>\n <button type=\"button\" class=\"dt-sel__clear\" [attr.aria-label]=\"i18n.t('table.clearSelection')\" (click)=\"clearSelection()\"><poad-icon name=\"x\" [size]=\"14\"/></button>\n </div>\n } @else if (showToolbar()) {\n <div class=\"dt-bar\">\n @if (title()) {<span class=\"dt-bar__title\">{{ title() }}</span>}\n @if (showCount()) {<span class=\"dt-bar__count\">{{ count() ?? totalFiltered() }}</span>}\n @if (resp.stacked()) {\n <button type=\"button\" class=\"dt-bar__btn dt-bar__filters\" [class.is-on]=\"filtersOpen()\" [attr.aria-expanded]=\"filtersOpen()\" (click)=\"filtersOpen.set(!filtersOpen())\">\n <poad-icon name=\"filter\" [size]=\"13\"/>{{ i18n.text(filtersLabel(), 'table.filters') }}@if (activeFilterCount() > 0) {<span class=\"dt-bar__count\">{{ activeFilterCount() }}</span>}\n </button>\n }\n <span class=\"dt-bar__tools\" [class.is-open]=\"filtersOpen()\"><ng-content select=\"[poadTableToolbar]\"/></span>\n <span class=\"dt-bar__grow\"></span>\n @if (showSearch()) {\n <div class=\"dt-bar__search\">\n <poad-icon name=\"search\" [size]=\"14\"/>\n <input type=\"search\" [placeholder]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\" [value]=\"searchText()\" (input)=\"onSearch($any($event.target).value)\" [attr.aria-label]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\"/>\n @if (searchText()) {<button type=\"button\" class=\"dt-bar__clear\" [attr.aria-label]=\"i18n.t('table.clearSearch')\" (click)=\"onSearch('', true)\"><poad-icon name=\"x\" [size]=\"12\"/></button>}\n </div>\n }\n <span class=\"dt-bar__tools-end\"><ng-content select=\"[poadTableToolbarEnd]\"/></span>\n @if (columnToggle()) {\n <div class=\"dt-bar__cols\">\n <button type=\"button\" class=\"dt-bar__btn\" [class.is-on]=\"colsMenuOpen()\" aria-haspopup=\"true\" [attr.aria-expanded]=\"colsMenuOpen()\" (click)=\"colsMenuOpen.set(!colsMenuOpen())\">\n {{ i18n.text(columnsLabel(), 'table.columns') }} <poad-icon name=\"chevron-down\" [size]=\"12\"/>\n </button>\n @if (colsMenuOpen()) {\n <div class=\"dt-bar__menu\" role=\"menu\" (keydown.escape)=\"colsMenuOpen.set(false)\">\n <div class=\"dt-bar__menu-title\">{{ i18n.text(columnsLabel(), 'table.columns') }}</div>\n @for (c of orderedColumns(); track c.id(); let ci = $index; let first = $first; let last = $last) {\n <label [class.is-locked]=\"!c.toggleable()\">\n <poad-checkbox [value]=\"!c.hidden()\" [disabled]=\"!c.toggleable()\" (changed)=\"toggleColumn(c, !$event)\"/>\n <span>{{ c.header() || c.field() }}</span>\n @if (reorderableColumns()) {\n <span class=\"mv\" (click)=\"$event.stopPropagation(); $event.preventDefault()\">\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveUp')\" [disabled]=\"first\" (click)=\"moveColumn(ci, ci - 1)\"><poad-icon name=\"chevron-up\" [size]=\"12\"/></button>\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveDown')\" [disabled]=\"last\" (click)=\"moveColumn(ci, ci + 1)\"><poad-icon name=\"chevron-down\" [size]=\"12\"/></button>\n </span>\n }\n </label>\n }\n </div>\n }\n </div>\n }\n @if (showDensityToggle()) {\n <button type=\"button\" class=\"dt-bar__btn is-ghost dt-bar__density\" [class.is-on]=\"dense()\" [attr.aria-pressed]=\"dense()\" [attr.aria-label]=\"i18n.t('table.density')\" [title]=\"i18n.t('table.density')\" (click)=\"dense.set(!dense())\"><poad-icon name=\"chevrons-up-down\" [size]=\"14\"/></button>\n }\n </div>\n }\n\n @if (showGroupZone() && !resp.stacked()) {\n <div class=\"dt-gz\" [class.is-empty]=\"!groupFields().length\" cdkDropList [id]=\"gzId\" cdkDropListOrientation=\"horizontal\" [cdkDropListData]=\"groupFields()\" [cdkDropListEnterPredicate]=\"gzEnter\" (cdkDropListDropped)=\"onGroupZoneDrop($event)\">\n <poad-icon name=\"layers\" [size]=\"14\"/>\n @if (!groupFields().length) {<span class=\"dt-gz__hint\">{{ i18n.text(groupZoneLabel(), 'table.groupZone') }}</span>}\n @for (f of groupFields(); track f) {\n <span class=\"dt-gz__chip\" cdkDrag [cdkDragData]=\"f\" cdkDragLockAxis=\"x\"><poad-icon name=\"drag\" [size]=\"11\" class=\"dt-gz__drag\"/><span>{{ groupChipLabel(f) }}</span><button type=\"button\" [attr.aria-label]=\"i18n.t('table.ungroupBy', { label: groupChipLabel(f) })\" (click)=\"ungroup(f)\"><poad-icon name=\"x\" [size]=\"11\"/></button></span>\n }\n </div>\n }\n\n <div class=\"dt-scroll\" #scroller (scroll)=\"onScroll()\">\n @if (loading() && hasData()) {<div class=\"dt-loading\"><poad-icon name=\"loader\" [size]=\"22\" spin/></div>}\n @let ta = tableAttrs();\n <table class=\"tbl\" [class]=\"'tbl ' + tableClass()\" [style]=\"tableStyle()\" [attr.aria-busy]=\"ta['aria-busy']\" [attr.aria-rowcount]=\"ta['aria-rowcount']\" [attr.role]=\"ta.role\" [attr.aria-multiselectable]=\"ta['aria-multiselectable']\">\n @if (captionTpl()) {<caption><ng-container *ngTemplateOutlet=\"captionTpl()!.tpl\"/></caption>}\n <colgroup>\n @if (hasNumberColumn()) {<col style=\"width:44px\">}\n @if (hasSelectionColumn()) {<col style=\"width:36px\">}\n @if (rowDragEnabled()) {<col style=\"width:28px\">}\n @if (hasExpandColumn()) {<col style=\"width:30px\">}\n @for (c of visibleColumns(); track c.id()) {<col [style.width]=\"colWidth(c)\" [style.min-width]=\"c.minWidth() || null\" [style.max-width]=\"c.maxWidth() || null\">}\n @if (hasActionsColumn()) {<col [style.width]=\"rowActionsWidth()\">}\n </colgroup>\n <thead>\n @let hgRows = headerGroups().length && !resp.stacked() ? 1 : 0;\n @if (hgRows) {\n <tr class=\"hg\" [attr.aria-rowindex]=\"headerRowAttrs(0)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (g of headerGroups(); track $index) {<th scope=\"colgroup\" [attr.colspan]=\"g.span\" [class]=\"'hg-cell ' + (g.class || '')\">{{ g.header }}</th>}\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n <tr [attr.aria-rowindex]=\"headerRowAttrs(hgRows)['aria-rowindex']\" cdkDropList cdkDropListOrientation=\"horizontal\" [cdkDropListDisabled]=\"!reorderableColumns() && !showGroupZone()\" [cdkDropListSortingDisabled]=\"!reorderableColumns()\" [cdkDropListConnectedTo]=\"showGroupZone() ? [gzId] : []\" (cdkDropListDropped)=\"onColumnDrop($event)\">\n @if (hasNumberColumn()) {<th class=\"col-num\" scope=\"col\" data-sk=\"num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">#</th>}\n @if (hasSelectionColumn()) {\n <th class=\"col-sel\" scope=\"col\" data-sk=\"sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (selectionMode() === 'multiple' && selectAll()) {\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n }\n </th>\n }\n @if (rowDragEnabled()) {<th class=\"col-drag\" scope=\"col\" data-sk=\"drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"><span hidden>{{ i18n.t('table.move') }}</span></th>}\n @if (hasExpandColumn()) {<th class=\"col-exp\" scope=\"col\" data-sk=\"exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"><span hidden>{{ i18n.t('table.detail') }}</span></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th scope=\"col\" [attr.data-sk]=\"c.id()\" [class]=\"thClass(c) + (canDrag(c) ? ' can-drag' : '') + (showsMenu(c) ? ' has-menu' : '') + (hasColFilter(c) ? ' is-filtered' : '')\" [attr.aria-sort]=\"ariaSort(c)\" [style.width]=\"colWidth(c)\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\"\n cdkDrag [cdkDragDisabled]=\"!canDrag(c)\" [cdkDragData]=\"c\" [cdkDragLockAxis]=\"showGroupZone() ? null : 'x'\" cdkDragPreviewClass=\"dt-th-preview\" [cdkDragBoundary]=\"showGroupZone() ? '' : '.tbl thead'\">\n @if (canDrag(c)) {<span class=\"dh\" cdkDragHandle aria-hidden=\"true\" [title]=\"i18n.t('table.moveColumn')\"><poad-icon name=\"drag\" [size]=\"12\"/></span>}\n @if (c.headerTpl()) {\n <ng-container *ngTemplateOutlet=\"c.headerTpl()!.tpl; context: { $implicit: c }\"/>\n } @else if (c.sortable()) {\n <button type=\"button\" class=\"hd\" (click)=\"sort(c, $event)\" [attr.aria-label]=\"i18n.t('table.sortBy', { column: c.header() })\">\n <span class=\"hd-txt\">{{ c.header() }}</span>\n <poad-icon [name]=\"sortIcon(c)\" [size]=\"12\"/>\n @if (sortMode() === 'multiple' && sortIndex(c) > 0) {<span class=\"hd-idx\">{{ sortIndex(c) }}</span>}\n </button>\n } @else {\n <span class=\"hd\"><span class=\"hd-txt\">{{ c.header() }}</span></span>\n }\n @if (showsMenu(c)) {<button type=\"button\" class=\"hm\" [class.is-on]=\"menuColumn() === c && !!headerMenu()?.visible()\" [attr.aria-label]=\"i18n.t('table.columnMenu')\" aria-haspopup=\"menu\" (click)=\"openHeaderMenu(c, $event)\" (pointerdown)=\"$event.stopPropagation()\"><poad-icon name=\"more-vertical\" [size]=\"13\"/></button>}\n @if (isResizable(c)) {<span class=\"rz\" [class.is-active]=\"resizingId() === c.id()\" (pointerdown)=\"startResize($event, c)\" aria-hidden=\"true\"></span>}\n </th>\n }\n @if (hasActionsColumn()) {<th class=\"col-acts\" scope=\"col\" data-sk=\"acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span hidden>{{ i18n.t('table.actions') }}</span></th>}\n </tr>\n @if (hasFilterRow()) {\n <tr class=\"flt\" [attr.aria-rowindex]=\"headerRowAttrs(hgRows + 1)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th [class]=\"stickyClass(c.id())\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\">\n @if (c.filterable()) {\n @if (c.filterTpl()) {\n <ng-container *ngTemplateOutlet=\"c.filterTpl()!.tpl; context: { $implicit: c, value: filterValue(c), filter: filterFn(c) }\"/>\n } @else {\n @let kind = filterKind(c);\n @let op = filterOp(c);\n <div class=\"flt-cell\" [class.is-active]=\"hasColFilter(c)\" [class.is-range]=\"op.range\">\n @if (kind === 'boolean') {\n <poad-select size=\"sm\" clearable [options]=\"booleanOptions()\" [value]=\"filterValue(c)\" [placeholder]=\"c.filterPlaceholder() || i18n.t('filter.any')\" [ariaLabel]=\"i18n.t('filter.column', { column: c.header() })\" (changed)=\"setFilter(c, $event)\"/>\n } @else if (kind === 'select' && op.mode !== 'eq') {\n <button type=\"button\" class=\"flt-in\" [class.is-ph]=\"!filterArray(c).length\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\" (click)=\"openInMenu(c, $event)\">\n <span>{{ filterArray(c).length ? i18n.t('filter.selectedCount', { n: filterArray(c).length }) : (c.filterPlaceholder() || i18n.t('filter.any')) }}</span><poad-icon name=\"chevron-down\" [size]=\"11\"/>\n </button>\n } @else if (kind === 'select') {\n <poad-select size=\"sm\" clearable [options]=\"c.filterOptions()\" [value]=\"filterValue(c)\" [placeholder]=\"c.filterPlaceholder() || i18n.t('filter.any')\" [ariaLabel]=\"i18n.t('filter.column', { column: c.header() })\" (changed)=\"setFilter(c, $event, 'eq')\"/>\n } @else if (!op.needsValue) {\n <span class=\"flt-txt\">{{ opLabel(op) }}</span>\n } @else if (op.range) {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"i18n.t('filter.min')\" (input)=\"setFilterPart(c, 0, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMin', { column: c.header() })\"/>\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 1)\" [placeholder]=\"i18n.t('filter.max')\" (input)=\"setFilterPart(c, 1, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMax', { column: c.header() })\"/>\n } @else {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"c.filterPlaceholder() || opLabel(op)\" (input)=\"setFilterDebounced(c, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\"/>\n }\n @if (kind !== 'boolean') {\n <button type=\"button\" class=\"flt-op\" [class.is-on]=\"hasColFilter(c) || op.mode !== filterOp(c).mode\" [attr.aria-label]=\"i18n.t('filter.operator', { label: opLabel(op) })\" [title]=\"opLabel(op)\" (click)=\"openFilterMenu(c, $event)\"><poad-icon name=\"filter\" [size]=\"12\"/></button>\n }\n @if (hasColFilter(c)) {<button type=\"button\" class=\"flt-x\" [attr.aria-label]=\"i18n.t('filter.clear')\" (click)=\"clearColumnFilter(c)\"><poad-icon name=\"x\" [size]=\"11\"/></button>}\n </div>\n }\n }\n </th>\n }\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n </thead>\n <tbody cdkDropList [cdkDropListDisabled]=\"!rowDragEnabled()\" cdkDropListLockAxis=\"y\" (cdkDropListDropped)=\"onRowDrop($event)\">\n @if (bodyState() === 'skeleton') {\n @for (i of skeletonRows(); track i) {\n <tr class=\"dt-row is-skeleton\" aria-hidden=\"true\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id()) {<td [class]=\"tdClass(c)\"><div class=\"skel\" [style.width.%]=\"skeletonWidth(i, $index)\" [style.margin-left]=\"alignOf(c) === 'right' ? 'auto' : null\"></div></td>}\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n } @else if (bodyState() === 'empty') {\n <tr class=\"dt-empty\"><td [attr.colspan]=\"colspan()\">\n @if (emptyTpl()) {<ng-container *ngTemplateOutlet=\"emptyTpl()!.tpl\"/>}\n @else {\n <div class=\"empty\">\n @if (emptyIcon()) {<poad-icon [name]=\"emptyIcon()\" [size]=\"26\" [strokeWidth]=\"1.5\"/>}\n <b>{{ i18n.text(emptyMessage(), 'table.empty') }}</b>\n @if (emptyHint()) {<span>{{ emptyHint() }}</span>}\n </div>\n }\n </td></tr>\n } @else {\n @if (virtual.range().topPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().topPad\"></td></tr>}\n @for (d of renderRows(); track d.trackKey; let vi = $index) {\n @let i = vi + virtual.range().start;\n @if (d.kind === 'group') {\n <!-- en-t\u00EAte de groupe -->\n <tr class=\"dt-group\" [class.is-expanded]=\"d.node!.expanded\" [style.--_lvl]=\"d.level\" role=\"row\" [attr.aria-level]=\"d.level + 1\" [attr.aria-expanded]=\"d.node!.expanded\">\n <td [attr.colspan]=\"colspan()\" class=\"dt-group__cell\">\n <div class=\"dt-group__inner\">\n @if (hasSelectionColumn() && selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectGroup', { label: d.node!.group!.label })\" (changed)=\"toggleGroupSelection(d, $event)\"/>\n }\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"d.node!.expanded\" [attr.aria-label]=\"d.node!.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleGroup(d.node!)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n @if (groupHeaderTpl()) {\n <ng-container *ngTemplateOutlet=\"groupHeaderTpl()!.tpl; context: groupCtx(d)\"/>\n } @else {\n <span class=\"dt-group__label\">{{ d.node!.group!.label }}</span>\n <span class=\"dt-group__count\">{{ d.node!.group!.count }}</span>\n }\n </div>\n </td>\n </tr>\n } @else if (d.kind === 'groupFooter') {\n <!-- pied de groupe (agr\u00E9gats) -->\n <tr class=\"dt-group-foot\" [style.--_lvl]=\"d.level\">\n @if (groupFooterTpl()) {\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"groupFooterTpl()!.tpl; context: groupCtx(d)\"/></td>\n } @else {\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {<span class=\"dt-group-foot__label\">{{ i18n.t('table.total', { label: d.node!.group!.label }) }}</span>}\n @else if (hasAggregate(c)) {{{ formatCell(d.node!.group!.aggregates[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n }\n </tr>\n } @else if (resp.stacked() && cardTpl()) {\n <!-- carte custom (mode stack) -->\n @let ca = rowAttrs(d, i);\n <tr class=\"dt-row dt-card\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [attr.tabindex]=\"ca.tabindex\" [attr.aria-selected]=\"ca.selected\" [attr.aria-rowindex]=\"ca.rowindex\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"cardTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, selected: isSelected(d.row) }\"/></td>\n </tr>\n } @else {\n <!-- ligne -->\n @let ra = rowAttrs(d, i);\n <tr class=\"dt-row\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [style.--_lvl]=\"d.level\" [attr.data-key]=\"d.key\" [class.is-editing-row]=\"isRowEditing(d.row)\"\n cdkDrag [cdkDragDisabled]=\"!canDragRow(d.row)\" [cdkDragData]=\"d.row\" cdkDragLockAxis=\"y\" cdkDragPreviewClass=\"dt-tr-preview\" cdkDragBoundary=\".tbl\"\n [attr.tabindex]=\"ra.tabindex\" [attr.aria-selected]=\"ra.selected\" [attr.aria-rowindex]=\"ra.rowindex\"\n [attr.role]=\"hierarchical() ? 'row' : null\" [attr.aria-level]=\"hierarchical() ? d.level + 1 : null\" [attr.aria-expanded]=\"d.node?.hasChildren ? d.node!.expanded : null\"\n [attr.aria-setsize]=\"d.node ? d.node.setSize : null\" [attr.aria-posinset]=\"d.node ? d.node.posInSet : null\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (dblclick)=\"rowDblClick.emit({ row: d.row, index: i, event: $event })\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n @if (hasNumberColumn()) {<td class=\"col-num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">{{ rowNumber(d) }}</td>}\n @if (hasSelectionColumn()) {\n <td class=\"col-sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (canSelect(d.row)) {\n @if (selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"toggleRow(d.row, i, $event)\"/>\n } @else {\n <poad-checkbox [value]=\"isSelected(d.row)\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"selectSingle(d.row, i)\"/>\n }\n }\n </td>\n }\n @if (rowDragEnabled()) {\n <td class=\"col-drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\">\n @if (canDragRow(d.row)) {<span class=\"rdh\" cdkDragHandle [title]=\"i18n.t('table.moveRow')\" aria-hidden=\"true\"><poad-icon name=\"drag\" [size]=\"13\"/></span>}\n </td>\n }\n @if (hasExpandColumn()) {\n <td class=\"col-exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\">\n @if (canExpand(d.row)) {\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"isExpanded(d.row)\" [attr.aria-label]=\"isExpanded(d.row) ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleExpand(d.row, $event)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n }\n </td>\n }\n @for (c of visibleColumns(); track c.id(); let cFirst = $first) {\n <td [class]=\"tdClass(c) + ' ' + stickyClass(c.id()) + (isTreeColumn(c) ? ' dt-tree-cell' : '') + (cFirst ? ' dt-first' : '') + (editUi.canEditCell(c) ? ' is-editable' : '') + (edit.isEditing(d.row, c) ? ' is-editing' : '')\"\n [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\" [attr.data-l]=\"c.header()\"\n (click)=\"editUi.onCellClick(d.row, c, $event, false)\" (dblclick)=\"editUi.onCellClick(d.row, c, $event, true)\">\n @if (edit.isEditing(d.row, c) && c.field()) {\n <!-- \u00E9diteur inline (mode cell ou row) -->\n <div class=\"dt-editor\" [class.is-invalid]=\"!!edit.cellError(d.row, c)\" (click)=\"$event.stopPropagation()\" (dblclick)=\"$event.stopPropagation()\" (keydown)=\"editUi.onKey(d.row, c, $event)\" (focusout)=\"editUi.onBlur(d.row, c)\">\n @if (c.editorTpl()) {\n <ng-container *ngTemplateOutlet=\"c.editorTpl()!.tpl; context: editUi.ctxFor(d.row, c, i)\"/>\n } @else {\n @switch (c.editor()) {\n @case ('select') {\n <select poadEditFocus [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).value)\">\n @for (o of c.effectiveEditorOptions(); track $index) {<option [value]=\"o.value\" [selected]=\"o.value === edit.valueOf(d.row, c)\">{{ o.label }}</option>}\n </select>\n }\n @case ('checkbox') {<input type=\"checkbox\" poadEditFocus [checked]=\"!!edit.valueOf(d.row, c)\" [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).checked)\"/>}\n @case ('textarea') {<textarea poadEditFocus rows=\"3\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"></textarea>}\n @default {<input poadEditFocus [type]=\"editUi.inputType(c)\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" [attr.aria-invalid]=\"edit.cellError(d.row, c) ? 'true' : null\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"/>}\n }\n }\n @if (edit.cellError(d.row, c)) {<span class=\"dt-editor__err\" role=\"alert\">{{ edit.cellError(d.row, c) }}</span>}\n </div>\n } @else {\n @if (editUi.canEditCell(c) && showEditIcon()) {<button type=\"button\" class=\"ce\" tabindex=\"-1\" [attr.aria-label]=\"i18n.t('common.edit')\" (click)=\"$event.stopPropagation(); editUi.startEdit(d.row, c)\"><poad-icon name=\"edit\" [size]=\"11\"/></button>}\n @if (isTreeColumn(c) && d.node) {\n <span class=\"poad-tree-toggle\" [style.--_lvl]=\"d.level\">\n @if (showTreeLines()) { @for (l of levelsOf(d.level); track l) {<i class=\"tl\" aria-hidden=\"true\"></i>} }\n @else {<i class=\"ind\" aria-hidden=\"true\"></i>}\n <button type=\"button\" class=\"tg\" [class.is-leaf]=\"!d.node.hasChildren\" [class.is-open]=\"d.node.expanded\" [attr.tabindex]=\"d.node.hasChildren ? 0 : -1\"\n [attr.aria-expanded]=\"d.node.hasChildren ? d.node.expanded : null\" [attr.aria-label]=\"d.node.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleNode(d.node, $event)\">\n @if (d.node.loading) {<poad-icon name=\"loader\" [size]=\"12\" spin/>} @else {<poad-icon name=\"chevron-right\" [size]=\"13\"/>}\n </button>\n @if (treeIconOf(d.row)) {<poad-icon class=\"ic\" [name]=\"treeIconOf(d.row)!\" [size]=\"14\"/>}\n </span>\n }\n @if (c.cellTpl()) {\n <ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: d.node?.expanded ?? false, hasChildren: d.node?.hasChildren ?? false, node: d.node }\"/>\n } @else {<span class=\"cell-txt\">{{ formatCell(cell(d.row, c), c) }}</span>}\n }\n </td>\n }\n @if (hasActionsColumn()) {\n <td class=\"col-acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span class=\"acts\" (click)=\"$event.stopPropagation()\">\n @if ((editMode() === 'row' || editMode() === 'row-inline') && showRowEditButton()) {\n @if (isRowEditing(d.row)) {\n <button type=\"button\" class=\"re ok\" [attr.aria-label]=\"i18n.t('table.saveRow')\" [title]=\"i18n.t('common.save')\" (click)=\"saveRowEdit(d.row)\"><poad-icon name=\"check\" [size]=\"15\"/></button>\n <button type=\"button\" class=\"re ko\" [attr.aria-label]=\"i18n.t('table.cancelEdit')\" [title]=\"i18n.t('common.cancel')\" (click)=\"cancelRowEdit(d.row)\"><poad-icon name=\"x\" [size]=\"15\"/></button>\n } @else {\n <button type=\"button\" class=\"re\" [attr.aria-label]=\"i18n.t('table.editRow')\" [title]=\"i18n.t('common.edit')\" (click)=\"initRowEdit(d.row)\"><poad-icon name=\"edit\" [size]=\"14\"/></button>\n }\n }\n @if (rowActionsTpl()) {<ng-container *ngTemplateOutlet=\"rowActionsTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, editing: isRowEditing(d.row) }\"/>}\n </span></td>\n }\n </tr>\n @if (isExpanded(d.row) && hasExpandColumn()) {\n <tr class=\"dt-detail\" [style.--_lvl]=\"d.level\"><td [attr.colspan]=\"colspan()\">\n @if (expansionTpl()) {\n <ng-container *ngTemplateOutlet=\"expansionTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, hiddenColumns: hiddenByPriority(), node: d.node }\"/>\n } @else {\n <div class=\"kv\">\n @for (c of hiddenByPriority(); track c.id()) {<div><b>{{ c.header() || c.field() }}</b>\n @if (c.cellTpl()) {<ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: false, hasChildren: false, node: d.node }\"/>}\n @else {{{ formatCell(cell(d.row, c), c) }}}\n </div>}\n </div>\n }\n </td></tr>\n }\n }\n }\n @if (virtual.range().bottomPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().bottomPad\"></td></tr>}\n }\n </tbody>\n @if (footerTpl() || showGrandTotalRow()) {\n <tfoot>\n @if (showGrandTotalRow()) {\n <tr class=\"dt-grand\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {{{ i18n.text(grandTotalLabel(), 'table.grandTotal') }}}\n @else if (hasAggregate(c)) {{{ formatCell(grandTotal()[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n @if (footerTpl()) {<ng-container *ngTemplateOutlet=\"footerTpl()!.tpl; context: { $implicit: pageData(), columns: visibleColumns(), aggregates: grandTotal() }\"/>}\n </tfoot>\n }\n </table>\n </div>\n\n @if ((usePaginator() && (paginationTotal() > 0 || lazy())) || showRowCount()) {\n <div class=\"dt-foot\" [class.has-count]=\"showRowCount()\">\n @if (showRowCount()) {\n <span class=\"dt-foot__count\">\n @if (rowCountTpl()) {<ng-container *ngTemplateOutlet=\"rowCountTpl()!.tpl; context: { $implicit: totalRows(), total: totalRows(), filtered: totalFiltered(), selected: selectedCount() }\"/>}\n @else {{{ rowCountText() }}}\n </span>\n }\n @if (usePaginator() && (paginationTotal() > 0 || lazy())) {\n <poad-paginator [first]=\"first()\" [rows]=\"rows()\" [totalRecords]=\"paginationTotal()\" [rowsPerPageOptions]=\"rowsPerPageOptions()\" [pageLinks]=\"resp.stacked() ? 3 : pageLinks()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\" [currentPageReportTemplate]=\"currentPageReportTemplate()\" [showFirstLastIcon]=\"showFirstLastIcon()\"\n [alwaysShow]=\"alwaysShowPaginator()\" (pageChange)=\"onPage($event)\"/>\n }\n </div>\n }\n <poad-menu #hmenu popup [items]=\"menuItems()\" [ariaLabel]=\"i18n.t('table.columnMenu')\"/>\n <poad-menu #fmenu popup [items]=\"filterMenuItems()\" [ariaLabel]=\"i18n.t('filter.operatorMenu')\" [minWidth]=\"200\"/>\n <poad-menu #inmenu popup [closeOnSelect]=\"false\" [items]=\"inMenuItems()\" [ariaLabel]=\"i18n.t('filter.valuesMenu')\" [minWidth]=\"180\"/>\n</div>\n", styles: [".poad-table{--_row-h: var(--poad-table-row-h, 42px);--_cell-px: 12px;display:block;min-width:0;max-width:100%;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.poad-table.is-dense{--_row-h: 34px}.poad-table .dt{border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);background:var(--poad-surface);overflow:hidden;position:relative}.poad-table.poad-table.is-borderless .dt{border:0;border-radius:0}.poad-table .dt-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--poad-border);flex-wrap:wrap}.poad-table .dt-bar__title{font-weight:600;font-size:13.5px;margin-inline-end:4px}.poad-table .dt-bar__count{font:500 11px var(--poad-font-mono);padding:2px 7px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table .dt-bar__grow{flex:1}.poad-table .dt-bar__search{position:relative;display:flex;align-items:center;width:240px;max-width:100%}.poad-table.poad-table .dt-bar__search .poad-icon{position:absolute;inset-inline-start:9px;color:var(--poad-fg-muted);pointer-events:none}.poad-table.poad-table .dt-bar__search input{width:100%;box-sizing:border-box;height:30px;padding-block:0;padding-inline:30px 28px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .dt-bar__search input::placeholder{color:var(--poad-fg-muted)}.poad-table.poad-table .dt-bar__search input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-bar__search .dt-bar__clear{position:absolute;inset-inline-end:6px;border:0;background:transparent;color:var(--poad-fg-muted);cursor:pointer;display:grid;place-items:center;padding:2px;border-radius:4px}.poad-table.poad-table .dt-bar__search .dt-bar__clear:hover{color:var(--poad-fg);background:var(--poad-hover)}.poad-table .dt-bar__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:26px;padding:0 8px;border-radius:var(--poad-radius-sm);border:1px solid var(--poad-border-strong);background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;white-space:nowrap}.poad-table .dt-bar__btn:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table .dt-bar__btn:focus-visible{outline:2px solid var(--poad-ring);outline-offset:1px}.poad-table .dt-bar__btn.is-ghost{border-color:transparent;width:26px;padding:0}.poad-table .dt-bar__btn.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table .dt-bar__cols{position:relative}.poad-table .dt-bar__menu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:20;min-width:200px;max-height:280px;overflow:auto;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:9px;box-shadow:var(--poad-shadow-lg);padding:4px}.poad-table.poad-table .dt-bar__menu label{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:var(--poad-font-size)}.poad-table.poad-table .dt-bar__menu label:hover{background:var(--poad-hover)}.poad-table.poad-table .dt-bar__menu label.is-locked{opacity:.5;cursor:default}.poad-table .dt-bar__menu-title{font:600 10px/1 var(--poad-font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--poad-fg-muted);padding:6px 8px 4px}.poad-table .dt-sel{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--poad-accent-soft);border-bottom:1px solid var(--poad-border);font-size:12.5px;color:var(--poad-accent);font-weight:500;min-height:47px;box-sizing:border-box}.poad-table .dt-sel__grow{flex:1}.poad-table .dt-sel__clear{border:0;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;width:26px;height:26px;border-radius:6px}.poad-table .dt-sel__clear:hover{background:var(--poad-accent-soft)}.poad-table .dt-scroll{overflow:auto;position:relative}.poad-table.poad-table.has-scroll-height .dt-scroll{max-height:var(--_scroll-h);scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent;scrollbar-gutter:stable}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar{width:10px;height:10px}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table .dt-loading{position:absolute;inset:0;display:grid;place-items:center;background:color-mix(in srgb,var(--poad-surface) 55%,transparent);z-index:5}.poad-table.poad-table .dt-loading .poad-icon{color:var(--poad-accent)}.poad-table .tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:var(--poad-font-size)}.poad-table.poad-table.is-resizable .tbl{table-layout:fixed}.poad-table.poad-table .tbl>caption{text-align:start;padding:10px 12px;font-weight:600;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th{position:relative;text-align:start;font-weight:600;font-size:var(--poad-font-size-sm);color:var(--poad-fg-secondary);background:var(--poad-bg-subtle);padding:0 var(--_cell-px);height:38px;border-bottom:1px solid var(--poad-border);white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th{position:sticky;top:0;z-index:3}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right{text-align:end}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-center{text-align:center}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left{position:sticky;inset-inline-start:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;inset-inline-end:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right{background:var(--poad-bg-subtle);z-index:4}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd{display:inline-flex;align-items:center;gap:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right>.hd{flex-direction:row-reverse}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-txt{overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd{all:unset;display:inline-flex;align-items:center;gap:4px;cursor:pointer;border-radius:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd:focus-visible{outline:2px solid var(--poad-ring);outline-offset:2px}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{opacity:0;transition:opacity var(--poad-dur);flex:none}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hd>.poad-icon{opacity:.6}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd>.poad-icon{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-idx{font:600 9px var(--poad-font-mono);background:var(--poad-accent-soft);color:var(--poad-accent);border-radius:999px;padding:1px 4px}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz{position:absolute;inset-inline-end:0;top:8px;bottom:8px;width:5px;cursor:col-resize;z-index:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:after{content:\"\";position:absolute;inset-inline-end:2px;top:0;bottom:0;width:1px;background:var(--poad-border);transition:background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:hover:after,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz.is-active:after{background:var(--poad-accent);width:2px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-sel,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{width:36px;padding-inline-end:0}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-exp,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{width:30px;padding:0 4px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-acts,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{text-align:end;white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{height:auto;padding:6px var(--_cell-px);background:var(--poad-surface);font-weight:400}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input{width:100%;box-sizing:border-box;height:26px;padding:0 8px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td{padding:0 var(--_cell-px);height:var(--_row-h);border-bottom:1px solid var(--poad-border);vertical-align:middle;font-variant-numeric:tabular-nums;box-sizing:border-box}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-right{text-align:end}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-center,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-center{text-align:center}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{font-family:var(--poad-font-mono);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-nowrap,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th{border-inline-end:1px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th:last-child{border-inline-end:0}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:last-child>td{border-bottom:0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td{background:var(--poad-hover)}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selectable{cursor:pointer}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible>td{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent),inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-expanded :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transform:rotate(90deg)}.poad-table.poad-table .tbl :where(td.col-acts)>.acts{display:inline-flex;gap:2px;align-items:center;opacity:0;transition:opacity var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:hover>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:hover:where(.dt-grand)>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-selected>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:focus-within>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:focus-within:where(.dt-grand)>:where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.acts-always .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{background:var(--poad-bg-subtle);height:auto;padding-block:12px 14px;padding-inline:var(--_detail-pl, 58px) var(--_cell-px)}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-detail:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>tfoot>:where(tr.dt-grand)>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg-secondary);border-top:1px solid var(--poad-border);border-bottom:0}.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 22px;font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv>:where(div)>b{display:block;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin-bottom:4px}.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{height:12px;border-radius:4px;background:linear-gradient(90deg,var(--poad-elevated),var(--poad-hover),var(--poad-elevated));background-size:200% 100%;animation:poad-tbl-sh 1.4s infinite}@keyframes poad-tbl-sh{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{animation:none}.poad-table.poad-table .tbl :where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{transition:none}}.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty{display:grid;place-items:center;gap:6px;padding:34px 12px;text-align:center;color:var(--poad-fg-secondary);font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>.poad-icon{color:var(--poad-fg-muted)}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>b{color:var(--poad-fg);font-size:var(--poad-font-size)}.poad-table .dt-foot{display:flex;align-items:center;gap:14px;padding:8px 12px;border-top:1px solid var(--poad-border)}.poad-table.poad-table .dt-foot .poad-paginator{flex:1}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{padding:5px 6px}.poad-table .flt-cell{position:relative;display:flex;align-items:center;gap:4px;min-width:0}.poad-table.poad-table .flt-cell input,.poad-table.poad-table .flt-cell .flt-in{flex:1 1 0;min-width:0;height:28px;padding:0 26px 0 8px;box-sizing:border-box;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .flt-cell.is-range input{padding-right:8px}.poad-table.poad-table .flt-cell.is-range input:last-of-type{padding-right:26px}.poad-table.poad-table .flt-cell input:focus,.poad-table.poad-table .flt-cell .flt-in:focus-visible{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .flt-cell.is-active input,.poad-table.poad-table .flt-cell.is-active .flt-in{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell .flt-in{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;cursor:pointer}.poad-table.poad-table .flt-cell .flt-in.is-ph{color:var(--poad-fg-muted)}.poad-table.poad-table.poad-table .flt-cell .flt-in .poad-icon{color:var(--poad-fg-muted);flex:none}.poad-table.poad-table .flt-cell .flt-txt{flex:1;height:28px;display:inline-flex;align-items:center;padding:0 26px 0 8px;font:italic var(--poad-font-size-sm) var(--poad-font);color:var(--poad-accent);background:var(--poad-accent-soft);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);box-sizing:border-box}.poad-table.poad-table .flt-cell .flt-op{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-op:hover,.poad-table.poad-table .flt-cell .flt-op.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell.is-active .flt-op{right:22px}.poad-table.poad-table .flt-cell .flt-x{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:18px;height:18px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-x:hover{color:var(--poad-danger);background:var(--poad-danger-soft)}.poad-table.poad-table .flt-cell>.poad-select{flex:1 1 0;min-width:0}.poad-table.poad-table.poad-table .flt-cell>.poad-select .poad-select__trigger{padding-inline-end:26px}.poad-table.poad-table.poad-table .flt-cell.is-active>.poad-select .poad-select__trigger{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table .dt-foot__count{font:var(--poad-font-size-sm) var(--poad-font-mono);color:var(--poad-fg-secondary);white-space:nowrap}.poad-table.poad-table .dt-foot.has-count .poad-paginator{flex:1}\n", ".poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;z-index:2;background:var(--poad-surface);background-clip:padding-box}.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-right{z-index:4;background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-right{z-index:5}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-right{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-right{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-left,.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-right{background:color-mix(in srgb,var(--poad-accent) 12%,var(--poad-surface))}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-last-left{transition:box-shadow var(--poad-dur)}.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(thead)>:where(tr)>th.st-last-left{box-shadow:1px 0 0 var(--poad-border),6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tbody)>:where(tr)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(thead)>:where(tr)>th.st-first-right{box-shadow:-1px 0 0 var(--poad-border),-6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right.col-acts>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right.col-acts>.acts{background:inherit}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.cell-txt,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.cell-txt{white-space:normal}.poad-table .poad-tree-toggle{display:inline-flex;align-items:center;vertical-align:middle;margin-right:4px}.poad-table.poad-table .poad-tree-toggle .ind{display:inline-block;width:calc(var(--_lvl, 0) * var(--_indent, 20px));flex:none}.poad-table.poad-table .poad-tree-toggle .tl{display:inline-block;width:var(--_indent, 20px);align-self:stretch;flex:none;position:relative}.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{padding-top:0;padding-bottom:0}.poad-table.poad-table.has-tree-lines .poad-tree-toggle{align-self:stretch;height:var(--_row-h)}.poad-table.poad-table.poad-table.has-tree-lines .poad-tree-toggle .tl:before{content:\"\";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid var(--poad-border)}.poad-table.poad-table .poad-tree-toggle .tg{width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0;flex:none}.poad-table.poad-table .poad-tree-toggle .tg:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .poad-tree-toggle .tg:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg.is-open .poad-icon{transform:rotate(90deg)}.poad-table.poad-table .poad-tree-toggle .tg.is-leaf{visibility:hidden;pointer-events:none}.poad-table.poad-table .poad-tree-toggle .ic{color:var(--poad-fg-muted);margin:0 6px 0 2px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.lvl-0.has-children>td.dt-tree-cell{font-weight:500}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group>td{background:var(--poad-bg-subtle);height:34px;padding:0 var(--_cell-px);border-bottom:1px solid var(--poad-border)}.poad-table .dt-group__inner{display:flex;align-items:center;gap:6px;padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px));font-weight:600;font-size:var(--poad-font-size-sm)}.poad-table.poad-table .dt-group__inner .exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-group__inner .exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-group__inner .exp .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group.is-expanded .dt-group__inner .exp .poad-icon{transform:rotate(90deg)}.poad-table .dt-group__count{font:500 10.5px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td{background:var(--poad-bg-subtle);height:32px;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td.dt-num,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr.dt-grand>td.dt-num{font-family:var(--poad-font-mono);font-weight:600}.poad-table .dt-group-foot__label{padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px) + 26px);font-weight:500}.poad-table.poad-table.poad-table.poad-table .tbl>tfoot>tr.dt-grand>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg);border-top:2px solid var(--poad-border);height:36px}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group:hover>td,.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group-foot:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{padding-left:calc(var(--_detail-pl, 58px) + var(--_lvl, 0) * var(--_indent, 20px))}.poad-table .dt-bar__tools,.poad-table .dt-bar__tools-end{display:contents}.poad-table .dt-bar__filters{display:inline-flex}.poad-table.poad-table .dt-bar__filters .dt-bar__count{padding:1px 6px;font-size:10px}.poad-table.poad-table.is-stacked .dt-bar{gap:8px}.poad-table.poad-table.is-stacked .dt-bar__tools{display:none}.poad-table.poad-table.is-stacked .dt-bar__tools.is-open{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-basis:100%;order:10;padding-top:8px;border-top:1px dashed var(--poad-border)}.poad-table.poad-table.is-stacked .dt-bar__grow{display:none}.poad-table.poad-table.is-stacked .dt-bar__search{order:5;flex-basis:100%;width:100%}.poad-table.poad-table.is-stacked .dt-bar__cols,.poad-table.poad-table.is-stacked .dt-bar__density{display:none}.poad-table.poad-table.is-stacked .dt-sel{position:sticky;bottom:0;z-index:6;flex-wrap:wrap;border-top:1px solid var(--poad-border);order:99}.poad-table.poad-table.is-stacked .dt-scroll{overflow-x:hidden}.poad-table.poad-table.is-stacked .tbl,.poad-table.poad-table.poad-table.is-stacked .tbl>tbody,.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>tr:where(.dt-grand),.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>thead,.poad-table.poad-table.poad-table.is-stacked .tbl>colgroup,.poad-table.poad-table.poad-table.is-stacked .tbl>caption{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row{position:relative;padding:10px 12px;border-bottom:1px solid var(--poad-border);height:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.has-sel{padding-left:44px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected{background:var(--poad-accent-soft);box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover>td,.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected>td,.poad-table.poad-table.poad-table.poad-table.is-striped.is-stacked .tbl>:where(thead,tbody)>tr.dt-row>td{background:transparent!important;box-shadow:none!important}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:focus-visible{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{height:auto;padding:2px 0;border:0;white-space:normal;display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12.5px;position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td[data-l]:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td[data-l]:before{content:attr(data-l);color:var(--poad-fg-muted);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;flex:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{position:absolute;left:12px;top:12px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first:before{content:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{position:absolute;right:44px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{display:block;font-size:14px;font-weight:500;padding:0 44px 6px 0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .tl,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .tl{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{position:absolute;right:8px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{text-align:right}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-detail>td{padding:8px 12px 10px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-1{margin-left:22px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-2{margin-left:44px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-3{margin-left:66px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group>td{padding:8px 12px;height:auto;display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot{display:flex;flex-wrap:wrap;gap:4px 14px;padding:6px 12px 6px 44px}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td{padding:0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand{padding:8px 12px}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-empty>td{display:block}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.is-skeleton>td{display:block;padding:4px 0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-card>td{padding:0;display:block}.poad-table.poad-table.is-stacked .dt-foot{flex-wrap:wrap;gap:8px}.poad-table.poad-table.is-stacked .dt-foot .poad-paginator__rpp{display:none}\n", ".poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh{display:none;position:absolute;left:2px;top:50%;transform:translateY(-50%);width:14px;height:18px;color:var(--poad-fg-muted);cursor:grab;border-radius:3px;place-items:center}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag{padding-left:calc(var(--_cell-px) + 6px)}.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag:hover>.dh,.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag.cdk-drag-dragging>.dh{display:grid}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder{opacity:.35;background:var(--poad-accent-soft)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder:before{content:\"\";position:absolute;left:-1px;top:4px;bottom:4px;width:2px;background:var(--poad-accent)}.cdk-drag-preview.dt-th-preview{display:flex;align-items:center;height:38px;padding:0 12px;box-sizing:border-box;font:600 var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:6px;box-shadow:var(--poad-shadow-lg);list-style:none}.poad-table.poad-table.poad-table.poad-table .tbl>thead>tr.cdk-drop-list-dragging>th:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-animating{transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .dt-bar__menu .mv{display:inline-flex;gap:0;margin-left:auto}.poad-table.poad-table.poad-table .dt-bar__menu .mv button{border:0;background:transparent;color:var(--poad-fg-muted);width:20px;height:20px;border-radius:4px;cursor:pointer;display:grid;place-items:center;padding:0}.poad-table.poad-table.poad-table .dt-bar__menu .mv button:hover:not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-bar__menu .mv button[disabled]{opacity:.3;cursor:default}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th{height:30px;text-align:center;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell{border-left:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell:first-child{border-left:0}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg>th{position:sticky;top:0;z-index:3}.poad-table.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg+tr>th{top:30px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-vpad>td{padding:0;border:0;height:auto}.poad-table.poad-table.is-virtual .dt-scroll{overflow-anchor:none}.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{cursor:text;position:relative}.poad-table.poad-table.poad-table.poad-table.poad-table.edit-cell.is-hoverable .tbl>tbody>tr.dt-row>td.is-editable:hover{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-border-strong)}.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{padding-right:calc(var(--_cell-px) + 16px)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:focus-visible{opacity:.7}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:hover{opacity:1!important;background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{padding-top:0;padding-bottom:0;background:var(--poad-surface)!important;box-shadow:none!important}.poad-table .dt-editor{position:relative;display:flex;align-items:stretch;min-height:calc(var(--_row-h) - 8px);margin:4px 0}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{height:auto;vertical-align:top}.poad-table.poad-table .dt-editor input,.poad-table.poad-table .dt-editor select,.poad-table.poad-table .dt-editor textarea{width:100%;height:calc(var(--_row-h) - 8px);box-sizing:border-box;padding:0 8px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);outline:0;box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-editor input[type=number]{font-family:var(--poad-font-mono);text-align:right}.poad-table.poad-table .dt-editor textarea{height:auto;min-height:76px;padding:6px 8px;resize:vertical;line-height:1.45;font:var(--poad-font-size)/1.45 var(--poad-font)}.poad-table.poad-table .dt-editor input[type=checkbox]{width:16px;height:16px;box-shadow:none;accent-color:var(--poad-accent)}.poad-table.poad-table .dt-editor.is-invalid input,.poad-table.poad-table .dt-editor.is-invalid select,.poad-table.poad-table .dt-editor.is-invalid textarea{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.poad-table .dt-editor__err{position:absolute;left:0;top:calc(100% + 4px);z-index:6;padding:3px 8px;border-radius:6px;background:var(--poad-danger);color:#fff;font-size:11px;white-space:nowrap;box-shadow:var(--poad-shadow-md);pointer-events:none}.poad-table .dt-editor__err:before{content:\"\";position:absolute;left:10px;top:-4px;width:8px;height:8px;background:inherit;transform:rotate(45deg)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.dt-row.is-editing-row>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re{display:inline-grid;place-items:center;width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);cursor:pointer;padding:0}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ok{color:var(--poad-success)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ko{color:var(--poad-danger)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.is-editing-row>:where(td.col-acts)>.acts{opacity:1}\n", ".poad-table .dt-scroll{scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.poad-table .dt-scroll::-webkit-scrollbar{height:10px;width:10px}.poad-table .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.has-menu{padding-right:calc(var(--_cell-px) + 20px)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur);z-index:2}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered>.hm{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:hover,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered .hd-txt{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table.is-resizable .tbl>:where(thead)>:where(tr)>th.has-menu>.hm{right:10px}.poad-table .dt-gz{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:40px;padding:6px 12px;border-bottom:1px solid var(--poad-border);background:var(--poad-bg-subtle);color:var(--poad-fg-muted);font-size:var(--poad-font-size-sm)}.poad-table .dt-gz.cdk-drop-list-receiving,.poad-table .dt-gz.cdk-drop-list-dragging{background:var(--poad-accent-soft);color:var(--poad-accent);outline:1px dashed var(--poad-accent);outline-offset:-4px}.poad-table .dt-gz__hint{font-style:italic}.poad-table .dt-gz__chip,.dt-gz__chip.cdk-drag-preview{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 4px 0 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent);font-weight:500;cursor:grab}.poad-table.poad-table .dt-gz__chip .dt-gz__drag,.dt-gz__chip.cdk-drag-preview .dt-gz__drag{opacity:.6}.poad-table.poad-table .dt-gz__chip button,.dt-gz__chip.cdk-drag-preview button{width:18px;height:18px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-gz__chip button:hover,.dt-gz__chip.cdk-drag-preview button:hover{background:var(--poad-accent);color:var(--poad-fg-on-accent)}.poad-table .dt-gz__chip.cdk-drag-placeholder{opacity:.35}.cdk-drag-preview.dt-gz__chip{box-shadow:var(--poad-shadow-md)}.poad-table.poad-table.is-stacked .dt-gz{display:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{width:44px;text-align:right;font:11px var(--poad-font-mono);color:var(--poad-fg-muted);background:var(--poad-bg-subtle);padding:0 8px;-webkit-user-select:none;user-select:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num{font-weight:600}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-num{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{position:absolute;left:auto;right:12px;bottom:6px;width:auto;background:transparent;padding:0}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num:before{content:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-drag,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{width:28px;padding:0 4px}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh{display:inline-grid;place-items:center;width:20px;height:24px;color:var(--poad-fg-muted);cursor:grab;opacity:0;transition:opacity var(--poad-dur);border-radius:4px}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-drag>.rdh,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.cdk-drag-dragging>td.col-drag>.rdh{opacity:.8}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder{opacity:0}.poad-table.poad-table.poad-table .tbl>tbody.cdk-drop-list-dragging>tr.dt-row:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder>td{border-top:2px solid var(--poad-accent)}.cdk-drag-preview.dt-tr-preview{display:table;table-layout:fixed;box-sizing:border-box;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:8px;box-shadow:var(--poad-shadow-lg);opacity:.95;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.cdk-drag-preview.dt-tr-preview td{padding:0 12px;height:42px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{display:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PoadColumnComponent, selector: "poad-column", inputs: ["field", "key", "header", "sortable", "sortField", "width", "minWidth", "maxWidth", "align", "resizable", "sticky", "hidden", "toggleable", "filterable", "filterType", "filterOptions", "filterPlaceholder", "filterMatchMode", "dataType", "exportable", "headerClass", "bodyClass", "nowrap", "priority", "groupable", "menu", "editable", "editor", "editorOptions", "validator", "reorderable"], outputs: ["hiddenChange"] }, { kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadCheckboxComponent, selector: "poad-checkbox", inputs: ["label", "ariaLabel", "indeterminate", "invalid", "readonly"], outputs: ["indeterminateChange", "changed"] }, { kind: "component", type: PoadPaginatorComponent, selector: "poad-paginator", inputs: ["first", "rows", "totalRecords", "rowsPerPageOptions", "rowsPerPageLabel", "pageLinks", "showCurrentPageReport", "currentPageReportTemplate", "showFirstLastIcon", "showPageLinks", "alwaysShow"], outputs: ["firstChange", "rowsChange", "pageChange"] }, { kind: "component", type: PoadSelectComponent, selector: "poad-select", outputs: ["changed"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: PoadEditFocusDirective, selector: "[poadEditFocus]" }, { kind: "component", type: PoadMenuComponent, selector: "poad-menu", inputs: ["items", "popup", "ariaLabel", "minWidth", "closeOnSelect", "mobile", "sheetTitle"], outputs: ["itemClick", "shown", "hidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10104
9971
  }
10105
9972
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadTableComponent, decorators: [{
10106
9973
  type: Component,
10107
- args: [{ selector: 'poad-table', standalone: true, imports: [NgTemplateOutlet, PoadColumnComponent, PoadIconComponent, PoadCheckboxComponent, PoadPaginatorComponent, CdkDropList, CdkDrag, CdkDragHandle, PoadEditFocusDirective, PoadMenuComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: {
9974
+ args: [{ selector: 'poad-table', standalone: true, imports: [NgTemplateOutlet, PoadColumnComponent, PoadIconComponent, PoadCheckboxComponent, PoadPaginatorComponent, PoadSelectComponent, CdkDropList, CdkDrag, CdkDragHandle, PoadEditFocusDirective, PoadMenuComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: {
10108
9975
  class: 'poad-table',
10109
9976
  '[class.is-dense]': 'dense()',
10110
9977
  '[class.is-striped]': 'striped()',
@@ -10137,7 +10004,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10137
10004
  '[style.--_scroll-h]': 'scrollHeight() || null',
10138
10005
  '[style.--_detail-pl]': 'detailPaddingLeft()',
10139
10006
  '[style.--_indent]': 'indent()',
10140
- }, encapsulation: ViewEncapsulation.None, template: "<!-- Colonnes d\u00E9finies par l'entr\u00E9e [colonnes] : rendues en <poad-column> R\u00C9ELS (une\n colonne ne dessine rien, :host display none) et r\u00E9cup\u00E9r\u00E9es par la requ\u00EAte de VUE de\n la base \u2014 le moteur ne consomme qu'une seule esp\u00E8ce de colonne. -->\n@for (d of colonnes(); track d.field) {\n <poad-column\n [field]=\"d.field\"\n [header]=\"d.header ?? d.field\"\n [dataType]=\"d.dataType ?? 'text'\"\n [align]=\"d.align ?? 'left'\"\n [width]=\"d.width ?? ''\"\n [sortable]=\"d.sortable ?? false\"\n />\n}\n<div class=\"dt\" #dt [class]=\"'dt ' + styleClass()\">\n <!-- barre de s\u00E9lection contextuelle (remplace la barre d'outils) -->\n @if (selectedCount() > 0 && showSelectionBar()) {\n <div class=\"dt-sel\" role=\"region\" aria-live=\"polite\">\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n <span>{{ selectedLabel() === undefined && selectedLabelPlural() === undefined ? i18n.t('table.selectedCount', { n: selectedCount() }) : selectedCount() + ' ' + (selectedCount() > 1 ? (selectedLabelPlural() ?? selectedLabel()) : (selectedLabel() ?? selectedLabelPlural())) }}</span>\n <span class=\"dt-sel__grow\"></span>\n <ng-content select=\"[poadTableSelectionBar]\"/>\n <button type=\"button\" class=\"dt-sel__clear\" [attr.aria-label]=\"i18n.t('table.clearSelection')\" (click)=\"clearSelection()\"><poad-icon name=\"x\" [size]=\"14\"/></button>\n </div>\n } @else if (showToolbar()) {\n <div class=\"dt-bar\">\n @if (title()) {<span class=\"dt-bar__title\">{{ title() }}</span>}\n @if (showCount()) {<span class=\"dt-bar__count\">{{ count() ?? totalFiltered() }}</span>}\n @if (resp.stacked()) {\n <button type=\"button\" class=\"dt-bar__btn dt-bar__filters\" [class.is-on]=\"filtersOpen()\" [attr.aria-expanded]=\"filtersOpen()\" (click)=\"filtersOpen.set(!filtersOpen())\">\n <poad-icon name=\"filter\" [size]=\"13\"/>{{ i18n.text(filtersLabel(), 'table.filters') }}@if (activeFilterCount() > 0) {<span class=\"dt-bar__count\">{{ activeFilterCount() }}</span>}\n </button>\n }\n <span class=\"dt-bar__tools\" [class.is-open]=\"filtersOpen()\"><ng-content select=\"[poadTableToolbar]\"/></span>\n <span class=\"dt-bar__grow\"></span>\n @if (showSearch()) {\n <div class=\"dt-bar__search\">\n <poad-icon name=\"search\" [size]=\"14\"/>\n <input type=\"search\" [placeholder]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\" [value]=\"searchText()\" (input)=\"onSearch($any($event.target).value)\" [attr.aria-label]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\"/>\n @if (searchText()) {<button type=\"button\" class=\"dt-bar__clear\" [attr.aria-label]=\"i18n.t('table.clearSearch')\" (click)=\"onSearch('', true)\"><poad-icon name=\"x\" [size]=\"12\"/></button>}\n </div>\n }\n <span class=\"dt-bar__tools-end\"><ng-content select=\"[poadTableToolbarEnd]\"/></span>\n @if (columnToggle()) {\n <div class=\"dt-bar__cols\">\n <button type=\"button\" class=\"dt-bar__btn\" [class.is-on]=\"colsMenuOpen()\" aria-haspopup=\"true\" [attr.aria-expanded]=\"colsMenuOpen()\" (click)=\"colsMenuOpen.set(!colsMenuOpen())\">\n {{ i18n.text(columnsLabel(), 'table.columns') }} <poad-icon name=\"chevron-down\" [size]=\"12\"/>\n </button>\n @if (colsMenuOpen()) {\n <div class=\"dt-bar__menu\" role=\"menu\" (keydown.escape)=\"colsMenuOpen.set(false)\">\n <div class=\"dt-bar__menu-title\">{{ i18n.text(columnsLabel(), 'table.columns') }}</div>\n @for (c of orderedColumns(); track c.id(); let ci = $index; let first = $first; let last = $last) {\n <label [class.is-locked]=\"!c.toggleable()\">\n <poad-checkbox [value]=\"!c.hidden()\" [disabled]=\"!c.toggleable()\" (changed)=\"toggleColumn(c, !$event)\"/>\n <span>{{ c.header() || c.field() }}</span>\n @if (reorderableColumns()) {\n <span class=\"mv\" (click)=\"$event.stopPropagation(); $event.preventDefault()\">\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveUp')\" [disabled]=\"first\" (click)=\"moveColumn(ci, ci - 1)\"><poad-icon name=\"chevron-up\" [size]=\"12\"/></button>\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveDown')\" [disabled]=\"last\" (click)=\"moveColumn(ci, ci + 1)\"><poad-icon name=\"chevron-down\" [size]=\"12\"/></button>\n </span>\n }\n </label>\n }\n </div>\n }\n </div>\n }\n @if (showDensityToggle()) {\n <button type=\"button\" class=\"dt-bar__btn is-ghost dt-bar__density\" [class.is-on]=\"dense()\" [attr.aria-pressed]=\"dense()\" [attr.aria-label]=\"i18n.t('table.density')\" [title]=\"i18n.t('table.density')\" (click)=\"dense.set(!dense())\"><poad-icon name=\"chevrons-up-down\" [size]=\"14\"/></button>\n }\n </div>\n }\n\n @if (showGroupZone() && !resp.stacked()) {\n <div class=\"dt-gz\" [class.is-empty]=\"!groupFields().length\" cdkDropList [id]=\"gzId\" cdkDropListOrientation=\"horizontal\" [cdkDropListData]=\"groupFields()\" [cdkDropListEnterPredicate]=\"gzEnter\" (cdkDropListDropped)=\"onGroupZoneDrop($event)\">\n <poad-icon name=\"layers\" [size]=\"14\"/>\n @if (!groupFields().length) {<span class=\"dt-gz__hint\">{{ i18n.text(groupZoneLabel(), 'table.groupZone') }}</span>}\n @for (f of groupFields(); track f) {\n <span class=\"dt-gz__chip\" cdkDrag [cdkDragData]=\"f\" cdkDragLockAxis=\"x\"><poad-icon name=\"drag\" [size]=\"11\" class=\"dt-gz__drag\"/><span>{{ groupChipLabel(f) }}</span><button type=\"button\" [attr.aria-label]=\"i18n.t('table.ungroupBy', { label: groupChipLabel(f) })\" (click)=\"ungroup(f)\"><poad-icon name=\"x\" [size]=\"11\"/></button></span>\n }\n </div>\n }\n\n <div class=\"dt-scroll\" #scroller (scroll)=\"onScroll()\">\n @if (loading() && hasData()) {<div class=\"dt-loading\"><poad-icon name=\"loader\" [size]=\"22\" spin/></div>}\n @let ta = tableAttrs();\n <table class=\"tbl\" [class]=\"'tbl ' + tableClass()\" [style]=\"tableStyle()\" [attr.aria-busy]=\"ta['aria-busy']\" [attr.aria-rowcount]=\"ta['aria-rowcount']\" [attr.role]=\"ta.role\" [attr.aria-multiselectable]=\"ta['aria-multiselectable']\">\n @if (captionTpl()) {<caption><ng-container *ngTemplateOutlet=\"captionTpl()!.tpl\"/></caption>}\n <colgroup>\n @if (hasNumberColumn()) {<col style=\"width:44px\">}\n @if (hasSelectionColumn()) {<col style=\"width:36px\">}\n @if (rowDragEnabled()) {<col style=\"width:28px\">}\n @if (hasExpandColumn()) {<col style=\"width:30px\">}\n @for (c of visibleColumns(); track c.id()) {<col [style.width]=\"colWidth(c)\" [style.min-width]=\"c.minWidth() || null\" [style.max-width]=\"c.maxWidth() || null\">}\n @if (hasActionsColumn()) {<col [style.width]=\"rowActionsWidth()\">}\n </colgroup>\n <thead>\n @let hgRows = headerGroups().length && !resp.stacked() ? 1 : 0;\n @if (hgRows) {\n <tr class=\"hg\" [attr.aria-rowindex]=\"headerRowAttrs(0)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (g of headerGroups(); track $index) {<th scope=\"colgroup\" [attr.colspan]=\"g.span\" [class]=\"'hg-cell ' + (g.class || '')\">{{ g.header }}</th>}\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n <tr [attr.aria-rowindex]=\"headerRowAttrs(hgRows)['aria-rowindex']\" cdkDropList cdkDropListOrientation=\"horizontal\" [cdkDropListDisabled]=\"!reorderableColumns() && !showGroupZone()\" [cdkDropListSortingDisabled]=\"!reorderableColumns()\" [cdkDropListConnectedTo]=\"showGroupZone() ? [gzId] : []\" (cdkDropListDropped)=\"onColumnDrop($event)\">\n @if (hasNumberColumn()) {<th class=\"col-num\" scope=\"col\" data-sk=\"num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">#</th>}\n @if (hasSelectionColumn()) {\n <th class=\"col-sel\" scope=\"col\" data-sk=\"sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (selectionMode() === 'multiple' && selectAll()) {\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n }\n </th>\n }\n @if (rowDragEnabled()) {<th class=\"col-drag\" scope=\"col\" data-sk=\"drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"><span hidden>{{ i18n.t('table.move') }}</span></th>}\n @if (hasExpandColumn()) {<th class=\"col-exp\" scope=\"col\" data-sk=\"exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"><span hidden>{{ i18n.t('table.detail') }}</span></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th scope=\"col\" [attr.data-sk]=\"c.id()\" [class]=\"thClass(c) + (canDrag(c) ? ' can-drag' : '') + (showsMenu(c) ? ' has-menu' : '') + (hasColFilter(c) ? ' is-filtered' : '')\" [attr.aria-sort]=\"ariaSort(c)\" [style.width]=\"colWidth(c)\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\"\n cdkDrag [cdkDragDisabled]=\"!canDrag(c)\" [cdkDragData]=\"c\" [cdkDragLockAxis]=\"showGroupZone() ? null : 'x'\" cdkDragPreviewClass=\"dt-th-preview\" [cdkDragBoundary]=\"showGroupZone() ? '' : '.tbl thead'\">\n @if (canDrag(c)) {<span class=\"dh\" cdkDragHandle aria-hidden=\"true\" [title]=\"i18n.t('table.moveColumn')\"><poad-icon name=\"drag\" [size]=\"12\"/></span>}\n @if (c.headerTpl()) {\n <ng-container *ngTemplateOutlet=\"c.headerTpl()!.tpl; context: { $implicit: c }\"/>\n } @else if (c.sortable()) {\n <button type=\"button\" class=\"hd\" (click)=\"sort(c, $event)\" [attr.aria-label]=\"i18n.t('table.sortBy', { column: c.header() })\">\n <span class=\"hd-txt\">{{ c.header() }}</span>\n <poad-icon [name]=\"sortIcon(c)\" [size]=\"12\"/>\n @if (sortMode() === 'multiple' && sortIndex(c) > 0) {<span class=\"hd-idx\">{{ sortIndex(c) }}</span>}\n </button>\n } @else {\n <span class=\"hd\"><span class=\"hd-txt\">{{ c.header() }}</span></span>\n }\n @if (showsMenu(c)) {<button type=\"button\" class=\"hm\" [class.is-on]=\"menuColumn() === c && !!headerMenu()?.visible()\" [attr.aria-label]=\"i18n.t('table.columnMenu')\" aria-haspopup=\"menu\" (click)=\"openHeaderMenu(c, $event)\" (pointerdown)=\"$event.stopPropagation()\"><poad-icon name=\"more-vertical\" [size]=\"13\"/></button>}\n @if (isResizable(c)) {<span class=\"rz\" [class.is-active]=\"resizingId() === c.id()\" (pointerdown)=\"startResize($event, c)\" aria-hidden=\"true\"></span>}\n </th>\n }\n @if (hasActionsColumn()) {<th class=\"col-acts\" scope=\"col\" data-sk=\"acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span hidden>{{ i18n.t('table.actions') }}</span></th>}\n </tr>\n @if (hasFilterRow()) {\n <tr class=\"flt\" [attr.aria-rowindex]=\"headerRowAttrs(hgRows + 1)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th [class]=\"stickyClass(c.id())\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\">\n @if (c.filterable()) {\n @if (c.filterTpl()) {\n <ng-container *ngTemplateOutlet=\"c.filterTpl()!.tpl; context: { $implicit: c, value: filterValue(c), filter: filterFn(c) }\"/>\n } @else {\n @let kind = filterKind(c);\n @let op = filterOp(c);\n <div class=\"flt-cell\" [class.is-active]=\"hasColFilter(c)\" [class.is-range]=\"op.range\">\n @if (kind === 'boolean') {\n <select [value]=\"filterValue(c) == null ? '' : '' + filterValue(c)\" (change)=\"setFilter(c, $any($event.target).value === '' ? null : $any($event.target).value === 'true')\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\">\n <option value=\"\">{{ c.filterPlaceholder() || i18n.t('filter.any') }}</option><option value=\"true\">{{ i18n.t('common.yes') }}</option><option value=\"false\">{{ i18n.t('common.no') }}</option>\n </select>\n } @else if (kind === 'select' && op.mode !== 'eq') {\n <button type=\"button\" class=\"flt-in\" [class.is-ph]=\"!filterArray(c).length\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\" (click)=\"openInMenu(c, $event)\">\n <span>{{ filterArray(c).length ? i18n.t('filter.selectedCount', { n: filterArray(c).length }) : (c.filterPlaceholder() || i18n.t('filter.any')) }}</span><poad-icon name=\"chevron-down\" [size]=\"11\"/>\n </button>\n } @else if (kind === 'select') {\n <select [value]=\"filterValue(c) ?? ''\" (change)=\"setFilter(c, $any($event.target).value || null, 'eq')\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\">\n <option value=\"\">{{ c.filterPlaceholder() || i18n.t('filter.any') }}</option>\n @for (o of c.filterOptions(); track $index) {<option [value]=\"o.value\" [selected]=\"o.value === filterValue(c)\">{{ o.label }}</option>}\n </select>\n } @else if (!op.needsValue) {\n <span class=\"flt-txt\">{{ opLabel(op) }}</span>\n } @else if (op.range) {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"i18n.t('filter.min')\" (input)=\"setFilterPart(c, 0, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMin', { column: c.header() })\"/>\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 1)\" [placeholder]=\"i18n.t('filter.max')\" (input)=\"setFilterPart(c, 1, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMax', { column: c.header() })\"/>\n } @else {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"c.filterPlaceholder() || opLabel(op)\" (input)=\"setFilterDebounced(c, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\"/>\n }\n @if (kind !== 'boolean') {\n <button type=\"button\" class=\"flt-op\" [class.is-on]=\"hasColFilter(c) || op.mode !== filterOp(c).mode\" [attr.aria-label]=\"i18n.t('filter.operator', { label: opLabel(op) })\" [title]=\"opLabel(op)\" (click)=\"openFilterMenu(c, $event)\"><poad-icon name=\"filter\" [size]=\"12\"/></button>\n }\n @if (hasColFilter(c)) {<button type=\"button\" class=\"flt-x\" [attr.aria-label]=\"i18n.t('filter.clear')\" (click)=\"clearColumnFilter(c)\"><poad-icon name=\"x\" [size]=\"11\"/></button>}\n </div>\n }\n }\n </th>\n }\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n </thead>\n <tbody cdkDropList [cdkDropListDisabled]=\"!rowDragEnabled()\" cdkDropListLockAxis=\"y\" (cdkDropListDropped)=\"onRowDrop($event)\">\n @if (bodyState() === 'skeleton') {\n @for (i of skeletonRows(); track i) {\n <tr class=\"dt-row is-skeleton\" aria-hidden=\"true\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id()) {<td [class]=\"tdClass(c)\"><div class=\"skel\" [style.width.%]=\"skeletonWidth(i, $index)\" [style.margin-left]=\"alignOf(c) === 'right' ? 'auto' : null\"></div></td>}\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n } @else if (bodyState() === 'empty') {\n <tr class=\"dt-empty\"><td [attr.colspan]=\"colspan()\">\n @if (emptyTpl()) {<ng-container *ngTemplateOutlet=\"emptyTpl()!.tpl\"/>}\n @else {\n <div class=\"empty\">\n @if (emptyIcon()) {<poad-icon [name]=\"emptyIcon()\" [size]=\"26\" [strokeWidth]=\"1.5\"/>}\n <b>{{ i18n.text(emptyMessage(), 'table.empty') }}</b>\n @if (emptyHint()) {<span>{{ emptyHint() }}</span>}\n </div>\n }\n </td></tr>\n } @else {\n @if (virtual.range().topPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().topPad\"></td></tr>}\n @for (d of renderRows(); track d.trackKey; let vi = $index) {\n @let i = vi + virtual.range().start;\n @if (d.kind === 'group') {\n <!-- en-t\u00EAte de groupe -->\n <tr class=\"dt-group\" [class.is-expanded]=\"d.node!.expanded\" [style.--_lvl]=\"d.level\" role=\"row\" [attr.aria-level]=\"d.level + 1\" [attr.aria-expanded]=\"d.node!.expanded\">\n <td [attr.colspan]=\"colspan()\" class=\"dt-group__cell\">\n <div class=\"dt-group__inner\">\n @if (hasSelectionColumn() && selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectGroup', { label: d.node!.group!.label })\" (changed)=\"toggleGroupSelection(d, $event)\"/>\n }\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"d.node!.expanded\" [attr.aria-label]=\"d.node!.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleGroup(d.node!)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n @if (groupHeaderTpl()) {\n <ng-container *ngTemplateOutlet=\"groupHeaderTpl()!.tpl; context: groupCtx(d)\"/>\n } @else {\n <span class=\"dt-group__label\">{{ d.node!.group!.label }}</span>\n <span class=\"dt-group__count\">{{ d.node!.group!.count }}</span>\n }\n </div>\n </td>\n </tr>\n } @else if (d.kind === 'groupFooter') {\n <!-- pied de groupe (agr\u00E9gats) -->\n <tr class=\"dt-group-foot\" [style.--_lvl]=\"d.level\">\n @if (groupFooterTpl()) {\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"groupFooterTpl()!.tpl; context: groupCtx(d)\"/></td>\n } @else {\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {<span class=\"dt-group-foot__label\">{{ i18n.t('table.total', { label: d.node!.group!.label }) }}</span>}\n @else if (hasAggregate(c)) {{{ formatCell(d.node!.group!.aggregates[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n }\n </tr>\n } @else if (resp.stacked() && cardTpl()) {\n <!-- carte custom (mode stack) -->\n @let ca = rowAttrs(d, i);\n <tr class=\"dt-row dt-card\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [attr.tabindex]=\"ca.tabindex\" [attr.aria-selected]=\"ca.selected\" [attr.aria-rowindex]=\"ca.rowindex\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"cardTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, selected: isSelected(d.row) }\"/></td>\n </tr>\n } @else {\n <!-- ligne -->\n @let ra = rowAttrs(d, i);\n <tr class=\"dt-row\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [style.--_lvl]=\"d.level\" [attr.data-key]=\"d.key\" [class.is-editing-row]=\"isRowEditing(d.row)\"\n cdkDrag [cdkDragDisabled]=\"!canDragRow(d.row)\" [cdkDragData]=\"d.row\" cdkDragLockAxis=\"y\" cdkDragPreviewClass=\"dt-tr-preview\" cdkDragBoundary=\".tbl\"\n [attr.tabindex]=\"ra.tabindex\" [attr.aria-selected]=\"ra.selected\" [attr.aria-rowindex]=\"ra.rowindex\"\n [attr.role]=\"hierarchical() ? 'row' : null\" [attr.aria-level]=\"hierarchical() ? d.level + 1 : null\" [attr.aria-expanded]=\"d.node?.hasChildren ? d.node!.expanded : null\"\n [attr.aria-setsize]=\"d.node ? d.node.setSize : null\" [attr.aria-posinset]=\"d.node ? d.node.posInSet : null\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (dblclick)=\"rowDblClick.emit({ row: d.row, index: i, event: $event })\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n @if (hasNumberColumn()) {<td class=\"col-num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">{{ rowNumber(d) }}</td>}\n @if (hasSelectionColumn()) {\n <td class=\"col-sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (canSelect(d.row)) {\n @if (selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"toggleRow(d.row, i, $event)\"/>\n } @else {\n <poad-checkbox [value]=\"isSelected(d.row)\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"selectSingle(d.row, i)\"/>\n }\n }\n </td>\n }\n @if (rowDragEnabled()) {\n <td class=\"col-drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\">\n @if (canDragRow(d.row)) {<span class=\"rdh\" cdkDragHandle [title]=\"i18n.t('table.moveRow')\" aria-hidden=\"true\"><poad-icon name=\"drag\" [size]=\"13\"/></span>}\n </td>\n }\n @if (hasExpandColumn()) {\n <td class=\"col-exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\">\n @if (canExpand(d.row)) {\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"isExpanded(d.row)\" [attr.aria-label]=\"isExpanded(d.row) ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleExpand(d.row, $event)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n }\n </td>\n }\n @for (c of visibleColumns(); track c.id(); let cFirst = $first) {\n <td [class]=\"tdClass(c) + ' ' + stickyClass(c.id()) + (isTreeColumn(c) ? ' dt-tree-cell' : '') + (cFirst ? ' dt-first' : '') + (editUi.canEditCell(c) ? ' is-editable' : '') + (edit.isEditing(d.row, c) ? ' is-editing' : '')\"\n [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\" [attr.data-l]=\"c.header()\"\n (click)=\"editUi.onCellClick(d.row, c, $event, false)\" (dblclick)=\"editUi.onCellClick(d.row, c, $event, true)\">\n @if (edit.isEditing(d.row, c) && c.field()) {\n <!-- \u00E9diteur inline (mode cell ou row) -->\n <div class=\"dt-editor\" [class.is-invalid]=\"!!edit.cellError(d.row, c)\" (click)=\"$event.stopPropagation()\" (dblclick)=\"$event.stopPropagation()\" (keydown)=\"editUi.onKey(d.row, c, $event)\" (focusout)=\"editUi.onBlur(d.row, c)\">\n @if (c.editorTpl()) {\n <ng-container *ngTemplateOutlet=\"c.editorTpl()!.tpl; context: editUi.ctxFor(d.row, c, i)\"/>\n } @else {\n @switch (c.editor()) {\n @case ('select') {\n <select poadEditFocus [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).value)\">\n @for (o of c.effectiveEditorOptions(); track $index) {<option [value]=\"o.value\" [selected]=\"o.value === edit.valueOf(d.row, c)\">{{ o.label }}</option>}\n </select>\n }\n @case ('checkbox') {<input type=\"checkbox\" poadEditFocus [checked]=\"!!edit.valueOf(d.row, c)\" [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).checked)\"/>}\n @case ('textarea') {<textarea poadEditFocus rows=\"3\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"></textarea>}\n @default {<input poadEditFocus [type]=\"editUi.inputType(c)\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" [attr.aria-invalid]=\"edit.cellError(d.row, c) ? 'true' : null\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"/>}\n }\n }\n @if (edit.cellError(d.row, c)) {<span class=\"dt-editor__err\" role=\"alert\">{{ edit.cellError(d.row, c) }}</span>}\n </div>\n } @else {\n @if (editUi.canEditCell(c) && showEditIcon()) {<button type=\"button\" class=\"ce\" tabindex=\"-1\" [attr.aria-label]=\"i18n.t('common.edit')\" (click)=\"$event.stopPropagation(); editUi.startEdit(d.row, c)\"><poad-icon name=\"edit\" [size]=\"11\"/></button>}\n @if (isTreeColumn(c) && d.node) {\n <span class=\"poad-tree-toggle\" [style.--_lvl]=\"d.level\">\n @if (showTreeLines()) { @for (l of levelsOf(d.level); track l) {<i class=\"tl\" aria-hidden=\"true\"></i>} }\n @else {<i class=\"ind\" aria-hidden=\"true\"></i>}\n <button type=\"button\" class=\"tg\" [class.is-leaf]=\"!d.node.hasChildren\" [class.is-open]=\"d.node.expanded\" [attr.tabindex]=\"d.node.hasChildren ? 0 : -1\"\n [attr.aria-expanded]=\"d.node.hasChildren ? d.node.expanded : null\" [attr.aria-label]=\"d.node.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleNode(d.node, $event)\">\n @if (d.node.loading) {<poad-icon name=\"loader\" [size]=\"12\" spin/>} @else {<poad-icon name=\"chevron-right\" [size]=\"13\"/>}\n </button>\n @if (treeIconOf(d.row)) {<poad-icon class=\"ic\" [name]=\"treeIconOf(d.row)!\" [size]=\"14\"/>}\n </span>\n }\n @if (c.cellTpl()) {\n <ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: d.node?.expanded ?? false, hasChildren: d.node?.hasChildren ?? false, node: d.node }\"/>\n } @else {<span class=\"cell-txt\">{{ formatCell(cell(d.row, c), c) }}</span>}\n }\n </td>\n }\n @if (hasActionsColumn()) {\n <td class=\"col-acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span class=\"acts\" (click)=\"$event.stopPropagation()\">\n @if ((editMode() === 'row' || editMode() === 'row-inline') && showRowEditButton()) {\n @if (isRowEditing(d.row)) {\n <button type=\"button\" class=\"re ok\" [attr.aria-label]=\"i18n.t('table.saveRow')\" [title]=\"i18n.t('common.save')\" (click)=\"saveRowEdit(d.row)\"><poad-icon name=\"check\" [size]=\"15\"/></button>\n <button type=\"button\" class=\"re ko\" [attr.aria-label]=\"i18n.t('table.cancelEdit')\" [title]=\"i18n.t('common.cancel')\" (click)=\"cancelRowEdit(d.row)\"><poad-icon name=\"x\" [size]=\"15\"/></button>\n } @else {\n <button type=\"button\" class=\"re\" [attr.aria-label]=\"i18n.t('table.editRow')\" [title]=\"i18n.t('common.edit')\" (click)=\"initRowEdit(d.row)\"><poad-icon name=\"edit\" [size]=\"14\"/></button>\n }\n }\n @if (rowActionsTpl()) {<ng-container *ngTemplateOutlet=\"rowActionsTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, editing: isRowEditing(d.row) }\"/>}\n </span></td>\n }\n </tr>\n @if (isExpanded(d.row) && hasExpandColumn()) {\n <tr class=\"dt-detail\" [style.--_lvl]=\"d.level\"><td [attr.colspan]=\"colspan()\">\n @if (expansionTpl()) {\n <ng-container *ngTemplateOutlet=\"expansionTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, hiddenColumns: hiddenByPriority(), node: d.node }\"/>\n } @else {\n <div class=\"kv\">\n @for (c of hiddenByPriority(); track c.id()) {<div><b>{{ c.header() || c.field() }}</b>\n @if (c.cellTpl()) {<ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: false, hasChildren: false, node: d.node }\"/>}\n @else {{{ formatCell(cell(d.row, c), c) }}}\n </div>}\n </div>\n }\n </td></tr>\n }\n }\n }\n @if (virtual.range().bottomPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().bottomPad\"></td></tr>}\n }\n </tbody>\n @if (footerTpl() || showGrandTotalRow()) {\n <tfoot>\n @if (showGrandTotalRow()) {\n <tr class=\"dt-grand\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {{{ i18n.text(grandTotalLabel(), 'table.grandTotal') }}}\n @else if (hasAggregate(c)) {{{ formatCell(grandTotal()[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n @if (footerTpl()) {<ng-container *ngTemplateOutlet=\"footerTpl()!.tpl; context: { $implicit: pageData(), columns: visibleColumns(), aggregates: grandTotal() }\"/>}\n </tfoot>\n }\n </table>\n </div>\n\n @if ((usePaginator() && (paginationTotal() > 0 || lazy())) || showRowCount()) {\n <div class=\"dt-foot\" [class.has-count]=\"showRowCount()\">\n @if (showRowCount()) {\n <span class=\"dt-foot__count\">\n @if (rowCountTpl()) {<ng-container *ngTemplateOutlet=\"rowCountTpl()!.tpl; context: { $implicit: totalRows(), total: totalRows(), filtered: totalFiltered(), selected: selectedCount() }\"/>}\n @else {{{ rowCountLabel() === undefined ? i18n.t('table.rowCount', { n: totalRows() }) : totalRows() + ' ' + rowCountLabel() }}@if (totalFiltered() !== totalRows()) { \u00B7 {{ i18n.t('table.filteredCount', { n: totalFiltered() }) }}}@if (selectedCount() > 0) { \u00B7 {{ i18n.t('table.selectedRows', { n: selectedCount() }) }}}}\n </span>\n }\n @if (usePaginator() && (paginationTotal() > 0 || lazy())) {\n <poad-paginator [first]=\"first()\" [rows]=\"rows()\" [totalRecords]=\"paginationTotal()\" [rowsPerPageOptions]=\"rowsPerPageOptions()\" [pageLinks]=\"resp.stacked() ? 3 : pageLinks()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\" [currentPageReportTemplate]=\"currentPageReportTemplate()\" [showFirstLastIcon]=\"showFirstLastIcon()\"\n [alwaysShow]=\"alwaysShowPaginator()\" (pageChange)=\"onPage($event)\"/>\n }\n </div>\n }\n <poad-menu #hmenu popup [items]=\"menuItems()\" [ariaLabel]=\"i18n.t('table.columnMenu')\"/>\n <poad-menu #fmenu popup [items]=\"filterMenuItems()\" [ariaLabel]=\"i18n.t('filter.operatorMenu')\" [minWidth]=\"200\"/>\n <poad-menu #inmenu popup [closeOnSelect]=\"false\" [items]=\"inMenuItems()\" [ariaLabel]=\"i18n.t('filter.valuesMenu')\" [minWidth]=\"180\"/>\n</div>\n", styles: [".poad-table{--_row-h: var(--poad-table-row-h, 42px);--_cell-px: 12px;display:block;min-width:0;max-width:100%;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.poad-table.is-dense{--_row-h: 34px}.poad-table .dt{border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);background:var(--poad-surface);overflow:hidden;position:relative}.poad-table.poad-table.is-borderless .dt{border:0;border-radius:0}.poad-table .dt-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--poad-border);flex-wrap:wrap}.poad-table .dt-bar__title{font-weight:600;font-size:13.5px;margin-inline-end:4px}.poad-table .dt-bar__count{font:500 11px var(--poad-font-mono);padding:2px 7px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table .dt-bar__grow{flex:1}.poad-table .dt-bar__search{position:relative;display:flex;align-items:center;width:240px;max-width:100%}.poad-table.poad-table .dt-bar__search .poad-icon{position:absolute;inset-inline-start:9px;color:var(--poad-fg-muted);pointer-events:none}.poad-table.poad-table .dt-bar__search input{width:100%;box-sizing:border-box;height:30px;padding-block:0;padding-inline:30px 28px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .dt-bar__search input::placeholder{color:var(--poad-fg-muted)}.poad-table.poad-table .dt-bar__search input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-bar__search .dt-bar__clear{position:absolute;inset-inline-end:6px;border:0;background:transparent;color:var(--poad-fg-muted);cursor:pointer;display:grid;place-items:center;padding:2px;border-radius:4px}.poad-table.poad-table .dt-bar__search .dt-bar__clear:hover{color:var(--poad-fg);background:var(--poad-hover)}.poad-table .dt-bar__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:26px;padding:0 8px;border-radius:var(--poad-radius-sm);border:1px solid var(--poad-border-strong);background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;white-space:nowrap}.poad-table .dt-bar__btn:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table .dt-bar__btn:focus-visible{outline:2px solid var(--poad-ring);outline-offset:1px}.poad-table .dt-bar__btn.is-ghost{border-color:transparent;width:26px;padding:0}.poad-table .dt-bar__btn.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table .dt-bar__cols{position:relative}.poad-table .dt-bar__menu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:20;min-width:200px;max-height:280px;overflow:auto;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:9px;box-shadow:var(--poad-shadow-lg);padding:4px}.poad-table.poad-table .dt-bar__menu label{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:var(--poad-font-size)}.poad-table.poad-table .dt-bar__menu label:hover{background:var(--poad-hover)}.poad-table.poad-table .dt-bar__menu label.is-locked{opacity:.5;cursor:default}.poad-table .dt-bar__menu-title{font:600 10px/1 var(--poad-font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--poad-fg-muted);padding:6px 8px 4px}.poad-table .dt-sel{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--poad-accent-soft);border-bottom:1px solid var(--poad-border);font-size:12.5px;color:var(--poad-accent);font-weight:500;min-height:47px;box-sizing:border-box}.poad-table .dt-sel__grow{flex:1}.poad-table .dt-sel__clear{border:0;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;width:26px;height:26px;border-radius:6px}.poad-table .dt-sel__clear:hover{background:var(--poad-accent-soft)}.poad-table .dt-scroll{overflow:auto;position:relative}.poad-table.poad-table.has-scroll-height .dt-scroll{max-height:var(--_scroll-h);scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent;scrollbar-gutter:stable}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar{width:10px;height:10px}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table .dt-loading{position:absolute;inset:0;display:grid;place-items:center;background:color-mix(in srgb,var(--poad-surface) 55%,transparent);z-index:5}.poad-table.poad-table .dt-loading .poad-icon{color:var(--poad-accent)}.poad-table .tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:var(--poad-font-size)}.poad-table.poad-table.is-resizable .tbl{table-layout:fixed}.poad-table.poad-table .tbl>caption{text-align:start;padding:10px 12px;font-weight:600;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th{position:relative;text-align:start;font-weight:600;font-size:var(--poad-font-size-sm);color:var(--poad-fg-secondary);background:var(--poad-bg-subtle);padding:0 var(--_cell-px);height:38px;border-bottom:1px solid var(--poad-border);white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th{position:sticky;top:0;z-index:3}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right{text-align:end}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-center{text-align:center}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left{position:sticky;inset-inline-start:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;inset-inline-end:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right{background:var(--poad-bg-subtle);z-index:4}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd{display:inline-flex;align-items:center;gap:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right>.hd{flex-direction:row-reverse}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-txt{overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd{all:unset;display:inline-flex;align-items:center;gap:4px;cursor:pointer;border-radius:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd:focus-visible{outline:2px solid var(--poad-ring);outline-offset:2px}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{opacity:0;transition:opacity var(--poad-dur);flex:none}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hd>.poad-icon{opacity:.6}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd>.poad-icon{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-idx{font:600 9px var(--poad-font-mono);background:var(--poad-accent-soft);color:var(--poad-accent);border-radius:999px;padding:1px 4px}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz{position:absolute;inset-inline-end:0;top:8px;bottom:8px;width:5px;cursor:col-resize;z-index:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:after{content:\"\";position:absolute;inset-inline-end:2px;top:0;bottom:0;width:1px;background:var(--poad-border);transition:background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:hover:after,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz.is-active:after{background:var(--poad-accent);width:2px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-sel,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{width:36px;padding-inline-end:0}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-exp,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{width:30px;padding:0 4px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-acts,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{text-align:end;white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{height:auto;padding:6px var(--_cell-px);background:var(--poad-surface);font-weight:400}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>select{width:100%;box-sizing:border-box;height:26px;padding:0 8px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input:focus,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>select:focus{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td{padding:0 var(--_cell-px);height:var(--_row-h);border-bottom:1px solid var(--poad-border);vertical-align:middle;font-variant-numeric:tabular-nums;box-sizing:border-box}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-right{text-align:end}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-center,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-center{text-align:center}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{font-family:var(--poad-font-mono);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-nowrap,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th{border-inline-end:1px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th:last-child{border-inline-end:0}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:last-child>td{border-bottom:0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td{background:var(--poad-hover)}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selectable{cursor:pointer}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible>td{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent),inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-expanded :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transform:rotate(90deg)}.poad-table.poad-table .tbl :where(td.col-acts)>.acts{display:inline-flex;gap:2px;align-items:center;opacity:0;transition:opacity var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:hover>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:hover:where(.dt-grand)>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-selected>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:focus-within>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:focus-within:where(.dt-grand)>:where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.acts-always .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{background:var(--poad-bg-subtle);height:auto;padding-block:12px 14px;padding-inline:var(--_detail-pl, 58px) var(--_cell-px)}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-detail:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>tfoot>:where(tr.dt-grand)>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg-secondary);border-top:1px solid var(--poad-border);border-bottom:0}.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 22px;font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv>:where(div)>b{display:block;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin-bottom:4px}.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{height:12px;border-radius:4px;background:linear-gradient(90deg,var(--poad-elevated),var(--poad-hover),var(--poad-elevated));background-size:200% 100%;animation:poad-tbl-sh 1.4s infinite}@keyframes poad-tbl-sh{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{animation:none}.poad-table.poad-table .tbl :where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{transition:none}}.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty{display:grid;place-items:center;gap:6px;padding:34px 12px;text-align:center;color:var(--poad-fg-secondary);font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>.poad-icon{color:var(--poad-fg-muted)}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>b{color:var(--poad-fg);font-size:var(--poad-font-size)}.poad-table .dt-foot{display:flex;align-items:center;gap:14px;padding:8px 12px;border-top:1px solid var(--poad-border)}.poad-table.poad-table .dt-foot .poad-paginator{flex:1}\n", ".poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;z-index:2;background:var(--poad-surface);background-clip:padding-box}.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-right{z-index:4;background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-right{z-index:5}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-right{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-right{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-left,.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-right{background:color-mix(in srgb,var(--poad-accent) 12%,var(--poad-surface))}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-last-left{transition:box-shadow var(--poad-dur)}.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(thead)>:where(tr)>th.st-last-left{box-shadow:1px 0 0 var(--poad-border),6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tbody)>:where(tr)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(thead)>:where(tr)>th.st-first-right{box-shadow:-1px 0 0 var(--poad-border),-6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right.col-acts>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right.col-acts>.acts{background:inherit}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.cell-txt,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.cell-txt{white-space:normal}.poad-table .poad-tree-toggle{display:inline-flex;align-items:center;vertical-align:middle;margin-right:4px}.poad-table.poad-table .poad-tree-toggle .ind{display:inline-block;width:calc(var(--_lvl, 0) * var(--_indent, 20px));flex:none}.poad-table.poad-table .poad-tree-toggle .tl{display:inline-block;width:var(--_indent, 20px);align-self:stretch;flex:none;position:relative}.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{padding-top:0;padding-bottom:0}.poad-table.poad-table.has-tree-lines .poad-tree-toggle{align-self:stretch;height:var(--_row-h)}.poad-table.poad-table.poad-table.has-tree-lines .poad-tree-toggle .tl:before{content:\"\";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid var(--poad-border)}.poad-table.poad-table .poad-tree-toggle .tg{width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0;flex:none}.poad-table.poad-table .poad-tree-toggle .tg:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .poad-tree-toggle .tg:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg.is-open .poad-icon{transform:rotate(90deg)}.poad-table.poad-table .poad-tree-toggle .tg.is-leaf{visibility:hidden;pointer-events:none}.poad-table.poad-table .poad-tree-toggle .ic{color:var(--poad-fg-muted);margin:0 6px 0 2px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.lvl-0.has-children>td.dt-tree-cell{font-weight:500}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group>td{background:var(--poad-bg-subtle);height:34px;padding:0 var(--_cell-px);border-bottom:1px solid var(--poad-border)}.poad-table .dt-group__inner{display:flex;align-items:center;gap:6px;padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px));font-weight:600;font-size:var(--poad-font-size-sm)}.poad-table.poad-table .dt-group__inner .exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-group__inner .exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-group__inner .exp .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group.is-expanded .dt-group__inner .exp .poad-icon{transform:rotate(90deg)}.poad-table .dt-group__count{font:500 10.5px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td{background:var(--poad-bg-subtle);height:32px;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td.dt-num,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr.dt-grand>td.dt-num{font-family:var(--poad-font-mono);font-weight:600}.poad-table .dt-group-foot__label{padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px) + 26px);font-weight:500}.poad-table.poad-table.poad-table.poad-table .tbl>tfoot>tr.dt-grand>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg);border-top:2px solid var(--poad-border);height:36px}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group:hover>td,.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group-foot:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{padding-left:calc(var(--_detail-pl, 58px) + var(--_lvl, 0) * var(--_indent, 20px))}.poad-table .dt-bar__tools,.poad-table .dt-bar__tools-end{display:contents}.poad-table .dt-bar__filters{display:inline-flex}.poad-table.poad-table .dt-bar__filters .dt-bar__count{padding:1px 6px;font-size:10px}.poad-table.poad-table.is-stacked .dt-bar{gap:8px}.poad-table.poad-table.is-stacked .dt-bar__tools{display:none}.poad-table.poad-table.is-stacked .dt-bar__tools.is-open{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-basis:100%;order:10;padding-top:8px;border-top:1px dashed var(--poad-border)}.poad-table.poad-table.is-stacked .dt-bar__grow{display:none}.poad-table.poad-table.is-stacked .dt-bar__search{order:5;flex-basis:100%;width:100%}.poad-table.poad-table.is-stacked .dt-bar__cols,.poad-table.poad-table.is-stacked .dt-bar__density{display:none}.poad-table.poad-table.is-stacked .dt-sel{position:sticky;bottom:0;z-index:6;flex-wrap:wrap;border-top:1px solid var(--poad-border);order:99}.poad-table.poad-table.is-stacked .dt-scroll{overflow-x:hidden}.poad-table.poad-table.is-stacked .tbl,.poad-table.poad-table.poad-table.is-stacked .tbl>tbody,.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>tr:where(.dt-grand),.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>thead,.poad-table.poad-table.poad-table.is-stacked .tbl>colgroup,.poad-table.poad-table.poad-table.is-stacked .tbl>caption{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row{position:relative;padding:10px 12px;border-bottom:1px solid var(--poad-border);height:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.has-sel{padding-left:44px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected{background:var(--poad-accent-soft);box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover>td,.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected>td,.poad-table.poad-table.poad-table.poad-table.is-striped.is-stacked .tbl>:where(thead,tbody)>tr.dt-row>td{background:transparent!important;box-shadow:none!important}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:focus-visible{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{height:auto;padding:2px 0;border:0;white-space:normal;display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12.5px;position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td[data-l]:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td[data-l]:before{content:attr(data-l);color:var(--poad-fg-muted);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;flex:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{position:absolute;left:12px;top:12px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first:before{content:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{position:absolute;right:44px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{display:block;font-size:14px;font-weight:500;padding:0 44px 6px 0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .tl,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .tl{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{position:absolute;right:8px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{text-align:right}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-detail>td{padding:8px 12px 10px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-1{margin-left:22px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-2{margin-left:44px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-3{margin-left:66px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group>td{padding:8px 12px;height:auto;display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot{display:flex;flex-wrap:wrap;gap:4px 14px;padding:6px 12px 6px 44px}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td{padding:0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand{padding:8px 12px}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-empty>td{display:block}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.is-skeleton>td{display:block;padding:4px 0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-card>td{padding:0;display:block}.poad-table.poad-table.is-stacked .dt-foot{flex-wrap:wrap;gap:8px}.poad-table.poad-table.is-stacked .dt-foot .poad-paginator__rpp{display:none}\n", ".poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh{display:none;position:absolute;left:2px;top:50%;transform:translateY(-50%);width:14px;height:18px;color:var(--poad-fg-muted);cursor:grab;border-radius:3px;place-items:center}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag{padding-left:calc(var(--_cell-px) + 6px)}.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag:hover>.dh,.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag.cdk-drag-dragging>.dh{display:grid}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder{opacity:.35;background:var(--poad-accent-soft)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder:before{content:\"\";position:absolute;left:-1px;top:4px;bottom:4px;width:2px;background:var(--poad-accent)}.cdk-drag-preview.dt-th-preview{display:flex;align-items:center;height:38px;padding:0 12px;box-sizing:border-box;font:600 var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:6px;box-shadow:var(--poad-shadow-lg);list-style:none}.poad-table.poad-table.poad-table.poad-table .tbl>thead>tr.cdk-drop-list-dragging>th:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-animating{transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .dt-bar__menu .mv{display:inline-flex;gap:0;margin-left:auto}.poad-table.poad-table.poad-table .dt-bar__menu .mv button{border:0;background:transparent;color:var(--poad-fg-muted);width:20px;height:20px;border-radius:4px;cursor:pointer;display:grid;place-items:center;padding:0}.poad-table.poad-table.poad-table .dt-bar__menu .mv button:hover:not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-bar__menu .mv button[disabled]{opacity:.3;cursor:default}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th{height:30px;text-align:center;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell{border-left:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell:first-child{border-left:0}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg>th{position:sticky;top:0;z-index:3}.poad-table.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg+tr>th{top:30px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-vpad>td{padding:0;border:0;height:auto}.poad-table.poad-table.is-virtual .dt-scroll{overflow-anchor:none}.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{cursor:text;position:relative}.poad-table.poad-table.poad-table.poad-table.poad-table.edit-cell.is-hoverable .tbl>tbody>tr.dt-row>td.is-editable:hover{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-border-strong)}.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{padding-right:calc(var(--_cell-px) + 16px)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:focus-visible{opacity:.7}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:hover{opacity:1!important;background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{padding-top:0;padding-bottom:0;background:var(--poad-surface)!important;box-shadow:none!important}.poad-table .dt-editor{position:relative;display:flex;align-items:stretch;min-height:calc(var(--_row-h) - 8px);margin:4px 0}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{height:auto;vertical-align:top}.poad-table.poad-table .dt-editor input,.poad-table.poad-table .dt-editor select,.poad-table.poad-table .dt-editor textarea{width:100%;height:calc(var(--_row-h) - 8px);box-sizing:border-box;padding:0 8px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);outline:0;box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-editor input[type=number]{font-family:var(--poad-font-mono);text-align:right}.poad-table.poad-table .dt-editor textarea{height:auto;min-height:76px;padding:6px 8px;resize:vertical;line-height:1.45;font:var(--poad-font-size)/1.45 var(--poad-font)}.poad-table.poad-table .dt-editor input[type=checkbox]{width:16px;height:16px;box-shadow:none;accent-color:var(--poad-accent)}.poad-table.poad-table .dt-editor.is-invalid input,.poad-table.poad-table .dt-editor.is-invalid select,.poad-table.poad-table .dt-editor.is-invalid textarea{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.poad-table .dt-editor__err{position:absolute;left:0;top:calc(100% + 4px);z-index:6;padding:3px 8px;border-radius:6px;background:var(--poad-danger);color:#fff;font-size:11px;white-space:nowrap;box-shadow:var(--poad-shadow-md);pointer-events:none}.poad-table .dt-editor__err:before{content:\"\";position:absolute;left:10px;top:-4px;width:8px;height:8px;background:inherit;transform:rotate(45deg)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.dt-row.is-editing-row>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re{display:inline-grid;place-items:center;width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);cursor:pointer;padding:0}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ok{color:var(--poad-success)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ko{color:var(--poad-danger)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.is-editing-row>:where(td.col-acts)>.acts{opacity:1}\n", ".poad-table .dt-scroll{scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.poad-table .dt-scroll::-webkit-scrollbar{height:10px;width:10px}.poad-table .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.has-menu{padding-right:calc(var(--_cell-px) + 20px)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur);z-index:2}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered>.hm{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:hover,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered .hd-txt{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table.is-resizable .tbl>:where(thead)>:where(tr)>th.has-menu>.hm{right:10px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{padding:5px 6px}.poad-table .flt-cell{position:relative;display:flex;align-items:center;gap:4px;min-width:0}.poad-table.poad-table .flt-cell input,.poad-table.poad-table .flt-cell select,.poad-table.poad-table .flt-cell .flt-in{flex:1 1 0;min-width:0;height:28px;padding:0 26px 0 8px;box-sizing:border-box;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .flt-cell.is-range input{padding-right:8px}.poad-table.poad-table .flt-cell.is-range input:last-of-type{padding-right:26px}.poad-table.poad-table .flt-cell input:focus,.poad-table.poad-table .flt-cell select:focus,.poad-table.poad-table .flt-cell .flt-in:focus-visible{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .flt-cell.is-active input,.poad-table.poad-table .flt-cell.is-active select,.poad-table.poad-table .flt-cell.is-active .flt-in{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell .flt-in{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;cursor:pointer}.poad-table.poad-table .flt-cell .flt-in.is-ph{color:var(--poad-fg-muted)}.poad-table.poad-table.poad-table .flt-cell .flt-in .poad-icon{color:var(--poad-fg-muted);flex:none}.poad-table.poad-table .flt-cell .flt-txt{flex:1;height:28px;display:inline-flex;align-items:center;padding:0 26px 0 8px;font:italic var(--poad-font-size-sm) var(--poad-font);color:var(--poad-accent);background:var(--poad-accent-soft);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);box-sizing:border-box}.poad-table.poad-table .flt-cell .flt-op{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-op:hover,.poad-table.poad-table .flt-cell .flt-op.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell.is-active .flt-op{right:22px}.poad-table.poad-table .flt-cell .flt-x{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:18px;height:18px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-x:hover{color:var(--poad-danger);background:var(--poad-danger-soft)}.poad-table.poad-table .flt-cell select{appearance:none;padding-right:26px}.poad-table .dt-gz{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:40px;padding:6px 12px;border-bottom:1px solid var(--poad-border);background:var(--poad-bg-subtle);color:var(--poad-fg-muted);font-size:var(--poad-font-size-sm)}.poad-table .dt-gz.cdk-drop-list-receiving,.poad-table .dt-gz.cdk-drop-list-dragging{background:var(--poad-accent-soft);color:var(--poad-accent);outline:1px dashed var(--poad-accent);outline-offset:-4px}.poad-table .dt-gz__hint{font-style:italic}.poad-table .dt-gz__chip,.dt-gz__chip.cdk-drag-preview{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 4px 0 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent);font-weight:500;cursor:grab}.poad-table.poad-table .dt-gz__chip .dt-gz__drag,.dt-gz__chip.cdk-drag-preview .dt-gz__drag{opacity:.6}.poad-table.poad-table .dt-gz__chip button,.dt-gz__chip.cdk-drag-preview button{width:18px;height:18px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-gz__chip button:hover,.dt-gz__chip.cdk-drag-preview button:hover{background:var(--poad-accent);color:var(--poad-fg-on-accent)}.poad-table .dt-gz__chip.cdk-drag-placeholder{opacity:.35}.cdk-drag-preview.dt-gz__chip{box-shadow:var(--poad-shadow-md)}.poad-table.poad-table.is-stacked .dt-gz{display:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{width:44px;text-align:right;font:11px var(--poad-font-mono);color:var(--poad-fg-muted);background:var(--poad-bg-subtle);padding:0 8px;-webkit-user-select:none;user-select:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num{font-weight:600}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-num{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{position:absolute;left:auto;right:12px;bottom:6px;width:auto;background:transparent;padding:0}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num:before{content:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-drag,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{width:28px;padding:0 4px}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh{display:inline-grid;place-items:center;width:20px;height:24px;color:var(--poad-fg-muted);cursor:grab;opacity:0;transition:opacity var(--poad-dur);border-radius:4px}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-drag>.rdh,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.cdk-drag-dragging>td.col-drag>.rdh{opacity:.8}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder{opacity:0}.poad-table.poad-table.poad-table .tbl>tbody.cdk-drop-list-dragging>tr.dt-row:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder>td{border-top:2px solid var(--poad-accent)}.cdk-drag-preview.dt-tr-preview{display:table;table-layout:fixed;box-sizing:border-box;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:8px;box-shadow:var(--poad-shadow-lg);opacity:.95;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.cdk-drag-preview.dt-tr-preview td{padding:0 12px;height:42px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{display:none}.poad-table .dt-foot__count{font:var(--poad-font-size-sm) var(--poad-font-mono);color:var(--poad-fg-secondary);white-space:nowrap}.poad-table.poad-table .dt-foot.has-count .poad-paginator{flex:1}\n"] }]
10007
+ }, encapsulation: ViewEncapsulation.None, template: "<!-- Colonnes d\u00E9finies par l'entr\u00E9e [colonnes] : rendues en <poad-column> R\u00C9ELS (une\n colonne ne dessine rien, :host display none) et r\u00E9cup\u00E9r\u00E9es par la requ\u00EAte de VUE de\n la base \u2014 le moteur ne consomme qu'une seule esp\u00E8ce de colonne. -->\n@for (d of colonnes(); track d.field) {\n <poad-column\n [field]=\"d.field\"\n [header]=\"d.header ?? d.field\"\n [dataType]=\"d.dataType ?? 'text'\"\n [align]=\"d.align ?? 'left'\"\n [width]=\"d.width ?? ''\"\n [sortable]=\"d.sortable ?? false\"\n />\n}\n<div class=\"dt\" #dt [class]=\"'dt ' + styleClass()\">\n <!-- barre de s\u00E9lection contextuelle (remplace la barre d'outils) -->\n @if (selectedCount() > 0 && showSelectionBar()) {\n <div class=\"dt-sel\" role=\"region\" aria-live=\"polite\">\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n <span>{{ selectedLabel() === undefined && selectedLabelPlural() === undefined ? i18n.t('table.selectedCount', { n: selectedCount() }) : selectedCount() + ' ' + (selectedCount() > 1 ? (selectedLabelPlural() ?? selectedLabel()) : (selectedLabel() ?? selectedLabelPlural())) }}</span>\n <span class=\"dt-sel__grow\"></span>\n <ng-content select=\"[poadTableSelectionBar]\"/>\n <button type=\"button\" class=\"dt-sel__clear\" [attr.aria-label]=\"i18n.t('table.clearSelection')\" (click)=\"clearSelection()\"><poad-icon name=\"x\" [size]=\"14\"/></button>\n </div>\n } @else if (showToolbar()) {\n <div class=\"dt-bar\">\n @if (title()) {<span class=\"dt-bar__title\">{{ title() }}</span>}\n @if (showCount()) {<span class=\"dt-bar__count\">{{ count() ?? totalFiltered() }}</span>}\n @if (resp.stacked()) {\n <button type=\"button\" class=\"dt-bar__btn dt-bar__filters\" [class.is-on]=\"filtersOpen()\" [attr.aria-expanded]=\"filtersOpen()\" (click)=\"filtersOpen.set(!filtersOpen())\">\n <poad-icon name=\"filter\" [size]=\"13\"/>{{ i18n.text(filtersLabel(), 'table.filters') }}@if (activeFilterCount() > 0) {<span class=\"dt-bar__count\">{{ activeFilterCount() }}</span>}\n </button>\n }\n <span class=\"dt-bar__tools\" [class.is-open]=\"filtersOpen()\"><ng-content select=\"[poadTableToolbar]\"/></span>\n <span class=\"dt-bar__grow\"></span>\n @if (showSearch()) {\n <div class=\"dt-bar__search\">\n <poad-icon name=\"search\" [size]=\"14\"/>\n <input type=\"search\" [placeholder]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\" [value]=\"searchText()\" (input)=\"onSearch($any($event.target).value)\" [attr.aria-label]=\"i18n.text(searchPlaceholder(), 'table.searchPlaceholder')\"/>\n @if (searchText()) {<button type=\"button\" class=\"dt-bar__clear\" [attr.aria-label]=\"i18n.t('table.clearSearch')\" (click)=\"onSearch('', true)\"><poad-icon name=\"x\" [size]=\"12\"/></button>}\n </div>\n }\n <span class=\"dt-bar__tools-end\"><ng-content select=\"[poadTableToolbarEnd]\"/></span>\n @if (columnToggle()) {\n <div class=\"dt-bar__cols\">\n <button type=\"button\" class=\"dt-bar__btn\" [class.is-on]=\"colsMenuOpen()\" aria-haspopup=\"true\" [attr.aria-expanded]=\"colsMenuOpen()\" (click)=\"colsMenuOpen.set(!colsMenuOpen())\">\n {{ i18n.text(columnsLabel(), 'table.columns') }} <poad-icon name=\"chevron-down\" [size]=\"12\"/>\n </button>\n @if (colsMenuOpen()) {\n <div class=\"dt-bar__menu\" role=\"menu\" (keydown.escape)=\"colsMenuOpen.set(false)\">\n <div class=\"dt-bar__menu-title\">{{ i18n.text(columnsLabel(), 'table.columns') }}</div>\n @for (c of orderedColumns(); track c.id(); let ci = $index; let first = $first; let last = $last) {\n <label [class.is-locked]=\"!c.toggleable()\">\n <poad-checkbox [value]=\"!c.hidden()\" [disabled]=\"!c.toggleable()\" (changed)=\"toggleColumn(c, !$event)\"/>\n <span>{{ c.header() || c.field() }}</span>\n @if (reorderableColumns()) {\n <span class=\"mv\" (click)=\"$event.stopPropagation(); $event.preventDefault()\">\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveUp')\" [disabled]=\"first\" (click)=\"moveColumn(ci, ci - 1)\"><poad-icon name=\"chevron-up\" [size]=\"12\"/></button>\n <button type=\"button\" [attr.aria-label]=\"i18n.t('table.moveDown')\" [disabled]=\"last\" (click)=\"moveColumn(ci, ci + 1)\"><poad-icon name=\"chevron-down\" [size]=\"12\"/></button>\n </span>\n }\n </label>\n }\n </div>\n }\n </div>\n }\n @if (showDensityToggle()) {\n <button type=\"button\" class=\"dt-bar__btn is-ghost dt-bar__density\" [class.is-on]=\"dense()\" [attr.aria-pressed]=\"dense()\" [attr.aria-label]=\"i18n.t('table.density')\" [title]=\"i18n.t('table.density')\" (click)=\"dense.set(!dense())\"><poad-icon name=\"chevrons-up-down\" [size]=\"14\"/></button>\n }\n </div>\n }\n\n @if (showGroupZone() && !resp.stacked()) {\n <div class=\"dt-gz\" [class.is-empty]=\"!groupFields().length\" cdkDropList [id]=\"gzId\" cdkDropListOrientation=\"horizontal\" [cdkDropListData]=\"groupFields()\" [cdkDropListEnterPredicate]=\"gzEnter\" (cdkDropListDropped)=\"onGroupZoneDrop($event)\">\n <poad-icon name=\"layers\" [size]=\"14\"/>\n @if (!groupFields().length) {<span class=\"dt-gz__hint\">{{ i18n.text(groupZoneLabel(), 'table.groupZone') }}</span>}\n @for (f of groupFields(); track f) {\n <span class=\"dt-gz__chip\" cdkDrag [cdkDragData]=\"f\" cdkDragLockAxis=\"x\"><poad-icon name=\"drag\" [size]=\"11\" class=\"dt-gz__drag\"/><span>{{ groupChipLabel(f) }}</span><button type=\"button\" [attr.aria-label]=\"i18n.t('table.ungroupBy', { label: groupChipLabel(f) })\" (click)=\"ungroup(f)\"><poad-icon name=\"x\" [size]=\"11\"/></button></span>\n }\n </div>\n }\n\n <div class=\"dt-scroll\" #scroller (scroll)=\"onScroll()\">\n @if (loading() && hasData()) {<div class=\"dt-loading\"><poad-icon name=\"loader\" [size]=\"22\" spin/></div>}\n @let ta = tableAttrs();\n <table class=\"tbl\" [class]=\"'tbl ' + tableClass()\" [style]=\"tableStyle()\" [attr.aria-busy]=\"ta['aria-busy']\" [attr.aria-rowcount]=\"ta['aria-rowcount']\" [attr.role]=\"ta.role\" [attr.aria-multiselectable]=\"ta['aria-multiselectable']\">\n @if (captionTpl()) {<caption><ng-container *ngTemplateOutlet=\"captionTpl()!.tpl\"/></caption>}\n <colgroup>\n @if (hasNumberColumn()) {<col style=\"width:44px\">}\n @if (hasSelectionColumn()) {<col style=\"width:36px\">}\n @if (rowDragEnabled()) {<col style=\"width:28px\">}\n @if (hasExpandColumn()) {<col style=\"width:30px\">}\n @for (c of visibleColumns(); track c.id()) {<col [style.width]=\"colWidth(c)\" [style.min-width]=\"c.minWidth() || null\" [style.max-width]=\"c.maxWidth() || null\">}\n @if (hasActionsColumn()) {<col [style.width]=\"rowActionsWidth()\">}\n </colgroup>\n <thead>\n @let hgRows = headerGroups().length && !resp.stacked() ? 1 : 0;\n @if (hgRows) {\n <tr class=\"hg\" [attr.aria-rowindex]=\"headerRowAttrs(0)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (g of headerGroups(); track $index) {<th scope=\"colgroup\" [attr.colspan]=\"g.span\" [class]=\"'hg-cell ' + (g.class || '')\">{{ g.header }}</th>}\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n <tr [attr.aria-rowindex]=\"headerRowAttrs(hgRows)['aria-rowindex']\" cdkDropList cdkDropListOrientation=\"horizontal\" [cdkDropListDisabled]=\"!reorderableColumns() && !showGroupZone()\" [cdkDropListSortingDisabled]=\"!reorderableColumns()\" [cdkDropListConnectedTo]=\"showGroupZone() ? [gzId] : []\" (cdkDropListDropped)=\"onColumnDrop($event)\">\n @if (hasNumberColumn()) {<th class=\"col-num\" scope=\"col\" data-sk=\"num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">#</th>}\n @if (hasSelectionColumn()) {\n <th class=\"col-sel\" scope=\"col\" data-sk=\"sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (selectionMode() === 'multiple' && selectAll()) {\n <poad-checkbox [value]=\"allState() === 'all'\" [indeterminate]=\"allState() === 'some'\" [ariaLabel]=\"i18n.t('table.selectAll')\" (changed)=\"toggleAll()\"/>\n }\n </th>\n }\n @if (rowDragEnabled()) {<th class=\"col-drag\" scope=\"col\" data-sk=\"drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"><span hidden>{{ i18n.t('table.move') }}</span></th>}\n @if (hasExpandColumn()) {<th class=\"col-exp\" scope=\"col\" data-sk=\"exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"><span hidden>{{ i18n.t('table.detail') }}</span></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th scope=\"col\" [attr.data-sk]=\"c.id()\" [class]=\"thClass(c) + (canDrag(c) ? ' can-drag' : '') + (showsMenu(c) ? ' has-menu' : '') + (hasColFilter(c) ? ' is-filtered' : '')\" [attr.aria-sort]=\"ariaSort(c)\" [style.width]=\"colWidth(c)\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\"\n cdkDrag [cdkDragDisabled]=\"!canDrag(c)\" [cdkDragData]=\"c\" [cdkDragLockAxis]=\"showGroupZone() ? null : 'x'\" cdkDragPreviewClass=\"dt-th-preview\" [cdkDragBoundary]=\"showGroupZone() ? '' : '.tbl thead'\">\n @if (canDrag(c)) {<span class=\"dh\" cdkDragHandle aria-hidden=\"true\" [title]=\"i18n.t('table.moveColumn')\"><poad-icon name=\"drag\" [size]=\"12\"/></span>}\n @if (c.headerTpl()) {\n <ng-container *ngTemplateOutlet=\"c.headerTpl()!.tpl; context: { $implicit: c }\"/>\n } @else if (c.sortable()) {\n <button type=\"button\" class=\"hd\" (click)=\"sort(c, $event)\" [attr.aria-label]=\"i18n.t('table.sortBy', { column: c.header() })\">\n <span class=\"hd-txt\">{{ c.header() }}</span>\n <poad-icon [name]=\"sortIcon(c)\" [size]=\"12\"/>\n @if (sortMode() === 'multiple' && sortIndex(c) > 0) {<span class=\"hd-idx\">{{ sortIndex(c) }}</span>}\n </button>\n } @else {\n <span class=\"hd\"><span class=\"hd-txt\">{{ c.header() }}</span></span>\n }\n @if (showsMenu(c)) {<button type=\"button\" class=\"hm\" [class.is-on]=\"menuColumn() === c && !!headerMenu()?.visible()\" [attr.aria-label]=\"i18n.t('table.columnMenu')\" aria-haspopup=\"menu\" (click)=\"openHeaderMenu(c, $event)\" (pointerdown)=\"$event.stopPropagation()\"><poad-icon name=\"more-vertical\" [size]=\"13\"/></button>}\n @if (isResizable(c)) {<span class=\"rz\" [class.is-active]=\"resizingId() === c.id()\" (pointerdown)=\"startResize($event, c)\" aria-hidden=\"true\"></span>}\n </th>\n }\n @if (hasActionsColumn()) {<th class=\"col-acts\" scope=\"col\" data-sk=\"acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span hidden>{{ i18n.t('table.actions') }}</span></th>}\n </tr>\n @if (hasFilterRow()) {\n <tr class=\"flt\" [attr.aria-rowindex]=\"headerRowAttrs(hgRows + 1)['aria-rowindex']\">\n @if (hasNumberColumn()) {<th [class]=\"stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\"></th>}\n @if (hasSelectionColumn()) {<th [class]=\"stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\"></th>}\n @if (rowDragEnabled()) {<th [class]=\"stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\"></th>}\n @if (hasExpandColumn()) {<th [class]=\"stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\"></th>}\n @for (c of visibleColumns(); track c.id()) {\n <th [class]=\"stickyClass(c.id())\" [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\">\n @if (c.filterable()) {\n @if (c.filterTpl()) {\n <ng-container *ngTemplateOutlet=\"c.filterTpl()!.tpl; context: { $implicit: c, value: filterValue(c), filter: filterFn(c) }\"/>\n } @else {\n @let kind = filterKind(c);\n @let op = filterOp(c);\n <div class=\"flt-cell\" [class.is-active]=\"hasColFilter(c)\" [class.is-range]=\"op.range\">\n @if (kind === 'boolean') {\n <poad-select size=\"sm\" clearable [options]=\"booleanOptions()\" [value]=\"filterValue(c)\" [placeholder]=\"c.filterPlaceholder() || i18n.t('filter.any')\" [ariaLabel]=\"i18n.t('filter.column', { column: c.header() })\" (changed)=\"setFilter(c, $event)\"/>\n } @else if (kind === 'select' && op.mode !== 'eq') {\n <button type=\"button\" class=\"flt-in\" [class.is-ph]=\"!filterArray(c).length\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\" (click)=\"openInMenu(c, $event)\">\n <span>{{ filterArray(c).length ? i18n.t('filter.selectedCount', { n: filterArray(c).length }) : (c.filterPlaceholder() || i18n.t('filter.any')) }}</span><poad-icon name=\"chevron-down\" [size]=\"11\"/>\n </button>\n } @else if (kind === 'select') {\n <poad-select size=\"sm\" clearable [options]=\"c.filterOptions()\" [value]=\"filterValue(c)\" [placeholder]=\"c.filterPlaceholder() || i18n.t('filter.any')\" [ariaLabel]=\"i18n.t('filter.column', { column: c.header() })\" (changed)=\"setFilter(c, $event, 'eq')\"/>\n } @else if (!op.needsValue) {\n <span class=\"flt-txt\">{{ opLabel(op) }}</span>\n } @else if (op.range) {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"i18n.t('filter.min')\" (input)=\"setFilterPart(c, 0, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMin', { column: c.header() })\"/>\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 1)\" [placeholder]=\"i18n.t('filter.max')\" (input)=\"setFilterPart(c, 1, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.columnMax', { column: c.header() })\"/>\n } @else {\n <input [type]=\"kind === 'number' ? 'number' : kind === 'date' ? 'date' : 'search'\" [value]=\"filterPart(c, 0)\" [placeholder]=\"c.filterPlaceholder() || opLabel(op)\" (input)=\"setFilterDebounced(c, $any($event.target).value)\" [attr.aria-label]=\"i18n.t('filter.column', { column: c.header() })\"/>\n }\n @if (kind !== 'boolean') {\n <button type=\"button\" class=\"flt-op\" [class.is-on]=\"hasColFilter(c) || op.mode !== filterOp(c).mode\" [attr.aria-label]=\"i18n.t('filter.operator', { label: opLabel(op) })\" [title]=\"opLabel(op)\" (click)=\"openFilterMenu(c, $event)\"><poad-icon name=\"filter\" [size]=\"12\"/></button>\n }\n @if (hasColFilter(c)) {<button type=\"button\" class=\"flt-x\" [attr.aria-label]=\"i18n.t('filter.clear')\" (click)=\"clearColumnFilter(c)\"><poad-icon name=\"x\" [size]=\"11\"/></button>}\n </div>\n }\n }\n </th>\n }\n @if (hasActionsColumn()) {<th [class]=\"stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"></th>}\n </tr>\n }\n </thead>\n <tbody cdkDropList [cdkDropListDisabled]=\"!rowDragEnabled()\" cdkDropListLockAxis=\"y\" (cdkDropListDropped)=\"onRowDrop($event)\">\n @if (bodyState() === 'skeleton') {\n @for (i of skeletonRows(); track i) {\n <tr class=\"dt-row is-skeleton\" aria-hidden=\"true\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id()) {<td [class]=\"tdClass(c)\"><div class=\"skel\" [style.width.%]=\"skeletonWidth(i, $index)\" [style.margin-left]=\"alignOf(c) === 'right' ? 'auto' : null\"></div></td>}\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n } @else if (bodyState() === 'empty') {\n <tr class=\"dt-empty\"><td [attr.colspan]=\"colspan()\">\n @if (emptyTpl()) {<ng-container *ngTemplateOutlet=\"emptyTpl()!.tpl\"/>}\n @else {\n <div class=\"empty\">\n @if (emptyIcon()) {<poad-icon [name]=\"emptyIcon()\" [size]=\"26\" [strokeWidth]=\"1.5\"/>}\n <b>{{ i18n.text(emptyMessage(), 'table.empty') }}</b>\n @if (emptyHint()) {<span>{{ emptyHint() }}</span>}\n </div>\n }\n </td></tr>\n } @else {\n @if (virtual.range().topPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().topPad\"></td></tr>}\n @for (d of renderRows(); track d.trackKey; let vi = $index) {\n @let i = vi + virtual.range().start;\n @if (d.kind === 'group') {\n <!-- en-t\u00EAte de groupe -->\n <tr class=\"dt-group\" [class.is-expanded]=\"d.node!.expanded\" [style.--_lvl]=\"d.level\" role=\"row\" [attr.aria-level]=\"d.level + 1\" [attr.aria-expanded]=\"d.node!.expanded\">\n <td [attr.colspan]=\"colspan()\" class=\"dt-group__cell\">\n <div class=\"dt-group__inner\">\n @if (hasSelectionColumn() && selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectGroup', { label: d.node!.group!.label })\" (changed)=\"toggleGroupSelection(d, $event)\"/>\n }\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"d.node!.expanded\" [attr.aria-label]=\"d.node!.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleGroup(d.node!)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n @if (groupHeaderTpl()) {\n <ng-container *ngTemplateOutlet=\"groupHeaderTpl()!.tpl; context: groupCtx(d)\"/>\n } @else {\n <span class=\"dt-group__label\">{{ d.node!.group!.label }}</span>\n <span class=\"dt-group__count\">{{ d.node!.group!.count }}</span>\n }\n </div>\n </td>\n </tr>\n } @else if (d.kind === 'groupFooter') {\n <!-- pied de groupe (agr\u00E9gats) -->\n <tr class=\"dt-group-foot\" [style.--_lvl]=\"d.level\">\n @if (groupFooterTpl()) {\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"groupFooterTpl()!.tpl; context: groupCtx(d)\"/></td>\n } @else {\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {<span class=\"dt-group-foot__label\">{{ i18n.t('table.total', { label: d.node!.group!.label }) }}</span>}\n @else if (hasAggregate(c)) {{{ formatCell(d.node!.group!.aggregates[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n }\n </tr>\n } @else if (resp.stacked() && cardTpl()) {\n <!-- carte custom (mode stack) -->\n @let ca = rowAttrs(d, i);\n <tr class=\"dt-row dt-card\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [attr.tabindex]=\"ca.tabindex\" [attr.aria-selected]=\"ca.selected\" [attr.aria-rowindex]=\"ca.rowindex\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n <td [attr.colspan]=\"colspan()\"><ng-container *ngTemplateOutlet=\"cardTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, selected: isSelected(d.row) }\"/></td>\n </tr>\n } @else {\n <!-- ligne -->\n @let ra = rowAttrs(d, i);\n <tr class=\"dt-row\" [class]=\"rowClasses(d.row, i, d)\" [style]=\"rowStyle()?.(d.row, i) || null\" [style.--_lvl]=\"d.level\" [attr.data-key]=\"d.key\" [class.is-editing-row]=\"isRowEditing(d.row)\"\n cdkDrag [cdkDragDisabled]=\"!canDragRow(d.row)\" [cdkDragData]=\"d.row\" cdkDragLockAxis=\"y\" cdkDragPreviewClass=\"dt-tr-preview\" cdkDragBoundary=\".tbl\"\n [attr.tabindex]=\"ra.tabindex\" [attr.aria-selected]=\"ra.selected\" [attr.aria-rowindex]=\"ra.rowindex\"\n [attr.role]=\"hierarchical() ? 'row' : null\" [attr.aria-level]=\"hierarchical() ? d.level + 1 : null\" [attr.aria-expanded]=\"d.node?.hasChildren ? d.node!.expanded : null\"\n [attr.aria-setsize]=\"d.node ? d.node.setSize : null\" [attr.aria-posinset]=\"d.node ? d.node.posInSet : null\"\n (click)=\"onRowClick(d.row, i, $event, d)\" (dblclick)=\"rowDblClick.emit({ row: d.row, index: i, event: $event })\" (keydown)=\"onRowKey(d, i, $event)\" (focus)=\"onRowFocus(d)\">\n @if (hasNumberColumn()) {<td class=\"col-num\" [class]=\"'col-num ' + stickyClass('num')\" [style.left.px]=\"stickyLeft('num')\">{{ rowNumber(d) }}</td>}\n @if (hasSelectionColumn()) {\n <td class=\"col-sel\" [class]=\"'col-sel ' + stickyClass('sel')\" [style.left.px]=\"stickyLeft('sel')\">\n @if (canSelect(d.row)) {\n @if (selectionMode() === 'multiple') {\n <poad-checkbox [value]=\"nodeState(d) === 'on'\" [indeterminate]=\"nodeState(d) === 'some'\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"toggleRow(d.row, i, $event)\"/>\n } @else {\n <poad-checkbox [value]=\"isSelected(d.row)\" [ariaLabel]=\"i18n.t('table.selectRow', { index: i + 1 })\" (changed)=\"selectSingle(d.row, i)\"/>\n }\n }\n </td>\n }\n @if (rowDragEnabled()) {\n <td class=\"col-drag\" [class]=\"'col-drag ' + stickyClass('drag')\" [style.left.px]=\"stickyLeft('drag')\">\n @if (canDragRow(d.row)) {<span class=\"rdh\" cdkDragHandle [title]=\"i18n.t('table.moveRow')\" aria-hidden=\"true\"><poad-icon name=\"drag\" [size]=\"13\"/></span>}\n </td>\n }\n @if (hasExpandColumn()) {\n <td class=\"col-exp\" [class]=\"'col-exp ' + stickyClass('exp')\" [style.left.px]=\"stickyLeft('exp')\">\n @if (canExpand(d.row)) {\n <button type=\"button\" class=\"exp\" [attr.aria-expanded]=\"isExpanded(d.row)\" [attr.aria-label]=\"isExpanded(d.row) ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleExpand(d.row, $event)\"><poad-icon name=\"chevron-right\" [size]=\"13\"/></button>\n }\n </td>\n }\n @for (c of visibleColumns(); track c.id(); let cFirst = $first) {\n <td [class]=\"tdClass(c) + ' ' + stickyClass(c.id()) + (isTreeColumn(c) ? ' dt-tree-cell' : '') + (cFirst ? ' dt-first' : '') + (editUi.canEditCell(c) ? ' is-editable' : '') + (edit.isEditing(d.row, c) ? ' is-editing' : '')\"\n [style.left.px]=\"stickyLeft(c.id())\" [style.right.px]=\"stickyRight(c.id())\" [attr.data-l]=\"c.header()\"\n (click)=\"editUi.onCellClick(d.row, c, $event, false)\" (dblclick)=\"editUi.onCellClick(d.row, c, $event, true)\">\n @if (edit.isEditing(d.row, c) && c.field()) {\n <!-- \u00E9diteur inline (mode cell ou row) -->\n <div class=\"dt-editor\" [class.is-invalid]=\"!!edit.cellError(d.row, c)\" (click)=\"$event.stopPropagation()\" (dblclick)=\"$event.stopPropagation()\" (keydown)=\"editUi.onKey(d.row, c, $event)\" (focusout)=\"editUi.onBlur(d.row, c)\">\n @if (c.editorTpl()) {\n <ng-container *ngTemplateOutlet=\"c.editorTpl()!.tpl; context: editUi.ctxFor(d.row, c, i)\"/>\n } @else {\n @switch (c.editor()) {\n @case ('select') {\n <select poadEditFocus [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).value)\">\n @for (o of c.effectiveEditorOptions(); track $index) {<option [value]=\"o.value\" [selected]=\"o.value === edit.valueOf(d.row, c)\">{{ o.label }}</option>}\n </select>\n }\n @case ('checkbox') {<input type=\"checkbox\" poadEditFocus [checked]=\"!!edit.valueOf(d.row, c)\" [attr.aria-label]=\"c.header()\" (change)=\"editUi.onInput(d.row, c, $any($event.target).checked)\"/>}\n @case ('textarea') {<textarea poadEditFocus rows=\"3\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"></textarea>}\n @default {<input poadEditFocus [type]=\"editUi.inputType(c)\" [value]=\"edit.valueOf(d.row, c) ?? ''\" [attr.aria-label]=\"c.header()\" [attr.aria-invalid]=\"edit.cellError(d.row, c) ? 'true' : null\" (input)=\"editUi.onInput(d.row, c, $any($event.target).value)\"/>}\n }\n }\n @if (edit.cellError(d.row, c)) {<span class=\"dt-editor__err\" role=\"alert\">{{ edit.cellError(d.row, c) }}</span>}\n </div>\n } @else {\n @if (editUi.canEditCell(c) && showEditIcon()) {<button type=\"button\" class=\"ce\" tabindex=\"-1\" [attr.aria-label]=\"i18n.t('common.edit')\" (click)=\"$event.stopPropagation(); editUi.startEdit(d.row, c)\"><poad-icon name=\"edit\" [size]=\"11\"/></button>}\n @if (isTreeColumn(c) && d.node) {\n <span class=\"poad-tree-toggle\" [style.--_lvl]=\"d.level\">\n @if (showTreeLines()) { @for (l of levelsOf(d.level); track l) {<i class=\"tl\" aria-hidden=\"true\"></i>} }\n @else {<i class=\"ind\" aria-hidden=\"true\"></i>}\n <button type=\"button\" class=\"tg\" [class.is-leaf]=\"!d.node.hasChildren\" [class.is-open]=\"d.node.expanded\" [attr.tabindex]=\"d.node.hasChildren ? 0 : -1\"\n [attr.aria-expanded]=\"d.node.hasChildren ? d.node.expanded : null\" [attr.aria-label]=\"d.node.expanded ? i18n.t('common.collapse') : i18n.t('common.expand')\" (click)=\"toggleNode(d.node, $event)\">\n @if (d.node.loading) {<poad-icon name=\"loader\" [size]=\"12\" spin/>} @else {<poad-icon name=\"chevron-right\" [size]=\"13\"/>}\n </button>\n @if (treeIconOf(d.row)) {<poad-icon class=\"ic\" [name]=\"treeIconOf(d.row)!\" [size]=\"14\"/>}\n </span>\n }\n @if (c.cellTpl()) {\n <ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: d.node?.expanded ?? false, hasChildren: d.node?.hasChildren ?? false, node: d.node }\"/>\n } @else {<span class=\"cell-txt\">{{ formatCell(cell(d.row, c), c) }}</span>}\n }\n </td>\n }\n @if (hasActionsColumn()) {\n <td class=\"col-acts\" [class]=\"'col-acts ' + stickyClass('acts')\" [style.right.px]=\"stickyRight('acts')\"><span class=\"acts\" (click)=\"$event.stopPropagation()\">\n @if ((editMode() === 'row' || editMode() === 'row-inline') && showRowEditButton()) {\n @if (isRowEditing(d.row)) {\n <button type=\"button\" class=\"re ok\" [attr.aria-label]=\"i18n.t('table.saveRow')\" [title]=\"i18n.t('common.save')\" (click)=\"saveRowEdit(d.row)\"><poad-icon name=\"check\" [size]=\"15\"/></button>\n <button type=\"button\" class=\"re ko\" [attr.aria-label]=\"i18n.t('table.cancelEdit')\" [title]=\"i18n.t('common.cancel')\" (click)=\"cancelRowEdit(d.row)\"><poad-icon name=\"x\" [size]=\"15\"/></button>\n } @else {\n <button type=\"button\" class=\"re\" [attr.aria-label]=\"i18n.t('table.editRow')\" [title]=\"i18n.t('common.edit')\" (click)=\"initRowEdit(d.row)\"><poad-icon name=\"edit\" [size]=\"14\"/></button>\n }\n }\n @if (rowActionsTpl()) {<ng-container *ngTemplateOutlet=\"rowActionsTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, node: d.node, editing: isRowEditing(d.row) }\"/>}\n </span></td>\n }\n </tr>\n @if (isExpanded(d.row) && hasExpandColumn()) {\n <tr class=\"dt-detail\" [style.--_lvl]=\"d.level\"><td [attr.colspan]=\"colspan()\">\n @if (expansionTpl()) {\n <ng-container *ngTemplateOutlet=\"expansionTpl()!.tpl; context: { $implicit: d.row, rowIndex: i, hiddenColumns: hiddenByPriority(), node: d.node }\"/>\n } @else {\n <div class=\"kv\">\n @for (c of hiddenByPriority(); track c.id()) {<div><b>{{ c.header() || c.field() }}</b>\n @if (c.cellTpl()) {<ng-container *ngTemplateOutlet=\"c.cellTpl()!.tpl; context: { $implicit: d.row, value: cell(d.row, c), rowIndex: i, column: c, level: d.level, expanded: false, hasChildren: false, node: d.node }\"/>}\n @else {{{ formatCell(cell(d.row, c), c) }}}\n </div>}\n </div>\n }\n </td></tr>\n }\n }\n }\n @if (virtual.range().bottomPad > 0) {<tr class=\"dt-vpad\" aria-hidden=\"true\"><td [attr.colspan]=\"colspan()\" [style.height.px]=\"virtual.range().bottomPad\"></td></tr>}\n }\n </tbody>\n @if (footerTpl() || showGrandTotalRow()) {\n <tfoot>\n @if (showGrandTotalRow()) {\n <tr class=\"dt-grand\">\n @if (hasNumberColumn()) {<td class=\"col-num\"></td>}\n @if (hasSelectionColumn()) {<td class=\"col-sel\"></td>}\n @if (rowDragEnabled()) {<td class=\"col-drag\"></td>}\n @if (hasExpandColumn()) {<td class=\"col-exp\"></td>}\n @for (c of visibleColumns(); track c.id(); let ci = $index) {\n <td [class]=\"tdClass(c)\" [attr.data-l]=\"c.header()\">\n @if (ci === 0 && !hasAggregate(c)) {{{ i18n.text(grandTotalLabel(), 'table.grandTotal') }}}\n @else if (hasAggregate(c)) {{{ formatCell(grandTotal()[c.field()], c) }}}\n </td>\n }\n @if (hasActionsColumn()) {<td></td>}\n </tr>\n }\n @if (footerTpl()) {<ng-container *ngTemplateOutlet=\"footerTpl()!.tpl; context: { $implicit: pageData(), columns: visibleColumns(), aggregates: grandTotal() }\"/>}\n </tfoot>\n }\n </table>\n </div>\n\n @if ((usePaginator() && (paginationTotal() > 0 || lazy())) || showRowCount()) {\n <div class=\"dt-foot\" [class.has-count]=\"showRowCount()\">\n @if (showRowCount()) {\n <span class=\"dt-foot__count\">\n @if (rowCountTpl()) {<ng-container *ngTemplateOutlet=\"rowCountTpl()!.tpl; context: { $implicit: totalRows(), total: totalRows(), filtered: totalFiltered(), selected: selectedCount() }\"/>}\n @else {{{ rowCountText() }}}\n </span>\n }\n @if (usePaginator() && (paginationTotal() > 0 || lazy())) {\n <poad-paginator [first]=\"first()\" [rows]=\"rows()\" [totalRecords]=\"paginationTotal()\" [rowsPerPageOptions]=\"rowsPerPageOptions()\" [pageLinks]=\"resp.stacked() ? 3 : pageLinks()\"\n [showCurrentPageReport]=\"showCurrentPageReport()\" [currentPageReportTemplate]=\"currentPageReportTemplate()\" [showFirstLastIcon]=\"showFirstLastIcon()\"\n [alwaysShow]=\"alwaysShowPaginator()\" (pageChange)=\"onPage($event)\"/>\n }\n </div>\n }\n <poad-menu #hmenu popup [items]=\"menuItems()\" [ariaLabel]=\"i18n.t('table.columnMenu')\"/>\n <poad-menu #fmenu popup [items]=\"filterMenuItems()\" [ariaLabel]=\"i18n.t('filter.operatorMenu')\" [minWidth]=\"200\"/>\n <poad-menu #inmenu popup [closeOnSelect]=\"false\" [items]=\"inMenuItems()\" [ariaLabel]=\"i18n.t('filter.valuesMenu')\" [minWidth]=\"180\"/>\n</div>\n", styles: [".poad-table{--_row-h: var(--poad-table-row-h, 42px);--_cell-px: 12px;display:block;min-width:0;max-width:100%;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.poad-table.is-dense{--_row-h: 34px}.poad-table .dt{border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);background:var(--poad-surface);overflow:hidden;position:relative}.poad-table.poad-table.is-borderless .dt{border:0;border-radius:0}.poad-table .dt-bar{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--poad-border);flex-wrap:wrap}.poad-table .dt-bar__title{font-weight:600;font-size:13.5px;margin-inline-end:4px}.poad-table .dt-bar__count{font:500 11px var(--poad-font-mono);padding:2px 7px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table .dt-bar__grow{flex:1}.poad-table .dt-bar__search{position:relative;display:flex;align-items:center;width:240px;max-width:100%}.poad-table.poad-table .dt-bar__search .poad-icon{position:absolute;inset-inline-start:9px;color:var(--poad-fg-muted);pointer-events:none}.poad-table.poad-table .dt-bar__search input{width:100%;box-sizing:border-box;height:30px;padding-block:0;padding-inline:30px 28px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .dt-bar__search input::placeholder{color:var(--poad-fg-muted)}.poad-table.poad-table .dt-bar__search input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-bar__search .dt-bar__clear{position:absolute;inset-inline-end:6px;border:0;background:transparent;color:var(--poad-fg-muted);cursor:pointer;display:grid;place-items:center;padding:2px;border-radius:4px}.poad-table.poad-table .dt-bar__search .dt-bar__clear:hover{color:var(--poad-fg);background:var(--poad-hover)}.poad-table .dt-bar__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:26px;padding:0 8px;border-radius:var(--poad-radius-sm);border:1px solid var(--poad-border-strong);background:transparent;color:var(--poad-fg-secondary);font:500 var(--poad-font-size-sm) var(--poad-font);cursor:pointer;white-space:nowrap}.poad-table .dt-bar__btn:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table .dt-bar__btn:focus-visible{outline:2px solid var(--poad-ring);outline-offset:1px}.poad-table .dt-bar__btn.is-ghost{border-color:transparent;width:26px;padding:0}.poad-table .dt-bar__btn.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table .dt-bar__cols{position:relative}.poad-table .dt-bar__menu{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:20;min-width:200px;max-height:280px;overflow:auto;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:9px;box-shadow:var(--poad-shadow-lg);padding:4px}.poad-table.poad-table .dt-bar__menu label{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;font-size:var(--poad-font-size)}.poad-table.poad-table .dt-bar__menu label:hover{background:var(--poad-hover)}.poad-table.poad-table .dt-bar__menu label.is-locked{opacity:.5;cursor:default}.poad-table .dt-bar__menu-title{font:600 10px/1 var(--poad-font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--poad-fg-muted);padding:6px 8px 4px}.poad-table .dt-sel{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--poad-accent-soft);border-bottom:1px solid var(--poad-border);font-size:12.5px;color:var(--poad-accent);font-weight:500;min-height:47px;box-sizing:border-box}.poad-table .dt-sel__grow{flex:1}.poad-table .dt-sel__clear{border:0;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center;width:26px;height:26px;border-radius:6px}.poad-table .dt-sel__clear:hover{background:var(--poad-accent-soft)}.poad-table .dt-scroll{overflow:auto;position:relative}.poad-table.poad-table.has-scroll-height .dt-scroll{max-height:var(--_scroll-h);scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent;scrollbar-gutter:stable}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar{width:10px;height:10px}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table.poad-table.has-scroll-height .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table .dt-loading{position:absolute;inset:0;display:grid;place-items:center;background:color-mix(in srgb,var(--poad-surface) 55%,transparent);z-index:5}.poad-table.poad-table .dt-loading .poad-icon{color:var(--poad-accent)}.poad-table .tbl{width:100%;border-collapse:separate;border-spacing:0;font-size:var(--poad-font-size)}.poad-table.poad-table.is-resizable .tbl{table-layout:fixed}.poad-table.poad-table .tbl>caption{text-align:start;padding:10px 12px;font-weight:600;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th{position:relative;text-align:start;font-weight:600;font-size:var(--poad-font-size-sm);color:var(--poad-fg-secondary);background:var(--poad-bg-subtle);padding:0 var(--_cell-px);height:38px;border-bottom:1px solid var(--poad-border);white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th{position:sticky;top:0;z-index:3}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right{text-align:end}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-center{text-align:center}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left{position:sticky;inset-inline-start:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;inset-inline-end:0;z-index:2;background:var(--poad-surface)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right{background:var(--poad-bg-subtle);z-index:4}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd{display:inline-flex;align-items:center;gap:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.al-right>.hd{flex-direction:row-reverse}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-txt{overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd{all:unset;display:inline-flex;align-items:center;gap:4px;cursor:pointer;border-radius:4px;max-width:100%}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>button.hd:focus-visible{outline:2px solid var(--poad-ring);outline-offset:2px}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{opacity:0;transition:opacity var(--poad-dur);flex:none}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hd>.poad-icon{opacity:.6}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hd>.poad-icon{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th .hd-idx{font:600 9px var(--poad-font-mono);background:var(--poad-accent-soft);color:var(--poad-accent);border-radius:999px;padding:1px 4px}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz{position:absolute;inset-inline-end:0;top:8px;bottom:8px;width:5px;cursor:col-resize;z-index:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:after{content:\"\";position:absolute;inset-inline-end:2px;top:0;bottom:0;width:1px;background:var(--poad-border);transition:background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz:hover:after,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.rz.is-active:after{background:var(--poad-accent);width:2px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-sel,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{width:36px;padding-inline-end:0}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-exp,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{width:30px;padding:0 4px}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-acts,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{text-align:end;white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{height:auto;padding:6px var(--_cell-px);background:var(--poad-surface);font-weight:400}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input{width:100%;box-sizing:border-box;height:26px;padding:0 8px;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>:where(th)>:where(.flt-cell)>input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td{padding:0 var(--_cell-px);height:var(--_row-h);border-bottom:1px solid var(--poad-border);vertical-align:middle;font-variant-numeric:tabular-nums;box-sizing:border-box}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-right{text-align:end}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.al-center,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.al-center{text-align:center}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{font-family:var(--poad-font-mono);font-size:var(--poad-font-size-sm)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-nowrap,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th{border-inline-end:1px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tbody)>:where(tr)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(tfoot)>:where(tr.dt-grand)>td:last-child,.poad-table.poad-table.poad-table.is-bordered .tbl>:where(thead)>:where(tr)>th:last-child{border-inline-end:0}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:last-child>td{border-bottom:0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td{background:var(--poad-hover)}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selectable{cursor:pointer}.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row:focus-visible>td{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected:focus-visible>td:first-child{box-shadow:inset 3px 0 0 var(--poad-accent),inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-expanded :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon{transform:rotate(90deg)}.poad-table.poad-table .tbl :where(td.col-acts)>.acts{display:inline-flex;gap:2px;align-items:center;opacity:0;transition:opacity var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:hover>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:hover:where(.dt-grand)>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.is-selected>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr:focus-within>:where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr:focus-within:where(.dt-grand)>:where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.acts-always .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{background:var(--poad-bg-subtle);height:auto;padding-block:12px 14px;padding-inline:var(--_detail-pl, 58px) var(--_cell-px)}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-detail:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>tfoot>:where(tr.dt-grand)>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg-secondary);border-top:1px solid var(--poad-border);border-bottom:0}.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 22px;font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-detail>td)>.kv>:where(div)>b{display:block;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin-bottom:4px}.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{height:12px;border-radius:4px;background:linear-gradient(90deg,var(--poad-elevated),var(--poad-hover),var(--poad-elevated));background-size:200% 100%;animation:poad-tbl-sh 1.4s infinite}@keyframes poad-tbl-sh{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.poad-table :where(.tbl>tbody>tr.is-skeleton>td)>.skel{animation:none}.poad-table.poad-table .tbl :where(td.col-acts)>.acts,.poad-table.poad-table.poad-table .tbl :where(td.col-exp,.dt-group__inner)>.exp>.poad-icon,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hd>.poad-icon{transition:none}}.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty{display:grid;place-items:center;gap:6px;padding:34px 12px;text-align:center;color:var(--poad-fg-secondary);font-size:12.5px}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>.poad-icon{color:var(--poad-fg-muted)}.poad-table.poad-table :where(.tbl>tbody>tr.dt-empty>td)>.empty>b{color:var(--poad-fg);font-size:var(--poad-font-size)}.poad-table .dt-foot{display:flex;align-items:center;gap:14px;padding:8px 12px;border-top:1px solid var(--poad-border)}.poad-table.poad-table .dt-foot .poad-paginator{flex:1}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.flt>th{padding:5px 6px}.poad-table .flt-cell{position:relative;display:flex;align-items:center;gap:4px;min-width:0}.poad-table.poad-table .flt-cell input,.poad-table.poad-table .flt-cell .flt-in{flex:1 1 0;min-width:0;height:28px;padding:0 26px 0 8px;box-sizing:border-box;font:var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-table.poad-table .flt-cell.is-range input{padding-right:8px}.poad-table.poad-table .flt-cell.is-range input:last-of-type{padding-right:26px}.poad-table.poad-table .flt-cell input:focus,.poad-table.poad-table .flt-cell .flt-in:focus-visible{border-color:var(--poad-accent);box-shadow:0 0 0 2px var(--poad-ring)}.poad-table.poad-table .flt-cell.is-active input,.poad-table.poad-table .flt-cell.is-active .flt-in{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell .flt-in{display:inline-flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;cursor:pointer}.poad-table.poad-table .flt-cell .flt-in.is-ph{color:var(--poad-fg-muted)}.poad-table.poad-table.poad-table .flt-cell .flt-in .poad-icon{color:var(--poad-fg-muted);flex:none}.poad-table.poad-table .flt-cell .flt-txt{flex:1;height:28px;display:inline-flex;align-items:center;padding:0 26px 0 8px;font:italic var(--poad-font-size-sm) var(--poad-font);color:var(--poad-accent);background:var(--poad-accent-soft);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);box-sizing:border-box}.poad-table.poad-table .flt-cell .flt-op{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-op:hover,.poad-table.poad-table .flt-cell .flt-op.is-on{color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table.poad-table .flt-cell.is-active .flt-op{right:22px}.poad-table.poad-table .flt-cell .flt-x{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:18px;height:18px;border:0;border-radius:4px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .flt-cell .flt-x:hover{color:var(--poad-danger);background:var(--poad-danger-soft)}.poad-table.poad-table .flt-cell>.poad-select{flex:1 1 0;min-width:0}.poad-table.poad-table.poad-table .flt-cell>.poad-select .poad-select__trigger{padding-inline-end:26px}.poad-table.poad-table.poad-table .flt-cell.is-active>.poad-select .poad-select__trigger{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table .dt-foot__count{font:var(--poad-font-size-sm) var(--poad-font-mono);color:var(--poad-fg-secondary);white-space:nowrap}.poad-table.poad-table .dt-foot.has-count .poad-paginator{flex:1}\n", ".poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-left,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-right,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:sticky;z-index:2;background:var(--poad-surface);background-clip:padding-box}.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table .tbl>thead>:where(tr)>th.st-right{z-index:4;background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-left,.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>thead>:where(tr)>th.st-right{z-index:5}.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl>tbody>tr.dt-row:nth-child(2n of.dt-row)>td.st-right{background:var(--poad-table-stripe, var(--poad-bg-subtle))}.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-left,.poad-table.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>tbody>tr.dt-row:hover>td.st-right{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-left,.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row.is-selected>td.st-right{background:color-mix(in srgb,var(--poad-accent) 12%,var(--poad-surface))}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.st-last-left{transition:box-shadow var(--poad-dur)}.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tbody)>:where(tr)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-last-left,.poad-table.poad-table.poad-table.is-scrolled-x .tbl>:where(thead)>:where(tr)>th.st-last-left{box-shadow:1px 0 0 var(--poad-border),6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tbody)>:where(tr)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-first-right,.poad-table.poad-table.poad-table:not(.is-scrolled-x-end) .tbl>:where(thead)>:where(tr)>th.st-first-right{box-shadow:-1px 0 0 var(--poad-border),-6px 0 12px -6px #0000002e}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.st-right.col-acts>.acts,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right.col-acts>.acts{background:inherit}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{white-space:nowrap}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.cell-txt,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.cell-txt{white-space:normal}.poad-table .poad-tree-toggle{display:inline-flex;align-items:center;vertical-align:middle;margin-right:4px}.poad-table.poad-table .poad-tree-toggle .ind{display:inline-block;width:calc(var(--_lvl, 0) * var(--_indent, 20px));flex:none}.poad-table.poad-table .poad-tree-toggle .tl{display:inline-block;width:var(--_indent, 20px);align-self:stretch;flex:none;position:relative}.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.has-tree-lines .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{padding-top:0;padding-bottom:0}.poad-table.poad-table.has-tree-lines .poad-tree-toggle{align-self:stretch;height:var(--_row-h)}.poad-table.poad-table.poad-table.has-tree-lines .poad-tree-toggle .tl:before{content:\"\";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid var(--poad-border)}.poad-table.poad-table .poad-tree-toggle .tg{width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0;flex:none}.poad-table.poad-table .poad-tree-toggle .tg:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .poad-tree-toggle .tg:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table .poad-tree-toggle .tg.is-open .poad-icon{transform:rotate(90deg)}.poad-table.poad-table .poad-tree-toggle .tg.is-leaf{visibility:hidden;pointer-events:none}.poad-table.poad-table .poad-tree-toggle .ic{color:var(--poad-fg-muted);margin:0 6px 0 2px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.lvl-0.has-children>td.dt-tree-cell{font-weight:500}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group>td{background:var(--poad-bg-subtle);height:34px;padding:0 var(--_cell-px);border-bottom:1px solid var(--poad-border)}.poad-table .dt-group__inner{display:flex;align-items:center;gap:6px;padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px));font-weight:600;font-size:var(--poad-font-size-sm)}.poad-table.poad-table .dt-group__inner .exp{width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-group__inner .exp:hover{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-group__inner .exp .poad-icon{transition:transform var(--poad-dur)}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group.is-expanded .dt-group__inner .exp .poad-icon{transform:rotate(90deg)}.poad-table .dt-group__count{font:500 10.5px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg-secondary)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td{background:var(--poad-bg-subtle);height:32px;color:var(--poad-fg-secondary);font-size:var(--poad-font-size-sm);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-group-foot>td.dt-num,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>tr.dt-grand>td.dt-num{font-family:var(--poad-font-mono);font-weight:600}.poad-table .dt-group-foot__label{padding-left:calc(var(--_lvl, 0) * var(--_indent, 20px) + 26px);font-weight:500}.poad-table.poad-table.poad-table.poad-table .tbl>tfoot>tr.dt-grand>td{background:var(--poad-bg-subtle);font-weight:600;color:var(--poad-fg);border-top:2px solid var(--poad-border);height:36px}.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group:hover>td,.poad-table.poad-table.poad-table.poad-table.is-hoverable .tbl>:where(thead,tbody)>tr.dt-group-foot:hover>td{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-detail>td{padding-left:calc(var(--_detail-pl, 58px) + var(--_lvl, 0) * var(--_indent, 20px))}.poad-table .dt-bar__tools,.poad-table .dt-bar__tools-end{display:contents}.poad-table .dt-bar__filters{display:inline-flex}.poad-table.poad-table .dt-bar__filters .dt-bar__count{padding:1px 6px;font-size:10px}.poad-table.poad-table.is-stacked .dt-bar{gap:8px}.poad-table.poad-table.is-stacked .dt-bar__tools{display:none}.poad-table.poad-table.is-stacked .dt-bar__tools.is-open{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-basis:100%;order:10;padding-top:8px;border-top:1px dashed var(--poad-border)}.poad-table.poad-table.is-stacked .dt-bar__grow{display:none}.poad-table.poad-table.is-stacked .dt-bar__search{order:5;flex-basis:100%;width:100%}.poad-table.poad-table.is-stacked .dt-bar__cols,.poad-table.poad-table.is-stacked .dt-bar__density{display:none}.poad-table.poad-table.is-stacked .dt-sel{position:sticky;bottom:0;z-index:6;flex-wrap:wrap;border-top:1px solid var(--poad-border);order:99}.poad-table.poad-table.is-stacked .dt-scroll{overflow-x:hidden}.poad-table.poad-table.is-stacked .tbl,.poad-table.poad-table.poad-table.is-stacked .tbl>tbody,.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>tr:where(.dt-grand),.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>thead,.poad-table.poad-table.poad-table.is-stacked .tbl>colgroup,.poad-table.poad-table.poad-table.is-stacked .tbl>caption{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row{position:relative;padding:10px 12px;border-bottom:1px solid var(--poad-border);height:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.has-sel{padding-left:44px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected{background:var(--poad-accent-soft);box-shadow:inset 3px 0 0 var(--poad-accent)}.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover{background:var(--poad-hover)}.poad-table.poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:hover>td,.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.is-selected>td,.poad-table.poad-table.poad-table.poad-table.is-striped.is-stacked .tbl>:where(thead,tbody)>tr.dt-row>td{background:transparent!important;box-shadow:none!important}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row:focus-visible{box-shadow:inset 0 0 0 1px var(--poad-ring)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td{height:auto;padding:2px 0;border:0;white-space:normal;display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12.5px;position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-left,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.st-right,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.st-right{position:static}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td[data-l]:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td[data-l]:before{content:attr(data-l);color:var(--poad-fg-muted);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;flex:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel{position:absolute;left:12px;top:12px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-sel:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first:before{content:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-exp,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-exp{position:absolute;right:44px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-first,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell{display:block;font-size:14px;font-weight:500;padding:0 44px 6px 0}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .ind,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.poad-tree-toggle .tl,.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-tree-cell>.poad-tree-toggle .tl{display:none}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-acts,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-acts{position:absolute;right:8px;top:8px;padding:0;width:auto}.poad-table.poad-table.poad-table.is-stacked .tbl :where(td.col-acts)>.acts{opacity:1}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.dt-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.dt-num{text-align:right}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-detail>td{padding:8px 12px 10px}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-1{margin-left:22px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-2{margin-left:44px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-row.lvl-3{margin-left:66px;border-left:2px solid var(--poad-border)}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group>td{padding:8px 12px;height:auto;display:block}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot{display:flex;flex-wrap:wrap;gap:4px 14px;padding:6px 12px 6px 44px}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td{padding:0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-group-foot>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand{padding:8px 12px}.poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>tfoot>tr.dt-grand>td:empty{display:none}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-empty>td{display:block}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.is-skeleton>td{display:block;padding:4px 0}.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl>:where(thead,tbody)>tr.dt-card>td{padding:0;display:block}.poad-table.poad-table.is-stacked .dt-foot{flex-wrap:wrap;gap:8px}.poad-table.poad-table.is-stacked .dt-foot .poad-paginator__rpp{display:none}\n", ".poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh{display:none;position:absolute;left:2px;top:50%;transform:translateY(-50%);width:14px;height:18px;color:var(--poad-fg-muted);cursor:grab;border-radius:3px;place-items:center}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag{padding-left:calc(var(--_cell-px) + 6px)}.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag:hover>.dh,.poad-table.poad-table.poad-table.poad-table.is-reorderable .tbl>:where(thead)>:where(tr)>th.can-drag.cdk-drag-dragging>.dh{display:grid}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder{opacity:.35;background:var(--poad-accent-soft)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-placeholder:before{content:\"\";position:absolute;left:-1px;top:4px;bottom:4px;width:2px;background:var(--poad-accent)}.cdk-drag-preview.dt-th-preview{display:flex;align-items:center;height:38px;padding:0 12px;box-sizing:border-box;font:600 var(--poad-font-size-sm) var(--poad-font);color:var(--poad-fg);background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:6px;box-shadow:var(--poad-shadow-lg);list-style:none}.poad-table.poad-table.poad-table.poad-table .tbl>thead>tr.cdk-drop-list-dragging>th:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.cdk-drag-animating{transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table .dt-bar__menu .mv{display:inline-flex;gap:0;margin-left:auto}.poad-table.poad-table.poad-table .dt-bar__menu .mv button{border:0;background:transparent;color:var(--poad-fg-muted);width:20px;height:20px;border-radius:4px;cursor:pointer;display:grid;place-items:center;padding:0}.poad-table.poad-table.poad-table .dt-bar__menu .mv button:hover:not([disabled]){background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .dt-bar__menu .mv button[disabled]{opacity:.3;cursor:default}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th{height:30px;text-align:center;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);border-bottom:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell{border-left:1px solid var(--poad-border)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.hg>th.hg-cell:first-child{border-left:0}.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg>th{position:sticky;top:0;z-index:3}.poad-table.poad-table.poad-table.poad-table.poad-table.is-sticky-header .tbl>:where(thead,tbody)>tr.hg+tr>th{top:30px}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-vpad>td{padding:0;border:0;height:auto}.poad-table.poad-table.is-virtual .dt-scroll{overflow-anchor:none}.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.edit-cell .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{cursor:text;position:relative}.poad-table.poad-table.poad-table.poad-table.poad-table.edit-cell.is-hoverable .tbl>tbody>tr.dt-row>td.is-editable:hover{background:var(--poad-hover);box-shadow:inset 0 0 0 1px var(--poad-border-strong)}.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tbody)>:where(tr)>td.is-editable,.poad-table.poad-table.poad-table.show-edit-icon .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable{padding-right:calc(var(--_cell-px) + 16px)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur)}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editable:hover>.ce,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:focus-visible{opacity:.7}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td>.ce:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td>.ce:hover{opacity:1!important;background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{padding-top:0;padding-bottom:0;background:var(--poad-surface)!important;box-shadow:none!important}.poad-table .dt-editor{position:relative;display:flex;align-items:stretch;min-height:calc(var(--_row-h) - 8px);margin:4px 0}.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.is-editing,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.is-editing{height:auto;vertical-align:top}.poad-table.poad-table .dt-editor input,.poad-table.poad-table .dt-editor select,.poad-table.poad-table .dt-editor textarea{width:100%;height:calc(var(--_row-h) - 8px);box-sizing:border-box;padding:0 8px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-accent);border-radius:var(--poad-radius-sm);outline:0;box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table .dt-editor input[type=number]{font-family:var(--poad-font-mono);text-align:right}.poad-table.poad-table .dt-editor textarea{height:auto;min-height:76px;padding:6px 8px;resize:vertical;line-height:1.45;font:var(--poad-font-size)/1.45 var(--poad-font)}.poad-table.poad-table .dt-editor input[type=checkbox]{width:16px;height:16px;box-shadow:none;accent-color:var(--poad-accent)}.poad-table.poad-table .dt-editor.is-invalid input,.poad-table.poad-table .dt-editor.is-invalid select,.poad-table.poad-table .dt-editor.is-invalid textarea{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.poad-table .dt-editor__err{position:absolute;left:0;top:calc(100% + 4px);z-index:6;padding:3px 8px;border-radius:6px;background:var(--poad-danger);color:#fff;font-size:11px;white-space:nowrap;box-shadow:var(--poad-shadow-md);pointer-events:none}.poad-table .dt-editor__err:before{content:\"\";position:absolute;left:10px;top:-4px;width:8px;height:8px;background:inherit;transform:rotate(45deg)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.dt-row.is-editing-row>td{background:var(--poad-accent-soft)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re{display:inline-grid;place-items:center;width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);cursor:pointer;padding:0}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ok{color:var(--poad-success)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re.ko{color:var(--poad-danger)}.poad-table.poad-table.poad-table .tbl :where(td.col-acts)>.acts>.re:focus-visible{outline:2px solid var(--poad-ring)}.poad-table.poad-table.poad-table.poad-table.edit-row .tbl>:where(thead,tbody)>tr.is-editing-row>:where(td.col-acts)>.acts{opacity:1}\n", ".poad-table .dt-scroll{scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.poad-table .dt-scroll::-webkit-scrollbar{height:10px;width:10px}.poad-table .dt-scroll::-webkit-scrollbar-thumb{background:var(--poad-border-strong);border-radius:999px;border:2px solid var(--poad-surface)}.poad-table .dt-scroll::-webkit-scrollbar-thumb:hover{background:var(--poad-fg-muted)}.poad-table .dt-scroll::-webkit-scrollbar-track{background:transparent}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.has-menu{padding-right:calc(var(--_cell-px) + 20px)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity var(--poad-dur),background var(--poad-dur);z-index:2}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th:hover>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:focus-visible,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-sorted>.hm,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered>.hm{opacity:1}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm:hover,.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th>.hm.is-on{background:var(--poad-elevated);color:var(--poad-fg)}.poad-table.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.is-filtered .hd-txt{color:var(--poad-accent)}.poad-table.poad-table.poad-table.poad-table.is-resizable .tbl>:where(thead)>:where(tr)>th.has-menu>.hm{right:10px}.poad-table .dt-gz{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:40px;padding:6px 12px;border-bottom:1px solid var(--poad-border);background:var(--poad-bg-subtle);color:var(--poad-fg-muted);font-size:var(--poad-font-size-sm)}.poad-table .dt-gz.cdk-drop-list-receiving,.poad-table .dt-gz.cdk-drop-list-dragging{background:var(--poad-accent-soft);color:var(--poad-accent);outline:1px dashed var(--poad-accent);outline-offset:-4px}.poad-table .dt-gz__hint{font-style:italic}.poad-table .dt-gz__chip,.dt-gz__chip.cdk-drag-preview{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 4px 0 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent);font-weight:500;cursor:grab}.poad-table.poad-table .dt-gz__chip .dt-gz__drag,.dt-gz__chip.cdk-drag-preview .dt-gz__drag{opacity:.6}.poad-table.poad-table .dt-gz__chip button,.dt-gz__chip.cdk-drag-preview button{width:18px;height:18px;border:0;border-radius:50%;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0}.poad-table.poad-table .dt-gz__chip button:hover,.dt-gz__chip.cdk-drag-preview button:hover{background:var(--poad-accent);color:var(--poad-fg-on-accent)}.poad-table .dt-gz__chip.cdk-drag-placeholder{opacity:.35}.cdk-drag-preview.dt-gz__chip{box-shadow:var(--poad-shadow-md)}.poad-table.poad-table.is-stacked .dt-gz{display:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{width:44px;text-align:right;font:11px var(--poad-font-mono);color:var(--poad-fg-muted);background:var(--poad-bg-subtle);padding:0 8px;-webkit-user-select:none;user-select:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-num{font-weight:600}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-num{background:var(--poad-bg-subtle)}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num{position:absolute;left:auto;right:12px;bottom:6px;width:auto;background:transparent;padding:0}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-num:before,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-num:before{content:none}.poad-table.poad-table .tbl>:where(thead)>:where(tr)>th.col-drag,.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{width:28px;padding:0 4px}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh{display:inline-grid;place-items:center;width:20px;height:24px;color:var(--poad-fg-muted);cursor:grab;opacity:0;transition:opacity var(--poad-dur);border-radius:4px}.poad-table.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr:hover>td.col-drag>.rdh,.poad-table.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.cdk-drag-dragging>td.col-drag>.rdh{opacity:.8}.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.col-drag>.rdh:hover,.poad-table.poad-table.poad-table .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag>.rdh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder{opacity:0}.poad-table.poad-table.poad-table .tbl>tbody.cdk-drop-list-dragging>tr.dt-row:not(.cdk-drag-placeholder){transition:transform .2s cubic-bezier(0,0,.2,1)}.poad-table.poad-table.poad-table .tbl>:where(thead,tbody)>tr.dt-row.cdk-drag-placeholder>td{border-top:2px solid var(--poad-accent)}.cdk-drag-preview.dt-tr-preview{display:table;table-layout:fixed;box-sizing:border-box;background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);border-radius:8px;box-shadow:var(--poad-shadow-lg);opacity:.95;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg)}.cdk-drag-preview.dt-tr-preview td{padding:0 12px;height:42px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tbody)>:where(tr)>td.col-drag,.poad-table.poad-table.poad-table.is-stacked .tbl>:where(tfoot)>:where(tr.dt-grand)>td.col-drag{display:none}\n"] }]
10141
10008
  }], ctorParameters: () => [], propDecorators: { scroller: [{ type: i0.ViewChild, args: ['scroller', { isSignal: true }] }], dtEl: [{ type: i0.ViewChild, args: ['dt', { isSignal: true }] }], headerMenu: [{ type: i0.ViewChild, args: ['hmenu', { isSignal: true }] }], filterMenu: [{ type: i0.ViewChild, args: ['fmenu', { isSignal: true }] }], inMenu: [{ type: i0.ViewChild, args: ['inmenu', { isSignal: true }] }] } });
10142
10009
 
10143
10010
  /** Template de nœud : `<ng-template poadTreeNode let-node let-row="row" let-level="level" let-selected="selected">`. */
@@ -10430,100 +10297,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10430
10297
  `, styles: [":host{display:block;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg);min-width:0}.poad-tree__filter{position:relative;display:flex;align-items:center;margin-bottom:6px}.poad-tree__filter poad-icon{position:absolute;inset-inline-start:9px;color:var(--poad-fg-muted);pointer-events:none}.poad-tree__filter input{width:100%;box-sizing:border-box;height:30px;padding:0 28px 0 30px;font:var(--poad-font-size) var(--poad-font);color:var(--poad-fg);background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius);outline:0;transition:border-color var(--poad-dur),box-shadow var(--poad-dur)}.poad-tree__filter input:focus{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-tree__filter button{position:absolute;inset-inline-end:6px;border:0;background:transparent;color:var(--poad-fg-muted);cursor:pointer;display:grid;place-items:center;padding:2px;border-radius:4px}.poad-tree__list{outline:0}.poad-tree__node{display:flex;align-items:center;gap:4px;min-height:30px;padding:0 8px 0 4px;border-radius:6px;cursor:pointer;-webkit-user-select:none;user-select:none}.poad-tree__node:hover{background:var(--poad-hover)}.poad-tree__node:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--poad-ring)}.poad-tree__node.is-selected{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-tree__node.is-selected .lb{font-weight:500}.ind{display:inline-block;width:calc(var(--_lvl, 0) * var(--_indent, 18px));flex:none}.tl{display:inline-block;width:var(--_indent, 18px);align-self:stretch;flex:none;position:relative}:host(.has-lines) .tl:before{content:\"\";position:absolute;inset-inline-start:8px;top:-2px;bottom:-2px;border-inline-start:1px solid var(--poad-border)}.tg{width:20px;height:20px;border:0;border-radius:5px;background:transparent;color:var(--poad-fg-muted);display:inline-grid;place-items:center;cursor:pointer;padding:0;flex:none}.tg:hover{background:var(--poad-elevated);color:var(--poad-fg)}.tg poad-icon{transition:transform var(--poad-dur)}.tg.is-open poad-icon{transform:rotate(90deg)}.tg.is-leaf{visibility:hidden;pointer-events:none}.cb{margin:0 2px}.ic{color:var(--poad-fg-muted);margin-inline-end:2px}.poad-tree__node.is-selected .ic{color:inherit}.lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poad-tree__empty{padding:14px 8px;color:var(--poad-fg-muted);font-size:var(--poad-font-size-sm);text-align:center}@media(prefers-reduced-motion:reduce){.tg poad-icon{transition:none}}\n"] }]
10431
10298
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], treeField: [{ type: i0.Input, args: [{ isSignal: true, alias: "treeField", required: false }] }], parentKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "parentKey", required: false }] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], labelField: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelField", required: false }] }], expandedKeys: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedKeys", required: false }] }, { type: i0.Output, args: ["expandedKeysChange"] }], selection: [{ type: i0.Input, args: [{ isSignal: true, alias: "selection", required: false }] }, { type: i0.Output, args: ["selectionChange"] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], selectionPropagation: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionPropagation", required: false }] }], nodeSelectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "nodeSelectable", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterPlaceholder", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], lazyChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazyChildren", required: false }] }], hasChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasChildren", required: false }] }], indent: [{ type: i0.Input, args: [{ isSignal: true, alias: "indent", required: false }] }], showLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLines", required: false }] }], icons: [{ type: i0.Input, args: [{ isSignal: true, alias: "icons", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], emptyFilterMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyFilterMessage", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], toggleOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "toggleOnClick", required: false }] }], nodeSelect: [{ type: i0.Output, args: ["nodeSelect"] }], nodeUnselect: [{ type: i0.Output, args: ["nodeUnselect"] }], nodeExpand: [{ type: i0.Output, args: ["nodeExpand"] }], nodeCollapse: [{ type: i0.Output, args: ["nodeCollapse"] }], nodeTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PoadTreeNodeDirective), { isSignal: true }] }] } });
10432
10299
 
10433
- /** Styles de poad-table-panel (panneau latéral Colonnes / Filtres / Groupes / Valeurs). Tokens --poad-* uniquement. */
10434
- const POAD_TABLE_PANEL_STYLES = `
10435
- :host { display: flex; align-items: stretch; height: 100%; min-height: 0; font: var(--poad-font-size)/1.4 var(--poad-font); color: var(--poad-fg); position: relative; }
10436
- :host(.pos-left) { flex-direction: row-reverse; }
10437
- /* rail d'onglets */
10438
- .rail { display: flex; flex-direction: column; gap: 2px; width: 34px; padding: 6px 0; background: var(--poad-bg-subtle); border-inline-start: 1px solid var(--poad-border); flex: none; }
10439
- :host(.pos-left) .rail { border-inline-start: 0; border-inline-end: 1px solid var(--poad-border); }
10440
- .rail button { all: unset; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; cursor: pointer; color: var(--poad-fg-secondary); border-radius: 6px; margin: 0 4px; writing-mode: vertical-rl; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
10441
- .rail button poad-icon { writing-mode: horizontal-tb; }
10442
- .rail button:hover { background: var(--poad-hover); color: var(--poad-fg); }
10443
- .rail button.is-active { background: var(--poad-accent-soft); color: var(--poad-accent); }
10444
- .rail button:focus-visible { outline: 2px solid var(--poad-ring); }
10445
- /* contenu */
10446
- .body { width: var(--_w, 260px); min-width: 0; background: var(--poad-bg-subtle); border-inline-start: 1px solid var(--poad-border); display: flex; flex-direction: column; overflow: hidden; }
10447
- :host(.pos-left) .body { border-inline-start: 0; border-inline-end: 1px solid var(--poad-border); }
10448
- :host(:not(.is-open)) .body { display: none; }
10449
- .body__scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--poad-border-strong) transparent; }
10450
- .sec { padding: 10px 12px 12px; border-bottom: 1px solid var(--poad-border); }
10451
- .sec:last-child { border-bottom: 0; }
10452
- .sec__ttl { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--poad-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--poad-fg-muted); margin: 0 0 8px; }
10453
- .sec__ttl .grow { flex: 1; }
10454
- .sec__ttl button.lnk { all: unset; cursor: pointer; color: var(--poad-accent); font: 500 11px var(--poad-font); text-transform: none; letter-spacing: 0; }
10455
- .sec__ttl button.lnk:hover { text-decoration: underline; }
10456
- /* recherche compacte */
10457
- .srch { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; background: var(--poad-input-bg); border: 1px solid var(--poad-input-border); border-radius: var(--poad-radius-sm); margin-bottom: 8px; color: var(--poad-fg-muted); }
10458
- .srch:focus-within { border-color: var(--poad-accent); box-shadow: 0 0 0 3px var(--poad-ring); }
10459
- .srch input { flex: 1 1 0; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--poad-fg); font: var(--poad-font-size-sm) var(--poad-font); }
10460
- .srch input::placeholder { color: var(--poad-fg-muted); }
10461
- /* liste de colonnes */
10462
- .cols { display: flex; flex-direction: column; gap: 1px; }
10463
- .col-row { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px; border-radius: 6px; font-size: 12.5px; }
10464
- .col-row:hover { background: var(--poad-hover); }
10465
- .col-row.is-off { color: var(--poad-fg-muted); }
10466
- .col-row .dh { display: grid; place-items: center; width: 16px; height: 20px; color: var(--poad-fg-muted); cursor: grab; flex: none; border-radius: 3px; }
10467
- .col-row .dh:hover { color: var(--poad-fg); background: var(--poad-elevated); }
10468
- .col-row .dh.is-disabled { visibility: hidden; }
10469
- .col-row .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
10470
- .col-row .pin { color: var(--poad-fg-muted); }
10471
- .col-row.cdk-drag-preview { background: var(--poad-overlay); --poad-hover: var(--poad-overlay-hover); border: 1px solid var(--poad-border); box-shadow: var(--poad-shadow-lg); }
10472
- .col-row.cdk-drag-placeholder { opacity: .3; }
10473
- .cols.cdk-drop-list-dragging .col-row:not(.cdk-drag-placeholder) { transition: transform 180ms cubic-bezier(0,0,.2,1); }
10474
- .all-row { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px; margin-bottom: 4px; }
10475
- .all-row .cnt { margin-inline-start: auto; font: 500 10.5px var(--poad-font-mono); color: var(--poad-fg-muted); }
10476
- /* zone de dépôt + chips */
10477
- .drop { min-height: 40px; border: 1px dashed var(--poad-border-strong); border-radius: 8px; padding: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--poad-fg-muted); font-size: 12px; transition: border-color var(--poad-dur), background var(--poad-dur); }
10478
- .drop.cdk-drop-list-receiving, .drop.cdk-drop-list-dragging { border-color: var(--poad-accent); background: var(--poad-accent-soft); }
10479
- .drop .hint { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; }
10480
- .chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 6px 0 8px; border-radius: 999px; background: var(--poad-elevated); color: var(--poad-fg); font-size: 12px; white-space: nowrap; }
10481
- .chip .dh { display: grid; place-items: center; width: 12px; color: var(--poad-fg-muted); cursor: grab; }
10482
- .chip .fn { font: 500 11px var(--poad-font-mono); color: var(--poad-fg-secondary); }
10483
- .chip button { all: unset; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: var(--poad-fg-muted); cursor: pointer; }
10484
- .chip button:hover { background: var(--poad-hover); color: var(--poad-fg); }
10485
- .chip.cdk-drag-preview { box-shadow: var(--poad-shadow-lg); }
10486
- .chip.cdk-drag-placeholder { opacity: .3; }
10487
- .add { all: unset; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px dashed var(--poad-border-strong); color: var(--poad-fg-secondary); font-size: 12px; cursor: pointer; }
10488
- .add:hover { border-color: var(--poad-accent); color: var(--poad-accent); }
10489
- .picker { display: grid; gap: 6px; padding: 8px; margin-top: 8px; border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-surface); }
10490
- .picker .row { display: flex; gap: 6px; }
10491
- /* filtres */
10492
- .flt { border: 1px solid var(--poad-border); border-radius: 8px; background: var(--poad-surface); margin-bottom: 6px; overflow: hidden; }
10493
- .flt__hd { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; cursor: pointer; font-size: 12.5px; user-select: none; }
10494
- .flt__hd:hover { background: var(--poad-hover); }
10495
- .flt__hd .chev { color: var(--poad-fg-muted); transition: transform var(--poad-dur); }
10496
- .flt.is-open .flt__hd .chev { transform: rotate(90deg); }
10497
- .flt__hd .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
10498
- .flt__hd .on { font: 600 10px var(--poad-font-mono); padding: 1px 6px; border-radius: 999px; background: var(--poad-accent-soft); color: var(--poad-accent); }
10499
- .flt__hd .clr { all: unset; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; color: var(--poad-fg-muted); cursor: pointer; }
10500
- .flt__hd .clr:hover { background: var(--poad-hover); color: var(--poad-fg); }
10501
- .flt__bd { display: grid; gap: 6px; padding: 4px 8px 10px; }
10502
- .flt__bd .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
10503
- .opts { max-height: 160px; overflow: auto; display: grid; gap: 2px; }
10504
- .opts label { display: flex; align-items: center; gap: 6px; height: 24px; font-size: 12.5px; }
10505
- .empty { color: var(--poad-fg-muted); font-size: 12px; padding: 4px 0; }
10506
- /* overlay mobile */
10507
- :host(.is-overlay) { position: absolute; top: 0; inset-inline-end: 0; bottom: 0; z-index: 20; }
10508
- :host(.is-overlay.is-open) .body { box-shadow: var(--poad-shadow-lg); }
10509
- :host(.is-overlay.pos-left) { inset-inline-end: auto; inset-inline-start: 0; }
10510
- `;
10511
-
10512
10300
  /** Message du catalogue pour chaque fonction d'agrégat, dans l'ordre du menu. */
10513
10301
  const AGG_LABELS = { sum: 'table.aggSum', avg: 'table.aggAvg', min: 'table.aggMin', max: 'table.aggMax', count: 'table.aggCount' };
10514
- const TAB_META = {
10515
- columns: { labelKey: 'table.columns', icon: 'columns' }, filters: { labelKey: 'table.filters', icon: 'filter' }, groups: { labelKey: 'table.groups', icon: 'layers' }, values: { labelKey: 'table.values', icon: 'sliders' },
10516
- };
10517
- const TEXT_OPS = [
10518
- { labelKey: 'filter.opContains', value: 'contains' }, { labelKey: 'filter.opNotContains', value: 'notContains' }, { labelKey: 'filter.opStartsWith', value: 'startsWith' },
10519
- { labelKey: 'filter.opEndsWith', value: 'endsWith' }, { labelKey: 'filter.opEquals', value: 'eq' }, { labelKey: 'filter.opNotEquals', value: 'neq' },
10520
- ];
10521
- const NUM_OPS = [
10522
- { label: '=', value: 'eq' }, { label: '≠', value: 'neq' }, { label: '<', value: 'lt' }, { label: '≤', value: 'lte' }, { label: '>', value: 'gt' }, { label: '≥', value: 'gte' }, { labelKey: 'filter.opBetween', value: 'between' },
10523
- ];
10524
- const DATE_OPS = [
10525
- { labelKey: 'filter.opDateIs', value: 'dateIs' }, { labelKey: 'filter.opDateBefore', value: 'dateBefore' }, { labelKey: 'filter.opDateAfter', value: 'dateAfter' }, { labelKey: 'filter.opBetween', value: 'between' },
10526
- ];
10527
10302
  /**
10528
10303
  * Panneau latéral d'une poad-table (style AG Grid) : rail d'onglets verticaux + contenu.
10529
10304
  * Colonnes : recherche, « tout », liste ordonnable (drag) et cochable ; Groupes : zone de dépôt + chips ;
@@ -10535,6 +10310,9 @@ const DATE_OPS = [
10535
10310
  * </div>
10536
10311
  * ou dans `<poad-split ratio="1fr auto">` / `<poad-sidebar>` de la couche layout.
10537
10312
  * Sous `md` (fenêtre) le panneau devient un overlay à droite, fermé par défaut.
10313
+ * Tranche 2 de la table : modèle `table.panel` d'@poadio/ui-core (onglets du rail, motif « tabs » de WAI-ARIA à focus
10314
+ * itinérant — ↑ ↓ Début Fin entre onglets, Entrée / Espace ouvre ou referme —, colonnes, brouillons des filtres) ;
10315
+ * feuille partagée `@poadio/ui-core/table-panel.css` (encapsulation désactivée).
10538
10316
  * @atelier icone=table-properties
10539
10317
  */
10540
10318
  class PoadTablePanelComponent {
@@ -10554,6 +10332,7 @@ class PoadTablePanelComponent {
10554
10332
  groupsChange = output();
10555
10333
  aggregatesChange = output();
10556
10334
  filtersChange = output();
10335
+ host = inject(ElementRef);
10557
10336
  bodyId = poadId('poad-tpanel');
10558
10337
  colsListId = poadId('poad-tpanel-cols');
10559
10338
  groupsListId = poadId('poad-tpanel-groups');
@@ -10561,11 +10340,10 @@ class PoadTablePanelComponent {
10561
10340
  pickerOpen = signal(false, ...(ngDevMode ? [{ debugName: "pickerOpen" }] : /* istanbul ignore next */ []));
10562
10341
  pickField = signal(null, ...(ngDevMode ? [{ debugName: "pickField" }] : /* istanbul ignore next */ []));
10563
10342
  pickFn = signal('sum', ...(ngDevMode ? [{ debugName: "pickFn" }] : /* istanbul ignore next */ []));
10564
- ops(list) { return list.map(o => ({ label: o.label ?? this.i18n.t(o.labelKey), value: o.value })); }
10565
10343
  // computed : les libellés suivent la langue courante.
10566
- textOps = computed(() => this.ops(TEXT_OPS), ...(ngDevMode ? [{ debugName: "textOps" }] : /* istanbul ignore next */ []));
10567
- numOps = computed(() => this.ops(NUM_OPS), ...(ngDevMode ? [{ debugName: "numOps" }] : /* istanbul ignore next */ []));
10568
- dateOps = computed(() => this.ops(DATE_OPS), ...(ngDevMode ? [{ debugName: "dateOps" }] : /* istanbul ignore next */ []));
10344
+ textOps = computed(() => tablePanelOperatorOptions('text', k => this.i18n.t(k)), ...(ngDevMode ? [{ debugName: "textOps" }] : /* istanbul ignore next */ []));
10345
+ numOps = computed(() => tablePanelOperatorOptions('number', k => this.i18n.t(k)), ...(ngDevMode ? [{ debugName: "numOps" }] : /* istanbul ignore next */ []));
10346
+ dateOps = computed(() => tablePanelOperatorOptions('date', k => this.i18n.t(k)), ...(ngDevMode ? [{ debugName: "dateOps" }] : /* istanbul ignore next */ []));
10569
10347
  boolOpts = computed(() => [{ label: this.i18n.t('common.yes'), value: true }, { label: this.i18n.t('common.no'), value: false }], ...(ngDevMode ? [{ debugName: "boolOpts" }] : /* istanbul ignore next */ []));
10570
10348
  /** Nom d'une fonction d'agrégat dans la langue courante ; une fonction inconnue garde son identifiant. */
10571
10349
  fnLabel(fn) { const key = AGG_LABELS[fn]; return key ? this.i18n.t(key) : fn === 'fn' ? this.i18n.t('table.aggCustom') : String(fn); }
@@ -10580,17 +10358,25 @@ class PoadTablePanelComponent {
10580
10358
  effect(() => { const f = this.table().filters(); untracked(() => this.syncDrafts(f)); });
10581
10359
  }
10582
10360
  // ---------- onglets ----------
10583
- tabMeta(t) { return { label: this.i18n.t(TAB_META[t].labelKey), icon: TAB_META[t].icon }; }
10361
+ tabMeta(t) { return { label: this.i18n.t(TABLE_PANEL_TABS[t].labelKey), icon: TABLE_PANEL_TABS[t].icon }; }
10362
+ tabProps(t) { return tablePanelTabProps({ tab: t, tabs: this.tabs(), open: this.open(), active: this.activeTab(), baseId: this.bodyId }); }
10363
+ bodyProps = computed(() => tablePanelBodyProps({ active: this.activeTab(), baseId: this.bodyId }), ...(ngDevMode ? [{ debugName: "bodyProps" }] : /* istanbul ignore next */ []));
10364
+ /** ↑ ↓ Début Fin entre les onglets du rail (le focus suit ; Entrée / Espace ouvre l'onglet). */
10365
+ onTabKey(index, e) {
10366
+ const to = tablePanelTabKey(this.tabs(), index, e.key);
10367
+ if (to == null)
10368
+ return;
10369
+ e.preventDefault();
10370
+ this.host.nativeElement.querySelectorAll(':scope > .rail > [role=tab]')[to]?.focus();
10371
+ }
10584
10372
  /** Sections Groupes/Valeurs affichées sous l'onglet Colonnes quand elles ne sont PAS des onglets à part. */
10585
10373
  has(t) { return !this.tabs().includes(t); }
10586
10374
  onTab(t) {
10587
- if (this.open() && this.activeTab() === t) {
10588
- if (this.collapsible())
10589
- this.open.set(false);
10590
- return;
10591
- }
10592
- this.activeTab.set(t);
10593
- this.open.set(true);
10375
+ const next = tablePanelTabClick({ open: this.open(), active: this.activeTab() }, t, this.collapsible());
10376
+ if (next.active !== this.activeTab())
10377
+ this.activeTab.set(next.active);
10378
+ if (next.open !== this.open())
10379
+ this.open.set(next.open);
10594
10380
  }
10595
10381
  openPanel(tab) { if (tab)
10596
10382
  this.activeTab.set(tab); this.open.set(true); }
@@ -10599,10 +10385,11 @@ class PoadTablePanelComponent {
10599
10385
  // ---------- colonnes ----------
10600
10386
  orderedCols = computed(() => this.table().orderedColumns(), ...(ngDevMode ? [{ debugName: "orderedCols" }] : /* istanbul ignore next */ []));
10601
10387
  toggleableCols = computed(() => this.orderedCols().filter(c => c.toggleable()), ...(ngDevMode ? [{ debugName: "toggleableCols" }] : /* istanbul ignore next */ []));
10602
- filteredCols = computed(() => { const q = poadNormalize(this.colQuery()); return q ? this.orderedCols().filter(c => poadNormalize(this.labelOf(c)).includes(q)) : this.orderedCols(); }, ...(ngDevMode ? [{ debugName: "filteredCols" }] : /* istanbul ignore next */ []));
10603
- visibleCount = computed(() => this.toggleableCols().filter(c => !c.hidden()).length, ...(ngDevMode ? [{ debugName: "visibleCount" }] : /* istanbul ignore next */ []));
10604
- allVisible = computed(() => this.toggleableCols().length > 0 && this.visibleCount() === this.toggleableCols().length, ...(ngDevMode ? [{ debugName: "allVisible" }] : /* istanbul ignore next */ []));
10605
- someVisible = computed(() => this.visibleCount() > 0 && !this.allVisible(), ...(ngDevMode ? [{ debugName: "someVisible" }] : /* istanbul ignore next */ []));
10388
+ filteredCols = computed(() => { const q = this.colQuery(); return q ? this.orderedCols().filter(c => tablePanelColumnMatches(this.labelOf(c), q, this.i18n.locale())) : this.orderedCols(); }, ...(ngDevMode ? [{ debugName: "filteredCols" }] : /* istanbul ignore next */ []));
10389
+ allState = computed(() => tablePanelAllState(this.orderedCols().map(c => ({ hidden: c.hidden(), toggleable: c.toggleable() }))), ...(ngDevMode ? [{ debugName: "allState" }] : /* istanbul ignore next */ []));
10390
+ visibleCount = computed(() => this.allState().visible, ...(ngDevMode ? [{ debugName: "visibleCount" }] : /* istanbul ignore next */ []));
10391
+ allVisible = computed(() => this.allState().all, ...(ngDevMode ? [{ debugName: "allVisible" }] : /* istanbul ignore next */ []));
10392
+ someVisible = computed(() => this.allState().some, ...(ngDevMode ? [{ debugName: "someVisible" }] : /* istanbul ignore next */ []));
10606
10393
  labelOf(c) { return c.header() || c.field() || c.id(); }
10607
10394
  labelOfField(f) { const c = this.table().columns().find(x => x.field() === f || x.id() === f); return c ? this.labelOf(c) : f; }
10608
10395
  isPinned(c) { return !!c.sticky(); }
@@ -10665,67 +10452,40 @@ class PoadTablePanelComponent {
10665
10452
  addAgg() { const f = this.pickField(); const fn = this.pickFn(); if (!f)
10666
10453
  return; this.writeAggs({ ...(this.aggSignal()() ?? {}), [f]: fn }); this.pickerOpen.set(false); this.pickField.set(null); }
10667
10454
  removeAgg(field) { const n = { ...(this.aggSignal()() ?? {}) }; delete n[field]; this.writeAggs(n); }
10668
- // ---------- filtres ----------
10455
+ // ---------- filtres (brouillons : modèle du socle) ----------
10669
10456
  filterableCols = computed(() => this.table().columns().filter(c => c.filterable() && !!c.field()), ...(ngDevMode ? [{ debugName: "filterableCols" }] : /* istanbul ignore next */ []));
10670
- activeFilterCount = computed(() => Object.values(this.table().filters()).filter(f => f && f.value !== undefined && f.value !== null && f.value !== '' && !(Array.isArray(f.value) && !f.value.length)).length, ...(ngDevMode ? [{ debugName: "activeFilterCount" }] : /* istanbul ignore next */ []));
10671
- kindOf(c) {
10672
- const ft = c.filterType();
10673
- if (ft === 'select' || ft === 'boolean')
10674
- return ft;
10675
- const dt = c.dataType();
10676
- return dt === 'number' ? 'number' : dt === 'date' ? 'date' : dt === 'boolean' ? 'boolean' : ft === 'number' ? 'number' : ft === 'date' ? 'date' : 'text';
10677
- }
10678
- defaultOp(c) { const k = this.kindOf(c); return k === 'number' ? 'eq' : k === 'date' ? 'dateIs' : k === 'select' ? 'in' : k === 'boolean' ? 'eq' : 'contains'; }
10679
- draft(c) {
10680
- return this.drafts()[c.id()] ?? { op: this.defaultOp(c), a: null, b: null, set: new Set(), open: false };
10681
- }
10682
- patch(c, p) { const d = { ...this.draft(c), ...p }; this.drafts.update(m => ({ ...m, [c.id()]: d })); return d; }
10457
+ activeFilterCount = computed(() => tableFilterActiveCount(this.table().filters()), ...(ngDevMode ? [{ debugName: "activeFilterCount" }] : /* istanbul ignore next */ []));
10458
+ def(c) { return { field: c.field(), dataType: c.dataType(), filterType: c.filterType(), filterMatchMode: c.filterMatchMode() }; }
10459
+ kindOf(c) { return tablePanelKind(this.def(c)); }
10460
+ draft(c) { return this.drafts()[c.id()] ?? tablePanelDraftInit(this.def(c)); }
10461
+ patch(c, d) { this.drafts.update(m => ({ ...m, [c.id()]: d })); return d; }
10683
10462
  syncDrafts(filters) {
10684
- const cols = this.filterableCols();
10685
10463
  const next = { ...this.drafts() };
10686
- for (const c of cols) {
10687
- const f = filters[c.field()] ?? filters[c.id()];
10688
- const cur = this.draft(c);
10689
- if (!f || f.value == null || f.value === '') {
10690
- next[c.id()] = { ...cur, a: null, b: null, set: new Set() };
10691
- continue;
10692
- }
10693
- if (f.matchMode === 'in' && Array.isArray(f.value))
10694
- next[c.id()] = { ...cur, op: 'in', set: new Set(f.value) };
10695
- else if (f.matchMode === 'between' && Array.isArray(f.value))
10696
- next[c.id()] = { ...cur, op: 'between', a: f.value[0], b: f.value[1] };
10697
- else
10698
- next[c.id()] = { ...cur, op: f.matchMode ?? cur.op, a: f.value };
10699
- }
10464
+ for (const c of this.filterableCols())
10465
+ next[c.id()] = tablePanelDraftSync(this.draft(c), filters[c.field()] ?? filters[c.id()]);
10700
10466
  this.drafts.set(next);
10701
10467
  }
10702
- isActive(c) { const f = this.table().filters()[c.field()]; return !!f && f.value != null && f.value !== '' && !(Array.isArray(f.value) && !f.value.length); }
10703
- toggleFlt(c) { this.patch(c, { open: !this.draft(c).open }); }
10468
+ isActive(c) { return tablePanelIsActive(this.table().filters()[c.field()]); }
10469
+ toggleFlt(c) { this.patch(c, { ...this.draft(c), open: !this.draft(c).open }); }
10704
10470
  apply(c, d) {
10705
- let value;
10706
- const k = this.kindOf(c);
10707
- if (k === 'select')
10708
- value = d.set.size ? [...d.set] : null;
10709
- else if (d.op === 'between')
10710
- value = d.a == null && d.b == null ? null : [d.a, d.b];
10711
- else
10712
- value = d.a === '' ? null : d.a;
10713
- this.table().setFilter(c, value, value == null ? undefined : d.op);
10471
+ const f = tablePanelDraftFilter(d, this.kindOf(c));
10472
+ this.table().setFilter(c, f.value, f.matchMode);
10714
10473
  this.filtersChange.emit(this.table().filters());
10715
10474
  }
10716
- setOp(c, op) { const d = this.patch(c, { op: op }); if (d.a != null || d.b != null)
10475
+ setOp(c, op) { const d = this.patch(c, { ...this.draft(c), op: op }); if (d.a != null || d.b != null)
10717
10476
  this.apply(c, d); }
10718
- setVal(c, v, which) { const d = this.patch(c, { [which]: v }); this.apply(c, d); }
10719
- setBool(c, v) { const d = this.patch(c, { a: v, op: 'eq' }); this.apply(c, d); }
10720
- toggleOpt(c, v, on) { const set = new Set(this.draft(c).set); on ? set.add(v) : set.delete(v); const d = this.patch(c, { set, op: 'in' }); this.apply(c, d); }
10477
+ setVal(c, v, which) { this.apply(c, this.patch(c, { ...this.draft(c), [which]: v })); }
10478
+ setBool(c, v) { this.apply(c, this.patch(c, { ...this.draft(c), a: v, op: 'eq' })); }
10479
+ toggleOpt(c, v, on) { this.apply(c, this.patch(c, tablePanelDraftToggle(this.draft(c), v, on))); }
10721
10480
  num(v) { return v == null || v === '' ? null : Number(v); }
10722
- clear(c) { this.patch(c, { a: null, b: null, set: new Set() }); this.table().setFilter(c, null); this.filtersChange.emit(this.table().filters()); }
10481
+ clear(c) { this.patch(c, { ...this.draft(c), a: null, b: null, set: [] }); this.table().setFilter(c, null); this.filtersChange.emit(this.table().filters()); }
10723
10482
  clearAll() { this.table().clearFilters(); this.drafts.set({}); this.filtersChange.emit(this.table().filters()); }
10724
10483
  /** Utilitaire exposé : valeur d'un champ d'une ligne (chemin pointé). */
10725
10484
  valueOf(row, field) { return poadResolve(row, field); }
10726
10485
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadTablePanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10727
10486
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.20", type: PoadTablePanelComponent, isStandalone: true, selector: "poad-table-panel", inputs: { table: { classPropertyName: "table", publicName: "table", isSignal: true, isRequired: true, transformFunction: null }, tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, overlayBelow: { classPropertyName: "overlayBelow", publicName: "overlayBelow", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", activeTab: "activeTabChange", columnsChange: "columnsChange", groupsChange: "groupsChange", aggregatesChange: "aggregatesChange", filtersChange: "filtersChange" }, host: { properties: { "class.is-open": "open()", "class.pos-left": "position() === \"left\"", "class.is-overlay": "overlay()", "style.--_w": "width()" }, classAttribute: "poad-table-panel" }, ngImport: i0, template: `
10728
- <div class="body" [id]="bodyId" role="region" [attr.aria-label]="tabMeta(activeTab()).label">
10487
+ @let bp = bodyProps();
10488
+ <div class="body" [id]="bp.id" [attr.role]="bp.role" [attr.aria-labelledby]="bp['aria-labelledby']">
10729
10489
  <div class="body__scroll">
10730
10490
  @switch (activeTab()) {
10731
10491
  @case ('columns') {
@@ -10769,7 +10529,7 @@ class PoadTablePanelComponent {
10769
10529
  @case ('select') {
10770
10530
  <div class="opts">
10771
10531
  @for (o of c.filterOptions(); track $index) {
10772
- <label><poad-checkbox [value]="draft(c).set.has(o.value)" [ariaLabel]="o.label" (changed)="toggleOpt(c, o.value, $event)"/>{{ o.label }}</label>
10532
+ <label><poad-checkbox [value]="draft(c).set.includes(o.value)" [ariaLabel]="o.label" (changed)="toggleOpt(c, o.value, $event)"/>{{ o.label }}</label>
10773
10533
  } @empty { <div class="empty">{{ i18n.t('filter.noOptions', { input: 'filterOptions' }) }}</div> }
10774
10534
  </div>
10775
10535
  }
@@ -10807,8 +10567,10 @@ class PoadTablePanelComponent {
10807
10567
  </div>
10808
10568
  </div>
10809
10569
  <div class="rail" role="tablist" [attr.aria-orientation]="'vertical'">
10810
- @for (t of tabs(); track t) {
10811
- <button type="button" role="tab" [class.is-active]="open() && activeTab() === t" [attr.aria-selected]="open() && activeTab() === t" [attr.aria-controls]="bodyId" [title]="tabMeta(t).label" (click)="onTab(t)">
10570
+ @for (t of tabs(); track t; let ti = $index) {
10571
+ @let tp = tabProps(t);
10572
+ <button type="button" [id]="tp.id" [attr.role]="tp.role" [class.is-active]="tp.selected" [attr.aria-selected]="tp['aria-selected']" [attr.aria-controls]="tp['aria-controls']" [attr.tabindex]="tp.tabindex"
10573
+ [title]="tabMeta(t).label" (click)="onTab(t)" (keydown)="onTabKey(ti, $event)">
10812
10574
  <poad-icon [name]="tabMeta(t).icon" [size]="15"/><span>{{ tabMeta(t).label }}</span>
10813
10575
  </button>
10814
10576
  }
@@ -10848,15 +10610,16 @@ class PoadTablePanelComponent {
10848
10610
  @if (!aggsWritable()) {<div class="empty">{{ i18n.t('table.notWritable', { input: 'aggregates', output: '(aggregatesChange)' }) }}</div>}
10849
10611
  </div>
10850
10612
  </ng-template>
10851
- `, isInline: true, styles: [":host{display:flex;align-items:stretch;height:100%;min-height:0;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg);position:relative}:host(.pos-left){flex-direction:row-reverse}.rail{display:flex;flex-direction:column;gap:2px;width:34px;padding:6px 0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);flex:none}:host(.pos-left) .rail{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}.rail button{all:unset;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;cursor:pointer;color:var(--poad-fg-secondary);border-radius:6px;margin:0 4px;writing-mode:vertical-rl;font-size:11.5px;font-weight:500;letter-spacing:.02em}.rail button poad-icon{writing-mode:horizontal-tb}.rail button:hover{background:var(--poad-hover);color:var(--poad-fg)}.rail button.is-active{background:var(--poad-accent-soft);color:var(--poad-accent)}.rail button:focus-visible{outline:2px solid var(--poad-ring)}.body{width:var(--_w, 260px);min-width:0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);display:flex;flex-direction:column;overflow:hidden}:host(.pos-left) .body{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}:host(:not(.is-open)) .body{display:none}.body__scroll{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.sec{padding:10px 12px 12px;border-bottom:1px solid var(--poad-border)}.sec:last-child{border-bottom:0}.sec__ttl{display:flex;align-items:center;gap:6px;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin:0 0 8px}.sec__ttl .grow{flex:1}.sec__ttl button.lnk{all:unset;cursor:pointer;color:var(--poad-accent);font:500 11px var(--poad-font);text-transform:none;letter-spacing:0}.sec__ttl button.lnk:hover{text-decoration:underline}.srch{display:flex;align-items:center;gap:6px;height:28px;padding:0 8px;background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);margin-bottom:8px;color:var(--poad-fg-muted)}.srch:focus-within{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.srch input{flex:1 1 0;width:0;min-width:0;border:0;outline:0;background:transparent;color:var(--poad-fg);font:var(--poad-font-size-sm) var(--poad-font)}.srch input::placeholder{color:var(--poad-fg-muted)}.cols{display:flex;flex-direction:column;gap:1px}.col-row{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;border-radius:6px;font-size:12.5px}.col-row:hover{background:var(--poad-hover)}.col-row.is-off{color:var(--poad-fg-muted)}.col-row .dh{display:grid;place-items:center;width:16px;height:20px;color:var(--poad-fg-muted);cursor:grab;flex:none;border-radius:3px}.col-row .dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.col-row .dh.is-disabled{visibility:hidden}.col-row .lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.col-row .pin{color:var(--poad-fg-muted)}.col-row.cdk-drag-preview{background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);box-shadow:var(--poad-shadow-lg)}.col-row.cdk-drag-placeholder{opacity:.3}.cols.cdk-drop-list-dragging .col-row:not(.cdk-drag-placeholder){transition:transform .18s cubic-bezier(0,0,.2,1)}.all-row{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;margin-bottom:4px}.all-row .cnt{margin-inline-start:auto;font:500 10.5px var(--poad-font-mono);color:var(--poad-fg-muted)}.drop{min-height:40px;border:1px dashed var(--poad-border-strong);border-radius:8px;padding:6px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--poad-fg-muted);font-size:12px;transition:border-color var(--poad-dur),background var(--poad-dur)}.drop.cdk-drop-list-receiving,.drop.cdk-drop-list-dragging{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.drop .hint{display:inline-flex;align-items:center;gap:6px;padding:0 4px}.chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 6px 0 8px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg);font-size:12px;white-space:nowrap}.chip .dh{display:grid;place-items:center;width:12px;color:var(--poad-fg-muted);cursor:grab}.chip .fn{font:500 11px var(--poad-font-mono);color:var(--poad-fg-secondary)}.chip button{all:unset;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;color:var(--poad-fg-muted);cursor:pointer}.chip button:hover{background:var(--poad-hover);color:var(--poad-fg)}.chip.cdk-drag-preview{box-shadow:var(--poad-shadow-lg)}.chip.cdk-drag-placeholder{opacity:.3}.add{all:unset;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font-size:12px;cursor:pointer}.add:hover{border-color:var(--poad-accent);color:var(--poad-accent)}.picker{display:grid;gap:6px;padding:8px;margin-top:8px;border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface)}.picker .row{display:flex;gap:6px}.flt{border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface);margin-bottom:6px;overflow:hidden}.flt__hd{display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;cursor:pointer;font-size:12.5px;-webkit-user-select:none;user-select:none}.flt__hd:hover{background:var(--poad-hover)}.flt__hd .chev{color:var(--poad-fg-muted);transition:transform var(--poad-dur)}.flt.is-open .flt__hd .chev{transform:rotate(90deg)}.flt__hd .lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flt__hd .on{font:600 10px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent)}.flt__hd .clr{all:unset;display:grid;place-items:center;width:18px;height:18px;border-radius:4px;color:var(--poad-fg-muted);cursor:pointer}.flt__hd .clr:hover{background:var(--poad-hover);color:var(--poad-fg)}.flt__bd{display:grid;gap:6px;padding:4px 8px 10px}.flt__bd .two{display:grid;grid-template-columns:1fr 1fr;gap:6px}.opts{max-height:160px;overflow:auto;display:grid;gap:2px}.opts label{display:flex;align-items:center;gap:6px;height:24px;font-size:12.5px}.empty{color:var(--poad-fg-muted);font-size:12px;padding:4px 0}:host(.is-overlay){position:absolute;top:0;inset-inline-end:0;bottom:0;z-index:20}:host(.is-overlay.is-open) .body{box-shadow:var(--poad-shadow-lg)}:host(.is-overlay.pos-left){inset-inline-end:auto;inset-inline-start:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadButtonComponent, selector: "button[poadButton], a[poadButton]", inputs: ["severity", "variant", "size", "loading", "disabled", "icon", "block", "value", "pressed"] }, { kind: "component", type: PoadCheckboxComponent, selector: "poad-checkbox", inputs: ["label", "ariaLabel", "indeterminate", "invalid", "readonly"], outputs: ["indeterminateChange", "changed"] }, { kind: "component", type: PoadSegmentedComponent, selector: "poad-segmented", inputs: ["options", "optionLabel", "optionValue", "multiple", "allowEmpty", "block", "size", "shape", "ariaLabel"], outputs: ["changed"] }, { kind: "component", type: PoadSelectComponent, selector: "poad-select", outputs: ["changed"] }, { kind: "component", type: PoadNumberComponent, selector: "poad-number", inputs: ["min", "max", "step", "decimals", "locale", "prefix", "suffix", "placeholder", "showButtons", "readonly", "invalid", "size", "ariaLabel"], outputs: ["changed", "focusChange"] }, { kind: "component", type: PoadDatepickerComponent, selector: "poad-datepicker", inputs: ["mode", "selectionMode", "dataType", "format", "placeholder", "min", "max", "disabledDates", "disabledDays", "showIcon", "inline", "showTime", "hourFormat", "stepMinute", "showSeconds", "showButtonBar", "showWeek", "firstDayOfWeek", "locale", "readonlyInput", "manualInput", "clearable", "size", "invalid", "closeOnSelect", "mobile"], outputs: ["changed", "opened", "closed", "monthChange", "yearChange", "cleared", "todayClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
10613
+ `, isInline: true, styles: [".poad-table-panel{display:flex;align-items:stretch;height:100%;min-height:0;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg);position:relative}.poad-table-panel.pos-left{flex-direction:row-reverse}.poad-table-panel>.rail{display:flex;flex-direction:column;gap:2px;width:34px;padding:6px 0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);flex:none}.poad-table-panel.poad-table-panel.pos-left>.rail{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button{all:unset;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;cursor:pointer;color:var(--poad-fg-secondary);border-radius:6px;margin:0 4px;writing-mode:vertical-rl;font-size:11.5px;font-weight:500;letter-spacing:.02em}.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button>poad-icon{writing-mode:horizontal-tb}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button.is-active{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button:focus-visible{outline:2px solid var(--poad-ring)}.poad-table-panel>.body{width:var(--_w, 260px);min-width:0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);display:flex;flex-direction:column;overflow:hidden}.poad-table-panel.poad-table-panel.pos-left>.body{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}.poad-table-panel.poad-table-panel:not(.is-open)>.body{display:none}.poad-table-panel>:where(.body)>.body__scroll{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.poad-table-panel>:where(.body)>:where(.body__scroll)>.sec{padding:10px 12px 12px;border-bottom:1px solid var(--poad-border)}.poad-table-panel>:where(.body)>:where(.body__scroll)>.sec:last-child{border-bottom:0}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.sec__ttl{display:flex;align-items:center;gap:6px;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin:0 0 8px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.sec__ttl)>.grow{flex:1}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.sec__ttl)>button.lnk{all:unset;cursor:pointer;color:var(--poad-accent);font:500 11px var(--poad-font);text-transform:none;letter-spacing:0}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.sec__ttl)>button.lnk:hover{text-decoration:underline}.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>.srch{display:flex;align-items:center;gap:6px;height:28px;padding:0 8px;background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);margin-bottom:8px;color:var(--poad-fg-muted)}.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>.srch:focus-within{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>:where(.srch)>input{flex:1 1 0;width:0;min-width:0;border:0;outline:0;background:transparent;color:var(--poad-fg);font:var(--poad-font-size-sm) var(--poad-font)}.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>:where(.srch)>input::placeholder{color:var(--poad-fg-muted)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.cols{display:flex;flex-direction:column;gap:1px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row,.col-row.cdk-drag-preview{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;border-radius:6px;font-size:12.5px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row:hover,.col-row.cdk-drag-preview:hover{background:var(--poad-hover)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row.is-off,.col-row.cdk-drag-preview.is-off{color:var(--poad-fg-muted)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.dh,.col-row.col-row.cdk-drag-preview>.dh{display:grid;place-items:center;width:16px;height:20px;color:var(--poad-fg-muted);cursor:grab;flex:none;border-radius:3px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.dh:hover,.col-row.col-row.cdk-drag-preview>.dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.dh.is-disabled,.col-row.col-row.cdk-drag-preview>.dh.is-disabled{visibility:hidden}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.lbl,.col-row.col-row.cdk-drag-preview>.lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.pin,.col-row.col-row.cdk-drag-preview>.pin{color:var(--poad-fg-muted)}.col-row.col-row.cdk-drag-preview{background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);box-shadow:var(--poad-shadow-lg)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row.cdk-drag-placeholder{opacity:.3}.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.cols.cdk-drop-list-dragging>.col-row:not(.cdk-drag-placeholder){transition:transform .18s cubic-bezier(0,0,.2,1)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.all-row{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;margin-bottom:4px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.all-row)>.cnt{margin-inline-start:auto;font:500 10.5px var(--poad-font-mono);color:var(--poad-fg-muted)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.drop{min-height:40px;border:1px dashed var(--poad-border-strong);border-radius:8px;padding:6px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--poad-fg-muted);font-size:12px;transition:border-color var(--poad-dur),background var(--poad-dur)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.drop.cdk-drop-list-receiving,.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.drop.cdk-drop-list-dragging{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.hint{display:inline-flex;align-items:center;gap:6px;padding:0 4px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.chip,.chip.cdk-drag-preview{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 6px 0 8px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg);font-size:12px;white-space:nowrap}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>.dh,.chip.chip.cdk-drag-preview>.dh{display:grid;place-items:center;width:12px;color:var(--poad-fg-muted);cursor:grab}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>.fn,.chip.chip.cdk-drag-preview>.fn{font:500 11px var(--poad-font-mono);color:var(--poad-fg-secondary)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>button,.chip.chip.cdk-drag-preview>button{all:unset;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;color:var(--poad-fg-muted);cursor:pointer}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>button:hover,.chip.chip.cdk-drag-preview>button:hover{background:var(--poad-hover);color:var(--poad-fg)}.chip.chip.cdk-drag-preview{box-shadow:var(--poad-shadow-lg)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.chip.cdk-drag-placeholder{opacity:.3}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.add{all:unset;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font-size:12px;cursor:pointer}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.add:hover{border-color:var(--poad-accent);color:var(--poad-accent)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.picker{display:grid;gap:6px;padding:8px;margin-top:8px;border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.picker)>.row{display:flex;gap:6px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.flt{border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface);margin-bottom:6px;overflow:hidden}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>.flt__hd{display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;cursor:pointer;font-size:12.5px;-webkit-user-select:none;user-select:none}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>.flt__hd:hover{background:var(--poad-hover)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.chev{color:var(--poad-fg-muted);transition:transform var(--poad-dur)}.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.flt.is-open>:where(.flt__hd)>.chev{transform:rotate(90deg)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.on{font:600 10px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.clr{all:unset;display:grid;place-items:center;width:18px;height:18px;border-radius:4px;color:var(--poad-fg-muted);cursor:pointer}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.clr:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>.flt__bd{display:grid;gap:6px;padding:4px 8px 10px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>.two{display:grid;grid-template-columns:1fr 1fr;gap:6px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>.opts{max-height:160px;overflow:auto;display:grid;gap:2px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>:where(.opts)>label{display:flex;align-items:center;gap:6px;height:24px;font-size:12.5px}.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>:where(.opts))>.empty{color:var(--poad-fg-muted);font-size:12px;padding:4px 0}.poad-table-panel.is-overlay{position:absolute;top:0;inset-inline-end:0;bottom:0;z-index:20}.poad-table-panel.poad-table-panel.is-overlay.is-open>.body{box-shadow:var(--poad-shadow-lg)}.poad-table-panel.is-overlay.pos-left{inset-inline-end:auto;inset-inline-start:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadButtonComponent, selector: "button[poadButton], a[poadButton]", inputs: ["severity", "variant", "size", "loading", "disabled", "icon", "block", "value", "pressed"] }, { kind: "component", type: PoadCheckboxComponent, selector: "poad-checkbox", inputs: ["label", "ariaLabel", "indeterminate", "invalid", "readonly"], outputs: ["indeterminateChange", "changed"] }, { kind: "component", type: PoadSegmentedComponent, selector: "poad-segmented", inputs: ["options", "optionLabel", "optionValue", "multiple", "allowEmpty", "block", "size", "shape", "ariaLabel"], outputs: ["changed"] }, { kind: "component", type: PoadSelectComponent, selector: "poad-select", outputs: ["changed"] }, { kind: "component", type: PoadNumberComponent, selector: "poad-number", inputs: ["min", "max", "step", "decimals", "locale", "prefix", "suffix", "placeholder", "showButtons", "readonly", "invalid", "size", "ariaLabel"], outputs: ["changed", "focusChange"] }, { kind: "component", type: PoadDatepickerComponent, selector: "poad-datepicker", inputs: ["mode", "selectionMode", "dataType", "format", "placeholder", "min", "max", "disabledDates", "disabledDays", "showIcon", "inline", "showTime", "hourFormat", "stepMinute", "showSeconds", "showButtonBar", "showWeek", "firstDayOfWeek", "locale", "readonlyInput", "manualInput", "clearable", "size", "invalid", "closeOnSelect", "mobile"], outputs: ["changed", "opened", "closed", "monthChange", "yearChange", "cleared", "todayClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
10852
10614
  }
10853
10615
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadTablePanelComponent, decorators: [{
10854
10616
  type: Component,
10855
10617
  args: [{ selector: 'poad-table-panel', standalone: true, imports: [NgTemplateOutlet, CdkDropList, CdkDrag, CdkDragHandle, PoadIconComponent, PoadButtonComponent, PoadCheckboxComponent, PoadSegmentedComponent, PoadSelectComponent, PoadNumberComponent, PoadDatepickerComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: {
10856
10618
  class: 'poad-table-panel', '[class.is-open]': 'open()', '[class.pos-left]': 'position() === "left"', '[class.is-overlay]': 'overlay()',
10857
10619
  '[style.--_w]': 'width()',
10858
- }, template: `
10859
- <div class="body" [id]="bodyId" role="region" [attr.aria-label]="tabMeta(activeTab()).label">
10620
+ }, encapsulation: ViewEncapsulation.None, template: `
10621
+ @let bp = bodyProps();
10622
+ <div class="body" [id]="bp.id" [attr.role]="bp.role" [attr.aria-labelledby]="bp['aria-labelledby']">
10860
10623
  <div class="body__scroll">
10861
10624
  @switch (activeTab()) {
10862
10625
  @case ('columns') {
@@ -10900,7 +10663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10900
10663
  @case ('select') {
10901
10664
  <div class="opts">
10902
10665
  @for (o of c.filterOptions(); track $index) {
10903
- <label><poad-checkbox [value]="draft(c).set.has(o.value)" [ariaLabel]="o.label" (changed)="toggleOpt(c, o.value, $event)"/>{{ o.label }}</label>
10666
+ <label><poad-checkbox [value]="draft(c).set.includes(o.value)" [ariaLabel]="o.label" (changed)="toggleOpt(c, o.value, $event)"/>{{ o.label }}</label>
10904
10667
  } @empty { <div class="empty">{{ i18n.t('filter.noOptions', { input: 'filterOptions' }) }}</div> }
10905
10668
  </div>
10906
10669
  }
@@ -10938,8 +10701,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10938
10701
  </div>
10939
10702
  </div>
10940
10703
  <div class="rail" role="tablist" [attr.aria-orientation]="'vertical'">
10941
- @for (t of tabs(); track t) {
10942
- <button type="button" role="tab" [class.is-active]="open() && activeTab() === t" [attr.aria-selected]="open() && activeTab() === t" [attr.aria-controls]="bodyId" [title]="tabMeta(t).label" (click)="onTab(t)">
10704
+ @for (t of tabs(); track t; let ti = $index) {
10705
+ @let tp = tabProps(t);
10706
+ <button type="button" [id]="tp.id" [attr.role]="tp.role" [class.is-active]="tp.selected" [attr.aria-selected]="tp['aria-selected']" [attr.aria-controls]="tp['aria-controls']" [attr.tabindex]="tp.tabindex"
10707
+ [title]="tabMeta(t).label" (click)="onTab(t)" (keydown)="onTabKey(ti, $event)">
10943
10708
  <poad-icon [name]="tabMeta(t).icon" [size]="15"/><span>{{ tabMeta(t).label }}</span>
10944
10709
  </button>
10945
10710
  }
@@ -10979,7 +10744,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10979
10744
  @if (!aggsWritable()) {<div class="empty">{{ i18n.t('table.notWritable', { input: 'aggregates', output: '(aggregatesChange)' }) }}</div>}
10980
10745
  </div>
10981
10746
  </ng-template>
10982
- `, styles: [":host{display:flex;align-items:stretch;height:100%;min-height:0;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg);position:relative}:host(.pos-left){flex-direction:row-reverse}.rail{display:flex;flex-direction:column;gap:2px;width:34px;padding:6px 0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);flex:none}:host(.pos-left) .rail{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}.rail button{all:unset;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;cursor:pointer;color:var(--poad-fg-secondary);border-radius:6px;margin:0 4px;writing-mode:vertical-rl;font-size:11.5px;font-weight:500;letter-spacing:.02em}.rail button poad-icon{writing-mode:horizontal-tb}.rail button:hover{background:var(--poad-hover);color:var(--poad-fg)}.rail button.is-active{background:var(--poad-accent-soft);color:var(--poad-accent)}.rail button:focus-visible{outline:2px solid var(--poad-ring)}.body{width:var(--_w, 260px);min-width:0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);display:flex;flex-direction:column;overflow:hidden}:host(.pos-left) .body{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}:host(:not(.is-open)) .body{display:none}.body__scroll{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.sec{padding:10px 12px 12px;border-bottom:1px solid var(--poad-border)}.sec:last-child{border-bottom:0}.sec__ttl{display:flex;align-items:center;gap:6px;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin:0 0 8px}.sec__ttl .grow{flex:1}.sec__ttl button.lnk{all:unset;cursor:pointer;color:var(--poad-accent);font:500 11px var(--poad-font);text-transform:none;letter-spacing:0}.sec__ttl button.lnk:hover{text-decoration:underline}.srch{display:flex;align-items:center;gap:6px;height:28px;padding:0 8px;background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);margin-bottom:8px;color:var(--poad-fg-muted)}.srch:focus-within{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.srch input{flex:1 1 0;width:0;min-width:0;border:0;outline:0;background:transparent;color:var(--poad-fg);font:var(--poad-font-size-sm) var(--poad-font)}.srch input::placeholder{color:var(--poad-fg-muted)}.cols{display:flex;flex-direction:column;gap:1px}.col-row{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;border-radius:6px;font-size:12.5px}.col-row:hover{background:var(--poad-hover)}.col-row.is-off{color:var(--poad-fg-muted)}.col-row .dh{display:grid;place-items:center;width:16px;height:20px;color:var(--poad-fg-muted);cursor:grab;flex:none;border-radius:3px}.col-row .dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.col-row .dh.is-disabled{visibility:hidden}.col-row .lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.col-row .pin{color:var(--poad-fg-muted)}.col-row.cdk-drag-preview{background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);box-shadow:var(--poad-shadow-lg)}.col-row.cdk-drag-placeholder{opacity:.3}.cols.cdk-drop-list-dragging .col-row:not(.cdk-drag-placeholder){transition:transform .18s cubic-bezier(0,0,.2,1)}.all-row{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;margin-bottom:4px}.all-row .cnt{margin-inline-start:auto;font:500 10.5px var(--poad-font-mono);color:var(--poad-fg-muted)}.drop{min-height:40px;border:1px dashed var(--poad-border-strong);border-radius:8px;padding:6px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--poad-fg-muted);font-size:12px;transition:border-color var(--poad-dur),background var(--poad-dur)}.drop.cdk-drop-list-receiving,.drop.cdk-drop-list-dragging{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.drop .hint{display:inline-flex;align-items:center;gap:6px;padding:0 4px}.chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 6px 0 8px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg);font-size:12px;white-space:nowrap}.chip .dh{display:grid;place-items:center;width:12px;color:var(--poad-fg-muted);cursor:grab}.chip .fn{font:500 11px var(--poad-font-mono);color:var(--poad-fg-secondary)}.chip button{all:unset;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;color:var(--poad-fg-muted);cursor:pointer}.chip button:hover{background:var(--poad-hover);color:var(--poad-fg)}.chip.cdk-drag-preview{box-shadow:var(--poad-shadow-lg)}.chip.cdk-drag-placeholder{opacity:.3}.add{all:unset;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font-size:12px;cursor:pointer}.add:hover{border-color:var(--poad-accent);color:var(--poad-accent)}.picker{display:grid;gap:6px;padding:8px;margin-top:8px;border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface)}.picker .row{display:flex;gap:6px}.flt{border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface);margin-bottom:6px;overflow:hidden}.flt__hd{display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;cursor:pointer;font-size:12.5px;-webkit-user-select:none;user-select:none}.flt__hd:hover{background:var(--poad-hover)}.flt__hd .chev{color:var(--poad-fg-muted);transition:transform var(--poad-dur)}.flt.is-open .flt__hd .chev{transform:rotate(90deg)}.flt__hd .lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flt__hd .on{font:600 10px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent)}.flt__hd .clr{all:unset;display:grid;place-items:center;width:18px;height:18px;border-radius:4px;color:var(--poad-fg-muted);cursor:pointer}.flt__hd .clr:hover{background:var(--poad-hover);color:var(--poad-fg)}.flt__bd{display:grid;gap:6px;padding:4px 8px 10px}.flt__bd .two{display:grid;grid-template-columns:1fr 1fr;gap:6px}.opts{max-height:160px;overflow:auto;display:grid;gap:2px}.opts label{display:flex;align-items:center;gap:6px;height:24px;font-size:12.5px}.empty{color:var(--poad-fg-muted);font-size:12px;padding:4px 0}:host(.is-overlay){position:absolute;top:0;inset-inline-end:0;bottom:0;z-index:20}:host(.is-overlay.is-open) .body{box-shadow:var(--poad-shadow-lg)}:host(.is-overlay.pos-left){inset-inline-end:auto;inset-inline-start:0}\n"] }]
10747
+ `, styles: [".poad-table-panel{display:flex;align-items:stretch;height:100%;min-height:0;font:var(--poad-font-size)/1.4 var(--poad-font);color:var(--poad-fg);position:relative}.poad-table-panel.pos-left{flex-direction:row-reverse}.poad-table-panel>.rail{display:flex;flex-direction:column;gap:2px;width:34px;padding:6px 0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);flex:none}.poad-table-panel.poad-table-panel.pos-left>.rail{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button{all:unset;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;cursor:pointer;color:var(--poad-fg-secondary);border-radius:6px;margin:0 4px;writing-mode:vertical-rl;font-size:11.5px;font-weight:500;letter-spacing:.02em}.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button>poad-icon{writing-mode:horizontal-tb}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button.is-active{background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.rail)>button:focus-visible{outline:2px solid var(--poad-ring)}.poad-table-panel>.body{width:var(--_w, 260px);min-width:0;background:var(--poad-bg-subtle);border-inline-start:1px solid var(--poad-border);display:flex;flex-direction:column;overflow:hidden}.poad-table-panel.poad-table-panel.pos-left>.body{border-inline-start:0;border-inline-end:1px solid var(--poad-border)}.poad-table-panel.poad-table-panel:not(.is-open)>.body{display:none}.poad-table-panel>:where(.body)>.body__scroll{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--poad-border-strong) transparent}.poad-table-panel>:where(.body)>:where(.body__scroll)>.sec{padding:10px 12px 12px;border-bottom:1px solid var(--poad-border)}.poad-table-panel>:where(.body)>:where(.body__scroll)>.sec:last-child{border-bottom:0}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.sec__ttl{display:flex;align-items:center;gap:6px;font:600 10.5px/1 var(--poad-font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--poad-fg-muted);margin:0 0 8px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.sec__ttl)>.grow{flex:1}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.sec__ttl)>button.lnk{all:unset;cursor:pointer;color:var(--poad-accent);font:500 11px var(--poad-font);text-transform:none;letter-spacing:0}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.sec__ttl)>button.lnk:hover{text-decoration:underline}.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>.srch{display:flex;align-items:center;gap:6px;height:28px;padding:0 8px;background:var(--poad-input-bg);border:1px solid var(--poad-input-border);border-radius:var(--poad-radius-sm);margin-bottom:8px;color:var(--poad-fg-muted)}.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>.srch:focus-within{border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>:where(.srch)>input{flex:1 1 0;width:0;min-width:0;border:0;outline:0;background:transparent;color:var(--poad-fg);font:var(--poad-font-size-sm) var(--poad-font)}.poad-table-panel.poad-table-panel.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd))>:where(.srch)>input::placeholder{color:var(--poad-fg-muted)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.cols{display:flex;flex-direction:column;gap:1px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row,.col-row.cdk-drag-preview{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;border-radius:6px;font-size:12.5px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row:hover,.col-row.cdk-drag-preview:hover{background:var(--poad-hover)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row.is-off,.col-row.cdk-drag-preview.is-off{color:var(--poad-fg-muted)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.dh,.col-row.col-row.cdk-drag-preview>.dh{display:grid;place-items:center;width:16px;height:20px;color:var(--poad-fg-muted);cursor:grab;flex:none;border-radius:3px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.dh:hover,.col-row.col-row.cdk-drag-preview>.dh:hover{color:var(--poad-fg);background:var(--poad-elevated)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.dh.is-disabled,.col-row.col-row.cdk-drag-preview>.dh.is-disabled{visibility:hidden}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.lbl,.col-row.col-row.cdk-drag-preview>.lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>:where(.col-row)>.pin,.col-row.col-row.cdk-drag-preview>.pin{color:var(--poad-fg-muted)}.col-row.col-row.cdk-drag-preview{background:var(--poad-overlay);--poad-hover: var(--poad-overlay-hover);border:1px solid var(--poad-border);box-shadow:var(--poad-shadow-lg)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols)>.col-row.cdk-drag-placeholder{opacity:.3}.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.cols.cdk-drop-list-dragging>.col-row:not(.cdk-drag-placeholder){transition:transform .18s cubic-bezier(0,0,.2,1)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.all-row{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px;margin-bottom:4px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.all-row)>.cnt{margin-inline-start:auto;font:500 10.5px var(--poad-font-mono);color:var(--poad-fg-muted)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.drop{min-height:40px;border:1px dashed var(--poad-border-strong);border-radius:8px;padding:6px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:var(--poad-fg-muted);font-size:12px;transition:border-color var(--poad-dur),background var(--poad-dur)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.drop.cdk-drop-list-receiving,.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.drop.cdk-drop-list-dragging{border-color:var(--poad-accent);background:var(--poad-accent-soft)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.hint{display:inline-flex;align-items:center;gap:6px;padding:0 4px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.chip,.chip.cdk-drag-preview{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 6px 0 8px;border-radius:999px;background:var(--poad-elevated);color:var(--poad-fg);font-size:12px;white-space:nowrap}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>.dh,.chip.chip.cdk-drag-preview>.dh{display:grid;place-items:center;width:12px;color:var(--poad-fg-muted);cursor:grab}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>.fn,.chip.chip.cdk-drag-preview>.fn{font:500 11px var(--poad-font-mono);color:var(--poad-fg-secondary)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>button,.chip.chip.cdk-drag-preview>button{all:unset;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;color:var(--poad-fg-muted);cursor:pointer}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>:where(.chip)>button:hover,.chip.chip.cdk-drag-preview>button:hover{background:var(--poad-hover);color:var(--poad-fg)}.chip.chip.cdk-drag-preview{box-shadow:var(--poad-shadow-lg)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.chip.cdk-drag-placeholder{opacity:.3}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.add{all:unset;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:999px;border:1px dashed var(--poad-border-strong);color:var(--poad-fg-secondary);font-size:12px;cursor:pointer}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.drop)>.add:hover{border-color:var(--poad-accent);color:var(--poad-accent)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.picker{display:grid;gap:6px;padding:8px;margin-top:8px;border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.picker)>.row{display:flex;gap:6px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.flt{border:1px solid var(--poad-border);border-radius:8px;background:var(--poad-surface);margin-bottom:6px;overflow:hidden}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>.flt__hd{display:flex;align-items:center;gap:6px;height:30px;padding:0 8px;cursor:pointer;font-size:12.5px;-webkit-user-select:none;user-select:none}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>.flt__hd:hover{background:var(--poad-hover)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.chev{color:var(--poad-fg-muted);transition:transform var(--poad-dur)}.poad-table-panel.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>.flt.is-open>:where(.flt__hd)>.chev{transform:rotate(90deg)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.on{font:600 10px var(--poad-font-mono);padding:1px 6px;border-radius:999px;background:var(--poad-accent-soft);color:var(--poad-accent)}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.clr{all:unset;display:grid;place-items:center;width:18px;height:18px;border-radius:4px;color:var(--poad-fg-muted);cursor:pointer}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__hd)>.clr:hover{background:var(--poad-hover);color:var(--poad-fg)}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>.flt__bd{display:grid;gap:6px;padding:4px 8px 10px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>.two{display:grid;grid-template-columns:1fr 1fr;gap:6px}.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>.opts{max-height:160px;overflow:auto;display:grid;gap:2px}.poad-table-panel.poad-table-panel.poad-table-panel>:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>:where(.opts)>label{display:flex;align-items:center;gap:6px;height:24px;font-size:12.5px}.poad-table-panel :where(:where(.body)>:where(.body__scroll)>:where(.sec),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.cols),:where(.body)>:where(.body__scroll)>:where(.sec)>:where(.flt)>:where(.flt__bd)>:where(.opts))>.empty{color:var(--poad-fg-muted);font-size:12px;padding:4px 0}.poad-table-panel.is-overlay{position:absolute;top:0;inset-inline-end:0;bottom:0;z-index:20}.poad-table-panel.poad-table-panel.is-overlay.is-open>.body{box-shadow:var(--poad-shadow-lg)}.poad-table-panel.is-overlay.pos-left{inset-inline-end:auto;inset-inline-start:0}\n"] }]
10983
10748
  }], ctorParameters: () => [], propDecorators: { table: [{ type: i0.Input, args: [{ isSignal: true, alias: "table", required: true }] }], tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: false }] }, { type: i0.Output, args: ["activeTabChange"] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], collapsible: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsible", required: false }] }], overlayBelow: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlayBelow", required: false }] }], columnsChange: [{ type: i0.Output, args: ["columnsChange"] }], groupsChange: [{ type: i0.Output, args: ["groupsChange"] }], aggregatesChange: [{ type: i0.Output, args: ["aggregatesChange"] }], filtersChange: [{ type: i0.Output, args: ["filtersChange"] }] } });
10984
10749
 
10985
10750
  /**
@@ -21065,8 +20830,8 @@ function poadNormalizePlan(plan, options = {}) {
21065
20830
  /* ---- 2. tâches résolues, hors hiérarchie et hors rollup ---- */
21066
20831
  const tasks = new Map();
21067
20832
  for (const [id, t] of raw) {
21068
- let start = toDate$1(t.start ?? null);
21069
- let end = toDate$1(t.end ?? null);
20833
+ let start = toDate(t.start ?? null);
20834
+ let end = toDate(t.end ?? null);
21070
20835
  const milestone = !!t.milestone;
21071
20836
  if (t.start != null && t.start !== '' && !start)
21072
20837
  add('warning', 'bad-date', 'planning.issueBadStart', id);
@@ -21118,7 +20883,7 @@ function poadNormalizePlan(plan, options = {}) {
21118
20883
  rrule: t.rrule ?? null,
21119
20884
  exdates: [...(t.exdates ?? [])],
21120
20885
  masterId: t.masterId ?? null,
21121
- recurrenceId: toDate$1(t.recurrenceId ?? null),
20886
+ recurrenceId: toDate(t.recurrenceId ?? null),
21122
20887
  level: 0,
21123
20888
  children: [],
21124
20889
  scheduled: false,
@@ -23936,7 +23701,7 @@ class PoadSchedulerComponent {
23936
23701
  const axe = this.axe();
23937
23702
  const out = [];
23938
23703
  for (const m of this.plan()?.markers ?? []) {
23939
- const d = toDate$1(m.date);
23704
+ const d = toDate(m.date);
23940
23705
  if (!d || d < f.start || d >= f.end)
23941
23706
  continue;
23942
23707
  out.push({ x: axe.xOf(d), label: m.label ?? '' });
@@ -24705,7 +24470,7 @@ class PoadGanttComponent {
24705
24470
  if (lo === null || hi === null)
24706
24471
  return null;
24707
24472
  for (const m of this.plan()?.markers ?? [])
24708
- vois(toDate$1(m.date));
24473
+ vois(toDate(m.date));
24709
24474
  return { min: new Date(lo), max: new Date(hi) };
24710
24475
  }, ...(ngDevMode ? [{ debugName: "bornes" }] : /* istanbul ignore next */ []));
24711
24476
  tete = computed(() => {
@@ -24756,7 +24521,7 @@ class PoadGanttComponent {
24756
24521
  return [];
24757
24522
  const out = [];
24758
24523
  for (const m of this.plan()?.markers ?? []) {
24759
- const d = toDate$1(m.date);
24524
+ const d = toDate(m.date);
24760
24525
  if (!d || d < debut || d >= fin)
24761
24526
  continue;
24762
24527
  out.push({ x: axe.xOf(d), label: m.label ?? '' });