@semcore/data-table 16.0.3-prerelease.2 → 16.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/components/Body/Body.js +36 -36
- package/lib/cjs/components/Body/Cell.js +36 -36
- package/lib/cjs/components/Body/Row.js +36 -36
- package/lib/cjs/components/DataTable/DataTable.js +23 -23
- package/lib/cjs/components/Head/Column.js +31 -26
- package/lib/cjs/components/Head/Column.js.map +1 -1
- package/lib/cjs/components/Head/Group.js +22 -22
- package/lib/cjs/components/Head/Head.js +22 -22
- package/lib/es6/components/Body/Body.js +36 -36
- package/lib/es6/components/Body/Cell.js +36 -36
- package/lib/es6/components/Body/Row.js +36 -36
- package/lib/es6/components/DataTable/DataTable.js +23 -23
- package/lib/es6/components/Head/Column.js +31 -26
- package/lib/es6/components/Head/Column.js.map +1 -1
- package/lib/es6/components/Head/Group.js +22 -22
- package/lib/es6/components/Head/Head.js +22 -22
- package/lib/esm/components/Body/Body.mjs +37 -37
- package/lib/esm/components/Body/Cell.mjs +37 -37
- package/lib/esm/components/Body/Row.mjs +37 -37
- package/lib/esm/components/DataTable/DataTable.mjs +25 -25
- package/lib/esm/components/Head/Column.mjs +29 -27
- package/lib/esm/components/Head/Group.mjs +23 -23
- package/lib/esm/components/Head/Head.mjs +23 -23
- package/package.json +21 -21
|
@@ -16,44 +16,44 @@ import { isFocusInside } from '@semcore/core/lib/utils/focus-lock/isFocusInside'
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import { MergedColumnsCell, MergedRowsCell } from './MergedCells';
|
|
18
18
|
/*!__reshadow-styles__:"./style.shadow.css"*/
|
|
19
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_1qpmo_gg_,.___SBody_1qpmo_gg_,.___SRowGroup_1qpmo_gg_,.___SRow_1qpmo_gg_{display:contents}.___SBody_1qpmo_gg_.__compact_1qpmo_gg_ .___SCell_1qpmo_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_1qpmo_gg_.__compact_1qpmo_gg_ .___SCell_1qpmo_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_1qpmo) - 1)))}.___SCellWrapper_1qpmo_gg_.__gridArea_1qpmo_gg_,.___SCollapseRow_1qpmo_gg_.__gridArea_1qpmo_gg_,.___SRow_1qpmo_gg_.__gridArea_1qpmo_gg_{grid-area:var(--gridArea_1qpmo)}.___SCellWrapper_1qpmo_gg_{height:100%}.___SAccordionRows_1qpmo_gg_>.___SRow_1qpmo_gg_.__isAccordionRow_1qpmo_gg_:last-child>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_,.___SCollapseRow_1qpmo_gg_.__gridArea_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_1qpmo_gg_ .___SCell_1qpmo_gg_{display:block}.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_).__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_,.___SRow_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_._accordionType_row_1qpmo_gg_.__expanded_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_.__isAccordionRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_muted_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_):not(.__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_muted_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_):not(.__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_),.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_muted_1qpmo_gg_,.___SRow_1qpmo_gg_:not(._accordionType_row_1qpmo_gg_.__expanded_1qpmo_gg_):hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_):not(.__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_info_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_info_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_info_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_success_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_success_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_success_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_warning_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_warning_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_warning_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_danger_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_danger_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_danger_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_1qpmo_gg_{display:flex;height:100%;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);overflow:hidden;white-space:pre-wrap;word-break:break-word;font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;outline:0}.___SCell_1qpmo_gg_ .___SAccordionToggle_1qpmo_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_1qpmo_gg_ .___SAccordionToggle_1qpmo_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_1qpmo_gg_ .___SAccordionToggle_1qpmo_gg_.__expanded_1qpmo_gg_ svg{transform:rotate(90deg)}.___SCell_1qpmo_gg_.__withAccordion_1qpmo_gg_,.___SCheckboxCell_1qpmo_gg_,.___SRow_1qpmo_gg_._accordionType_row_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_{cursor:pointer}.___SCell_1qpmo_gg_._use_primary_1qpmo_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1qpmo_gg_._use_primary_1qpmo_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1qpmo) - 1)))}.___SCell_1qpmo_gg_._use_secondary_1qpmo_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1qpmo_gg_._use_secondary_1qpmo_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1qpmo) - 1)))}.___SCell_1qpmo_gg_._borders_both_1qpmo_gg_,.___SCell_1qpmo_gg_._borders_left_1qpmo_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_1qpmo_gg_._borders_both_1qpmo_gg_,.___SCell_1qpmo_gg_._borders_right_1qpmo_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_1qpmo_gg_.__fixed_1qpmo_gg_{position:sticky;z-index:2}.___SCell_1qpmo_gg_._theme_muted_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_1qpmo_gg_._theme_info_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_1qpmo_gg_._theme_success_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_1qpmo_gg_._theme_warning_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_1qpmo_gg_._theme_danger_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_1qpmo_gg_{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;align-items:center;justify-content:center;background-color:var(--intergalactic-overlay-limitation-secondary, rgba(255, 255, 255, 0.85))}.___SSpinContainer_1qpmo_gg_.__headerHeight_1qpmo_gg_{top:var(--headerHeight_1qpmo)}.___SEmptyData_1qpmo_gg_{grid-column:1/-1}.___SRow_1qpmo_gg_._sideIndents_wide_1qpmo_gg_ .___SCellWrapper_1qpmo_gg_:first-child .___SCell_1qpmo_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_1qpmo_gg_._sideIndents_wide_1qpmo_gg_ .___SCellWrapper_1qpmo_gg_:last-child .___SCell_1qpmo_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}", /*__inner_css_end__*/"1qpmo_gg_"),
|
|
19
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_1aohy_gg_,.___SBody_1aohy_gg_,.___SRowGroup_1aohy_gg_,.___SRow_1aohy_gg_{display:contents}.___SBody_1aohy_gg_.__compact_1aohy_gg_ .___SCell_1aohy_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_1aohy_gg_.__compact_1aohy_gg_ .___SCell_1aohy_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_1aohy) - 1)))}.___SCellWrapper_1aohy_gg_.__gridArea_1aohy_gg_,.___SCollapseRow_1aohy_gg_.__gridArea_1aohy_gg_,.___SRow_1aohy_gg_.__gridArea_1aohy_gg_{grid-area:var(--gridArea_1aohy)}.___SCellWrapper_1aohy_gg_{height:100%}.___SAccordionRows_1aohy_gg_>.___SRow_1aohy_gg_.__isAccordionRow_1aohy_gg_:last-child>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_,.___SCollapseRow_1aohy_gg_.__gridArea_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_1aohy_gg_ .___SCell_1aohy_gg_{display:block}.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_).__expanded_1aohy_gg_.__withAccordion_1aohy_gg_,.___SRow_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_._accordionType_row_1aohy_gg_.__expanded_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_.__isAccordionRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_muted_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_muted_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_):not(.__expanded_1aohy_gg_.__withAccordion_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_muted_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_muted_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_):not(.__expanded_1aohy_gg_.__withAccordion_1aohy_gg_),.___SRow_1aohy_gg_._theme_muted_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_muted_1aohy_gg_,.___SRow_1aohy_gg_:not(._accordionType_row_1aohy_gg_.__expanded_1aohy_gg_):hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_):not(.__expanded_1aohy_gg_.__withAccordion_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_info_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_info_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_info_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_info_1aohy_gg_,.___SRow_1aohy_gg_._theme_info_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_info_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_success_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_success_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_success_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_success_1aohy_gg_,.___SRow_1aohy_gg_._theme_success_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_success_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_warning_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_warning_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_warning_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_warning_1aohy_gg_,.___SRow_1aohy_gg_._theme_warning_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_warning_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_danger_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_danger_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_danger_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_danger_1aohy_gg_,.___SRow_1aohy_gg_._theme_danger_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_danger_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_1aohy_gg_._theme_muted_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_1aohy_gg_._theme_muted_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_1aohy_gg_._theme_info_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_1aohy_gg_._theme_info_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_1aohy_gg_._theme_success_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_1aohy_gg_._theme_success_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_1aohy_gg_._theme_warning_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_1aohy_gg_._theme_warning_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_1aohy_gg_._theme_danger_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_1aohy_gg_._theme_danger_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_1aohy_gg_{display:flex;height:100%;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);overflow:hidden;white-space:pre-wrap;word-break:break-word;font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;outline:0}.___SCell_1aohy_gg_ .___SAccordionToggle_1aohy_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_1aohy_gg_ .___SAccordionToggle_1aohy_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_1aohy_gg_ .___SAccordionToggle_1aohy_gg_.__expanded_1aohy_gg_ svg{transform:rotate(90deg)}.___SCell_1aohy_gg_.__withAccordion_1aohy_gg_,.___SCheckboxCell_1aohy_gg_,.___SRow_1aohy_gg_._accordionType_row_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_{cursor:pointer}.___SCell_1aohy_gg_._use_primary_1aohy_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1aohy_gg_._use_primary_1aohy_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1aohy) - 1)))}.___SCell_1aohy_gg_._use_secondary_1aohy_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1aohy_gg_._use_secondary_1aohy_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1aohy) - 1)))}.___SCell_1aohy_gg_._borders_both_1aohy_gg_,.___SCell_1aohy_gg_._borders_left_1aohy_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_1aohy_gg_._borders_both_1aohy_gg_,.___SCell_1aohy_gg_._borders_right_1aohy_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_1aohy_gg_.__fixed_1aohy_gg_{position:sticky;z-index:2}.___SCell_1aohy_gg_._theme_muted_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_1aohy_gg_._theme_info_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_1aohy_gg_._theme_success_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_1aohy_gg_._theme_warning_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_1aohy_gg_._theme_danger_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_1aohy_gg_{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;align-items:center;justify-content:center;background-color:var(--intergalactic-overlay-limitation-secondary, rgba(255, 255, 255, 0.85))}.___SSpinContainer_1aohy_gg_.__headerHeight_1aohy_gg_{top:var(--headerHeight_1aohy)}.___SEmptyData_1aohy_gg_{grid-column:1/-1}.___SRow_1aohy_gg_._sideIndents_wide_1aohy_gg_ .___SCellWrapper_1aohy_gg_:first-child .___SCell_1aohy_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_1aohy_gg_._sideIndents_wide_1aohy_gg_ .___SCellWrapper_1aohy_gg_:last-child .___SCell_1aohy_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}", /*__inner_css_end__*/"1aohy_gg_"),
|
|
20
20
|
/*__reshadow_css_end__*/
|
|
21
21
|
{
|
|
22
|
-
"__SBody": "
|
|
23
|
-
"__SRow": "
|
|
24
|
-
"__SRowGroup": "
|
|
25
|
-
"__SAccordionRows": "
|
|
26
|
-
"_gridArea": "
|
|
27
|
-
"__SCellWrapper": "
|
|
28
|
-
"__SCollapseRow": "
|
|
29
|
-
"--gridArea": "--
|
|
30
|
-
"__SCell": "
|
|
31
|
-
"_isAccordionRow": "
|
|
32
|
-
"_active": "
|
|
33
|
-
"_theme": "
|
|
34
|
-
"_accordionType_row": "
|
|
35
|
-
"_expanded": "
|
|
36
|
-
"_withAccordion": "
|
|
37
|
-
"_theme_muted": "
|
|
38
|
-
"_theme_info": "
|
|
39
|
-
"_theme_success": "
|
|
40
|
-
"_theme_warning": "
|
|
41
|
-
"_theme_danger": "
|
|
42
|
-
"__SCheckboxCell": "
|
|
43
|
-
"_borders_both": "
|
|
44
|
-
"_borders_left": "
|
|
45
|
-
"_borders_right": "
|
|
46
|
-
"_fixed": "
|
|
47
|
-
"__SSpinContainer": "
|
|
48
|
-
"_headerHeight": "
|
|
49
|
-
"--headerHeight": "--
|
|
50
|
-
"__SEmptyData": "
|
|
51
|
-
"_compact": "
|
|
52
|
-
"--data-aria-level": "--data-aria-
|
|
53
|
-
"__SAccordionToggle": "
|
|
54
|
-
"_use_primary": "
|
|
55
|
-
"_use_secondary": "
|
|
56
|
-
"_sideIndents_wide": "
|
|
22
|
+
"__SBody": "___SBody_1aohy_gg_",
|
|
23
|
+
"__SRow": "___SRow_1aohy_gg_",
|
|
24
|
+
"__SRowGroup": "___SRowGroup_1aohy_gg_",
|
|
25
|
+
"__SAccordionRows": "___SAccordionRows_1aohy_gg_",
|
|
26
|
+
"_gridArea": "__gridArea_1aohy_gg_",
|
|
27
|
+
"__SCellWrapper": "___SCellWrapper_1aohy_gg_",
|
|
28
|
+
"__SCollapseRow": "___SCollapseRow_1aohy_gg_",
|
|
29
|
+
"--gridArea": "--gridArea_1aohy",
|
|
30
|
+
"__SCell": "___SCell_1aohy_gg_",
|
|
31
|
+
"_isAccordionRow": "__isAccordionRow_1aohy_gg_",
|
|
32
|
+
"_active": "__active_1aohy_gg_",
|
|
33
|
+
"_theme": "__theme_1aohy_gg_",
|
|
34
|
+
"_accordionType_row": "_accordionType_row_1aohy_gg_",
|
|
35
|
+
"_expanded": "__expanded_1aohy_gg_",
|
|
36
|
+
"_withAccordion": "__withAccordion_1aohy_gg_",
|
|
37
|
+
"_theme_muted": "_theme_muted_1aohy_gg_",
|
|
38
|
+
"_theme_info": "_theme_info_1aohy_gg_",
|
|
39
|
+
"_theme_success": "_theme_success_1aohy_gg_",
|
|
40
|
+
"_theme_warning": "_theme_warning_1aohy_gg_",
|
|
41
|
+
"_theme_danger": "_theme_danger_1aohy_gg_",
|
|
42
|
+
"__SCheckboxCell": "___SCheckboxCell_1aohy_gg_",
|
|
43
|
+
"_borders_both": "_borders_both_1aohy_gg_",
|
|
44
|
+
"_borders_left": "_borders_left_1aohy_gg_",
|
|
45
|
+
"_borders_right": "_borders_right_1aohy_gg_",
|
|
46
|
+
"_fixed": "__fixed_1aohy_gg_",
|
|
47
|
+
"__SSpinContainer": "___SSpinContainer_1aohy_gg_",
|
|
48
|
+
"_headerHeight": "__headerHeight_1aohy_gg_",
|
|
49
|
+
"--headerHeight": "--headerHeight_1aohy",
|
|
50
|
+
"__SEmptyData": "___SEmptyData_1aohy_gg_",
|
|
51
|
+
"_compact": "__compact_1aohy_gg_",
|
|
52
|
+
"--data-aria-level": "--data-aria-level_1aohy",
|
|
53
|
+
"__SAccordionToggle": "___SAccordionToggle_1aohy_gg_",
|
|
54
|
+
"_use_primary": "_use_primary_1aohy_gg_",
|
|
55
|
+
"_use_secondary": "_use_secondary_1aohy_gg_",
|
|
56
|
+
"_sideIndents_wide": "_sideIndents_wide_1aohy_gg_"
|
|
57
57
|
});
|
|
58
58
|
var DEFAULT_ROW_DURATION = 50;
|
|
59
59
|
var CellRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -17,44 +17,44 @@ import * as React from 'react';
|
|
|
17
17
|
import { Body } from './Body';
|
|
18
18
|
import { MergedColumnsCell, MergedRowsCell } from './MergedCells';
|
|
19
19
|
/*!__reshadow-styles__:"./style.shadow.css"*/
|
|
20
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_1qpmo_gg_,.___SBody_1qpmo_gg_,.___SRowGroup_1qpmo_gg_,.___SRow_1qpmo_gg_{display:contents}.___SBody_1qpmo_gg_.__compact_1qpmo_gg_ .___SCell_1qpmo_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_1qpmo_gg_.__compact_1qpmo_gg_ .___SCell_1qpmo_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_1qpmo) - 1)))}.___SCellWrapper_1qpmo_gg_.__gridArea_1qpmo_gg_,.___SCollapseRow_1qpmo_gg_.__gridArea_1qpmo_gg_,.___SRow_1qpmo_gg_.__gridArea_1qpmo_gg_{grid-area:var(--gridArea_1qpmo)}.___SCellWrapper_1qpmo_gg_{height:100%}.___SAccordionRows_1qpmo_gg_>.___SRow_1qpmo_gg_.__isAccordionRow_1qpmo_gg_:last-child>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_,.___SCollapseRow_1qpmo_gg_.__gridArea_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_1qpmo_gg_ .___SCell_1qpmo_gg_{display:block}.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_).__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_,.___SRow_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_._accordionType_row_1qpmo_gg_.__expanded_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_.__isAccordionRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_muted_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_):not(.__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_muted_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_):not(.__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_),.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_muted_1qpmo_gg_,.___SRow_1qpmo_gg_:not(._accordionType_row_1qpmo_gg_.__expanded_1qpmo_gg_):hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_):not(.__expanded_1qpmo_gg_.__withAccordion_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_info_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_info_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_info_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_success_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_success_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_success_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_warning_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_warning_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_warning_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]._theme_danger_1qpmo_gg_,.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRowGroup_1qpmo_gg_:has(.___SCell_1qpmo_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_danger_1qpmo_gg_,.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_),.___SRow_1qpmo_gg_:hover>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_._theme_danger_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_1qpmo_gg_._theme_muted_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_1qpmo_gg_._theme_info_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_1qpmo_gg_._theme_success_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_1qpmo_gg_._theme_warning_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_ .___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_1qpmo_gg_._theme_danger_1qpmo_gg_.__active_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_:not(.__theme_1qpmo_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_1qpmo_gg_{display:flex;height:100%;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);overflow:hidden;white-space:pre-wrap;word-break:break-word;font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;outline:0}.___SCell_1qpmo_gg_ .___SAccordionToggle_1qpmo_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_1qpmo_gg_ .___SAccordionToggle_1qpmo_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_1qpmo_gg_ .___SAccordionToggle_1qpmo_gg_.__expanded_1qpmo_gg_ svg{transform:rotate(90deg)}.___SCell_1qpmo_gg_.__withAccordion_1qpmo_gg_,.___SCheckboxCell_1qpmo_gg_,.___SRow_1qpmo_gg_._accordionType_row_1qpmo_gg_>.___SCellWrapper_1qpmo_gg_>.___SCell_1qpmo_gg_{cursor:pointer}.___SCell_1qpmo_gg_._use_primary_1qpmo_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1qpmo_gg_._use_primary_1qpmo_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1qpmo) - 1)))}.___SCell_1qpmo_gg_._use_secondary_1qpmo_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1qpmo_gg_._use_secondary_1qpmo_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1qpmo) - 1)))}.___SCell_1qpmo_gg_._borders_both_1qpmo_gg_,.___SCell_1qpmo_gg_._borders_left_1qpmo_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_1qpmo_gg_._borders_both_1qpmo_gg_,.___SCell_1qpmo_gg_._borders_right_1qpmo_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_1qpmo_gg_.__fixed_1qpmo_gg_{position:sticky;z-index:2}.___SCell_1qpmo_gg_._theme_muted_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_1qpmo_gg_._theme_info_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_1qpmo_gg_._theme_success_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_1qpmo_gg_._theme_warning_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_1qpmo_gg_._theme_danger_1qpmo_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_1qpmo_gg_{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;align-items:center;justify-content:center;background-color:var(--intergalactic-overlay-limitation-secondary, rgba(255, 255, 255, 0.85))}.___SSpinContainer_1qpmo_gg_.__headerHeight_1qpmo_gg_{top:var(--headerHeight_1qpmo)}.___SEmptyData_1qpmo_gg_{grid-column:1/-1}.___SRow_1qpmo_gg_._sideIndents_wide_1qpmo_gg_ .___SCellWrapper_1qpmo_gg_:first-child .___SCell_1qpmo_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_1qpmo_gg_._sideIndents_wide_1qpmo_gg_ .___SCellWrapper_1qpmo_gg_:last-child .___SCell_1qpmo_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}", /*__inner_css_end__*/"1qpmo_gg_"),
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_1aohy_gg_,.___SBody_1aohy_gg_,.___SRowGroup_1aohy_gg_,.___SRow_1aohy_gg_{display:contents}.___SBody_1aohy_gg_.__compact_1aohy_gg_ .___SCell_1aohy_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_1aohy_gg_.__compact_1aohy_gg_ .___SCell_1aohy_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_1aohy) - 1)))}.___SCellWrapper_1aohy_gg_.__gridArea_1aohy_gg_,.___SCollapseRow_1aohy_gg_.__gridArea_1aohy_gg_,.___SRow_1aohy_gg_.__gridArea_1aohy_gg_{grid-area:var(--gridArea_1aohy)}.___SCellWrapper_1aohy_gg_{height:100%}.___SAccordionRows_1aohy_gg_>.___SRow_1aohy_gg_.__isAccordionRow_1aohy_gg_:last-child>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_,.___SCollapseRow_1aohy_gg_.__gridArea_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_1aohy_gg_ .___SCell_1aohy_gg_{display:block}.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_).__expanded_1aohy_gg_.__withAccordion_1aohy_gg_,.___SRow_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_._accordionType_row_1aohy_gg_.__expanded_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_.__isAccordionRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_muted_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_muted_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_):not(.__expanded_1aohy_gg_.__withAccordion_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_muted_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_muted_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_):not(.__expanded_1aohy_gg_.__withAccordion_1aohy_gg_),.___SRow_1aohy_gg_._theme_muted_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_muted_1aohy_gg_,.___SRow_1aohy_gg_:not(._accordionType_row_1aohy_gg_.__expanded_1aohy_gg_):hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_):not(.__expanded_1aohy_gg_.__withAccordion_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_info_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_info_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_info_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_info_1aohy_gg_,.___SRow_1aohy_gg_._theme_info_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_info_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_success_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_success_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_success_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_success_1aohy_gg_,.___SRow_1aohy_gg_._theme_success_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_success_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_warning_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_warning_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_warning_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_warning_1aohy_gg_,.___SRow_1aohy_gg_._theme_warning_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_warning_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_._theme_danger_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_[data-grouped-by=rowgroup]._theme_danger_1aohy_gg_,.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_._theme_danger_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRowGroup_1aohy_gg_:has(.___SCell_1aohy_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_danger_1aohy_gg_,.___SRow_1aohy_gg_._theme_danger_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_),.___SRow_1aohy_gg_:hover>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_._theme_danger_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_1aohy_gg_._theme_muted_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_1aohy_gg_._theme_muted_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_1aohy_gg_._theme_info_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_1aohy_gg_._theme_info_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_1aohy_gg_._theme_success_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_1aohy_gg_._theme_success_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_1aohy_gg_._theme_warning_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_1aohy_gg_._theme_warning_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_1aohy_gg_._theme_danger_1aohy_gg_ .___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_1aohy_gg_._theme_danger_1aohy_gg_.__active_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_:not(.__theme_1aohy_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_1aohy_gg_{display:flex;height:100%;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);overflow:hidden;white-space:pre-wrap;word-break:break-word;font-feature-settings:\"tnum\";font-variant-numeric:tabular-nums;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;outline:0}.___SCell_1aohy_gg_ .___SAccordionToggle_1aohy_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_1aohy_gg_ .___SAccordionToggle_1aohy_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_1aohy_gg_ .___SAccordionToggle_1aohy_gg_.__expanded_1aohy_gg_ svg{transform:rotate(90deg)}.___SCell_1aohy_gg_.__withAccordion_1aohy_gg_,.___SCheckboxCell_1aohy_gg_,.___SRow_1aohy_gg_._accordionType_row_1aohy_gg_>.___SCellWrapper_1aohy_gg_>.___SCell_1aohy_gg_{cursor:pointer}.___SCell_1aohy_gg_._use_primary_1aohy_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1aohy_gg_._use_primary_1aohy_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1aohy) - 1)))}.___SCell_1aohy_gg_._use_secondary_1aohy_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1aohy_gg_._use_secondary_1aohy_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-2x, 8px))*(var(--data-aria-level_1aohy) - 1)))}.___SCell_1aohy_gg_._borders_both_1aohy_gg_,.___SCell_1aohy_gg_._borders_left_1aohy_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_1aohy_gg_._borders_both_1aohy_gg_,.___SCell_1aohy_gg_._borders_right_1aohy_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_1aohy_gg_.__fixed_1aohy_gg_{position:sticky;z-index:2}.___SCell_1aohy_gg_._theme_muted_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_1aohy_gg_._theme_info_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_1aohy_gg_._theme_success_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_1aohy_gg_._theme_warning_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_1aohy_gg_._theme_danger_1aohy_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_1aohy_gg_{position:absolute;left:0;right:0;bottom:0;top:0;display:flex;align-items:center;justify-content:center;background-color:var(--intergalactic-overlay-limitation-secondary, rgba(255, 255, 255, 0.85))}.___SSpinContainer_1aohy_gg_.__headerHeight_1aohy_gg_{top:var(--headerHeight_1aohy)}.___SEmptyData_1aohy_gg_{grid-column:1/-1}.___SRow_1aohy_gg_._sideIndents_wide_1aohy_gg_ .___SCellWrapper_1aohy_gg_:first-child .___SCell_1aohy_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_1aohy_gg_._sideIndents_wide_1aohy_gg_ .___SCellWrapper_1aohy_gg_:last-child .___SCell_1aohy_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}", /*__inner_css_end__*/"1aohy_gg_"),
|
|
21
21
|
/*__reshadow_css_end__*/
|
|
22
22
|
{
|
|
23
|
-
"__SBody": "
|
|
24
|
-
"__SRow": "
|
|
25
|
-
"__SRowGroup": "
|
|
26
|
-
"__SAccordionRows": "
|
|
27
|
-
"_gridArea": "
|
|
28
|
-
"__SCellWrapper": "
|
|
29
|
-
"__SCollapseRow": "
|
|
30
|
-
"--gridArea": "--
|
|
31
|
-
"__SCell": "
|
|
32
|
-
"_isAccordionRow": "
|
|
33
|
-
"_active": "
|
|
34
|
-
"_theme": "
|
|
35
|
-
"_accordionType_row": "
|
|
36
|
-
"_expanded": "
|
|
37
|
-
"_withAccordion": "
|
|
38
|
-
"_theme_muted": "
|
|
39
|
-
"_theme_info": "
|
|
40
|
-
"_theme_success": "
|
|
41
|
-
"_theme_warning": "
|
|
42
|
-
"_theme_danger": "
|
|
43
|
-
"__SCheckboxCell": "
|
|
44
|
-
"_borders_both": "
|
|
45
|
-
"_borders_left": "
|
|
46
|
-
"_borders_right": "
|
|
47
|
-
"_fixed": "
|
|
48
|
-
"__SSpinContainer": "
|
|
49
|
-
"_headerHeight": "
|
|
50
|
-
"--headerHeight": "--
|
|
51
|
-
"__SEmptyData": "
|
|
52
|
-
"_compact": "
|
|
53
|
-
"--data-aria-level": "--data-aria-
|
|
54
|
-
"__SAccordionToggle": "
|
|
55
|
-
"_use_primary": "
|
|
56
|
-
"_use_secondary": "
|
|
57
|
-
"_sideIndents_wide": "
|
|
23
|
+
"__SBody": "___SBody_1aohy_gg_",
|
|
24
|
+
"__SRow": "___SRow_1aohy_gg_",
|
|
25
|
+
"__SRowGroup": "___SRowGroup_1aohy_gg_",
|
|
26
|
+
"__SAccordionRows": "___SAccordionRows_1aohy_gg_",
|
|
27
|
+
"_gridArea": "__gridArea_1aohy_gg_",
|
|
28
|
+
"__SCellWrapper": "___SCellWrapper_1aohy_gg_",
|
|
29
|
+
"__SCollapseRow": "___SCollapseRow_1aohy_gg_",
|
|
30
|
+
"--gridArea": "--gridArea_1aohy",
|
|
31
|
+
"__SCell": "___SCell_1aohy_gg_",
|
|
32
|
+
"_isAccordionRow": "__isAccordionRow_1aohy_gg_",
|
|
33
|
+
"_active": "__active_1aohy_gg_",
|
|
34
|
+
"_theme": "__theme_1aohy_gg_",
|
|
35
|
+
"_accordionType_row": "_accordionType_row_1aohy_gg_",
|
|
36
|
+
"_expanded": "__expanded_1aohy_gg_",
|
|
37
|
+
"_withAccordion": "__withAccordion_1aohy_gg_",
|
|
38
|
+
"_theme_muted": "_theme_muted_1aohy_gg_",
|
|
39
|
+
"_theme_info": "_theme_info_1aohy_gg_",
|
|
40
|
+
"_theme_success": "_theme_success_1aohy_gg_",
|
|
41
|
+
"_theme_warning": "_theme_warning_1aohy_gg_",
|
|
42
|
+
"_theme_danger": "_theme_danger_1aohy_gg_",
|
|
43
|
+
"__SCheckboxCell": "___SCheckboxCell_1aohy_gg_",
|
|
44
|
+
"_borders_both": "_borders_both_1aohy_gg_",
|
|
45
|
+
"_borders_left": "_borders_left_1aohy_gg_",
|
|
46
|
+
"_borders_right": "_borders_right_1aohy_gg_",
|
|
47
|
+
"_fixed": "__fixed_1aohy_gg_",
|
|
48
|
+
"__SSpinContainer": "___SSpinContainer_1aohy_gg_",
|
|
49
|
+
"_headerHeight": "__headerHeight_1aohy_gg_",
|
|
50
|
+
"--headerHeight": "--headerHeight_1aohy",
|
|
51
|
+
"__SEmptyData": "___SEmptyData_1aohy_gg_",
|
|
52
|
+
"_compact": "__compact_1aohy_gg_",
|
|
53
|
+
"--data-aria-level": "--data-aria-level_1aohy",
|
|
54
|
+
"__SAccordionToggle": "___SAccordionToggle_1aohy_gg_",
|
|
55
|
+
"_use_primary": "_use_primary_1aohy_gg_",
|
|
56
|
+
"_use_secondary": "_use_secondary_1aohy_gg_",
|
|
57
|
+
"_sideIndents_wide": "_sideIndents_wide_1aohy_gg_"
|
|
58
58
|
});
|
|
59
59
|
import { ACCORDION, SELECT_ALL } from '../DataTable/DataTable';
|
|
60
60
|
var RowRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -24,35 +24,35 @@ import { isFocusInside, hasFocusableIn } from '@semcore/core/lib/utils/use/useFo
|
|
|
24
24
|
import { NoData } from '@semcore/widget-empty';
|
|
25
25
|
import * as React from 'react';
|
|
26
26
|
/*!__reshadow-styles__:"./dataTable.shadow.css"*/
|
|
27
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
27
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SDataTable_e0rog_gg_{display:grid;align-items:start;min-width:-moz-fit-content;min-width:fit-content}.___SDataTable_e0rog_gg_.__gridTemplateColumns_e0rog_gg_{grid-template-columns:var(--gridTemplateColumns_e0rog)}.___SDataTable_e0rog_gg_.__gridTemplateAreas_e0rog_gg_{grid-template-areas:var(--gridTemplateAreas_e0rog)}.___SDataTable_e0rog_gg_.__gridTemplateRows_e0rog_gg_{grid-template-rows:var(--gridTemplateRows_e0rog)}", /*__inner_css_end__*/"e0rog_gg_"),
|
|
28
28
|
/*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__SDataTable": "
|
|
31
|
-
"_gridTemplateColumns": "
|
|
32
|
-
"--gridTemplateColumns": "--
|
|
33
|
-
"_gridTemplateAreas": "
|
|
34
|
-
"--gridTemplateAreas": "--
|
|
35
|
-
"_gridTemplateRows": "
|
|
36
|
-
"--gridTemplateRows": "--
|
|
30
|
+
"__SDataTable": "___SDataTable_e0rog_gg_",
|
|
31
|
+
"_gridTemplateColumns": "__gridTemplateColumns_e0rog_gg_",
|
|
32
|
+
"--gridTemplateColumns": "--gridTemplateColumns_e0rog",
|
|
33
|
+
"_gridTemplateAreas": "__gridTemplateAreas_e0rog_gg_",
|
|
34
|
+
"--gridTemplateAreas": "--gridTemplateAreas_e0rog",
|
|
35
|
+
"_gridTemplateRows": "__gridTemplateRows_e0rog_gg_",
|
|
36
|
+
"--gridTemplateRows": "--gridTemplateRows_e0rog"
|
|
37
37
|
});
|
|
38
38
|
/*!__reshadow-styles__:"../../style/scroll-shadows.shadow.css"*/
|
|
39
|
-
var scrollStyles = (/*__reshadow_css_start__*/_sstyled2.insert(/*__inner_css_start__*/".
|
|
39
|
+
var scrollStyles = (/*__reshadow_css_start__*/_sstyled2.insert(/*__inner_css_start__*/".___SScrollArea_rz9ze_gg_{width:-moz-fit-content;width:fit-content}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_{overflow:visible;overflow:initial}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_._scrollDirection_both_rz9ze_gg_{overflow:auto}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_._scrollDirection_horizontal_rz9ze_gg_{overflow-x:auto;overflow-y:initial}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_._scrollDirection_vertical_rz9ze_gg_{overflow-x:initial;overflow-y:auto}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_.__loading_rz9ze_gg_{overflow:hidden}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_.__headerHeight_rz9ze_gg_{scroll-padding-top:var(--headerHeight_rz9ze)}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_.__leftScrollPadding_rz9ze_gg_{scroll-padding-left:var(--leftScrollPadding_rz9ze)}.___SScrollArea_rz9ze_gg_ .___SContainer_rz9ze_gg_.__rightScrollPadding_rz9ze_gg_{scroll-padding-right:var(--rightScrollPadding_rz9ze)}.___SScrollArea_rz9ze_gg_ .___SShadowVertical_rz9ze_gg_:before{display:none}.___SScrollArea_rz9ze_gg_ .___SShadowHorizontal_rz9ze_gg_:after,.___SScrollArea_rz9ze_gg_ .___SShadowHorizontal_rz9ze_gg_:before,.___SScrollArea_rz9ze_gg_ .___SShadowVertical_rz9ze_gg_:after{z-index:2}", /*__inner_css_end__*/"rz9ze_gg_"),
|
|
40
40
|
/*__reshadow_css_end__*/
|
|
41
41
|
{
|
|
42
|
-
"__SScrollArea": "
|
|
43
|
-
"__SContainer": "
|
|
44
|
-
"_scrollDirection_both": "
|
|
45
|
-
"_scrollDirection_horizontal": "
|
|
46
|
-
"_scrollDirection_vertical": "
|
|
47
|
-
"_loading": "
|
|
48
|
-
"_headerHeight": "
|
|
49
|
-
"--headerHeight": "--
|
|
50
|
-
"_leftScrollPadding": "
|
|
51
|
-
"--leftScrollPadding": "--
|
|
52
|
-
"_rightScrollPadding": "
|
|
53
|
-
"--rightScrollPadding": "--
|
|
54
|
-
"__SShadowVertical": "
|
|
55
|
-
"__SShadowHorizontal": "
|
|
42
|
+
"__SScrollArea": "___SScrollArea_rz9ze_gg_",
|
|
43
|
+
"__SContainer": "___SContainer_rz9ze_gg_",
|
|
44
|
+
"_scrollDirection_both": "_scrollDirection_both_rz9ze_gg_",
|
|
45
|
+
"_scrollDirection_horizontal": "_scrollDirection_horizontal_rz9ze_gg_",
|
|
46
|
+
"_scrollDirection_vertical": "_scrollDirection_vertical_rz9ze_gg_",
|
|
47
|
+
"_loading": "__loading_rz9ze_gg_",
|
|
48
|
+
"_headerHeight": "__headerHeight_rz9ze_gg_",
|
|
49
|
+
"--headerHeight": "--headerHeight_rz9ze",
|
|
50
|
+
"_leftScrollPadding": "__leftScrollPadding_rz9ze_gg_",
|
|
51
|
+
"--leftScrollPadding": "--leftScrollPadding_rz9ze",
|
|
52
|
+
"_rightScrollPadding": "__rightScrollPadding_rz9ze_gg_",
|
|
53
|
+
"--rightScrollPadding": "--rightScrollPadding_rz9ze",
|
|
54
|
+
"__SShadowVertical": "___SShadowVertical_rz9ze_gg_",
|
|
55
|
+
"__SShadowHorizontal": "___SShadowHorizontal_rz9ze_gg_"
|
|
56
56
|
});
|
|
57
57
|
import { localizedMessages } from '../../translations/__intergalactic-dynamic-locales';
|
|
58
58
|
import { Body } from '../Body/Body';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
2
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -19,30 +20,30 @@ import SortAsc from '@semcore/icon/SortAsc/m';
|
|
|
19
20
|
import SortDesc from '@semcore/icon/SortDesc/m';
|
|
20
21
|
import * as React from 'react';
|
|
21
22
|
/*!__reshadow-styles__:"./style.shadow.css"*/
|
|
22
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
23
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SGroupContainer_gxx2v_gg_,.___SHead_gxx2v_gg_{display:contents}.___SHead_gxx2v_gg_.__sticky_gxx2v_gg_ .___SColumn_gxx2v_gg_{position:sticky;top:0;z-index:2}.___SHead_gxx2v_gg_.__sticky_gxx2v_gg_ .___SGroup_gxx2v_gg_{top:0}.___SHead_gxx2v_gg_.__sticky_gxx2v_gg_ .___SGroupContainer_gxx2v_gg_>.___SColumn_gxx2v_gg_{position:sticky;z-index:2}.___SHead_gxx2v_gg_.__compact_gxx2v_gg_ .___SColumn_gxx2v_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SColumn_gxx2v_gg_,.___SGroup_gxx2v_gg_{display:flex;align-items:flex-start;font-size:var(--intergalactic-fs-100, 12px);color:var(--intergalactic-text-primary, #191b23);box-sizing:border-box;height:100%;position:relative;transition:width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out,min-width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out,max-width calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out;overflow:hidden}.___SGroup_gxx2v_gg_{justify-content:center;text-align:center;background-color:var(--intergalactic-table-th-primary-cell, #f4f5f9)}.___SGroup_gxx2v_gg_._use_primary_gxx2v_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SGroup_gxx2v_gg_._use_primary_gxx2v_gg_:has(~.___SColumn_gxx2v_gg_.__visibleSort_gxx2v_gg_){background-color:var(--intergalactic-table-th-primary-cell-hover, #e0e1e9)}.___SGroup_gxx2v_gg_._use_secondary_gxx2v_gg_{padding:var(--intergalactic-spacing-2x, 8px)}.___SColumn_gxx2v_gg_._borders_both_gxx2v_gg_,.___SColumn_gxx2v_gg_._borders_left_gxx2v_gg_,.___SGroup_gxx2v_gg_._borders_both_gxx2v_gg_,.___SGroup_gxx2v_gg_._borders_left_gxx2v_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SColumn_gxx2v_gg_._borders_both_gxx2v_gg_,.___SColumn_gxx2v_gg_._borders_right_gxx2v_gg_,.___SGroup_gxx2v_gg_._borders_both_gxx2v_gg_,.___SGroup_gxx2v_gg_._borders_right_gxx2v_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SColumn_gxx2v_gg_._use_primary_gxx2v_gg_{padding:var(--intergalactic-spacing-3x, 12px);border-bottom:1px solid var(--intergalactic-border-secondary, #e0e1e9);background-color:var(--intergalactic-table-th-primary-cell, #f4f5f9)}.___SColumn_gxx2v_gg_._use_primary_gxx2v_gg_ .___SSortWrapper_gxx2v_gg_::before{background:linear-gradient(270deg,var(--intergalactic-table-th-primary-cell-hover, #e0e1e9) 67.5%,rgba(224,225,233,0) 105%)}.___SColumn_gxx2v_gg_._use_primary_gxx2v_gg_.__visibleSort_gxx2v_gg_{background-color:var(--intergalactic-table-th-primary-cell-hover, #e0e1e9)}.___SColumn_gxx2v_gg_._use_primary_gxx2v_gg_.__visibleSort_gxx2v_gg_ .___SSortWrapper_gxx2v_gg_{flex-basis:calc(var(--intergalactic-spacing-1x, 4px) + 16px);opacity:1}.___SColumn_gxx2v_gg_._use_primary_gxx2v_gg_.__visibleSort_gxx2v_gg_ .___SSortButton_gxx2v_gg_,.___SColumn_gxx2v_gg_._use_primary_gxx2v_gg_.__visibleSort_gxx2v_gg_ .___SSortWrapper_gxx2v_gg_::before,.___SColumn_gxx2v_gg_._use_secondary_gxx2v_gg_.__visibleSort_gxx2v_gg_ .___SSortWrapper_gxx2v_gg_::before{display:flex;opacity:1}.___SColumn_gxx2v_gg_._use_secondary_gxx2v_gg_{padding:var(--intergalactic-spacing-2x, 8px);border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6);background-color:var(--intergalactic-table-th-secondary-cell, #ffffff)}.___SColumn_gxx2v_gg_._use_secondary_gxx2v_gg_ .___SSortWrapper_gxx2v_gg_::before{background:linear-gradient(270deg,var(--intergalactic-table-th-secondary-cell, #ffffff) 67.5%,rgba(255,255,255,0) 105%)}.___SColumn_gxx2v_gg_._use_secondary_gxx2v_gg_.__visibleSort_gxx2v_gg_ .___SSortWrapper_gxx2v_gg_{flex-basis:calc(var(--intergalactic-spacing-1x, 4px) + 16px);opacity:1}.___SColumn_gxx2v_gg_._use_secondary_gxx2v_gg_.__visibleSort_gxx2v_gg_ .___SSortButton_gxx2v_gg_{display:flex;opacity:1}.___SColumn_gxx2v_gg_.__gridArea_gxx2v_gg_,.___SGroupTitle_gxx2v_gg_.__gridArea_gxx2v_gg_,.___SGroup_gxx2v_gg_.__gridArea_gxx2v_gg_{grid-area:var(--gridArea_gxx2v)}.___SHead_gxx2v_gg_ .___SColumn_gxx2v_gg_.__fixed_gxx2v_gg_,.___SHead_gxx2v_gg_ .___SGroup_gxx2v_gg_.__fixed_gxx2v_gg_,.___SHead_gxx2v_gg_.__sticky_gxx2v_gg_ .___SColumn_gxx2v_gg_.__fixed_gxx2v_gg_,.___SHead_gxx2v_gg_.__sticky_gxx2v_gg_ .___SGroup_gxx2v_gg_{position:sticky;z-index:3}@media (hover:hover){.___SColumn_gxx2v_gg_.__sortable_gxx2v_gg_:hover{cursor:pointer}}.___SSortWrapper_gxx2v_gg_{align-items:center;display:flex;flex-shrink:1;position:relative;flex-basis:0;min-height:16px;opacity:0;transition:all calc(var(--intergalactic-duration-extra-fast, 100)*1ms) ease-in-out}.___SSortButton_gxx2v_gg_,.___SSortWrapper_gxx2v_gg_:before{display:none;position:absolute;right:0;opacity:0;transition:opacity .3s ease}.___SSortWrapper_gxx2v_gg_:before{content:\"\";top:0;width:20px;height:100%}.___SSortButton_gxx2v_gg_{fill:var(--intergalactic-icon-secondary-neutral-hover-active, #878992);top:calc(-1*(1em*1.25 - 16px));margin-left:var(--intergalactic-spacing-1x, 4px)}.___SHead_gxx2v_gg_._sideIndents_wide_gxx2v_gg_ .___SColumn_gxx2v_gg_:first-child{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SHead_gxx2v_gg_._sideIndents_wide_gxx2v_gg_ .___SColumn_gxx2v_gg_:last-child{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeadCheckboxCol_gxx2v_gg_{cursor:pointer}", /*__inner_css_end__*/"gxx2v_gg_"),
|
|
23
24
|
/*__reshadow_css_end__*/
|
|
24
25
|
{
|
|
25
|
-
"__SHead": "
|
|
26
|
-
"__SGroupContainer": "
|
|
27
|
-
"_sticky": "
|
|
28
|
-
"__SColumn": "
|
|
29
|
-
"__SGroup": "
|
|
30
|
-
"_compact": "
|
|
31
|
-
"_use_secondary": "
|
|
32
|
-
"_borders_both": "
|
|
33
|
-
"_borders_left": "
|
|
34
|
-
"_borders_right": "
|
|
35
|
-
"_gridArea": "
|
|
36
|
-
"__SGroupTitle": "
|
|
37
|
-
"--gridArea": "--
|
|
38
|
-
"_fixed": "
|
|
39
|
-
"_sortable": "
|
|
40
|
-
"__SSortWrapper": "
|
|
41
|
-
"__SSortButton": "
|
|
42
|
-
"__SHeadCheckboxCol": "
|
|
43
|
-
"_use_primary": "
|
|
44
|
-
"_visibleSort": "
|
|
45
|
-
"_sideIndents_wide": "
|
|
26
|
+
"__SHead": "___SHead_gxx2v_gg_",
|
|
27
|
+
"__SGroupContainer": "___SGroupContainer_gxx2v_gg_",
|
|
28
|
+
"_sticky": "__sticky_gxx2v_gg_",
|
|
29
|
+
"__SColumn": "___SColumn_gxx2v_gg_",
|
|
30
|
+
"__SGroup": "___SGroup_gxx2v_gg_",
|
|
31
|
+
"_compact": "__compact_gxx2v_gg_",
|
|
32
|
+
"_use_secondary": "_use_secondary_gxx2v_gg_",
|
|
33
|
+
"_borders_both": "_borders_both_gxx2v_gg_",
|
|
34
|
+
"_borders_left": "_borders_left_gxx2v_gg_",
|
|
35
|
+
"_borders_right": "_borders_right_gxx2v_gg_",
|
|
36
|
+
"_gridArea": "__gridArea_gxx2v_gg_",
|
|
37
|
+
"__SGroupTitle": "___SGroupTitle_gxx2v_gg_",
|
|
38
|
+
"--gridArea": "--gridArea_gxx2v",
|
|
39
|
+
"_fixed": "__fixed_gxx2v_gg_",
|
|
40
|
+
"_sortable": "__sortable_gxx2v_gg_",
|
|
41
|
+
"__SSortWrapper": "___SSortWrapper_gxx2v_gg_",
|
|
42
|
+
"__SSortButton": "___SSortButton_gxx2v_gg_",
|
|
43
|
+
"__SHeadCheckboxCol": "___SHeadCheckboxCol_gxx2v_gg_",
|
|
44
|
+
"_use_primary": "_use_primary_gxx2v_gg_",
|
|
45
|
+
"_visibleSort": "__visibleSort_gxx2v_gg_",
|
|
46
|
+
"_sideIndents_wide": "_sideIndents_wide_gxx2v_gg_"
|
|
46
47
|
});
|
|
47
48
|
var SORTING_ICON = {
|
|
48
49
|
desc: SortDesc,
|
|
@@ -276,17 +277,21 @@ export var Column = /*#__PURE__*/function (_Component) {
|
|
|
276
277
|
parent = _this$asProps4.parent,
|
|
277
278
|
sortableColumnDescribeId = _this$asProps4.sortableColumnDescribeId,
|
|
278
279
|
Children = _this$asProps4.Children;
|
|
279
|
-
var
|
|
280
|
-
|
|
280
|
+
var _ref3 = sort !== null && sort !== void 0 ? sort : [undefined, undefined],
|
|
281
|
+
_ref4 = _slicedToArray(_ref3, 2),
|
|
282
|
+
sortBy = _ref4[0],
|
|
283
|
+
sortDirection = _ref4[1];
|
|
284
|
+
var isSorted = sortBy === name && !!sortDirection;
|
|
285
|
+
var SSortIcon = isSorted ? SORTING_ICON[sortDirection] : SORTING_ICON[this.defaultDirection];
|
|
281
286
|
var visibleSort = Boolean(sortable) && (this.state.sortVisible || isSorted);
|
|
282
287
|
var ariaDescribedBy = [];
|
|
283
|
-
if (
|
|
288
|
+
if (sortable) {
|
|
284
289
|
ariaDescribedBy.push(sortableColumnDescribeId);
|
|
285
290
|
}
|
|
286
291
|
if (parent) {
|
|
287
292
|
ariaDescribedBy.push("igc-table-".concat(uid, "-").concat(parent.name, "-group"));
|
|
288
293
|
}
|
|
289
|
-
var ariaSortValue =
|
|
294
|
+
var ariaSortValue = isSorted ? ARIA_SORT[sortDirection] : undefined;
|
|
290
295
|
return _ref2 = sstyled(styles), /*#__PURE__*/React.createElement(SColumn, _ref2.cn("SColumn", _objectSpread({}, _assignProps({
|
|
291
296
|
"ref": this.columnRef,
|
|
292
297
|
"role": 'columnheader',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Column.js","names":["Flex","ButtonLink","Component","lastInteraction","Root","sstyled","canUseDOM","getFocusableIn","isFocusInside","SortAsc","SortDesc","React","style","_sstyled","insert","SORTING_ICON","desc","asc","ARIA_SORT","SORT_ICON_WIDTH","DEFAULT_DIRECTION","reversedSortDirection","Column","_Component","_this","_classCallCheck","_len","arguments","length","args","Array","_key","_callSuper","concat","_defineProperty","createRef","sortVisible","node","columnRef","current","_this$columnRef$curre","_this$columnRef$curre2","clonedColumn","document","createElement","computedStyle","window","getComputedStyle","childNodes","forEach","sortWrapperRef","append","cloneNode","setProperty","styles","key","getPropertyValue","getPropertyPriority","body","appendChild","computedWidth","Math","ceil","getBoundingClientRect","width","removeChild","defaultNodeWidth","clientWidth","freeSpace","setState","e","relatedTarget","currentTarget","isKeyboard","_this$asProps","asProps","sort","onSortChange","name","isMouse","target","sortDirection","defaultDirection","lockedCell","focusableChildren","from","children","flatMap","_this$lockedCell$","focus","startsWith","stopPropagation","shiftKey","_focusableChildren","preventDefault","_focusableChildren$","_focusableChildren$2","_this$lockedCell$2","setAttribute","cellElement","_inherits","_createClass","value","componentDidMount","_this$asProps2","parent","sticky","changeSortSize","_columnElement$parent","columnElement","groupElement","parentElement","item","groupHeight","height","changeTemplateColumnBySort","componentDidUpdate","prevProps","_prevProps$sort","_this$asProps$sort","_this$asProps3","tableRef","gridTemplateColumns","columnIndex","newWidth","calculateActiveColumnMinWidth","setTimeout","map","gtcWidth","index","join","get","sortable","render","_ref","_ref2","SColumn","SSortWrapper","SSortButton","_this$asProps4","uid","sortableColumnDescribeId","Children","SSortIcon","isSorted","visibleSort","Boolean","state","ariaDescribedBy","push","ariaSortValue","undefined","cn","_objectSpread","_assignProps","handleMouseEnter","handleMouseLeave","handleFocusCell","handleBlur","handleKeyDown","handleSortClick","Addon","tag"],"sources":["../../../../src/components/Head/Column.tsx"],"sourcesContent":["import { Flex } from '@semcore/base-components';\nimport { ButtonLink } from '@semcore/button';\nimport { Component, lastInteraction, Root, sstyled } from '@semcore/core';\nimport canUseDOM from '@semcore/core/lib/utils/canUseDOM';\nimport { getFocusableIn } from '@semcore/core/lib/utils/focus-lock/getFocusableIn';\nimport { isFocusInside } from '@semcore/core/lib/utils/focus-lock/isFocusInside';\nimport type Icon from '@semcore/icon';\nimport SortAsc from '@semcore/icon/SortAsc/m';\nimport SortDesc from '@semcore/icon/SortDesc/m';\nimport * as React from 'react';\n\nimport type { ColumnPropsInner, DataTableColumnProps } from './Column.types';\nimport style from './style.shadow.css';\nimport type { DataTableData, SortDirection } from '../DataTable/DataTable.types';\n\nconst SORTING_ICON: { [key in SortDirection]: typeof Icon } = {\n desc: SortDesc,\n asc: SortAsc,\n} as const;\n\nconst ARIA_SORT = {\n desc: 'descending',\n asc: 'ascending',\n} as const;\n\nconst SORT_ICON_WIDTH = 20;\n\nconst DEFAULT_DIRECTION = 'desc';\n\nconst reversedSortDirection: { [direction in SortDirection]: SortDirection } = {\n desc: 'asc',\n asc: 'desc',\n};\n\ntype State = {\n sortVisible: boolean;\n};\n\nexport class Column<D extends DataTableData> extends Component<\n DataTableColumnProps,\n {},\n {},\n [],\n ColumnPropsInner<D>\n> {\n static displayName = 'Column';\n static style = style;\n\n lockedCell: [HTMLElement | null, boolean] = [null, false];\n\n columnRef = React.createRef<HTMLDivElement>();\n sortWrapperRef = React.createRef<HTMLDivElement>();\n\n state: State = {\n sortVisible: false,\n };\n\n componentDidMount() {\n const { parent, sticky, changeSortSize, name, sort } = this.asProps;\n\n if (parent && sticky) {\n const columnElement = this.columnRef.current;\n const groupElement = columnElement?.parentElement?.children.item(0);\n\n const groupHeight = groupElement?.getBoundingClientRect().height;\n\n if (groupHeight) {\n columnElement?.style.setProperty('top', `${groupHeight}px`);\n }\n }\n\n if (canUseDOM() && changeSortSize && sort?.[0] === name) {\n this.changeTemplateColumnBySort();\n }\n }\n\n componentDidUpdate(prevProps: DataTableColumnProps & ColumnPropsInner<D>): void {\n if (\n this.asProps.changeSortSize &&\n canUseDOM() &&\n prevProps.sort?.[0] !== this.asProps.sort?.[0]\n ) {\n this.changeTemplateColumnBySort();\n }\n }\n\n changeTemplateColumnBySort() {\n const { tableRef, gridTemplateColumns, columnIndex, sort, name } = this.asProps;\n\n if (sort?.[0] === name) {\n const newWidth = this.calculateActiveColumnMinWidth();\n\n setTimeout(() => {\n if (tableRef.current && newWidth !== null) {\n tableRef.current.style.setProperty(\n 'grid-template-columns',\n gridTemplateColumns\n .map((gtcWidth, index) => {\n if (index === columnIndex) {\n return `${newWidth}px`;\n }\n return gtcWidth;\n })\n .join(' '),\n );\n }\n });\n } else if (sort?.[0] !== name) {\n setTimeout(() => {\n if (tableRef.current) {\n tableRef.current.style.setProperty(\n 'grid-template-columns',\n gridTemplateColumns.join(' '),\n );\n }\n });\n }\n }\n\n calculateActiveColumnMinWidth = (): number | null => {\n const node = this.columnRef.current;\n\n if (node) {\n const clonedColumn = document.createElement('div');\n const computedStyle = window.getComputedStyle(node);\n\n node.childNodes.forEach((node) => {\n if (this.sortWrapperRef.current !== node) {\n clonedColumn.append(node.cloneNode(true));\n }\n });\n\n clonedColumn.style.setProperty('visibility', 'hidden', 'important');\n\n const styles = [\n 'display',\n 'flex',\n 'margin',\n 'padding',\n 'background',\n 'font-style',\n 'font-width',\n 'font-size',\n 'font-weight',\n ];\n\n styles.forEach((key) => {\n clonedColumn.style.setProperty(\n key,\n computedStyle.getPropertyValue(key),\n computedStyle.getPropertyPriority(key),\n );\n });\n\n clonedColumn.style.setProperty('width', 'fit-content', 'important');\n\n document.body.appendChild(clonedColumn);\n\n const computedWidth = Math.ceil(clonedColumn.getBoundingClientRect().width);\n\n document.body.removeChild(clonedColumn);\n\n const defaultNodeWidth = this.columnRef.current?.clientWidth ?? 0;\n\n if (computedWidth >= defaultNodeWidth) {\n return defaultNodeWidth + SORT_ICON_WIDTH;\n } else {\n const freeSpace = defaultNodeWidth - computedWidth;\n\n if (freeSpace < SORT_ICON_WIDTH) {\n return computedWidth + SORT_ICON_WIDTH;\n }\n }\n }\n\n return null;\n };\n\n get defaultDirection() {\n const { sortable } = this.asProps;\n\n if (typeof sortable === 'string') {\n return sortable;\n }\n\n return DEFAULT_DIRECTION;\n }\n\n handleMouseEnter = () => {\n this.setState({ sortVisible: true });\n };\n\n handleMouseLeave = () => {\n this.setState({ sortVisible: false });\n };\n\n handleBlur = (e: React.FocusEvent<HTMLElement>) => {\n const relatedTarget = e.relatedTarget as HTMLElement | undefined;\n if (!isFocusInside(e.currentTarget, relatedTarget) && lastInteraction.isKeyboard()) {\n this.setState({ sortVisible: false });\n }\n };\n\n handleSortClick = (e: React.SyntheticEvent<HTMLButtonElement>) => {\n const { sort, onSortChange, name } = this.asProps;\n\n if (\n lastInteraction.isMouse() ||\n (lastInteraction.isKeyboard() && e.target === e.currentTarget)\n ) {\n if (sort && onSortChange) {\n const sortDirection =\n sort[0] === name ? reversedSortDirection[sort[1]] : this.defaultDirection;\n\n onSortChange([name, sortDirection], e);\n }\n }\n };\n\n handleKeyDown = (e: React.KeyboardEvent) => {\n if (e.currentTarget === this.lockedCell[0]) {\n const focusableChildren = Array.from(this.lockedCell[0].children).flatMap((node) =>\n getFocusableIn(node as HTMLElement),\n );\n\n if (this.lockedCell[1]) {\n if (e.key === 'Escape') {\n this.lockedCell[0]?.focus();\n this.lockedCell[1] = false;\n }\n if (e.key.startsWith('Arrow')) {\n e.stopPropagation();\n }\n if (e.key === 'Tab') {\n if (e.target === focusableChildren[0] && e.shiftKey) {\n focusableChildren[focusableChildren.length - 1]?.focus();\n e.preventDefault();\n } else if (e.target === focusableChildren[focusableChildren.length - 1] && !e.shiftKey) {\n focusableChildren[0]?.focus();\n e.preventDefault();\n }\n\n e.stopPropagation();\n }\n } else if (e.key === 'Enter') {\n this.lockedCell[1] = true;\n focusableChildren[0]?.focus();\n } else if (e.key === 'Tab') {\n this.lockedCell[0]?.setAttribute('inert', '');\n }\n }\n };\n\n handleFocusCell = (e: React.FocusEvent<HTMLElement, HTMLElement>) => {\n const cellElement = e.currentTarget;\n const target = e.target;\n\n this.setState({ sortVisible: true }, () => {\n if (target === cellElement) {\n const focusableChildren = Array.from(cellElement.children).flatMap((node) =>\n getFocusableIn(node as HTMLElement),\n );\n\n if (focusableChildren.length === 1) {\n focusableChildren[0].focus();\n } else if (focusableChildren.length > 1) {\n this.lockedCell = [cellElement, false];\n }\n }\n });\n };\n\n render() {\n const SColumn = Root;\n const SSortWrapper = 'div';\n const SSortButton = ButtonLink;\n const { styles, sortable, sort, uid, name, parent, sortableColumnDescribeId, Children } =\n this.asProps;\n\n const SSortIcon =\n sort && sort[0] === name ? SORTING_ICON[sort[1]] : SORTING_ICON[this.defaultDirection];\n const isSorted = sort?.[0] === name;\n const visibleSort = Boolean(sortable) && (this.state.sortVisible || isSorted);\n\n const ariaDescribedBy = [];\n if (isSorted) {\n ariaDescribedBy.push(sortableColumnDescribeId);\n }\n if (parent) {\n ariaDescribedBy.push(`igc-table-${uid}-${parent.name}-group`);\n }\n\n const ariaSortValue = sort?.[1] ? ARIA_SORT[sort[1]] : undefined;\n\n return sstyled(styles)(\n <SColumn\n render={Flex}\n ref={this.columnRef}\n role='columnheader'\n tabIndex={-1}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n onFocus={this.handleFocusCell}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n visibleSort={visibleSort}\n isSorted={isSorted}\n innerOutline\n aria-describedby={ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined}\n aria-sort={ariaSortValue}\n onClick={sortable ? this.handleSortClick : undefined}\n >\n <Children />\n\n {sortable && (\n <SSortWrapper ref={this.sortWrapperRef}>\n <SSortButton\n onClick={this.handleSortClick}\n aria-label={ariaSortValue}\n color='--intergalactic-icon-primary-neutral'\n >\n <SSortButton.Addon tag={SSortIcon} />\n </SSortButton>\n </SSortWrapper>\n )}\n </SColumn>,\n );\n }\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAASA,IAAI,QAAQ,0BAA0B;AAC/C,SAASC,UAAU,QAAQ,iBAAiB;AAC5C,SAASC,SAAS,EAAEC,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACzE,OAAOC,SAAS,MAAM,mCAAmC;AACzD,SAASC,cAAc,QAAQ,mDAAmD;AAClF,SAASC,aAAa,QAAQ,kDAAkD;AAEhF,OAAOC,OAAO,MAAM,yBAAyB;AAC7C,OAAOC,QAAQ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AK;QAACC,GAAG,EAAEnB;MAAU,CAAE,CACzB,CACD,CAET,CAAC;IAEd;EAAC;AAAA,EAjSkD7I,SAAS;AAkS7DgC,eAAA,CAlSYZ,MAAM,iBAOI,QAAQ;AAAAY,eAAA,CAPlBZ,MAAM,WAQFV,KAAK","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Column.js","names":["Flex","ButtonLink","Component","lastInteraction","Root","sstyled","canUseDOM","getFocusableIn","isFocusInside","SortAsc","SortDesc","React","style","_sstyled","insert","SORTING_ICON","desc","asc","ARIA_SORT","SORT_ICON_WIDTH","DEFAULT_DIRECTION","reversedSortDirection","Column","_Component","_this","_classCallCheck","_len","arguments","length","args","Array","_key","_callSuper","concat","_defineProperty","createRef","sortVisible","node","columnRef","current","_this$columnRef$curre","_this$columnRef$curre2","clonedColumn","document","createElement","computedStyle","window","getComputedStyle","childNodes","forEach","sortWrapperRef","append","cloneNode","setProperty","styles","key","getPropertyValue","getPropertyPriority","body","appendChild","computedWidth","Math","ceil","getBoundingClientRect","width","removeChild","defaultNodeWidth","clientWidth","freeSpace","setState","e","relatedTarget","currentTarget","isKeyboard","_this$asProps","asProps","sort","onSortChange","name","isMouse","target","sortDirection","defaultDirection","lockedCell","focusableChildren","from","children","flatMap","_this$lockedCell$","focus","startsWith","stopPropagation","shiftKey","_focusableChildren","preventDefault","_focusableChildren$","_focusableChildren$2","_this$lockedCell$2","setAttribute","cellElement","_inherits","_createClass","value","componentDidMount","_this$asProps2","parent","sticky","changeSortSize","_columnElement$parent","columnElement","groupElement","parentElement","item","groupHeight","height","changeTemplateColumnBySort","componentDidUpdate","prevProps","_prevProps$sort","_this$asProps$sort","_this$asProps3","tableRef","gridTemplateColumns","columnIndex","newWidth","calculateActiveColumnMinWidth","setTimeout","map","gtcWidth","index","join","get","sortable","render","_ref","_ref2","SColumn","SSortWrapper","SSortButton","_this$asProps4","uid","sortableColumnDescribeId","Children","_ref3","undefined","_ref4","_slicedToArray","sortBy","isSorted","SSortIcon","visibleSort","Boolean","state","ariaDescribedBy","push","ariaSortValue","cn","_objectSpread","_assignProps","handleMouseEnter","handleMouseLeave","handleFocusCell","handleBlur","handleKeyDown","handleSortClick","Addon","tag"],"sources":["../../../../src/components/Head/Column.tsx"],"sourcesContent":["import { Flex } from '@semcore/base-components';\nimport { ButtonLink } from '@semcore/button';\nimport { Component, lastInteraction, Root, sstyled } from '@semcore/core';\nimport canUseDOM from '@semcore/core/lib/utils/canUseDOM';\nimport { getFocusableIn } from '@semcore/core/lib/utils/focus-lock/getFocusableIn';\nimport { isFocusInside } from '@semcore/core/lib/utils/focus-lock/isFocusInside';\nimport type Icon from '@semcore/icon';\nimport SortAsc from '@semcore/icon/SortAsc/m';\nimport SortDesc from '@semcore/icon/SortDesc/m';\nimport * as React from 'react';\n\nimport type { ColumnPropsInner, DataTableColumnProps } from './Column.types';\nimport style from './style.shadow.css';\nimport type { DataTableData, SortDirection } from '../DataTable/DataTable.types';\n\nconst SORTING_ICON: { [key in SortDirection]: typeof Icon } = {\n desc: SortDesc,\n asc: SortAsc,\n} as const;\n\nconst ARIA_SORT = {\n desc: 'descending',\n asc: 'ascending',\n} as const;\n\nconst SORT_ICON_WIDTH = 20;\n\nconst DEFAULT_DIRECTION = 'desc';\n\nconst reversedSortDirection: { [direction in SortDirection]: SortDirection } = {\n desc: 'asc',\n asc: 'desc',\n};\n\ntype State = {\n sortVisible: boolean;\n};\n\nexport class Column<D extends DataTableData> extends Component<\n DataTableColumnProps,\n {},\n {},\n [],\n ColumnPropsInner<D>\n> {\n static displayName = 'Column';\n static style = style;\n\n lockedCell: [HTMLElement | null, boolean] = [null, false];\n\n columnRef = React.createRef<HTMLDivElement>();\n sortWrapperRef = React.createRef<HTMLDivElement>();\n\n state: State = {\n sortVisible: false,\n };\n\n componentDidMount() {\n const { parent, sticky, changeSortSize, name, sort } = this.asProps;\n\n if (parent && sticky) {\n const columnElement = this.columnRef.current;\n const groupElement = columnElement?.parentElement?.children.item(0);\n\n const groupHeight = groupElement?.getBoundingClientRect().height;\n\n if (groupHeight) {\n columnElement?.style.setProperty('top', `${groupHeight}px`);\n }\n }\n\n if (canUseDOM() && changeSortSize && sort?.[0] === name) {\n this.changeTemplateColumnBySort();\n }\n }\n\n componentDidUpdate(prevProps: DataTableColumnProps & ColumnPropsInner<D>): void {\n if (\n this.asProps.changeSortSize &&\n canUseDOM() &&\n prevProps.sort?.[0] !== this.asProps.sort?.[0]\n ) {\n this.changeTemplateColumnBySort();\n }\n }\n\n changeTemplateColumnBySort() {\n const { tableRef, gridTemplateColumns, columnIndex, sort, name } = this.asProps;\n\n if (sort?.[0] === name) {\n const newWidth = this.calculateActiveColumnMinWidth();\n\n setTimeout(() => {\n if (tableRef.current && newWidth !== null) {\n tableRef.current.style.setProperty(\n 'grid-template-columns',\n gridTemplateColumns\n .map((gtcWidth, index) => {\n if (index === columnIndex) {\n return `${newWidth}px`;\n }\n return gtcWidth;\n })\n .join(' '),\n );\n }\n });\n } else if (sort?.[0] !== name) {\n setTimeout(() => {\n if (tableRef.current) {\n tableRef.current.style.setProperty(\n 'grid-template-columns',\n gridTemplateColumns.join(' '),\n );\n }\n });\n }\n }\n\n calculateActiveColumnMinWidth = (): number | null => {\n const node = this.columnRef.current;\n\n if (node) {\n const clonedColumn = document.createElement('div');\n const computedStyle = window.getComputedStyle(node);\n\n node.childNodes.forEach((node) => {\n if (this.sortWrapperRef.current !== node) {\n clonedColumn.append(node.cloneNode(true));\n }\n });\n\n clonedColumn.style.setProperty('visibility', 'hidden', 'important');\n\n const styles = [\n 'display',\n 'flex',\n 'margin',\n 'padding',\n 'background',\n 'font-style',\n 'font-width',\n 'font-size',\n 'font-weight',\n ];\n\n styles.forEach((key) => {\n clonedColumn.style.setProperty(\n key,\n computedStyle.getPropertyValue(key),\n computedStyle.getPropertyPriority(key),\n );\n });\n\n clonedColumn.style.setProperty('width', 'fit-content', 'important');\n\n document.body.appendChild(clonedColumn);\n\n const computedWidth = Math.ceil(clonedColumn.getBoundingClientRect().width);\n\n document.body.removeChild(clonedColumn);\n\n const defaultNodeWidth = this.columnRef.current?.clientWidth ?? 0;\n\n if (computedWidth >= defaultNodeWidth) {\n return defaultNodeWidth + SORT_ICON_WIDTH;\n } else {\n const freeSpace = defaultNodeWidth - computedWidth;\n\n if (freeSpace < SORT_ICON_WIDTH) {\n return computedWidth + SORT_ICON_WIDTH;\n }\n }\n }\n\n return null;\n };\n\n get defaultDirection() {\n const { sortable } = this.asProps;\n\n if (typeof sortable === 'string') {\n return sortable;\n }\n\n return DEFAULT_DIRECTION;\n }\n\n handleMouseEnter = () => {\n this.setState({ sortVisible: true });\n };\n\n handleMouseLeave = () => {\n this.setState({ sortVisible: false });\n };\n\n handleBlur = (e: React.FocusEvent<HTMLElement>) => {\n const relatedTarget = e.relatedTarget as HTMLElement | undefined;\n if (!isFocusInside(e.currentTarget, relatedTarget) && lastInteraction.isKeyboard()) {\n this.setState({ sortVisible: false });\n }\n };\n\n handleSortClick = (e: React.SyntheticEvent<HTMLButtonElement>) => {\n const { sort, onSortChange, name } = this.asProps;\n\n if (\n lastInteraction.isMouse() ||\n (lastInteraction.isKeyboard() && e.target === e.currentTarget)\n ) {\n if (sort && onSortChange) {\n const sortDirection =\n sort[0] === name ? reversedSortDirection[sort[1]] : this.defaultDirection;\n\n onSortChange([name, sortDirection], e);\n }\n }\n };\n\n handleKeyDown = (e: React.KeyboardEvent) => {\n if (e.currentTarget === this.lockedCell[0]) {\n const focusableChildren = Array.from(this.lockedCell[0].children).flatMap((node) =>\n getFocusableIn(node as HTMLElement),\n );\n\n if (this.lockedCell[1]) {\n if (e.key === 'Escape') {\n this.lockedCell[0]?.focus();\n this.lockedCell[1] = false;\n }\n if (e.key.startsWith('Arrow')) {\n e.stopPropagation();\n }\n if (e.key === 'Tab') {\n if (e.target === focusableChildren[0] && e.shiftKey) {\n focusableChildren[focusableChildren.length - 1]?.focus();\n e.preventDefault();\n } else if (e.target === focusableChildren[focusableChildren.length - 1] && !e.shiftKey) {\n focusableChildren[0]?.focus();\n e.preventDefault();\n }\n\n e.stopPropagation();\n }\n } else if (e.key === 'Enter') {\n this.lockedCell[1] = true;\n focusableChildren[0]?.focus();\n } else if (e.key === 'Tab') {\n this.lockedCell[0]?.setAttribute('inert', '');\n }\n }\n };\n\n handleFocusCell = (e: React.FocusEvent<HTMLElement, HTMLElement>) => {\n const cellElement = e.currentTarget;\n const target = e.target;\n\n this.setState({ sortVisible: true }, () => {\n if (target === cellElement) {\n const focusableChildren = Array.from(cellElement.children).flatMap((node) =>\n getFocusableIn(node as HTMLElement),\n );\n\n if (focusableChildren.length === 1) {\n focusableChildren[0].focus();\n } else if (focusableChildren.length > 1) {\n this.lockedCell = [cellElement, false];\n }\n }\n });\n };\n\n render() {\n const SColumn = Root;\n const SSortWrapper = 'div';\n const SSortButton = ButtonLink;\n const { styles, sortable, sort, uid, name, parent, sortableColumnDescribeId, Children } =\n this.asProps;\n\n const [sortBy, sortDirection] = sort ?? [undefined, undefined];\n const isSorted = sortBy === name && !!sortDirection;\n\n const SSortIcon = isSorted ? SORTING_ICON[sortDirection] : SORTING_ICON[this.defaultDirection];\n\n const visibleSort = Boolean(sortable) && (this.state.sortVisible || isSorted);\n\n const ariaDescribedBy = [];\n if (sortable) {\n ariaDescribedBy.push(sortableColumnDescribeId);\n }\n if (parent) {\n ariaDescribedBy.push(`igc-table-${uid}-${parent.name}-group`);\n }\n\n const ariaSortValue = isSorted ? ARIA_SORT[sortDirection] : undefined;\n\n return sstyled(styles)(\n <SColumn\n render={Flex}\n ref={this.columnRef}\n role='columnheader'\n tabIndex={-1}\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n onFocus={this.handleFocusCell}\n onBlur={this.handleBlur}\n onKeyDown={this.handleKeyDown}\n visibleSort={visibleSort}\n isSorted={isSorted}\n innerOutline\n aria-describedby={ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined}\n aria-sort={ariaSortValue}\n onClick={sortable ? this.handleSortClick : undefined}\n >\n <Children />\n\n {sortable && (\n <SSortWrapper ref={this.sortWrapperRef}>\n <SSortButton\n onClick={this.handleSortClick}\n aria-label={ariaSortValue}\n color='--intergalactic-icon-primary-neutral'\n >\n <SSortButton.Addon tag={SSortIcon} />\n </SSortButton>\n </SSortWrapper>\n )}\n </SColumn>,\n );\n }\n}\n"],"mappings":";;;;;;;;;;;;AAAA,SAASA,IAAI,QAAQ,0BAA0B;AAC/C,SAASC,UAAU,QAAQ,iBAAiB;AAC5C,SAASC,SAAS,EAAEC,eAAe,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACzE,OAAOC,SAAS,MAAM,mCAAmC;AACzD,SAASC,cAAc,QAAQ,mDAAmD;AAClF,SAASC,aAAa,QAAQ,kDAAkD;AAEhF,OAAOC,OAAO,MAAM,yBAAyB;AAC7C,OAAOC,QAAQ,MAAM,0BAA0B;AAC/C,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAC;AAAA,IAAAC,KAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAM/B,IAAMC,YAAqD,GAAG;EAC5DC,IAAI,EAAEN,QAAQ;EACdO,GAAG,EAAER;AACP,CAAU;AAEV,IAAMS,SAAS,GAAG;EAChBF,IAAI,EAAE,YAAY;EAClBC,GAAG,EAAE;AACP,CAAU;AAEV,IAAME,eAAe,GAAG,EAAE;AAE1B,IAAMC,iBAAiB,GAAG,MAAM;AAEhC,IAAMC,qBAAsE,GAAG;EAC7EL,IAAI,EAAE,KAAK;EACXC,GAAG,EAAE;AACP,CAAC;AAMD,WAAaK,MAAM,0BAAAC,UAAA;EAAA,SAAAD,OAAA;IAAA,IAAAE,KAAA;IAAAC,eAAA,OAAAH,MAAA;IAAA,SAAAI,IAAA,GAAAC,SAAA,C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