@semcore/data-table 16.3.2 → 16.4.0-prerelease.3
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 +14 -0
- package/lib/cjs/components/Body/Body.js +58 -53
- 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 +62 -107
- package/lib/cjs/components/Body/Cell.js.map +1 -1
- package/lib/cjs/components/Body/LimitOverlay.js +190 -0
- package/lib/cjs/components/Body/LimitOverlay.js.map +1 -0
- package/lib/cjs/components/Body/Row.js +161 -109
- 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/Body/style.shadow.css +94 -42
- package/lib/cjs/components/DataTable/DataTable.js +61 -41
- 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/DataTable/dataTable.shadow.css +1 -0
- package/lib/cjs/components/Head/Column.js +45 -92
- package/lib/cjs/components/Head/Column.js.map +1 -1
- package/lib/cjs/components/Head/Group.js +38 -41
- package/lib/cjs/components/Head/Group.js.map +1 -1
- package/lib/cjs/components/Head/Head.js +38 -41
- package/lib/cjs/components/Head/Head.js.map +1 -1
- package/lib/cjs/enhancers/focusableCell.js +63 -0
- package/lib/cjs/enhancers/focusableCell.js.map +1 -0
- package/lib/es6/components/Body/Body.js +57 -52
- 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 +61 -106
- package/lib/es6/components/Body/Cell.js.map +1 -1
- package/lib/es6/components/Body/LimitOverlay.js +183 -0
- package/lib/es6/components/Body/LimitOverlay.js.map +1 -0
- package/lib/es6/components/Body/Row.js +160 -108
- 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/Body/style.shadow.css +94 -42
- package/lib/es6/components/DataTable/DataTable.js +60 -40
- 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/DataTable/dataTable.shadow.css +1 -0
- package/lib/es6/components/Head/Column.js +44 -91
- package/lib/es6/components/Head/Column.js.map +1 -1
- package/lib/es6/components/Head/Group.js +37 -40
- package/lib/es6/components/Head/Group.js.map +1 -1
- package/lib/es6/components/Head/Head.js +37 -40
- package/lib/es6/components/Head/Head.js.map +1 -1
- package/lib/es6/enhancers/focusableCell.js +56 -0
- package/lib/es6/enhancers/focusableCell.js.map +1 -0
- package/lib/esm/components/Body/Body.mjs +58 -56
- package/lib/esm/components/Body/Cell.mjs +62 -109
- package/lib/esm/components/Body/LimitOverlay.mjs +178 -0
- package/lib/esm/components/Body/Row.mjs +125 -85
- package/lib/esm/components/Body/style.shadow.css +94 -42
- package/lib/esm/components/DataTable/DataTable.mjs +59 -42
- package/lib/esm/components/DataTable/dataTable.shadow.css +1 -0
- package/lib/esm/components/Head/Column.mjs +45 -94
- package/lib/esm/components/Head/Group.mjs +38 -43
- package/lib/esm/components/Head/Head.mjs +38 -43
- package/lib/esm/enhancers/focusableCell.mjs +59 -0
- package/lib/types/components/Body/Body.types.d.ts +2 -1
- package/lib/types/components/Body/LimitOverlay.d.ts +17 -0
- package/lib/types/components/Body/Row.d.ts +1 -0
- package/lib/types/components/Body/Row.types.d.ts +3 -0
- package/lib/types/components/DataTable/DataTable.types.d.ts +19 -0
- package/lib/types/components/Head/Column.d.ts +5 -4
- package/lib/types/enhancers/focusableCell.d.ts +9 -0
- package/package.json +22 -22
|
@@ -9,68 +9,70 @@ exports.Cell = void 0;
|
|
|
9
9
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
-
var
|
|
13
|
-
var _isNativeReflectConstruct2 = _interopRequireDefault(require("@babel/runtime/helpers/isNativeReflectConstruct"));
|
|
14
|
-
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
|
+
var _callSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/callSuper"));
|
|
15
13
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
16
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
17
15
|
var _core = require("@semcore/core");
|
|
18
16
|
var _baseComponents = require("@semcore/base-components");
|
|
19
|
-
var _getFocusableIn = require("@semcore/core/lib/utils/focus-lock/getFocusableIn");
|
|
20
17
|
var _isFocusInside = require("@semcore/core/lib/utils/focus-lock/isFocusInside");
|
|
21
18
|
var React = _interopRequireWildcard(require("react"));
|
|
22
19
|
var _MergedCells = require("./MergedCells");
|
|
23
|
-
|
|
20
|
+
var _focusableCell = require("../../enhancers/focusableCell");
|
|
24
21
|
/*!__reshadow-styles__:"./style.shadow.css"*/
|
|
25
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_p1jyf_gg_,.___SBody_p1jyf_gg_,.___SRowGroup_p1jyf_gg_,.___SRow_p1jyf_gg_{display:contents}.___SBody_p1jyf_gg_.__compact_p1jyf_gg_ .___SCell_p1jyf_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_p1jyf_gg_.__compact_p1jyf_gg_ .___SCell_p1jyf_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_p1jyf) - 1)))}.___SBody_p1jyf_gg_.__compact_p1jyf_gg_ .___SRow_p1jyf_gg_ .___SCellWrapper_p1jyf_gg_:first-child .___SCell_p1jyf_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_p1jyf) - 1)))}.___SBody_p1jyf_gg_.__compact_p1jyf_gg_ .___SRow_p1jyf_gg_._sideIndents_wide_p1jyf_gg_ .___SCellWrapper_p1jyf_gg_:first-child .___SCell_p1jyf_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-5x, 20px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_p1jyf) - 1)))}.___SBody_p1jyf_gg_.__compact_p1jyf_gg_ .___SCell_p1jyf_gg_ .___SAccordionToggle_p1jyf_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCellWrapper_p1jyf_gg_.__gridArea_p1jyf_gg_,.___SCollapseRow_p1jyf_gg_.__gridArea_p1jyf_gg_,.___SRow_p1jyf_gg_.__gridArea_p1jyf_gg_{grid-area:var(--gridArea_p1jyf)}.___SCellWrapper_p1jyf_gg_{height:100%;overflow:hidden}.___SCollapseRow_p1jyf_gg_.__gridArea_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_,.___SRow_p1jyf_gg_.__isAccordionRow_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_{height:auto;overflow:auto}.___SAccordionRows_p1jyf_gg_>.___SRow_p1jyf_gg_.__isAccordionRow_p1jyf_gg_:last-child>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__withoutBorder_p1jyf_gg_),.___SCollapseRow_p1jyf_gg_.__gridArea_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__withoutBorder_p1jyf_gg_){border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_{display:block}.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_).__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_,.___SRow_p1jyf_gg_.__active_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRow_p1jyf_gg_._accordionType_row_p1jyf_gg_.__expanded_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRow_p1jyf_gg_.__isAccordionRow_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_._theme_muted_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]._theme_muted_p1jyf_gg_,.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_._theme_muted_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_muted_p1jyf_gg_,.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRow_p1jyf_gg_._theme_muted_p1jyf_gg_:hover:not(.__expanded_p1jyf_gg_.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRow_p1jyf_gg_:hover:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_muted_p1jyf_gg_,.___SRow_p1jyf_gg_:not(._accordionType_row_p1jyf_gg_.__expanded_p1jyf_gg_):hover:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_._theme_info_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]._theme_info_p1jyf_gg_,.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_._theme_info_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_info_p1jyf_gg_,.___SRow_p1jyf_gg_._theme_info_p1jyf_gg_:hover:not(.__expanded_p1jyf_gg_.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRow_p1jyf_gg_:hover:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_info_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_._theme_success_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]._theme_success_p1jyf_gg_,.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_._theme_success_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_success_p1jyf_gg_,.___SRow_p1jyf_gg_._theme_success_p1jyf_gg_:hover:not(.__expanded_p1jyf_gg_.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRow_p1jyf_gg_:hover:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_success_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_._theme_warning_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]._theme_warning_p1jyf_gg_,.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_._theme_warning_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_warning_p1jyf_gg_,.___SRow_p1jyf_gg_._theme_warning_p1jyf_gg_:hover:not(.__expanded_p1jyf_gg_.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRow_p1jyf_gg_:hover:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_warning_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_._theme_danger_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]._theme_danger_p1jyf_gg_,.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_._theme_danger_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_),.___SRowGroup_p1jyf_gg_:has(.___SCell_p1jyf_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_p1jyf_gg_:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_danger_p1jyf_gg_,.___SRow_p1jyf_gg_._theme_danger_p1jyf_gg_:hover:not(.__expanded_p1jyf_gg_.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_):not(.__expanded_p1jyf_gg_.__withAccordion_p1jyf_gg_),.___SRow_p1jyf_gg_:hover:not(.__isNonInteractive_p1jyf_gg_)>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_._theme_danger_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_p1jyf_gg_._theme_muted_p1jyf_gg_ .___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_p1jyf_gg_._theme_muted_p1jyf_gg_.__active_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_p1jyf_gg_._theme_info_p1jyf_gg_ .___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_p1jyf_gg_._theme_info_p1jyf_gg_.__active_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_p1jyf_gg_._theme_success_p1jyf_gg_ .___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_p1jyf_gg_._theme_success_p1jyf_gg_.__active_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_p1jyf_gg_._theme_warning_p1jyf_gg_ .___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_p1jyf_gg_._theme_warning_p1jyf_gg_.__active_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_p1jyf_gg_._theme_danger_p1jyf_gg_ .___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_p1jyf_gg_._theme_danger_p1jyf_gg_.__active_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_:not(.__theme_p1jyf_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_p1jyf_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_p1jyf_gg_ .___SAccordionToggle_p1jyf_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_p1jyf_gg_ .___SAccordionToggle_p1jyf_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_p1jyf_gg_ .___SAccordionToggle_p1jyf_gg_.__expanded_p1jyf_gg_ svg{transform:rotate(90deg)}.___SCell_p1jyf_gg_.__withoutBorder_p1jyf_gg_{border-bottom:none}.___SCell_p1jyf_gg_.__withAccordion_p1jyf_gg_,.___SCheckboxCell_p1jyf_gg_,.___SRow_p1jyf_gg_._accordionType_row_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_>.___SCell_p1jyf_gg_{cursor:pointer}.___SCell_p1jyf_gg_._use_primary_p1jyf_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_p1jyf_gg_._use_primary_p1jyf_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_p1jyf) - 1)))}.___SCell_p1jyf_gg_._use_secondary_p1jyf_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_p1jyf_gg_._use_secondary_p1jyf_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_p1jyf) - 1)))}.___SCell_p1jyf_gg_._borders_both_p1jyf_gg_,.___SCell_p1jyf_gg_._borders_left_p1jyf_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_p1jyf_gg_._borders_both_p1jyf_gg_,.___SCell_p1jyf_gg_._borders_right_p1jyf_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_p1jyf_gg_.__fixed_p1jyf_gg_{position:sticky;z-index:2}.___SCell_p1jyf_gg_._theme_muted_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_p1jyf_gg_._theme_info_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_p1jyf_gg_._theme_success_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_p1jyf_gg_._theme_warning_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_p1jyf_gg_._theme_danger_p1jyf_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_p1jyf_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_p1jyf_gg_:focus-visible{z-index:15}.___SSpinContainer_p1jyf_gg_.__headerHeight_p1jyf_gg_{top:var(--headerHeight_p1jyf)}.___SEmptyData_p1jyf_gg_{grid-column:1/-1}.___SRow_p1jyf_gg_._sideIndents_wide_p1jyf_gg_ .___SCellWrapper_p1jyf_gg_:first-child .___SCell_p1jyf_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SRow_p1jyf_gg_._sideIndents_wide_p1jyf_gg_ .___SCellWrapper_p1jyf_gg_:first-child .___SCell_p1jyf_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-5x, 20px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_p1jyf) - 1)))}.___SRow_p1jyf_gg_._sideIndents_wide_p1jyf_gg_ .___SCellWrapper_p1jyf_gg_:last-child .___SCell_p1jyf_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SRow_p1jyf_gg_.__isAccordionRow_p1jyf_gg_.__withAnimation_p1jyf_gg_>.___SCellWrapper_p1jyf_gg_{transition-property:height;transition-delay:var(--delay_p1jyf);transition-duration:var(--duration_p1jyf);transition-timing-function:linear;overflow:clip}.___SCellWrapper_p1jyf_gg_.__fixed_p1jyf_gg_.__shadowVertical_p1jyf_gg_:after{content:\"\";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SCellWrapper_p1jyf_gg_._fixed_left_p1jyf_gg_._shadowVertical_median_p1jyf_gg_,.___SCellWrapper_p1jyf_gg_._fixed_left_p1jyf_gg_._shadowVertical_start_p1jyf_gg_{margin-right:-5px}.___SCellWrapper_p1jyf_gg_._fixed_left_p1jyf_gg_._shadowVertical_median_p1jyf_gg_:after,.___SCellWrapper_p1jyf_gg_._fixed_left_p1jyf_gg_._shadowVertical_start_p1jyf_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_p1jyf_gg_._fixed_left_p1jyf_gg_._shadowVertical_median_p1jyf_gg_ .___SCell_p1jyf_gg_,.___SCellWrapper_p1jyf_gg_._fixed_left_p1jyf_gg_._shadowVertical_start_p1jyf_gg_ .___SCell_p1jyf_gg_{margin-right:5px}.___SCellWrapper_p1jyf_gg_._fixed_right_p1jyf_gg_._shadowVertical_end_p1jyf_gg_,.___SCellWrapper_p1jyf_gg_._fixed_right_p1jyf_gg_._shadowVertical_median_p1jyf_gg_{margin-left:-5px}.___SCellWrapper_p1jyf_gg_._fixed_right_p1jyf_gg_._shadowVertical_end_p1jyf_gg_:after,.___SCellWrapper_p1jyf_gg_._fixed_right_p1jyf_gg_._shadowVertical_median_p1jyf_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_p1jyf_gg_._fixed_right_p1jyf_gg_._shadowVertical_end_p1jyf_gg_ .___SCell_p1jyf_gg_,.___SCellWrapper_p1jyf_gg_._fixed_right_p1jyf_gg_._shadowVertical_median_p1jyf_gg_ .___SCell_p1jyf_gg_{margin-left:5px}", /*__inner_css_end__*/"p1jyf_gg_"),
|
|
22
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_lezzg_gg_,.___SBody_lezzg_gg_,.___SRowGroup_lezzg_gg_,.___SRow_lezzg_gg_{display:contents}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCell_lezzg_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SRow_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level],.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-5x, 20px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCell_lezzg_gg_ .___SAccordionToggle_lezzg_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCellWrapper_lezzg_gg_.__gridArea_lezzg_gg_,.___SCollapseRow_lezzg_gg_.__gridArea_lezzg_gg_,.___SRow_lezzg_gg_.__gridArea_lezzg_gg_{grid-area:var(--gridArea_lezzg)}.___SCellWrapper_lezzg_gg_{height:100%;overflow:hidden}.___SCollapseRow_lezzg_gg_.__gridArea_lezzg_gg_>.___SCellWrapper_lezzg_gg_,.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_{height:auto;overflow:auto}.___SAccordionRows_lezzg_gg_>.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_:last-child>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__withoutBorder_lezzg_gg_),.___SCollapseRow_lezzg_gg_.__gridArea_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__withoutBorder_lezzg_gg_){border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_{display:block}.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_).__expanded_lezzg_gg_.__withAccordion_lezzg_gg_,.___SRow_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._accordionType_row_lezzg_gg_.__expanded_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:not(._accordionType_row_lezzg_gg_.__expanded_lezzg_gg_):hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_muted_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_muted_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_muted_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_muted_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_muted_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_muted_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_info_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_info_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_info_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_info_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_info_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_info_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_success_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_success_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_success_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_success_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_success_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_success_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_warning_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_warning_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_warning_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_warning_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_warning_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_warning_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_danger_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_danger_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_danger_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_danger_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_danger_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_danger_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_lezzg_gg_._theme_muted_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_lezzg_gg_._theme_muted_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_muted_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_lezzg_gg_._theme_info_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_lezzg_gg_._theme_info_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_info_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_lezzg_gg_._theme_success_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_lezzg_gg_._theme_success_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_success_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_lezzg_gg_._theme_warning_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_lezzg_gg_._theme_warning_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_warning_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_lezzg_gg_._theme_danger_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_lezzg_gg_._theme_danger_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_danger_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_lezzg_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_lezzg_gg_ .___SAccordionToggle_lezzg_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_lezzg_gg_ .___SAccordionToggle_lezzg_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_lezzg_gg_ .___SAccordionToggle_lezzg_gg_.__expanded_lezzg_gg_ svg{transform:rotate(90deg)}.___SCell_lezzg_gg_.__withoutBorder_lezzg_gg_{border-bottom:none}.___SCell_lezzg_gg_.__withAccordion_lezzg_gg_,.___SCell_lezzg_gg_._name_Symbol\\(SELECT_ALL\\)_lezzg_gg_,.___SRow_lezzg_gg_._accordionType_row_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_{cursor:pointer}.___SCheckboxCell_lezzg_gg_[aria-hidden]{filter:blur(3px);pointer-events:none}.___SCell_lezzg_gg_._use_primary_lezzg_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_lezzg_gg_._use_primary_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SCell_lezzg_gg_._use_secondary_lezzg_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_lezzg_gg_._use_secondary_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SCell_lezzg_gg_._borders_both_lezzg_gg_,.___SCell_lezzg_gg_._borders_left_lezzg_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_lezzg_gg_._borders_both_lezzg_gg_,.___SCell_lezzg_gg_._borders_right_lezzg_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_lezzg_gg_.__fixed_lezzg_gg_{position:sticky;z-index:2}.___SCell_lezzg_gg_._theme_muted_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_lezzg_gg_._theme_info_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_lezzg_gg_._theme_success_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_lezzg_gg_._theme_warning_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_lezzg_gg_._theme_danger_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_lezzg_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_lezzg_gg_:focus-visible{z-index:15}.___SSpinContainer_lezzg_gg_.__headerHeight_lezzg_gg_{top:var(--headerHeight_lezzg)}.___SEmptyData_lezzg_gg_{grid-column:1/-1}.___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_,.___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level],.___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-5x, 20px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:last-child .___SCell_lezzg_gg_,.___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:last-child .___SCell_lezzg_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_.__withAnimation_lezzg_gg_>.___SCellWrapper_lezzg_gg_{transition-property:height;transition-delay:var(--delay_lezzg);transition-duration:var(--duration_lezzg);transition-timing-function:linear;overflow:clip}.___SCellWrapper_lezzg_gg_.__fixed_lezzg_gg_.__shadowVertical_lezzg_gg_:after{content:\"\";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_median_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_start_lezzg_gg_{margin-right:-5px}.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_median_lezzg_gg_:after,.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_start_lezzg_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_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_median_lezzg_gg_ .___SCell_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_start_lezzg_gg_ .___SCell_lezzg_gg_{margin-right:5px}.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_end_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_median_lezzg_gg_{margin-left:-5px}.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_end_lezzg_gg_:after,.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_median_lezzg_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_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_end_lezzg_gg_ .___SCell_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_median_lezzg_gg_ .___SCell_lezzg_gg_{margin-left:5px}.___SLimitOverlayCellWrapper_lezzg_gg_.__gridArea_lezzg_gg_{width:100%;height:100%;align-items:center;justify-content:center;z-index:16;grid-area:var(--gridArea_lezzg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.___SLimitOverlayCellWrapper_lezzg_gg_.__left_lezzg_gg_{position:sticky;left:var(---left_lezzg)}.___SCell_lezzg_gg_.__innerOutline_lezzg_gg_:focus-visible{transition:none}", /*__inner_css_end__*/"lezzg_gg_"),
|
|
26
23
|
/*__reshadow_css_end__*/
|
|
27
24
|
{
|
|
28
|
-
"__SBody": "
|
|
29
|
-
"__SRow": "
|
|
30
|
-
"__SRowGroup": "
|
|
31
|
-
"__SAccordionRows": "
|
|
32
|
-
"_gridArea": "
|
|
33
|
-
"__SCellWrapper": "
|
|
34
|
-
"__SCollapseRow": "
|
|
35
|
-
"--gridArea": "--
|
|
36
|
-
"_isAccordionRow": "
|
|
37
|
-
"__SCell": "
|
|
38
|
-
"_withoutBorder": "
|
|
39
|
-
"_active": "
|
|
40
|
-
"_theme": "
|
|
41
|
-
"_accordionType_row": "
|
|
42
|
-
"_expanded": "
|
|
43
|
-
"_withAccordion": "
|
|
44
|
-
"_isNonInteractive": "
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"--
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
25
|
+
"__SBody": "___SBody_lezzg_gg_",
|
|
26
|
+
"__SRow": "___SRow_lezzg_gg_",
|
|
27
|
+
"__SRowGroup": "___SRowGroup_lezzg_gg_",
|
|
28
|
+
"__SAccordionRows": "___SAccordionRows_lezzg_gg_",
|
|
29
|
+
"_gridArea": "__gridArea_lezzg_gg_",
|
|
30
|
+
"__SCellWrapper": "___SCellWrapper_lezzg_gg_",
|
|
31
|
+
"__SCollapseRow": "___SCollapseRow_lezzg_gg_",
|
|
32
|
+
"--gridArea": "--gridArea_lezzg",
|
|
33
|
+
"_isAccordionRow": "__isAccordionRow_lezzg_gg_",
|
|
34
|
+
"__SCell": "___SCell_lezzg_gg_",
|
|
35
|
+
"_withoutBorder": "__withoutBorder_lezzg_gg_",
|
|
36
|
+
"_active": "__active_lezzg_gg_",
|
|
37
|
+
"_theme": "__theme_lezzg_gg_",
|
|
38
|
+
"_accordionType_row": "_accordionType_row_lezzg_gg_",
|
|
39
|
+
"_expanded": "__expanded_lezzg_gg_",
|
|
40
|
+
"_withAccordion": "__withAccordion_lezzg_gg_",
|
|
41
|
+
"_isNonInteractive": "__isNonInteractive_lezzg_gg_",
|
|
42
|
+
"__SLimitOverlayCellWrapper": "___SLimitOverlayCellWrapper_lezzg_gg_",
|
|
43
|
+
"_theme_muted": "_theme_muted_lezzg_gg_",
|
|
44
|
+
"_theme_info": "_theme_info_lezzg_gg_",
|
|
45
|
+
"_theme_success": "_theme_success_lezzg_gg_",
|
|
46
|
+
"_theme_warning": "_theme_warning_lezzg_gg_",
|
|
47
|
+
"_theme_danger": "_theme_danger_lezzg_gg_",
|
|
48
|
+
"_name_Symbol(SELECT_ALL)": "_name_Symbol(SELECT_ALL)_lezzg_gg_",
|
|
49
|
+
"__SCheckboxCell": "___SCheckboxCell_lezzg_gg_",
|
|
50
|
+
"_borders_both": "_borders_both_lezzg_gg_",
|
|
51
|
+
"_borders_left": "_borders_left_lezzg_gg_",
|
|
52
|
+
"_borders_right": "_borders_right_lezzg_gg_",
|
|
53
|
+
"_fixed": "__fixed_lezzg_gg_",
|
|
54
|
+
"__SSpinContainer": "___SSpinContainer_lezzg_gg_",
|
|
55
|
+
"_headerHeight": "__headerHeight_lezzg_gg_",
|
|
56
|
+
"--headerHeight": "--headerHeight_lezzg",
|
|
57
|
+
"__SEmptyData": "___SEmptyData_lezzg_gg_",
|
|
58
|
+
"_withAnimation": "__withAnimation_lezzg_gg_",
|
|
59
|
+
"--delay": "--delay_lezzg",
|
|
60
|
+
"--duration": "--duration_lezzg",
|
|
61
|
+
"_left": "__left_lezzg_gg_",
|
|
62
|
+
"---left": "---left_lezzg",
|
|
63
|
+
"_innerOutline": "__innerOutline_lezzg_gg_",
|
|
64
|
+
"_compact": "__compact_lezzg_gg_",
|
|
65
|
+
"--data-aria-level": "--data-aria-level_lezzg",
|
|
66
|
+
"_sideIndents_wide": "_sideIndents_wide_lezzg_gg_",
|
|
67
|
+
"__SAccordionToggle": "___SAccordionToggle_lezzg_gg_",
|
|
68
|
+
"_use_primary": "_use_primary_lezzg_gg_",
|
|
69
|
+
"_use_secondary": "_use_secondary_lezzg_gg_",
|
|
70
|
+
"_shadowVertical": "__shadowVertical_lezzg_gg_",
|
|
71
|
+
"_fixed_left": "_fixed_left_lezzg_gg_",
|
|
72
|
+
"_shadowVertical_median": "_shadowVertical_median_lezzg_gg_",
|
|
73
|
+
"_shadowVertical_start": "_shadowVertical_start_lezzg_gg_",
|
|
74
|
+
"_fixed_right": "_fixed_right_lezzg_gg_",
|
|
75
|
+
"_shadowVertical_end": "_shadowVertical_end_lezzg_gg_"
|
|
74
76
|
});
|
|
75
77
|
var DEFAULT_ROW_DURATION = 50;
|
|
76
78
|
var CellRoot = /*#__PURE__*/function (_Component) {
|
|
@@ -80,61 +82,14 @@ var CellRoot = /*#__PURE__*/function (_Component) {
|
|
|
80
82
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
81
83
|
args[_key] = arguments[_key];
|
|
82
84
|
}
|
|
83
|
-
_this =
|
|
84
|
-
(0, _defineProperty2["default"])(_this, "cellRef", /*#__PURE__*/React.createRef());
|
|
85
|
+
_this = (0, _callSuper2["default"])(this, CellRoot, [].concat(args));
|
|
85
86
|
(0, _defineProperty2["default"])(_this, "lockedCell", [null, false]);
|
|
86
|
-
(0, _defineProperty2["default"])(_this, "
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return (0, _getFocusableIn.getFocusableIn)(node);
|
|
90
|
-
});
|
|
91
|
-
if (_this.lockedCell[1]) {
|
|
92
|
-
if (e.key === 'Escape') {
|
|
93
|
-
var _this$lockedCell$;
|
|
94
|
-
(_this$lockedCell$ = _this.lockedCell[0]) === null || _this$lockedCell$ === void 0 || _this$lockedCell$.focus();
|
|
95
|
-
_this.lockedCell[1] = false;
|
|
96
|
-
}
|
|
97
|
-
if (e.key.startsWith('Arrow')) {
|
|
98
|
-
e.stopPropagation();
|
|
99
|
-
e.preventDefault();
|
|
100
|
-
}
|
|
101
|
-
if (e.key === 'Tab') {
|
|
102
|
-
if (e.target === focusableChildren[0] && e.shiftKey) {
|
|
103
|
-
var _focusableChildren;
|
|
104
|
-
(_focusableChildren = focusableChildren[focusableChildren.length - 1]) === null || _focusableChildren === void 0 || _focusableChildren.focus();
|
|
105
|
-
e.preventDefault();
|
|
106
|
-
} else if (e.target === focusableChildren[focusableChildren.length - 1] && !e.shiftKey) {
|
|
107
|
-
var _focusableChildren$;
|
|
108
|
-
(_focusableChildren$ = focusableChildren[0]) === null || _focusableChildren$ === void 0 || _focusableChildren$.focus();
|
|
109
|
-
e.preventDefault();
|
|
110
|
-
}
|
|
111
|
-
e.stopPropagation();
|
|
112
|
-
}
|
|
113
|
-
} else if (e.key === 'Enter') {
|
|
114
|
-
var _focusableChildren$2;
|
|
115
|
-
e.preventDefault();
|
|
116
|
-
e.stopPropagation();
|
|
117
|
-
_this.lockedCell[1] = true;
|
|
118
|
-
(_focusableChildren$2 = focusableChildren[0]) === null || _focusableChildren$2 === void 0 || _focusableChildren$2.focus();
|
|
119
|
-
}
|
|
120
|
-
}
|
|
87
|
+
(0, _defineProperty2["default"])(_this, "cellRef", /*#__PURE__*/React.createRef());
|
|
88
|
+
(0, _defineProperty2["default"])(_this, "handleFocusableCellKeyDown", function (e) {
|
|
89
|
+
(0, _focusableCell.handleKeydownFocusCell)(_this.lockedCell, e);
|
|
121
90
|
});
|
|
122
|
-
(0, _defineProperty2["default"])(_this, "
|
|
123
|
-
|
|
124
|
-
e.target.scrollIntoView({
|
|
125
|
-
behavior: 'smooth',
|
|
126
|
-
block: 'center',
|
|
127
|
-
inline: 'center'
|
|
128
|
-
});
|
|
129
|
-
var focusableChildren = Array.from(e.currentTarget.children).flatMap(function (node) {
|
|
130
|
-
return (0, _getFocusableIn.getFocusableIn)(node);
|
|
131
|
-
});
|
|
132
|
-
if (focusableChildren.length === 1) {
|
|
133
|
-
focusableChildren[0].focus();
|
|
134
|
-
} else if (focusableChildren.length > 1) {
|
|
135
|
-
_this.lockedCell = [e.currentTarget, false];
|
|
136
|
-
}
|
|
137
|
-
}
|
|
91
|
+
(0, _defineProperty2["default"])(_this, "handleFocusableCellFocus", function (e) {
|
|
92
|
+
(0, _focusableCell.handleFocusCell)(_this.lockedCell, e.target, e.currentTarget);
|
|
138
93
|
});
|
|
139
94
|
(0, _defineProperty2["default"])(_this, "handleClickCell", function (e) {
|
|
140
95
|
var _this$asProps = _this.asProps,
|
|
@@ -243,8 +198,8 @@ var CellRoot = /*#__PURE__*/function (_Component) {
|
|
|
243
198
|
"ref": this.cellRef,
|
|
244
199
|
"innerOutline": true,
|
|
245
200
|
"tabIndex": -1,
|
|
246
|
-
"onKeyDown": this.
|
|
247
|
-
"onFocus": this.
|
|
201
|
+
"onKeyDown": this.handleFocusableCellKeyDown,
|
|
202
|
+
"onFocus": this.handleFocusableCellFocus,
|
|
248
203
|
"use:onClick": this.handleClickCell,
|
|
249
204
|
"name": cellName.toString(),
|
|
250
205
|
"role": 'gridcell',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.js","names":["_core","require","_baseComponents","_getFocusableIn","_isFocusInside","React","_interopRequireWildcard","_MergedCells","_callSuper","t","o","e","_getPrototypeOf2","_possibleConstructorReturn2","_isNativeReflectConstruct2","Reflect","construct","constructor","apply","style","sstyled","insert","DEFAULT_ROW_DURATION","CellRoot","_Component","_this","_classCallCheck2","_len","arguments","length","args","Array","_key","concat","_defineProperty2","createRef","currentTarget","lockedCell","focusableChildren","from","children","flatMap","node","getFocusableIn","key","_this$lockedCell$","focus","startsWith","stopPropagation","preventDefault","target","shiftKey","_focusableChildren","_focusableChildren$","_focusableChildren$2","matches","scrollIntoView","behavior","block","inline","_this$asProps","asProps","rowIndex","columnIndex","onClick","row","colIndex","_inherits2","_createClass2","value","componentWillUnmount","_this$asProps2","virtualScroll","tableRef","cellRef","current","isFocusInside","_tableRef$current","setAttribute","calculateAnimationSettings","_this$asProps3","_this$asProps3$accord","accordionRowIndex","isAccordionRow","animationExpand","accordionDuration","rows","rowsLength","durationPerRow","duration","isArray","undefined","delay","delayIndex","render","_ref","_ref2","SCellWrapper","Box","SCell","Flex","_this$asProps4","Children","styles","column","gridRowIndex","shadowVertical","calculatedHeight","cell","name","cellName","MergedColumnsCell","dataKey","scope","gridArea","fromRow","fromCol","columnsCount","MergedRowsCell","rowsCount","_this$calculateAnimat","createElement","cn","fixed","showShadowVertical","_objectSpread2","assignProps","handleKeyDown","onFocusCell","handleClickCell","toString","borders","flexWrap","alignItems","alignContent","justifyContent","textAlign","Component","Cell","exports","createComponent"],"sources":["../../../../src/components/Body/Cell.tsx"],"sourcesContent":["import { Box, Flex } from '@semcore/base-components';\nimport { Component, Root, sstyled, createComponent } from '@semcore/core';\nimport { getFocusableIn } from '@semcore/core/lib/utils/focus-lock/getFocusableIn';\nimport { isFocusInside } from '@semcore/core/lib/utils/focus-lock/isFocusInside';\nimport * as React from 'react';\n\nimport type { CellPropsInner, DataTableCellProps } from './Cell.types';\nimport { MergedColumnsCell, MergedRowsCell } from './MergedCells';\nimport style from './style.shadow.css';\nimport type { DataTableData } from '../DataTable/DataTable.types';\n\nconst DEFAULT_ROW_DURATION = 50;\n\nclass CellRoot<Data extends DataTableData, UniqKeyType> extends Component<DataTableCellProps<UniqKeyType>, {}, {}, [], CellPropsInner<Data, UniqKeyType>> {\n static displayName = 'Cell';\n static style = style;\n\n cellRef = React.createRef<HTMLDivElement>();\n\n lockedCell: [HTMLElement | null, boolean] = [null, false];\n\n componentWillUnmount() {\n const { virtualScroll, tableRef } = this.asProps;\n if (virtualScroll && this.cellRef.current && isFocusInside(this.cellRef.current)) {\n tableRef.current?.setAttribute('tabIndex', '0');\n }\n }\n\n handleKeyDown = (e: React.KeyboardEvent) => {\n if (e.currentTarget === this.lockedCell[0]) {\n const focusableChildren = Array.from(this.lockedCell[0].children).flatMap((node) =>\n getFocusableIn(node as HTMLElement),\n );\n\n if (this.lockedCell[1]) {\n if (e.key === 'Escape') {\n this.lockedCell[0]?.focus();\n this.lockedCell[1] = false;\n }\n if (e.key.startsWith('Arrow')) {\n e.stopPropagation();\n e.preventDefault();\n }\n if (e.key === 'Tab') {\n if (e.target === focusableChildren[0] && e.shiftKey) {\n focusableChildren[focusableChildren.length - 1]?.focus();\n e.preventDefault();\n } else if (e.target === focusableChildren[focusableChildren.length - 1] && !e.shiftKey) {\n focusableChildren[0]?.focus();\n e.preventDefault();\n }\n e.stopPropagation();\n }\n } else if (e.key === 'Enter') {\n e.preventDefault();\n e.stopPropagation();\n this.lockedCell[1] = true;\n focusableChildren[0]?.focus();\n }\n }\n };\n\n onFocusCell = (e: React.FocusEvent<HTMLElement, HTMLElement>) => {\n if (e.target === e.currentTarget && e.target.matches(':focus-visible')) {\n e.target.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n\n const focusableChildren = Array.from(e.currentTarget.children).flatMap((node) =>\n getFocusableIn(node as HTMLElement),\n );\n\n if (focusableChildren.length === 1) {\n focusableChildren[0].focus();\n } else if (focusableChildren.length > 1) {\n this.lockedCell = [e.currentTarget, false];\n }\n }\n };\n\n calculateAnimationSettings() {\n const {\n accordionRowIndex = 0,\n isAccordionRow,\n animationExpand,\n accordionDuration,\n rows,\n } = this.asProps;\n\n if (!isAccordionRow) {\n return {};\n }\n\n const rowsLength = rows.length;\n const durationPerRow = (duration: number) => duration / rowsLength;\n\n const duration = Array.isArray(accordionDuration)\n ? [durationPerRow(accordionDuration[0]), durationPerRow(accordionDuration[1])]\n : accordionDuration !== undefined\n ? durationPerRow(accordionDuration)\n : rowsLength > 4\n ? durationPerRow(200)\n : DEFAULT_ROW_DURATION;\n\n let delay;\n const delayIndex = animationExpand ? accordionRowIndex : rows.length - 1 - accordionRowIndex;\n\n if (Array.isArray(duration)) {\n delay = [duration[0] * delayIndex, duration[1] * delayIndex];\n } else if (duration !== undefined) {\n delay = duration * delayIndex;\n }\n\n return { duration, delay };\n }\n\n handleClickCell = (e: React.SyntheticEvent) => {\n const { rowIndex, columnIndex, onClick, row } = this.asProps;\n\n onClick(e, { rowIndex, colIndex: columnIndex, row });\n };\n\n render() {\n const SCellWrapper = Box;\n const SCell = Root;\n const {\n Children,\n styles,\n row,\n column,\n columnIndex,\n gridRowIndex,\n isAccordionRow,\n animationExpand,\n style,\n shadowVertical,\n calculatedHeight,\n } = this.asProps;\n\n const cell = row[column.name];\n const cellName = cell instanceof MergedColumnsCell ? cell.dataKey : column.name;\n\n let scope: null | 'rowgroup' | 'colgroup' = null;\n let gridArea: string | undefined = undefined;\n\n const fromRow = gridRowIndex;\n const fromCol = columnIndex + 1;\n\n if (cell instanceof MergedColumnsCell) {\n gridArea = `${fromRow} / ${fromCol} / ${fromRow + 1} / ${fromCol + cell.columnsCount}`;\n scope = 'colgroup';\n } else if (cell instanceof MergedRowsCell) {\n gridArea = `${fromRow} / ${fromCol} / ${fromRow + cell.rowsCount} / ${fromCol + 1}`;\n scope = 'rowgroup';\n } else {\n gridArea = `${fromRow} / ${fromCol} / ${fromRow + 1} / ${fromCol + 1}`;\n }\n\n const { duration, delay } = this.calculateAnimationSettings();\n\n return sstyled(styles)(\n <SCellWrapper\n // @ts-ignore\n gridArea={gridArea}\n duration={`${duration}ms`}\n delay={`${delay}ms`}\n h={isAccordionRow ? (animationExpand ? `${calculatedHeight}px` : `0px`) : undefined}\n style={style}\n fixed={column.fixed}\n shadowVertical={column.showShadowVertical ? shadowVertical : undefined}\n >\n <SCell\n ref={this.cellRef}\n render={Flex}\n innerOutline\n tabIndex={-1}\n onKeyDown={this.handleKeyDown}\n onFocus={this.onFocusCell}\n use:onClick={this.handleClickCell}\n name={cellName.toString()}\n role='gridcell'\n aria-colindex={columnIndex + 1}\n data-grouped-by={scope}\n scope={scope}\n aria-colspan={cell instanceof MergedColumnsCell ? cell.columnsCount : undefined}\n aria-rowspan={cell instanceof MergedRowsCell ? cell.rowsCount : undefined}\n gridArea={gridArea}\n borders={column.borders}\n flexWrap={column.flexWrap}\n alignItems={column.alignItems}\n alignContent={column.alignContent}\n justifyContent={column.justifyContent}\n textAlign={column.textAlign}\n >\n <Children />\n </SCell>\n </SCellWrapper>,\n );\n }\n}\n\nexport const Cell = createComponent(CellRoot);\n"],"mappings":";;;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,eAAA,GAAAD,OAAA;AAEA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAC,uBAAA,CAAAL,OAAA;AAGA,IAAAM,YAAA,GAAAN,OAAA;AAAkE,SAAAO,WAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,WAAAD,CAAA,OAAAE,gBAAA,aAAAF,CAAA,OAAAG,2BAAA,aAAAJ,CAAA,MAAAK,0BAAA,iBAAAC,OAAA,CAAAC,S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,IAAI,CAACC,eAAe;QAAA,QAC3BnB,QAAQ,CAACoB,QAAQ,CAAC,CAAC;QAAA,QACpB,UAAU;QAAA,iBACAnE,WAAW,GAAG,CAAC;QAAA,mBACbkD,KAAK;QAAA,SACfA,KAAK;QAAA,gBACEL,IAAI,YAAYG,8BAAiB,GAAGH,IAAI,CAACS,YAAY,GAAG1B,SAAS;QAAA,gBACjEiB,IAAI,YAAYU,2BAAc,GAAGV,IAAI,CAACW,SAAS,GAAG5B,SAAS;QAAA,YAC/DuB,QAAQ;QAAA,WACTV,MAAM,CAAC2B,OAAO;QAAA,YACb3B,MAAM,CAAC4B,QAAQ;QAAA,cACb5B,MAAM,CAAC6B,UAAU;QAAA,gBACf7B,MAAM,CAAC8B,YAAY;QAAA,kBACjB9B,MAAM,CAAC+B,cAAc;QAAA,aAC1B/B,MAAM,CAACgC;MAAS,GAAAzC,IAAA,kBAE3B1F,KAAA,CAAAoH,aAAA,CAACnB,QAAQ,EAAAN,KAAA,CAAA0B,EAAA,gBAAE,CACN,CACK,CAAC;IAEnB;EAAC;AAAA,EA3L6De,eAAS;AAAA,IAAAvG,gBAAA,aAAnEX,QAAQ,iBACS,MAAM;AAAA,IAAAW,gBAAA,aADvBX,QAAQ,WAEGJ,KAAK;AA4Lf,IAAMuH,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG,IAAAE,qBAAe,EAACrH,QAAQ,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"Cell.js","names":["_core","require","_baseComponents","_isFocusInside","React","_interopRequireWildcard","_MergedCells","_focusableCell","style","sstyled","insert","DEFAULT_ROW_DURATION","CellRoot","_Component","_this","_classCallCheck2","_len","arguments","length","args","Array","_key","_callSuper2","concat","_defineProperty2","createRef","e","handleKeydownFocusCell","lockedCell","handleFocusCell","target","currentTarget","_this$asProps","asProps","rowIndex","columnIndex","onClick","row","colIndex","_inherits2","_createClass2","key","value","componentWillUnmount","_this$asProps2","virtualScroll","tableRef","cellRef","current","isFocusInside","_tableRef$current","setAttribute","calculateAnimationSettings","_this$asProps3","_this$asProps3$accord","accordionRowIndex","isAccordionRow","animationExpand","accordionDuration","rows","rowsLength","durationPerRow","duration","isArray","undefined","delay","delayIndex","render","_ref","_ref2","SCellWrapper","Box","SCell","Flex","_this$asProps4","Children","styles","column","gridRowIndex","shadowVertical","calculatedHeight","cell","name","cellName","MergedColumnsCell","dataKey","scope","gridArea","fromRow","fromCol","columnsCount","MergedRowsCell","rowsCount","_this$calculateAnimat","createElement","cn","fixed","showShadowVertical","_objectSpread2","assignProps","handleFocusableCellKeyDown","handleFocusableCellFocus","handleClickCell","toString","borders","flexWrap","alignItems","alignContent","justifyContent","textAlign","Component","Cell","exports","createComponent"],"sources":["../../../../src/components/Body/Cell.tsx"],"sourcesContent":["import { Box, Flex } from '@semcore/base-components';\nimport { Component, Root, sstyled, createComponent } from '@semcore/core';\nimport { isFocusInside } from '@semcore/core/lib/utils/focus-lock/isFocusInside';\nimport * as React from 'react';\n\nimport type { CellPropsInner, DataTableCellProps } from './Cell.types';\nimport { MergedColumnsCell, MergedRowsCell } from './MergedCells';\nimport style from './style.shadow.css';\nimport type { IFocusableCell, LockedCell } from '../../enhancers/focusableCell';\nimport { handleFocusCell, handleKeydownFocusCell } from '../../enhancers/focusableCell';\nimport type { DataTableData } from '../DataTable/DataTable.types';\n\nconst DEFAULT_ROW_DURATION = 50;\n\nclass CellRoot<Data extends DataTableData, UniqKeyType> extends Component<DataTableCellProps<UniqKeyType>, {}, {}, [], CellPropsInner<Data, UniqKeyType>> implements IFocusableCell {\n lockedCell: LockedCell = [null, false];\n\n static displayName = 'Cell';\n static style = style;\n\n cellRef = React.createRef<HTMLDivElement>();\n\n componentWillUnmount() {\n const { virtualScroll, tableRef } = this.asProps;\n if (virtualScroll && this.cellRef.current && isFocusInside(this.cellRef.current)) {\n tableRef.current?.setAttribute('tabIndex', '0');\n }\n }\n\n handleFocusableCellKeyDown = (e: React.KeyboardEvent) => {\n handleKeydownFocusCell(this.lockedCell, e);\n };\n\n handleFocusableCellFocus = (e: React.FocusEvent) => {\n handleFocusCell(this.lockedCell, e.target, e.currentTarget);\n };\n\n calculateAnimationSettings() {\n const {\n accordionRowIndex = 0,\n isAccordionRow,\n animationExpand,\n accordionDuration,\n rows,\n } = this.asProps;\n\n if (!isAccordionRow) {\n return {};\n }\n\n const rowsLength = rows.length;\n const durationPerRow = (duration: number) => duration / rowsLength;\n\n const duration = Array.isArray(accordionDuration)\n ? [durationPerRow(accordionDuration[0]), durationPerRow(accordionDuration[1])]\n : accordionDuration !== undefined\n ? durationPerRow(accordionDuration)\n : rowsLength > 4\n ? durationPerRow(200)\n : DEFAULT_ROW_DURATION;\n\n let delay;\n const delayIndex = animationExpand ? accordionRowIndex : rows.length - 1 - accordionRowIndex;\n\n if (Array.isArray(duration)) {\n delay = [duration[0] * delayIndex, duration[1] * delayIndex];\n } else if (duration !== undefined) {\n delay = duration * delayIndex;\n }\n\n return { duration, delay };\n }\n\n handleClickCell = (e: React.SyntheticEvent) => {\n const { rowIndex, columnIndex, onClick, row } = this.asProps;\n\n onClick(e, { rowIndex, colIndex: columnIndex, row });\n };\n\n render() {\n const SCellWrapper = Box;\n const SCell = Root;\n const {\n Children,\n styles,\n row,\n column,\n columnIndex,\n gridRowIndex,\n isAccordionRow,\n animationExpand,\n style,\n shadowVertical,\n calculatedHeight,\n } = this.asProps;\n\n const cell = row[column.name];\n const cellName = cell instanceof MergedColumnsCell ? cell.dataKey : column.name;\n\n let scope: null | 'rowgroup' | 'colgroup' = null;\n let gridArea: string | undefined = undefined;\n\n const fromRow = gridRowIndex;\n const fromCol = columnIndex + 1;\n\n if (cell instanceof MergedColumnsCell) {\n gridArea = `${fromRow} / ${fromCol} / ${fromRow + 1} / ${fromCol + cell.columnsCount}`;\n scope = 'colgroup';\n } else if (cell instanceof MergedRowsCell) {\n gridArea = `${fromRow} / ${fromCol} / ${fromRow + cell.rowsCount} / ${fromCol + 1}`;\n scope = 'rowgroup';\n } else {\n gridArea = `${fromRow} / ${fromCol} / ${fromRow + 1} / ${fromCol + 1}`;\n }\n\n const { duration, delay } = this.calculateAnimationSettings();\n\n return sstyled(styles)(\n <SCellWrapper\n // @ts-ignore\n gridArea={gridArea}\n duration={`${duration}ms`}\n delay={`${delay}ms`}\n h={isAccordionRow ? (animationExpand ? `${calculatedHeight}px` : `0px`) : undefined}\n style={style}\n fixed={column.fixed}\n shadowVertical={column.showShadowVertical ? shadowVertical : undefined}\n >\n <SCell\n ref={this.cellRef}\n render={Flex}\n innerOutline\n tabIndex={-1}\n onKeyDown={this.handleFocusableCellKeyDown}\n onFocus={this.handleFocusableCellFocus}\n use:onClick={this.handleClickCell}\n name={cellName.toString()}\n role='gridcell'\n aria-colindex={columnIndex + 1}\n data-grouped-by={scope}\n scope={scope}\n aria-colspan={cell instanceof MergedColumnsCell ? cell.columnsCount : undefined}\n aria-rowspan={cell instanceof MergedRowsCell ? cell.rowsCount : undefined}\n gridArea={gridArea}\n borders={column.borders}\n flexWrap={column.flexWrap}\n alignItems={column.alignItems}\n alignContent={column.alignContent}\n justifyContent={column.justifyContent}\n textAlign={column.textAlign}\n >\n <Children />\n </SCell>\n </SCellWrapper>,\n );\n }\n}\n\nexport const Cell = createComponent(CellRoot);\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,eAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAGA,IAAAK,YAAA,GAAAL,OAAA;AAGA,IAAAM,cAAA,GAAAN,OAAA;AAAwF;AAAA,IAAAO,KAAA,8BAAAR,KAAA,CAAAS,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;E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EiB,IAAI,YAAYU,2BAAc,GAAGV,IAAI,CAACW,SAAS,GAAG5B,SAAS;QAAA,YAC/DuB,QAAQ;QAAA,WACTV,MAAM,CAAC2B,OAAO;QAAA,YACb3B,MAAM,CAAC4B,QAAQ;QAAA,cACb5B,MAAM,CAAC6B,UAAU;QAAA,gBACf7B,MAAM,CAAC8B,YAAY;QAAA,kBACjB9B,MAAM,CAAC+B,cAAc;QAAA,aAC1B/B,MAAM,CAACgC;MAAS,GAAAzC,IAAA,kBAE3BhE,KAAA,CAAA0F,aAAA,CAACnB,QAAQ,EAAAN,KAAA,CAAA0B,EAAA,gBAAE,CACN,CACK,CAAC;IAEnB;EAAC;AAAA,EA7I6De,eAAS;AAAA,IAAAtF,gBAAA,aAAnEZ,QAAQ,iBAGS,MAAM;AAAA,IAAAY,gBAAA,aAHvBZ,QAAQ,WAIGJ,KAAK;AA4If,IAAMuG,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG,IAAAE,qBAAe,EAACrG,QAAQ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")["default"];
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.LimitOverlay = void 0;
|
|
9
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
10
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
11
|
+
var _callSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/callSuper"));
|
|
12
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
|
+
var _core = require("@semcore/core");
|
|
15
|
+
var _baseComponents = require("@semcore/base-components");
|
|
16
|
+
var _hasParent = require("@semcore/core/lib/utils/hasParent");
|
|
17
|
+
var React = _interopRequireWildcard(require("react"));
|
|
18
|
+
var _focusableCell = require("../../enhancers/focusableCell");
|
|
19
|
+
var _DataTable = require("../DataTable/DataTable");
|
|
20
|
+
/*!__reshadow-styles__:"./style.shadow.css"*/
|
|
21
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SAccordionRows_lezzg_gg_,.___SBody_lezzg_gg_,.___SRowGroup_lezzg_gg_,.___SRow_lezzg_gg_{display:contents}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCell_lezzg_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-2x, 8px)}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SRow_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level],.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-5x, 20px) + ((var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SBody_lezzg_gg_.__compact_lezzg_gg_ .___SCell_lezzg_gg_ .___SAccordionToggle_lezzg_gg_{margin-right:var(--intergalactic-spacing-2x, 8px)}.___SCellWrapper_lezzg_gg_.__gridArea_lezzg_gg_,.___SCollapseRow_lezzg_gg_.__gridArea_lezzg_gg_,.___SRow_lezzg_gg_.__gridArea_lezzg_gg_{grid-area:var(--gridArea_lezzg)}.___SCellWrapper_lezzg_gg_{height:100%;overflow:hidden}.___SCollapseRow_lezzg_gg_.__gridArea_lezzg_gg_>.___SCellWrapper_lezzg_gg_,.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_{height:auto;overflow:auto}.___SAccordionRows_lezzg_gg_>.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_:last-child>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__withoutBorder_lezzg_gg_),.___SCollapseRow_lezzg_gg_.__gridArea_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__withoutBorder_lezzg_gg_){border-bottom:1px solid var(--intergalactic-border-table-accent, #a9abb6)}.___SCollapseRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_{display:block}.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_).__expanded_lezzg_gg_.__withAccordion_lezzg_gg_,.___SRow_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._accordionType_row_lezzg_gg_.__expanded_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SCollapseRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-accordion, #f4f5f9)}@media (hover:hover){.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:not(._accordionType_row_lezzg_gg_.__expanded_lezzg_gg_):hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-hover, #f0f0f4)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_muted_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_muted_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_muted_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_muted_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_muted_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_muted_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_info_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_info_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_info_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_info_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_info_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_info_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-selected-hover, #c4e5fe)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_success_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_success_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_success_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_success_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_success_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_success_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-new-hover, #9ef2c9)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_warning_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_warning_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_warning_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_warning_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_warning_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_warning_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-warning-hover, #ffdca2)}.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_._theme_danger_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_[data-grouped-by=rowgroup]._theme_danger_lezzg_gg_:not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_._theme_danger_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not([aria-hidden]),.___SRowGroup_lezzg_gg_:has(.___SCell_lezzg_gg_[data-grouped-by=rowgroup]:hover)>.___SRow_lezzg_gg_:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden])>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_danger_lezzg_gg_:not([aria-hidden]),.___SRow_lezzg_gg_._theme_danger_lezzg_gg_:hover:not(.__expanded_lezzg_gg_.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_):not([aria-hidden]),.___SRow_lezzg_gg_:hover:not(.__isNonInteractive_lezzg_gg_):not([aria-hidden]):not(:has(.___SLimitOverlayCellWrapper_lezzg_gg_:hover))>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_._theme_danger_lezzg_gg_:not([aria-hidden]){background-color:var(--intergalactic-table-td-cell-critical-hover, #ffd7df)}}.___SRow_lezzg_gg_._theme_muted_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SRow_lezzg_gg_._theme_muted_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_muted_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-active, #e6e7ed)}.___SRow_lezzg_gg_._theme_info_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SRow_lezzg_gg_._theme_info_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_info_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-selected-active, #c4e5fe)}.___SRow_lezzg_gg_._theme_success_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SRow_lezzg_gg_._theme_success_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_success_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-new-active, #9ef2c9)}.___SRow_lezzg_gg_._theme_warning_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SRow_lezzg_gg_._theme_warning_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_warning_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-warning-active, #ffdca2)}.___SRow_lezzg_gg_._theme_danger_lezzg_gg_ .___SCell_lezzg_gg_:not(.__theme_lezzg_gg_):not(.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SRow_lezzg_gg_._theme_danger_lezzg_gg_ .___SCell_lezzg_gg_.__expanded_lezzg_gg_.__withAccordion_lezzg_gg_:not(.__theme_lezzg_gg_),.___SRow_lezzg_gg_._theme_danger_lezzg_gg_.__active_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_:not(.__theme_lezzg_gg_){background-color:var(--intergalactic-table-td-cell-critical-active, #ffd7df)}.___SCell_lezzg_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_lezzg_gg_ .___SAccordionToggle_lezzg_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_lezzg_gg_ .___SAccordionToggle_lezzg_gg_ svg{transition:transform calc(var(--intergalactic-duration-accordion, 200)*1ms) ease-out}.___SCell_lezzg_gg_ .___SAccordionToggle_lezzg_gg_.__expanded_lezzg_gg_ svg{transform:rotate(90deg)}.___SCell_lezzg_gg_.__withoutBorder_lezzg_gg_{border-bottom:none}.___SCell_lezzg_gg_.__withAccordion_lezzg_gg_,.___SCell_lezzg_gg_._name_Symbol\\(SELECT_ALL\\)_lezzg_gg_,.___SRow_lezzg_gg_._accordionType_row_lezzg_gg_>.___SCellWrapper_lezzg_gg_>.___SCell_lezzg_gg_{cursor:pointer}.___SCheckboxCell_lezzg_gg_[aria-hidden]{filter:blur(3px);pointer-events:none}.___SCell_lezzg_gg_._use_primary_lezzg_gg_{padding:var(--intergalactic-spacing-3x, 12px);min-height:45px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_lezzg_gg_._use_primary_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-3x, 12px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SCell_lezzg_gg_._use_secondary_lezzg_gg_{padding:var(--intergalactic-spacing-2x, 8px);min-height:37px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SCell_lezzg_gg_._use_secondary_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-2x, 8px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SCell_lezzg_gg_._borders_both_lezzg_gg_,.___SCell_lezzg_gg_._borders_left_lezzg_gg_{border-left:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCell_lezzg_gg_._borders_both_lezzg_gg_,.___SCell_lezzg_gg_._borders_right_lezzg_gg_{border-right:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___SCellWrapper_lezzg_gg_.__fixed_lezzg_gg_{position:sticky;z-index:2}.___SCell_lezzg_gg_._theme_muted_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-unread, #f4f5f9)}.___SCell_lezzg_gg_._theme_info_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-selected, #e9f7ff)}.___SCell_lezzg_gg_._theme_success_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-new, #dbfee8)}.___SCell_lezzg_gg_._theme_warning_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-warning, #fff3d9)}.___SCell_lezzg_gg_._theme_danger_lezzg_gg_{background-color:var(--intergalactic-table-td-cell-critical, #fff0f7)}.___SSpinContainer_lezzg_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_lezzg_gg_:focus-visible{z-index:15}.___SSpinContainer_lezzg_gg_.__headerHeight_lezzg_gg_{top:var(--headerHeight_lezzg)}.___SEmptyData_lezzg_gg_{grid-column:1/-1}.___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_,.___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_{padding-left:var(--intergalactic-spacing-5x, 20px)}.___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level],.___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:first-child .___SCell_lezzg_gg_[data-aria-level]{padding-left:calc(var(--intergalactic-spacing-5x, 20px) + ((var(--intergalactic-spacing-5x, 20px) + var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px))*(var(--data-aria-level_lezzg) - 1)))}.___SCollapseRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:last-child .___SCell_lezzg_gg_,.___SRow_lezzg_gg_._sideIndents_wide_lezzg_gg_ .___SCellWrapper_lezzg_gg_:last-child .___SCell_lezzg_gg_{padding-right:var(--intergalactic-spacing-5x, 20px)}.___SRow_lezzg_gg_.__isAccordionRow_lezzg_gg_.__withAnimation_lezzg_gg_>.___SCellWrapper_lezzg_gg_{transition-property:height;transition-delay:var(--delay_lezzg);transition-duration:var(--duration_lezzg);transition-timing-function:linear;overflow:clip}.___SCellWrapper_lezzg_gg_.__fixed_lezzg_gg_.__shadowVertical_lezzg_gg_:after{content:\"\";position:absolute;pointer-events:none;display:none;top:0;width:5px;height:100%;z-index:5}.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_median_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_start_lezzg_gg_{margin-right:-5px}.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_median_lezzg_gg_:after,.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_start_lezzg_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_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_median_lezzg_gg_ .___SCell_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_left_lezzg_gg_._shadowVertical_start_lezzg_gg_ .___SCell_lezzg_gg_{margin-right:5px}.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_end_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_median_lezzg_gg_{margin-left:-5px}.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_end_lezzg_gg_:after,.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_median_lezzg_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_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_end_lezzg_gg_ .___SCell_lezzg_gg_,.___SCellWrapper_lezzg_gg_._fixed_right_lezzg_gg_._shadowVertical_median_lezzg_gg_ .___SCell_lezzg_gg_{margin-left:5px}.___SLimitOverlayCellWrapper_lezzg_gg_.__gridArea_lezzg_gg_{width:100%;height:100%;align-items:center;justify-content:center;z-index:16;grid-area:var(--gridArea_lezzg);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.___SLimitOverlayCellWrapper_lezzg_gg_.__left_lezzg_gg_{position:sticky;left:var(---left_lezzg)}.___SCell_lezzg_gg_.__innerOutline_lezzg_gg_:focus-visible{transition:none}", /*__inner_css_end__*/"lezzg_gg_"),
|
|
22
|
+
/*__reshadow_css_end__*/
|
|
23
|
+
{
|
|
24
|
+
"__SBody": "___SBody_lezzg_gg_",
|
|
25
|
+
"__SRow": "___SRow_lezzg_gg_",
|
|
26
|
+
"__SRowGroup": "___SRowGroup_lezzg_gg_",
|
|
27
|
+
"__SAccordionRows": "___SAccordionRows_lezzg_gg_",
|
|
28
|
+
"_gridArea": "__gridArea_lezzg_gg_",
|
|
29
|
+
"__SCellWrapper": "___SCellWrapper_lezzg_gg_",
|
|
30
|
+
"__SCollapseRow": "___SCollapseRow_lezzg_gg_",
|
|
31
|
+
"--gridArea": "--gridArea_lezzg",
|
|
32
|
+
"_isAccordionRow": "__isAccordionRow_lezzg_gg_",
|
|
33
|
+
"__SCell": "___SCell_lezzg_gg_",
|
|
34
|
+
"_withoutBorder": "__withoutBorder_lezzg_gg_",
|
|
35
|
+
"_active": "__active_lezzg_gg_",
|
|
36
|
+
"_theme": "__theme_lezzg_gg_",
|
|
37
|
+
"_accordionType_row": "_accordionType_row_lezzg_gg_",
|
|
38
|
+
"_expanded": "__expanded_lezzg_gg_",
|
|
39
|
+
"_withAccordion": "__withAccordion_lezzg_gg_",
|
|
40
|
+
"_isNonInteractive": "__isNonInteractive_lezzg_gg_",
|
|
41
|
+
"__SLimitOverlayCellWrapper": "___SLimitOverlayCellWrapper_lezzg_gg_",
|
|
42
|
+
"_theme_muted": "_theme_muted_lezzg_gg_",
|
|
43
|
+
"_theme_info": "_theme_info_lezzg_gg_",
|
|
44
|
+
"_theme_success": "_theme_success_lezzg_gg_",
|
|
45
|
+
"_theme_warning": "_theme_warning_lezzg_gg_",
|
|
46
|
+
"_theme_danger": "_theme_danger_lezzg_gg_",
|
|
47
|
+
"_name_Symbol(SELECT_ALL)": "_name_Symbol(SELECT_ALL)_lezzg_gg_",
|
|
48
|
+
"__SCheckboxCell": "___SCheckboxCell_lezzg_gg_",
|
|
49
|
+
"_borders_both": "_borders_both_lezzg_gg_",
|
|
50
|
+
"_borders_left": "_borders_left_lezzg_gg_",
|
|
51
|
+
"_borders_right": "_borders_right_lezzg_gg_",
|
|
52
|
+
"_fixed": "__fixed_lezzg_gg_",
|
|
53
|
+
"__SSpinContainer": "___SSpinContainer_lezzg_gg_",
|
|
54
|
+
"_headerHeight": "__headerHeight_lezzg_gg_",
|
|
55
|
+
"--headerHeight": "--headerHeight_lezzg",
|
|
56
|
+
"__SEmptyData": "___SEmptyData_lezzg_gg_",
|
|
57
|
+
"_withAnimation": "__withAnimation_lezzg_gg_",
|
|
58
|
+
"--delay": "--delay_lezzg",
|
|
59
|
+
"--duration": "--duration_lezzg",
|
|
60
|
+
"_left": "__left_lezzg_gg_",
|
|
61
|
+
"---left": "---left_lezzg",
|
|
62
|
+
"_innerOutline": "__innerOutline_lezzg_gg_",
|
|
63
|
+
"_compact": "__compact_lezzg_gg_",
|
|
64
|
+
"--data-aria-level": "--data-aria-level_lezzg",
|
|
65
|
+
"_sideIndents_wide": "_sideIndents_wide_lezzg_gg_",
|
|
66
|
+
"__SAccordionToggle": "___SAccordionToggle_lezzg_gg_",
|
|
67
|
+
"_use_primary": "_use_primary_lezzg_gg_",
|
|
68
|
+
"_use_secondary": "_use_secondary_lezzg_gg_",
|
|
69
|
+
"_shadowVertical": "__shadowVertical_lezzg_gg_",
|
|
70
|
+
"_fixed_left": "_fixed_left_lezzg_gg_",
|
|
71
|
+
"_shadowVertical_median": "_shadowVertical_median_lezzg_gg_",
|
|
72
|
+
"_shadowVertical_start": "_shadowVertical_start_lezzg_gg_",
|
|
73
|
+
"_fixed_right": "_fixed_right_lezzg_gg_",
|
|
74
|
+
"_shadowVertical_end": "_shadowVertical_end_lezzg_gg_"
|
|
75
|
+
});
|
|
76
|
+
var LimitOverlayRoot = /*#__PURE__*/function (_Component) {
|
|
77
|
+
function LimitOverlayRoot() {
|
|
78
|
+
var _this;
|
|
79
|
+
(0, _classCallCheck2["default"])(this, LimitOverlayRoot);
|
|
80
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
81
|
+
args[_key] = arguments[_key];
|
|
82
|
+
}
|
|
83
|
+
_this = (0, _callSuper2["default"])(this, LimitOverlayRoot, [].concat(args));
|
|
84
|
+
(0, _defineProperty2["default"])(_this, "lockedCell", [null, false]);
|
|
85
|
+
(0, _defineProperty2["default"])(_this, "limitWrapperRef", /*#__PURE__*/React.createRef());
|
|
86
|
+
(0, _defineProperty2["default"])(_this, "handleFocusableCellKeyDown", function (e) {
|
|
87
|
+
(0, _focusableCell.handleKeydownFocusCell)(_this.lockedCell, e);
|
|
88
|
+
});
|
|
89
|
+
(0, _defineProperty2["default"])(_this, "handleFocusableCellFocus", function (e) {
|
|
90
|
+
var tableElement = _this.asProps.tableRef.current;
|
|
91
|
+
if (tableElement && !(0, _hasParent.hasParent)(e.relatedTarget, tableElement)) {
|
|
92
|
+
if (e.target instanceof HTMLElement) {
|
|
93
|
+
e.target.dataset.skipTargetFocus = 'true';
|
|
94
|
+
}
|
|
95
|
+
} else {
|
|
96
|
+
if (e.target instanceof HTMLElement) {
|
|
97
|
+
e.target.dataset.skipTargetFocus = undefined;
|
|
98
|
+
}
|
|
99
|
+
(0, _focusableCell.handleFocusCell)(_this.lockedCell, e.target, e.currentTarget);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
return _this;
|
|
103
|
+
}
|
|
104
|
+
(0, _inherits2["default"])(LimitOverlayRoot, _Component);
|
|
105
|
+
return (0, _createClass2["default"])(LimitOverlayRoot, [{
|
|
106
|
+
key: "limitOverlayGridArea",
|
|
107
|
+
get: function get() {
|
|
108
|
+
var _this$asProps = this.asProps,
|
|
109
|
+
columns = _this$asProps.columns,
|
|
110
|
+
hasGroups = _this$asProps.hasGroups,
|
|
111
|
+
flatRows = _this$asProps.flatRows,
|
|
112
|
+
limit = _this$asProps.limit;
|
|
113
|
+
var fromRow = limit.fromRow,
|
|
114
|
+
fromColumn = limit.fromColumn;
|
|
115
|
+
var rowOffset = hasGroups ? 3 : 2;
|
|
116
|
+
var rowStart = fromRow !== undefined ? rowOffset + flatRows[fromRow][_DataTable.GRID_ROW_INDEX] : rowOffset;
|
|
117
|
+
var rowEnd = rowOffset;
|
|
118
|
+
var lastRow = flatRows[flatRows.length - 1];
|
|
119
|
+
if (lastRow[_DataTable.ACCORDION]) {
|
|
120
|
+
rowEnd = rowEnd + lastRow[_DataTable.GRID_ROW_INDEX] + 1 + (Array.isArray(lastRow[_DataTable.ACCORDION]) ? lastRow[_DataTable.ACCORDION].length : 1);
|
|
121
|
+
} else {
|
|
122
|
+
rowEnd = rowEnd + lastRow[_DataTable.GRID_ROW_INDEX] + 1;
|
|
123
|
+
}
|
|
124
|
+
var columnStart = fromColumn !== undefined ? fromColumn + 1 : 1;
|
|
125
|
+
var columnEnd = columns.length + 1;
|
|
126
|
+
return "".concat(rowStart, " / ").concat(columnStart, " / ").concat(rowEnd, " / ").concat(columnEnd);
|
|
127
|
+
}
|
|
128
|
+
}, {
|
|
129
|
+
key: "sizes",
|
|
130
|
+
get: function get() {
|
|
131
|
+
var _this$asProps2 = this.asProps,
|
|
132
|
+
scrollAreaRef = _this$asProps2.scrollAreaRef,
|
|
133
|
+
columns = _this$asProps2.columns;
|
|
134
|
+
if (columns.some(function (c) {
|
|
135
|
+
return c.fixed;
|
|
136
|
+
}) && this.limitWrapperRef.current && scrollAreaRef.current) {
|
|
137
|
+
var scrollAreaRect = scrollAreaRef.current.getBoundingClientRect();
|
|
138
|
+
var limitWrapperRect = this.limitWrapperRef.current.getBoundingClientRect();
|
|
139
|
+
var left = limitWrapperRect.x - scrollAreaRect.x;
|
|
140
|
+
var width = scrollAreaRect.width - limitWrapperRect.x + scrollAreaRect.x;
|
|
141
|
+
return {
|
|
142
|
+
left: left,
|
|
143
|
+
width: width
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
left: 0,
|
|
148
|
+
width: 0
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
}, {
|
|
152
|
+
key: "render",
|
|
153
|
+
value: function render() {
|
|
154
|
+
var _ref;
|
|
155
|
+
var SLimitOverlayCellWrapper = _baseComponents.Flex;
|
|
156
|
+
var _this$asProps3 = this.asProps,
|
|
157
|
+
columns = _this$asProps3.columns,
|
|
158
|
+
rows = _this$asProps3.rows,
|
|
159
|
+
styles = _this$asProps3.styles,
|
|
160
|
+
limit = _this$asProps3.limit;
|
|
161
|
+
var rowsLimit = limit.fromRow;
|
|
162
|
+
var columnsLimit = limit.fromColumn;
|
|
163
|
+
var renderOverlay = limit.renderOverlay;
|
|
164
|
+
var colIndex = columnsLimit ? columnsLimit + 1 : 1;
|
|
165
|
+
var colSpan = columns.length - (columnsLimit !== null && columnsLimit !== void 0 ? columnsLimit : 0);
|
|
166
|
+
var rowsSpan = rows.length - (rowsLimit !== null && rowsLimit !== void 0 ? rowsLimit : 0);
|
|
167
|
+
var _this$sizes = this.sizes,
|
|
168
|
+
width = _this$sizes.width,
|
|
169
|
+
left = _this$sizes.left;
|
|
170
|
+
return _ref = (0, _core.sstyled)(styles), /*#__PURE__*/React.createElement(SLimitOverlayCellWrapper, _ref.cn("SLimitOverlayCellWrapper", {
|
|
171
|
+
"ref": this.limitWrapperRef,
|
|
172
|
+
"gridArea": this.limitOverlayGridArea,
|
|
173
|
+
"w": width ? width : undefined,
|
|
174
|
+
"left": left ? left : undefined
|
|
175
|
+
}), /*#__PURE__*/React.createElement(_baseComponents.Box, _ref.cn("Box", {
|
|
176
|
+
"role": 'gridcell',
|
|
177
|
+
"aria-colindex": colIndex,
|
|
178
|
+
"aria-colspan": colSpan,
|
|
179
|
+
"aria-rowspan": rowsSpan,
|
|
180
|
+
"tabIndex": -1,
|
|
181
|
+
"onFocus": this.handleFocusableCellFocus,
|
|
182
|
+
"onKeyDown": this.handleFocusableCellKeyDown
|
|
183
|
+
}), renderOverlay === null || renderOverlay === void 0 ? void 0 : renderOverlay()));
|
|
184
|
+
}
|
|
185
|
+
}]);
|
|
186
|
+
}(_core.Component);
|
|
187
|
+
(0, _defineProperty2["default"])(LimitOverlayRoot, "displayName", 'LimitOverlay');
|
|
188
|
+
(0, _defineProperty2["default"])(LimitOverlayRoot, "style", style);
|
|
189
|
+
var LimitOverlay = exports.LimitOverlay = (0, _core.createComponent)(LimitOverlayRoot);
|
|
190
|
+
//# sourceMappingURL=LimitOverlay.js.map
|