@semcore/data-table 16.0.4 → 16.0.5
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 +22 -0
- package/lib/cjs/components/Body/Body.js +55 -46
- 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 +69 -56
- 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 +41 -41
- package/lib/cjs/components/Body/Row.js.map +1 -1
- package/lib/cjs/components/Body/Row.types.js.map +1 -1
- package/lib/cjs/components/DataTable/DataTable.js +74 -47
- 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 +77 -59
- package/lib/cjs/components/Head/Column.js.map +1 -1
- package/lib/cjs/components/Head/Column.types.js.map +1 -1
- package/lib/cjs/components/Head/Group.js +52 -38
- package/lib/cjs/components/Head/Group.js.map +1 -1
- package/lib/cjs/components/Head/Group.type.js.map +1 -1
- package/lib/cjs/components/Head/Head.js +30 -29
- package/lib/cjs/components/Head/Head.js.map +1 -1
- package/lib/cjs/components/Head/Head.types.js.map +1 -1
- package/lib/cjs/components/Head/style.shadow.css +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/components/Body/Body.js +55 -46
- 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 +69 -56
- 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 +42 -42
- package/lib/es6/components/Body/Row.js.map +1 -1
- package/lib/es6/components/Body/Row.types.js.map +1 -1
- package/lib/es6/components/DataTable/DataTable.js +74 -47
- 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 +77 -59
- package/lib/es6/components/Head/Column.js.map +1 -1
- package/lib/es6/components/Head/Column.types.js.map +1 -1
- package/lib/es6/components/Head/Group.js +52 -38
- package/lib/es6/components/Head/Group.js.map +1 -1
- package/lib/es6/components/Head/Group.type.js.map +1 -1
- package/lib/es6/components/Head/Head.js +30 -29
- package/lib/es6/components/Head/Head.js.map +1 -1
- package/lib/es6/components/Head/Head.types.js.map +1 -1
- package/lib/es6/components/Head/style.shadow.css +1 -1
- package/lib/es6/index.js +5 -1
- package/lib/es6/index.js.map +1 -1
- package/lib/esm/components/Body/Body.mjs +55 -47
- package/lib/esm/components/Body/Cell.mjs +49 -40
- package/lib/esm/components/Body/Row.mjs +46 -43
- package/lib/esm/components/DataTable/DataTable.mjs +75 -49
- package/lib/esm/components/Head/Column.mjs +56 -42
- package/lib/esm/components/Head/Group.mjs +46 -34
- package/lib/esm/components/Head/Head.mjs +29 -30
- package/lib/esm/components/Head/style.shadow.css +1 -1
- package/lib/types/components/Body/Body.types.d.ts +5 -3
- package/lib/types/components/Body/Cell.types.d.ts +6 -0
- package/lib/types/components/Body/Row.types.d.ts +1 -1
- package/lib/types/components/DataTable/DataTable.types.d.ts +18 -8
- package/lib/types/components/Head/Column.d.ts +2 -1
- package/lib/types/components/Head/Column.types.d.ts +2 -0
- package/lib/types/components/Head/Group.type.d.ts +1 -1
- package/lib/types/components/Head/Head.types.d.ts +4 -1
- package/lib/types/index.d.ts +7 -3
- package/package.json +21 -21
|
@@ -20,46 +20,46 @@ var style = (
|
|
|
20
20
|
/*__reshadow_css_start__*/
|
|
21
21
|
(sstyled.insert(
|
|
22
22
|
/*__inner_css_start__*/
|
|
23
|
-
'.___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)}',
|
|
23
|
+
'.___SAccordionRows_1maz2_gg_,.___SBody_1maz2_gg_,.___SRowGroup_1maz2_gg_,.___SRow_1maz2_gg_{display:contents}.___SBody_1maz2_gg_.__compact_1maz2_gg_ .___SCell_1maz2_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_1maz2_gg_.__compact_1maz2_gg_ .___SCell_1maz2_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_1maz2) - 1)))}.___SCellWrapper_1maz2_gg_.__gridArea_1maz2_gg_,.___SCollapseRow_1maz2_gg_.__gridArea_1maz2_gg_,.___SRow_1maz2_gg_.__gridArea_1maz2_gg_{grid-area:var(--gridArea_1maz2)}.___SCellWrapper_1maz2_gg_{height:100%}.___SAccordionRows_1maz2_gg_>.___SRow_1maz2_gg_.__isAccordionRow_1maz2_gg_:last-child>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_,.___SCollapseRow_1maz2_gg_.__gridArea_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_1maz2_gg_ .___SCell_1maz2_gg_{display:block}.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_).__expanded_1maz2_gg_.__withAccordion_1maz2_gg_,.___SRow_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_._accordionType_row_1maz2_gg_.__expanded_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_.__isAccordionRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_muted_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_muted_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_):not(.__expanded_1maz2_gg_.__withAccordion_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_muted_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_muted_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_):not(.__expanded_1maz2_gg_.__withAccordion_1maz2_gg_),.___SRow_1maz2_gg_._theme_muted_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_muted_1maz2_gg_,.___SRow_1maz2_gg_:not(._accordionType_row_1maz2_gg_.__expanded_1maz2_gg_):hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_):not(.__expanded_1maz2_gg_.__withAccordion_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_info_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_info_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_info_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_info_1maz2_gg_,.___SRow_1maz2_gg_._theme_info_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_info_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_success_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_success_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_success_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_success_1maz2_gg_,.___SRow_1maz2_gg_._theme_success_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_success_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_warning_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_warning_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_warning_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_warning_1maz2_gg_,.___SRow_1maz2_gg_._theme_warning_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_warning_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_danger_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_danger_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_danger_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_danger_1maz2_gg_,.___SRow_1maz2_gg_._theme_danger_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_danger_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_1maz2_gg_._theme_muted_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_1maz2_gg_._theme_muted_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_1maz2_gg_._theme_info_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_1maz2_gg_._theme_info_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_1maz2_gg_._theme_success_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_1maz2_gg_._theme_success_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_1maz2_gg_._theme_warning_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_1maz2_gg_._theme_warning_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_1maz2_gg_._theme_danger_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_1maz2_gg_._theme_danger_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_1maz2_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_1maz2_gg_ .___SAccordionToggle_1maz2_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_1maz2_gg_ .___SAccordionToggle_1maz2_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_1maz2_gg_ .___SAccordionToggle_1maz2_gg_.__expanded_1maz2_gg_ svg{transform:rotate(90deg)}.___SCell_1maz2_gg_.__withAccordion_1maz2_gg_,.___SCheckboxCell_1maz2_gg_,.___SRow_1maz2_gg_._accordionType_row_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_{cursor:pointer}.___SCell_1maz2_gg_._use_primary_1maz2_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1maz2_gg_._use_primary_1maz2_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_1maz2) - 1)))}.___SCell_1maz2_gg_._use_secondary_1maz2_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1maz2_gg_._use_secondary_1maz2_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_1maz2) - 1)))}.___SCell_1maz2_gg_._borders_both_1maz2_gg_,.___SCell_1maz2_gg_._borders_left_1maz2_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_1maz2_gg_._borders_both_1maz2_gg_,.___SCell_1maz2_gg_._borders_right_1maz2_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_1maz2_gg_.__fixed_1maz2_gg_{position:sticky;z-index:2}.___SCell_1maz2_gg_._theme_muted_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_1maz2_gg_._theme_info_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_1maz2_gg_._theme_success_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_1maz2_gg_._theme_warning_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_1maz2_gg_._theme_danger_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_1maz2_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_1maz2_gg_.__headerHeight_1maz2_gg_{top:var(--headerHeight_1maz2)}.___SEmptyData_1maz2_gg_{grid-column:1/-1}.___SRow_1maz2_gg_._sideIndents_wide_1maz2_gg_ .___SCellWrapper_1maz2_gg_:first-child .___SCell_1maz2_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_1maz2_gg_._sideIndents_wide_1maz2_gg_ .___SCellWrapper_1maz2_gg_:last-child .___SCell_1maz2_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}',
|
|
24
24
|
/*__inner_css_end__*/
|
|
25
|
-
"
|
|
25
|
+
"1maz2_gg_"
|
|
26
26
|
), /*__reshadow_css_end__*/
|
|
27
27
|
{
|
|
28
|
-
"__SBody": "
|
|
29
|
-
"__SRow": "
|
|
30
|
-
"__SRowGroup": "
|
|
31
|
-
"__SAccordionRows": "
|
|
32
|
-
"_gridArea": "
|
|
33
|
-
"__SCellWrapper": "
|
|
34
|
-
"__SCollapseRow": "
|
|
35
|
-
"--gridArea": "--
|
|
36
|
-
"__SCell": "
|
|
37
|
-
"_isAccordionRow": "
|
|
38
|
-
"_active": "
|
|
39
|
-
"_theme": "
|
|
40
|
-
"_accordionType_row": "
|
|
41
|
-
"_expanded": "
|
|
42
|
-
"_withAccordion": "
|
|
43
|
-
"_theme_muted": "
|
|
44
|
-
"_theme_info": "
|
|
45
|
-
"_theme_success": "
|
|
46
|
-
"_theme_warning": "
|
|
47
|
-
"_theme_danger": "
|
|
48
|
-
"__SCheckboxCell": "
|
|
49
|
-
"_borders_both": "
|
|
50
|
-
"_borders_left": "
|
|
51
|
-
"_borders_right": "
|
|
52
|
-
"_fixed": "
|
|
53
|
-
"__SSpinContainer": "
|
|
54
|
-
"_headerHeight": "
|
|
55
|
-
"--headerHeight": "--
|
|
56
|
-
"__SEmptyData": "
|
|
57
|
-
"_compact": "
|
|
58
|
-
"--data-aria-level": "--data-aria-
|
|
59
|
-
"__SAccordionToggle": "
|
|
60
|
-
"_use_primary": "
|
|
61
|
-
"_use_secondary": "
|
|
62
|
-
"_sideIndents_wide": "
|
|
28
|
+
"__SBody": "___SBody_1maz2_gg_",
|
|
29
|
+
"__SRow": "___SRow_1maz2_gg_",
|
|
30
|
+
"__SRowGroup": "___SRowGroup_1maz2_gg_",
|
|
31
|
+
"__SAccordionRows": "___SAccordionRows_1maz2_gg_",
|
|
32
|
+
"_gridArea": "__gridArea_1maz2_gg_",
|
|
33
|
+
"__SCellWrapper": "___SCellWrapper_1maz2_gg_",
|
|
34
|
+
"__SCollapseRow": "___SCollapseRow_1maz2_gg_",
|
|
35
|
+
"--gridArea": "--gridArea_1maz2",
|
|
36
|
+
"__SCell": "___SCell_1maz2_gg_",
|
|
37
|
+
"_isAccordionRow": "__isAccordionRow_1maz2_gg_",
|
|
38
|
+
"_active": "__active_1maz2_gg_",
|
|
39
|
+
"_theme": "__theme_1maz2_gg_",
|
|
40
|
+
"_accordionType_row": "_accordionType_row_1maz2_gg_",
|
|
41
|
+
"_expanded": "__expanded_1maz2_gg_",
|
|
42
|
+
"_withAccordion": "__withAccordion_1maz2_gg_",
|
|
43
|
+
"_theme_muted": "_theme_muted_1maz2_gg_",
|
|
44
|
+
"_theme_info": "_theme_info_1maz2_gg_",
|
|
45
|
+
"_theme_success": "_theme_success_1maz2_gg_",
|
|
46
|
+
"_theme_warning": "_theme_warning_1maz2_gg_",
|
|
47
|
+
"_theme_danger": "_theme_danger_1maz2_gg_",
|
|
48
|
+
"__SCheckboxCell": "___SCheckboxCell_1maz2_gg_",
|
|
49
|
+
"_borders_both": "_borders_both_1maz2_gg_",
|
|
50
|
+
"_borders_left": "_borders_left_1maz2_gg_",
|
|
51
|
+
"_borders_right": "_borders_right_1maz2_gg_",
|
|
52
|
+
"_fixed": "__fixed_1maz2_gg_",
|
|
53
|
+
"__SSpinContainer": "___SSpinContainer_1maz2_gg_",
|
|
54
|
+
"_headerHeight": "__headerHeight_1maz2_gg_",
|
|
55
|
+
"--headerHeight": "--headerHeight_1maz2",
|
|
56
|
+
"__SEmptyData": "___SEmptyData_1maz2_gg_",
|
|
57
|
+
"_compact": "__compact_1maz2_gg_",
|
|
58
|
+
"--data-aria-level": "--data-aria-level_1maz2",
|
|
59
|
+
"__SAccordionToggle": "___SAccordionToggle_1maz2_gg_",
|
|
60
|
+
"_use_primary": "_use_primary_1maz2_gg_",
|
|
61
|
+
"_use_secondary": "_use_secondary_1maz2_gg_",
|
|
62
|
+
"_sideIndents_wide": "_sideIndents_wide_1maz2_gg_"
|
|
63
63
|
})
|
|
64
64
|
);
|
|
65
65
|
var DEFAULT_ROW_DURATION = 50;
|
|
@@ -126,13 +126,21 @@ var CellRoot = /* @__PURE__ */ function(_Component) {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
|
+
_defineProperty(_this, "handleClickCell", function(e) {
|
|
130
|
+
var _this$asProps = _this.asProps, rowIndex = _this$asProps.rowIndex, columnIndex = _this$asProps.columnIndex, onClick = _this$asProps.onClick, row = _this$asProps.row;
|
|
131
|
+
onClick(e, {
|
|
132
|
+
rowIndex,
|
|
133
|
+
colIndex: columnIndex,
|
|
134
|
+
row
|
|
135
|
+
});
|
|
136
|
+
});
|
|
129
137
|
return _this;
|
|
130
138
|
}
|
|
131
139
|
_inherits(CellRoot2, _Component);
|
|
132
140
|
return _createClass(CellRoot2, [{
|
|
133
141
|
key: "componentWillUnmount",
|
|
134
142
|
value: function componentWillUnmount() {
|
|
135
|
-
var _this$
|
|
143
|
+
var _this$asProps2 = this.asProps, virtualScroll = _this$asProps2.virtualScroll, tableRef = _this$asProps2.tableRef;
|
|
136
144
|
if (virtualScroll && this.cellRef.current && isFocusInside(this.cellRef.current)) {
|
|
137
145
|
var _tableRef$current;
|
|
138
146
|
(_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 || _tableRef$current.setAttribute("tabIndex", "0");
|
|
@@ -141,7 +149,7 @@ var CellRoot = /* @__PURE__ */ function(_Component) {
|
|
|
141
149
|
}, {
|
|
142
150
|
key: "calculateAnimationSettings",
|
|
143
151
|
value: function calculateAnimationSettings() {
|
|
144
|
-
var _this$
|
|
152
|
+
var _this$asProps3 = this.asProps, _this$asProps3$accord = _this$asProps3.accordionRowIndex, accordionRowIndex = _this$asProps3$accord === void 0 ? 0 : _this$asProps3$accord, isAccordionRow = _this$asProps3.isAccordionRow, animationExpand = _this$asProps3.animationExpand, accordionDuration = _this$asProps3.accordionDuration, rows = _this$asProps3.rows;
|
|
145
153
|
if (!isAccordionRow) {
|
|
146
154
|
return {};
|
|
147
155
|
}
|
|
@@ -168,7 +176,7 @@ var CellRoot = /* @__PURE__ */ function(_Component) {
|
|
|
168
176
|
var _ref = this.asProps, _ref2;
|
|
169
177
|
var SCellWrapper = Box;
|
|
170
178
|
var SCell = Flex;
|
|
171
|
-
var _this$
|
|
179
|
+
var _this$asProps4 = this.asProps, Children = _this$asProps4.Children, styles = _this$asProps4.styles, row = _this$asProps4.row, column = _this$asProps4.column, columnIndex = _this$asProps4.columnIndex, gridRowIndex = _this$asProps4.gridRowIndex, isAccordionRow = _this$asProps4.isAccordionRow, animationExpand = _this$asProps4.animationExpand, style2 = _this$asProps4.style;
|
|
172
180
|
var cell = row[column.name];
|
|
173
181
|
var cellName = cell instanceof MergedColumnsCell ? cell.dataKey : column.name;
|
|
174
182
|
var scope = null;
|
|
@@ -202,6 +210,7 @@ var CellRoot = /* @__PURE__ */ function(_Component) {
|
|
|
202
210
|
"tabIndex": -1,
|
|
203
211
|
"onKeyDown": this.handleKeyDown,
|
|
204
212
|
"onFocus": this.onFocusCell,
|
|
213
|
+
"use:onClick": this.handleClickCell,
|
|
205
214
|
"name": cellName.toString(),
|
|
206
215
|
"role": "gridcell",
|
|
207
216
|
"aria-colindex": columnIndex + 1,
|
|
@@ -13,7 +13,7 @@ import Checkbox from "@semcore/checkbox";
|
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
import { Body } from "./Body.mjs";
|
|
15
15
|
import { MergedRowsCell, MergedColumnsCell } from "./MergedCells.mjs";
|
|
16
|
-
import { ACCORDION, SELECT_ALL } from "../DataTable/DataTable.mjs";
|
|
16
|
+
import { ACCORDION, UNIQ_ROW_KEY, SELECT_ALL } from "../DataTable/DataTable.mjs";
|
|
17
17
|
function _callSuper(t, o, e) {
|
|
18
18
|
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
19
19
|
}
|
|
@@ -22,46 +22,46 @@ var style = (
|
|
|
22
22
|
/*__reshadow_css_start__*/
|
|
23
23
|
(sstyled.insert(
|
|
24
24
|
/*__inner_css_start__*/
|
|
25
|
-
'.___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)}',
|
|
25
|
+
'.___SAccordionRows_1maz2_gg_,.___SBody_1maz2_gg_,.___SRowGroup_1maz2_gg_,.___SRow_1maz2_gg_{display:contents}.___SBody_1maz2_gg_.__compact_1maz2_gg_ .___SCell_1maz2_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_1maz2_gg_.__compact_1maz2_gg_ .___SCell_1maz2_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + (var(--intergalactic-spacing-5x, 20px)*(var(--data-aria-level_1maz2) - 1)))}.___SCellWrapper_1maz2_gg_.__gridArea_1maz2_gg_,.___SCollapseRow_1maz2_gg_.__gridArea_1maz2_gg_,.___SRow_1maz2_gg_.__gridArea_1maz2_gg_{grid-area:var(--gridArea_1maz2)}.___SCellWrapper_1maz2_gg_{height:100%}.___SAccordionRows_1maz2_gg_>.___SRow_1maz2_gg_.__isAccordionRow_1maz2_gg_:last-child>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_,.___SCollapseRow_1maz2_gg_.__gridArea_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_{border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_1maz2_gg_ .___SCell_1maz2_gg_{display:block}.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_).__expanded_1maz2_gg_.__withAccordion_1maz2_gg_,.___SRow_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_._accordionType_row_1maz2_gg_.__expanded_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_.__isAccordionRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_muted_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_muted_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_):not(.__expanded_1maz2_gg_.__withAccordion_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_muted_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_muted_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_):not(.__expanded_1maz2_gg_.__withAccordion_1maz2_gg_),.___SRow_1maz2_gg_._theme_muted_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_muted_1maz2_gg_,.___SRow_1maz2_gg_:not(._accordionType_row_1maz2_gg_.__expanded_1maz2_gg_):hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_):not(.__expanded_1maz2_gg_.__withAccordion_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_info_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_info_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_info_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_info_1maz2_gg_,.___SRow_1maz2_gg_._theme_info_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_info_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_success_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_success_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_success_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_success_1maz2_gg_,.___SRow_1maz2_gg_._theme_success_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_success_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_warning_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_warning_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_warning_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_warning_1maz2_gg_,.___SRow_1maz2_gg_._theme_warning_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_warning_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_._theme_danger_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_[data-grouped-by=rowgroup]._theme_danger_1maz2_gg_,.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_._theme_danger_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRowGroup_1maz2_gg_:has(.___SCell_1maz2_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_danger_1maz2_gg_,.___SRow_1maz2_gg_._theme_danger_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_),.___SRow_1maz2_gg_:hover>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_._theme_danger_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_1maz2_gg_._theme_muted_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_1maz2_gg_._theme_muted_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_1maz2_gg_._theme_info_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_1maz2_gg_._theme_info_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_1maz2_gg_._theme_success_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_1maz2_gg_._theme_success_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_1maz2_gg_._theme_warning_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_1maz2_gg_._theme_warning_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_1maz2_gg_._theme_danger_1maz2_gg_ .___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_1maz2_gg_._theme_danger_1maz2_gg_.__active_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_:not(.__theme_1maz2_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_1maz2_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_1maz2_gg_ .___SAccordionToggle_1maz2_gg_{margin-right:var(--intergalactic-spacing-3x, 12px);margin-top:var(--intergalactic-spacing-05x, 2px);height:-moz-fit-content;height:fit-content}.___SCell_1maz2_gg_ .___SAccordionToggle_1maz2_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_1maz2_gg_ .___SAccordionToggle_1maz2_gg_.__expanded_1maz2_gg_ svg{transform:rotate(90deg)}.___SCell_1maz2_gg_.__withAccordion_1maz2_gg_,.___SCheckboxCell_1maz2_gg_,.___SRow_1maz2_gg_._accordionType_row_1maz2_gg_>.___SCellWrapper_1maz2_gg_>.___SCell_1maz2_gg_{cursor:pointer}.___SCell_1maz2_gg_._use_primary_1maz2_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1maz2_gg_._use_primary_1maz2_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_1maz2) - 1)))}.___SCell_1maz2_gg_._use_secondary_1maz2_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_1maz2_gg_._use_secondary_1maz2_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_1maz2) - 1)))}.___SCell_1maz2_gg_._borders_both_1maz2_gg_,.___SCell_1maz2_gg_._borders_left_1maz2_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_1maz2_gg_._borders_both_1maz2_gg_,.___SCell_1maz2_gg_._borders_right_1maz2_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_1maz2_gg_.__fixed_1maz2_gg_{position:sticky;z-index:2}.___SCell_1maz2_gg_._theme_muted_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_1maz2_gg_._theme_info_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_1maz2_gg_._theme_success_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_1maz2_gg_._theme_warning_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_1maz2_gg_._theme_danger_1maz2_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_1maz2_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_1maz2_gg_.__headerHeight_1maz2_gg_{top:var(--headerHeight_1maz2)}.___SEmptyData_1maz2_gg_{grid-column:1/-1}.___SRow_1maz2_gg_._sideIndents_wide_1maz2_gg_ .___SCellWrapper_1maz2_gg_:first-child .___SCell_1maz2_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_1maz2_gg_._sideIndents_wide_1maz2_gg_ .___SCellWrapper_1maz2_gg_:last-child .___SCell_1maz2_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}',
|
|
26
26
|
/*__inner_css_end__*/
|
|
27
|
-
"
|
|
27
|
+
"1maz2_gg_"
|
|
28
28
|
), /*__reshadow_css_end__*/
|
|
29
29
|
{
|
|
30
|
-
"__SBody": "
|
|
31
|
-
"__SRow": "
|
|
32
|
-
"__SRowGroup": "
|
|
33
|
-
"__SAccordionRows": "
|
|
34
|
-
"_gridArea": "
|
|
35
|
-
"__SCellWrapper": "
|
|
36
|
-
"__SCollapseRow": "
|
|
37
|
-
"--gridArea": "--
|
|
38
|
-
"__SCell": "
|
|
39
|
-
"_isAccordionRow": "
|
|
40
|
-
"_active": "
|
|
41
|
-
"_theme": "
|
|
42
|
-
"_accordionType_row": "
|
|
43
|
-
"_expanded": "
|
|
44
|
-
"_withAccordion": "
|
|
45
|
-
"_theme_muted": "
|
|
46
|
-
"_theme_info": "
|
|
47
|
-
"_theme_success": "
|
|
48
|
-
"_theme_warning": "
|
|
49
|
-
"_theme_danger": "
|
|
50
|
-
"__SCheckboxCell": "
|
|
51
|
-
"_borders_both": "
|
|
52
|
-
"_borders_left": "
|
|
53
|
-
"_borders_right": "
|
|
54
|
-
"_fixed": "
|
|
55
|
-
"__SSpinContainer": "
|
|
56
|
-
"_headerHeight": "
|
|
57
|
-
"--headerHeight": "--
|
|
58
|
-
"__SEmptyData": "
|
|
59
|
-
"_compact": "
|
|
60
|
-
"--data-aria-level": "--data-aria-
|
|
61
|
-
"__SAccordionToggle": "
|
|
62
|
-
"_use_primary": "
|
|
63
|
-
"_use_secondary": "
|
|
64
|
-
"_sideIndents_wide": "
|
|
30
|
+
"__SBody": "___SBody_1maz2_gg_",
|
|
31
|
+
"__SRow": "___SRow_1maz2_gg_",
|
|
32
|
+
"__SRowGroup": "___SRowGroup_1maz2_gg_",
|
|
33
|
+
"__SAccordionRows": "___SAccordionRows_1maz2_gg_",
|
|
34
|
+
"_gridArea": "__gridArea_1maz2_gg_",
|
|
35
|
+
"__SCellWrapper": "___SCellWrapper_1maz2_gg_",
|
|
36
|
+
"__SCollapseRow": "___SCollapseRow_1maz2_gg_",
|
|
37
|
+
"--gridArea": "--gridArea_1maz2",
|
|
38
|
+
"__SCell": "___SCell_1maz2_gg_",
|
|
39
|
+
"_isAccordionRow": "__isAccordionRow_1maz2_gg_",
|
|
40
|
+
"_active": "__active_1maz2_gg_",
|
|
41
|
+
"_theme": "__theme_1maz2_gg_",
|
|
42
|
+
"_accordionType_row": "_accordionType_row_1maz2_gg_",
|
|
43
|
+
"_expanded": "__expanded_1maz2_gg_",
|
|
44
|
+
"_withAccordion": "__withAccordion_1maz2_gg_",
|
|
45
|
+
"_theme_muted": "_theme_muted_1maz2_gg_",
|
|
46
|
+
"_theme_info": "_theme_info_1maz2_gg_",
|
|
47
|
+
"_theme_success": "_theme_success_1maz2_gg_",
|
|
48
|
+
"_theme_warning": "_theme_warning_1maz2_gg_",
|
|
49
|
+
"_theme_danger": "_theme_danger_1maz2_gg_",
|
|
50
|
+
"__SCheckboxCell": "___SCheckboxCell_1maz2_gg_",
|
|
51
|
+
"_borders_both": "_borders_both_1maz2_gg_",
|
|
52
|
+
"_borders_left": "_borders_left_1maz2_gg_",
|
|
53
|
+
"_borders_right": "_borders_right_1maz2_gg_",
|
|
54
|
+
"_fixed": "__fixed_1maz2_gg_",
|
|
55
|
+
"__SSpinContainer": "___SSpinContainer_1maz2_gg_",
|
|
56
|
+
"_headerHeight": "__headerHeight_1maz2_gg_",
|
|
57
|
+
"--headerHeight": "--headerHeight_1maz2",
|
|
58
|
+
"__SEmptyData": "___SEmptyData_1maz2_gg_",
|
|
59
|
+
"_compact": "__compact_1maz2_gg_",
|
|
60
|
+
"--data-aria-level": "--data-aria-level_1maz2",
|
|
61
|
+
"__SAccordionToggle": "___SAccordionToggle_1maz2_gg_",
|
|
62
|
+
"_use_primary": "_use_primary_1maz2_gg_",
|
|
63
|
+
"_use_secondary": "_use_secondary_1maz2_gg_",
|
|
64
|
+
"_sideIndents_wide": "_sideIndents_wide_1maz2_gg_"
|
|
65
65
|
})
|
|
66
66
|
);
|
|
67
67
|
var RowRoot = /* @__PURE__ */ function(_Component) {
|
|
@@ -101,13 +101,15 @@ var RowRoot = /* @__PURE__ */ function(_Component) {
|
|
|
101
101
|
}, {
|
|
102
102
|
key: "render",
|
|
103
103
|
value: function render() {
|
|
104
|
-
var _ref = this.asProps, _ref2, _this2 = this
|
|
104
|
+
var _ref = this.asProps, _ref2, _this2 = this;
|
|
105
105
|
var SRow = Box;
|
|
106
106
|
var SCollapseRow = Collapse;
|
|
107
107
|
var SAccordionRows = Box;
|
|
108
108
|
var SCell = Body.Cell;
|
|
109
109
|
var SCheckboxCell = Body.Cell;
|
|
110
|
-
var _this$asProps3 = this.asProps, columns = _this$asProps3.columns, row = _this$asProps3.row, rows = _this$asProps3.rows, styles = _this$asProps3.styles, rowIndex = _this$asProps3.rowIndex, ariaRowIndex = _this$asProps3.ariaRowIndex, gridRowIndex = _this$asProps3.gridRowIndex, expanded = _this$asProps3.expanded, accordionDataGridArea = _this$asProps3.accordionDataGridArea, _this$asProps3$ariaL = _this$asProps3["aria-level"], ariaLevel = _this$asProps3$ariaL === void 0 ? 1 : _this$asProps3$ariaL
|
|
110
|
+
var _this$asProps3 = this.asProps, columns = _this$asProps3.columns, row = _this$asProps3.row, rows = _this$asProps3.rows, styles = _this$asProps3.styles, rowIndex = _this$asProps3.rowIndex, ariaRowIndex = _this$asProps3.ariaRowIndex, gridRowIndex = _this$asProps3.gridRowIndex, expanded = _this$asProps3.expanded, accordionDataGridArea = _this$asProps3.accordionDataGridArea, _this$asProps3$ariaL = _this$asProps3["aria-level"], ariaLevel = _this$asProps3$ariaL === void 0 ? 1 : _this$asProps3$ariaL;
|
|
111
|
+
_this$asProps3.scrollAreaRef;
|
|
112
|
+
var selectedRows = _this$asProps3.selectedRows, uid = _this$asProps3.uid, getFixedStyle = _this$asProps3.getFixedStyle, mergedRow = _this$asProps3.mergedRow, isAccordionRow = _this$asProps3.isAccordionRow, animationExpand = _this$asProps3.animationExpand, accordionRowIndex = _this$asProps3.accordionRowIndex, accordionDuration = _this$asProps3.accordionDuration;
|
|
111
113
|
var accordion = row[ACCORDION];
|
|
112
114
|
var accordionType = accordion && !mergedRow ? "row" : void 0;
|
|
113
115
|
if (!accordion) {
|
|
@@ -120,16 +122,17 @@ var RowRoot = /* @__PURE__ */ function(_Component) {
|
|
|
120
122
|
accordion = cellWithAccordion === null || cellWithAccordion === void 0 ? void 0 : cellWithAccordion[ACCORDION];
|
|
121
123
|
}
|
|
122
124
|
var accordionId = "".concat(uid, "_").concat(ariaRowIndex + 1);
|
|
125
|
+
var rowUniqKey = row[UNIQ_ROW_KEY];
|
|
123
126
|
return _ref2 = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SRow, _ref2.cn("SRow", _objectSpread({}, assignProps({
|
|
124
127
|
"role": "row",
|
|
125
128
|
"aria-rowindex": ariaRowIndex,
|
|
126
129
|
"accordionType": accordionType,
|
|
127
|
-
"theme": selectedRows !== null && selectedRows !== void 0 && selectedRows.includes(
|
|
130
|
+
"theme": selectedRows !== null && selectedRows !== void 0 && selectedRows.includes(rowUniqKey) ? "info" : void 0,
|
|
128
131
|
"use:expanded": expanded && !mergedRow
|
|
129
132
|
}, _ref))), columns.map(function(column, i) {
|
|
130
133
|
if (selectedRows && i === 0) {
|
|
131
134
|
var _ref3;
|
|
132
|
-
var checked = selectedRows.includes(
|
|
135
|
+
var checked = selectedRows.includes(rowUniqKey);
|
|
133
136
|
return _ref3 = sstyled(styles), /* @__PURE__ */ React.createElement(SCheckboxCell, _ref3.cn("SCheckboxCell", {
|
|
134
137
|
"key": i,
|
|
135
138
|
"row": row,
|
|
@@ -198,7 +201,7 @@ var RowRoot = /* @__PURE__ */ function(_Component) {
|
|
|
198
201
|
},
|
|
199
202
|
"position": "sticky",
|
|
200
203
|
"left": 0,
|
|
201
|
-
"w":
|
|
204
|
+
"w": "100%",
|
|
202
205
|
"onKeyDown": this.handleBackFromAccordion
|
|
203
206
|
}), accordion)), row[ACCORDION] && Array.isArray(row[ACCORDION]) && /* @__PURE__ */ React.createElement(SAccordionRows, _ref2.cn("SAccordionRows", {
|
|
204
207
|
"id": accordionId,
|
|
@@ -31,18 +31,18 @@ var style = (
|
|
|
31
31
|
/*__reshadow_css_start__*/
|
|
32
32
|
(sstyled.insert(
|
|
33
33
|
/*__inner_css_start__*/
|
|
34
|
-
".
|
|
34
|
+
".___SDataTable_1x750_gg_{display:grid;align-items:start;min-width:-moz-fit-content;min-width:fit-content}.___SDataTable_1x750_gg_.__gridTemplateColumns_1x750_gg_{grid-template-columns:var(--gridTemplateColumns_1x750)}.___SDataTable_1x750_gg_.__gridTemplateAreas_1x750_gg_{grid-template-areas:var(--gridTemplateAreas_1x750)}.___SDataTable_1x750_gg_.__gridTemplateRows_1x750_gg_{grid-template-rows:var(--gridTemplateRows_1x750)}",
|
|
35
35
|
/*__inner_css_end__*/
|
|
36
|
-
"
|
|
36
|
+
"1x750_gg_"
|
|
37
37
|
), /*__reshadow_css_end__*/
|
|
38
38
|
{
|
|
39
|
-
"__SDataTable": "
|
|
40
|
-
"_gridTemplateColumns": "
|
|
41
|
-
"--gridTemplateColumns": "--
|
|
42
|
-
"_gridTemplateAreas": "
|
|
43
|
-
"--gridTemplateAreas": "--
|
|
44
|
-
"_gridTemplateRows": "
|
|
45
|
-
"--gridTemplateRows": "--
|
|
39
|
+
"__SDataTable": "___SDataTable_1x750_gg_",
|
|
40
|
+
"_gridTemplateColumns": "__gridTemplateColumns_1x750_gg_",
|
|
41
|
+
"--gridTemplateColumns": "--gridTemplateColumns_1x750",
|
|
42
|
+
"_gridTemplateAreas": "__gridTemplateAreas_1x750_gg_",
|
|
43
|
+
"--gridTemplateAreas": "--gridTemplateAreas_1x750",
|
|
44
|
+
"_gridTemplateRows": "__gridTemplateRows_1x750_gg_",
|
|
45
|
+
"--gridTemplateRows": "--gridTemplateRows_1x750"
|
|
46
46
|
})
|
|
47
47
|
);
|
|
48
48
|
/*!__reshadow-styles__:"../../style/scroll-shadows.shadow.css"*/
|
|
@@ -50,25 +50,25 @@ var scrollStyles = (
|
|
|
50
50
|
/*__reshadow_css_start__*/
|
|
51
51
|
(sstyled.insert(
|
|
52
52
|
/*__inner_css_start__*/
|
|
53
|
-
".
|
|
53
|
+
".___SScrollArea_2doqn_gg_{width:-moz-fit-content;width:fit-content}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_{overflow:visible;overflow:initial}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_._scrollDirection_both_2doqn_gg_{overflow:auto}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_._scrollDirection_horizontal_2doqn_gg_{overflow-x:auto;overflow-y:initial}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_._scrollDirection_vertical_2doqn_gg_{overflow-x:initial;overflow-y:auto}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_.__loading_2doqn_gg_{overflow:hidden}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_.__headerHeight_2doqn_gg_{scroll-padding-top:var(--headerHeight_2doqn)}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_.__leftScrollPadding_2doqn_gg_{scroll-padding-left:var(--leftScrollPadding_2doqn)}.___SScrollArea_2doqn_gg_ .___SContainer_2doqn_gg_.__rightScrollPadding_2doqn_gg_{scroll-padding-right:var(--rightScrollPadding_2doqn)}.___SScrollArea_2doqn_gg_ .___SShadowVertical_2doqn_gg_:before{display:none}.___SScrollArea_2doqn_gg_ .___SShadowHorizontal_2doqn_gg_:after,.___SScrollArea_2doqn_gg_ .___SShadowHorizontal_2doqn_gg_:before,.___SScrollArea_2doqn_gg_ .___SShadowVertical_2doqn_gg_:after{z-index:2}",
|
|
54
54
|
/*__inner_css_end__*/
|
|
55
|
-
"
|
|
55
|
+
"2doqn_gg_"
|
|
56
56
|
), /*__reshadow_css_end__*/
|
|
57
57
|
{
|
|
58
|
-
"__SScrollArea": "
|
|
59
|
-
"__SContainer": "
|
|
60
|
-
"_scrollDirection_both": "
|
|
61
|
-
"_scrollDirection_horizontal": "
|
|
62
|
-
"_scrollDirection_vertical": "
|
|
63
|
-
"_loading": "
|
|
64
|
-
"_headerHeight": "
|
|
65
|
-
"--headerHeight": "--
|
|
66
|
-
"_leftScrollPadding": "
|
|
67
|
-
"--leftScrollPadding": "--
|
|
68
|
-
"_rightScrollPadding": "
|
|
69
|
-
"--rightScrollPadding": "--
|
|
70
|
-
"__SShadowVertical": "
|
|
71
|
-
"__SShadowHorizontal": "
|
|
58
|
+
"__SScrollArea": "___SScrollArea_2doqn_gg_",
|
|
59
|
+
"__SContainer": "___SContainer_2doqn_gg_",
|
|
60
|
+
"_scrollDirection_both": "_scrollDirection_both_2doqn_gg_",
|
|
61
|
+
"_scrollDirection_horizontal": "_scrollDirection_horizontal_2doqn_gg_",
|
|
62
|
+
"_scrollDirection_vertical": "_scrollDirection_vertical_2doqn_gg_",
|
|
63
|
+
"_loading": "__loading_2doqn_gg_",
|
|
64
|
+
"_headerHeight": "__headerHeight_2doqn_gg_",
|
|
65
|
+
"--headerHeight": "--headerHeight_2doqn",
|
|
66
|
+
"_leftScrollPadding": "__leftScrollPadding_2doqn_gg_",
|
|
67
|
+
"--leftScrollPadding": "--leftScrollPadding_2doqn",
|
|
68
|
+
"_rightScrollPadding": "__rightScrollPadding_2doqn_gg_",
|
|
69
|
+
"--rightScrollPadding": "--rightScrollPadding_2doqn",
|
|
70
|
+
"__SShadowVertical": "___SShadowVertical_2doqn_gg_",
|
|
71
|
+
"__SShadowHorizontal": "___SShadowHorizontal_2doqn_gg_"
|
|
72
72
|
})
|
|
73
73
|
);
|
|
74
74
|
var ACCORDION = Symbol("accordion");
|
|
@@ -102,14 +102,20 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
102
102
|
scrollDirection: "down",
|
|
103
103
|
selectAllMessage: ""
|
|
104
104
|
});
|
|
105
|
+
_defineProperty(_this, "handleCellClick", function(e, opt) {
|
|
106
|
+
if (lastInteraction.isMouse()) {
|
|
107
|
+
console.log("click on cell in data table handler", opt);
|
|
108
|
+
_this.initFocusableCell([_this.hasFocusableInHeader() ? opt.rowIndex + 1 : opt.rowIndex, opt.colIndex]);
|
|
109
|
+
}
|
|
110
|
+
});
|
|
105
111
|
_defineProperty(_this, "handleSelectRow", function(isSelected, selectedRowIndex, row, event) {
|
|
106
112
|
var _this$asProps = _this.asProps, selectedRows = _this$asProps.selectedRows, onSelectedRowsChange = _this$asProps.onSelectedRowsChange;
|
|
107
113
|
if (selectedRows && onSelectedRowsChange) {
|
|
108
114
|
var newSelectedRows = new Set(selectedRows);
|
|
109
|
-
if (isSelected && !newSelectedRows.has(
|
|
110
|
-
newSelectedRows.add(
|
|
111
|
-
} else if (!isSelected && newSelectedRows.has(
|
|
112
|
-
newSelectedRows["delete"](
|
|
115
|
+
if (isSelected && !newSelectedRows.has(row[UNIQ_ROW_KEY])) {
|
|
116
|
+
newSelectedRows.add(row[UNIQ_ROW_KEY]);
|
|
117
|
+
} else if (!isSelected && newSelectedRows.has(row[UNIQ_ROW_KEY])) {
|
|
118
|
+
newSelectedRows["delete"](row[UNIQ_ROW_KEY]);
|
|
113
119
|
}
|
|
114
120
|
onSelectedRowsChange(_toConsumableArray(newSelectedRows), event, {
|
|
115
121
|
selectedRowIndex,
|
|
@@ -138,7 +144,9 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
138
144
|
return (_this$tableRef$curren = _this.tableRef.current) === null || _this$tableRef$curren === void 0 ? void 0 : _this$tableRef$curren.querySelector('[aria-rowindex="'.concat(index + 1, '"]:not([aria-hidden="true"])'));
|
|
139
145
|
});
|
|
140
146
|
_defineProperty(_this, "hasFocusableInHeader", function() {
|
|
141
|
-
return _this.headerRef.current && hasFocusableIn(_this.headerRef.current)
|
|
147
|
+
return _this.headerRef.current && hasFocusableIn(_this.headerRef.current) || _this.columns.some(function(column) {
|
|
148
|
+
return column.sortable;
|
|
149
|
+
});
|
|
142
150
|
});
|
|
143
151
|
_defineProperty(_this, "onExpandRow", function(expandedRow) {
|
|
144
152
|
var expandedRows = _this.asProps.expandedRows;
|
|
@@ -247,14 +255,6 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
247
255
|
}
|
|
248
256
|
}
|
|
249
257
|
});
|
|
250
|
-
_defineProperty(_this, "initFocusableCell", function() {
|
|
251
|
-
var hasFocusable = _this.hasFocusableInHeader();
|
|
252
|
-
if (hasFocusable) {
|
|
253
|
-
_this.focusedCell = [0, 0];
|
|
254
|
-
} else {
|
|
255
|
-
_this.focusedCell = [1, 0];
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
258
|
_defineProperty(_this, "handleScroll", trottle(function(e) {
|
|
259
259
|
var scrollTop = e.target.scrollTop;
|
|
260
260
|
var scrollDirection = scrollTop > _this.state.scrollTop ? "down" : "up";
|
|
@@ -508,12 +508,17 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
508
508
|
totalRows: this.totalRows,
|
|
509
509
|
selectedRows,
|
|
510
510
|
onChangeSelectAll: function onChangeSelectAll(value, e) {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
}
|
|
514
|
-
|
|
511
|
+
if (value === false) {
|
|
512
|
+
onSelectedRowsChange === null || onSelectedRowsChange === void 0 || onSelectedRowsChange([], e);
|
|
513
|
+
} else {
|
|
514
|
+
var _selectedRows = _this3.flatRows.map(function(row) {
|
|
515
|
+
return row[UNIQ_ROW_KEY];
|
|
516
|
+
});
|
|
517
|
+
onSelectedRowsChange === null || onSelectedRowsChange === void 0 || onSelectedRowsChange(_selectedRows, e);
|
|
518
|
+
}
|
|
515
519
|
},
|
|
516
|
-
getFixedStyle: this.getFixedStyle
|
|
520
|
+
getFixedStyle: this.getFixedStyle,
|
|
521
|
+
onCellClick: this.handleCellClick
|
|
517
522
|
}, headerProps);
|
|
518
523
|
}
|
|
519
524
|
}, {
|
|
@@ -552,7 +557,8 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
552
557
|
sideIndents,
|
|
553
558
|
selectedRows,
|
|
554
559
|
onSelectRow: this.handleSelectRow,
|
|
555
|
-
getFixedStyle: this.getFixedStyle
|
|
560
|
+
getFixedStyle: this.getFixedStyle,
|
|
561
|
+
onCellClick: this.handleCellClick
|
|
556
562
|
};
|
|
557
563
|
}
|
|
558
564
|
}, {
|
|
@@ -568,6 +574,19 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
568
574
|
}
|
|
569
575
|
});
|
|
570
576
|
}
|
|
577
|
+
}, {
|
|
578
|
+
key: "initFocusableCell",
|
|
579
|
+
value: function initFocusableCell(initCell) {
|
|
580
|
+
var _initCell$, _initCell$2;
|
|
581
|
+
var hasFocusable = this.hasFocusableInHeader();
|
|
582
|
+
var initRow = (_initCell$ = initCell === null || initCell === void 0 ? void 0 : initCell[0]) !== null && _initCell$ !== void 0 ? _initCell$ : 0;
|
|
583
|
+
var initCol = (_initCell$2 = initCell === null || initCell === void 0 ? void 0 : initCell[1]) !== null && _initCell$2 !== void 0 ? _initCell$2 : 0;
|
|
584
|
+
if (hasFocusable) {
|
|
585
|
+
this.focusedCell = [initRow, initCol];
|
|
586
|
+
} else {
|
|
587
|
+
this.focusedCell = [initRow + 1, initCol];
|
|
588
|
+
}
|
|
589
|
+
}
|
|
571
590
|
}, {
|
|
572
591
|
key: "render",
|
|
573
592
|
value: function render() {
|
|
@@ -588,7 +607,7 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
588
607
|
gridTemplateRows = "auto auto repeat(".concat(this.totalRows, ", minmax(").concat(virtualScroll.rowHeight, "px, auto)");
|
|
589
608
|
}
|
|
590
609
|
var scrollDirection = void 0;
|
|
591
|
-
var hasWidthSettings = Boolean(w)
|
|
610
|
+
var hasWidthSettings = Boolean(w) || Boolean(wMax);
|
|
592
611
|
var hasHeightSettings = Boolean(h) && h !== "fit-content" || Boolean(hMax);
|
|
593
612
|
if (hasWidthSettings && !hasHeightSettings) {
|
|
594
613
|
scrollDirection = "horizontal";
|
|
@@ -819,7 +838,7 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
819
838
|
value: function calculateRows() {
|
|
820
839
|
var _this6 = this;
|
|
821
840
|
var columns = this.columns;
|
|
822
|
-
var _this$props3 = this.props, data = _this$props3.data, uid = _this$props3.uid;
|
|
841
|
+
var _this$props3 = this.props, data = _this$props3.data, uid = _this$props3.uid, uniqueRowKey = _this$props3.uniqueRowKey;
|
|
823
842
|
var rows = [];
|
|
824
843
|
var columnNames = columns.map(function(column) {
|
|
825
844
|
return column.name;
|
|
@@ -847,7 +866,7 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
847
866
|
acc[ACCORDION] = row[ACCORDION];
|
|
848
867
|
}
|
|
849
868
|
return acc;
|
|
850
|
-
}, _defineProperty(_defineProperty({}, UNIQ_ROW_KEY, row[UNIQ_ROW_KEY] || "".concat(uid, "_").concat((rowIndex + id).toString(36))), ROW_INDEX, rowIndex));
|
|
869
|
+
}, _defineProperty(_defineProperty({}, UNIQ_ROW_KEY, row[UNIQ_ROW_KEY] || (uniqueRowKey ? row[uniqueRowKey] : "".concat(uid, "_").concat((rowIndex + id).toString(36)))), ROW_INDEX, rowIndex));
|
|
851
870
|
excludeColumns === null || excludeColumns === void 0 || excludeColumns.forEach(function(value) {
|
|
852
871
|
columns2["delete"](value);
|
|
853
872
|
});
|
|
@@ -908,8 +927,15 @@ var DataTableRoot = /* @__PURE__ */ function(_Component) {
|
|
|
908
927
|
var header = (_this$headerRef$curre = this.headerRef.current) === null || _this$headerRef$curre === void 0 ? void 0 : _this$headerRef$curre.children;
|
|
909
928
|
var height = 0;
|
|
910
929
|
for (var i = 0; i < ((_header$length = header === null || header === void 0 ? void 0 : header.length) !== null && _header$length !== void 0 ? _header$length : 0); i++) {
|
|
911
|
-
var _header$length
|
|
912
|
-
var
|
|
930
|
+
var _header$length;
|
|
931
|
+
var item = header === null || header === void 0 ? void 0 : header.item(i);
|
|
932
|
+
var columnHeight = item === null || item === void 0 ? void 0 : item.getBoundingClientRect().height;
|
|
933
|
+
if (item instanceof HTMLElement && item.dataset.groupContainer) {
|
|
934
|
+
var _item$children$item$g, _item$children$item, _item$children$item$g2, _item$children$item2;
|
|
935
|
+
var groupHeight = (_item$children$item$g = (_item$children$item = item.children.item(0)) === null || _item$children$item === void 0 ? void 0 : _item$children$item.getBoundingClientRect().height) !== null && _item$children$item$g !== void 0 ? _item$children$item$g : 0;
|
|
936
|
+
var cellHeight = (_item$children$item$g2 = (_item$children$item2 = item.children.item(1)) === null || _item$children$item2 === void 0 ? void 0 : _item$children$item2.getBoundingClientRect().height) !== null && _item$children$item$g2 !== void 0 ? _item$children$item$g2 : 0;
|
|
937
|
+
columnHeight = groupHeight + cellHeight;
|
|
938
|
+
}
|
|
913
939
|
if (columnHeight) {
|
|
914
940
|
height = columnHeight;
|
|
915
941
|
break;
|