@semcore/data-table 16.1.0 → 16.2.0-prerelease.1
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 +16 -0
- package/lib/cjs/components/Body/Body.js +43 -43
- package/lib/cjs/components/Body/Body.js.map +1 -1
- package/lib/cjs/components/Body/Body.types.js.map +1 -1
- package/lib/cjs/components/Body/Cell.js +43 -43
- package/lib/cjs/components/Body/Cell.js.map +1 -1
- package/lib/cjs/components/Body/Cell.types.js.map +1 -1
- package/lib/cjs/components/Body/Row.js +43 -43
- package/lib/cjs/components/Body/style.shadow.css +2 -1
- package/lib/cjs/components/DataTable/DataTable.js +66 -44
- package/lib/cjs/components/DataTable/DataTable.js.map +1 -1
- package/lib/cjs/components/DataTable/DataTable.types.js.map +1 -1
- package/lib/cjs/components/Head/Column.js +30 -30
- package/lib/cjs/components/Head/Column.types.js.map +1 -1
- package/lib/cjs/components/Head/Group.js +30 -30
- package/lib/cjs/components/Head/Group.type.js.map +1 -1
- package/lib/cjs/components/Head/Head.js +30 -30
- package/lib/cjs/components/Head/Head.types.js.map +1 -1
- package/lib/es6/components/Body/Body.js +43 -43
- package/lib/es6/components/Body/Body.js.map +1 -1
- package/lib/es6/components/Body/Body.types.js.map +1 -1
- package/lib/es6/components/Body/Cell.js +43 -43
- package/lib/es6/components/Body/Cell.js.map +1 -1
- package/lib/es6/components/Body/Cell.types.js.map +1 -1
- package/lib/es6/components/Body/Row.js +43 -43
- package/lib/es6/components/Body/style.shadow.css +2 -1
- package/lib/es6/components/DataTable/DataTable.js +66 -44
- package/lib/es6/components/DataTable/DataTable.js.map +1 -1
- package/lib/es6/components/DataTable/DataTable.types.js.map +1 -1
- package/lib/es6/components/Head/Column.js +30 -30
- package/lib/es6/components/Head/Column.types.js.map +1 -1
- package/lib/es6/components/Head/Group.js +30 -30
- package/lib/es6/components/Head/Group.type.js.map +1 -1
- package/lib/es6/components/Head/Head.js +30 -30
- package/lib/es6/components/Head/Head.types.js.map +1 -1
- package/lib/esm/components/Body/Body.mjs +44 -44
- package/lib/esm/components/Body/Cell.mjs +44 -44
- package/lib/esm/components/Body/Row.mjs +44 -44
- package/lib/esm/components/Body/style.shadow.css +2 -1
- package/lib/esm/components/DataTable/DataTable.mjs +68 -46
- package/lib/esm/components/Head/Column.mjs +31 -31
- package/lib/esm/components/Head/Group.mjs +31 -31
- package/lib/esm/components/Head/Head.mjs +31 -31
- package/lib/types/components/Body/Body.types.d.ts +20 -9
- package/lib/types/components/Body/Cell.types.d.ts +3 -3
- package/lib/types/components/DataTable/DataTable.types.d.ts +10 -4
- package/lib/types/components/Head/Column.types.d.ts +2 -2
- package/lib/types/components/Head/Group.type.d.ts +1 -1
- package/lib/types/components/Head/Head.types.d.ts +2 -2
- package/package.json +22 -22
|
@@ -17,51 +17,51 @@ 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_4hfiq_gg_,.___SBody_4hfiq_gg_,.___SRowGroup_4hfiq_gg_,.___SRow_4hfiq_gg_{display:contents}.___SBody_4hfiq_gg_.__compact_4hfiq_gg_ .___SCell_4hfiq_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_4hfiq_gg_.__compact_4hfiq_gg_ .___SCell_4hfiq_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_4hfiq) - 1)))}.___SCellWrapper_4hfiq_gg_.__gridArea_4hfiq_gg_,.___SCollapseRow_4hfiq_gg_.__gridArea_4hfiq_gg_,.___SRow_4hfiq_gg_.__gridArea_4hfiq_gg_{grid-area:var(--gridArea_4hfiq)}.___SCellWrapper_4hfiq_gg_{height:100%;overflow:hidden}.___SCollapseRow_4hfiq_gg_.__gridArea_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_,.___SRow_4hfiq_gg_.__isAccordionRow_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_{height:auto;overflow:auto}.___SAccordionRows_4hfiq_gg_>.___SRow_4hfiq_gg_.__isAccordionRow_4hfiq_gg_:last-child>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_,.___SCollapseRow_4hfiq_gg_.__gridArea_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_4hfiq_gg_ .___SCell_4hfiq_gg_{display:block}.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_).__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_,.___SRow_4hfiq_gg_.__active_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRow_4hfiq_gg_._accordionType_row_4hfiq_gg_.__expanded_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRow_4hfiq_gg_.__isAccordionRow_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_._theme_muted_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]._theme_muted_4hfiq_gg_,.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_._theme_muted_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_muted_4hfiq_gg_,.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRow_4hfiq_gg_._theme_muted_4hfiq_gg_:hover:not(.__expanded_4hfiq_gg_.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRow_4hfiq_gg_:hover:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_muted_4hfiq_gg_,.___SRow_4hfiq_gg_:not(._accordionType_row_4hfiq_gg_.__expanded_4hfiq_gg_):hover:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_._theme_info_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]._theme_info_4hfiq_gg_,.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_._theme_info_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_info_4hfiq_gg_,.___SRow_4hfiq_gg_._theme_info_4hfiq_gg_:hover:not(.__expanded_4hfiq_gg_.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRow_4hfiq_gg_:hover:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_info_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_._theme_success_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]._theme_success_4hfiq_gg_,.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_._theme_success_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_success_4hfiq_gg_,.___SRow_4hfiq_gg_._theme_success_4hfiq_gg_:hover:not(.__expanded_4hfiq_gg_.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRow_4hfiq_gg_:hover:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_success_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_._theme_warning_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]._theme_warning_4hfiq_gg_,.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_._theme_warning_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_warning_4hfiq_gg_,.___SRow_4hfiq_gg_._theme_warning_4hfiq_gg_:hover:not(.__expanded_4hfiq_gg_.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRow_4hfiq_gg_:hover:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_warning_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_._theme_danger_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]._theme_danger_4hfiq_gg_,.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_._theme_danger_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_),.___SRowGroup_4hfiq_gg_:has(.___SCell_4hfiq_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_4hfiq_gg_:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_danger_4hfiq_gg_,.___SRow_4hfiq_gg_._theme_danger_4hfiq_gg_:hover:not(.__expanded_4hfiq_gg_.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_):not(.__expanded_4hfiq_gg_.__withAccordion_4hfiq_gg_),.___SRow_4hfiq_gg_:hover:not(.__isNonInteractive_4hfiq_gg_)>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_._theme_danger_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_4hfiq_gg_._theme_muted_4hfiq_gg_ .___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_4hfiq_gg_._theme_muted_4hfiq_gg_.__active_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_4hfiq_gg_._theme_info_4hfiq_gg_ .___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_4hfiq_gg_._theme_info_4hfiq_gg_.__active_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_4hfiq_gg_._theme_success_4hfiq_gg_ .___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_4hfiq_gg_._theme_success_4hfiq_gg_.__active_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_4hfiq_gg_._theme_warning_4hfiq_gg_ .___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_4hfiq_gg_._theme_warning_4hfiq_gg_.__active_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_4hfiq_gg_._theme_danger_4hfiq_gg_ .___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_4hfiq_gg_._theme_danger_4hfiq_gg_.__active_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_:not(.__theme_4hfiq_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_4hfiq_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);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;overflow:hidden}.___SCell_4hfiq_gg_ .___SAccordionToggle_4hfiq_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_4hfiq_gg_ .___SAccordionToggle_4hfiq_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_4hfiq_gg_ .___SAccordionToggle_4hfiq_gg_.__expanded_4hfiq_gg_ svg{transform:rotate(90deg)}.___SCell_4hfiq_gg_.__withAccordion_4hfiq_gg_,.___SCheckboxCell_4hfiq_gg_,.___SRow_4hfiq_gg_._accordionType_row_4hfiq_gg_>.___SCellWrapper_4hfiq_gg_>.___SCell_4hfiq_gg_{cursor:pointer}.___SCell_4hfiq_gg_._use_primary_4hfiq_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_4hfiq_gg_._use_primary_4hfiq_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_4hfiq) - 1)))}.___SCell_4hfiq_gg_._use_secondary_4hfiq_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_4hfiq_gg_._use_secondary_4hfiq_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_4hfiq) - 1)))}.___SCell_4hfiq_gg_._borders_both_4hfiq_gg_,.___SCell_4hfiq_gg_._borders_left_4hfiq_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_4hfiq_gg_._borders_both_4hfiq_gg_,.___SCell_4hfiq_gg_._borders_right_4hfiq_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_4hfiq_gg_.__fixed_4hfiq_gg_{position:sticky;z-index:2}.___SCell_4hfiq_gg_._theme_muted_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_4hfiq_gg_._theme_info_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_4hfiq_gg_._theme_success_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_4hfiq_gg_._theme_warning_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_4hfiq_gg_._theme_danger_4hfiq_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_4hfiq_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));z-index:15}.___SSpinContainer_4hfiq_gg_:focus-visible{z-index:15}.___SSpinContainer_4hfiq_gg_.__headerHeight_4hfiq_gg_{top:var(--headerHeight_4hfiq)}.___SEmptyData_4hfiq_gg_{grid-column:1/-1}.___SRow_4hfiq_gg_._sideIndents_wide_4hfiq_gg_ .___SCellWrapper_4hfiq_gg_:first-child .___SCell_4hfiq_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_4hfiq_gg_._sideIndents_wide_4hfiq_gg_ .___SCellWrapper_4hfiq_gg_:last-child .___SCell_4hfiq_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SCellWrapper_4hfiq_gg_.__fixed_4hfiq_gg_.__shadowVertical_4hfiq_gg_:after{content:\"\";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SCellWrapper_4hfiq_gg_._fixed_left_4hfiq_gg_._shadowVertical_median_4hfiq_gg_,.___SCellWrapper_4hfiq_gg_._fixed_left_4hfiq_gg_._shadowVertical_start_4hfiq_gg_{margin-right:-5px}.___SCellWrapper_4hfiq_gg_._fixed_left_4hfiq_gg_._shadowVertical_median_4hfiq_gg_:after,.___SCellWrapper_4hfiq_gg_._fixed_left_4hfiq_gg_._shadowVertical_start_4hfiq_gg_:after{display:block;right:0;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SCellWrapper_4hfiq_gg_._fixed_left_4hfiq_gg_._shadowVertical_median_4hfiq_gg_ .___SCell_4hfiq_gg_,.___SCellWrapper_4hfiq_gg_._fixed_left_4hfiq_gg_._shadowVertical_start_4hfiq_gg_ .___SCell_4hfiq_gg_{margin-right:5px}.___SCellWrapper_4hfiq_gg_._fixed_right_4hfiq_gg_._shadowVertical_end_4hfiq_gg_,.___SCellWrapper_4hfiq_gg_._fixed_right_4hfiq_gg_._shadowVertical_median_4hfiq_gg_{margin-left:-5px}.___SCellWrapper_4hfiq_gg_._fixed_right_4hfiq_gg_._shadowVertical_end_4hfiq_gg_:after,.___SCellWrapper_4hfiq_gg_._fixed_right_4hfiq_gg_._shadowVertical_median_4hfiq_gg_:after{display:block;left:0;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SCellWrapper_4hfiq_gg_._fixed_right_4hfiq_gg_._shadowVertical_end_4hfiq_gg_ .___SCell_4hfiq_gg_,.___SCellWrapper_4hfiq_gg_._fixed_right_4hfiq_gg_._shadowVertical_median_4hfiq_gg_ .___SCell_4hfiq_gg_{margin-left:5px}", /*__inner_css_end__*/"4hfiq_gg_"),
|
|
20
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_15zlz_gg_,.___SBody_15zlz_gg_,.___SRowGroup_15zlz_gg_,.___SRow_15zlz_gg_{display:contents}.___SBody_15zlz_gg_.__compact_15zlz_gg_ .___SCell_15zlz_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_15zlz_gg_.__compact_15zlz_gg_ .___SCell_15zlz_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_15zlz) - 1)))}.___SCellWrapper_15zlz_gg_.__gridArea_15zlz_gg_,.___SCollapseRow_15zlz_gg_.__gridArea_15zlz_gg_,.___SRow_15zlz_gg_.__gridArea_15zlz_gg_{grid-area:var(--gridArea_15zlz)}.___SCellWrapper_15zlz_gg_{height:100%;overflow:hidden}.___SCollapseRow_15zlz_gg_.__gridArea_15zlz_gg_>.___SCellWrapper_15zlz_gg_,.___SRow_15zlz_gg_.__isAccordionRow_15zlz_gg_>.___SCellWrapper_15zlz_gg_{height:auto;overflow:auto}.___SAccordionRows_15zlz_gg_>.___SRow_15zlz_gg_.__isAccordionRow_15zlz_gg_:last-child>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_,.___SCollapseRow_15zlz_gg_.__gridArea_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_15zlz_gg_ .___SCell_15zlz_gg_{display:block}.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_).__expanded_15zlz_gg_.__withAccordion_15zlz_gg_,.___SRow_15zlz_gg_.__active_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRow_15zlz_gg_._accordionType_row_15zlz_gg_.__expanded_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRow_15zlz_gg_.__isAccordionRow_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_._theme_muted_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]._theme_muted_15zlz_gg_,.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_._theme_muted_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_muted_15zlz_gg_,.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRow_15zlz_gg_._theme_muted_15zlz_gg_:hover:not(.__expanded_15zlz_gg_.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRow_15zlz_gg_:hover:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_muted_15zlz_gg_,.___SRow_15zlz_gg_:not(._accordionType_row_15zlz_gg_.__expanded_15zlz_gg_):hover:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_._theme_info_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]._theme_info_15zlz_gg_,.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_._theme_info_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_info_15zlz_gg_,.___SRow_15zlz_gg_._theme_info_15zlz_gg_:hover:not(.__expanded_15zlz_gg_.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRow_15zlz_gg_:hover:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_info_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_._theme_success_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]._theme_success_15zlz_gg_,.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_._theme_success_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_success_15zlz_gg_,.___SRow_15zlz_gg_._theme_success_15zlz_gg_:hover:not(.__expanded_15zlz_gg_.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRow_15zlz_gg_:hover:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_success_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_._theme_warning_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]._theme_warning_15zlz_gg_,.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_._theme_warning_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_warning_15zlz_gg_,.___SRow_15zlz_gg_._theme_warning_15zlz_gg_:hover:not(.__expanded_15zlz_gg_.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRow_15zlz_gg_:hover:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_warning_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_._theme_danger_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_[data-grouped-by=rowgroup]._theme_danger_15zlz_gg_,.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_._theme_danger_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_),.___SRowGroup_15zlz_gg_:has(.___SCell_15zlz_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_15zlz_gg_:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_danger_15zlz_gg_,.___SRow_15zlz_gg_._theme_danger_15zlz_gg_:hover:not(.__expanded_15zlz_gg_.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_):not(.__expanded_15zlz_gg_.__withAccordion_15zlz_gg_),.___SRow_15zlz_gg_:hover:not(.__isNonInteractive_15zlz_gg_)>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_._theme_danger_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_15zlz_gg_._theme_muted_15zlz_gg_ .___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_15zlz_gg_._theme_muted_15zlz_gg_.__active_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_15zlz_gg_._theme_info_15zlz_gg_ .___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_15zlz_gg_._theme_info_15zlz_gg_.__active_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_15zlz_gg_._theme_success_15zlz_gg_ .___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_15zlz_gg_._theme_success_15zlz_gg_.__active_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_15zlz_gg_._theme_warning_15zlz_gg_ .___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_15zlz_gg_._theme_warning_15zlz_gg_.__active_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_15zlz_gg_._theme_danger_15zlz_gg_ .___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_15zlz_gg_._theme_danger_15zlz_gg_.__active_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_:not(.__theme_15zlz_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_15zlz_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);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;overflow:hidden}.___SCell_15zlz_gg_ .___SAccordionToggle_15zlz_gg_{margin-top:var(--intergalactic-spacing-05x, 2px);margin-right:var(--intergalactic-spacing-3x, 12px);margin-left:calc(var(--intergalactic-spacing-05x, 2px)*-1);height:-moz-fit-content;height:fit-content}.___SCell_15zlz_gg_ .___SAccordionToggle_15zlz_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_15zlz_gg_ .___SAccordionToggle_15zlz_gg_.__expanded_15zlz_gg_ svg{transform:rotate(90deg)}.___SCell_15zlz_gg_.__withAccordion_15zlz_gg_,.___SCheckboxCell_15zlz_gg_,.___SRow_15zlz_gg_._accordionType_row_15zlz_gg_>.___SCellWrapper_15zlz_gg_>.___SCell_15zlz_gg_{cursor:pointer}.___SCell_15zlz_gg_._use_primary_15zlz_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_15zlz_gg_._use_primary_15zlz_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_15zlz) - 1)))}.___SCell_15zlz_gg_._use_secondary_15zlz_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_15zlz_gg_._use_secondary_15zlz_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_15zlz) - 1)))}.___SCell_15zlz_gg_._borders_both_15zlz_gg_,.___SCell_15zlz_gg_._borders_left_15zlz_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_15zlz_gg_._borders_both_15zlz_gg_,.___SCell_15zlz_gg_._borders_right_15zlz_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_15zlz_gg_.__fixed_15zlz_gg_{position:sticky;z-index:2}.___SCell_15zlz_gg_._theme_muted_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_15zlz_gg_._theme_info_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_15zlz_gg_._theme_success_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_15zlz_gg_._theme_warning_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_15zlz_gg_._theme_danger_15zlz_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_15zlz_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));z-index:15}.___SSpinContainer_15zlz_gg_:focus-visible{z-index:15}.___SSpinContainer_15zlz_gg_.__headerHeight_15zlz_gg_{top:var(--headerHeight_15zlz)}.___SEmptyData_15zlz_gg_{grid-column:1/-1}.___SRow_15zlz_gg_._sideIndents_wide_15zlz_gg_ .___SCellWrapper_15zlz_gg_:first-child .___SCell_15zlz_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_15zlz_gg_._sideIndents_wide_15zlz_gg_ .___SCellWrapper_15zlz_gg_:last-child .___SCell_15zlz_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SCellWrapper_15zlz_gg_.__fixed_15zlz_gg_.__shadowVertical_15zlz_gg_:after{content:\"\";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SCellWrapper_15zlz_gg_._fixed_left_15zlz_gg_._shadowVertical_median_15zlz_gg_,.___SCellWrapper_15zlz_gg_._fixed_left_15zlz_gg_._shadowVertical_start_15zlz_gg_{margin-right:-5px}.___SCellWrapper_15zlz_gg_._fixed_left_15zlz_gg_._shadowVertical_median_15zlz_gg_:after,.___SCellWrapper_15zlz_gg_._fixed_left_15zlz_gg_._shadowVertical_start_15zlz_gg_:after{display:block;right:0;background:var(--intergalactic-scroll-area-shadow-left,\n linear-gradient(to right, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SCellWrapper_15zlz_gg_._fixed_left_15zlz_gg_._shadowVertical_median_15zlz_gg_ .___SCell_15zlz_gg_,.___SCellWrapper_15zlz_gg_._fixed_left_15zlz_gg_._shadowVertical_start_15zlz_gg_ .___SCell_15zlz_gg_{margin-right:5px}.___SCellWrapper_15zlz_gg_._fixed_right_15zlz_gg_._shadowVertical_end_15zlz_gg_,.___SCellWrapper_15zlz_gg_._fixed_right_15zlz_gg_._shadowVertical_median_15zlz_gg_{margin-left:-5px}.___SCellWrapper_15zlz_gg_._fixed_right_15zlz_gg_._shadowVertical_end_15zlz_gg_:after,.___SCellWrapper_15zlz_gg_._fixed_right_15zlz_gg_._shadowVertical_median_15zlz_gg_:after{display:block;left:0;background:var(--intergalactic-scroll-area-shadow-right,\n linear-gradient(to left, rgba(25, 27, 35, 0.1) 20.55%, rgba(255, 255, 255, 0.0001) 100%))}.___SCellWrapper_15zlz_gg_._fixed_right_15zlz_gg_._shadowVertical_end_15zlz_gg_ .___SCell_15zlz_gg_,.___SCellWrapper_15zlz_gg_._fixed_right_15zlz_gg_._shadowVertical_median_15zlz_gg_ .___SCell_15zlz_gg_{margin-left:5px}", /*__inner_css_end__*/"15zlz_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
|
-
"_isAccordionRow": "
|
|
32
|
-
"__SCell": "
|
|
33
|
-
"_active": "
|
|
34
|
-
"_theme": "
|
|
35
|
-
"_accordionType_row": "
|
|
36
|
-
"_expanded": "
|
|
37
|
-
"_withAccordion": "
|
|
38
|
-
"_isNonInteractive": "
|
|
39
|
-
"_theme_muted": "
|
|
40
|
-
"_theme_info": "
|
|
41
|
-
"_theme_success": "
|
|
42
|
-
"_theme_warning": "
|
|
43
|
-
"_theme_danger": "
|
|
44
|
-
"__SCheckboxCell": "
|
|
45
|
-
"_borders_both": "
|
|
46
|
-
"_borders_left": "
|
|
47
|
-
"_borders_right": "
|
|
48
|
-
"_fixed": "
|
|
49
|
-
"__SSpinContainer": "
|
|
50
|
-
"_headerHeight": "
|
|
51
|
-
"--headerHeight": "--
|
|
52
|
-
"__SEmptyData": "
|
|
53
|
-
"_compact": "
|
|
54
|
-
"--data-aria-level": "--data-aria-
|
|
55
|
-
"__SAccordionToggle": "
|
|
56
|
-
"_use_primary": "
|
|
57
|
-
"_use_secondary": "
|
|
58
|
-
"_sideIndents_wide": "
|
|
59
|
-
"_shadowVertical": "
|
|
60
|
-
"_fixed_left": "
|
|
61
|
-
"_shadowVertical_median": "
|
|
62
|
-
"_shadowVertical_start": "
|
|
63
|
-
"_fixed_right": "
|
|
64
|
-
"_shadowVertical_end": "
|
|
23
|
+
"__SBody": "___SBody_15zlz_gg_",
|
|
24
|
+
"__SRow": "___SRow_15zlz_gg_",
|
|
25
|
+
"__SRowGroup": "___SRowGroup_15zlz_gg_",
|
|
26
|
+
"__SAccordionRows": "___SAccordionRows_15zlz_gg_",
|
|
27
|
+
"_gridArea": "__gridArea_15zlz_gg_",
|
|
28
|
+
"__SCellWrapper": "___SCellWrapper_15zlz_gg_",
|
|
29
|
+
"__SCollapseRow": "___SCollapseRow_15zlz_gg_",
|
|
30
|
+
"--gridArea": "--gridArea_15zlz",
|
|
31
|
+
"_isAccordionRow": "__isAccordionRow_15zlz_gg_",
|
|
32
|
+
"__SCell": "___SCell_15zlz_gg_",
|
|
33
|
+
"_active": "__active_15zlz_gg_",
|
|
34
|
+
"_theme": "__theme_15zlz_gg_",
|
|
35
|
+
"_accordionType_row": "_accordionType_row_15zlz_gg_",
|
|
36
|
+
"_expanded": "__expanded_15zlz_gg_",
|
|
37
|
+
"_withAccordion": "__withAccordion_15zlz_gg_",
|
|
38
|
+
"_isNonInteractive": "__isNonInteractive_15zlz_gg_",
|
|
39
|
+
"_theme_muted": "_theme_muted_15zlz_gg_",
|
|
40
|
+
"_theme_info": "_theme_info_15zlz_gg_",
|
|
41
|
+
"_theme_success": "_theme_success_15zlz_gg_",
|
|
42
|
+
"_theme_warning": "_theme_warning_15zlz_gg_",
|
|
43
|
+
"_theme_danger": "_theme_danger_15zlz_gg_",
|
|
44
|
+
"__SCheckboxCell": "___SCheckboxCell_15zlz_gg_",
|
|
45
|
+
"_borders_both": "_borders_both_15zlz_gg_",
|
|
46
|
+
"_borders_left": "_borders_left_15zlz_gg_",
|
|
47
|
+
"_borders_right": "_borders_right_15zlz_gg_",
|
|
48
|
+
"_fixed": "__fixed_15zlz_gg_",
|
|
49
|
+
"__SSpinContainer": "___SSpinContainer_15zlz_gg_",
|
|
50
|
+
"_headerHeight": "__headerHeight_15zlz_gg_",
|
|
51
|
+
"--headerHeight": "--headerHeight_15zlz",
|
|
52
|
+
"__SEmptyData": "___SEmptyData_15zlz_gg_",
|
|
53
|
+
"_compact": "__compact_15zlz_gg_",
|
|
54
|
+
"--data-aria-level": "--data-aria-level_15zlz",
|
|
55
|
+
"__SAccordionToggle": "___SAccordionToggle_15zlz_gg_",
|
|
56
|
+
"_use_primary": "_use_primary_15zlz_gg_",
|
|
57
|
+
"_use_secondary": "_use_secondary_15zlz_gg_",
|
|
58
|
+
"_sideIndents_wide": "_sideIndents_wide_15zlz_gg_",
|
|
59
|
+
"_shadowVertical": "__shadowVertical_15zlz_gg_",
|
|
60
|
+
"_fixed_left": "_fixed_left_15zlz_gg_",
|
|
61
|
+
"_shadowVertical_median": "_shadowVertical_median_15zlz_gg_",
|
|
62
|
+
"_shadowVertical_start": "_shadowVertical_start_15zlz_gg_",
|
|
63
|
+
"_fixed_right": "_fixed_right_15zlz_gg_",
|
|
64
|
+
"_shadowVertical_end": "_shadowVertical_end_15zlz_gg_"
|
|
65
65
|
});
|
|
66
66
|
import { ACCORDION, IS_EMPTY_DATA_ROW, SELECT_ALL, UNIQ_ROW_KEY } from '../DataTable/DataTable';
|
|
67
67
|
var RowRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -175,8 +175,9 @@ SCell {
|
|
|
175
175
|
overflow: hidden;
|
|
176
176
|
|
|
177
177
|
SAccordionToggle {
|
|
178
|
-
margin-right: var(--intergalactic-spacing-3x, 12px);
|
|
179
178
|
margin-top: var(--intergalactic-spacing-05x, 2px);
|
|
179
|
+
margin-right: var(--intergalactic-spacing-3x, 12px);
|
|
180
|
+
margin-left: calc(var(--intergalactic-spacing-05x, 2px) * -1);
|
|
180
181
|
height: fit-content;
|
|
181
182
|
|
|
182
183
|
svg {
|
|
@@ -25,37 +25,37 @@ import { isFocusInside, hasFocusableIn } from '@semcore/core/lib/utils/use/useFo
|
|
|
25
25
|
import { NoData } from '@semcore/widget-empty';
|
|
26
26
|
import * as React from 'react';
|
|
27
27
|
/*!__reshadow-styles__:"./dataTable.shadow.css"*/
|
|
28
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
28
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SDataTable_crlgn_gg_{display:grid;align-items:start;min-width:-moz-fit-content;min-width:fit-content}.___SDataTable_crlgn_gg_.__gridTemplateColumns_crlgn_gg_{grid-template-columns:var(--gridTemplateColumns_crlgn)}.___SDataTable_crlgn_gg_.__gridTemplateAreas_crlgn_gg_{grid-template-areas:var(--gridTemplateAreas_crlgn)}.___SDataTable_crlgn_gg_.__gridTemplateRows_crlgn_gg_{grid-template-rows:var(--gridTemplateRows_crlgn)}", /*__inner_css_end__*/"crlgn_gg_"),
|
|
29
29
|
/*__reshadow_css_end__*/
|
|
30
30
|
{
|
|
31
|
-
"__SDataTable": "
|
|
32
|
-
"_gridTemplateColumns": "
|
|
33
|
-
"--gridTemplateColumns": "--
|
|
34
|
-
"_gridTemplateAreas": "
|
|
35
|
-
"--gridTemplateAreas": "--
|
|
36
|
-
"_gridTemplateRows": "
|
|
37
|
-
"--gridTemplateRows": "--
|
|
31
|
+
"__SDataTable": "___SDataTable_crlgn_gg_",
|
|
32
|
+
"_gridTemplateColumns": "__gridTemplateColumns_crlgn_gg_",
|
|
33
|
+
"--gridTemplateColumns": "--gridTemplateColumns_crlgn",
|
|
34
|
+
"_gridTemplateAreas": "__gridTemplateAreas_crlgn_gg_",
|
|
35
|
+
"--gridTemplateAreas": "--gridTemplateAreas_crlgn",
|
|
36
|
+
"_gridTemplateRows": "__gridTemplateRows_crlgn_gg_",
|
|
37
|
+
"--gridTemplateRows": "--gridTemplateRows_crlgn"
|
|
38
38
|
});
|
|
39
39
|
/*!__reshadow-styles__:"../../style/scroll-shadows.shadow.css"*/
|
|
40
|
-
var scrollStyles = (/*__reshadow_css_start__*/_sstyled2.insert(/*__inner_css_start__*/".
|
|
40
|
+
var scrollStyles = (/*__reshadow_css_start__*/_sstyled2.insert(/*__inner_css_start__*/".___SScrollArea_1994j_gg_{width:-moz-fit-content;width:fit-content}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_{overflow:visible;overflow:initial}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_._scrollDirection_both_1994j_gg_{overflow:auto}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_._scrollDirection_both_1994j_gg_.__loading_1994j_gg_,.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_._scrollDirection_horizontal_1994j_gg_.__loading_1994j_gg_,.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_._scrollDirection_vertical_1994j_gg_.__loading_1994j_gg_{overflow:hidden}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_._scrollDirection_horizontal_1994j_gg_{overflow-x:auto;overflow-y:initial}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_._scrollDirection_vertical_1994j_gg_{overflow-x:initial;overflow-y:auto}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_.__headerHeight_1994j_gg_{scroll-padding-top:var(--headerHeight_1994j)}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_.__leftScrollPadding_1994j_gg_{scroll-padding-left:var(--leftScrollPadding_1994j)}.___SScrollArea_1994j_gg_ .___SContainer_1994j_gg_.__rightScrollPadding_1994j_gg_{scroll-padding-right:var(--rightScrollPadding_1994j)}.___SScrollArea_1994j_gg_ .___SShadowHorizontal_1994j_gg_::before,.___SScrollArea_1994j_gg_ .___SShadowHorizontal_1994j_gg_:after,.___SScrollArea_1994j_gg_ .___SShadowVertical_1994j_gg_::after{z-index:20}.___SScrollArea_1994j_gg_ .___SShadowHorizontal_1994j_gg_.__leftOffset_1994j_gg_::before,.___SScrollArea_1994j_gg_ .___SShadowHorizontal_1994j_gg_.__rightOffset_1994j_gg_::after,.___SScrollArea_1994j_gg_ .___SShadowVertical_1994j_gg_::before{display:none}", /*__inner_css_end__*/"1994j_gg_"),
|
|
41
41
|
/*__reshadow_css_end__*/
|
|
42
42
|
{
|
|
43
|
-
"__SScrollArea": "
|
|
44
|
-
"__SContainer": "
|
|
45
|
-
"_scrollDirection_both": "
|
|
46
|
-
"_loading": "
|
|
47
|
-
"_scrollDirection_horizontal": "
|
|
48
|
-
"_scrollDirection_vertical": "
|
|
49
|
-
"_headerHeight": "
|
|
50
|
-
"--headerHeight": "--
|
|
51
|
-
"_leftScrollPadding": "
|
|
52
|
-
"--leftScrollPadding": "--
|
|
53
|
-
"_rightScrollPadding": "
|
|
54
|
-
"--rightScrollPadding": "--
|
|
55
|
-
"__SShadowVertical": "
|
|
56
|
-
"__SShadowHorizontal": "
|
|
57
|
-
"_leftOffset": "
|
|
58
|
-
"_rightOffset": "
|
|
43
|
+
"__SScrollArea": "___SScrollArea_1994j_gg_",
|
|
44
|
+
"__SContainer": "___SContainer_1994j_gg_",
|
|
45
|
+
"_scrollDirection_both": "_scrollDirection_both_1994j_gg_",
|
|
46
|
+
"_loading": "__loading_1994j_gg_",
|
|
47
|
+
"_scrollDirection_horizontal": "_scrollDirection_horizontal_1994j_gg_",
|
|
48
|
+
"_scrollDirection_vertical": "_scrollDirection_vertical_1994j_gg_",
|
|
49
|
+
"_headerHeight": "__headerHeight_1994j_gg_",
|
|
50
|
+
"--headerHeight": "--headerHeight_1994j",
|
|
51
|
+
"_leftScrollPadding": "__leftScrollPadding_1994j_gg_",
|
|
52
|
+
"--leftScrollPadding": "--leftScrollPadding_1994j",
|
|
53
|
+
"_rightScrollPadding": "__rightScrollPadding_1994j_gg_",
|
|
54
|
+
"--rightScrollPadding": "--rightScrollPadding_1994j",
|
|
55
|
+
"__SShadowVertical": "___SShadowVertical_1994j_gg_",
|
|
56
|
+
"__SShadowHorizontal": "___SShadowHorizontal_1994j_gg_",
|
|
57
|
+
"_leftOffset": "__leftOffset_1994j_gg_",
|
|
58
|
+
"_rightOffset": "__rightOffset_1994j_gg_"
|
|
59
59
|
});
|
|
60
60
|
import { localizedMessages } from '../../translations/__intergalactic-dynamic-locales';
|
|
61
61
|
import { Body } from '../Body/Body';
|
|
@@ -83,10 +83,12 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
83
83
|
_defineProperty(_this, "tableRef", /*#__PURE__*/React.createRef());
|
|
84
84
|
_defineProperty(_this, "headerRef", /*#__PURE__*/React.createRef());
|
|
85
85
|
_defineProperty(_this, "spinnerRef", /*#__PURE__*/React.createRef());
|
|
86
|
+
_defineProperty(_this, "containerResizeEndTimeoutId", null);
|
|
86
87
|
_defineProperty(_this, "gridAreaGroupMap", new Map());
|
|
87
88
|
_defineProperty(_this, "columnsSplitter", '/');
|
|
88
|
-
_defineProperty(_this, "
|
|
89
|
-
_defineProperty(_this, "
|
|
89
|
+
_defineProperty(_this, "tmpData", void 0);
|
|
90
|
+
_defineProperty(_this, "calculatedRows", void 0);
|
|
91
|
+
_defineProperty(_this, "flatRows", void 0);
|
|
90
92
|
_defineProperty(_this, "selectAllMessageTimer", 0);
|
|
91
93
|
_defineProperty(_this, "headerNodesMap", new Map());
|
|
92
94
|
_defineProperty(_this, "state", {
|
|
@@ -390,6 +392,12 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
390
392
|
_defineProperty(_this, "handleBackFromAccordion", function (cellIndex) {
|
|
391
393
|
_this.changeFocusCell(-1, cellIndex === -1 ? 0 : cellIndex, 'up');
|
|
392
394
|
});
|
|
395
|
+
_defineProperty(_this, "handleContainerResizeEnd", function () {
|
|
396
|
+
if (_this.containerResizeEndTimeoutId) {
|
|
397
|
+
clearTimeout(_this.containerResizeEndTimeoutId);
|
|
398
|
+
}
|
|
399
|
+
_this.containerResizeEndTimeoutId = setTimeout(_this.calculateVerticalShadow, 0);
|
|
400
|
+
});
|
|
393
401
|
_defineProperty(_this, "getScrollOffsetValue", function () {
|
|
394
402
|
if (!_this.headerRef.current) {
|
|
395
403
|
return [0, 0];
|
|
@@ -463,8 +471,9 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
463
471
|
_this.columns = cols[0];
|
|
464
472
|
_this.treeColumns = cols[1];
|
|
465
473
|
}
|
|
466
|
-
_this.
|
|
467
|
-
_this.flatRows = _this.
|
|
474
|
+
_this.calculatedRows = _this.getRows();
|
|
475
|
+
_this.flatRows = _this.calculatedRows.flat();
|
|
476
|
+
_this.tmpData = props.data;
|
|
468
477
|
return _this;
|
|
469
478
|
}
|
|
470
479
|
_inherits(DataTableRoot, _Component);
|
|
@@ -503,11 +512,9 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
503
512
|
var cols = this.calculateColumnsFromConfig();
|
|
504
513
|
this.columns = cols[0];
|
|
505
514
|
this.treeColumns = cols[1];
|
|
515
|
+
this.forceUpdate();
|
|
506
516
|
}
|
|
507
517
|
if (prevProps.data !== data || prevProps.columns !== columns) {
|
|
508
|
-
this.rows = this.calculateRows();
|
|
509
|
-
this.flatRows = this.rows.flat();
|
|
510
|
-
this.forceUpdate();
|
|
511
518
|
if (this.hasFixedColumn) {
|
|
512
519
|
this.calculateVerticalShadow();
|
|
513
520
|
}
|
|
@@ -533,7 +540,7 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
533
540
|
var _this$asProps5 = this.asProps,
|
|
534
541
|
totalRows = _this$asProps5.totalRows,
|
|
535
542
|
expandedRows = _this$asProps5.expandedRows;
|
|
536
|
-
var flatRows = this.
|
|
543
|
+
var flatRows = this.getFlatRows();
|
|
537
544
|
var expandedRowsCount = Array.from(expandedRows !== null && expandedRows !== void 0 ? expandedRows : []).reduce(function (acc, rowKey) {
|
|
538
545
|
var dtRow = flatRows.find(function (el) {
|
|
539
546
|
return el[UNIQ_ROW_KEY] === rowKey;
|
|
@@ -551,7 +558,7 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
551
558
|
if (totalRows !== undefined) {
|
|
552
559
|
return totalRows + expandedRowsCount;
|
|
553
560
|
}
|
|
554
|
-
var rows = this.
|
|
561
|
+
var rows = this.getRows().reduce(function (acc, item) {
|
|
555
562
|
acc = acc + 1;
|
|
556
563
|
if (Array.isArray(item)) {
|
|
557
564
|
acc = acc + item.length;
|
|
@@ -631,9 +638,9 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
631
638
|
sideIndents: sideIndents,
|
|
632
639
|
totalRows: this.totalRows,
|
|
633
640
|
selectedRows: selectedRows,
|
|
634
|
-
flatRows: this.
|
|
641
|
+
flatRows: this.getFlatRows(),
|
|
635
642
|
onChangeSelectAll: function onChangeSelectAll(value, e) {
|
|
636
|
-
var mappedFlatRows = _this3.
|
|
643
|
+
var mappedFlatRows = _this3.getFlatRows().map(function (r) {
|
|
637
644
|
return r[UNIQ_ROW_KEY];
|
|
638
645
|
});
|
|
639
646
|
var selectedRowsSet = new Set(selectedRows);
|
|
@@ -679,8 +686,8 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
679
686
|
accordionDuration: accordionDuration,
|
|
680
687
|
accordionMode: accordionMode,
|
|
681
688
|
columns: this.columns,
|
|
682
|
-
rows: this.
|
|
683
|
-
flatRows: this.
|
|
689
|
+
rows: this.getRows(),
|
|
690
|
+
flatRows: this.getFlatRows(),
|
|
684
691
|
use: use,
|
|
685
692
|
compact: Boolean(compact),
|
|
686
693
|
gridTemplateColumns: gridTemplateColumns,
|
|
@@ -701,8 +708,8 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
701
708
|
virtualScroll: virtualScroll,
|
|
702
709
|
hasGroups: this.hasGroups,
|
|
703
710
|
uid: uid,
|
|
704
|
-
rowProps: this.
|
|
705
|
-
renderCell: this.
|
|
711
|
+
rowProps: this.getRows().length > 0 ? rowProps : undefined,
|
|
712
|
+
renderCell: this.getRows().length > 0 ? renderCell : undefined,
|
|
706
713
|
renderEmptyData: renderEmptyData,
|
|
707
714
|
sideIndents: sideIndents,
|
|
708
715
|
selectedRows: selectedRows,
|
|
@@ -793,7 +800,8 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
793
800
|
"container": this.tableContainerRef,
|
|
794
801
|
"styles": scrollStyles,
|
|
795
802
|
"onScroll": this.handleScroll,
|
|
796
|
-
"disableAutofocusToContent": true
|
|
803
|
+
"disableAutofocusToContent": true,
|
|
804
|
+
"onResize": this.handleContainerResizeEnd
|
|
797
805
|
}), /*#__PURE__*/React.createElement(ScrollArea.Container, {
|
|
798
806
|
tabIndex: -1
|
|
799
807
|
// @ts-ignore
|
|
@@ -1027,12 +1035,21 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
1027
1035
|
groupIndex++;
|
|
1028
1036
|
}
|
|
1029
1037
|
});
|
|
1030
|
-
console.log(calculatedColumns, treeColumns);
|
|
1031
1038
|
return [calculatedColumns, treeColumns];
|
|
1032
1039
|
}
|
|
1033
1040
|
}, {
|
|
1034
|
-
key: "
|
|
1035
|
-
value: function
|
|
1041
|
+
key: "getFlatRows",
|
|
1042
|
+
value: function getFlatRows() {
|
|
1043
|
+
var data = this.props.data;
|
|
1044
|
+
if (this.tmpData === data && this.flatRows) {
|
|
1045
|
+
return this.flatRows;
|
|
1046
|
+
}
|
|
1047
|
+
this.flatRows = this.getRows().flat();
|
|
1048
|
+
return this.flatRows;
|
|
1049
|
+
}
|
|
1050
|
+
}, {
|
|
1051
|
+
key: "getRows",
|
|
1052
|
+
value: function getRows() {
|
|
1036
1053
|
var _this6 = this;
|
|
1037
1054
|
var columns = this.columns;
|
|
1038
1055
|
// @ts-ignore
|
|
@@ -1040,6 +1057,10 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
1040
1057
|
data = _this$props3.data,
|
|
1041
1058
|
uid = _this$props3.uid,
|
|
1042
1059
|
uniqueRowKey = _this$props3.uniqueRowKey;
|
|
1060
|
+
if (this.tmpData === data) {
|
|
1061
|
+
return this.calculatedRows;
|
|
1062
|
+
}
|
|
1063
|
+
this.tmpData = data;
|
|
1043
1064
|
var rows = [];
|
|
1044
1065
|
var columnNames = columns.map(function (column) {
|
|
1045
1066
|
return column.name;
|
|
@@ -1118,6 +1139,7 @@ var DataTableRoot = /*#__PURE__*/function (_Component) {
|
|
|
1118
1139
|
rowIndex++;
|
|
1119
1140
|
}
|
|
1120
1141
|
});
|
|
1142
|
+
this.calculatedRows = rows;
|
|
1121
1143
|
return rows;
|
|
1122
1144
|
}
|
|
1123
1145
|
}, {
|