@qualtrics/ui-react 2.23.1-alpha.2 → 2.24.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/__shared/cjs/{index-d609f942.js → index-0ac65a5b.js} +4 -4
- package/dist/__shared/cjs/{index-da3cbfe3.js → index-e9223791.js} +314 -309
- package/dist/components/Accordion/Accordion2.js +4 -4
- package/dist/components/Banner/Banner.css.ts.vanilla.js +1 -1
- package/dist/components/Button/Button.js +4 -4
- package/dist/components/ButtonGroup/ButtonGroup2.js +4 -4
- package/dist/components/Checkbox/Check.js +1 -1
- package/dist/components/Checkbox/Checkbox2.js +4 -4
- package/dist/components/Checkbox/VisualCheckbox.js +2 -2
- package/dist/components/Checkbox/VisualCheckbox2.js +4 -4
- package/dist/components/ColorPicker/ColorPicker2.js +4 -4
- package/dist/components/Combobox/Combobox2.js +4 -4
- package/dist/components/ConfigPane/ConfigPane2.js +4 -4
- package/dist/components/Divider/Divider2.js +4 -4
- package/dist/components/Dropdown/Dropdown2.js +4 -4
- package/dist/components/Dropdown/DropdownButton.js +2 -1
- package/dist/components/FilePicker/FilePicker2.js +4 -4
- package/dist/components/FormField/Caption.js +4 -4
- package/dist/components/FormField/FormField2.js +4 -4
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +4 -4
- package/dist/components/IconButton/IconButton.js +3 -3
- package/dist/components/IconButton/IconButton2.js +5 -5
- package/dist/components/InlineInput/InlineInput2.js +4 -4
- package/dist/components/Input/Input2.js +4 -4
- package/dist/components/InputGroup/InputGroup2.js +4 -4
- package/dist/components/Label/Label2.js +4 -4
- package/dist/components/Link/Link2.js +4 -4
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +4 -4
- package/dist/components/LogicEditor/ConditionContainer.js +4 -1
- package/dist/components/LogicEditor/LogicEditor2.js +4 -4
- package/dist/components/Modal/Modal2.js +4 -4
- package/dist/components/NewMenu/NewMenu.js +4 -4
- package/dist/components/NumberStepper/NumberStepper2.js +4 -4
- package/dist/components/PageLayout/PageLayout.js +4 -4
- package/dist/components/Pagination/Pagination2.js +4 -4
- package/dist/components/Popover/Popover2.js +4 -4
- package/dist/components/QuickSearch/QuickSearch2.js +4 -4
- package/dist/components/Radio/Radio2.js +4 -4
- package/dist/components/SearchInput/SearchInput2.js +4 -4
- package/dist/components/SidebarNav/SidebarNav2.js +4 -4
- package/dist/components/Slider/Slider2.js +4 -4
- package/dist/components/Switch/Switch2.js +4 -4
- package/dist/components/Table/Table2.js +4 -4
- package/dist/components/Tabs/Tabs2.js +4 -4
- package/dist/components/Tooltip/Tooltip2.js +4 -4
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +4 -4
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +4 -4
- package/dist/components/deprecated_Tabs/Tabs2.js +4 -4
- package/dist/components/deprecated_Toolbar/Toolbar2.js +4 -4
- package/dist/hooks/useOverlay/useOverlay2.js +4 -4
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +4 -4
- package/dist/icons/Icon.js +4 -4
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +49 -53
- package/dist/next/AdvancedTable/AdvancedTable2.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +21 -27
- package/dist/next/AdvancedTable/AdvancedTableRow.js +1 -3
- package/dist/next/AdvancedTable/AdvancedTableRowExpandButton.js +10 -15
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +4 -4
- package/dist/next/Combobox/Combobox2.js +4 -4
- package/dist/next/Drawer/Drawer2.js +4 -4
- package/dist/next/FilterAnchor/FilterAnchor2.js +4 -4
- package/dist/next/Input/Input2.js +4 -4
- package/dist/next/Menu/Menu2.js +4 -4
- package/dist/next/Menu/usePaneSearch.js +9 -7
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +4 -4
- package/dist/next/SplitButton/SplitButton2.js +4 -4
- package/dist/next/TimePicker/TimePicker2.js +4 -4
- package/dist/next/ToggleButton/styles.js +4 -4
- package/dist/next/index.js +129 -146
- package/dist/utils/Flyout/Flyout2.js +4 -4
- package/dist/utils/Popper/Popper2.js +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
package/dist/next/index.js
CHANGED
|
@@ -8,8 +8,8 @@ var classNames = require('classnames');
|
|
|
8
8
|
var reactDnd = require('react-dnd');
|
|
9
9
|
var reactDndHtml5Backend = require('react-dnd-html5-backend');
|
|
10
10
|
var useResizeObserver = require('@react-hook/resize-observer');
|
|
11
|
-
var index = require('../__shared/cjs/index-
|
|
12
|
-
var icons_index = require('../__shared/cjs/index-
|
|
11
|
+
var index = require('../__shared/cjs/index-e9223791.js');
|
|
12
|
+
var icons_index = require('../__shared/cjs/index-0ac65a5b.js');
|
|
13
13
|
var libphonenumberJs = require('libphonenumber-js');
|
|
14
14
|
var InputMask = require('react-input-mask');
|
|
15
15
|
var reactDropdownMenu = require('@radix-ui/react-dropdown-menu');
|
|
@@ -30,10 +30,10 @@ var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
|
30
30
|
var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver);
|
|
31
31
|
var InputMask__default = /*#__PURE__*/_interopDefaultLegacy(InputMask);
|
|
32
32
|
|
|
33
|
-
var css_248z$a = ".
|
|
34
|
-
var styles$a = {"advancedTable":"
|
|
35
|
-
var stylesheet$a=".
|
|
36
|
-
if(typeof
|
|
33
|
+
var css_248z$a = "._-fdQY{overflow:auto;position:relative;max-width:100%;max-height:100%}._-fdQY,._K28zN{background-color:#fff}._K28zN{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._nGLPA{margin-bottom:4px}._BCGGf{position:-webkit-sticky;position:sticky;top:0;z-index:100}._-SE0K{display:flex}._-SE0K:focus{outline:none}._-SE0K.focus-visible ._hW-9R:after,._-SE0K:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._-SE0K.focus-visible ._hW-9R:last-of-type:after,._-SE0K:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._-SE0K.focus-visible ._hW-9R:first-of-type:after,._-SE0K:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._-SE0K.focus-visible ._hW-9R._cyz4j:after,._-SE0K:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:1px}._xohbl{padding-right:3px}._3fq90{display:flex}._3fq90._Skaxt ._e95oJ,._3fq90._Skaxt ._hW-9R{cursor:pointer}._3fq90._D09At ._e95oJ,._3fq90._D09At ._hW-9R{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._3fq90._D09At ._e95oJ._cyz4j,._3fq90._D09At ._hW-9R._cyz4j{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._3fq90._D09At ._e95oJ._cyz4j ._e95oJ,._3fq90._D09At ._e95oJ._cyz4j ._fP4Ny,._3fq90._D09At ._e95oJ._cyz4j ._RQOz2,._3fq90._D09At ._hW-9R._cyz4j ._e95oJ,._3fq90._D09At ._hW-9R._cyz4j ._fP4Ny,._3fq90._D09At ._hW-9R._cyz4j ._RQOz2{background-color:rgba(11,110,208,.08)}._3fq90._Skaxt:hover:not(._D09At) ._e95oJ,._3fq90._Skaxt:hover:not(._D09At) ._hW-9R{background-color:#f9f9f9}._3fq90._Skaxt:active:not(._D09At)[\\:not-has\\(._fP4Ny\\:active\\)] ._e95oJ,._3fq90._Skaxt:active:not(._D09At)[\\:not-has\\(._fP4Ny\\:active\\)] ._hW-9R{background-color:#f3f3f3}._3fq90._Skaxt:active:not(._D09At):not(._3fq90._Skaxt:active:not(._D09At):has(._fP4Ny:active)) ._e95oJ,._3fq90._Skaxt:active:not(._D09At):not(._3fq90._Skaxt:active:not(._D09At):has(._fP4Ny:active)) ._hW-9R{background-color:#f3f3f3}._3fq90:focus{outline:none}._3fq90.focus-visible ._hW-9R:after,._3fq90:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3fq90.focus-visible ._hW-9R:last-of-type:after,._3fq90:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3fq90.focus-visible ._hW-9R:first-of-type:after,._3fq90:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3fq90.focus-visible ._hW-9R._cyz4j:after,._3fq90:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:0}._3fq90:last-of-type:focus{outline:none}._3fq90:last-of-type.focus-visible ._hW-9R:after,._3fq90:last-of-type:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3fq90:last-of-type.focus-visible ._hW-9R:last-of-type:after,._3fq90:last-of-type:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3fq90:last-of-type.focus-visible ._hW-9R:first-of-type:after,._3fq90:last-of-type:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3fq90:last-of-type.focus-visible ._hW-9R._cyz4j:after,._3fq90:last-of-type:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:1px}._3fq90:last-of-type ._RQOz2:focus{outline:none}._3fq90:last-of-type ._RQOz2._Dl7AB.focus-visible:after,._3fq90:last-of-type ._RQOz2._Dl7AB:focus-visible:after,._3fq90:last-of-type ._RQOz2.focus-visible:after,._3fq90:last-of-type ._RQOz2:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._3fq90:first-of-type:focus{outline:none}._3fq90:first-of-type.focus-visible ._hW-9R:after,._3fq90:first-of-type:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3fq90:first-of-type.focus-visible ._hW-9R:last-of-type:after,._3fq90:first-of-type:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3fq90:first-of-type.focus-visible ._hW-9R:first-of-type:after,._3fq90:first-of-type:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3fq90:first-of-type.focus-visible ._hW-9R._cyz4j:after,._3fq90:first-of-type:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:0}._3fq90:first-of-type ._RQOz2:focus{outline:none}._3fq90:first-of-type ._RQOz2._Dl7AB.focus-visible:after,._3fq90:first-of-type ._RQOz2._Dl7AB:focus-visible:after,._3fq90:first-of-type ._RQOz2.focus-visible:after,._3fq90:first-of-type ._RQOz2:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._gj-nY{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._gj-nY._Z-pZ2{flex-grow:1}._gj-nY._51Ab3{cursor:pointer}._gj-nY._51Ab3:hover:not(._xVuvj){background-color:#f9f9f9;border-bottom-color:#6a6d70}._gj-nY._51Ab3:active:not(._xVuvj){background-color:#f3f3f3}._gj-nY._5s-Y3:not(._xVuvj){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._gj-nY._xVuvj{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._gj-nY ._eymps{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._gj-nY ._eymps._0EP3o{left:-1px}._gj-nY ._eymps._TetI5{right:0}._gj-nY ._mbtZb{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._gj-nY ._mbtZb._0EP3o{left:-2px}._gj-nY ._mbtZb._TetI5{right:-1px}._gj-nY:first-of-type ._0EP3o._eymps{left:0;width:2px;border-left:1px solid #fff}._gj-nY:first-of-type ._0EP3o._mbtZb{left:0}._gj-nY:last-of-type ._TetI5._eymps{right:0;width:2px;border-right:1px solid #fff}._gj-nY:last-of-type ._TetI5._mbtZb{right:0}._gj-nY ._KqFSK{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._gj-nY ._KqFSK ._UpxFp{position:absolute;width:2px;right:2px;top:0;bottom:0}._gj-nY ._KqFSK ._UpxFp._KB9IT{background-color:#0a6ed1}._gj-nY ._KqFSK:hover ._UpxFp:not(._KB9IT){background-color:#d9d9d9}._gj-nY ._ZUOa-{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._gj-nY ._ZUOa-._rq-4b{flex-direction:row-reverse;justify-content:flex-start}._gj-nY ._ZUOa-._rq-4b ._UdaLc{margin:1px 7px 1px 1px}._gj-nY ._ZUOa- ._XAyaY{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._gj-nY ._ZUOa- ._UdaLc{margin:1px 1px 1px 7px;flex-shrink:0}._gj-nY ._5dXHd{margin-left:6px;margin-right:4px;flex-shrink:0}._gj-nY ._vjpQi{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._gj-nY:focus{outline:none}._gj-nY._Dl7AB.focus-visible:after,._gj-nY._Dl7AB:focus-visible:after,._gj-nY.focus-visible:after,._gj-nY:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._bv143{margin-right:6px}._cyz4j{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._cyz4j[focus-within]{z-index:30}._cyz4j:focus-within{z-index:30}._RQOz2{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._RQOz2 ._BRVwk{width:100%;padding:12px 12px 11px;overflow:hidden}._RQOz2._xVuvj{background-color:#efefef;border-bottom-color:#dfdfe1}._RQOz2._Z-pZ2{flex-grow:1}._RQOz2:focus{outline:none}._RQOz2._Dl7AB.focus-visible:after,._RQOz2._Dl7AB:focus-visible:after,._RQOz2.focus-visible:after,._RQOz2:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._e95oJ{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._e95oJ._5UmGS{border-bottom-color:#d9d9d9;background-color:#fff}._fP4Ny{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._fP4Ny._5UmGS{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._fP4Ny:focus input~span,._fP4Ny:hover input~span{border-color:#0b6ed0}._fP4Ny ._wMr1M{position:relative;display:inline-flex}._fP4Ny ._wMr1M ._RrHZg{margin:0!important}._fP4Ny ._wMr1M ._s7Qcp{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._XQ6tV{justify-content:flex-start}._k39bg{justify-content:center;text-align:center}._rq-4b{justify-content:flex-end;text-align:right}._LJRFo{display:none}._r2UI8{opacity:0;height:0;width:0;overflow:hidden}._r2UI8,._ZmYoU{position:absolute}._ZmYoU{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._7lD8g{width:246px}";
|
|
34
|
+
var styles$a = {"advancedTable":"_-fdQY","advancedTablePaginationContainer":"_K28zN","advancedTablePagination":"_nGLPA","advancedTableColumnHeadersRowGroup":"_BCGGf","advancedTableColumnHeaders":"_-SE0K","advancedTableRowChild":"_hW-9R","pinnedContainer":"_cyz4j","advancedTableRowGroup":"_xohbl","advancedTableRow":"_3fq90","hasRowAction":"_Skaxt","advancedTableExpandRowSpacer":"_e95oJ","isSelected":"_D09At","advancedTableCheckbox":"_fP4Ny","advancedTableCell":"_RQOz2","showFocusRing":"_Dl7AB","advancedTableColumnHeader":"_gj-nY","fillRemainingSpace":"_Z-pZ2","isSortable":"_51Ab3","isDragging":"_xVuvj","isSorted":"_5s-Y3","dropTargetLine":"_eymps","dropTargetLeft":"_0EP3o","dropTargetRight":"_TetI5","dropTargetMarker":"_mbtZb","resizeHandle":"_KqFSK","resizeLine":"_UpxFp","isResizing":"_KB9IT","advancedTableColumnHeaderLabel":"_ZUOa-","rightAligned":"_rq-4b","sortIcon":"_UdaLc","advancedTableColumnHeaderLabelText":"_XAyaY","advancedTableColumnHeaderMenu":"_5dXHd","advancedTableColumnHeaderMenuHiddenAnchor":"_vjpQi","advancedTableColumnHeaderMenuItemIcon":"_bv143","advancedTableCellContainer":"_BRVwk","header":"_5UmGS","checkboxContainer":"_wMr1M","checkbox":"_RrHZg","mixed":"_s7Qcp","leftAligned":"_XQ6tV","centerAligned":"_k39bg","hiddenDescription":"_LJRFo","hiddenLiveRegion":"_r2UI8","dragPreview":"_ZmYoU","rowActionMenuPane":"_7lD8g"};
|
|
35
|
+
var stylesheet$a="._-fdQY{overflow:auto;position:relative;max-width:100%;max-height:100%}._-fdQY,._K28zN{background-color:#fff}._K28zN{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._nGLPA{margin-bottom:4px}._BCGGf{position:-webkit-sticky;position:sticky;top:0;z-index:100}._-SE0K{display:flex}._-SE0K:focus{outline:none}._-SE0K.focus-visible ._hW-9R:after,._-SE0K:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._-SE0K.focus-visible ._hW-9R:last-of-type:after,._-SE0K:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._-SE0K.focus-visible ._hW-9R:first-of-type:after,._-SE0K:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._-SE0K.focus-visible ._hW-9R._cyz4j:after,._-SE0K:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:1px}._xohbl{padding-right:3px}._3fq90{display:flex}._3fq90._Skaxt ._e95oJ,._3fq90._Skaxt ._hW-9R{cursor:pointer}._3fq90._D09At ._e95oJ,._3fq90._D09At ._hW-9R{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._3fq90._D09At ._e95oJ._cyz4j,._3fq90._D09At ._hW-9R._cyz4j{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._3fq90._D09At ._e95oJ._cyz4j ._e95oJ,._3fq90._D09At ._e95oJ._cyz4j ._fP4Ny,._3fq90._D09At ._e95oJ._cyz4j ._RQOz2,._3fq90._D09At ._hW-9R._cyz4j ._e95oJ,._3fq90._D09At ._hW-9R._cyz4j ._fP4Ny,._3fq90._D09At ._hW-9R._cyz4j ._RQOz2{background-color:rgba(11,110,208,.08)}._3fq90._Skaxt:hover:not(._D09At) ._e95oJ,._3fq90._Skaxt:hover:not(._D09At) ._hW-9R{background-color:#f9f9f9}._3fq90._Skaxt:active:not(._D09At)[\\:not-has\\(._fP4Ny\\:active\\)] ._e95oJ,._3fq90._Skaxt:active:not(._D09At)[\\:not-has\\(._fP4Ny\\:active\\)] ._hW-9R{background-color:#f3f3f3}._3fq90._Skaxt:active:not(._D09At):not(._3fq90._Skaxt:active:not(._D09At):has(._fP4Ny:active)) ._e95oJ,._3fq90._Skaxt:active:not(._D09At):not(._3fq90._Skaxt:active:not(._D09At):has(._fP4Ny:active)) ._hW-9R{background-color:#f3f3f3}._3fq90:focus{outline:none}._3fq90.focus-visible ._hW-9R:after,._3fq90:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3fq90.focus-visible ._hW-9R:last-of-type:after,._3fq90:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3fq90.focus-visible ._hW-9R:first-of-type:after,._3fq90:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3fq90.focus-visible ._hW-9R._cyz4j:after,._3fq90:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:0}._3fq90:last-of-type:focus{outline:none}._3fq90:last-of-type.focus-visible ._hW-9R:after,._3fq90:last-of-type:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3fq90:last-of-type.focus-visible ._hW-9R:last-of-type:after,._3fq90:last-of-type:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3fq90:last-of-type.focus-visible ._hW-9R:first-of-type:after,._3fq90:last-of-type:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3fq90:last-of-type.focus-visible ._hW-9R._cyz4j:after,._3fq90:last-of-type:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:1px}._3fq90:last-of-type ._RQOz2:focus{outline:none}._3fq90:last-of-type ._RQOz2._Dl7AB.focus-visible:after,._3fq90:last-of-type ._RQOz2._Dl7AB:focus-visible:after,._3fq90:last-of-type ._RQOz2.focus-visible:after,._3fq90:last-of-type ._RQOz2:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._3fq90:first-of-type:focus{outline:none}._3fq90:first-of-type.focus-visible ._hW-9R:after,._3fq90:first-of-type:focus-visible ._hW-9R:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3fq90:first-of-type.focus-visible ._hW-9R:last-of-type:after,._3fq90:first-of-type:focus-visible ._hW-9R:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3fq90:first-of-type.focus-visible ._hW-9R:first-of-type:after,._3fq90:first-of-type:focus-visible ._hW-9R:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3fq90:first-of-type.focus-visible ._hW-9R._cyz4j:after,._3fq90:first-of-type:focus-visible ._hW-9R._cyz4j:after{right:-3px;bottom:0}._3fq90:first-of-type ._RQOz2:focus{outline:none}._3fq90:first-of-type ._RQOz2._Dl7AB.focus-visible:after,._3fq90:first-of-type ._RQOz2._Dl7AB:focus-visible:after,._3fq90:first-of-type ._RQOz2.focus-visible:after,._3fq90:first-of-type ._RQOz2:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._gj-nY{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._gj-nY._Z-pZ2{flex-grow:1}._gj-nY._51Ab3{cursor:pointer}._gj-nY._51Ab3:hover:not(._xVuvj){background-color:#f9f9f9;border-bottom-color:#6a6d70}._gj-nY._51Ab3:active:not(._xVuvj){background-color:#f3f3f3}._gj-nY._5s-Y3:not(._xVuvj){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._gj-nY._xVuvj{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._gj-nY ._eymps{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._gj-nY ._eymps._0EP3o{left:-1px}._gj-nY ._eymps._TetI5{right:0}._gj-nY ._mbtZb{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._gj-nY ._mbtZb._0EP3o{left:-2px}._gj-nY ._mbtZb._TetI5{right:-1px}._gj-nY:first-of-type ._0EP3o._eymps{left:0;width:2px;border-left:1px solid #fff}._gj-nY:first-of-type ._0EP3o._mbtZb{left:0}._gj-nY:last-of-type ._TetI5._eymps{right:0;width:2px;border-right:1px solid #fff}._gj-nY:last-of-type ._TetI5._mbtZb{right:0}._gj-nY ._KqFSK{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._gj-nY ._KqFSK ._UpxFp{position:absolute;width:2px;right:2px;top:0;bottom:0}._gj-nY ._KqFSK ._UpxFp._KB9IT{background-color:#0a6ed1}._gj-nY ._KqFSK:hover ._UpxFp:not(._KB9IT){background-color:#d9d9d9}._gj-nY ._ZUOa-{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._gj-nY ._ZUOa-._rq-4b{flex-direction:row-reverse;justify-content:flex-start}._gj-nY ._ZUOa-._rq-4b ._UdaLc{margin:1px 7px 1px 1px}._gj-nY ._ZUOa- ._XAyaY{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._gj-nY ._ZUOa- ._UdaLc{margin:1px 1px 1px 7px;flex-shrink:0}._gj-nY ._5dXHd{margin-left:6px;margin-right:4px;flex-shrink:0}._gj-nY ._vjpQi{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._gj-nY:focus{outline:none}._gj-nY._Dl7AB.focus-visible:after,._gj-nY._Dl7AB:focus-visible:after,._gj-nY.focus-visible:after,._gj-nY:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._bv143{margin-right:6px}._cyz4j{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._cyz4j[focus-within]{z-index:30}._cyz4j:focus-within{z-index:30}._RQOz2{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._RQOz2 ._BRVwk{width:100%;padding:12px 12px 11px;overflow:hidden}._RQOz2._xVuvj{background-color:#efefef;border-bottom-color:#dfdfe1}._RQOz2._Z-pZ2{flex-grow:1}._RQOz2:focus{outline:none}._RQOz2._Dl7AB.focus-visible:after,._RQOz2._Dl7AB:focus-visible:after,._RQOz2.focus-visible:after,._RQOz2:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._e95oJ{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._e95oJ._5UmGS{border-bottom-color:#d9d9d9;background-color:#fff}._fP4Ny{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._fP4Ny._5UmGS{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._fP4Ny:focus input~span,._fP4Ny:hover input~span{border-color:#0b6ed0}._fP4Ny ._wMr1M{position:relative;display:inline-flex}._fP4Ny ._wMr1M ._RrHZg{margin:0!important}._fP4Ny ._wMr1M ._s7Qcp{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._XQ6tV{justify-content:flex-start}._k39bg{justify-content:center;text-align:center}._rq-4b{justify-content:flex-end;text-align:right}._LJRFo{display:none}._r2UI8{opacity:0;height:0;width:0;overflow:hidden}._r2UI8,._ZmYoU{position:absolute}._ZmYoU{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._7lD8g{width:246px}";
|
|
36
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
37
37
|
|
|
38
38
|
// TODO: Move the imported types into this file to avoid a ciruclar dependency warning.
|
|
39
39
|
// Also Alignment, etc can be defined directly and have AdvancedTableColumnConfig use them instead of the reverse like now.
|
|
@@ -752,7 +752,6 @@ const AdvancedTableRow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
752
752
|
isFocusable,
|
|
753
753
|
isFocused,
|
|
754
754
|
isSelected,
|
|
755
|
-
isCheckboxHovered,
|
|
756
755
|
onKeyDown,
|
|
757
756
|
onFocus,
|
|
758
757
|
onClick,
|
|
@@ -769,8 +768,7 @@ const AdvancedTableRow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
769
768
|
onClick: hasOnRowSelect ? onClick : undefined,
|
|
770
769
|
className: classNames__default["default"](styles$a.advancedTableRow, {
|
|
771
770
|
[styles$a.hasRowAction]: hasOnRowSelect,
|
|
772
|
-
[styles$a.isSelected]: hasOnRowSelect && isSelected
|
|
773
|
-
[styles$a.isCheckboxHovered]: isCheckboxHovered
|
|
771
|
+
[styles$a.isSelected]: hasOnRowSelect && isSelected
|
|
774
772
|
}),
|
|
775
773
|
ref: isFocusable ? ref : undefined
|
|
776
774
|
}), children);
|
|
@@ -800,45 +798,37 @@ const AdvancedTableCheckbox = _ref => {
|
|
|
800
798
|
let {
|
|
801
799
|
state,
|
|
802
800
|
onClick,
|
|
803
|
-
onMouseEnter,
|
|
804
|
-
onMouseLeave,
|
|
805
|
-
onFocus,
|
|
806
801
|
variant = 'cell',
|
|
807
802
|
isRowFocused
|
|
808
803
|
} = _ref;
|
|
809
804
|
const {
|
|
810
805
|
translate
|
|
811
806
|
} = index.useTranslation();
|
|
812
|
-
const
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
807
|
+
const label = React.useMemo(() => {
|
|
808
|
+
const labels = {
|
|
809
|
+
true: translate('checked'),
|
|
810
|
+
false: translate('unchecked'),
|
|
811
|
+
mixed: translate('mixed')
|
|
812
|
+
};
|
|
813
|
+
return labels[state];
|
|
814
|
+
}, [state]);
|
|
815
|
+
const announceToScreenReader = index.useScreenReaderAnnouncement('polite');
|
|
816
|
+
React.useEffect(() => {
|
|
817
|
+
if (isRowFocused) {
|
|
818
|
+
announceToScreenReader(label);
|
|
819
|
+
}
|
|
820
|
+
}, [isRowFocused, announceToScreenReader, label]);
|
|
817
821
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
818
822
|
onClick: onClick,
|
|
819
|
-
onMouseEnter: onMouseEnter,
|
|
820
|
-
onMouseLeave: onMouseLeave,
|
|
821
823
|
className: classNames__default["default"](styles$a.advancedTableCheckbox, {
|
|
822
824
|
[styles$a.header]: variant === 'header'
|
|
823
825
|
}),
|
|
824
|
-
"
|
|
825
|
-
"aria-relevant": "text"
|
|
826
|
+
role: "presentation"
|
|
826
827
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
827
|
-
className: styles$a.hiddenLiveRegion
|
|
828
|
-
}, labels[state]), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
829
828
|
className: styles$a.checkboxContainer
|
|
830
|
-
}, /*#__PURE__*/React__default["default"].createElement(index.
|
|
829
|
+
}, /*#__PURE__*/React__default["default"].createElement(index.VisualCheckbox, {
|
|
831
830
|
className: styles$a.checkbox,
|
|
832
|
-
|
|
833
|
-
checked: state === 'true',
|
|
834
|
-
onChange: () => {
|
|
835
|
-
/* noop (supresses React input warning since we use the cell onClick for a larger click target instead of this onChange) */
|
|
836
|
-
},
|
|
837
|
-
inputProps: {
|
|
838
|
-
'aria-checked': state,
|
|
839
|
-
tabIndex: -1,
|
|
840
|
-
onFocus
|
|
841
|
-
}
|
|
831
|
+
checked: state === 'true'
|
|
842
832
|
}), state === 'mixed' && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
843
833
|
className: styles$a.mixed
|
|
844
834
|
})));
|
|
@@ -921,9 +911,6 @@ const AdvancedTableRowExpandButton = _ref => {
|
|
|
921
911
|
let {
|
|
922
912
|
isRowExpanded,
|
|
923
913
|
onClick,
|
|
924
|
-
onMouseEnter,
|
|
925
|
-
onMouseLeave,
|
|
926
|
-
onFocus,
|
|
927
914
|
'data-testid': dataTestId
|
|
928
915
|
} = _ref;
|
|
929
916
|
const {
|
|
@@ -935,16 +922,13 @@ const AdvancedTableRowExpandButton = _ref => {
|
|
|
935
922
|
collapsed: translate('advancedTable.expandRow')
|
|
936
923
|
};
|
|
937
924
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
938
|
-
onClick: onClick
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
925
|
+
onClick: onClick
|
|
926
|
+
}, /*#__PURE__*/React__default["default"].createElement(index.Tooltip, {
|
|
927
|
+
content: labels[state]
|
|
928
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
929
|
+
className: index.iconButtonStyles.button,
|
|
942
930
|
"data-testid": dataTestId,
|
|
943
|
-
"
|
|
944
|
-
tooltipContent: labels[state],
|
|
945
|
-
tabIndex: -1,
|
|
946
|
-
onFocus: onFocus,
|
|
947
|
-
"aria-expanded": isRowExpanded
|
|
931
|
+
role: "presentation"
|
|
948
932
|
}, state === 'expanded' ? /*#__PURE__*/React__default["default"].createElement(icons_index.CaretDownIcon, {
|
|
949
933
|
style: {
|
|
950
934
|
pointerEvents: 'none'
|
|
@@ -953,7 +937,7 @@ const AdvancedTableRowExpandButton = _ref => {
|
|
|
953
937
|
style: {
|
|
954
938
|
pointerEvents: 'none'
|
|
955
939
|
}
|
|
956
|
-
})));
|
|
940
|
+
}))));
|
|
957
941
|
};
|
|
958
942
|
|
|
959
943
|
const AdvancedTable = _ref => {
|
|
@@ -1000,7 +984,15 @@ const AdvancedTable = _ref => {
|
|
|
1000
984
|
// and the internal row transforms cause infinite state updates using a standard default assignment
|
|
1001
985
|
const stableDefaultArray = React.useMemo(() => [], []);
|
|
1002
986
|
const rowsProp = rowsPropExternal !== null && rowsPropExternal !== void 0 ? rowsPropExternal : stableDefaultArray;
|
|
1003
|
-
const
|
|
987
|
+
const rows = React.useMemo(() => {
|
|
988
|
+
let filteredRows = [];
|
|
989
|
+
rowsProp.forEach((row, i) => {
|
|
990
|
+
filteredRows = filteredRows.concat(mapExternalRowToInternalRows(row, rowsProp.length + 1, i + 1) // add 1 to account for table header
|
|
991
|
+
);
|
|
992
|
+
});
|
|
993
|
+
|
|
994
|
+
return filteredRows;
|
|
995
|
+
}, [rowsProp]);
|
|
1004
996
|
const rowActionsColumnConfigId = index.useId();
|
|
1005
997
|
let rowActionsColumnConfig;
|
|
1006
998
|
const columnConfigs = React.useMemo(() => [...externalColumnConfigs],
|
|
@@ -1148,8 +1140,6 @@ const AdvancedTable = _ref => {
|
|
|
1148
1140
|
const [dropTarget, setDropTarget] = React.useState('');
|
|
1149
1141
|
const [dropTargetSide, setDropTargetSide] = React.useState();
|
|
1150
1142
|
const [lastToggledRowId, setLastToggledRowId] = React.useState('');
|
|
1151
|
-
// Enables disabling row hover styles when hovering on the checkbox. Needed since a CSS parent selector doesn't exist.
|
|
1152
|
-
const [isCheckboxHovered, setIsCheckboxHovered] = React.useState(false);
|
|
1153
1143
|
|
|
1154
1144
|
// Enables using Set.prototype.has() vs Array.prototype.includes() for better performance at scale
|
|
1155
1145
|
const [checkedRowIdsSet, setCheckedRowIdsSet] = React.useState(new Set(checkedRowIds));
|
|
@@ -1159,38 +1149,6 @@ const AdvancedTable = _ref => {
|
|
|
1159
1149
|
selectedSortOption,
|
|
1160
1150
|
setCurrentPage
|
|
1161
1151
|
});
|
|
1162
|
-
const mapExternalRowToInternalRows = React.useCallback(function (row, depthSize, depthIndex, parentId) {
|
|
1163
|
-
let depth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
1164
|
-
let mappedRows = [];
|
|
1165
|
-
const hasChildRows = !!row.childRows && row.childRows.length > 0;
|
|
1166
|
-
mappedRows.push({
|
|
1167
|
-
id: row.id,
|
|
1168
|
-
data: row.data,
|
|
1169
|
-
hasChildRows,
|
|
1170
|
-
parentId,
|
|
1171
|
-
depth,
|
|
1172
|
-
depthSize,
|
|
1173
|
-
depthIndex,
|
|
1174
|
-
isExpanded: row.isExpanded,
|
|
1175
|
-
rowProps: row.unsafe_rowProps,
|
|
1176
|
-
rowPropReference: row
|
|
1177
|
-
});
|
|
1178
|
-
if (row.isExpanded && row.childRows !== undefined && hasChildRows) {
|
|
1179
|
-
row.childRows.forEach((child, i) => {
|
|
1180
|
-
mappedRows = mappedRows.concat(mapExternalRowToInternalRows(child, row.childRows !== undefined ? row.childRows.length : 0, i, row.id, depth + 1));
|
|
1181
|
-
});
|
|
1182
|
-
}
|
|
1183
|
-
return mappedRows;
|
|
1184
|
-
}, []);
|
|
1185
|
-
React.useEffect(() => {
|
|
1186
|
-
let filteredRows = [];
|
|
1187
|
-
rowsProp.forEach((row, i) => {
|
|
1188
|
-
filteredRows = filteredRows.concat(mapExternalRowToInternalRows(row, rowsProp.length + 1, i + 1) // add 1 to account for table header
|
|
1189
|
-
);
|
|
1190
|
-
});
|
|
1191
|
-
|
|
1192
|
-
setRows(filteredRows);
|
|
1193
|
-
}, [rowsProp, mapExternalRowToInternalRows]);
|
|
1194
1152
|
React.useEffect(() => {
|
|
1195
1153
|
setCheckedRowIdsSet(new Set(checkedRowIds));
|
|
1196
1154
|
}, [checkedRowIds]);
|
|
@@ -1486,8 +1444,7 @@ const AdvancedTable = _ref => {
|
|
|
1486
1444
|
e.stopPropagation(); // prevent onRowSelect
|
|
1487
1445
|
e.preventDefault();
|
|
1488
1446
|
updateExpandedRowIds(rowIndex);
|
|
1489
|
-
}
|
|
1490
|
-
onFocus: onRowFocus(rowIndex, minColumnIndex)
|
|
1447
|
+
}
|
|
1491
1448
|
});
|
|
1492
1449
|
const getExpandableRowsSpacer = function (width, inHeader) {
|
|
1493
1450
|
let children = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
@@ -1497,7 +1454,8 @@ const AdvancedTable = _ref => {
|
|
|
1497
1454
|
}),
|
|
1498
1455
|
style: {
|
|
1499
1456
|
width
|
|
1500
|
-
}
|
|
1457
|
+
},
|
|
1458
|
+
role: "presentation"
|
|
1501
1459
|
}, children);
|
|
1502
1460
|
};
|
|
1503
1461
|
const getCellProps = (columnConfig, columnIndex, data, rowIndex, rowId, depth) => {
|
|
@@ -1535,10 +1493,15 @@ const AdvancedTable = _ref => {
|
|
|
1535
1493
|
ref: createRef(rowIndex, columnIndex)
|
|
1536
1494
|
};
|
|
1537
1495
|
};
|
|
1538
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
1539
|
-
backend: reactDndHtml5Backend.HTML5Backend
|
|
1540
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1496
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1541
1497
|
className: styles$a.advancedTable,
|
|
1498
|
+
ref: tableRef
|
|
1499
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactDnd.DndProvider, {
|
|
1500
|
+
backend: reactDndHtml5Backend.HTML5Backend,
|
|
1501
|
+
options: {
|
|
1502
|
+
rootElement: tableRef.current
|
|
1503
|
+
}
|
|
1504
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1542
1505
|
role: hasExpandableRows ? 'treegrid' : 'grid',
|
|
1543
1506
|
"aria-multiselectable": hasExpandableRows && hasCheckboxColumn ? true : undefined,
|
|
1544
1507
|
"aria-rowcount": rows ? rows.length + 1 : 0,
|
|
@@ -1546,8 +1509,7 @@ const AdvancedTable = _ref => {
|
|
|
1546
1509
|
"aria-labelledby": ariaLabelledBy,
|
|
1547
1510
|
"aria-label": ariaLabel,
|
|
1548
1511
|
"aria-describedby": ariaDescribedBy,
|
|
1549
|
-
"data-testid": dataTestId
|
|
1550
|
-
ref: tableRef
|
|
1512
|
+
"data-testid": dataTestId
|
|
1551
1513
|
}, dragSource && !disableUserPinnableColumns && !disableUserReorderableColumns ? /*#__PURE__*/React__default["default"].createElement(AdvancedTableDragPreview, {
|
|
1552
1514
|
tableRef: tableRef,
|
|
1553
1515
|
columnHeaderRefs: cellRefs.current[-1]
|
|
@@ -1584,7 +1546,6 @@ const AdvancedTable = _ref => {
|
|
|
1584
1546
|
state: checkedRowIds.length === totalRowsCountWithExpansion ? 'true' : checkedRowIds.length === 0 ? 'false' : 'mixed',
|
|
1585
1547
|
isRowFocused: headerRowIndex === focusedRowIndex,
|
|
1586
1548
|
onClick: handleColumnHeaderCheckboxToggle,
|
|
1587
|
-
onFocus: onRowFocus(headerRowIndex, minColumnIndex),
|
|
1588
1549
|
variant: "header"
|
|
1589
1550
|
}), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth, "px"), true) : undefined, pinnedColumnConfigs.map((columnConfigs, i) => {
|
|
1590
1551
|
const props = getColumnHeaderProps(columnConfigs, i, true);
|
|
@@ -1603,11 +1564,10 @@ const AdvancedTable = _ref => {
|
|
|
1603
1564
|
depth = 0,
|
|
1604
1565
|
depthSize,
|
|
1605
1566
|
depthIndex,
|
|
1606
|
-
rowPropReference,
|
|
1607
1567
|
parentId,
|
|
1608
|
-
rowProps
|
|
1568
|
+
rowProps,
|
|
1569
|
+
hasChildRows
|
|
1609
1570
|
} = row;
|
|
1610
|
-
const hasChildRows = rowPropReference.childRows && rowPropReference.childRows.length > 0;
|
|
1611
1571
|
const paginatedRowIndex = getPaginatedRowIndex(rowIndex);
|
|
1612
1572
|
const onSelect = e => {
|
|
1613
1573
|
e.preventDefault(); // stops event from triggering on new target when focus is changed during onSelect
|
|
@@ -1627,12 +1587,12 @@ const AdvancedTable = _ref => {
|
|
|
1627
1587
|
"aria-rowindex": hasExpandableRows ? undefined : paginatedRowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
|
|
1628
1588
|
,
|
|
1629
1589
|
|
|
1590
|
+
"aria-expanded": hasChildRows ? !!isExpanded : undefined,
|
|
1630
1591
|
"data-testid": dataTestId && rowId ? "".concat(dataTestId, "-row-").concat(rowId) : undefined,
|
|
1631
1592
|
hasOnRowSelect: hasOnRowSelect,
|
|
1632
1593
|
isFocusable: hasFocusableRows,
|
|
1633
1594
|
isFocused: paginatedRowIndex === focusedRowIndex && minColumnIndex === focusedColumnIndex,
|
|
1634
1595
|
isSelected: selectedRowId === rowId,
|
|
1635
|
-
isCheckboxHovered: isCheckboxHovered,
|
|
1636
1596
|
onKeyDown: onRowKeyDown,
|
|
1637
1597
|
onFocus: onRowFocus(paginatedRowIndex, minColumnIndex),
|
|
1638
1598
|
onClick: e => onSelect(e),
|
|
@@ -1656,10 +1616,7 @@ const AdvancedTable = _ref => {
|
|
|
1656
1616
|
} else {
|
|
1657
1617
|
singleUpdateCheckedRowIds(paginatedRowIndex);
|
|
1658
1618
|
}
|
|
1659
|
-
}
|
|
1660
|
-
onMouseEnter: () => setIsCheckboxHovered(true),
|
|
1661
|
-
onMouseLeave: () => setIsCheckboxHovered(false),
|
|
1662
|
-
onFocus: onRowFocus(paginatedRowIndex, minColumnIndex)
|
|
1619
|
+
}
|
|
1663
1620
|
}), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth * (depth + 1), "px"), false, hasChildRows ? getAdvancedTableRowExpandButton(rowId, isExpanded, rowIndex) : undefined) : undefined, pinnedColumnConfigs.map((c, i) => {
|
|
1664
1621
|
const props = getCellProps(c, i, data, paginatedRowIndex, rowId, depth);
|
|
1665
1622
|
return /*#__PURE__*/React__default["default"].createElement(AdvancedTableCell, _extends__default["default"]({}, props, {
|
|
@@ -1676,7 +1633,7 @@ const AdvancedTable = _ref => {
|
|
|
1676
1633
|
"aria-colindex": i + 1 // aria-colindex is one-indexed
|
|
1677
1634
|
}));
|
|
1678
1635
|
}));
|
|
1679
|
-
})), rowsPerPage ? /*#__PURE__*/React__default["default"].createElement(AdvancedTablePagination, {
|
|
1636
|
+
}))), rowsPerPage ? /*#__PURE__*/React__default["default"].createElement(AdvancedTablePagination, {
|
|
1680
1637
|
rowsPerPage: rowsPerPage,
|
|
1681
1638
|
onPageChange: onPageChange,
|
|
1682
1639
|
ariaLabel: paginationAriaLabel,
|
|
@@ -1837,13 +1794,36 @@ function useFocusState(_ref8) {
|
|
|
1837
1794
|
cellRefs
|
|
1838
1795
|
};
|
|
1839
1796
|
}
|
|
1797
|
+
function mapExternalRowToInternalRows(row, depthSize, depthIndex, parentId) {
|
|
1798
|
+
let depth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;
|
|
1799
|
+
let mappedRows = [];
|
|
1800
|
+
const hasChildRows = !!row.childRows && row.childRows.length > 0;
|
|
1801
|
+
mappedRows.push({
|
|
1802
|
+
id: row.id,
|
|
1803
|
+
data: row.data,
|
|
1804
|
+
hasChildRows,
|
|
1805
|
+
parentId,
|
|
1806
|
+
depth,
|
|
1807
|
+
depthSize,
|
|
1808
|
+
depthIndex,
|
|
1809
|
+
isExpanded: row.isExpanded,
|
|
1810
|
+
rowProps: row.unsafe_rowProps,
|
|
1811
|
+
rowPropReference: row
|
|
1812
|
+
});
|
|
1813
|
+
if (row.isExpanded && row.childRows !== undefined && hasChildRows) {
|
|
1814
|
+
row.childRows.forEach((child, i) => {
|
|
1815
|
+
mappedRows = mappedRows.concat(mapExternalRowToInternalRows(child, row.childRows !== undefined ? row.childRows.length : 0, i, row.id, depth + 1));
|
|
1816
|
+
});
|
|
1817
|
+
}
|
|
1818
|
+
return mappedRows;
|
|
1819
|
+
}
|
|
1840
1820
|
|
|
1841
1821
|
/* eslint-disable import/prefer-default-export */
|
|
1842
1822
|
|
|
1843
|
-
var css_248z$9 = ".
|
|
1844
|
-
var styles$9 = {"collapsibleSearchInput":"
|
|
1845
|
-
var stylesheet$9=".
|
|
1846
|
-
if(typeof
|
|
1823
|
+
var css_248z$9 = "._WqavQ{display:inline-block;width:36px;transition:width .25s ease-out}._8w9Fj{width:100%}._KX-JB>input{padding-right:0!important}._f6vqw>svg{fill:#515559}";
|
|
1824
|
+
var styles$9 = {"collapsibleSearchInput":"_WqavQ","searchInput":"_8w9Fj","searchInputCollapsed":"_KX-JB","iconButton":"_f6vqw"};
|
|
1825
|
+
var stylesheet$9="._WqavQ{display:inline-block;width:36px;transition:width .25s ease-out}._8w9Fj{width:100%}._KX-JB>input{padding-right:0!important}._f6vqw>svg{fill:#515559}";
|
|
1826
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$9);}
|
|
1847
1827
|
|
|
1848
1828
|
const CollapsibleSearchInputIconButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
1849
1829
|
let {
|
|
@@ -1983,10 +1963,10 @@ const CollapsibleSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
1983
1963
|
}));
|
|
1984
1964
|
});
|
|
1985
1965
|
|
|
1986
|
-
var css_248z$8 = ".
|
|
1987
|
-
var styles$8 = {"input":"
|
|
1988
|
-
var stylesheet$8=".
|
|
1989
|
-
if(typeof
|
|
1966
|
+
var css_248z$8 = "._6hr9B input{padding-left:76px!important}._eexWL input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._eexWL input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._eexWL input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._FyON8{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._FyON8,._FyON8._eexWL:hover{background-color:transparent!important}._FyON8:hover{background-color:rgba(50,54,58,.08)!important}._FyON8:active{background-color:rgba(50,54,58,.11)!important}._FyON8 svg{top:2px!important}._M1eNY{position:relative}._QvdqX{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
1967
|
+
var styles$8 = {"input":"_6hr9B","disabled":"_eexWL","dropdown":"_FyON8","container":"_M1eNY","countryCode":"_QvdqX"};
|
|
1968
|
+
var stylesheet$8="._6hr9B input{padding-left:76px!important}._eexWL input{background-color:#e5e5e5!important;color:#9d9fa1!important;cursor:not-allowed!important;-webkit-text-fill-color:#9d9fa1}._eexWL input::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._eexWL input::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._FyON8{position:absolute!important;left:4px;right:4px;bottom:4px;z-index:100;width:67px;height:28px!important;border-radius:4px}._FyON8,._FyON8._eexWL:hover{background-color:transparent!important}._FyON8:hover{background-color:rgba(50,54,58,.08)!important}._FyON8:active{background-color:rgba(50,54,58,.11)!important}._FyON8 svg{top:2px!important}._M1eNY{position:relative}._QvdqX{position:absolute;top:18px;left:12px;line-height:0;font-size:14px;color:#32363a;z-index:101;pointer-events:none}";
|
|
1969
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
1990
1970
|
|
|
1991
1971
|
const PhoneNumberInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
1992
1972
|
let {
|
|
@@ -2705,10 +2685,10 @@ function Combobox(_ref) {
|
|
|
2705
2685
|
}, children);
|
|
2706
2686
|
}
|
|
2707
2687
|
|
|
2708
|
-
var css_248z$7 = ".
|
|
2709
|
-
var styles$7 = {"loadingSpinner":"
|
|
2710
|
-
var stylesheet$7=".
|
|
2711
|
-
if(typeof
|
|
2688
|
+
var css_248z$7 = "._fjy7k :after{background-color:#515559!important}._Y9W8x>input:focus{box-shadow:none!important;border:1px solid #898989!important}._gWVpO{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._gWVpO ._7af8b ._wEW6R{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._gWVpO ._7af8b:first-child ._TNVhK{display:none}._gWVpO ._wydqY{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._gWVpO ._wydqY:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._gWVpO ._wydqY:hover._V2OYl{background-color:#e4effa}._gWVpO ._wydqY._V2OYl{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._gWVpO ._wydqY:active:not(._V2OYl){background-color:#e8e9e9}";
|
|
2689
|
+
var styles$7 = {"loadingSpinner":"_fjy7k","ignoreFocusStyle":"_Y9W8x","flyout":"_gWVpO","group":"_7af8b","header":"_wEW6R","divider":"_TNVhK","option":"_wydqY","selected":"_V2OYl"};
|
|
2690
|
+
var stylesheet$7="._fjy7k :after{background-color:#515559!important}._Y9W8x>input:focus{box-shadow:none!important;border:1px solid #898989!important}._gWVpO{max-width:500px;padding:4px 0;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._gWVpO ._7af8b ._wEW6R{display:flex;align-items:center;min-height:40px;padding:10px 12px;color:#32363a;font-size:12px;line-height:16px;font-weight:700;word-break:break-word}._gWVpO ._7af8b:first-child ._TNVhK{display:none}._gWVpO ._wydqY{display:flex;align-items:center;min-height:40px;padding:10px 12px;font-size:14px;color:#32363a;word-break:break-word;outline:none;cursor:pointer}._gWVpO ._wydqY:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._gWVpO ._wydqY:hover._V2OYl{background-color:#e4effa}._gWVpO ._wydqY._V2OYl{background-color:#ebf3fb;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._gWVpO ._wydqY:active:not(._V2OYl){background-color:#e8e9e9}";
|
|
2691
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
2712
2692
|
|
|
2713
2693
|
const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
2714
2694
|
let {
|
|
@@ -3013,10 +2993,10 @@ function ComboboxOption(_ref) {
|
|
|
3013
2993
|
}, label);
|
|
3014
2994
|
}
|
|
3015
2995
|
|
|
3016
|
-
var css_248z$6 = ".
|
|
3017
|
-
var styles$6 = {"container":"
|
|
3018
|
-
var stylesheet$6=".
|
|
3019
|
-
if(typeof
|
|
2996
|
+
var css_248z$6 = "._Qq8pk{display:flex}._UByAn{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._UByAn._q9-We{background-color:#fff}._UByAn._3E0Nw,._UByAn._q9-We._Ft3ys.focus-visible:not(._w3IRK),._UByAn._q9-We._Ft3ys:focus-visible:not(._w3IRK),._UByAn._q9-We._nkCMy:not(._UByAn._q9-We._Q23wA){background-color:#0b6ed0}._UByAn._3E0Nw._Q23wA._nkCMy,._UByAn._3E0Nw._w3IRK._Ft3ys,._UByAn._3E0Nw._w3IRK._Q23wA{opacity:.4}._sqp6o{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._sqp6o:focus{z-index:1}._pNw7c{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._pNw7c svg{margin-left:1px}._pNw7c._q9-We{background-color:#0b6ed0;border-color:transparent}._pNw7c._q9-We svg{fill:#fff!important}._pNw7c._q9-We:not(._FYLRf):hover{background-color:#085caf!important}._pNw7c._q9-We:not(._FYLRf):active{background-color:#0854a1!important}._pNw7c._q9-We._FYLRf{opacity:.4}._pNw7c._q9-We._FYLRf svg{background-color:transparent}._pNw7c._3E0Nw{border-color:#0b6ed0;background-color:#fff}._pNw7c._3E0Nw svg{fill:#0b6ed0!important}._pNw7c._3E0Nw:not(._FYLRf):hover{background-color:#eef5fc!important}._pNw7c._3E0Nw:not(._FYLRf):active{background-color:#e1edf9!important}._pNw7c._3E0Nw._FYLRf{opacity:.4}._pNw7c._3E0Nw._FYLRf svg{background-color:transparent}._4iL3-{width:260px}";
|
|
2997
|
+
var styles$6 = {"container":"_Qq8pk","divider":"_UByAn","primary":"_q9-We","mainButtonFocus":"_Ft3ys","mainButtonDisabled":"_w3IRK","dropdownButtonFocus":"_nkCMy","dropdownButtonDisabled":"_Q23wA","secondary":"_3E0Nw","mainButton":"_sqp6o","dropdownButton":"_pNw7c","disabled":"_FYLRf","dropdownOption":"_4iL3-"};
|
|
2998
|
+
var stylesheet$6="._Qq8pk{display:flex}._UByAn{z-index:2;width:1px;margin-left:-1px;margin-right:-1px}._UByAn._q9-We{background-color:#fff}._UByAn._3E0Nw,._UByAn._q9-We._Ft3ys.focus-visible:not(._w3IRK),._UByAn._q9-We._Ft3ys:focus-visible:not(._w3IRK),._UByAn._q9-We._nkCMy:not(._UByAn._q9-We._Q23wA){background-color:#0b6ed0}._UByAn._3E0Nw._Q23wA._nkCMy,._UByAn._3E0Nw._w3IRK._Ft3ys,._UByAn._3E0Nw._w3IRK._Q23wA{opacity:.4}._sqp6o{border-radius:4px 0 0 4px;border-right:none;padding-right:17px}._sqp6o:focus{z-index:1}._pNw7c{border-radius:0 4px 4px 0;transition:border .2s,background .2s,color .2s;border-left:none;min-width:35px!important;padding:0!important;justify-content:center!important}._pNw7c svg{margin-left:1px}._pNw7c._q9-We{background-color:#0b6ed0;border-color:transparent}._pNw7c._q9-We svg{fill:#fff!important}._pNw7c._q9-We:not(._FYLRf):hover{background-color:#085caf!important}._pNw7c._q9-We:not(._FYLRf):active{background-color:#0854a1!important}._pNw7c._q9-We._FYLRf{opacity:.4}._pNw7c._q9-We._FYLRf svg{background-color:transparent}._pNw7c._3E0Nw{border-color:#0b6ed0;background-color:#fff}._pNw7c._3E0Nw svg{fill:#0b6ed0!important}._pNw7c._3E0Nw:not(._FYLRf):hover{background-color:#eef5fc!important}._pNw7c._3E0Nw:not(._FYLRf):active{background-color:#e1edf9!important}._pNw7c._3E0Nw._FYLRf{opacity:.4}._pNw7c._3E0Nw._FYLRf svg{background-color:transparent}._4iL3-{width:260px}";
|
|
2999
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
3020
3000
|
|
|
3021
3001
|
const SplitButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
3022
3002
|
let {
|
|
@@ -3115,10 +3095,10 @@ const SplitButtonOption = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3115
3095
|
}, children);
|
|
3116
3096
|
});
|
|
3117
3097
|
|
|
3118
|
-
var css_248z$5 = ".
|
|
3119
|
-
var styles$5 = {"button":"
|
|
3120
|
-
var stylesheet$5=".
|
|
3121
|
-
if(typeof
|
|
3098
|
+
var css_248z$5 = "._RzEe-{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._RzEe-:hover:not(._XPsww){background-color:rgba(50,54,58,.08)}._RzEe-:hover:not(._XPsww)._UijIV{border-color:#085caf;background-color:rgba(11,110,208,.04)}._RzEe-:hover:not(._XPsww)._UijIV ._D-oUe{color:#32363a}._RzEe-:hover:not(._XPsww)._UijIV ._poN3n{fill:#32363a}._RzEe-:hover:not(._XPsww)._UijIV ._innHh{fill:#085caf}._RzEe-:hover:not(._XPsww)._UijIV ._viM3o{background-color:rgba(11,110,208,.11)}._RzEe-:hover:not(._XPsww)._UijIV ._viM3o ._2iDRL{color:#085caf}._RzEe-:active:not(._XPsww){background-color:#e8e9e9}._RzEe-:active:not(._XPsww)._UijIV{background-color:rgba(11,110,208,.11);border-color:#0854a1}._RzEe-:active:not(._XPsww)._UijIV ._innHh{fill:#0854a1}._RzEe-:active:not(._XPsww)._UijIV ._viM3o{background-color:rgba(11,110,208,.11)}._RzEe-:active:not(._XPsww)._UijIV ._viM3o ._2iDRL{color:#0854a1}._RzEe-._XPsww{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._RzEe-._UijIV{border-color:#0b6ed0}._poN3n{fill:#515559;margin-right:4px}._D-oUe{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._D-oUe+._viM3o{margin-left:6px}._D-oUe._XPsww{color:#74777a}._viM3o{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._2iDRL{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._innHh{fill:#515559}._innHh._XPsww,._innHh._XPsww._UijIV{fill:rgba(116,119,122,.4)}._innHh._UijIV{fill:#0b6ed0}._innHh._8ZRJ9{transform:rotate(-180deg)}._RzEe-.focus-visible,._RzEe-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3099
|
+
var styles$5 = {"button":"_RzEe-","disabled":"_XPsww","selected":"_UijIV","label":"_D-oUe","lockIcon":"_poN3n","chevronIcon":"_innHh","selectedFiltersContainer":"_viM3o","selectedFilters":"_2iDRL","open":"_8ZRJ9"};
|
|
3100
|
+
var stylesheet$5="._RzEe-{display:flex;justify-content:space-between;align-items:center;max-width:100%;min-width:76px;height:36px;padding:0 6px 0 12px;outline:none;font-size:14px;background-color:#fff;border:1px solid #898989;border-radius:20px;cursor:pointer}._RzEe-:hover:not(._XPsww){background-color:rgba(50,54,58,.08)}._RzEe-:hover:not(._XPsww)._UijIV{border-color:#085caf;background-color:rgba(11,110,208,.04)}._RzEe-:hover:not(._XPsww)._UijIV ._D-oUe{color:#32363a}._RzEe-:hover:not(._XPsww)._UijIV ._poN3n{fill:#32363a}._RzEe-:hover:not(._XPsww)._UijIV ._innHh{fill:#085caf}._RzEe-:hover:not(._XPsww)._UijIV ._viM3o{background-color:rgba(11,110,208,.11)}._RzEe-:hover:not(._XPsww)._UijIV ._viM3o ._2iDRL{color:#085caf}._RzEe-:active:not(._XPsww){background-color:#e8e9e9}._RzEe-:active:not(._XPsww)._UijIV{background-color:rgba(11,110,208,.11);border-color:#0854a1}._RzEe-:active:not(._XPsww)._UijIV ._innHh{fill:#0854a1}._RzEe-:active:not(._XPsww)._UijIV ._viM3o{background-color:rgba(11,110,208,.11)}._RzEe-:active:not(._XPsww)._UijIV ._viM3o ._2iDRL{color:#0854a1}._RzEe-._XPsww{background-color:#fafafa;border-color:#e5e5e5;cursor:not-allowed}._RzEe-._UijIV{border-color:#0b6ed0}._poN3n{fill:#515559;margin-right:4px}._D-oUe{max-width:180px;margin-right:3px;color:#515559;fill:#515559;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._D-oUe+._viM3o{margin-left:6px}._D-oUe._XPsww{color:#74777a}._viM3o{display:flex;justify-content:center;align-items:center;max-width:350px;flex:1;min-width:0;height:24px;margin-right:3px;padding:0 10px;background-color:#ebf3fb;border-radius:20px}._2iDRL{color:#0b6ed0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._innHh{fill:#515559}._innHh._XPsww,._innHh._XPsww._UijIV{fill:rgba(116,119,122,.4)}._innHh._UijIV{fill:#0b6ed0}._innHh._8ZRJ9{transform:rotate(-180deg)}._RzEe-.focus-visible,._RzEe-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
3101
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
3122
3102
|
|
|
3123
3103
|
const FilterAnchor = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
3124
3104
|
let {
|
|
@@ -3320,10 +3300,10 @@ class PointerEvent extends Event {
|
|
|
3320
3300
|
}
|
|
3321
3301
|
}
|
|
3322
3302
|
|
|
3323
|
-
var css_248z$4 = ".
|
|
3324
|
-
var styles$4 = {"buttonContainer":"
|
|
3325
|
-
var stylesheet$4=".
|
|
3326
|
-
if(typeof
|
|
3303
|
+
var css_248z$4 = "._UCpBv{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._UCpBv>._UwvUU{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._UCpBv>._UwvUU:hover:not([aria-disabled=true]){background-color:#f5f5f5}._UCpBv>._UwvUU.focus-visible,._UCpBv>._UwvUU:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._UCpBv>._UwvUU+._iYXOo{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._UCpBv>._UwvUU[data-state=open]+._iYXOo{transform:rotate(-180deg) translateY(50%)}._UCpBv>._UwvUU[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._UCpBv>._UwvUU[aria-disabled=true]+._iYXOo{fill:#515559;opacity:.4}._5-nPt>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;width:var(--radix-dropdown-menu-trigger-width);min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important}._5-nPt>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._qCN9w{margin:0;padding:4px 0;background:#fff;transition:.35s;opacity:1;overflow:auto;width:var(--radix-dropdown-menu-trigger-width);min-width:200px;max-height:350px}._qCN9w._lBKRE{margin-left:30px;opacity:0}._qCN9w._h64Ch{margin-left:-30px}._QhWSl{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._QhWSl._NChKq{cursor:unset}._QhWSl ._-j3aY{fill:#32363a;margin-right:4px}._QhWSl:focus,._QhWSl:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._QhWSl[aria-disabled=true]{cursor:not-allowed;opacity:.65}._QhWSl._THImP{padding-right:32px}._QhWSl._THImP ._iYXOo{position:absolute;height:100%;right:3px;fill:#515559}._QhWSl._B-EOD{pointer-events:none}._YM3Nu{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._YM3Nu._G-38V{padding-top:49px}._1TXJt{pointer-events:none;position:fixed;left:0;top:0}._R6qWn{position:absolute;background-color:#fff;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;overflow:hidden;opacity:1;transition:opacity .35s}._R6qWn._h64Ch{opacity:0}._R6qWn._h64Ch>._joSpt{margin-left:-30px}._R6qWn._lBKRE{opacity:0}._R6qWn._lBKRE>._joSpt{margin-left:30px}._R6qWn>._joSpt{transition:margin-left .35s;width:100%}._R6qWn._B-EOD{pointer-events:none}body.keyboard-user ._QhWSl:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3304
|
+
var styles$4 = {"buttonContainer":"_UCpBv","button":"_UwvUU","rightIcon":"_iYXOo","maskContainer":"_5-nPt","flyout":"_qCN9w","animatedRight":"_lBKRE","animatedLeft":"_h64Ch","menuItem":"_QhWSl","noItems":"_NChKq","backIcon":"_-j3aY","subMenu":"_THImP","unresponsive":"_B-EOD","stickyBox":"_YM3Nu","isSearchable":"_G-38V","searchBoxesContainer":"_1TXJt","searchBox":"_R6qWn","searchInput":"_joSpt"};
|
|
3305
|
+
var stylesheet$4="._UCpBv{position:relative;display:inline-flex;height:36px;min-width:60px;cursor:pointer}._UCpBv>._UwvUU{cursor:unset;width:100%;height:100%;padding:0 28px 0 12px;border-radius:4px;white-space:nowrap;line-height:20px;font-size:14px;text-align:left;outline:none;border:none;box-shadow:inset 0 0 0 1px #898989;color:#515559;background-color:#fafafa;overflow:hidden;text-overflow:ellipsis}._UCpBv>._UwvUU:hover:not([aria-disabled=true]){background-color:#f5f5f5}._UCpBv>._UwvUU.focus-visible,._UCpBv>._UwvUU:focus-visible{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._UCpBv>._UwvUU+._iYXOo{fill:#515559;position:absolute;pointer-events:none;right:4px;top:50%;transform:translateY(-50%)}._UCpBv>._UwvUU[data-state=open]+._iYXOo{transform:rotate(-180deg) translateY(50%)}._UCpBv>._UwvUU[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._UCpBv>._UwvUU[aria-disabled=true]+._iYXOo{fill:#515559;opacity:.4}._5-nPt>[data-radix-popper-content-wrapper]{overflow:hidden;background-color:#fff;width:var(--radix-dropdown-menu-trigger-width);min-width:200px!important;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);border-radius:4px;z-index:var(--mask-z-index)!important}._5-nPt>[data-radix-popper-content-wrapper] [data-radix-popper-content-wrapper]{transform:translateZ(0)!important}._qCN9w{margin:0;padding:4px 0;background:#fff;transition:.35s;opacity:1;overflow:auto;width:var(--radix-dropdown-menu-trigger-width);min-width:200px;max-height:350px}._qCN9w._lBKRE{margin-left:30px;opacity:0}._qCN9w._h64Ch{margin-left:-30px}._QhWSl{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word;font-size:14px;color:#32363a;width:100%}._QhWSl._NChKq{cursor:unset}._QhWSl ._-j3aY{fill:#32363a;margin-right:4px}._QhWSl:focus,._QhWSl:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._QhWSl[aria-disabled=true]{cursor:not-allowed;opacity:.65}._QhWSl._THImP{padding-right:32px}._QhWSl._THImP ._iYXOo{position:absolute;height:100%;right:3px;fill:#515559}._QhWSl._B-EOD{pointer-events:none}._YM3Nu{position:-webkit-sticky;position:sticky;top:0;background-color:#fff;border-bottom:1px solid #e8e8e8}._YM3Nu._G-38V{padding-top:49px}._1TXJt{pointer-events:none;position:fixed;left:0;top:0}._R6qWn{position:absolute;background-color:#fff;padding:8px;border-radius:4px 4px 0 0;pointer-events:auto;overflow:hidden;opacity:1;transition:opacity .35s}._R6qWn._h64Ch{opacity:0}._R6qWn._h64Ch>._joSpt{margin-left:-30px}._R6qWn._lBKRE{opacity:0}._R6qWn._lBKRE>._joSpt{margin-left:30px}._R6qWn>._joSpt{transition:margin-left .35s;width:100%}._R6qWn._B-EOD{pointer-events:none}body.keyboard-user ._QhWSl:hover:not(:focus){background-color:#fff;box-shadow:none}";
|
|
3306
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$4);}
|
|
3327
3307
|
|
|
3328
3308
|
/* eslint-disable import/prefer-default-export */
|
|
3329
3309
|
const DATA_TESTID_SUFFIXES = {
|
|
@@ -3432,11 +3412,6 @@ function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, i
|
|
|
3432
3412
|
const noMatchesText = translate('menu.noItemsToDisplay');
|
|
3433
3413
|
const searchPlaceholder = translate('searchText');
|
|
3434
3414
|
React.useEffect(() => setZeroSearchResults((items === null || items === void 0 ? void 0 : items.filter(item => item.element.current).length) === 0), [items, internalSearchValue]);
|
|
3435
|
-
const {
|
|
3436
|
-
isFocusVisible
|
|
3437
|
-
} = interactions.useFocusVisible({
|
|
3438
|
-
isTextInput: true
|
|
3439
|
-
});
|
|
3440
3415
|
const searchRef = React.useRef(null);
|
|
3441
3416
|
const searchInput = (_searchRef$current$qu = (_searchRef$current = searchRef.current) === null || _searchRef$current === void 0 ? void 0 : _searchRef$current.querySelector('input')) !== null && _searchRef$current$qu !== void 0 ? _searchRef$current$qu : null;
|
|
3442
3417
|
const getFirstNonNullItem = () => {
|
|
@@ -3457,8 +3432,10 @@ function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, i
|
|
|
3457
3432
|
additionalDependencies: [flyoutRef.current],
|
|
3458
3433
|
isDisabled: !isSearchable
|
|
3459
3434
|
});
|
|
3435
|
+
const lastestKeyPressedInSearchInput = React.useRef();
|
|
3460
3436
|
index.useEventListener(searchInput, 'keydown', e => {
|
|
3461
3437
|
var _e$target;
|
|
3438
|
+
lastestKeyPressedInSearchInput.current = e.key;
|
|
3462
3439
|
if ([...KEYS.NAVIGATE_DOWN, ...KEYS.NAVIGATE_TOP].includes(e.key)) {
|
|
3463
3440
|
var _getFirstNonNullItem;
|
|
3464
3441
|
// prevent scrolling
|
|
@@ -3475,7 +3452,13 @@ function usePaneSearch(isSearchable, externalSearchValue, onSearchValueChange, i
|
|
|
3475
3452
|
e.preventDefault();
|
|
3476
3453
|
}
|
|
3477
3454
|
});
|
|
3478
|
-
index.useEventListener(searchInput, 'blur', () =>
|
|
3455
|
+
index.useEventListener(searchInput, 'blur', () => {
|
|
3456
|
+
const refocus = ![...KEYS.NAVIGATE_DOWN, ...KEYS.NAVIGATE_UP, ...KEYS.NAVIGATE_TOP, ...KEYS.NAVIIGATE_BOTTOM].includes(lastestKeyPressedInSearchInput.current) && !animatedLeft && !animatedRight && searchInput;
|
|
3457
|
+
lastestKeyPressedInSearchInput.current = undefined;
|
|
3458
|
+
if (refocus) {
|
|
3459
|
+
searchInput.focus();
|
|
3460
|
+
}
|
|
3461
|
+
});
|
|
3479
3462
|
const {
|
|
3480
3463
|
searchBarConfigs,
|
|
3481
3464
|
setSearchBarConfigs
|
|
@@ -3544,10 +3527,10 @@ const useMutationObserver = (target, options, onMutate) => React.useEffect(() =>
|
|
|
3544
3527
|
return () => observer.disconnect();
|
|
3545
3528
|
}, [target, options, onMutate]);
|
|
3546
3529
|
|
|
3547
|
-
var css_248z$3 = ".
|
|
3548
|
-
var styles$3 = {"overlay":"
|
|
3549
|
-
var stylesheet$3=".
|
|
3550
|
-
if(typeof
|
|
3530
|
+
var css_248z$3 = "._ONJwP{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._OHof8{visibility:hidden}";
|
|
3531
|
+
var styles$3 = {"overlay":"_ONJwP","hidden":"_OHof8"};
|
|
3532
|
+
var stylesheet$3="._ONJwP{background-color:#000;opacity:.5;width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;display:grid;align-items:left;justify-items:left;place-items:left;overflow-y:auto}._OHof8{visibility:hidden}";
|
|
3533
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$3);}
|
|
3551
3534
|
|
|
3552
3535
|
/**
|
|
3553
3536
|
* Adds an overlay to an area that obscures visibility and disables background elements.
|
|
@@ -4031,10 +4014,10 @@ const SubMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4031
4014
|
}), label)), noSearchResultsNode, children))) : null;
|
|
4032
4015
|
});
|
|
4033
4016
|
|
|
4034
|
-
var css_248z$2 = ".
|
|
4035
|
-
var styles$2 = {"drawer":"
|
|
4036
|
-
var stylesheet$2=".
|
|
4037
|
-
if(typeof
|
|
4017
|
+
var css_248z$2 = "._dxWfS{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._kpddH{visibility:hidden}._fOFhm{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._9t8HQ{padding-top:8px}._PFCYu{margin-left:12px}";
|
|
4018
|
+
var styles$2 = {"drawer":"_dxWfS","hidden":"_kpddH","header":"_fOFhm","title":"_9t8HQ","closeButton":"_PFCYu"};
|
|
4019
|
+
var stylesheet$2="._dxWfS{position:absolute;top:0;height:100%;overflow:auto;color:#32363a;background-color:#fff;border-right:1px solid #eee;z-index:1000;padding:12px 20px 20px;transition:left .5s}._kpddH{visibility:hidden}._fOFhm{display:flex;justify-content:space-between;align-items:start;line-height:20px;font-size:16px;padding-bottom:12px}._9t8HQ{padding-top:8px}._PFCYu{margin-left:12px}";
|
|
4020
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$2);}
|
|
4038
4021
|
|
|
4039
4022
|
const Drawer = _ref => {
|
|
4040
4023
|
var _containerRef$current;
|
|
@@ -4148,10 +4131,10 @@ const Drawer = _ref => {
|
|
|
4148
4131
|
}, children))), (_containerRef$current = containerRef === null || containerRef === void 0 ? void 0 : containerRef.current) !== null && _containerRef$current !== void 0 ? _containerRef$current : document.body) : null;
|
|
4149
4132
|
};
|
|
4150
4133
|
|
|
4151
|
-
var css_248z$1 = ".
|
|
4152
|
-
var styles$1 = {"container":"
|
|
4153
|
-
var stylesheet$1=".
|
|
4154
|
-
if(typeof
|
|
4134
|
+
var css_248z$1 = "._RCwZJ{display:inline-block;position:relative}._65yq9{width:120px}._65yq9 ._m24gn._BebOQ{transform:rotate(-180deg)}._65yq9 ._m24gn._N3pLu{fill:#9d9fa1;opacity:.4}._xDwl5>input:focus{box-shadow:none!important;border:1px solid #898989!important}._VcHRd{width:120px}._VcHRd ._VuV3t._TljcK{background-color:#efefef;border-radius:6px}._m24gn{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._m24gn._BebOQ{transform:rotate(-180deg)}";
|
|
4135
|
+
var styles$1 = {"container":"_RCwZJ","input":"_65yq9","icon":"_m24gn","open":"_BebOQ","disabled":"_N3pLu","ignoreFocusStyle":"_xDwl5","flyout":"_VcHRd","option":"_VuV3t","exactMatch":"_TljcK"};
|
|
4136
|
+
var stylesheet$1="._RCwZJ{display:inline-block;position:relative}._65yq9{width:120px}._65yq9 ._m24gn._BebOQ{transform:rotate(-180deg)}._65yq9 ._m24gn._N3pLu{fill:#9d9fa1;opacity:.4}._xDwl5>input:focus{box-shadow:none!important;border:1px solid #898989!important}._VcHRd{width:120px}._VcHRd ._VuV3t._TljcK{background-color:#efefef;border-radius:6px}._m24gn{position:absolute;right:4px;bottom:4px;height:28px;width:28px}._m24gn._BebOQ{transform:rotate(-180deg)}";
|
|
4137
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$1);}
|
|
4155
4138
|
|
|
4156
4139
|
const TimeDropdown = _ref => {
|
|
4157
4140
|
let {
|
|
@@ -4724,10 +4707,10 @@ const {
|
|
|
4724
4707
|
Provider: ToggleButtonGroupContextProvider
|
|
4725
4708
|
} = index.createContextUtilities(null);
|
|
4726
4709
|
|
|
4727
|
-
var css_248z = ".
|
|
4728
|
-
var styles = {"default":"
|
|
4729
|
-
var stylesheet=".
|
|
4730
|
-
if(typeof
|
|
4710
|
+
var css_248z = "._h8i7a{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._fne9p{background-color:rgba(50,54,58,.08)}._3Hn2s{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._9PUkO{color:rgba(81,85,89,.4);cursor:not-allowed}._DScob{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._-4vxT{color:#085caf;border-color:#085caf}._-4vxT,._Bg6LQ{background:rgba(11,110,208,.11)}._Bg6LQ{color:#0854a1;border-color:#0854a1}._gfAuE{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._zRSxJ{position:relative;display:inline-grid}._zRSxJ svg{fill:currentColor}._zRSxJ ._rPjVK{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._zRSxJ ._rPjVK+._U9FPO{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._zRSxJ ._rPjVK+._U9FPO._sYTHv{padding:5px;max-width:36px;min-width:36px}._zRSxJ ._rPjVK+._U9FPO._kHQJt{padding:0 16px}._zRSxJ ._rPjVK+._U9FPO._lK1Ol{padding:0 16px 0 12px}._zRSxJ ._rPjVK:hover+._U9FPO{background-color:rgba(50,54,58,.08)}._zRSxJ ._rPjVK:disabled+._U9FPO{color:rgba(81,85,89,.4);cursor:not-allowed}._zRSxJ ._rPjVK:active+._U9FPO,._zRSxJ ._rPjVK:focus:active+._U9FPO{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._zRSxJ ._rPjVK:checked+._U9FPO{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._zRSxJ ._rPjVK:checked:hover+._U9FPO{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._zRSxJ ._rPjVK:checked:disabled+._U9FPO{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._zRSxJ ._rPjVK:checked:active+._U9FPO,._zRSxJ ._rPjVK:checked:focus:active+._U9FPO{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._NEsty{display:inline-flex;position:relative}._NEsty:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._NEsty>*{flex-shrink:0;flex-grow:0}._A1MhX{border:none;margin:0;padding:0}._A1MhX legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._zRSxJ ._rPjVK.focus-visible+._U9FPO,._zRSxJ ._rPjVK:focus-visible+._U9FPO{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4711
|
+
var styles = {"default":"_h8i7a","hovered":"_fne9p","pressed":"_3Hn2s","disabled":"_9PUkO","selectedDefault":"_DScob","selectedHovered":"_-4vxT","selectedPressed":"_Bg6LQ","selectedDisabled":"_gfAuE","toggleContainer":"_zRSxJ","toggleInput":"_rPjVK","toggleButton":"_U9FPO","iconOnly":"_sYTHv","text":"_kHQJt","iconText":"_lK1Ol","toggleButtonGroup":"_NEsty","toggleButtonGroupFieldset":"_A1MhX"};
|
|
4712
|
+
var stylesheet="._h8i7a{border-color:transparent;background-color:transparent;color:#515559;cursor:pointer}._fne9p{background-color:rgba(50,54,58,.08)}._3Hn2s{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._9PUkO{color:rgba(81,85,89,.4);cursor:not-allowed}._DScob{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._-4vxT{color:#085caf;border-color:#085caf}._-4vxT,._Bg6LQ{background:rgba(11,110,208,.11)}._Bg6LQ{color:#0854a1;border-color:#0854a1}._gfAuE{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._zRSxJ{position:relative;display:inline-grid}._zRSxJ svg{fill:currentColor}._zRSxJ ._rPjVK{-webkit-appearance:none;-moz-appearance:none;appearance:none;grid-column:1;grid-row:1}._zRSxJ ._rPjVK+._U9FPO{background-color:transparent;color:#515559;cursor:pointer;border:1px solid transparent;border-radius:4px;grid-column:1;grid-row:1;padding:0;min-width:76px;-webkit-user-select:none;-moz-user-select:none;user-select:none}._zRSxJ ._rPjVK+._U9FPO._sYTHv{padding:5px;max-width:36px;min-width:36px}._zRSxJ ._rPjVK+._U9FPO._kHQJt{padding:0 16px}._zRSxJ ._rPjVK+._U9FPO._lK1Ol{padding:0 16px 0 12px}._zRSxJ ._rPjVK:hover+._U9FPO{background-color:rgba(50,54,58,.08)}._zRSxJ ._rPjVK:disabled+._U9FPO{color:rgba(81,85,89,.4);cursor:not-allowed}._zRSxJ ._rPjVK:active+._U9FPO,._zRSxJ ._rPjVK:focus:active+._U9FPO{color:#0b6ed0;background-color:rgba(11,110,208,.08)}._zRSxJ ._rPjVK:checked+._U9FPO{background:rgba(11,110,208,.08);color:#0b6ed0;border-color:#0b6ed0}._zRSxJ ._rPjVK:checked:hover+._U9FPO{background:rgba(11,110,208,.11);color:#085caf;border-color:#085caf}._zRSxJ ._rPjVK:checked:disabled+._U9FPO{background:rgba(11,110,208,.032);color:rgba(11,110,208,.4);border-color:rgba(11,110,208,.4)}._zRSxJ ._rPjVK:checked:active+._U9FPO,._zRSxJ ._rPjVK:checked:focus:active+._U9FPO{background:rgba(11,110,208,.11);color:#0854a1;border-color:#0854a1}._NEsty{display:inline-flex;position:relative}._NEsty:before{content:\"\";border:1px solid #d9d9d9;border-radius:4px;position:absolute;top:0;bottom:0;right:0;left:0}._NEsty>*{flex-shrink:0;flex-grow:0}._A1MhX{border:none;margin:0;padding:0}._A1MhX legend{padding:0;display:block;font-size:14px;margin-bottom:6px;color:#515559}._zRSxJ ._rPjVK.focus-visible+._U9FPO,._zRSxJ ._rPjVK:focus-visible+._U9FPO{z-index:20;outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4713
|
+
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z);}
|
|
4731
4714
|
|
|
4732
4715
|
const ToggleButtonGroup = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
4733
4716
|
let {
|