@poadio/ui-angular 0.17.0 → 0.18.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
- 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, BREAKPOINTS, BREAKPOINT_SERVER_WIDTH, BREAKPOINT_TOUCH_QUERY, breakpointState, breakpointUp, breakpointDown, breakpointBetween, breakpointMatches, responsiveParse, responsiveResolve, 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, layoutGap, responsiveValue, breakpointShows, stackStyle, clusterStyle, gridStyle, gridColumn, splitStyle, sidebarCollapsed, sidebarStyle, centerStyle, containerStyle, spacerStyle, splitterClasses, splitterTemplate, splitterInitial, splitterPlacement, splitterPanelTrack, splitterGutterProps, splitterGutterTrack, splitterParseSaved, SPLITTER_STORAGE_PREFIX, splitterNormalize, splitterResize, splitterDragDelta, splitterKey, APP_SHELL_NO_METRICS, appShellStyle, appShellCompact, appShellMeasure, appShellMetrics, tableToggleRow, tableTreeToggleRow, tableSelectSingle, tableSelectRange, tableSelectOnly, tableToggleAll, tableToggleRows, tableClearSelection, TableNodes, tableIsGroupKey, tableAggregate, 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, breadcrumbEntries, breadcrumbLinkKind, breadcrumbClickable, MENU_PLACEMENTS, MENU_OFFSET, MENU_INITIAL, menuVisible, menuHasIcons, menuItemProps, menuSheetFocusIndex, menuSubIcon, menuUseSheet, menuOpen, menuKeydown, menuActivate, menuHover, menuSubHover, MENUBAR_PLACEMENTS, MENUBAR_OFFSET, menubarVisible, menubarCollapsed, MENUBAR_INITIAL, menubarIsMega, menubarPanelItems, menubarColumns, menubarMobileRows, menubarClose, menubarHasPanel, menubarRootProps, menubarIsCurrent, menubarMobileIndent, menubarToggle, menubarPointerMoved, menubarHover, MENUBAR_CLOSE_DELAY, menubarRootKeydown, menubarPanelFrom, menubarPanelKeydown, menubarMobileToggle, menubarMobileKeyTarget, splitButtonIconSize, splitButtonToggleProps, speedDialTooltipSide, speedDialClasses, speedDialItemsProps, speedDialItemProps, speedDialFabProps, speedDialItemStyle, speedDialKeyTarget, BOTTOM_NAV_MAX, bottomNavShown, bottomNavVisible, bottomNavShowLabel, bottomNavBadge, bottomNavItemProps, bottomNavIcon, bottomNavPick, navDrawerMode, navDrawerModal, navDrawerClasses, navDrawerPanelProps, navDrawerRows, lockDocumentScroll, navDrawerItemProps, navDrawerBadge, navDrawerSectionCount, navDrawerToggle, navDrawerIsActive, navDrawerShouldClose, navDrawerKeydown, navDrawerFocusable, navDrawerPick, tableHasExpandColumn, tableDetailPaddingLeft, tableSortMetas, tableCollator, tableGlobalFields, tableView, tableBodyState, tableHeaderRowProps, tableRootProps, tableActiveIndex, tableRowProps, tableFilterActiveCount, tableRowCountParts, tableCounts, paginatorClampFirst, tableFormatCell, tableThClasses, tableTdClasses, tableRowClasses, tableTreeRowClasses, tableSkeletonWidth, tableTreeGuides, tableTreeToggleProps, tableSortIndex, tableSortOrderOf, tableSortIcon, tableAriaSort, tableSortToggle, tableSortState, tableFilterDelay, tableFilterSet, tableTreeNodeState, TABLE_ROW_CLICK_IGNORE, tableRowClickAction, tableTreeKey, tableGridKey, tableCanExpand, tableExpandToggle, tableExpandAllKeys, tableTreeIsExpanded, tableTreeToggle, tableTreeNeedsLoad, tableTreeExpandKeys, tableGroupToggle, tableSortTo, tableFilterIsActive, tableFilterValues, tableFilterPart, tableFilterSetOperator, tableFilterRangePart, tableFilterToggleValue, tableFilterClear, tablePanelOperatorOptions, TABLE_PANEL_TABS, tablePanelTabProps, tablePanelBodyProps, tablePanelTabKey, tablePanelTabClick, tablePanelColumnMatches, tablePanelAllState, tablePanelGroupCandidates, 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, cardClasses, cardPadding, cardHasHead, dividerClasses, dividerProps, fieldsetRegionId, fieldsetClasses, collapsibleButtonProps, collapsibleRegionProps, collapsibleToggle, panelClasses, panelHeadless, panelIds, avatarGroupHidden, avatarGroupHiddenTitle, avatarGroupMoreText, avatarGroupOverflow, meterTotal, meterRemaining, meterSegments, meterRootClasses, meterBarProps, meterValueText, meterPercentText, timelineActiveIndex, timelineClasses, timelineEventClasses, timelineMarkerColor, timelineIcon, timelineText, carouselResponsiveVisible, carouselStep, carouselPageCount, carouselPages, carouselOffset, carouselTransform, carouselClasses, carouselLive, carouselRotating, carouselPlayLabelKey, carouselPrevDisabled, carouselNextDisabled, carouselItemVisible, carouselItemProps, REDUCED_MOTION_QUERY, carouselTick, CAROUSEL_TICK_MS, carouselGoTo, carouselFocusPause, carouselKey, carouselKeyTarget, carouselSwipe, IMAGE_VIEW_INITIAL, imageSource, imageClasses, imageViewerProps, imageTransform, imageZoom, imageViewStep, imageWheelDelta, imageViewerKey, scrollTopClasses, scrollTopButtonProps, scrollTopVisible, scrollTopBehavior, blockOverlayProps, blockOverlayClasses, blockSpinnerSize, blockHostProps, blockContentProps, listboxFilterItems, listboxSameValue, listboxValues, listboxAllState, listboxAllChecked, listboxClasses, listboxListProps, listboxSelected, listboxOptionClasses, listboxFocusActive, listboxPick, listboxRange, listboxToggleAll, listboxKeyAction, listboxTypeaheadQuery, listboxTypeahead, uploadFormatSize, UPLOAD_LIVE_PROPS, uploadPending, uploadClasses, uploadZoneProps, uploadInputProps, uploadIconFor, uploadItemClasses, uploadIsError, uploadStatusIcon, uploadZoneKey, uploadAdd, uploadRejectionText, uploadAnnouncement, uploadRemove, uploadFocusAfterRemove, uploadPatch, uploadComplete, addDays, isValidDate, addYears, addMonths, isoWeek, formatDate, POAD_ICONS } from '@poadio/ui-core';
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, afterEveryRender, 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, BREAKPOINTS, BREAKPOINT_SERVER_WIDTH, BREAKPOINT_TOUCH_QUERY, breakpointState, breakpointUp, breakpointDown, breakpointBetween, breakpointMatches, responsiveParse, responsiveResolve, 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, layoutGap, responsiveValue, breakpointShows, stackStyle, clusterStyle, gridStyle, gridColumn, splitStyle, sidebarCollapsed, sidebarStyle, centerStyle, containerStyle, spacerStyle, splitterClasses, splitterTemplate, splitterInitial, splitterPlacement, splitterPanelTrack, splitterGutterProps, splitterGutterTrack, splitterParseSaved, SPLITTER_STORAGE_PREFIX, splitterNormalize, splitterResize, splitterDragDelta, splitterKey, APP_SHELL_NO_METRICS, appShellStyle, appShellCompact, appShellMeasure, appShellMetrics, tableToggleRow, tableTreeToggleRow, tableSelectSingle, tableSelectRange, tableSelectOnly, tableToggleAll, tableToggleRows, tableClearSelection, TableNodes, tableIsGroupKey, tableAggregate, TABLE_PRIORITY_BREAKPOINTS, tableStacked, tableHiddenPriorities, tableResponsiveClasses, tableIsPriorityHidden, tableStickyRootClasses, tableHasSticky, tableStickyOffsets, tableStickyClass, tableStickyWidths, tableStickyWidthsEqual, tableScrollShadow, 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, breadcrumbEntries, breadcrumbLinkKind, breadcrumbClickable, MENU_PLACEMENTS, MENU_OFFSET, MENU_INITIAL, menuVisible, menuHasIcons, menuItemProps, menuSheetFocusIndex, menuSubIcon, menuUseSheet, menuOpen, menuKeydown, menuActivate, menuHover, menuSubHover, MENUBAR_PLACEMENTS, MENUBAR_OFFSET, menubarVisible, menubarCollapsed, MENUBAR_INITIAL, menubarIsMega, menubarPanelItems, menubarColumns, menubarMobileRows, menubarClose, menubarHasPanel, menubarRootProps, menubarIsCurrent, menubarMobileIndent, menubarToggle, menubarPointerMoved, menubarHover, MENUBAR_CLOSE_DELAY, menubarRootKeydown, menubarPanelFrom, menubarPanelKeydown, menubarMobileToggle, menubarMobileKeyTarget, splitButtonIconSize, splitButtonToggleProps, speedDialTooltipSide, speedDialClasses, speedDialItemsProps, speedDialItemProps, speedDialFabProps, speedDialItemStyle, speedDialKeyTarget, BOTTOM_NAV_MAX, bottomNavShown, bottomNavVisible, bottomNavShowLabel, bottomNavBadge, bottomNavItemProps, bottomNavIcon, bottomNavPick, navDrawerMode, navDrawerModal, navDrawerClasses, navDrawerPanelProps, navDrawerRows, lockDocumentScroll, navDrawerItemProps, navDrawerBadge, navDrawerSectionCount, navDrawerToggle, navDrawerIsActive, navDrawerShouldClose, navDrawerKeydown, navDrawerFocusable, navDrawerPick, tableFiltersToggleProps, tableFiltersToggleShown, tableResponsivePageLinks, tableHasExpandColumn, tableHiddenInExpansion, tableHasActionsColumn, tableDetailPaddingLeft, tableSortMetas, tableCollator, tableGlobalFields, tableView, tableBodyState, tableHeaderRowProps, tableRootProps, tableActiveIndex, tableRowProps, tableFilterActiveCount, tableRowCountParts, tableCounts, paginatorClampFirst, tableToolsHaveContent, tableFormatCell, tableThClasses, tableTdClasses, tableRowClasses, tableTreeRowClasses, tableSkeletonWidth, tableTreeGuides, tableTreeToggleProps, tableStickyKeys, tableStickySideOf, tablePinColumn, tableSortIndex, tableSortOrderOf, tableSortIcon, tableAriaSort, tableSortToggle, tableSortState, tableFilterDelay, tableFilterSet, tableTreeNodeState, TABLE_ROW_CLICK_IGNORE, tableRowClickAction, tableTreeKey, tableGridKey, tableCanExpand, tableExpandToggle, tableExpandAllKeys, tableTreeIsExpanded, tableTreeToggle, tableTreeNeedsLoad, tableTreeExpandKeys, tableGroupToggle, tableSortTo, tableFilterIsActive, tableFilterValues, tableFilterPart, tableFilterSetOperator, tableFilterRangePart, tableFilterToggleValue, tableFilterClear, tablePanelOperatorOptions, TABLE_PANEL_TABS, tablePanelTabProps, tablePanelBodyProps, tablePanelTabKey, tablePanelTabClick, tablePanelColumnMatches, tablePanelAllState, tablePanelGroupCandidates, tablePanelKind, tablePanelDraftInit, tablePanelDraftSync, tablePanelIsActive, tablePanelDraftFilter, tablePanelDraftToggle, skeletonBars, skeletonRootClasses, dataviewItems, dataviewPage, dataviewSwitchItems, dataviewTrack, dataviewSetLayout, 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, cardClasses, cardPadding, cardHasHead, dividerClasses, dividerProps, fieldsetRegionId, fieldsetClasses, collapsibleButtonProps, collapsibleRegionProps, collapsibleToggle, panelClasses, panelHeadless, panelIds, avatarGroupHidden, avatarGroupHiddenTitle, avatarGroupMoreText, avatarGroupOverflow, meterTotal, meterRemaining, meterSegments, meterRootClasses, meterBarProps, meterValueText, meterPercentText, timelineActiveIndex, timelineClasses, timelineEventClasses, timelineMarkerColor, timelineIcon, timelineText, carouselResponsiveVisible, carouselStep, carouselPageCount, carouselPages, carouselOffset, carouselTransform, carouselClasses, carouselLive, carouselRotating, carouselPlayLabelKey, carouselPrevDisabled, carouselNextDisabled, carouselItemVisible, carouselItemProps, REDUCED_MOTION_QUERY, carouselTick, CAROUSEL_TICK_MS, carouselGoTo, carouselFocusPause, carouselKey, carouselKeyTarget, carouselSwipe, IMAGE_VIEW_INITIAL, imageSource, imageClasses, imageViewerProps, imageTransform, imageZoom, imageViewStep, imageWheelDelta, imageViewerKey, scrollTopClasses, scrollTopButtonProps, scrollTopVisible, scrollTopBehavior, blockOverlayProps, blockOverlayClasses, blockSpinnerSize, blockHostProps, blockContentProps, listboxFilterItems, listboxSameValue, listboxValues, listboxAllState, listboxAllChecked, listboxClasses, listboxListProps, listboxSelected, listboxOptionClasses, listboxFocusActive, listboxPick, listboxRange, listboxToggleAll, listboxKeyAction, listboxTypeaheadQuery, listboxTypeahead, uploadFormatSize, UPLOAD_LIVE_PROPS, uploadPending, uploadClasses, uploadZoneProps, uploadInputProps, uploadIconFor, uploadItemClasses, uploadIsError, uploadStatusIcon, uploadZoneKey, uploadAdd, uploadRejectionText, uploadAnnouncement, uploadRemove, uploadFocusAfterRemove, uploadPatch, uploadComplete, 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';
@@ -6331,78 +6331,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
6331
6331
  args: [{ selector: '[poadEditFocus]', standalone: true }]
6332
6332
  }], ctorParameters: () => [] });
6333
6333
 
6334
- /**
6335
- * Styles poad-table (2/4) : colonnes figées, responsive priority/stack. Tokens --poad-* uniquement.
6336
- * Sans encapsulation, comme la feuille de base `@poadio/ui-core/table.css` (même écriture : classe d'hôte répétée pour
6337
- * garder la priorité qu'avait chaque règle encapsulée, sélecteurs ancrés sur la structure du gabarit) ; passeront dans
6338
- * le socle avec leur tranche (ui-core `src/table/README.md`).
6339
- */
6340
- const POAD_TABLE_STYLES_2 = `
6341
- /* ---------- colonnes figées ---------- */
6342
- .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; }
6343
- .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); }
6344
- .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; }
6345
- .poad-table.poad-table.poad-table.poad-table.poad-table.is-striped .tbl > tbody > tr.dt-row:nth-child(even 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(even of .dt-row) > td.st-right { background: var(--poad-table-stripe, var(--poad-bg-subtle)); }
6346
- .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); }
6347
- .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)); }
6348
- .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); }
6349
- .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 rgba(0,0,0,.18); }
6350
- .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 rgba(0,0,0,.18); }
6351
- .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; }
6352
-
6353
- /* ---------- détail (décalage d'arbre) ---------- */
6354
- .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)); }
6355
-
6356
- /* ---------- barre d'outils responsive ---------- */
6357
- .poad-table .dt-bar__tools, .poad-table .dt-bar__tools-end { display: contents; }
6358
- .poad-table .dt-bar__filters { display: inline-flex; }
6359
- .poad-table.poad-table .dt-bar__filters .dt-bar__count { padding: 1px 6px; font-size: 10px; }
6360
-
6361
- /* ---------- mode stack (cartes) ---------- */
6362
- .poad-table.poad-table.is-stacked .dt-bar { gap: 8px; }
6363
- .poad-table.poad-table.is-stacked .dt-bar__tools { display: none; }
6364
- .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); }
6365
- .poad-table.poad-table.is-stacked .dt-bar__grow { display: none; }
6366
- .poad-table.poad-table.is-stacked .dt-bar__search { order: 5; flex-basis: 100%; width: 100%; }
6367
- .poad-table.poad-table.is-stacked .dt-bar__cols, .poad-table.poad-table.is-stacked .dt-bar__density { display: none; }
6368
- .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; }
6369
- .poad-table.poad-table.is-stacked .dt-scroll { overflow-x: hidden; }
6370
- .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; }
6371
- .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; }
6372
- .poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row { position: relative; padding: 10px 12px 10px 12px; border-bottom: 1px solid var(--poad-border); height: auto; }
6373
- .poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-row.has-sel { padding-left: 44px; }
6374
- .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); }
6375
- .poad-table.poad-table.poad-table.is-hoverable.is-stacked .tbl > :where(thead, tbody) > tr.dt-row:hover { background: var(--poad-hover); }
6376
- .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; }
6377
- .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); }
6378
- .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; }
6379
- .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; }
6380
- .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; }
6381
- .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; }
6382
- .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; }
6383
- .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; }
6384
- .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; }
6385
- .poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(tbody) > :where(tr) > td.dt-tree-cell > .dt-tree-wrap > .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 > .dt-tree-wrap > .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 > .dt-tree-wrap > .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 > .dt-tree-wrap > .poad-tree-toggle .tl { display: none; }
6386
- .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; }
6387
- .poad-table.poad-table.poad-table.is-stacked .tbl :where(td.col-acts) > .acts { opacity: 1; }
6388
- .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; }
6389
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-detail > td { padding: 8px 12px 10px; }
6390
- .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); }
6391
- .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); }
6392
- .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); }
6393
- .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; }
6394
- .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; }
6395
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-group-foot > td { padding: 0; }
6396
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-group-foot > td:empty { display: none; }
6397
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > tfoot > tr.dt-grand { padding: 8px 12px; }
6398
- .poad-table.poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > tfoot > tr.dt-grand > td:empty { display: none; }
6399
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-empty > td { display: block; }
6400
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.is-skeleton > td { display: block; padding: 4px 0; }
6401
- .poad-table.poad-table.poad-table.poad-table.is-stacked .tbl > :where(thead, tbody) > tr.dt-card > td { padding: 0; display: block; }
6402
- .poad-table.poad-table.is-stacked .dt-foot { flex-wrap: wrap; gap: 8px; }
6403
- .poad-table.poad-table.is-stacked .dt-foot .poad-paginator__rpp { display: none; }
6404
- `;
6405
-
6406
6334
  /**
6407
6335
  * Styles poad-table (3/4) : réordonnancement de colonnes, virtual scroll, édition inline. Tokens --poad-* uniquement.
6408
6336
  * Sans encapsulation, comme la feuille de base `@poadio/ui-core/table.css` (même écriture : classe d'hôte répétée pour
@@ -6862,10 +6790,10 @@ const poadIsGroupKey = tableIsGroupKey;
6862
6790
  /** Agrégats de lignes (`tableAggregate` du socle). */
6863
6791
  const poadAggregate = tableAggregate;
6864
6792
 
6865
- const POAD_DEFAULT_PRIORITY_BREAKPOINTS = { 5: 1100, 4: 900, 3: 720, 2: 560 };
6793
+ const POAD_DEFAULT_PRIORITY_BREAKPOINTS = TABLE_PRIORITY_BREAKPOINTS;
6866
6794
  /**
6867
- * Observe la largeur du conteneur `.dt` (ResizeObserver) et en déduit l'état responsive :
6868
- * `stacked` (mode stack sous `stackAt`) et `hiddenPriorities` (mode priority). Pure logique → testable via `setWidth`.
6795
+ * Observe la largeur du conteneur `.dt` (ResizeObserver) ; l'état (`stacked` en mode stack sous `stackAt`,
6796
+ * `hiddenPriorities` en mode priority, classes) vient du modèle `table.responsive` d'@poadio/ui-core. Testable via `setWidth`.
6869
6797
  */
6870
6798
  class PoadTableResponsive {
6871
6799
  mode;
@@ -6881,27 +6809,12 @@ class PoadTableResponsive {
6881
6809
  inject(DestroyRef).onDestroy(() => this.disconnect());
6882
6810
  }
6883
6811
  /** Vrai quand la table est rendue en cartes (mode stack + largeur sous le seuil). */
6884
- stacked = computed(() => this.mode() === 'stack' && this.width() != null && this.width() < this.stackAt(), ...(ngDevMode ? [{ debugName: "stacked" }] : /* istanbul ignore next */ []));
6812
+ stacked = computed(() => tableStacked({ mode: this.mode(), width: this.width(), stackAt: this.stackAt() }), ...(ngDevMode ? [{ debugName: "stacked" }] : /* istanbul ignore next */ []));
6885
6813
  /** Priorités masquées (2..5) selon la largeur (mode priority uniquement). */
6886
- hiddenPriorities = computed(() => {
6887
- const out = new Set();
6888
- const w = this.width();
6889
- if (this.mode() !== 'priority' || w == null)
6890
- return out;
6891
- const bp = { ...POAD_DEFAULT_PRIORITY_BREAKPOINTS, ...this.priorityBreakpoints() };
6892
- [5, 4, 3, 2].forEach(p => { const t = bp[p]; if (t != null && w < t)
6893
- out.add(p); });
6894
- return out;
6895
- }, ...(ngDevMode ? [{ debugName: "hiddenPriorities" }] : /* istanbul ignore next */ []));
6814
+ hiddenPriorities = computed(() => new Set(tableHiddenPriorities({ mode: this.mode(), width: this.width(), breakpoints: this.priorityBreakpoints() })), ...(ngDevMode ? [{ debugName: "hiddenPriorities" }] : /* istanbul ignore next */ []));
6896
6815
  /** Classes hôtes à refléter. */
6897
- hostClasses = computed(() => {
6898
- const c = [];
6899
- if (this.stacked())
6900
- c.push('is-stacked');
6901
- this.hiddenPriorities().forEach(p => c.push('hide-p' + p));
6902
- return c;
6903
- }, ...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
6904
- isHidden(priority) { return priority != null && priority > 1 && this.hiddenPriorities().has(priority); }
6816
+ hostClasses = computed(() => Object.entries(tableResponsiveClasses({ stacked: this.stacked(), hidden: [...this.hiddenPriorities()] })).filter(([, on]) => on).map(([c]) => c), ...(ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []));
6817
+ isHidden(priority) { return tableIsPriorityHidden(priority, [...this.hiddenPriorities()]); }
6905
6818
  observe(el) {
6906
6819
  const target = el instanceof ElementRef ? el.nativeElement : el;
6907
6820
  if (!target || target === this.observed)
@@ -6921,9 +6834,9 @@ class PoadTableResponsive {
6921
6834
  }
6922
6835
 
6923
6836
  /**
6924
- * Colonnes figées de poad-table : offsets `left`/`right` cumulés à partir des largeurs mesurées des en-têtes
6925
- * (`th[data-sk]`), classes d'ombre selon la position de défilement horizontal.
6926
- * Clés : 'sel' (sélection), 'exp' (détail), id de colonne, 'acts' (actions).
6837
+ * Colonnes figées de poad-table : la mesure des en-têtes (`th[data-sk]`) et l'écoute du défilement ; décalages,
6838
+ * classes et ombres viennent du modèle `table.sticky` d'@poadio/ui-core.
6839
+ * Clés : 'num', 'sel' (sélection), 'drag', 'exp' (détail), id de colonne, 'acts' (actions).
6927
6840
  */
6928
6841
  class PoadTableSticky {
6929
6842
  keys = () => ({ left: [], right: [] });
@@ -6932,64 +6845,29 @@ class PoadTableSticky {
6932
6845
  scrolledX = signal(false, ...(ngDevMode ? [{ debugName: "scrolledX" }] : /* istanbul ignore next */ []));
6933
6846
  scrolledXEnd = signal(true, ...(ngDevMode ? [{ debugName: "scrolledXEnd" }] : /* istanbul ignore next */ []));
6934
6847
  configure(keys, scroller) { this.keys = keys; this.scroller = scroller; }
6935
- leftMap = computed(() => {
6936
- const m = new Map();
6937
- let acc = 0;
6938
- const w = this.measured();
6939
- for (const k of this.keys().left) {
6940
- m.set(k, acc);
6941
- acc += w[k] ?? 0;
6942
- }
6943
- return m;
6944
- }, ...(ngDevMode ? [{ debugName: "leftMap" }] : /* istanbul ignore next */ []));
6945
- rightMap = computed(() => {
6946
- const m = new Map();
6947
- let acc = 0;
6948
- const w = this.measured();
6949
- for (const k of [...this.keys().right].reverse()) {
6950
- m.set(k, acc);
6951
- acc += w[k] ?? 0;
6952
- }
6953
- return m;
6954
- }, ...(ngDevMode ? [{ debugName: "rightMap" }] : /* istanbul ignore next */ []));
6955
- left(key) { return this.leftMap().has(key) ? this.leftMap().get(key) : null; }
6956
- right(key) { return this.rightMap().has(key) ? this.rightMap().get(key) : null; }
6957
- classFor(key) {
6958
- const { left, right } = this.keys();
6959
- if (left.includes(key))
6960
- return 'st-left' + (left[left.length - 1] === key ? ' st-last-left' : '');
6961
- if (right.includes(key))
6962
- return 'st-right' + (right[0] === key ? ' st-first-right' : '');
6963
- return '';
6964
- }
6848
+ /** Classes d'ombre de la racine, même règle que les autres rendus : aucune quand rien n'est figé. */
6849
+ shadowClasses = computed(() => tableStickyRootClasses({ sticky: tableHasSticky(this.keys()), scrolledX: this.scrolledX(), scrolledXEnd: this.scrolledXEnd() }), ...(ngDevMode ? [{ debugName: "shadowClasses" }] : /* istanbul ignore next */ []));
6850
+ offsets = computed(() => tableStickyOffsets(this.keys(), this.measured()), ...(ngDevMode ? [{ debugName: "offsets" }] : /* istanbul ignore next */ []));
6851
+ left(key) { return this.offsets().left[key] ?? null; }
6852
+ right(key) { return this.offsets().right[key] ?? null; }
6853
+ classFor(key) { return tableStickyClass(this.keys(), key); }
6965
6854
  /** Mesure les largeurs des en-têtes figés (à appeler après rendu). */
6966
6855
  measure(host) {
6967
- const { left, right } = this.keys();
6968
- if (!left.length && !right.length) {
6969
- if (Object.keys(this.measured()).length)
6970
- this.measured.set({});
6971
- return;
6972
- }
6856
+ const k = this.keys();
6973
6857
  const ths = host.querySelectorAll('thead tr:first-child th[data-sk]');
6974
- const next = {};
6975
- let changed = false;
6976
- const cur = this.measured();
6977
- ths.forEach(th => { const k = th.dataset['sk']; if (!left.includes(k) && !right.includes(k))
6978
- return; const w = Math.round(th.getBoundingClientRect().width); next[k] = w; if (cur[k] !== w)
6979
- changed = true; });
6980
- if (changed || Object.keys(cur).length !== Object.keys(next).length)
6858
+ const next = k.left.length || k.right.length ? tableStickyWidths(k, [...ths].map(th => [th.dataset['sk'], th.getBoundingClientRect().width])) : {};
6859
+ if (!tableStickyWidthsEqual(this.measured(), next))
6981
6860
  this.measured.set(next);
6982
6861
  this.onScroll(this.scroller());
6983
6862
  }
6984
6863
  onScroll(el) {
6985
6864
  if (!el)
6986
6865
  return;
6987
- const x = el.scrollLeft > 1;
6988
- const end = el.scrollLeft + el.clientWidth >= el.scrollWidth - 1;
6989
- if (x !== this.scrolledX())
6990
- this.scrolledX.set(x);
6991
- if (end !== this.scrolledXEnd())
6992
- this.scrolledXEnd.set(end);
6866
+ const s = tableScrollShadow(el);
6867
+ if (s.scrolledX !== this.scrolledX())
6868
+ this.scrolledX.set(s.scrolledX);
6869
+ if (s.scrolledXEnd !== this.scrolledXEnd())
6870
+ this.scrolledXEnd.set(s.scrolledXEnd);
6993
6871
  }
6994
6872
  }
6995
6873
 
@@ -9853,10 +9731,19 @@ class PoadTableComponent extends PoadTableBase {
9853
9731
  id = poadId('poad-table');
9854
9732
  scroller = viewChild('scroller', ...(ngDevMode ? [{ debugName: "scroller" }] : /* istanbul ignore next */ []));
9855
9733
  dtEl = viewChild('dt', ...(ngDevMode ? [{ debugName: "dtEl" }] : /* istanbul ignore next */ []));
9734
+ toolsEl = viewChild('tools', ...(ngDevMode ? [{ debugName: "toolsEl" }] : /* istanbul ignore next */ []));
9735
+ /** L'emplacement `[poadTableToolbar]` a-t-il du contenu (relu après chaque rendu) ? */
9736
+ hasTools = signal(false, ...(ngDevMode ? [{ debugName: "hasTools" }] : /* istanbul ignore next */ []));
9856
9737
  // ---- état interne ----
9857
9738
  searchText = signal('', ...(ngDevMode ? [{ debugName: "searchText" }] : /* istanbul ignore next */ []));
9858
9739
  colsMenuOpen = signal(false, ...(ngDevMode ? [{ debugName: "colsMenuOpen" }] : /* istanbul ignore next */ []));
9859
9740
  filtersOpen = signal(false, ...(ngDevMode ? [{ debugName: "filtersOpen" }] : /* istanbul ignore next */ []));
9741
+ /** Bouton « Filtres » de la barre en cartes (socle : état, classes). */
9742
+ filtersToggle = computed(() => tableFiltersToggleProps(this.filtersOpen()), ...(ngDevMode ? [{ debugName: "filtersToggle" }] : /* istanbul ignore next */ []));
9743
+ /** Seulement en cartes et quand la barre a des outils à déplier. */
9744
+ showFiltersToggle = computed(() => tableFiltersToggleShown({ stacked: this.resp.stacked(), hasTools: this.hasTools() }), ...(ngDevMode ? [{ debugName: "showFiltersToggle" }] : /* istanbul ignore next */ []));
9745
+ /** Liens de pages : 3 en cartes. */
9746
+ pagerLinks = computed(() => tableResponsivePageLinks(this.resp.stacked(), this.pageLinks()), ...(ngDevMode ? [{ debugName: "pagerLinks" }] : /* istanbul ignore next */ []));
9860
9747
  resizingId = signal(null, ...(ngDevMode ? [{ debugName: "resizingId" }] : /* istanbul ignore next */ []));
9861
9748
  widths = signal({}, ...(ngDevMode ? [{ debugName: "widths" }] : /* istanbul ignore next */ []));
9862
9749
  lazyKids = signal(new Map(), ...(ngDevMode ? [{ debugName: "lazyKids" }] : /* istanbul ignore next */ []));
@@ -9902,13 +9789,13 @@ class PoadTableComponent extends PoadTableBase {
9902
9789
  visibleColumns = computed(() => { const gf = this.hideGroupedColumns() ? new Set(this.groupFields()) : null; return this.orderedColumns().filter(c => !c.hidden() && !this.resp.isHidden(c.priority()) && !(gf && c.field() && gf.has(c.field()))); }, ...(ngDevMode ? [{ debugName: "visibleColumns" }] : /* istanbul ignore next */ []));
9903
9790
  hiddenByPriority = computed(() => this.columns().filter(c => !c.hidden() && this.resp.isHidden(c.priority())), ...(ngDevMode ? [{ debugName: "hiddenByPriority" }] : /* istanbul ignore next */ []));
9904
9791
  hasSelectionColumn = computed(() => !!this.selectionMode(), ...(ngDevMode ? [{ debugName: "hasSelectionColumn" }] : /* istanbul ignore next */ []));
9905
- hasExpandColumn = computed(() => tableHasExpandColumn({ hasTemplate: !!this.expansionTpl() || (this.showHiddenInExpansion() && this.hiddenByPriority().length > 0), rowExpandable: this.rowExpandable() }), ...(ngDevMode ? [{ debugName: "hasExpandColumn" }] : /* istanbul ignore next */ []));
9792
+ hasExpandColumn = computed(() => tableHasExpandColumn({ hasTemplate: !!this.expansionTpl() || tableHiddenInExpansion({ showHiddenInExpansion: this.showHiddenInExpansion(), hiddenCount: this.hiddenByPriority().length }), rowExpandable: this.rowExpandable() }), ...(ngDevMode ? [{ debugName: "hasExpandColumn" }] : /* istanbul ignore next */ []));
9906
9793
  hasFilterRow = computed(() => { const f = this.showFilterRow(); return f === 'auto' ? this.visibleColumns().some(c => c.filterable()) : !!f; }, ...(ngDevMode ? [{ debugName: "hasFilterRow" }] : /* istanbul ignore next */ []));
9907
9794
  hasColumnMenu = computed(() => { const m = this.columnMenu(); return m === 'auto' ? this.columns().some(c => c.sortable() || c.filterable()) || this.reorderableColumns() || this.columnToggle() || this.showGroupZone() : !!m; }, ...(ngDevMode ? [{ debugName: "hasColumnMenu" }] : /* istanbul ignore next */ []));
9908
9795
  hasNumberColumn = computed(() => this.showRowNumber(), ...(ngDevMode ? [{ debugName: "hasNumberColumn" }] : /* istanbul ignore next */ []));
9909
9796
  /** Drag de lignes effectif (pas de tri actif, ni groupes/arbre/virtuel/empilé). */
9910
9797
  rowDragEnabled = computed(() => this.reorderableRows() && !this.sortMetas().length && !this.hierarchical() && !this.virtualScroll() && !this.resp.stacked() && !this.lazy(), ...(ngDevMode ? [{ debugName: "rowDragEnabled" }] : /* istanbul ignore next */ []));
9911
- hasActionsColumn = computed(() => !!this.rowActionsTpl() || ((this.editMode() === 'row' || this.editMode() === 'row-inline') && this.showRowEditButton()), ...(ngDevMode ? [{ debugName: "hasActionsColumn" }] : /* istanbul ignore next */ []));
9798
+ hasActionsColumn = computed(() => tableHasActionsColumn({ hasTemplate: !!this.rowActionsTpl(), rowEdit: (this.editMode() === 'row' || this.editMode() === 'row-inline') && this.showRowEditButton() }), ...(ngDevMode ? [{ debugName: "hasActionsColumn" }] : /* istanbul ignore next */ []));
9912
9799
  colspan = computed(() => this.visibleColumns().length + (this.hasSelectionColumn() ? 1 : 0) + (this.hasExpandColumn() ? 1 : 0) + (this.hasActionsColumn() ? 1 : 0) + (this.hasNumberColumn() ? 1 : 0) + (this.rowDragEnabled() ? 1 : 0), ...(ngDevMode ? [{ debugName: "colspan" }] : /* istanbul ignore next */ []));
9913
9800
  detailPaddingLeft = computed(() => tableDetailPaddingLeft({ selection: this.hasSelectionColumn(), expand: this.hasExpandColumn(), number: this.hasNumberColumn(), drag: this.rowDragEnabled() }), ...(ngDevMode ? [{ debugName: "detailPaddingLeft" }] : /* istanbul ignore next */ []));
9914
9801
  hasData = computed(() => this.source().length > 0, ...(ngDevMode ? [{ debugName: "hasData" }] : /* istanbul ignore next */ []));
@@ -10063,6 +9950,8 @@ class PoadTableComponent extends PoadTableBase {
10063
9950
  effect(() => { const s = this.scroller(); if (s && this.virtualScroll())
10064
9951
  this.virtual.observe(s.nativeElement); });
10065
9952
  this.sticky.configure(() => this.stickyKeys(), () => this.scroller()?.nativeElement ?? null);
9953
+ afterEveryRender({ read: () => { const el = this.toolsEl()?.nativeElement; const has = !!el && tableToolsHaveContent(el.childNodes); if (has !== this.hasTools())
9954
+ this.hasTools.set(has); } });
10066
9955
  afterRenderEffect(() => { this.visibleColumns(); this.widths(); this.resp.width(); this.hasSelectionColumn(); this.hasExpandColumn(); this.sticky.measure(this.host.nativeElement); });
10067
9956
  }
10068
9957
  // ---- helpers template ----
@@ -10099,49 +9988,26 @@ class PoadTableComponent extends PoadTableBase {
10099
9988
  }
10100
9989
  // ---- figées ----
10101
9990
  /** Clés (dans l'ordre) des colonnes figées à gauche / droite. */
10102
- stickyKeys = computed(() => {
10103
- if (this.resp.stacked())
10104
- return { left: [], right: [] };
10105
- const cols = this.visibleColumns();
10106
- const first = cols[0];
10107
- const leadSticky = this.stickyFirstColumn() || (first && this.stickyOf(first) === 'left');
10108
- const left = [];
10109
- if (leadSticky && this.hasNumberColumn())
10110
- left.push('num');
10111
- if (leadSticky && this.hasSelectionColumn())
10112
- left.push('sel');
10113
- if (leadSticky && this.rowDragEnabled())
10114
- left.push('drag');
10115
- if (leadSticky && this.hasExpandColumn())
10116
- left.push('exp');
10117
- cols.forEach(c => { if (this.stickyOf(c) === 'left' || (this.stickyFirstColumn() && c === first))
10118
- left.push(c.id()); });
10119
- const right = [];
10120
- cols.forEach(c => { if (this.stickyOf(c) === 'right')
10121
- right.push(c.id()); });
10122
- if (this.hasActionsColumn() && this.stickyActions() && this.responsive() === 'scroll')
10123
- right.push('acts');
10124
- return { left, right };
10125
- }, ...(ngDevMode ? [{ debugName: "stickyKeys" }] : /* istanbul ignore next */ []));
9991
+ stickyKeys = computed(() => tableStickyKeys({
9992
+ columns: this.visibleColumns().map(c => ({ id: c.id(), sticky: c.sticky() })), pinned: this.pinnedColumns(), stickyFirstColumn: this.stickyFirstColumn(),
9993
+ number: this.hasNumberColumn(), selection: this.hasSelectionColumn(), drag: this.rowDragEnabled(), expand: this.hasExpandColumn(),
9994
+ actions: this.hasActionsColumn(), stickyActions: this.stickyActions(), responsive: this.responsive(), stacked: this.resp.stacked(),
9995
+ }), ...(ngDevMode ? [{ debugName: "stickyKeys" }] : /* istanbul ignore next */ []));
10126
9996
  /** Côté figé effectif d'une colonne : épinglage à l'exécution (`pinnedColumns`) prioritaire sur `sticky`. */
10127
- stickyOf(c) { const p = this.pinnedColumns()[c.id()]; return p !== undefined ? p : c.sticky(); }
9997
+ stickyOf(c) { return tableStickySideOf(c.id(), c.sticky(), this.pinnedColumns()); }
10128
9998
  /** Épingle une colonne à gauche/droite (null = détacher). */
10129
9999
  pinColumn(col, side) {
10130
10000
  const c = this.colOf(col);
10131
10001
  if (!c)
10132
10002
  return;
10133
- const next = { ...this.pinnedColumns() };
10134
- if (side === c.sticky())
10135
- delete next[c.id()];
10136
- else
10137
- next[c.id()] = side; // null explicite = détache une colonne déclarée sticky
10138
- this.pinnedColumns.set(next);
10003
+ this.pinnedColumns.set(tablePinColumn(this.pinnedColumns(), c.id(), c.sticky(), side)); // null explicite = détache une colonne déclarée sticky
10139
10004
  this.columnPin.emit({ column: c, side });
10140
10005
  }
10141
10006
  stickyClass(key) { return this.sticky.classFor(key); }
10142
10007
  stickyLeft(key) { return this.sticky.left(key); }
10143
10008
  stickyRight(key) { return this.sticky.right(key); }
10144
- onScroll() { const el = this.scroller()?.nativeElement ?? null; this.sticky.onScroll(el); this.virtual.onScroll(el); }
10009
+ /** Défilement : ombres des colonnes figées (et nouvelle mesure, comme les autres rendus), tranche visible. */
10010
+ onScroll() { const el = this.scroller()?.nativeElement ?? null; this.sticky.measure(this.host.nativeElement); this.virtual.onScroll(el); }
10145
10011
  // ---- tri ----
10146
10012
  /** @internal Appelée par le gabarit. */
10147
10013
  isSorted(c) { return this.sortMetas().some(m => m.field === c.effectiveSortField()); }
@@ -10711,7 +10577,7 @@ class PoadTableComponent extends PoadTableBase {
10711
10577
  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);
10712
10578
  }
10713
10579
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10714
- 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\" [attr.aria-posinset]=\"d.node!.posInSet\" [attr.aria-setsize]=\"d.node!.setSize\">\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()\" [attr.data-col]=\"c.editable() ? c.id() : null\"\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 <!-- liste d\u00E9roulante de la biblioth\u00E8que (jamais de select natif) ; panneau en popover : le focus reste dans la cellule -->\n <poad-select #sel poadEditFocus mobile=\"popover\" [options]=\"c.effectiveEditorOptions()\" [value]=\"edit.valueOf(d.row, c)\" [ariaLabel]=\"c.header()\" [invalid]=\"!!edit.cellError(d.row, c)\"\n (changed)=\"editUi.onSelectPick(d.row, c, $event)\" (keydown)=\"editUi.onSelectKey(d.row, c, $event, sel.isOpen())\"/>\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=\"dt-tree-wrap\">\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 @let tp = treeToggle(d.node);\n <button type=\"button\" [class]=\"tp.className\" [attr.tabindex]=\"tp.tabindex\"\n [attr.aria-expanded]=\"tp['aria-expanded']\" [attr.aria-label]=\"i18n.t(tp.labelKey)\" (click)=\"toggleNode(d.node, $event)\">\n @if (tp.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 @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 </span>\n } @else {\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 }\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::-webkit-search-cancel-button,.poad-table.poad-table .flt-cell input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}.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}.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,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.dt-tree-wrap>.cell-txt{white-space:normal}.poad-table .dt-tree-wrap{display:flex;align-items:center;min-width:0}.poad-table .dt-tree-wrap>.poad-tree-toggle{flex:none}.poad-table .dt-tree-wrap>:not(.poad-tree-toggle){min-width:0}.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)}\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.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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 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.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus-visible{background:var(--poad-hover);box-shadow:inset 0 0 0 2px var(--poad-ring)}.poad-table.poad-table .dt-editor>.poad-select{flex:1 1 0;min-width:0}.poad-table.poad-table.poad-table .dt-editor>.poad-select .poad-select__trigger{height:calc(var(--_row-h) - 8px);border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table.poad-table .dt-editor.is-invalid>.poad-select .poad-select__trigger{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.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 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 });
10580
+ 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.shadowClasses()[\"is-scrolled-x\"]", "class.is-scrolled-x-end": "sticky.shadowClasses()[\"is-scrolled-x-end\"]", "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: "toolsEl", first: true, predicate: ["tools"], 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 (showFiltersToggle()) {\n @let ft = filtersToggle();\n <button type=\"button\" [class]=\"ft.className\" [attr.aria-expanded]=\"ft['aria-expanded']\" (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 #tools 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\" [attr.aria-posinset]=\"d.node!.posInSet\" [attr.aria-setsize]=\"d.node!.setSize\">\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.data-key]=\"d.key\" [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()\" [attr.data-col]=\"c.editable() ? c.id() : null\"\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 <!-- liste d\u00E9roulante de la biblioth\u00E8que (jamais de select natif) ; panneau en popover : le focus reste dans la cellule -->\n <poad-select #sel poadEditFocus mobile=\"popover\" [options]=\"c.effectiveEditorOptions()\" [value]=\"edit.valueOf(d.row, c)\" [ariaLabel]=\"c.header()\" [invalid]=\"!!edit.cellError(d.row, c)\"\n (changed)=\"editUi.onSelectPick(d.row, c, $event)\" (keydown)=\"editUi.onSelectKey(d.row, c, $event, sel.isOpen())\"/>\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=\"dt-tree-wrap\">\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 @let tp = treeToggle(d.node);\n <button type=\"button\" [class]=\"tp.className\" [attr.tabindex]=\"tp.tabindex\"\n [attr.aria-expanded]=\"tp['aria-expanded']\" [attr.aria-label]=\"i18n.t(tp.labelKey)\" (click)=\"toggleNode(d.node, $event)\">\n @if (tp.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 @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 </span>\n } @else {\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 }\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 {<span class=\"cell-txt\">{{ formatCell(cell(d.row, c), c) }}</span>}\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]=\"pagerLinks()\"\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::-webkit-search-cancel-button,.poad-table.poad-table .flt-cell input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}.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}.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,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.dt-tree-wrap>.cell-txt{white-space:normal}.poad-table .dt-tree-wrap{display:flex;align-items:center;min-width:0}.poad-table .dt-tree-wrap>.poad-tree-toggle{flex:none}.poad-table .dt-tree-wrap>:not(.poad-tree-toggle){min-width:0}.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 .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.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-family:var(--poad-font);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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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 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.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus-visible{background:var(--poad-hover);box-shadow:inset 0 0 0 2px var(--poad-ring)}.poad-table.poad-table .dt-editor>.poad-select{flex:1 1 0;min-width:0}.poad-table.poad-table.poad-table .dt-editor>.poad-select .poad-select__trigger{height:calc(var(--_row-h) - 8px);border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table.poad-table .dt-editor.is-invalid>.poad-select .poad-select__trigger{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.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 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 });
10715
10581
  }
10716
10582
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadTableComponent, decorators: [{
10717
10583
  type: Component,
@@ -10735,8 +10601,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10735
10601
  '[class.hide-p3]': 'resp.hiddenPriorities().has(3)',
10736
10602
  '[class.hide-p4]': 'resp.hiddenPriorities().has(4)',
10737
10603
  '[class.hide-p5]': 'resp.hiddenPriorities().has(5)',
10738
- '[class.is-scrolled-x]': 'sticky.scrolledX()',
10739
- '[class.is-scrolled-x-end]': 'sticky.scrolledXEnd()',
10604
+ '[class.is-scrolled-x]': 'sticky.shadowClasses()["is-scrolled-x"]',
10605
+ '[class.is-scrolled-x-end]': 'sticky.shadowClasses()["is-scrolled-x-end"]',
10740
10606
  '[class.is-virtual]': 'virtualScroll()',
10741
10607
  '[class.is-reorderable]': 'reorderableColumns()',
10742
10608
  '[class.has-row-numbers]': 'showRowNumber()',
@@ -10748,8 +10614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
10748
10614
  '[style.--_scroll-h]': 'scrollHeight() || null',
10749
10615
  '[style.--_detail-pl]': 'detailPaddingLeft()',
10750
10616
  '[style.--_indent]': 'indent()',
10751
- }, 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\" [attr.aria-posinset]=\"d.node!.posInSet\" [attr.aria-setsize]=\"d.node!.setSize\">\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()\" [attr.data-col]=\"c.editable() ? c.id() : null\"\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 <!-- liste d\u00E9roulante de la biblioth\u00E8que (jamais de select natif) ; panneau en popover : le focus reste dans la cellule -->\n <poad-select #sel poadEditFocus mobile=\"popover\" [options]=\"c.effectiveEditorOptions()\" [value]=\"edit.valueOf(d.row, c)\" [ariaLabel]=\"c.header()\" [invalid]=\"!!edit.cellError(d.row, c)\"\n (changed)=\"editUi.onSelectPick(d.row, c, $event)\" (keydown)=\"editUi.onSelectKey(d.row, c, $event, sel.isOpen())\"/>\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=\"dt-tree-wrap\">\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 @let tp = treeToggle(d.node);\n <button type=\"button\" [class]=\"tp.className\" [attr.tabindex]=\"tp.tabindex\"\n [attr.aria-expanded]=\"tp['aria-expanded']\" [attr.aria-label]=\"i18n.t(tp.labelKey)\" (click)=\"toggleNode(d.node, $event)\">\n @if (tp.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 @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 </span>\n } @else {\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 }\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::-webkit-search-cancel-button,.poad-table.poad-table .flt-cell input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}.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}.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,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.dt-tree-wrap>.cell-txt{white-space:normal}.poad-table .dt-tree-wrap{display:flex;align-items:center;min-width:0}.poad-table .dt-tree-wrap>.poad-tree-toggle{flex:none}.poad-table .dt-tree-wrap>:not(.poad-tree-toggle){min-width:0}.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)}\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.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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 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.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus-visible{background:var(--poad-hover);box-shadow:inset 0 0 0 2px var(--poad-ring)}.poad-table.poad-table .dt-editor>.poad-select{flex:1 1 0;min-width:0}.poad-table.poad-table.poad-table .dt-editor>.poad-select .poad-select__trigger{height:calc(var(--_row-h) - 8px);border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table.poad-table .dt-editor.is-invalid>.poad-select .poad-select__trigger{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.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 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"] }]
10752
- }], 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 }] }] } });
10617
+ }, 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 (showFiltersToggle()) {\n @let ft = filtersToggle();\n <button type=\"button\" [class]=\"ft.className\" [attr.aria-expanded]=\"ft['aria-expanded']\" (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 #tools 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\" [attr.aria-posinset]=\"d.node!.posInSet\" [attr.aria-setsize]=\"d.node!.setSize\">\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.data-key]=\"d.key\" [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()\" [attr.data-col]=\"c.editable() ? c.id() : null\"\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 <!-- liste d\u00E9roulante de la biblioth\u00E8que (jamais de select natif) ; panneau en popover : le focus reste dans la cellule -->\n <poad-select #sel poadEditFocus mobile=\"popover\" [options]=\"c.effectiveEditorOptions()\" [value]=\"edit.valueOf(d.row, c)\" [ariaLabel]=\"c.header()\" [invalid]=\"!!edit.cellError(d.row, c)\"\n (changed)=\"editUi.onSelectPick(d.row, c, $event)\" (keydown)=\"editUi.onSelectKey(d.row, c, $event, sel.isOpen())\"/>\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=\"dt-tree-wrap\">\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 @let tp = treeToggle(d.node);\n <button type=\"button\" [class]=\"tp.className\" [attr.tabindex]=\"tp.tabindex\"\n [attr.aria-expanded]=\"tp['aria-expanded']\" [attr.aria-label]=\"i18n.t(tp.labelKey)\" (click)=\"toggleNode(d.node, $event)\">\n @if (tp.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 @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 </span>\n } @else {\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 }\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 {<span class=\"cell-txt\">{{ formatCell(cell(d.row, c), c) }}</span>}\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]=\"pagerLinks()\"\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::-webkit-search-cancel-button,.poad-table.poad-table .flt-cell input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}.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}.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,.poad-table.poad-table.poad-table .tbl>:where(tbody)>:where(tr)>td.dt-tree-cell>.dt-tree-wrap>.cell-txt{white-space:normal}.poad-table .dt-tree-wrap{display:flex;align-items:center;min-width:0}.poad-table .dt-tree-wrap>.poad-tree-toggle{flex:none}.poad-table .dt-tree-wrap>:not(.poad-tree-toggle){min-width:0}.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 .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.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-family:var(--poad-font);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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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>.dt-tree-wrap>.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 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.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus{outline:none}.poad-table.poad-table.poad-table.poad-table .tbl>tbody>tr.dt-row>td[data-col]:focus-visible{background:var(--poad-hover);box-shadow:inset 0 0 0 2px var(--poad-ring)}.poad-table.poad-table .dt-editor>.poad-select{flex:1 1 0;min-width:0}.poad-table.poad-table.poad-table .dt-editor>.poad-select .poad-select__trigger{height:calc(var(--_row-h) - 8px);border-color:var(--poad-accent);box-shadow:0 0 0 3px var(--poad-ring)}.poad-table.poad-table.poad-table .dt-editor.is-invalid>.poad-select .poad-select__trigger{border-color:var(--poad-danger);box-shadow:0 0 0 3px var(--poad-danger-soft)}.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 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"] }]
10618
+ }], ctorParameters: () => [], propDecorators: { scroller: [{ type: i0.ViewChild, args: ['scroller', { isSignal: true }] }], dtEl: [{ type: i0.ViewChild, args: ['dt', { isSignal: true }] }], toolsEl: [{ type: i0.ViewChild, args: ['tools', { 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 }] }] } });
10753
10619
 
10754
10620
  /** Template de nœud : `<ng-template poadTreeNode let-node let-row="row" let-level="level" let-selected="selected">`. */
10755
10621
  class PoadTreeNodeDirective {
@@ -11591,65 +11457,93 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
11591
11457
  * <ng-template poadDataviewGrid let-p>…carte…</ng-template>
11592
11458
  * </poad-dataview>
11593
11459
  * Remplace p-dataView : liste ou grille de templates, tri/filtre/pagination locaux, squelettes en `loading`.
11460
+ * Recherche, tri, page et bascule : modèle `dataview` d'@poadio/ui-core (feuille partagée `dataview.css` pour les autres rendus).
11461
+ * @slot [poadDataviewHeader] Contenu de l'en-tête, à gauche de la bascule.
11462
+ * @slot [poadDataviewFooter] Contenu du pied, avant le paginateur.
11594
11463
  * @atelier icone=layout-list
11595
11464
  * @atelier-exemple value [{"label":"Pont de Sèvres","etat":"Bon"},{"label":"Viaduc de Meudon","etat":"À surveiller"},{"label":"Passerelle Rive Sud","etat":"Bon"}]
11596
11465
  */
11597
11466
  class PoadDataviewComponent {
11598
11467
  i18n = inject(UiI18n);
11468
+ /** Éléments affichés. */
11599
11469
  value = input([], ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
11470
+ /** Champ de la clé d'un élément (suivi des éléments ; sinon leur place). */
11600
11471
  dataKey = input('', ...(ngDevMode ? [{ debugName: "dataKey" }] : /* istanbul ignore next */ []));
11472
+ /** Disposition `list` ou `grid` : `[(layout)]`. */
11601
11473
  layout = model('list', ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
11474
+ /** Bascule liste / grille dans l'en-tête. */
11602
11475
  showLayoutSwitch = input(false, { ...(ngDevMode ? { debugName: "showLayoutSwitch" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
11476
+ /** Paginateur au pied et éléments découpés en pages. */
11603
11477
  paginator = input(false, { ...(ngDevMode ? { debugName: "paginator" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
11478
+ /** Index du premier élément de la page : `[(first)]`. */
11604
11479
  first = model(0, ...(ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []));
11480
+ /** Taille de page : `[(rows)]`. */
11605
11481
  rows = model(12, ...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
11482
+ /** Tailles de page proposées. */
11606
11483
  rowsPerPageOptions = input([6, 12, 24, 48], ...(ngDevMode ? [{ debugName: "rowsPerPageOptions" }] : /* istanbul ignore next */ []));
11484
+ /** Paginateur affiché même avec une seule page. */
11607
11485
  alwaysShowPaginator = input(true, { ...(ngDevMode ? { debugName: "alwaysShowPaginator" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
11486
+ /** Champ du tri (sinon : l'ordre de `value`). */
11608
11487
  sortField = input(null, ...(ngDevMode ? [{ debugName: "sortField" }] : /* istanbul ignore next */ []));
11488
+ /** Ordre du tri : `1` croissant, `-1` décroissant. */
11609
11489
  sortOrder = input(1, ...(ngDevMode ? [{ debugName: "sortOrder" }] : /* istanbul ignore next */ []));
11490
+ /** Texte recherché (sans accents ni casse) dans `filterBy`. */
11610
11491
  filterValue = input('', ...(ngDevMode ? [{ debugName: "filterValue" }] : /* istanbul ignore next */ []));
11492
+ /** Champs de la recherche. */
11611
11493
  filterBy = input([], ...(ngDevMode ? [{ debugName: "filterBy" }] : /* istanbul ignore next */ []));
11494
+ /** Colonnes de la grille : un nombre, ou par point de rupture (`"1 sm:2 lg:3"`). */
11612
11495
  gridCols = input('1 sm:2 lg:3', ...(ngDevMode ? [{ debugName: "gridCols" }] : /* istanbul ignore next */ []));
11496
+ /** Largeur minimale d'une carte : la grille remplit la ligne (à la place de `gridCols`). */
11613
11497
  gridMin = input('', ...(ngDevMode ? [{ debugName: "gridMin" }] : /* istanbul ignore next */ []));
11498
+ /** Chargement : squelettes à la place des éléments. */
11614
11499
  loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
11500
+ /** Nombre de squelettes. */
11615
11501
  loadingRows = input(6, { ...(ngDevMode ? { debugName: "loadingRows" } : /* istanbul ignore next */ {}), transform: numberAttribute });
11502
+ /** Message du corps vide (défaut : message du catalogue). */
11616
11503
  emptyMessage = input(...(ngDevMode ? [undefined, { debugName: "emptyMessage" }] : /* istanbul ignore next */ []));
11504
+ /** L'utilisateur change de page ou de taille de page. */
11617
11505
  pageChange = output();
11506
+ /** L'utilisateur change de disposition. */
11618
11507
  layoutChange = output();
11508
+ /** Changement de tri (réservé ; le tri vient de `sortField` / `sortOrder`). */
11619
11509
  sortChange = output();
11510
+ /** Gabarit d'un élément en liste (`let-item`, `index`) ; sinon celui de la grille. */
11620
11511
  listTpl = contentChild(PoadDataviewListDirective, ...(ngDevMode ? [{ debugName: "listTpl" }] : /* istanbul ignore next */ []));
11512
+ /** Gabarit d'un élément en grille (`let-item`, `index`) ; sinon celui de la liste. */
11621
11513
  gridTpl = contentChild(PoadDataviewGridDirective, ...(ngDevMode ? [{ debugName: "gridTpl" }] : /* istanbul ignore next */ []));
11622
- filtered = computed(() => { const q = this.filterValue(); const d = q ? poadFilterData(this.value(), q, this.filterBy(), {}) : this.value(); const f = this.sortField(); return f ? poadSortData(d, [{ field: f, order: this.sortOrder() }]) : d; }, ...(ngDevMode ? [{ debugName: "filtered" }] : /* istanbul ignore next */ []));
11623
- pageItems = computed(() => this.paginator() ? this.filtered().slice(this.first(), this.first() + this.rows()) : this.filtered(), ...(ngDevMode ? [{ debugName: "pageItems" }] : /* istanbul ignore next */ []));
11514
+ /** Recherche, tri et page : modèle `dataview` d'@poadio/ui-core. */
11515
+ filtered = computed(() => dataviewItems(this.value(), { filterValue: this.filterValue(), filterBy: this.filterBy(), sortField: this.sortField(), sortOrder: this.sortOrder(), locale: this.i18n.locale() }), ...(ngDevMode ? [{ debugName: "filtered" }] : /* istanbul ignore next */ []));
11516
+ pageItems = computed(() => dataviewPage(this.filtered(), { paginator: this.paginator(), first: this.first(), rows: this.rows() }), ...(ngDevMode ? [{ debugName: "pageItems" }] : /* istanbul ignore next */ []));
11517
+ switchItems = computed(() => dataviewSwitchItems(this.layout()), ...(ngDevMode ? [{ debugName: "switchItems" }] : /* istanbul ignore next */ []));
11624
11518
  skel = computed(() => Array.from({ length: this.loadingRows() }, (_, i) => i), ...(ngDevMode ? [{ debugName: "skel" }] : /* istanbul ignore next */ []));
11625
- trackOf(it, i) { const k = this.dataKey(); return k ? it[k] : i; }
11626
- setLayout(l) { if (l !== this.layout()) {
11627
- this.layout.set(l);
11628
- this.layoutChange.emit(l);
11519
+ trackOf(it, i) { return dataviewTrack(it, i, this.dataKey()); }
11520
+ /** Passe en liste ou en grille (comme la bascule). */
11521
+ setLayout(l) { const next = dataviewSetLayout(this.layout(), l); if (next) {
11522
+ this.layout.set(next);
11523
+ this.layoutChange.emit(next);
11629
11524
  } }
11630
11525
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadDataviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11631
11526
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.20", type: PoadDataviewComponent, isStandalone: true, selector: "poad-dataview", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, showLayoutSwitch: { classPropertyName: "showLayoutSwitch", publicName: "showLayoutSwitch", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, alwaysShowPaginator: { classPropertyName: "alwaysShowPaginator", publicName: "alwaysShowPaginator", isSignal: true, isRequired: false, transformFunction: null }, sortField: { classPropertyName: "sortField", publicName: "sortField", isSignal: true, isRequired: false, transformFunction: null }, sortOrder: { classPropertyName: "sortOrder", publicName: "sortOrder", isSignal: true, isRequired: false, transformFunction: null }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, gridCols: { classPropertyName: "gridCols", publicName: "gridCols", isSignal: true, isRequired: false, transformFunction: null }, gridMin: { classPropertyName: "gridMin", publicName: "gridMin", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingRows: { classPropertyName: "loadingRows", publicName: "loadingRows", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", first: "firstChange", rows: "rowsChange", pageChange: "pageChange", layoutChange: "layoutChange", sortChange: "sortChange" }, host: { properties: { "class.is-grid": "layout() === \"grid\"" }, classAttribute: "poad-dataview" }, queries: [{ propertyName: "listTpl", first: true, predicate: PoadDataviewListDirective, descendants: true, isSignal: true }, { propertyName: "gridTpl", first: true, predicate: PoadDataviewGridDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
11632
11527
  <div class="dv__hd"><div class="dv__hd-slot"><ng-content select="[poadDataviewHeader]"/></div>
11633
11528
  @if (showLayoutSwitch()) {
11634
11529
  <div class="dv__switch" role="group" [attr.aria-label]="i18n.t('dataview.layout')">
11635
- <button type="button" [class.is-on]="layout() === 'list'" [attr.aria-label]="i18n.t('dataview.list')" (click)="setLayout('list')"><poad-icon name="list" [size]="15"/></button>
11636
- <button type="button" [class.is-on]="layout() === 'grid'" [attr.aria-label]="i18n.t('dataview.grid')" (click)="setLayout('grid')"><poad-icon name="grid" [size]="15"/></button>
11530
+ @for (b of switchItems(); track b.layout) {<button type="button" [class]="b.className" [attr.aria-pressed]="b['aria-pressed']" [attr.aria-label]="i18n.t(b.labelKey)" (click)="setLayout(b.layout)"><poad-icon [name]="b.icon" [size]="15"/></button>}
11637
11531
  </div>
11638
11532
  }
11639
11533
  </div>
11640
11534
  @if (loading()) {
11641
- <div class="dv__body">@if (layout() === 'grid') {<poad-grid [cols]="gridCols()" [min]="gridMin()" gap="md">@for (i of skel(); track i) {<poad-skeleton shape="rect" height="120px"/>}</poad-grid>} @else {@for (i of skel(); track i) {<div class="dv__row"><poad-skeleton [lines]="2"/></div>}}</div>
11535
+ <div class="dv__body">@if (layout() === 'grid') {<poad-grid class="dv__grid" [cols]="gridCols()" [min]="gridMin()" gap="md">@for (i of skel(); track i) {<poad-skeleton shape="rect" height="120px"/>}</poad-grid>} @else {@for (i of skel(); track i) {<div class="dv__row"><poad-skeleton [lines]="2"/></div>}}</div>
11642
11536
  } @else if (!pageItems().length) {
11643
11537
  <div class="dv__empty"><poad-icon name="inbox" [size]="24" [strokeWidth]="1.5"/><span>{{ i18n.text(emptyMessage(), 'dataview.empty') }}</span></div>
11644
11538
  } @else if (layout() === 'grid') {
11645
- <poad-grid class="dv__body" [cols]="gridCols()" [min]="gridMin()" gap="md">@for (it of pageItems(); track trackOf(it, $index); let i = $index) {<ng-container *ngTemplateOutlet="(gridTpl() || listTpl())!.tpl; context: { $implicit: it, index: first() + i }"/>}</poad-grid>
11539
+ <poad-grid class="dv__body dv__grid" [cols]="gridCols()" [min]="gridMin()" gap="md">@for (it of pageItems(); track trackOf(it, $index); let i = $index) {<ng-container *ngTemplateOutlet="(gridTpl() || listTpl())!.tpl; context: { $implicit: it, index: first() + i }"/>}</poad-grid>
11646
11540
  } @else {
11647
11541
  <div class="dv__body dv__list">@for (it of pageItems(); track trackOf(it, $index); let i = $index) {<div class="dv__row"><ng-container *ngTemplateOutlet="(listTpl() || gridTpl())!.tpl; context: { $implicit: it, index: first() + i }"/></div>}</div>
11648
11542
  }
11649
11543
  <div class="dv__ft"><ng-content select="[poadDataviewFooter]"/>
11650
11544
  @if (paginator()) {<poad-paginator [(first)]="first" [(rows)]="rows" [totalRecords]="filtered().length" [rowsPerPageOptions]="rowsPerPageOptions()" [alwaysShow]="alwaysShowPaginator()" (pageChange)="pageChange.emit($event)"/>}
11651
11545
  </div>
11652
- `, isInline: true, styles: [":host{display:block;font-family:var(--poad-font);font-size:var(--poad-font-size);color:var(--poad-fg)}.dv__hd{display:flex;align-items:center;gap:8px}.dv__hd:has(>.dv__hd-slot:not(:empty)),.dv__hd:has(.dv__switch){margin-bottom:12px}.dv__hd-slot{flex:1;min-width:0}.dv__switch{display:inline-flex;padding:3px;gap:2px;background:var(--poad-bg-subtle);border:1px solid var(--poad-border);border-radius:var(--poad-radius)}.dv__switch button{width:28px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);display:grid;place-items:center;cursor:pointer}.dv__switch button.is-on{background:var(--poad-surface);color:var(--poad-fg);box-shadow:0 1px 2px #0000001f}.dv__list{display:flex;flex-direction:column;border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);overflow:hidden;background:var(--poad-surface)}.dv__row{padding:12px 14px;border-bottom:1px solid var(--poad-border)}.dv__row:last-child{border-bottom:0}.dv__empty{display:grid;place-items:center;gap:6px;padding:32px;color:var(--poad-fg-muted);border:1px dashed var(--poad-border-strong);border-radius:var(--poad-radius-lg)}.dv__ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.dv__ft:empty{display:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadSkeletonComponent, selector: "poad-skeleton", inputs: ["width", "height", "shape", "lines", "animation", "lastWidth"] }, { kind: "component", type: PoadGridComponent, selector: "poad-grid", inputs: ["cols", "min", "gap", "rowGap", "align", "dense"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11546
+ `, isInline: true, styles: [":host{display:block;font-family:var(--poad-font);font-size:var(--poad-font-size);color:var(--poad-fg)}.dv__hd{display:flex;align-items:center;gap:8px}.dv__hd:has(>.dv__hd-slot:not(:empty)),.dv__hd:has(.dv__switch){margin-bottom:12px}.dv__hd-slot{flex:1;min-width:0}.dv__switch{display:inline-flex;padding:3px;gap:2px;background:var(--poad-bg-subtle);border:1px solid var(--poad-border);border-radius:var(--poad-radius)}.dv__switch button{width:28px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);display:grid;place-items:center;cursor:pointer}.dv__switch button.is-on{background:var(--poad-surface);color:var(--poad-fg);box-shadow:0 1px 2px #0000001f}.dv__list{display:flex;flex-direction:column;border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);overflow:hidden;background:var(--poad-surface)}.dv__row{padding:12px 14px;border-bottom:1px solid var(--poad-border)}.dv__row:last-child{border-bottom:0}.dv__empty{display:grid;place-items:center;gap:6px;padding:32px;color:var(--poad-fg-muted);border:1px dashed var(--poad-border-strong);border-radius:var(--poad-radius-lg)}.dv__ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.dv__ft:empty{display:none}.dv__ft{flex-wrap:wrap}:host ::ng-deep .dv__ft .poad-paginator{flex:1;flex-wrap:wrap;row-gap:8px;min-width:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: PoadIconComponent, selector: "poad-icon", inputs: ["name", "size", "strokeWidth", "label", "title", "spin", "filled", "flip", "rotate"] }, { kind: "component", type: PoadSkeletonComponent, selector: "poad-skeleton", inputs: ["width", "height", "shape", "lines", "animation", "lastWidth"] }, { kind: "component", type: PoadGridComponent, selector: "poad-grid", inputs: ["cols", "min", "gap", "rowGap", "align", "dense"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
11653
11547
  }
11654
11548
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImport: i0, type: PoadDataviewComponent, decorators: [{
11655
11549
  type: Component,
@@ -11657,24 +11551,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.20", ngImpo
11657
11551
  <div class="dv__hd"><div class="dv__hd-slot"><ng-content select="[poadDataviewHeader]"/></div>
11658
11552
  @if (showLayoutSwitch()) {
11659
11553
  <div class="dv__switch" role="group" [attr.aria-label]="i18n.t('dataview.layout')">
11660
- <button type="button" [class.is-on]="layout() === 'list'" [attr.aria-label]="i18n.t('dataview.list')" (click)="setLayout('list')"><poad-icon name="list" [size]="15"/></button>
11661
- <button type="button" [class.is-on]="layout() === 'grid'" [attr.aria-label]="i18n.t('dataview.grid')" (click)="setLayout('grid')"><poad-icon name="grid" [size]="15"/></button>
11554
+ @for (b of switchItems(); track b.layout) {<button type="button" [class]="b.className" [attr.aria-pressed]="b['aria-pressed']" [attr.aria-label]="i18n.t(b.labelKey)" (click)="setLayout(b.layout)"><poad-icon [name]="b.icon" [size]="15"/></button>}
11662
11555
  </div>
11663
11556
  }
11664
11557
  </div>
11665
11558
  @if (loading()) {
11666
- <div class="dv__body">@if (layout() === 'grid') {<poad-grid [cols]="gridCols()" [min]="gridMin()" gap="md">@for (i of skel(); track i) {<poad-skeleton shape="rect" height="120px"/>}</poad-grid>} @else {@for (i of skel(); track i) {<div class="dv__row"><poad-skeleton [lines]="2"/></div>}}</div>
11559
+ <div class="dv__body">@if (layout() === 'grid') {<poad-grid class="dv__grid" [cols]="gridCols()" [min]="gridMin()" gap="md">@for (i of skel(); track i) {<poad-skeleton shape="rect" height="120px"/>}</poad-grid>} @else {@for (i of skel(); track i) {<div class="dv__row"><poad-skeleton [lines]="2"/></div>}}</div>
11667
11560
  } @else if (!pageItems().length) {
11668
11561
  <div class="dv__empty"><poad-icon name="inbox" [size]="24" [strokeWidth]="1.5"/><span>{{ i18n.text(emptyMessage(), 'dataview.empty') }}</span></div>
11669
11562
  } @else if (layout() === 'grid') {
11670
- <poad-grid class="dv__body" [cols]="gridCols()" [min]="gridMin()" gap="md">@for (it of pageItems(); track trackOf(it, $index); let i = $index) {<ng-container *ngTemplateOutlet="(gridTpl() || listTpl())!.tpl; context: { $implicit: it, index: first() + i }"/>}</poad-grid>
11563
+ <poad-grid class="dv__body dv__grid" [cols]="gridCols()" [min]="gridMin()" gap="md">@for (it of pageItems(); track trackOf(it, $index); let i = $index) {<ng-container *ngTemplateOutlet="(gridTpl() || listTpl())!.tpl; context: { $implicit: it, index: first() + i }"/>}</poad-grid>
11671
11564
  } @else {
11672
11565
  <div class="dv__body dv__list">@for (it of pageItems(); track trackOf(it, $index); let i = $index) {<div class="dv__row"><ng-container *ngTemplateOutlet="(listTpl() || gridTpl())!.tpl; context: { $implicit: it, index: first() + i }"/></div>}</div>
11673
11566
  }
11674
11567
  <div class="dv__ft"><ng-content select="[poadDataviewFooter]"/>
11675
11568
  @if (paginator()) {<poad-paginator [(first)]="first" [(rows)]="rows" [totalRecords]="filtered().length" [rowsPerPageOptions]="rowsPerPageOptions()" [alwaysShow]="alwaysShowPaginator()" (pageChange)="pageChange.emit($event)"/>}
11676
11569
  </div>
11677
- `, styles: [":host{display:block;font-family:var(--poad-font);font-size:var(--poad-font-size);color:var(--poad-fg)}.dv__hd{display:flex;align-items:center;gap:8px}.dv__hd:has(>.dv__hd-slot:not(:empty)),.dv__hd:has(.dv__switch){margin-bottom:12px}.dv__hd-slot{flex:1;min-width:0}.dv__switch{display:inline-flex;padding:3px;gap:2px;background:var(--poad-bg-subtle);border:1px solid var(--poad-border);border-radius:var(--poad-radius)}.dv__switch button{width:28px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);display:grid;place-items:center;cursor:pointer}.dv__switch button.is-on{background:var(--poad-surface);color:var(--poad-fg);box-shadow:0 1px 2px #0000001f}.dv__list{display:flex;flex-direction:column;border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);overflow:hidden;background:var(--poad-surface)}.dv__row{padding:12px 14px;border-bottom:1px solid var(--poad-border)}.dv__row:last-child{border-bottom:0}.dv__empty{display:grid;place-items:center;gap:6px;padding:32px;color:var(--poad-fg-muted);border:1px dashed var(--poad-border-strong);border-radius:var(--poad-radius-lg)}.dv__ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.dv__ft:empty{display:none}\n"] }]
11570
+ `, styles: [":host{display:block;font-family:var(--poad-font);font-size:var(--poad-font-size);color:var(--poad-fg)}.dv__hd{display:flex;align-items:center;gap:8px}.dv__hd:has(>.dv__hd-slot:not(:empty)),.dv__hd:has(.dv__switch){margin-bottom:12px}.dv__hd-slot{flex:1;min-width:0}.dv__switch{display:inline-flex;padding:3px;gap:2px;background:var(--poad-bg-subtle);border:1px solid var(--poad-border);border-radius:var(--poad-radius)}.dv__switch button{width:28px;height:24px;border:0;border-radius:6px;background:transparent;color:var(--poad-fg-secondary);display:grid;place-items:center;cursor:pointer}.dv__switch button.is-on{background:var(--poad-surface);color:var(--poad-fg);box-shadow:0 1px 2px #0000001f}.dv__list{display:flex;flex-direction:column;border:1px solid var(--poad-border);border-radius:var(--poad-radius-lg);overflow:hidden;background:var(--poad-surface)}.dv__row{padding:12px 14px;border-bottom:1px solid var(--poad-border)}.dv__row:last-child{border-bottom:0}.dv__empty{display:grid;place-items:center;gap:6px;padding:32px;color:var(--poad-fg-muted);border:1px dashed var(--poad-border-strong);border-radius:var(--poad-radius-lg)}.dv__ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.dv__ft:empty{display:none}.dv__ft{flex-wrap:wrap}:host ::ng-deep .dv__ft .poad-paginator{flex:1;flex-wrap:wrap;row-gap:8px;min-width:0}\n"] }]
11678
11571
  }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }, { type: i0.Output, args: ["layoutChange"] }], showLayoutSwitch: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLayoutSwitch", required: false }] }], paginator: [{ type: i0.Input, args: [{ isSignal: true, alias: "paginator", required: false }] }], 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"] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], alwaysShowPaginator: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysShowPaginator", required: false }] }], sortField: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortField", required: false }] }], sortOrder: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortOrder", required: false }] }], filterValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterValue", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], gridCols: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridCols", required: false }] }], gridMin: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridMin", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], loadingRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingRows", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }], layoutChange: [{ type: i0.Output, args: ["layoutChange"] }], sortChange: [{ type: i0.Output, args: ["sortChange"] }], listTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PoadDataviewListDirective), { isSignal: true }] }], gridTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PoadDataviewGridDirective), { isSignal: true }] }] } });
11679
11572
 
11680
11573
  /**
@@ -28049,7 +27942,7 @@ const CATALOGUE = {
28049
27942
  {
28050
27943
  "name": "responsive",
28051
27944
  "required": false,
28052
- "type": "'scroll' | 'priority' | 'stack'",
27945
+ "type": "PoadTableResponsiveMode",
28053
27946
  "default": "scroll"
28054
27947
  },
28055
27948
  {