@qualtrics/ui-react 2.24.2 → 2.26.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 +18 -0
- package/dist/__shared/cjs/{index-8f52588d.js → index-ae6df097.js} +3 -3
- package/dist/__shared/cjs/{index-b7a35c2e.js → index-dc6f69ac.js} +262 -256
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/Button2.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
- package/dist/components/ColorPicker/Alpha.js +1 -1
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/ColorPicker/Hue.js +1 -1
- package/dist/components/ColorPicker/Palette.js +1 -1
- package/dist/components/ColorPicker/Saturation.js +1 -1
- package/dist/components/Combobox/Combobox.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/Combobox/ComboboxIcon.js +1 -1
- package/dist/components/Combobox/ComboboxInput.js +1 -1
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown.js +4 -4
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/Dropdown/DropdownButton.js +6 -6
- package/dist/components/Dropdown/DropdownList.js +1 -1
- package/dist/components/Dropdown/DropdownOption.js +2 -2
- package/dist/components/Dropdown/DropdownSearch.js +2 -2
- package/dist/components/FilePicker/FilePicker.js +2 -2
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FormField/FormFieldContext.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover.js +2 -2
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput.js +7 -7
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/Input/InputField.js +2 -2
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor.js +1 -1
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +6 -6
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/BaseMenu.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
- package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +3 -3
- package/dist/components/NumberStepper/NumberStepper.js +2 -2
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
- package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
- package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Pagination/PaginationNextButton.js +3 -3
- package/dist/components/Pagination/PaginationPageInput.js +8 -8
- package/dist/components/Pagination/PaginationPreviousButton.js +3 -3
- package/dist/components/Popover/Popover.js +5 -5
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput.js +2 -2
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav.js +1 -1
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/Alpha.js +2 -2
- package/dist/components/deprecated_ColorPicker/ColorPicker.js +1 -1
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
- package/dist/components/deprecated_ColorPicker/Hue.js +2 -2
- package/dist/components/deprecated_ColorPicker/Saturation.js +2 -2
- package/dist/components/deprecated_ColorPicker/Swatch.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +1 -1
- package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/components/deprecated_Toolbar/ToolbarPanels.js +1 -1
- package/dist/components/deprecated_Toolbar/ToolbarTab.js +5 -5
- package/dist/components/deprecated_Toolbar/ToolbarTabs.js +3 -3
- package/dist/hooks/useControllableState/useControllableState.js +1 -1
- package/dist/hooks/useOverlay/useOverlay.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +1 -1
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +15 -7
- package/dist/index.es.js +2 -1
- package/dist/index.js +4 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +8 -6
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCell.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTableCheckbox.js +6 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +2 -2
- package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox.js +2 -0
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Combobox/ComboboxInput.js +2 -0
- package/dist/next/Combobox/ComboboxOption.js +2 -0
- package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +1 -1
- package/dist/next/Drawer/Drawer.js +2 -2
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor.js +2 -2
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/{useCSSVariable.js → Hooks/useCSSVariable.js} +1 -1
- package/dist/next/Menu/Hooks/useFocusVirtualBoundary.js +41 -0
- package/dist/next/Menu/Hooks/useIsVirtualized.js +8 -0
- package/dist/next/Menu/Hooks/useMaskDimensions.js +59 -0
- package/dist/next/Menu/{useMutationObserver.js → Hooks/useMutationObserver.js} +1 -1
- package/dist/next/Menu/{usePaneSearch.js → Hooks/usePaneSearch.js} +76 -34
- package/dist/next/Menu/Menu.js +22 -24
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +5 -2
- package/dist/next/Menu/MenuContext.js +5 -1
- package/dist/next/Menu/MenuItem.js +38 -16
- package/dist/next/Menu/MenuPane.js +90 -55
- package/dist/next/Menu/PaneChildren.js +47 -0
- package/dist/next/Menu/SubMenu.js +95 -49
- package/dist/next/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select.js +118 -0
- package/dist/next/Select/Select2.js +8 -0
- package/dist/next/Select/SelectButton.js +46 -0
- package/dist/next/Select/SelectContext.js +16 -0
- package/dist/next/Select/SelectItem.js +46 -0
- package/dist/next/Select/SelectPane.js +43 -0
- package/dist/next/Select/SelectedItems.js +45 -0
- package/dist/next/Select/SubSelect.js +90 -0
- package/dist/next/Select/constants.js +13 -0
- package/dist/next/Select/index.js +5 -0
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/TimePicker/TimePickerIcon.js +1 -1
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +68 -6
- package/dist/next/index.es.js +6 -0
- package/dist/next/index.js +1009 -372
- package/dist/translations-en.js +7 -1
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/Popper/Popper.js +2 -2
- package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
- package/dist/utils/wrapEvent/wrapEvent.js +1 -1
- package/icons/package.json +2 -0
- package/next/package.json +3 -1
- package/package.json +6 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var classNames = require('classnames');
|
|
5
|
-
var icons_index = require('./index-
|
|
5
|
+
var icons_index = require('./index-ae6df097.js');
|
|
6
6
|
var _extends = require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
var reactPopper = require('react-popper');
|
|
8
8
|
var core = require('@popperjs/core');
|
|
@@ -42,9 +42,9 @@ var ReactFocusLock__default = /*#__PURE__*/_interopDefaultLegacy(ReactFocusLock)
|
|
|
42
42
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
43
43
|
var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver$1);
|
|
44
44
|
|
|
45
|
-
var css_248z$J = ".
|
|
46
|
-
var AccordionStyles = {"accordion":"
|
|
47
|
-
var stylesheet$J=".
|
|
45
|
+
var css_248z$J = "._jTGS5{width:100%;display:flex;flex-direction:column}._jTGS5._7-A6j{grid-gap:20px;gap:20px}._ydo58{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._ydo58 ._JHx9P{margin-top:-3px}._nDnvp{flex:1}._cmSkG{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._b-Gry ._ydo58{border-radius:4px}._b-Gry ._ydo58:hover:not(._PDxGR){background-color:rgba(50,54,58,.08)}._b-Gry ._ydo58:active:not(._PDxGR){background-color:rgba(50,54,58,.11)}._Nqlf3 ._ydo58{font-weight:400;padding-left:12px;border-top:1px solid #eee}._Nqlf3 ._ydo58:hover:not(._PDxGR){background-color:rgba(50,54,58,.08)}._Nqlf3 ._ydo58:active:not(._PDxGR){background-color:rgba(50,54,58,.11)}._7-A6j ._sO2UX{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._7-A6j ._sO2UX._nccg-{box-shadow:none}._7-A6j ._sO2UX._nccg- ._ydo58{border-radius:6px}._7-A6j ._ydo58{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._7-A6j ._ydo58 ._nDnvp{padding-left:20px}._7-A6j ._ydo58:hover:not(disabled){border:1px solid #c2c2c2}._7-A6j ._ydo58:active:not(._PDxGR){border:1px solid #898989}._7-A6j ._cmSkG{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._nccg- ._cmSkG{display:none}._PDxGR{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._ydo58.focus-visible,._ydo58:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._ydo58.focus-visible:before,._ydo58:focus-visible:before{z-index:1}._Nqlf3 ._ydo58.focus-visible,._Nqlf3 ._ydo58:focus-visible{border-color:transparent}";
|
|
46
|
+
var AccordionStyles = {"accordion":"_jTGS5","block-variant":"_7-A6j","header":"_ydo58","headerIcon":"_JHx9P","title":"_nDnvp","panel":"_cmSkG","default-variant":"_b-Gry","disabled":"_PDxGR","outlined-variant":"_Nqlf3","section":"_sO2UX","closed":"_nccg-"};
|
|
47
|
+
var stylesheet$J="._jTGS5{width:100%;display:flex;flex-direction:column}._jTGS5._7-A6j{grid-gap:20px;gap:20px}._ydo58{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._ydo58 ._JHx9P{margin-top:-3px}._nDnvp{flex:1}._cmSkG{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._b-Gry ._ydo58{border-radius:4px}._b-Gry ._ydo58:hover:not(._PDxGR){background-color:rgba(50,54,58,.08)}._b-Gry ._ydo58:active:not(._PDxGR){background-color:rgba(50,54,58,.11)}._Nqlf3 ._ydo58{font-weight:400;padding-left:12px;border-top:1px solid #eee}._Nqlf3 ._ydo58:hover:not(._PDxGR){background-color:rgba(50,54,58,.08)}._Nqlf3 ._ydo58:active:not(._PDxGR){background-color:rgba(50,54,58,.11)}._7-A6j ._sO2UX{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._7-A6j ._sO2UX._nccg-{box-shadow:none}._7-A6j ._sO2UX._nccg- ._ydo58{border-radius:6px}._7-A6j ._ydo58{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._7-A6j ._ydo58 ._nDnvp{padding-left:20px}._7-A6j ._ydo58:hover:not(disabled){border:1px solid #c2c2c2}._7-A6j ._ydo58:active:not(._PDxGR){border:1px solid #898989}._7-A6j ._cmSkG{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._nccg- ._cmSkG{display:none}._PDxGR{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._ydo58.focus-visible,._ydo58:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._ydo58.focus-visible:before,._ydo58:focus-visible:before{z-index:1}._Nqlf3 ._ydo58.focus-visible,._Nqlf3 ._ydo58:focus-visible{border-color:transparent}";
|
|
48
48
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$J);}
|
|
49
49
|
|
|
50
50
|
/**
|
|
@@ -117,14 +117,14 @@ function filterChildren(children, queries) {
|
|
|
117
117
|
return [_filterChildren(children, queries, matchesList), matchesList];
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
var css_248z$I = ".
|
|
121
|
-
var styles$B = {"flyout":"
|
|
122
|
-
var stylesheet$I=".
|
|
120
|
+
var css_248z$I = "._dYBY8{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._VbVd7{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._VbVd7._JNg0M,._VbVd7._Xb53A._VbVd7:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._VbVd7._T8fKM{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._VbVd7._T8fKM._JNg0M,._VbVd7._T8fKM._Xb53A._VbVd7._T8fKM:hover{background-color:#e4effa}._VbVd7:active:not(._T8fKM):not([aria-disabled=true]){background-color:#e8e9e9}._YjdWF ._rvvAN{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._YjdWF ._Z9JCa{display:none}._YjdWF:not(:first-child) ._Z9JCa{display:block;margin:3.5px 0}._lNCRU{width:100%;height:40px}";
|
|
121
|
+
var styles$B = {"flyout":"_dYBY8","flyoutOption":"_VbVd7","highlighted":"_JNg0M","hoverHighlight":"_Xb53A","selected":"_T8fKM","flyoutHeader":"_YjdWF","headerContent":"_rvvAN","headerDivider":"_Z9JCa","flyoutSpinner":"_lNCRU"};
|
|
122
|
+
var stylesheet$I="._dYBY8{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._VbVd7{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._VbVd7._JNg0M,._VbVd7._Xb53A._VbVd7:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._VbVd7._T8fKM{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._VbVd7._T8fKM._JNg0M,._VbVd7._T8fKM._Xb53A._VbVd7._T8fKM:hover{background-color:#e4effa}._VbVd7:active:not(._T8fKM):not([aria-disabled=true]){background-color:#e8e9e9}._YjdWF ._rvvAN{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._YjdWF ._Z9JCa{display:none}._YjdWF:not(:first-child) ._Z9JCa{display:block;margin:3.5px 0}._lNCRU{width:100%;height:40px}";
|
|
123
123
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$I);}
|
|
124
124
|
|
|
125
|
-
var css_248z$H = ".
|
|
126
|
-
var styles$A = {"spinnerContainer":"
|
|
127
|
-
var stylesheet$H=".
|
|
125
|
+
var css_248z$H = "._DRu2H{position:relative;display:inline-block}._DRu2H._qoJNZ{min-height:20px;min-width:20px}._DRu2H._euqtc{min-height:25px;min-width:25px}._DRu2H._qfSFG{min-height:40px;min-width:40px}._DRu2H._lM-6g{min-height:64px;min-width:64px}._DRu2H ._NUyFz{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._DRu2H ._NUyFz._wUGFt{visibility:hidden}._DRu2H ._NUyFz div{position:absolute;transform:rotate(20deg)}._DRu2H ._NUyFz div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_NUyFz .9s linear infinite}._DRu2H ._NUyFz div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._DRu2H ._NUyFz div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._DRu2H ._NUyFz div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._DRu2H ._NUyFz div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._DRu2H ._NUyFz div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._DRu2H ._NUyFz div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._DRu2H ._NUyFz div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._DRu2H ._NUyFz div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._DRu2H ._NUyFz div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._DRu2H ._NUyFz div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._DRu2H ._lM-6g div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._DRu2H ._qoJNZ div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._DRu2H ._euqtc div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._DRu2H ._rfG2w div div:nth-child(-n+9):after{background:#fff}._DRu2H ._Fz9MP{width:100%;height:100%}._DRu2H ._Fz9MP._-p-BI{pointer-events:none}._DRu2H ._Fz9MP._wUGFt{opacity:0}._DRu2H ._Fz9MP._-staZ{opacity:.5}@keyframes _NUyFz{0%{opacity:1}to{opacity:0}}";
|
|
126
|
+
var styles$A = {"spinnerContainer":"_DRu2H","xs":"_qoJNZ","small":"_euqtc","medium":"_qfSFG","large":"_lM-6g","spinnerComponent":"_NUyFz","hide":"_wUGFt","inverted":"_rfG2w","spinnerContent":"_Fz9MP","disablePointerEvents":"_-p-BI","fade":"_-staZ"};
|
|
127
|
+
var stylesheet$H="._DRu2H{position:relative;display:inline-block}._DRu2H._qoJNZ{min-height:20px;min-width:20px}._DRu2H._euqtc{min-height:25px;min-width:25px}._DRu2H._qfSFG{min-height:40px;min-width:40px}._DRu2H._lM-6g{min-height:64px;min-width:64px}._DRu2H ._NUyFz{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._DRu2H ._NUyFz._wUGFt{visibility:hidden}._DRu2H ._NUyFz div{position:absolute;transform:rotate(20deg)}._DRu2H ._NUyFz div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_NUyFz .9s linear infinite}._DRu2H ._NUyFz div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._DRu2H ._NUyFz div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._DRu2H ._NUyFz div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._DRu2H ._NUyFz div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._DRu2H ._NUyFz div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._DRu2H ._NUyFz div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._DRu2H ._NUyFz div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._DRu2H ._NUyFz div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._DRu2H ._NUyFz div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._DRu2H ._NUyFz div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._DRu2H ._lM-6g div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._DRu2H ._qoJNZ div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._DRu2H ._euqtc div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._DRu2H ._rfG2w div div:nth-child(-n+9):after{background:#fff}._DRu2H ._Fz9MP{width:100%;height:100%}._DRu2H ._Fz9MP._-p-BI{pointer-events:none}._DRu2H ._Fz9MP._wUGFt{opacity:0}._DRu2H ._Fz9MP._-staZ{opacity:.5}@keyframes _NUyFz{0%{opacity:1}to{opacity:0}}";
|
|
128
128
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$H);}
|
|
129
129
|
|
|
130
130
|
/* DO NOT MODIFY - THIS IS AN AUTO-GENERATED FILE */
|
|
@@ -192,7 +192,13 @@ var FALLBACK_LOCALIZED_TEXT = {
|
|
|
192
192
|
"readOnly": "Read only",
|
|
193
193
|
"newOptionsLoading": "New options loading.",
|
|
194
194
|
"newOptionsLoaded": "New options loaded.",
|
|
195
|
-
"locked": "Locked"
|
|
195
|
+
"locked": "Locked",
|
|
196
|
+
"currentPage": "Current Page",
|
|
197
|
+
"firstPage": "First Page",
|
|
198
|
+
"lastPage": "Last Page",
|
|
199
|
+
"currentPageNumber": "Current Page: {{currentPage}}",
|
|
200
|
+
"currentPageNumberOf": "Current Page: {{currentPage}} of {{numPages}}",
|
|
201
|
+
"rowDisplayCount": "View {{select}} per page"
|
|
196
202
|
};
|
|
197
203
|
|
|
198
204
|
function createContextUtilities(defaultValue) {
|
|
@@ -614,7 +620,7 @@ function useMockedPopper(_, popperElement, _ref) {
|
|
|
614
620
|
onFirstUpdate
|
|
615
621
|
} = _ref;
|
|
616
622
|
React.useEffect(() => {
|
|
617
|
-
onFirstUpdate === null || onFirstUpdate === void 0
|
|
623
|
+
onFirstUpdate === null || onFirstUpdate === void 0 || onFirstUpdate();
|
|
618
624
|
}, [onFirstUpdate, popperElement]);
|
|
619
625
|
return {
|
|
620
626
|
styles: {
|
|
@@ -723,7 +729,7 @@ const Popper = _ref4 => {
|
|
|
723
729
|
onFirstUpdate
|
|
724
730
|
});
|
|
725
731
|
const handleUpdate = React.useCallback(() => {
|
|
726
|
-
update === null || update === void 0
|
|
732
|
+
update === null || update === void 0 || update();
|
|
727
733
|
}, [update]);
|
|
728
734
|
|
|
729
735
|
// Tell popper.js to update the positioning when the popper element changes size since it only listens for window resizing out of the box.
|
|
@@ -818,16 +824,16 @@ function wrapAround(value, min, max) {
|
|
|
818
824
|
*/
|
|
819
825
|
function wrapEvent(theirHandler, ourHandler) {
|
|
820
826
|
return event => {
|
|
821
|
-
theirHandler === null || theirHandler === void 0
|
|
827
|
+
theirHandler === null || theirHandler === void 0 || theirHandler(event);
|
|
822
828
|
if (!event.defaultPrevented) {
|
|
823
829
|
return ourHandler === null || ourHandler === void 0 ? void 0 : ourHandler(event);
|
|
824
830
|
}
|
|
825
831
|
};
|
|
826
832
|
}
|
|
827
833
|
|
|
828
|
-
var css_248z$F = ".
|
|
829
|
-
var styles$z = {"tooltip":"
|
|
830
|
-
var stylesheet$F=".
|
|
834
|
+
var css_248z$F = "._LgGOg{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._LgGOg._j5yDZ{color:#32363a;background-color:#fff}._AiXo1{opacity:1;pointer-events:all}._D5tWT,._D5tWT>div{position:absolute;width:8px;height:8px;background:inherit}._D5tWT{visibility:hidden;z-index:2000}._D5tWT>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._D5tWT{bottom:-4px}[data-popper-placement^=top]>._D5tWT>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._D5tWT{left:-5px}[data-popper-placement^=right]>._D5tWT>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._D5tWT{top:-5px}[data-popper-placement^=bottom]>._D5tWT>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._D5tWT{right:-4px}[data-popper-placement^=left]>._D5tWT>div{border-bottom-color:transparent;border-left-color:transparent}._R0iP2{position:absolute}[data-popper-placement^=top]>._R0iP2{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._R0iP2{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._R0iP2{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._R0iP2{top:0;right:-13px;width:17px;height:100%}";
|
|
835
|
+
var styles$z = {"tooltip":"_LgGOg","lightTheme":"_j5yDZ","visible":"_AiXo1","arrow":"_D5tWT","offsetBackplate":"_R0iP2"};
|
|
836
|
+
var stylesheet$F="._LgGOg{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._LgGOg._j5yDZ{color:#32363a;background-color:#fff}._AiXo1{opacity:1;pointer-events:all}._D5tWT,._D5tWT>div{position:absolute;width:8px;height:8px;background:inherit}._D5tWT{visibility:hidden;z-index:2000}._D5tWT>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._D5tWT{bottom:-4px}[data-popper-placement^=top]>._D5tWT>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._D5tWT{left:-5px}[data-popper-placement^=right]>._D5tWT>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._D5tWT{top:-5px}[data-popper-placement^=bottom]>._D5tWT>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._D5tWT{right:-4px}[data-popper-placement^=left]>._D5tWT>div{border-bottom-color:transparent;border-left-color:transparent}._R0iP2{position:absolute}[data-popper-placement^=top]>._R0iP2{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._R0iP2{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._R0iP2{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._R0iP2{top:0;right:-13px;width:17px;height:100%}";
|
|
831
837
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$F);}
|
|
832
838
|
|
|
833
839
|
const useSSRLayoutEffect = function () {
|
|
@@ -1010,7 +1016,7 @@ function useControllableState(initialState, onChange, externalState) {
|
|
|
1010
1016
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
1011
1017
|
args[_key - 1] = arguments[_key];
|
|
1012
1018
|
}
|
|
1013
|
-
(_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0
|
|
1019
|
+
(_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0 || _onChangeRef$current.call(onChangeRef, nextState, ...args);
|
|
1014
1020
|
}
|
|
1015
1021
|
}, [onChangeRef, externalStateRef, internalStateRef]);
|
|
1016
1022
|
const actualState = externalState === undefined ? state : externalState;
|
|
@@ -1219,9 +1225,9 @@ function usePrevious(value) {
|
|
|
1219
1225
|
return ref.current;
|
|
1220
1226
|
}
|
|
1221
1227
|
|
|
1222
|
-
var css_248z$E = ".
|
|
1223
|
-
var classes = {"ariaLiveElement":"
|
|
1224
|
-
var stylesheet$E=".
|
|
1228
|
+
var css_248z$E = "._RMr2q{position:absolute;top:-10000px;left:-10000px}";
|
|
1229
|
+
var classes = {"ariaLiveElement":"_RMr2q"};
|
|
1230
|
+
var stylesheet$E="._RMr2q{position:absolute;top:-10000px;left:-10000px}";
|
|
1225
1231
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$E);}
|
|
1226
1232
|
|
|
1227
1233
|
/**
|
|
@@ -1248,7 +1254,7 @@ function useScreenReaderAnnouncement(politeness) {
|
|
|
1248
1254
|
// Sets the politeness of `aria-live`
|
|
1249
1255
|
React.useEffect(() => {
|
|
1250
1256
|
var _ariaLiveElementRef$c;
|
|
1251
|
-
if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0
|
|
1257
|
+
if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0 || _ariaLiveElementRef$c.setAttribute('aria-live', politeness);
|
|
1252
1258
|
}, [politeness]);
|
|
1253
1259
|
|
|
1254
1260
|
// Announces oldest message in the queue
|
|
@@ -1402,7 +1408,7 @@ function subscribe(query, callback) {
|
|
|
1402
1408
|
});
|
|
1403
1409
|
}
|
|
1404
1410
|
const entry = map.get(query);
|
|
1405
|
-
entry === null || entry === void 0
|
|
1411
|
+
entry === null || entry === void 0 || entry.subscribers.add(callback);
|
|
1406
1412
|
return entry ? function unsubscribe() {
|
|
1407
1413
|
entry.subscribers.delete(callback);
|
|
1408
1414
|
if (entry.subscribers.size === 0) {
|
|
@@ -2129,9 +2135,9 @@ function BreakpointSwitch(_ref) {
|
|
|
2129
2135
|
}, useResponsiveValue(childList));
|
|
2130
2136
|
}
|
|
2131
2137
|
|
|
2132
|
-
var css_248z$C = ".
|
|
2133
|
-
var buttonStyles = {"btn":"
|
|
2134
|
-
var stylesheet$C=".
|
|
2138
|
+
var css_248z$C = "._D-mXb{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._D-mXb._0a5-H{padding:0 8px;height:26px;min-height:26px}._D-mXb._cnAD7{display:block;width:100%}._D-mXb._0tUfg{cursor:not-allowed}._D-mXb:active:focus,._D-mXb:focus{outline:none}._D-mXb._hrKJd{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._D-mXb._hrKJd:hover:not(._0tUfg){background-color:#eee}._D-mXb._hrKJd:active:not(._0tUfg){background-color:#e5e5e5}._D-mXb._hrKJd._0tUfg{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._D-mXb._qcaGL{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._D-mXb._qcaGL:hover:not(._0tUfg){background-color:#085caf;border-color:#085caf}._D-mXb._qcaGL:active:not(._0tUfg){background-color:#0854a1;border-color:#0854a1}._D-mXb._qcaGL._0tUfg{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._D-mXb._EtacC{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._D-mXb._EtacC:hover:not(._0tUfg){background-color:#eef5fc}._D-mXb._EtacC:active:not(._0tUfg){background-color:#e1edf9}._D-mXb._EtacC._0tUfg{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._D-mXb._4-wtL{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._D-mXb._4-wtL:hover:not(._0tUfg){background-color:#eef5fc;border-color:#eef5fc}._D-mXb._4-wtL:active:not(._0tUfg){background-color:#e1edf9;border-color:#e1edf9}._D-mXb._4-wtL._0tUfg{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._D-mXb._VQzop{color:#0b6ed0;fill:#0b6ed0;padding:0}._D-mXb._VQzop:hover:not(._0tUfg){color:#085caf}._D-mXb._VQzop:active:not(._0tUfg){color:#0854a1}._D-mXb._VQzop._0tUfg{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._D-mXb._RfVAW{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._D-mXb._RfVAW:hover:not(._0tUfg){background-color:#ffecec}._D-mXb._RfVAW:active:not(._0tUfg){background-color:#ffdbdb}._D-mXb._RfVAW._0tUfg{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._D-mXb.focus-visible,._D-mXb:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2139
|
+
var buttonStyles = {"btn":"_D-mXb","small":"_0a5-H","full":"_cnAD7","disabled":"_0tUfg","default":"_hrKJd","primary":"_qcaGL","secondary":"_EtacC","tertiary":"_4-wtL","link":"_VQzop","danger":"_RfVAW"};
|
|
2140
|
+
var stylesheet$C="._D-mXb{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._D-mXb._0a5-H{padding:0 8px;height:26px;min-height:26px}._D-mXb._cnAD7{display:block;width:100%}._D-mXb._0tUfg{cursor:not-allowed}._D-mXb:active:focus,._D-mXb:focus{outline:none}._D-mXb._hrKJd{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._D-mXb._hrKJd:hover:not(._0tUfg){background-color:#eee}._D-mXb._hrKJd:active:not(._0tUfg){background-color:#e5e5e5}._D-mXb._hrKJd._0tUfg{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._D-mXb._qcaGL{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._D-mXb._qcaGL:hover:not(._0tUfg){background-color:#085caf;border-color:#085caf}._D-mXb._qcaGL:active:not(._0tUfg){background-color:#0854a1;border-color:#0854a1}._D-mXb._qcaGL._0tUfg{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._D-mXb._EtacC{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._D-mXb._EtacC:hover:not(._0tUfg){background-color:#eef5fc}._D-mXb._EtacC:active:not(._0tUfg){background-color:#e1edf9}._D-mXb._EtacC._0tUfg{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._D-mXb._4-wtL{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._D-mXb._4-wtL:hover:not(._0tUfg){background-color:#eef5fc;border-color:#eef5fc}._D-mXb._4-wtL:active:not(._0tUfg){background-color:#e1edf9;border-color:#e1edf9}._D-mXb._4-wtL._0tUfg{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._D-mXb._VQzop{color:#0b6ed0;fill:#0b6ed0;padding:0}._D-mXb._VQzop:hover:not(._0tUfg){color:#085caf}._D-mXb._VQzop:active:not(._0tUfg){color:#0854a1}._D-mXb._VQzop._0tUfg{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._D-mXb._RfVAW{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._D-mXb._RfVAW:hover:not(._0tUfg){background-color:#ffecec}._D-mXb._RfVAW:active:not(._0tUfg){background-color:#ffdbdb}._D-mXb._RfVAW._0tUfg{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._D-mXb.focus-visible,._D-mXb:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2135
2141
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$C);}
|
|
2136
2142
|
|
|
2137
2143
|
function createContextValue(value) {
|
|
@@ -2188,7 +2194,7 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
2188
2194
|
// stops form submission for type="submit"
|
|
2189
2195
|
return e.preventDefault();
|
|
2190
2196
|
}
|
|
2191
|
-
onClick === null || onClick === void 0
|
|
2197
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
2192
2198
|
};
|
|
2193
2199
|
const keyDownHandler = disabled ? undefined : onKeyDown;
|
|
2194
2200
|
return (
|
|
@@ -2206,9 +2212,9 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
2206
2212
|
);
|
|
2207
2213
|
});
|
|
2208
2214
|
|
|
2209
|
-
var css_248z$B = ".
|
|
2210
|
-
var styles$y = {"buttonGroup":"
|
|
2211
|
-
var stylesheet$B=".
|
|
2215
|
+
var css_248z$B = "._AKiDB{display:inline-flex;align-items:stretch}._AKiDB._3aUIa{width:100%}._AKiDB ._jLzHQ{margin:0;min-width:0}._AKiDB ._jLzHQ:focus{z-index:20}._AKiDB ._jLzHQ:hover{z-index:10}._AKiDB ._jLzHQ._lxXmg{border:none}._AKiDB ._jLzHQ._3aUIa{display:inline-flex;width:auto;flex-grow:1}._AKiDB ._jLzHQ:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._AKiDB ._jLzHQ:first-child._lxXmg{border-right:1px solid #fff}._AKiDB ._jLzHQ:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._AKiDB ._jLzHQ:not(:last-child):not(:first-child)._lxXmg{border-left:1px solid #fff;border-right:1px solid #fff}._AKiDB ._jLzHQ:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._AKiDB ._jLzHQ:last-child._lxXmg{border-left:1px solid #fff}._AKiDB ._jLzHQ:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
|
|
2216
|
+
var styles$y = {"buttonGroup":"_AKiDB","full":"_3aUIa","buttonGroupElement":"_jLzHQ","primary":"_lxXmg"};
|
|
2217
|
+
var stylesheet$B="._AKiDB{display:inline-flex;align-items:stretch}._AKiDB._3aUIa{width:100%}._AKiDB ._jLzHQ{margin:0;min-width:0}._AKiDB ._jLzHQ:focus{z-index:20}._AKiDB ._jLzHQ:hover{z-index:10}._AKiDB ._jLzHQ._lxXmg{border:none}._AKiDB ._jLzHQ._3aUIa{display:inline-flex;width:auto;flex-grow:1}._AKiDB ._jLzHQ:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._AKiDB ._jLzHQ:first-child._lxXmg{border-right:1px solid #fff}._AKiDB ._jLzHQ:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._AKiDB ._jLzHQ:not(:last-child):not(:first-child)._lxXmg{border-left:1px solid #fff;border-right:1px solid #fff}._AKiDB ._jLzHQ:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._AKiDB ._jLzHQ:last-child._lxXmg{border-left:1px solid #fff}._AKiDB ._jLzHQ:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
|
|
2212
2218
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$B);}
|
|
2213
2219
|
|
|
2214
2220
|
const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2245,9 +2251,9 @@ const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
2245
2251
|
}));
|
|
2246
2252
|
});
|
|
2247
2253
|
|
|
2248
|
-
var css_248z$A = ".
|
|
2249
|
-
var styles$x = {"checkbox":"
|
|
2250
|
-
var stylesheet$A=".
|
|
2254
|
+
var css_248z$A = "._Jos7e{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._Jos7e,._Ng24y{cursor:pointer;height:16px;width:16px}._Ng24y{position:absolute;opacity:0;z-index:10}._Ng24y:checked~._qwE6p>._XTg1R{fill-opacity:1}._Ng24y:checked:enabled~._qwE6p{border-color:transparent;background-color:#0b6ed0}._Ng24y:checked:enabled~._qwE6p>._XTg1R{fill:#fff}._Ng24y:checked:enabled:hover~._qwE6p{background-color:#085caf}._Ng24y:not(:checked):enabled:hover~._qwE6p{border-color:#0b6ed0}._Ng24y:disabled{cursor:not-allowed}._Ng24y:disabled~._qwE6p{opacity:.4}._bgkMh{color:#32363a;display:flex;align-items:center;cursor:pointer}._dA22r{cursor:auto;color:hsla(0,0%,53.7%,.4)}._-dxan{margin-right:12px;flex-shrink:0}._qwE6p{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._XTg1R{fill:#0b6ed0;fill-opacity:0}._Ng24y.focus-visible~._qwE6p,._Ng24y:focus-visible~._qwE6p{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2255
|
+
var styles$x = {"checkbox":"_Jos7e","input":"_Ng24y","check":"_qwE6p","checkIcon":"_XTg1R","label":"_bgkMh","labelDisabled":"_dA22r","wrappedInput":"_-dxan"};
|
|
2256
|
+
var stylesheet$A="._Jos7e{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._Jos7e,._Ng24y{cursor:pointer;height:16px;width:16px}._Ng24y{position:absolute;opacity:0;z-index:10}._Ng24y:checked~._qwE6p>._XTg1R{fill-opacity:1}._Ng24y:checked:enabled~._qwE6p{border-color:transparent;background-color:#0b6ed0}._Ng24y:checked:enabled~._qwE6p>._XTg1R{fill:#fff}._Ng24y:checked:enabled:hover~._qwE6p{background-color:#085caf}._Ng24y:not(:checked):enabled:hover~._qwE6p{border-color:#0b6ed0}._Ng24y:disabled{cursor:not-allowed}._Ng24y:disabled~._qwE6p{opacity:.4}._bgkMh{color:#32363a;display:flex;align-items:center;cursor:pointer}._dA22r{cursor:auto;color:hsla(0,0%,53.7%,.4)}._-dxan{margin-right:12px;flex-shrink:0}._qwE6p{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._XTg1R{fill:#0b6ed0;fill-opacity:0}._Ng24y.focus-visible~._qwE6p,._Ng24y:focus-visible~._qwE6p{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2251
2257
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$A);}
|
|
2252
2258
|
|
|
2253
2259
|
const Check = props => /*#__PURE__*/React__default["default"].createElement("svg", _extends__default["default"]({}, props, {
|
|
@@ -2274,7 +2280,7 @@ const useFormFieldControl = () => {
|
|
|
2274
2280
|
setHasControl
|
|
2275
2281
|
} = context;
|
|
2276
2282
|
React.useEffect(() => {
|
|
2277
|
-
setHasControl === null || setHasControl === void 0
|
|
2283
|
+
setHasControl === null || setHasControl === void 0 || setHasControl(true);
|
|
2278
2284
|
}, [setHasControl]);
|
|
2279
2285
|
return context;
|
|
2280
2286
|
};
|
|
@@ -2284,7 +2290,7 @@ const useFormFieldLabel = () => {
|
|
|
2284
2290
|
setHasLabel
|
|
2285
2291
|
} = context;
|
|
2286
2292
|
React.useEffect(() => {
|
|
2287
|
-
setHasLabel === null || setHasLabel === void 0
|
|
2293
|
+
setHasLabel === null || setHasLabel === void 0 || setHasLabel(true);
|
|
2288
2294
|
}, [setHasLabel]);
|
|
2289
2295
|
return context;
|
|
2290
2296
|
};
|
|
@@ -2294,7 +2300,7 @@ const useFormFieldType = type => {
|
|
|
2294
2300
|
setFormFieldType
|
|
2295
2301
|
} = context;
|
|
2296
2302
|
React.useEffect(() => {
|
|
2297
|
-
setFormFieldType === null || setFormFieldType === void 0
|
|
2303
|
+
setFormFieldType === null || setFormFieldType === void 0 || setFormFieldType(type);
|
|
2298
2304
|
}, [setFormFieldType, type]);
|
|
2299
2305
|
return context;
|
|
2300
2306
|
};
|
|
@@ -2343,9 +2349,9 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
2343
2349
|
})));
|
|
2344
2350
|
});
|
|
2345
2351
|
|
|
2346
|
-
var css_248z$z = ".
|
|
2347
|
-
var styles$w = {"label":"
|
|
2348
|
-
var stylesheet$z=".
|
|
2352
|
+
var css_248z$z = "._7OYrf{font-size:14px}._aeHzy{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._sjgbt{color:#0b6ed0}";
|
|
2353
|
+
var styles$w = {"label":"_7OYrf","control":"_aeHzy","focused":"_sjgbt"};
|
|
2354
|
+
var stylesheet$z="._7OYrf{font-size:14px}._aeHzy{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._sjgbt{color:#0b6ed0}";
|
|
2349
2355
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$z);}
|
|
2350
2356
|
|
|
2351
2357
|
const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2401,9 +2407,9 @@ const CheckboxField = /*#__PURE__*/React__default["default"].forwardRef((_ref, r
|
|
|
2401
2407
|
}), label);
|
|
2402
2408
|
});
|
|
2403
2409
|
|
|
2404
|
-
var css_248z$y = ".
|
|
2405
|
-
var styles$v = {"input":"
|
|
2406
|
-
var stylesheet$y=".
|
|
2410
|
+
var css_248z$y = "._lyGlV{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._lyGlV::-moz-placeholder{color:#515559;opacity:1}._lyGlV::placeholder{color:#515559;opacity:1}._lyGlV:hover{cursor:pointer;background-color:#f5f5f5}._lyGlV:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._lyGlV._m5Ye1{border-color:#b00}._lyGlV._m5Ye1:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._lyGlV:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._lyGlV:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._lyGlV:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._lyGlV._4cA-Q{height:auto}._lyGlV._4cA-Q::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._lyGlV._LLOWw{display:block;width:100%}._lyGlV._dQb4I{padding:4px 8px}input._lyGlV._dQb4I{height:26px;min-height:26px}[type=number]._lyGlV{-moz-appearance:textfield}[type=number]._lyGlV::-webkit-inner-spin-button,[type=number]._lyGlV::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._o-o8b{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._o-o8b:hover{cursor:pointer}._o-o8b._cSNY-{color:#0b6ed0}._xk-l7{margin-top:4px}";
|
|
2411
|
+
var styles$v = {"input":"_lyGlV","invalid":"_m5Ye1","multiline":"_4cA-Q","full":"_LLOWw","small":"_dQb4I","label":"_o-o8b","focused":"_cSNY-","wrappedInput":"_xk-l7"};
|
|
2412
|
+
var stylesheet$y="._lyGlV{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._lyGlV::-moz-placeholder{color:#515559;opacity:1}._lyGlV::placeholder{color:#515559;opacity:1}._lyGlV:hover{cursor:pointer;background-color:#f5f5f5}._lyGlV:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._lyGlV._m5Ye1{border-color:#b00}._lyGlV._m5Ye1:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._lyGlV:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._lyGlV:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._lyGlV:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._lyGlV._4cA-Q{height:auto}._lyGlV._4cA-Q::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._lyGlV._LLOWw{display:block;width:100%}._lyGlV._dQb4I{padding:4px 8px}input._lyGlV._dQb4I{height:26px;min-height:26px}[type=number]._lyGlV{-moz-appearance:textfield}[type=number]._lyGlV::-webkit-inner-spin-button,[type=number]._lyGlV::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._o-o8b{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._o-o8b:hover{cursor:pointer}._o-o8b._cSNY-{color:#0b6ed0}._xk-l7{margin-top:4px}";
|
|
2407
2413
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$y);}
|
|
2408
2414
|
|
|
2409
2415
|
const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -2480,11 +2486,11 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2480
2486
|
useFormFieldType('input');
|
|
2481
2487
|
function handleFocus(e) {
|
|
2482
2488
|
setFocused(true);
|
|
2483
|
-
onFocus === null || onFocus === void 0
|
|
2489
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
2484
2490
|
}
|
|
2485
2491
|
function handleBlur(e) {
|
|
2486
2492
|
setFocused(false);
|
|
2487
|
-
onBlur === null || onBlur === void 0
|
|
2493
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
2488
2494
|
}
|
|
2489
2495
|
return /*#__PURE__*/React__default["default"].createElement(Label, _extends__default["default"]({
|
|
2490
2496
|
htmlFor: id,
|
|
@@ -2502,9 +2508,9 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
2502
2508
|
}, rest, inputPropsWithoutClass)));
|
|
2503
2509
|
});
|
|
2504
2510
|
|
|
2505
|
-
var css_248z$x = ".
|
|
2506
|
-
var styles$u = {"colorPicker":"
|
|
2507
|
-
var stylesheet$x=".
|
|
2511
|
+
var css_248z$x = "._3dEbO{display:flex;line-height:1.15}._3dEbO ._BOIV-{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._3dEbO ._BOIV-:hover:not(._yD6R2){background-color:#f5f5f5}._3dEbO ._BOIV-._yD6R2{cursor:not-allowed;fill:rgba(81,85,89,.4)}._3dEbO ._BOIV-:active:not(._yD6R2){background-color:#eee}._3dEbO ._K6-ED{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._3dEbO ._K6-ED._yD6R2{border-color:#d9d9d9}._3dEbO ._R2olH{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._3dEbO ._FXoBQ{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._3dEbO ._FXoBQ._yD6R2{border-color:#d9d9d9}._3dEbO ._2rBUT{height:36px;border:1px solid #898989;border-width:1px 0}._3dEbO ._2rBUT._yD6R2{border-color:#d9d9d9}._3dEbO ._X2-rd{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._3dEbO ._-RFwv{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._3dEbO ._-RFwv._ACv2k{color:#9d9fa1}._BOIV-.focus-visible,._BOIV-:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._G-n9k{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._G-n9k ._8WNjm{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._G-n9k ._ZKKsO{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._G-n9k ._fQMYf{display:flex;justify-content:space-between;margin:12px 0}._G-n9k ._fQMYf._pJtXp{margin-bottom:0}._G-n9k ._DM-bK{display:flex}._G-n9k ._LN4kM{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._G-n9k ._YcX-r{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._G-n9k ._TuPsm{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._G-n9k ._wYIbB{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._G-n9k ._wYIbB._BOLTQ{height:16px;margin-bottom:6px}._G-n9k ._p2lsU{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._G-n9k ._p2lsU._BOLTQ{height:16px}._G-n9k ._CBJK4{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._G-n9k ._OjWG7{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._G-n9k ._geGsT{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._G-n9k ._Fl633{display:flex;justify-content:space-between}._G-n9k ._R8XFD{display:flex;flex-direction:column;align-items:center}._G-n9k ._R8XFD._z0ULr{margin-left:4px}._G-n9k ._bum2B{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._G-n9k ._C0qPu{padding:3px 4px 3px 13px!important;width:78px}._G-n9k ._Ry3Dy{text-align:right;padding:3px 4px 3px 0!important;width:34px}._G-n9k ._3cypl{text-align:right;padding:3px 16px 3px 0!important;width:46px}._G-n9k ._Zoeoc{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._G-n9k ._SDqXh{line-height:22px}._G-n9k ._EkMqw{display:flex}._G-n9k ._1AvX-{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._G-n9k ._1AvX-._rfehu{margin-top:0}._G-n9k ._Zsai-{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._bV3Y9{position:relative}._VE7I6{display:none}._1PgJG{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._ZKKsO.focus-visible,._ZKKsO:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._geGsT.focus-visible,._geGsT:focus-visible,._p2lsU.focus-visible,._p2lsU:focus-visible,._Zsai-.focus-visible,._Zsai-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2512
|
+
var styles$u = {"colorPicker":"_3dEbO","colorPickerButton":"_BOIV-","disabledButton":"_yD6R2","colorPickerButtonPreview":"_K6-ED","alphaBackground":"_R2olH","colorPickerButtonAlphaPreview":"_FXoBQ","caretIcon":"_2rBUT","colorPickerInput":"_X2-rd","colorPickerInputDecoration":"_-RFwv","disabledDecoration":"_ACv2k","colorPickerFlyout":"_G-n9k","saturationGrid":"_8WNjm","saturationLoop":"_ZKKsO","sliderGroup":"_fQMYf","removeBottomMargin":"_pJtXp","sliderPreviewContainer":"_DM-bK","sliderPreview":"_LN4kM","sliderPreviewAlpha":"_YcX-r","sliderPreviewAlphaBackground":"_TuPsm","hueSliderRail":"_wYIbB","alphaEnabled":"_BOLTQ","hueSliderThumb":"_p2lsU","alphaSliderRailBackground":"_CBJK4","alphaSliderRail":"_OjWG7","alphaSliderThumb":"_geGsT","hexInputGroup":"_Fl633","hexInputContainer":"_R8XFD","rgbInputContainer":"_z0ULr","hexInputDecoration":"_bum2B","hexInput":"_C0qPu","rgbInput":"_Ry3Dy","alphaInput":"_3cypl","alphaInputDecoration":"_Zoeoc","inputLabel":"_SDqXh","rgbContainer":"_EkMqw","palette":"_1AvX-","removeUpperMargin":"_rfehu","swatch":"_Zsai-","relativePositionContainer":"_bV3Y9","hidden":"_VE7I6","hiddenLiveRegion":"_1PgJG"};
|
|
2513
|
+
var stylesheet$x="._3dEbO{display:flex;line-height:1.15}._3dEbO ._BOIV-{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._3dEbO ._BOIV-:hover:not(._yD6R2){background-color:#f5f5f5}._3dEbO ._BOIV-._yD6R2{cursor:not-allowed;fill:rgba(81,85,89,.4)}._3dEbO ._BOIV-:active:not(._yD6R2){background-color:#eee}._3dEbO ._K6-ED{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._3dEbO ._K6-ED._yD6R2{border-color:#d9d9d9}._3dEbO ._R2olH{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._3dEbO ._FXoBQ{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._3dEbO ._FXoBQ._yD6R2{border-color:#d9d9d9}._3dEbO ._2rBUT{height:36px;border:1px solid #898989;border-width:1px 0}._3dEbO ._2rBUT._yD6R2{border-color:#d9d9d9}._3dEbO ._X2-rd{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._3dEbO ._-RFwv{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._3dEbO ._-RFwv._ACv2k{color:#9d9fa1}._BOIV-.focus-visible,._BOIV-:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._G-n9k{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._G-n9k ._8WNjm{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._G-n9k ._ZKKsO{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._G-n9k ._fQMYf{display:flex;justify-content:space-between;margin:12px 0}._G-n9k ._fQMYf._pJtXp{margin-bottom:0}._G-n9k ._DM-bK{display:flex}._G-n9k ._LN4kM{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._G-n9k ._YcX-r{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._G-n9k ._TuPsm{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._G-n9k ._wYIbB{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._G-n9k ._wYIbB._BOLTQ{height:16px;margin-bottom:6px}._G-n9k ._p2lsU{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._G-n9k ._p2lsU._BOLTQ{height:16px}._G-n9k ._CBJK4{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._G-n9k ._OjWG7{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._G-n9k ._geGsT{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._G-n9k ._Fl633{display:flex;justify-content:space-between}._G-n9k ._R8XFD{display:flex;flex-direction:column;align-items:center}._G-n9k ._R8XFD._z0ULr{margin-left:4px}._G-n9k ._bum2B{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._G-n9k ._C0qPu{padding:3px 4px 3px 13px!important;width:78px}._G-n9k ._Ry3Dy{text-align:right;padding:3px 4px 3px 0!important;width:34px}._G-n9k ._3cypl{text-align:right;padding:3px 16px 3px 0!important;width:46px}._G-n9k ._Zoeoc{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._G-n9k ._SDqXh{line-height:22px}._G-n9k ._EkMqw{display:flex}._G-n9k ._1AvX-{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._G-n9k ._1AvX-._rfehu{margin-top:0}._G-n9k ._Zsai-{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._bV3Y9{position:relative}._VE7I6{display:none}._1PgJG{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._ZKKsO.focus-visible,._ZKKsO:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._geGsT.focus-visible,._geGsT:focus-visible,._p2lsU.focus-visible,._p2lsU:focus-visible,._Zsai-.focus-visible,._Zsai-:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
2508
2514
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$x);}
|
|
2509
2515
|
|
|
2510
2516
|
function getMousePosition(e, containerRef) {
|
|
@@ -2877,7 +2883,7 @@ function Saturation$1(_ref) {
|
|
|
2877
2883
|
var _loopRef$current;
|
|
2878
2884
|
// prevent text highlighting while dragging
|
|
2879
2885
|
e.preventDefault();
|
|
2880
|
-
(_loopRef$current = loopRef.current) === null || _loopRef$current === void 0
|
|
2886
|
+
(_loopRef$current = loopRef.current) === null || _loopRef$current === void 0 || _loopRef$current.focus();
|
|
2881
2887
|
handleMouseDown(e);
|
|
2882
2888
|
},
|
|
2883
2889
|
"data-testid": getSubDataTestId(dataTestId, 'saturation-grid'),
|
|
@@ -2973,7 +2979,7 @@ function Hue$1(_ref) {
|
|
|
2973
2979
|
var _thumbRef$current;
|
|
2974
2980
|
// prevent text highlighting while dragging
|
|
2975
2981
|
e.preventDefault();
|
|
2976
|
-
(_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0
|
|
2982
|
+
(_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0 || _thumbRef$current.focus();
|
|
2977
2983
|
handleMouseDown(e);
|
|
2978
2984
|
},
|
|
2979
2985
|
"data-testid": getSubDataTestId(dataTestId, 'hue-rail'),
|
|
@@ -3068,7 +3074,7 @@ function Alpha$1(_ref) {
|
|
|
3068
3074
|
var _thumbRef$current;
|
|
3069
3075
|
// prevent text highlighting while dragging
|
|
3070
3076
|
e.preventDefault();
|
|
3071
|
-
(_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0
|
|
3077
|
+
(_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0 || _thumbRef$current.focus();
|
|
3072
3078
|
handleMouseDown(e);
|
|
3073
3079
|
},
|
|
3074
3080
|
"data-testid": getSubDataTestId(dataTestId, 'alpha-rail'),
|
|
@@ -3154,7 +3160,7 @@ function Palette(_ref2) {
|
|
|
3154
3160
|
setFocusedSwatchIndex(prevFocusedSwatchIndex => {
|
|
3155
3161
|
var _swatchRefs$current;
|
|
3156
3162
|
const targetId = calculateTargetId(prevFocusedSwatchIndex, palette.length, direction);
|
|
3157
|
-
(_swatchRefs$current = swatchRefs.current) === null || _swatchRefs$current === void 0 || (_swatchRefs$current = _swatchRefs$current[targetId]) === null || _swatchRefs$current === void 0
|
|
3163
|
+
(_swatchRefs$current = swatchRefs.current) === null || _swatchRefs$current === void 0 || (_swatchRefs$current = _swatchRefs$current[targetId]) === null || _swatchRefs$current === void 0 || _swatchRefs$current.focus();
|
|
3158
3164
|
return targetId;
|
|
3159
3165
|
});
|
|
3160
3166
|
}
|
|
@@ -3763,9 +3769,9 @@ function ColorPicker$1(_ref) {
|
|
|
3763
3769
|
})));
|
|
3764
3770
|
}
|
|
3765
3771
|
|
|
3766
|
-
var css_248z$w = ".
|
|
3767
|
-
var styles$t = {"combobox":"
|
|
3768
|
-
var stylesheet$w=".
|
|
3772
|
+
var css_248z$w = "._rc1-F{position:relative;display:inline-block}._-BNMl{padding-right:36px}._-BNMl._cvuOU{box-shadow:none!important;border:1px solid #898989!important}._QeJaO{margin-top:4px}._1m8wM{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._1m8wM:hover{background-color:rgba(50,54,58,.08)}._1m8wM:active{background-color:rgba(50,54,58,.11)}._1m8wM._5oF-r{transform:rotate(-180deg)}._1m8wM._I-YYx{opacity:.4}._58jsS{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._I-YYx{cursor:not-allowed}._I-YYx:hover{background-color:transparent}";
|
|
3773
|
+
var styles$t = {"combobox":"_rc1-F","comboboxInput":"_-BNMl","ignoreFocusStyle":"_cvuOU","labelledInput":"_QeJaO","comboboxIcon":"_1m8wM","open":"_5oF-r","disabled":"_I-YYx","comboboxEmpty":"_58jsS"};
|
|
3774
|
+
var stylesheet$w="._rc1-F{position:relative;display:inline-block}._-BNMl{padding-right:36px}._-BNMl._cvuOU{box-shadow:none!important;border:1px solid #898989!important}._QeJaO{margin-top:4px}._1m8wM{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._1m8wM:hover{background-color:rgba(50,54,58,.08)}._1m8wM:active{background-color:rgba(50,54,58,.11)}._1m8wM._5oF-r{transform:rotate(-180deg)}._1m8wM._I-YYx{opacity:.4}._58jsS{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._I-YYx{cursor:not-allowed}._I-YYx:hover{background-color:transparent}";
|
|
3769
3775
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$w);}
|
|
3770
3776
|
|
|
3771
3777
|
const {
|
|
@@ -3838,7 +3844,7 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3838
3844
|
setHighlightedIndex(0);
|
|
3839
3845
|
}
|
|
3840
3846
|
setIsOpen(true);
|
|
3841
|
-
onClick === null || onClick === void 0
|
|
3847
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
3842
3848
|
},
|
|
3843
3849
|
role: "combobox",
|
|
3844
3850
|
"aria-autocomplete": isFilteringDisabled ? 'none' : 'list',
|
|
@@ -3955,7 +3961,7 @@ const ComboboxIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3955
3961
|
setIsOpen(!isOpen);
|
|
3956
3962
|
} else {
|
|
3957
3963
|
var _inputRef$current;
|
|
3958
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0
|
|
3964
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
3959
3965
|
}
|
|
3960
3966
|
}) : undefined,
|
|
3961
3967
|
onMouseDown: wrapEvent(onMouseDown, e => e === null || e === void 0 ? void 0 : e.preventDefault()),
|
|
@@ -4125,7 +4131,7 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4125
4131
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
4126
4132
|
onSelect: e => {
|
|
4127
4133
|
var _props2, _props2$onSelect;
|
|
4128
|
-
child === null || child === void 0 || (_props2 = child.props) === null || _props2 === void 0 || (_props2$onSelect = _props2.onSelect) === null || _props2$onSelect === void 0
|
|
4134
|
+
child === null || child === void 0 || (_props2 = child.props) === null || _props2 === void 0 || (_props2$onSelect = _props2.onSelect) === null || _props2$onSelect === void 0 || _props2$onSelect.call(_props2, e);
|
|
4129
4135
|
|
|
4130
4136
|
// Prevents form submission
|
|
4131
4137
|
if ((e === null || e === void 0 ? void 0 : e.key) === 'Enter') {
|
|
@@ -4175,7 +4181,7 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4175
4181
|
if (isOptionSelectedOnKeyboardHighlight) {
|
|
4176
4182
|
var _filteredOptions$inde, _filteredOptions$inde2;
|
|
4177
4183
|
setSelectedIndex(index);
|
|
4178
|
-
(_filteredOptions$inde = filteredOptions[index]) === null || _filteredOptions$inde === void 0 || (_filteredOptions$inde = _filteredOptions$inde.props) === null || _filteredOptions$inde === void 0 || (_filteredOptions$inde2 = _filteredOptions$inde.onSelect) === null || _filteredOptions$inde2 === void 0
|
|
4184
|
+
(_filteredOptions$inde = filteredOptions[index]) === null || _filteredOptions$inde === void 0 || (_filteredOptions$inde = _filteredOptions$inde.props) === null || _filteredOptions$inde === void 0 || (_filteredOptions$inde2 = _filteredOptions$inde.onSelect) === null || _filteredOptions$inde2 === void 0 || _filteredOptions$inde2.call(_filteredOptions$inde, e);
|
|
4179
4185
|
} else {
|
|
4180
4186
|
setHighlightedIndex(index);
|
|
4181
4187
|
}
|
|
@@ -4234,7 +4240,7 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4234
4240
|
if (isFlyoutOpen) {
|
|
4235
4241
|
if (!isOptionSelectedOnKeyboardHighlight && filteredOptions.length > 0 && filteredOptions[highlightedIndex] !== undefined) {
|
|
4236
4242
|
var _filteredOptions$high, _filteredOptions$high2;
|
|
4237
|
-
(_filteredOptions$high = filteredOptions[highlightedIndex]) === null || _filteredOptions$high === void 0 || (_filteredOptions$high = _filteredOptions$high.props) === null || _filteredOptions$high === void 0 || (_filteredOptions$high2 = _filteredOptions$high.onSelect) === null || _filteredOptions$high2 === void 0
|
|
4243
|
+
(_filteredOptions$high = filteredOptions[highlightedIndex]) === null || _filteredOptions$high === void 0 || (_filteredOptions$high = _filteredOptions$high.props) === null || _filteredOptions$high === void 0 || (_filteredOptions$high2 = _filteredOptions$high.onSelect) === null || _filteredOptions$high2 === void 0 || _filteredOptions$high2.call(_filteredOptions$high, e);
|
|
4238
4244
|
}
|
|
4239
4245
|
}
|
|
4240
4246
|
setIsFlyoutOpen(false);
|
|
@@ -4398,14 +4404,14 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4398
4404
|
}, translate('noMatchesFound')) : listChildrenFilteredOptionsAndHeaders)));
|
|
4399
4405
|
});
|
|
4400
4406
|
|
|
4401
|
-
var css_248z$v = ".
|
|
4402
|
-
var styles$s = {"paneContainer":"
|
|
4403
|
-
var stylesheet$v=".
|
|
4407
|
+
var css_248z$v = "._4GjxI{grid-area:configPane;position:relative;height:100%}._nyEOn{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._mDhSy._lCwkE ._nyEOn,._mDhSy:not(._nuX5f) ._nyEOn{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._nuX5f ._nyEOn{width:0}._lCwkE._nuX5f ._nyEOn{width:30px;cursor:pointer}._SpBRa ._nyEOn{border-right-color:#eee}._-N-9f{height:100%;position:relative;width:292px}._mDhSy ._-N-9f,._nuX5f ._-N-9f{width:0}._lCwkE._mDhSy ._-N-9f,._lCwkE._nuX5f ._-N-9f{width:30px}._65EXu ._-N-9f{transition:width .5s}._SUcOA{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._nuX5f ._SUcOA{visibility:hidden}._65EXu ._SUcOA{visibility:visible}._SUcOA ._oOQmU{width:252px;margin-left:20px}._9Cjdj{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._fsIhs{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._fsIhs *{font-weight:400;font-size:16px;margin:0}._Q4w74{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._nuX5f ._Q4w74{left:0}._lCwkE._nuX5f ._Q4w74{left:30px}._Q4w74 ._bXerc{width:4px;height:100%}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._bXerc,._Q4w74:hover ._bXerc{background-color:#9dc5ed}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU>span,._Q4w74:hover ._IFerU>span{background-color:#0b6ed0;border-color:#0b6ed0}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU>span>svg,._Q4w74:hover ._IFerU>span>svg{fill:#fff}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU:active>span,._Q4w74:hover ._IFerU:active>span{background-color:#0854a1;border-color:#0854a1}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU:active>span>svg,._Q4w74:hover ._IFerU:active>span>svg{fill:#fff}._Q4w74 ._IFerU{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._Q4w74 ._IFerU._T5Gsr._T5Gsr._T5Gsr{opacity:1}._Q4w74 ._IFerU._zezqs._zezqs._zezqs{opacity:0}._Q4w74 ._IFerU:active>span{background-color:#0854a1;border-color:#0854a1}._Q4w74 ._IFerU:active>span>svg{fill:#fff}._Q4w74 ._IFerU>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Q4w74 ._IFerU>span>svg{fill:#515559;border-radius:50%}._nuX5f ._Q4w74 ._IFerU,._nyEOn:hover+._Q4w74 ._IFerU,._Q4w74:hover ._IFerU{opacity:1}._IFerU.focus-visible,._IFerU:focus-visible{opacity:1;border-color:#0a3f88}";
|
|
4408
|
+
var styles$s = {"paneContainer":"_4GjxI","paneContentContainer":"_nyEOn","unpinned":"_mDhSy","hidden":"_nuX5f","preview":"_lCwkE","openHidden":"_SpBRa","spacer":"_-N-9f","transitioning":"_65EXu","paneContent":"_SUcOA","paneContentInner":"_oOQmU","header":"_9Cjdj","title":"_fsIhs","clickableArea":"_Q4w74","hoverBorder":"_bXerc","toolbarPanelExpandCollapseButton":"_IFerU","overrideShow":"_T5Gsr","overrideHide":"_zezqs"};
|
|
4409
|
+
var stylesheet$v="._4GjxI{grid-area:configPane;position:relative;height:100%}._nyEOn{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._mDhSy._lCwkE ._nyEOn,._mDhSy:not(._nuX5f) ._nyEOn{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._nuX5f ._nyEOn{width:0}._lCwkE._nuX5f ._nyEOn{width:30px;cursor:pointer}._SpBRa ._nyEOn{border-right-color:#eee}._-N-9f{height:100%;position:relative;width:292px}._mDhSy ._-N-9f,._nuX5f ._-N-9f{width:0}._lCwkE._mDhSy ._-N-9f,._lCwkE._nuX5f ._-N-9f{width:30px}._65EXu ._-N-9f{transition:width .5s}._SUcOA{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._nuX5f ._SUcOA{visibility:hidden}._65EXu ._SUcOA{visibility:visible}._SUcOA ._oOQmU{width:252px;margin-left:20px}._9Cjdj{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._fsIhs{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._fsIhs *{font-weight:400;font-size:16px;margin:0}._Q4w74{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._nuX5f ._Q4w74{left:0}._lCwkE._nuX5f ._Q4w74{left:30px}._Q4w74 ._bXerc{width:4px;height:100%}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._bXerc,._Q4w74:hover ._bXerc{background-color:#9dc5ed}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU>span,._Q4w74:hover ._IFerU>span{background-color:#0b6ed0;border-color:#0b6ed0}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU>span>svg,._Q4w74:hover ._IFerU>span>svg{fill:#fff}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU:active>span,._Q4w74:hover ._IFerU:active>span{background-color:#0854a1;border-color:#0854a1}._lCwkE._nuX5f ._nyEOn:hover+._Q4w74 ._IFerU:active>span>svg,._Q4w74:hover ._IFerU:active>span>svg{fill:#fff}._Q4w74 ._IFerU{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._Q4w74 ._IFerU._T5Gsr._T5Gsr._T5Gsr{opacity:1}._Q4w74 ._IFerU._zezqs._zezqs._zezqs{opacity:0}._Q4w74 ._IFerU:active>span{background-color:#0854a1;border-color:#0854a1}._Q4w74 ._IFerU:active>span>svg{fill:#fff}._Q4w74 ._IFerU>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._Q4w74 ._IFerU>span>svg{fill:#515559;border-radius:50%}._nuX5f ._Q4w74 ._IFerU,._nyEOn:hover+._Q4w74 ._IFerU,._Q4w74:hover ._IFerU{opacity:1}._IFerU.focus-visible,._IFerU:focus-visible{opacity:1;border-color:#0a3f88}";
|
|
4404
4410
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$v);}
|
|
4405
4411
|
|
|
4406
|
-
var css_248z$u = ".
|
|
4407
|
-
var iconButtonStyles = {"button":"
|
|
4408
|
-
var stylesheet$u=".
|
|
4412
|
+
var css_248z$u = "._Z5VC9{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._Z5VC9:focus{outline:none}._Z5VC9:hover:not(._ji2JR){background-color:rgba(50,54,58,.08)}._Z5VC9:active:not(._ji2JR){background-color:rgba(50,54,58,.11);stroke-width:2}._Z5VC9._ji2JR{cursor:not-allowed;fill:rgba(81,85,89,.6)}._Z5VC9.focus-visible,._Z5VC9:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4413
|
+
var iconButtonStyles = {"button":"_Z5VC9","disabled":"_ji2JR"};
|
|
4414
|
+
var stylesheet$u="._Z5VC9{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._Z5VC9:focus{outline:none}._Z5VC9:hover:not(._ji2JR){background-color:rgba(50,54,58,.08)}._Z5VC9:active:not(._ji2JR){background-color:rgba(50,54,58,.11);stroke-width:2}._Z5VC9._ji2JR{cursor:not-allowed;fill:rgba(81,85,89,.6)}._Z5VC9.focus-visible,._Z5VC9:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
4409
4415
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$u);}
|
|
4410
4416
|
|
|
4411
4417
|
const sizePropInIconErrorMessage = 'Warning: The `Icon` prop `size` is invalid when used as a child of `IconButton`.';
|
|
@@ -4620,9 +4626,9 @@ const ConfigPane = _ref2 => {
|
|
|
4620
4626
|
})));
|
|
4621
4627
|
};
|
|
4622
4628
|
|
|
4623
|
-
var css_248z$t = ".
|
|
4624
|
-
var styles$r = {"divider":"
|
|
4625
|
-
var stylesheet$t=".
|
|
4629
|
+
var css_248z$t = "._oPlxK{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4630
|
+
var styles$r = {"divider":"_oPlxK"};
|
|
4631
|
+
var stylesheet$t="._oPlxK{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
|
|
4626
4632
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$t);}
|
|
4627
4633
|
|
|
4628
4634
|
const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -4637,9 +4643,9 @@ const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
4637
4643
|
}, rest));
|
|
4638
4644
|
});
|
|
4639
4645
|
|
|
4640
|
-
var css_248z$s = ".
|
|
4641
|
-
var styles$q = {"container":"
|
|
4642
|
-
var stylesheet$s=".
|
|
4646
|
+
var css_248z$s = "._WMXJO{max-width:100%;position:relative;display:inline-block}._0yaEO{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._0yaEO:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._0yaEO:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._0yaEO:disabled,._0yaEO[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._0yaEO._kWur-{border-color:#b00}._0yaEO._kWur-:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._0yaEO._GZ61p{min-width:120px;padding:0 4px 0 12px}._0yaEO._gOjbb{margin-top:4px}._0yaEO._v3k3z:not([aria-disabled=true]):not(:disabled){color:#32363a}._0yaEO ._11Kwy{min-height:10px}._0yaEO ._11Kwy._MaEiD{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._0yaEO ._11Kwy._GoThi{display:inline-flex;align-items:center}._0yaEO ._T0BSM{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._0yaEO ._T0BSM._NbtTb{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._0yaEO ._T0BSM._c7Gcl{transform:rotate(-180deg)}._Giy-o[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._TJa8L{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._zJOEi{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._CMi4i{fill:#515559}._5UoN8{margin:2px 12px 2px 0}._5UoN8._qsa6H>svg{border-color:#0b6ed0}._3W4Wd{width:100%}";
|
|
4647
|
+
var styles$q = {"container":"_WMXJO","button":"_0yaEO","invalid":"_kWur-","hasText":"_GZ61p","labelled":"_gOjbb","selected":"_v3k3z","buttonLabel":"_11Kwy","isString":"_MaEiD","isNode":"_GoThi","icon":"_T0BSM","disabled":"_NbtTb","open":"_c7Gcl","option":"_Giy-o","search":"_TJa8L","emptyOption":"_zJOEi","searchIcon":"_CMi4i","checkbox":"_5UoN8","highlighted":"_qsa6H","searchInput":"_3W4Wd"};
|
|
4648
|
+
var stylesheet$s="._WMXJO{max-width:100%;position:relative;display:inline-block}._0yaEO{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._0yaEO:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._0yaEO:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._0yaEO:disabled,._0yaEO[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._0yaEO._kWur-{border-color:#b00}._0yaEO._kWur-:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._0yaEO._GZ61p{min-width:120px;padding:0 4px 0 12px}._0yaEO._gOjbb{margin-top:4px}._0yaEO._v3k3z:not([aria-disabled=true]):not(:disabled){color:#32363a}._0yaEO ._11Kwy{min-height:10px}._0yaEO ._11Kwy._MaEiD{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._0yaEO ._11Kwy._GoThi{display:inline-flex;align-items:center}._0yaEO ._T0BSM{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._0yaEO ._T0BSM._NbtTb{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._0yaEO ._T0BSM._c7Gcl{transform:rotate(-180deg)}._Giy-o[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._TJa8L{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._zJOEi{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._CMi4i{fill:#515559}._5UoN8{margin:2px 12px 2px 0}._5UoN8._qsa6H>svg{border-color:#0b6ed0}._3W4Wd{width:100%}";
|
|
4643
4649
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$s);}
|
|
4644
4650
|
|
|
4645
4651
|
const {
|
|
@@ -4715,7 +4721,7 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4715
4721
|
const isInvalid = isInvalidProp !== undefined ? isInvalidProp : dropdownIsInvalid;
|
|
4716
4722
|
const handleClick = e => {
|
|
4717
4723
|
if (disabled !== null && disabled !== void 0 ? disabled : dropdownAriaDisabled) return;
|
|
4718
|
-
onClick === null || onClick === void 0
|
|
4724
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
4719
4725
|
// Needed because some browsers don't focus on click
|
|
4720
4726
|
e.currentTarget.focus();
|
|
4721
4727
|
setIsOpen(currentIsOpen => {
|
|
@@ -4725,7 +4731,7 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4725
4731
|
};
|
|
4726
4732
|
const handleKeyDown = e => {
|
|
4727
4733
|
if (disabled !== null && disabled !== void 0 ? disabled : dropdownAriaDisabled) return;
|
|
4728
|
-
onKeyDown === null || onKeyDown === void 0
|
|
4734
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
4729
4735
|
onKeyDownButton(e);
|
|
4730
4736
|
};
|
|
4731
4737
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children ? /*#__PURE__*/React__default["default"].cloneElement(children, {
|
|
@@ -4743,13 +4749,13 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
4743
4749
|
id: buttonId,
|
|
4744
4750
|
onFocus: e => {
|
|
4745
4751
|
var _children$props5, _children$props5$onFo;
|
|
4746
|
-
(_children$props5 = children.props) === null || _children$props5 === void 0 || (_children$props5$onFo = _children$props5.onFocus) === null || _children$props5$onFo === void 0
|
|
4747
|
-
onFocus === null || onFocus === void 0
|
|
4752
|
+
(_children$props5 = children.props) === null || _children$props5 === void 0 || (_children$props5$onFo = _children$props5.onFocus) === null || _children$props5$onFo === void 0 || _children$props5$onFo.call(_children$props5, e);
|
|
4753
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
4748
4754
|
},
|
|
4749
4755
|
onBlur: e => {
|
|
4750
4756
|
var _children$props6, _children$props6$onBl;
|
|
4751
|
-
(_children$props6 = children.props) === null || _children$props6 === void 0 || (_children$props6$onBl = _children$props6.onBlur) === null || _children$props6$onBl === void 0
|
|
4752
|
-
onBlur === null || onBlur === void 0
|
|
4757
|
+
(_children$props6 = children.props) === null || _children$props6 === void 0 || (_children$props6$onBl = _children$props6.onBlur) === null || _children$props6$onBl === void 0 || _children$props6$onBl.call(_children$props6, e);
|
|
4758
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
4753
4759
|
},
|
|
4754
4760
|
onKeyDown: wrapEvent((_children$props7 = children.props) === null || _children$props7 === void 0 ? void 0 : _children$props7.onKeyDown, handleKeyDown),
|
|
4755
4761
|
onClick: wrapEvent((_children$props8 = children.props) === null || _children$props8 === void 0 ? void 0 : _children$props8.onClick, handleClick)
|
|
@@ -4994,9 +5000,9 @@ function useChildIndex(_ref2) {
|
|
|
4994
5000
|
}, ChildIndexContext);
|
|
4995
5001
|
}
|
|
4996
5002
|
|
|
4997
|
-
var css_248z$r = ".
|
|
4998
|
-
var inputClasses = {"container":"
|
|
4999
|
-
var stylesheet$r=".
|
|
5003
|
+
var css_248z$r = "._OBeYD{position:relative;display:inline-block;height:36px}._Jb3NF{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._Jb3NF:hover{cursor:pointer;background-color:#f5f5f5}._Jb3NF:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._Jb3NF:disabled,._Jb3NF[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._Jb3NF:disabled::-moz-placeholder,._Jb3NF[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Jb3NF:disabled::placeholder,._Jb3NF[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Jb3NF:invalid,._Jb3NF[aria-invalid=true]{border-color:#b00}._Jb3NF:invalid:focus,._Jb3NF[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._Jb3NF[type=number]{-moz-appearance:textfield}._Jb3NF[type=number]::-webkit-inner-spin-button,._Jb3NF[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._Jb3NF::-moz-placeholder{color:#515559;opacity:1}._Jb3NF::placeholder{color:#515559;opacity:1}._MB886{pointer-events:none;color:#515559;fill:#515559}._1UVeF{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._NRA0I{color:#515559;font-size:16px}._XbZsf{left:0;margin-left:6px}._XbZsf,._yrcLw{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._yrcLw{right:0;margin-right:6px}";
|
|
5004
|
+
var inputClasses = {"container":"_OBeYD","input":"_Jb3NF","addOn":"_MB886","addOnVerticalCenter":"_1UVeF","addOnTextNode":"_NRA0I","leftAddOn":"_XbZsf","rightAddOn":"_yrcLw"};
|
|
5005
|
+
var stylesheet$r="._OBeYD{position:relative;display:inline-block;height:36px}._Jb3NF{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._Jb3NF:hover{cursor:pointer;background-color:#f5f5f5}._Jb3NF:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._Jb3NF:disabled,._Jb3NF[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._Jb3NF:disabled::-moz-placeholder,._Jb3NF[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Jb3NF:disabled::placeholder,._Jb3NF[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Jb3NF:invalid,._Jb3NF[aria-invalid=true]{border-color:#b00}._Jb3NF:invalid:focus,._Jb3NF[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._Jb3NF[type=number]{-moz-appearance:textfield}._Jb3NF[type=number]::-webkit-inner-spin-button,._Jb3NF[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._Jb3NF::-moz-placeholder{color:#515559;opacity:1}._Jb3NF::placeholder{color:#515559;opacity:1}._MB886{pointer-events:none;color:#515559;fill:#515559}._1UVeF{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._NRA0I{color:#515559;font-size:16px}._XbZsf{left:0;margin-left:6px}._XbZsf,._yrcLw{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._yrcLw{right:0;margin-right:6px}";
|
|
5000
5006
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$r);}
|
|
5001
5007
|
|
|
5002
5008
|
const getAddOnComponent = (addOn, containerClassName, containerRef) => {
|
|
@@ -5097,14 +5103,14 @@ const DropdownSearch = /*#__PURE__*/React__default["default"].forwardRef((_, ref
|
|
|
5097
5103
|
// for keyboard navigation
|
|
5098
5104
|
if (isHighlighted) {
|
|
5099
5105
|
var _inputRef$current2;
|
|
5100
|
-
(_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0
|
|
5106
|
+
(_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.focus();
|
|
5101
5107
|
}
|
|
5102
5108
|
}, [isHighlighted]);
|
|
5103
5109
|
React.useEffect(() => {
|
|
5104
5110
|
// for initial open with mouse
|
|
5105
5111
|
if (isHighlighted && isOpen) {
|
|
5106
5112
|
var _inputRef$current3;
|
|
5107
|
-
(_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0
|
|
5113
|
+
(_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 || _inputRef$current3.focus();
|
|
5108
5114
|
}
|
|
5109
5115
|
// Omitted `isHighlighted` because we don't want to focus the input on mouse enter.
|
|
5110
5116
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -5227,7 +5233,7 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
|
|
|
5227
5233
|
"aria-labelledby": ariaLabelledby,
|
|
5228
5234
|
hidden: !isOpen,
|
|
5229
5235
|
onKeyDown: e => {
|
|
5230
|
-
onKeyDown === null || onKeyDown === void 0
|
|
5236
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
5231
5237
|
onKeyDownList(e);
|
|
5232
5238
|
},
|
|
5233
5239
|
style: {
|
|
@@ -5339,7 +5345,7 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
5339
5345
|
const selectHighlightedItem = e => {
|
|
5340
5346
|
var _option$handleSelect;
|
|
5341
5347
|
const option = options[highlightedIndex];
|
|
5342
|
-
option === null || option === void 0 || (_option$handleSelect = option.handleSelect) === null || _option$handleSelect === void 0
|
|
5348
|
+
option === null || option === void 0 || (_option$handleSelect = option.handleSelect) === null || _option$handleSelect === void 0 || _option$handleSelect.call(option, e);
|
|
5343
5349
|
};
|
|
5344
5350
|
useClickOutside([buttonRef, listRef], handleClose);
|
|
5345
5351
|
React.useEffect(() => {
|
|
@@ -5362,7 +5368,7 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
5362
5368
|
var _buttonRef$current;
|
|
5363
5369
|
setValue(newValue);
|
|
5364
5370
|
handleClose();
|
|
5365
|
-
(_buttonRef$current = buttonRef.current) === null || _buttonRef$current === void 0
|
|
5371
|
+
(_buttonRef$current = buttonRef.current) === null || _buttonRef$current === void 0 || _buttonRef$current.focus();
|
|
5366
5372
|
}
|
|
5367
5373
|
}, [isMultiSelect, handleClose, setValue]);
|
|
5368
5374
|
const onKeyDownButton = e => {
|
|
@@ -5442,13 +5448,13 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
5442
5448
|
// close, focus button, and don't let event bubble up
|
|
5443
5449
|
e.stopPropagation();
|
|
5444
5450
|
handleClose();
|
|
5445
|
-
(_buttonRef$current2 = buttonRef.current) === null || _buttonRef$current2 === void 0
|
|
5451
|
+
(_buttonRef$current2 = buttonRef.current) === null || _buttonRef$current2 === void 0 || _buttonRef$current2.focus();
|
|
5446
5452
|
e.preventDefault(); // prevent Safari from exiting full-screen mode
|
|
5447
5453
|
break;
|
|
5448
5454
|
case 'Tab':
|
|
5449
5455
|
// close and focus next focusable element
|
|
5450
5456
|
handleClose();
|
|
5451
|
-
(_buttonRef$current3 = buttonRef.current) === null || _buttonRef$current3 === void 0
|
|
5457
|
+
(_buttonRef$current3 = buttonRef.current) === null || _buttonRef$current3 === void 0 || _buttonRef$current3.focus();
|
|
5452
5458
|
break;
|
|
5453
5459
|
case 'PageUp':
|
|
5454
5460
|
case 'Home':
|
|
@@ -5548,9 +5554,9 @@ const DropdownHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
5548
5554
|
}, commonProps), children) : /*#__PURE__*/React__default["default"].createElement("div", commonProps, children));
|
|
5549
5555
|
});
|
|
5550
5556
|
|
|
5551
|
-
var css_248z$q = ".
|
|
5552
|
-
var styles$p = {"checkbox":"
|
|
5553
|
-
var stylesheet$q=".
|
|
5557
|
+
var css_248z$q = "._LYuHI{display:inline-flex;position:relative}._gvHab,._LYuHI{cursor:pointer;height:16px;width:16px}._gvHab{position:absolute;opacity:0;z-index:10}._gvHab._KCTTc~._Kx4-2>._yW7-n{fill-opacity:1}._gvHab._KCTTc~._Kx4-2{border-color:transparent;background-color:#0b6ed0}._gvHab._KCTTc~._Kx4-2>._yW7-n{fill:#fff}._gvHab._KCTTc:hover~._Kx4-2{background-color:#085caf}._gvHab:not(._KCTTc):hover~._Kx4-2{border-color:#0b6ed0}._gvHab._FWXbu{cursor:not-allowed}._gvHab._FWXbu~._Kx4-2{opacity:.4}._Kx4-2{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._yW7-n{fill:#0b6ed0;fill-opacity:0}";
|
|
5558
|
+
var styles$p = {"checkbox":"_LYuHI","input":"_gvHab","checked":"_KCTTc","check":"_Kx4-2","checkIcon":"_yW7-n","disabled":"_FWXbu"};
|
|
5559
|
+
var stylesheet$q="._LYuHI{display:inline-flex;position:relative}._gvHab,._LYuHI{cursor:pointer;height:16px;width:16px}._gvHab{position:absolute;opacity:0;z-index:10}._gvHab._KCTTc~._Kx4-2>._yW7-n{fill-opacity:1}._gvHab._KCTTc~._Kx4-2{border-color:transparent;background-color:#0b6ed0}._gvHab._KCTTc~._Kx4-2>._yW7-n{fill:#fff}._gvHab._KCTTc:hover~._Kx4-2{background-color:#085caf}._gvHab:not(._KCTTc):hover~._Kx4-2{border-color:#0b6ed0}._gvHab._FWXbu{cursor:not-allowed}._gvHab._FWXbu~._Kx4-2{opacity:.4}._Kx4-2{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._yW7-n{fill:#0b6ed0;fill-opacity:0}";
|
|
5554
5560
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$q);}
|
|
5555
5561
|
|
|
5556
5562
|
// Internal only component, used with Dropdown and SelectMenu multiselects.
|
|
@@ -5610,7 +5616,7 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
5610
5616
|
} = useDropdownHeaderContext();
|
|
5611
5617
|
const isVisible = React.useMemo(() => isSearchFilteringDisabled || !label || !searchValue || typeof label === 'string' && label.toLowerCase().includes(searchValue.toLowerCase()), [isSearchFilteringDisabled, label, searchValue]);
|
|
5612
5618
|
React.useEffect(() => {
|
|
5613
|
-
setVisibleChildIds === null || setVisibleChildIds === void 0
|
|
5619
|
+
setVisibleChildIds === null || setVisibleChildIds === void 0 || setVisibleChildIds(visibleChildIds => {
|
|
5614
5620
|
const duplicateSet = new Set(visibleChildIds);
|
|
5615
5621
|
if (isVisible) {
|
|
5616
5622
|
return duplicateSet.add(value);
|
|
@@ -5647,7 +5653,7 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
5647
5653
|
listRef.current.scrollTop = internalRef.current.offsetTop - (isSearchable ? searchHeight : 0);
|
|
5648
5654
|
}
|
|
5649
5655
|
}
|
|
5650
|
-
(_internalRef$current = internalRef.current) === null || _internalRef$current === void 0
|
|
5656
|
+
(_internalRef$current = internalRef.current) === null || _internalRef$current === void 0 || _internalRef$current.focus({
|
|
5651
5657
|
preventScroll: true
|
|
5652
5658
|
});
|
|
5653
5659
|
}
|
|
@@ -5676,9 +5682,9 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
5676
5682
|
});
|
|
5677
5683
|
});
|
|
5678
5684
|
|
|
5679
|
-
var css_248z$p = ".
|
|
5680
|
-
var filePickerStyles = {"container":"
|
|
5681
|
-
var stylesheet$p=".
|
|
5685
|
+
var css_248z$p = "._rFthL{position:relative}._rFthL[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._rFthL:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._AYO6Y{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._v2pa0{margin-left:16px;font-size:14px;color:#32363a}._v2pa0 ._ZR3RI{margin-right:16px}";
|
|
5686
|
+
var filePickerStyles = {"container":"_rFthL","fileInput":"_AYO6Y","fileDetails":"_v2pa0","fileName":"_ZR3RI"};
|
|
5687
|
+
var stylesheet$p="._rFthL{position:relative}._rFthL[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._rFthL:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._AYO6Y{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._v2pa0{margin-left:16px;font-size:14px;color:#32363a}._v2pa0 ._ZR3RI{margin-right:16px}";
|
|
5682
5688
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$p);}
|
|
5683
5689
|
|
|
5684
5690
|
const FileDetails = _ref => {
|
|
@@ -5730,12 +5736,12 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
|
|
|
5730
5736
|
// returns focus to input after closing system dialog
|
|
5731
5737
|
useDidUpdate(() => {
|
|
5732
5738
|
var _fileInputRef$current;
|
|
5733
|
-
(_fileInputRef$current = fileInputRef.current) === null || _fileInputRef$current === void 0
|
|
5739
|
+
(_fileInputRef$current = fileInputRef.current) === null || _fileInputRef$current === void 0 || _fileInputRef$current.focus();
|
|
5734
5740
|
}, [filesChanged]);
|
|
5735
5741
|
const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
|
|
5736
5742
|
const handleChange = e => {
|
|
5737
5743
|
setFiles(e.target.files, e);
|
|
5738
|
-
onChange === null || onChange === void 0
|
|
5744
|
+
onChange === null || onChange === void 0 || onChange(e);
|
|
5739
5745
|
// This is needed due to CFE-508
|
|
5740
5746
|
setFilesChanged(val => !val);
|
|
5741
5747
|
};
|
|
@@ -5783,14 +5789,14 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
|
|
|
5783
5789
|
}));
|
|
5784
5790
|
});
|
|
5785
5791
|
|
|
5786
|
-
var css_248z$o = ".
|
|
5787
|
-
var styles$o = {"formField":"
|
|
5788
|
-
var stylesheet$o=".
|
|
5792
|
+
var css_248z$o = "._FNi5O{display:flex;flex-direction:column;align-items:flex-start}._YbcR0{margin-top:6px;max-width:100%}._YbcR0 *+*{margin-top:4px}";
|
|
5793
|
+
var styles$o = {"formField":"_FNi5O","captionContainer":"_YbcR0"};
|
|
5794
|
+
var stylesheet$o="._FNi5O{display:flex;flex-direction:column;align-items:flex-start}._YbcR0{margin-top:6px;max-width:100%}._YbcR0 *+*{margin-top:4px}";
|
|
5789
5795
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$o);}
|
|
5790
5796
|
|
|
5791
|
-
var css_248z$n = ".
|
|
5792
|
-
var styles$n = {"caption":"
|
|
5793
|
-
var stylesheet$n=".
|
|
5797
|
+
var css_248z$n = "._wtWhX{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._WzVQJ{color:#6a6d70;fill:#6a6d70}._tYaH9{color:#b00;fill:#b00}._8PJL-,._8QuJT{margin-left:-2px;margin-right:3px}";
|
|
5798
|
+
var styles$n = {"caption":"_wtWhX","helperText":"_WzVQJ","errorText":"_tYaH9","errorIcon":"_8PJL-","readOnlyIcon":"_8QuJT"};
|
|
5799
|
+
var stylesheet$n="._wtWhX{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._WzVQJ{color:#6a6d70;fill:#6a6d70}._tYaH9{color:#b00;fill:#b00}._8PJL-,._8QuJT{margin-left:-2px;margin-right:3px}";
|
|
5794
5800
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$n);}
|
|
5795
5801
|
|
|
5796
5802
|
const HelperText = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -5889,9 +5895,9 @@ const FormField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
5889
5895
|
}, errorText)) : null);
|
|
5890
5896
|
});
|
|
5891
5897
|
|
|
5892
|
-
var css_248z$m = ".
|
|
5893
|
-
var styles$m = {"dialog":"
|
|
5894
|
-
var stylesheet$m=".
|
|
5898
|
+
var css_248z$m = "._SdCEo{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _Jw8J0{0%{transform:scale3d(.7,.7,.7);opacity:0}}._r9hwr{animation:_Jw8J0 both;animation-duration:.2s}@keyframes _auYct{to{transform:scale3d(.7,.7,.7);opacity:0}}._-9KmR{animation:_auYct both;animation-duration:.2s}";
|
|
5899
|
+
var styles$m = {"dialog":"_SdCEo","transitionIn":"_r9hwr","showAnimation":"_Jw8J0","transitionOut":"_-9KmR","hideAnimation":"_auYct"};
|
|
5900
|
+
var stylesheet$m="._SdCEo{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _Jw8J0{0%{transform:scale3d(.7,.7,.7);opacity:0}}._r9hwr{animation:_Jw8J0 both;animation-duration:.2s}@keyframes _auYct{to{transform:scale3d(.7,.7,.7);opacity:0}}._-9KmR{animation:_auYct both;animation-duration:.2s}";
|
|
5895
5901
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$m);}
|
|
5896
5902
|
|
|
5897
5903
|
const FullScreenTakeover = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -5931,14 +5937,14 @@ const FullScreenTakeover = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
5931
5937
|
if (!isInDOM && focusedElementWhenDialogOpened) {
|
|
5932
5938
|
var _elementRefToFocusOnC;
|
|
5933
5939
|
const elementToFocus = (_elementRefToFocusOnC = elementRefToFocusOnClose === null || elementRefToFocusOnClose === void 0 ? void 0 : elementRefToFocusOnClose.current) !== null && _elementRefToFocusOnC !== void 0 ? _elementRefToFocusOnC : focusedElementWhenDialogOpened;
|
|
5934
|
-
elementToFocus === null || elementToFocus === void 0
|
|
5940
|
+
elementToFocus === null || elementToFocus === void 0 || elementToFocus.focus();
|
|
5935
5941
|
}
|
|
5936
5942
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
5937
5943
|
}, [isInDOM, focusedElementWhenDialogOpened]);
|
|
5938
5944
|
const handleAnimationEnd = () => {
|
|
5939
5945
|
if (isOpen) {
|
|
5940
5946
|
var _ref2, _elementRefToFocusOnO;
|
|
5941
|
-
(_ref2 = (_elementRefToFocusOnO = elementRefToFocusOnOpen === null || elementRefToFocusOnOpen === void 0 ? void 0 : elementRefToFocusOnOpen.current) !== null && _elementRefToFocusOnO !== void 0 ? _elementRefToFocusOnO : dialogRef === null || dialogRef === void 0 ? void 0 : dialogRef.current) === null || _ref2 === void 0
|
|
5947
|
+
(_ref2 = (_elementRefToFocusOnO = elementRefToFocusOnOpen === null || elementRefToFocusOnOpen === void 0 ? void 0 : elementRefToFocusOnOpen.current) !== null && _elementRefToFocusOnO !== void 0 ? _elementRefToFocusOnO : dialogRef === null || dialogRef === void 0 ? void 0 : dialogRef.current) === null || _ref2 === void 0 || _ref2.focus();
|
|
5942
5948
|
} else {
|
|
5943
5949
|
setIsInDOM(false);
|
|
5944
5950
|
}
|
|
@@ -6507,9 +6513,9 @@ var IconTypes = {
|
|
|
6507
6513
|
WorkingFromHome: 'WorkingFromHome'
|
|
6508
6514
|
};
|
|
6509
6515
|
|
|
6510
|
-
var css_248z$l = ".
|
|
6511
|
-
var styles$l = {"container":"
|
|
6512
|
-
var stylesheet$l=".
|
|
6516
|
+
var css_248z$l = "._Y6JMA{display:inline-block}._00U0A{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._00U0A::-moz-selection{background-color:rgba(11,110,208,.11)}._00U0A::selection{background-color:rgba(11,110,208,.11)}._00U0A:focus,._00U0A:hover{background-color:#f5f5f5}._00U0A:focus{border:2px solid #0a3f88;padding:3px}._00U0A:focus._aOW6n{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6517
|
+
var styles$l = {"container":"_Y6JMA","inlineInput":"_00U0A","isEditing":"_aOW6n"};
|
|
6518
|
+
var stylesheet$l="._Y6JMA{display:inline-block}._00U0A{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._00U0A::-moz-selection{background-color:rgba(11,110,208,.11)}._00U0A::selection{background-color:rgba(11,110,208,.11)}._00U0A:focus,._00U0A:hover{background-color:#f5f5f5}._00U0A:focus{border:2px solid #0a3f88;padding:3px}._00U0A:focus._aOW6n{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
|
|
6513
6519
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$l);}
|
|
6514
6520
|
|
|
6515
6521
|
const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -6534,19 +6540,19 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6534
6540
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6535
6541
|
// @ts-ignore: Property 'value' does not exist on type 'HTMLSpanElement'
|
|
6536
6542
|
e.target.value = newVal;
|
|
6537
|
-
onChange === null || onChange === void 0
|
|
6543
|
+
onChange === null || onChange === void 0 || onChange(e);
|
|
6538
6544
|
setLastVal(newVal);
|
|
6539
6545
|
}
|
|
6540
6546
|
});
|
|
6541
6547
|
const handleBlur = e => {
|
|
6542
6548
|
setIsEditing(false);
|
|
6543
6549
|
e.target.value = e.target.innerText;
|
|
6544
|
-
onBlur === null || onBlur === void 0
|
|
6550
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
6545
6551
|
};
|
|
6546
6552
|
const handleFocus = e => {
|
|
6547
6553
|
setIsEditing(true);
|
|
6548
6554
|
e.target.value = e.target.innerText;
|
|
6549
|
-
onFocus === null || onFocus === void 0
|
|
6555
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
6550
6556
|
};
|
|
6551
6557
|
const handleKeyDown = e => {
|
|
6552
6558
|
if (e.key === 'Enter') {
|
|
@@ -6557,13 +6563,13 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6557
6563
|
e.stopPropagation(); // prevent event from closing modals or popovers
|
|
6558
6564
|
setIsEditing(false);
|
|
6559
6565
|
}
|
|
6560
|
-
onKeyDown === null || onKeyDown === void 0
|
|
6566
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
6561
6567
|
};
|
|
6562
6568
|
const handleMouseDown = e => {
|
|
6563
6569
|
if (isFocused) {
|
|
6564
6570
|
setIsEditing(true);
|
|
6565
6571
|
}
|
|
6566
|
-
onMouseDown === null || onMouseDown === void 0
|
|
6572
|
+
onMouseDown === null || onMouseDown === void 0 || onMouseDown(e);
|
|
6567
6573
|
};
|
|
6568
6574
|
const handlePaste = e => {
|
|
6569
6575
|
// Strip formatting and newlines from pasted data
|
|
@@ -6589,13 +6595,13 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6589
6595
|
var _window$getSelection2;
|
|
6590
6596
|
if (isEditing && isFocused && internalRef.current) {
|
|
6591
6597
|
var _window$getSelection;
|
|
6592
|
-
(_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0
|
|
6598
|
+
(_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 || _window$getSelection.selectAllChildren(internalRef.current);
|
|
6593
6599
|
}
|
|
6594
6600
|
// Clear window selection only if it is on the InlineInput. Without this check, we would mistakenly clear the
|
|
6595
6601
|
// selection after focus moves from this component to an Input or another component that sets the window selection.
|
|
6596
6602
|
else if (internalRef.current && (_window$getSelection2 = window.getSelection()) !== null && _window$getSelection2 !== void 0 && _window$getSelection2.containsNode(internalRef.current, true)) {
|
|
6597
6603
|
var _window$getSelection3;
|
|
6598
|
-
(_window$getSelection3 = window.getSelection()) === null || _window$getSelection3 === void 0
|
|
6604
|
+
(_window$getSelection3 = window.getSelection()) === null || _window$getSelection3 === void 0 || _window$getSelection3.removeAllRanges();
|
|
6599
6605
|
}
|
|
6600
6606
|
}
|
|
6601
6607
|
}, [isEditing, isFocused]);
|
|
@@ -6630,9 +6636,9 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
6630
6636
|
}), defaultValue));
|
|
6631
6637
|
});
|
|
6632
6638
|
|
|
6633
|
-
var css_248z$k = ".
|
|
6634
|
-
var styles$k = {"addon":"
|
|
6635
|
-
var stylesheet$k=".
|
|
6639
|
+
var css_248z$k = "._kcyrP{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._kcyrP._ibr8y{height:26px;min-height:26px;padding:5px 8px}._guQkT{display:flex;align-items:stretch}._guQkT._Lo27m{width:100%}._guQkT ._1lDEw{margin:0;position:relative;flex-shrink:0;z-index:10}._guQkT ._1lDEw:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._guQkT ._1lDEw:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._guQkT ._1lDEw:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._guQkT ._1lDEw:last-child,._guQkT ._1lDEw:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._guQkT ._1lDEw:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._guQkT ._1lDEw._LxPIG{flex-shrink:1;min-width:40px;z-index:0}._guQkT ._1lDEw._LxPIG._Lo27m{flex-grow:1}._guQkT ._1lDEw:focus{z-index:20}";
|
|
6640
|
+
var styles$k = {"addon":"_kcyrP","small":"_ibr8y","inputGroup":"_guQkT","full":"_Lo27m","inputGroupElement":"_1lDEw","input":"_LxPIG"};
|
|
6641
|
+
var stylesheet$k="._kcyrP{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._kcyrP._ibr8y{height:26px;min-height:26px;padding:5px 8px}._guQkT{display:flex;align-items:stretch}._guQkT._Lo27m{width:100%}._guQkT ._1lDEw{margin:0;position:relative;flex-shrink:0;z-index:10}._guQkT ._1lDEw:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._guQkT ._1lDEw:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._guQkT ._1lDEw:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._guQkT ._1lDEw:last-child,._guQkT ._1lDEw:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._guQkT ._1lDEw:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._guQkT ._1lDEw._LxPIG{flex-shrink:1;min-width:40px;z-index:0}._guQkT ._1lDEw._LxPIG._Lo27m{flex-grow:1}._guQkT ._1lDEw:focus{z-index:20}";
|
|
6636
6642
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$k);}
|
|
6637
6643
|
|
|
6638
6644
|
const InputGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -6677,9 +6683,9 @@ const InputGroupAddon = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
6677
6683
|
}), children);
|
|
6678
6684
|
});
|
|
6679
6685
|
|
|
6680
|
-
var css_248z$j = ".
|
|
6681
|
-
var styles$j = {"link":"
|
|
6682
|
-
var stylesheet$j=".
|
|
6686
|
+
var css_248z$j = "._ol8Sw{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._ol8Sw:active:focus,._ol8Sw:focus{outline:none}._ol8Sw:visited{color:#0854a1}._ol8Sw:hover{color:#085caf}._ol8Sw:active{color:#0854a1}._ol8Sw.focus-visible,._ol8Sw:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6687
|
+
var styles$j = {"link":"_ol8Sw"};
|
|
6688
|
+
var stylesheet$j="._ol8Sw{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._ol8Sw:active:focus,._ol8Sw:focus{outline:none}._ol8Sw:visited{color:#0854a1}._ol8Sw:hover{color:#085caf}._ol8Sw:active{color:#0854a1}._ol8Sw.focus-visible,._ol8Sw:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
6683
6689
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$j);}
|
|
6684
6690
|
|
|
6685
6691
|
const Link = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -6701,9 +6707,9 @@ const Link = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
6701
6707
|
}), children);
|
|
6702
6708
|
});
|
|
6703
6709
|
|
|
6704
|
-
var css_248z$i = ".
|
|
6705
|
-
var styles$i = {"set":"
|
|
6706
|
-
var stylesheet$i=".
|
|
6710
|
+
var css_248z$i = "._BV6eb{width:100%}._xqOXs{display:flex;align-items:center}._0j634{display:flex;flex-wrap:wrap;grid-gap:4px}._0j634._08gqN :nth-last-child(2){margin-right:42px}._n5duq{position:relative;padding-left:32px;padding-top:16px;display:flex}._PEShJ ._n5duq{padding-top:0;padding-left:16px}._PEShJ ._n5duq+._n5duq{margin-top:16px}._jjT-3{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._PEShJ ._n5duq:first-of-type ._jjT-3{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._PEShJ ._jjT-3{top:-16px;left:0}._PEShJ ._n5duq:not(:first-of-type):not(:last-of-type) ._jjT-3{border-bottom-left-radius:0}._lgIiD{margin-left:-46px}._Ppb6r{margin:0 2px 0 4px}._Ppb6r.focus-visible,._Ppb6r:focus-visible{outline-width:2px}._Ifa38{margin-left:4px}";
|
|
6711
|
+
var styles$i = {"set":"_BV6eb","setWrapper":"_xqOXs","condition":"_0j634","readOnly":"_08gqN","branch":"_n5duq","fixedSet":"_PEShJ","connection":"_jjT-3","conditionControlsContainer":"_lgIiD","controls":"_Ppb6r","controlMenuItem":"_Ifa38"};
|
|
6712
|
+
var stylesheet$i="._BV6eb{width:100%}._xqOXs{display:flex;align-items:center}._0j634{display:flex;flex-wrap:wrap;grid-gap:4px}._0j634._08gqN :nth-last-child(2){margin-right:42px}._n5duq{position:relative;padding-left:32px;padding-top:16px;display:flex}._PEShJ ._n5duq{padding-top:0;padding-left:16px}._PEShJ ._n5duq+._n5duq{margin-top:16px}._jjT-3{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._PEShJ ._n5duq:first-of-type ._jjT-3{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._PEShJ ._jjT-3{top:-16px;left:0}._PEShJ ._n5duq:not(:first-of-type):not(:last-of-type) ._jjT-3{border-bottom-left-radius:0}._lgIiD{margin-left:-46px}._Ppb6r{margin:0 2px 0 4px}._Ppb6r.focus-visible,._Ppb6r:focus-visible{outline-width:2px}._Ifa38{margin-left:4px}";
|
|
6707
6713
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$i);}
|
|
6708
6714
|
|
|
6709
6715
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -6879,9 +6885,9 @@ const ConditionContainer = function ConditionContainer(_ref) {
|
|
|
6879
6885
|
}), conditionControls);
|
|
6880
6886
|
};
|
|
6881
6887
|
|
|
6882
|
-
var css_248z$h = ".
|
|
6883
|
-
var styles$h = {"menuBtn":"
|
|
6884
|
-
var stylesheet$h=".
|
|
6888
|
+
var css_248z$h = "._vN3L0._vN3L0{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._vN3L0._vN3L0,._vN3L0._vN3L0 ._oZtO0{display:inline-flex;align-items:center}._vN3L0._vN3L0 ._oZtO0{overflow:hidden;text-overflow:ellipsis}._vN3L0._vN3L0._XB1dt{min-height:26px;height:26px}._vN3L0._vN3L0._2c-nK{color:#32363a}._vN3L0._vN3L0:hover:not([aria-disabled=true]){background-color:#f5f5f5}._vN3L0._vN3L0:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vN3L0._vN3L0[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._vN3L0._vN3L0[aria-disabled=true]>svg{fill:#515559;opacity:.4}._vN3L0._vN3L0[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vN3L0._vN3L0._jw0Yp{padding-left:0}._vN3L0._vN3L0._KxbhL{margin-top:4px}._vN3L0._vN3L0 ._h--FU{fill:#515559}._vN3L0._vN3L0 ._h--FU._XB1dt{top:0}._vN3L0._vN3L0 ._h--FU._tawOO{transform:rotate(-180deg)}._7IV5A{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._7IV5A::-webkit-scrollbar,._7IV5A::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._7IV5A::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._7IV5A::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._7IV5A:hover::-webkit-scrollbar,._7IV5A:hover::-webkit-scrollbar-thumb,._7IV5A[focus-within]::-webkit-scrollbar,._7IV5A[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._7IV5A:focus-within::-webkit-scrollbar,._7IV5A:focus-within::-webkit-scrollbar-thumb,._7IV5A:hover::-webkit-scrollbar,._7IV5A:hover::-webkit-scrollbar-thumb{visibility:visible}._NibuT{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._NibuT[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._NibuT._KVFYJ{background-color:#efefef}._NibuT._nqTBd{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._NibuT._2c-nK{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._NibuT._2c-nK._KVFYJ{background-color:#e4effa}._NibuT._K8IGs{cursor:default}._NibuT:active:not(._dRAmE):not(._2c-nK):not([aria-disabled=true]):not(._K8IGs){background-color:#e8e9e9}._dRAmE{padding-right:32px}._dRAmE ._h--FU{position:absolute;top:8px;right:3px;fill:#515559}._F03Oj{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._oQLVA{position:absolute;top:13px;left:13px}._H68N9._H68N9{padding-left:32px}._pC-NC{margin:2px 12px 2px 0;flex-shrink:0}._pC-NC._vQvQk>svg{border-color:#0b6ed0}._JV4ow{display:flex;justify-self:center;margin:8px}";
|
|
6889
|
+
var styles$h = {"menuBtn":"_vN3L0","menuBtnLabel":"_oZtO0","small":"_XB1dt","selected":"_2c-nK","unlabelledButton":"_jw0Yp","formLabelled":"_KxbhL","rightIcon":"_h--FU","open":"_tawOO","contentPane":"_7IV5A","menuItem":"_NibuT","active":"_KVFYJ","focus":"_nqTBd","noMenuItems":"_K8IGs","subMenu":"_dRAmE","searchBox":"_F03Oj","searchBoxIcon":"_oQLVA","searchBoxInput":"_H68N9","checkbox":"_pC-NC","highlighted":"_vQvQk","menuSpinner":"_JV4ow"};
|
|
6890
|
+
var stylesheet$h="._vN3L0._vN3L0{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._vN3L0._vN3L0,._vN3L0._vN3L0 ._oZtO0{display:inline-flex;align-items:center}._vN3L0._vN3L0 ._oZtO0{overflow:hidden;text-overflow:ellipsis}._vN3L0._vN3L0._XB1dt{min-height:26px;height:26px}._vN3L0._vN3L0._2c-nK{color:#32363a}._vN3L0._vN3L0:hover:not([aria-disabled=true]){background-color:#f5f5f5}._vN3L0._vN3L0:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vN3L0._vN3L0[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._vN3L0._vN3L0[aria-disabled=true]>svg{fill:#515559;opacity:.4}._vN3L0._vN3L0[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._vN3L0._vN3L0._jw0Yp{padding-left:0}._vN3L0._vN3L0._KxbhL{margin-top:4px}._vN3L0._vN3L0 ._h--FU{fill:#515559}._vN3L0._vN3L0 ._h--FU._XB1dt{top:0}._vN3L0._vN3L0 ._h--FU._tawOO{transform:rotate(-180deg)}._7IV5A{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#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}._7IV5A::-webkit-scrollbar,._7IV5A::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._7IV5A::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._7IV5A::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._7IV5A:hover::-webkit-scrollbar,._7IV5A:hover::-webkit-scrollbar-thumb,._7IV5A[focus-within]::-webkit-scrollbar,._7IV5A[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._7IV5A:focus-within::-webkit-scrollbar,._7IV5A:focus-within::-webkit-scrollbar-thumb,._7IV5A:hover::-webkit-scrollbar,._7IV5A:hover::-webkit-scrollbar-thumb{visibility:visible}._NibuT{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._NibuT[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._NibuT._KVFYJ{background-color:#efefef}._NibuT._nqTBd{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._NibuT._2c-nK{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._NibuT._2c-nK._KVFYJ{background-color:#e4effa}._NibuT._K8IGs{cursor:default}._NibuT:active:not(._dRAmE):not(._2c-nK):not([aria-disabled=true]):not(._K8IGs){background-color:#e8e9e9}._dRAmE{padding-right:32px}._dRAmE ._h--FU{position:absolute;top:8px;right:3px;fill:#515559}._F03Oj{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._oQLVA{position:absolute;top:13px;left:13px}._H68N9._H68N9{padding-left:32px}._pC-NC{margin:2px 12px 2px 0;flex-shrink:0}._pC-NC._vQvQk>svg{border-color:#0b6ed0}._JV4ow{display:flex;justify-self:center;margin:8px}";
|
|
6885
6891
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$h);}
|
|
6886
6892
|
|
|
6887
6893
|
const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -7114,10 +7120,10 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
7114
7120
|
preventScroll: true
|
|
7115
7121
|
});
|
|
7116
7122
|
} else if (highlightedIndex === 0 && searchable) {
|
|
7117
|
-
searchBoxRef === null || searchBoxRef === void 0
|
|
7123
|
+
searchBoxRef === null || searchBoxRef === void 0 || searchBoxRef.current.focus();
|
|
7118
7124
|
} else {
|
|
7119
7125
|
var _anchorRef$current;
|
|
7120
|
-
anchorRef === null || anchorRef === void 0 || (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0
|
|
7126
|
+
anchorRef === null || anchorRef === void 0 || (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 || _anchorRef$current.focus();
|
|
7121
7127
|
}
|
|
7122
7128
|
}
|
|
7123
7129
|
}, [highlightedIndex, refs, searchable, allChildren.length,
|
|
@@ -7176,7 +7182,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
7176
7182
|
value: searchTerm,
|
|
7177
7183
|
ref: searchBoxRef,
|
|
7178
7184
|
onChange: e => {
|
|
7179
|
-
setSearchTerm === null || setSearchTerm === void 0
|
|
7185
|
+
setSearchTerm === null || setSearchTerm === void 0 || setSearchTerm(e.target.value);
|
|
7180
7186
|
},
|
|
7181
7187
|
onFocus: () => onHighlightedIndexChange(0)
|
|
7182
7188
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -7254,7 +7260,7 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
7254
7260
|
useDidUpdate(() => {
|
|
7255
7261
|
if (isSubmenu) {
|
|
7256
7262
|
var _onIsOpenChangeRef$cu;
|
|
7257
|
-
(_onIsOpenChangeRef$cu = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu === void 0
|
|
7263
|
+
(_onIsOpenChangeRef$cu = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu === void 0 || _onIsOpenChangeRef$cu.call(onIsOpenChangeRef, externalIsOpen);
|
|
7258
7264
|
}
|
|
7259
7265
|
}, [externalIsOpen, onIsOpenChangeRef, isSubmenu]);
|
|
7260
7266
|
// Call onIsOpenChange if open on mount or on unmount
|
|
@@ -7262,14 +7268,14 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
|
|
|
7262
7268
|
if (isSubmenu) {
|
|
7263
7269
|
if (externalIsOpenRef.current) {
|
|
7264
7270
|
var _onIsOpenChangeRef$cu2;
|
|
7265
|
-
(_onIsOpenChangeRef$cu2 = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu2 === void 0
|
|
7271
|
+
(_onIsOpenChangeRef$cu2 = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu2 === void 0 || _onIsOpenChangeRef$cu2.call(onIsOpenChangeRef, true);
|
|
7266
7272
|
}
|
|
7267
7273
|
return () => {
|
|
7268
7274
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
7269
7275
|
if (externalIsOpenRef.current) {
|
|
7270
7276
|
var _onIsOpenChangeRef$cu3;
|
|
7271
7277
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
7272
|
-
(_onIsOpenChangeRef$cu3 = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu3 === void 0
|
|
7278
|
+
(_onIsOpenChangeRef$cu3 = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu3 === void 0 || _onIsOpenChangeRef$cu3.call(onIsOpenChangeRef, false);
|
|
7273
7279
|
}
|
|
7274
7280
|
};
|
|
7275
7281
|
}
|
|
@@ -7627,8 +7633,8 @@ const SelectMenu = /*#__PURE__*/React__default["default"].forwardRef(function Se
|
|
|
7627
7633
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
7628
7634
|
args[_key - 1] = arguments[_key];
|
|
7629
7635
|
}
|
|
7630
|
-
onSelectedValueChange === null || onSelectedValueChange === void 0
|
|
7631
|
-
onChange === null || onChange === void 0
|
|
7636
|
+
onSelectedValueChange === null || onSelectedValueChange === void 0 || onSelectedValueChange(value, ...args);
|
|
7637
|
+
onChange === null || onChange === void 0 || onChange(value);
|
|
7632
7638
|
}
|
|
7633
7639
|
}, rest));
|
|
7634
7640
|
});
|
|
@@ -7914,7 +7920,7 @@ const LogicEditor = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
7914
7920
|
const update = React.useCallback(setStateCallback => {
|
|
7915
7921
|
setState(prevState => {
|
|
7916
7922
|
const newState = setStateCallback(prevState);
|
|
7917
|
-
onChange === null || onChange === void 0
|
|
7923
|
+
onChange === null || onChange === void 0 || onChange(newState);
|
|
7918
7924
|
return newState;
|
|
7919
7925
|
});
|
|
7920
7926
|
}, [onChange]);
|
|
@@ -7993,9 +7999,9 @@ const LogicEditor = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
7993
7999
|
})));
|
|
7994
8000
|
});
|
|
7995
8001
|
|
|
7996
|
-
var css_248z$g = ".
|
|
7997
|
-
var styles$g = {"backdrop":"
|
|
7998
|
-
var stylesheet$g=".
|
|
8002
|
+
var css_248z$g = "._LD1Ue{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._LD1Ue,._M9VIT{display:flex;overflow:auto}._M9VIT{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._35K9h)._u0aCk{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._u0aCk{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._35K9h)._Q5XY-{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._Q5XY-{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._35K9h)._Q5XY-{max-width:700px}}:not(._35K9h)._xyiag{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._xyiag{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._35K9h)._xyiag{max-width:700px}}@media screen and (min-width:1024px){:not(._35K9h)._xyiag{max-width:1000px}}:not(._35K9h)._KGVm1{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._KGVm1{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._35K9h)._KGVm1{max-width:700px}}@media screen and (min-width:1024px){:not(._35K9h)._KGVm1{max-width:1000px}}@media screen and (min-width:1632px){:not(._35K9h)._KGVm1{max-width:1600px;max-height:calc(100vh - 32px)}}._35K9h{min-width:200px;width:calc(100% - 48px)}._35K9h,._35K9h._u0aCk{max-height:calc(100vh - 80px)}._35K9h._u0aCk{max-width:480px;border-radius:8px}._35K9h._Q5XY-{max-width:700px}._35K9h._xyiag{max-width:1000px}._35K9h._KGVm1{max-width:1600px;max-height:calc(100vh - 32px)}._M0RAm{height:calc(100vh - 80px)}@media screen and (max-width:479px){._M0RAm{height:100vh}}@media screen and (min-width:1632px){._M0RAm{height:calc(100vh - 32px)}}._JwRZS{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._32eTR{padding-right:64px}._YYIJb{position:absolute;top:14px;right:14px}._jUAsV{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._FLISF,._jUAsV{padding:20px 24px}._FLISF{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._FLISF>*{margin:0 4px}._FLISF>:first-child{margin-left:0}._FLISF>:last-child{margin-right:0}@keyframes _eKbLI{0%{opacity:0}}._eKbLI{animation:_eKbLI ease-in both;animation-duration:.2s}@keyframes _LrFvH{to{opacity:0}}._LrFvH{animation:_LrFvH ease-out both;animation-duration:.2s}@keyframes _8LsKh{0%{transform:scale3d(.7,.7,.7);opacity:0}}._8LsKh{animation:_8LsKh both;animation-duration:.2s}@keyframes _tIKmk{to{transform:scale3d(.7,.7,.7);opacity:0}}._tIKmk{animation:_tIKmk both;animation-duration:.2s}";
|
|
8003
|
+
var styles$g = {"backdrop":"_LD1Ue","modal":"_M9VIT","responsive":"_35K9h","dialogSmall":"_u0aCk","dialogMedium":"_Q5XY-","dialogLarge":"_xyiag","dialogExtraLarge":"_KGVm1","growToMaxHeight":"_M0RAm","modalHeader":"_JwRZS","modalHeaderWithCloseButton":"_32eTR","modalHeaderCloseButton":"_YYIJb","modalBody":"_jUAsV","modalFooter":"_FLISF","fadeEnter":"_eKbLI","fadeLeave":"_LrFvH","zoomEnter":"_8LsKh","zoomLeave":"_tIKmk"};
|
|
8004
|
+
var stylesheet$g="._LD1Ue{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._LD1Ue,._M9VIT{display:flex;overflow:auto}._M9VIT{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._35K9h)._u0aCk{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._u0aCk{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._35K9h)._Q5XY-{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._Q5XY-{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._35K9h)._Q5XY-{max-width:700px}}:not(._35K9h)._xyiag{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._xyiag{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._35K9h)._xyiag{max-width:700px}}@media screen and (min-width:1024px){:not(._35K9h)._xyiag{max-width:1000px}}:not(._35K9h)._KGVm1{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._35K9h)._KGVm1{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._35K9h)._KGVm1{max-width:700px}}@media screen and (min-width:1024px){:not(._35K9h)._KGVm1{max-width:1000px}}@media screen and (min-width:1632px){:not(._35K9h)._KGVm1{max-width:1600px;max-height:calc(100vh - 32px)}}._35K9h{min-width:200px;width:calc(100% - 48px)}._35K9h,._35K9h._u0aCk{max-height:calc(100vh - 80px)}._35K9h._u0aCk{max-width:480px;border-radius:8px}._35K9h._Q5XY-{max-width:700px}._35K9h._xyiag{max-width:1000px}._35K9h._KGVm1{max-width:1600px;max-height:calc(100vh - 32px)}._M0RAm{height:calc(100vh - 80px)}@media screen and (max-width:479px){._M0RAm{height:100vh}}@media screen and (min-width:1632px){._M0RAm{height:calc(100vh - 32px)}}._JwRZS{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._32eTR{padding-right:64px}._YYIJb{position:absolute;top:14px;right:14px}._jUAsV{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._FLISF,._jUAsV{padding:20px 24px}._FLISF{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._FLISF>*{margin:0 4px}._FLISF>:first-child{margin-left:0}._FLISF>:last-child{margin-right:0}@keyframes _eKbLI{0%{opacity:0}}._eKbLI{animation:_eKbLI ease-in both;animation-duration:.2s}@keyframes _LrFvH{to{opacity:0}}._LrFvH{animation:_LrFvH ease-out both;animation-duration:.2s}@keyframes _8LsKh{0%{transform:scale3d(.7,.7,.7);opacity:0}}._8LsKh{animation:_8LsKh both;animation-duration:.2s}@keyframes _tIKmk{to{transform:scale3d(.7,.7,.7);opacity:0}}._tIKmk{animation:_tIKmk both;animation-duration:.2s}";
|
|
7999
8005
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$g);}
|
|
8000
8006
|
|
|
8001
8007
|
const {
|
|
@@ -8038,14 +8044,14 @@ const Overlay = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref) =
|
|
|
8038
8044
|
// Ensure that when a user clicks on the dialog and drags and lifts out on the overlay,
|
|
8039
8045
|
// the modal does not fire onDismiss.
|
|
8040
8046
|
if (e.target === mouseDownTarget.current && e.target === overlay.current) {
|
|
8041
|
-
onDismiss === null || onDismiss === void 0
|
|
8047
|
+
onDismiss === null || onDismiss === void 0 || onDismiss(e);
|
|
8042
8048
|
}
|
|
8043
8049
|
};
|
|
8044
8050
|
const handleKeyDown = e => {
|
|
8045
8051
|
if (e.key === 'Escape') {
|
|
8046
8052
|
e.stopPropagation(); // Prevent event from closing modals or popovers
|
|
8047
|
-
onDismiss === null || onDismiss === void 0
|
|
8048
|
-
onClose === null || onClose === void 0
|
|
8053
|
+
onDismiss === null || onDismiss === void 0 || onDismiss(e);
|
|
8054
|
+
onClose === null || onClose === void 0 || onClose(e);
|
|
8049
8055
|
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
8050
8056
|
}
|
|
8051
8057
|
};
|
|
@@ -8166,7 +8172,7 @@ const Modal = /*#__PURE__*/React__default["default"].forwardRef((_ref4, ref) =>
|
|
|
8166
8172
|
closeIconButtonRef.current.focus();
|
|
8167
8173
|
} else {
|
|
8168
8174
|
var _dialogRef$current;
|
|
8169
|
-
(_dialogRef$current = dialogRef.current) === null || _dialogRef$current === void 0
|
|
8175
|
+
(_dialogRef$current = dialogRef.current) === null || _dialogRef$current === void 0 || _dialogRef$current.focus();
|
|
8170
8176
|
}
|
|
8171
8177
|
} else if (elementRefToFocusOnClose !== null && elementRefToFocusOnClose !== void 0 && elementRefToFocusOnClose.current) {
|
|
8172
8178
|
elementRefToFocusOnClose.current.focus();
|
|
@@ -8175,7 +8181,7 @@ const Modal = /*#__PURE__*/React__default["default"].forwardRef((_ref4, ref) =>
|
|
|
8175
8181
|
* This replaces the `returnFocus` prop of `react-focus-lock`.
|
|
8176
8182
|
* The logic is done in this effect instead because `elementRefToFocusOnClose.current` is not available until after the `Overlay` is unmounted.
|
|
8177
8183
|
*/
|
|
8178
|
-
elementUsedToOpenModal === null || elementUsedToOpenModal === void 0
|
|
8184
|
+
elementUsedToOpenModal === null || elementUsedToOpenModal === void 0 || elementUsedToOpenModal.focus();
|
|
8179
8185
|
}
|
|
8180
8186
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
8181
8187
|
}, [isInDOM]);
|
|
@@ -8195,7 +8201,7 @@ const Modal = /*#__PURE__*/React__default["default"].forwardRef((_ref4, ref) =>
|
|
|
8195
8201
|
onDismiss: onDismiss
|
|
8196
8202
|
}, /*#__PURE__*/React__default["default"].createElement(Dialog, _extends__default["default"]({}, rest, {
|
|
8197
8203
|
onAnimationEnd: e => {
|
|
8198
|
-
externalOnAnimationEnd === null || externalOnAnimationEnd === void 0
|
|
8204
|
+
externalOnAnimationEnd === null || externalOnAnimationEnd === void 0 || externalOnAnimationEnd(e);
|
|
8199
8205
|
if (!open) setIsInDOM(false);
|
|
8200
8206
|
},
|
|
8201
8207
|
maxSize: maxSize,
|
|
@@ -8255,9 +8261,9 @@ const ModalFooter = /*#__PURE__*/React__default["default"].forwardRef((_ref7, re
|
|
|
8255
8261
|
}), children);
|
|
8256
8262
|
});
|
|
8257
8263
|
|
|
8258
|
-
var css_248z$f = ".
|
|
8259
|
-
var styles$f = {"numberStepperContainer":"
|
|
8260
|
-
var stylesheet$f=".
|
|
8264
|
+
var css_248z$f = "._PhJUc{display:inline-flex;width:127px}._dh47L{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._dh47L:hover:not(._IPmRa){cursor:pointer;background:#f5f5f5}._dh47L._Bd-Ey{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._dh47L._IPmRa{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._dh47L._IPmRa>svg{opacity:.4}._dh47L::-webkit-inner-spin-button,._dh47L::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._dh47L:focus{z-index:0;border:none;border-radius:4px}._dh47L:focus:not(._Bd-Ey){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._dh47L:focus:not(._IPmRa),._ZdZ8H{background:#fafafa}._ZdZ8H{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._ZdZ8H:hover:not(._IPmRa){cursor:pointer;background:#f5f5f5}._ZdZ8H:active:not(._IPmRa){background:#e5e5e5}._ZdZ8H._IPmRa{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._ZdZ8H._IPmRa>svg{opacity:.4}._EX0EO{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._EX0EO:hover:not(._IPmRa){cursor:pointer;background:#f5f5f5}._EX0EO:active:not(._IPmRa){background:#e5e5e5}._EX0EO._IPmRa{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._EX0EO._IPmRa>svg{opacity:.4}";
|
|
8265
|
+
var styles$f = {"numberStepperContainer":"_PhJUc","numberStepperInput":"_dh47L","disabled":"_IPmRa","invalid":"_Bd-Ey","decrementBtn":"_ZdZ8H","incrementBtn":"_EX0EO"};
|
|
8266
|
+
var stylesheet$f="._PhJUc{display:inline-flex;width:127px}._dh47L{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._dh47L:hover:not(._IPmRa){cursor:pointer;background:#f5f5f5}._dh47L._Bd-Ey{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._dh47L._IPmRa{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._dh47L._IPmRa>svg{opacity:.4}._dh47L::-webkit-inner-spin-button,._dh47L::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._dh47L:focus{z-index:0;border:none;border-radius:4px}._dh47L:focus:not(._Bd-Ey){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._dh47L:focus:not(._IPmRa),._ZdZ8H{background:#fafafa}._ZdZ8H{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._ZdZ8H:hover:not(._IPmRa){cursor:pointer;background:#f5f5f5}._ZdZ8H:active:not(._IPmRa){background:#e5e5e5}._ZdZ8H._IPmRa{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._ZdZ8H._IPmRa>svg{opacity:.4}._EX0EO{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._EX0EO:hover:not(._IPmRa){cursor:pointer;background:#f5f5f5}._EX0EO:active:not(._IPmRa){background:#e5e5e5}._EX0EO._IPmRa{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._EX0EO._IPmRa>svg{opacity:.4}";
|
|
8261
8267
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$f);}
|
|
8262
8268
|
|
|
8263
8269
|
const {
|
|
@@ -8312,7 +8318,7 @@ const NumberStepperInput$1 = /*#__PURE__*/React__default["default"].forwardRef((
|
|
|
8312
8318
|
* depending on the key that was pressed.
|
|
8313
8319
|
*/
|
|
8314
8320
|
const handleKeyDown = e => {
|
|
8315
|
-
onKeyDown === null || onKeyDown === void 0
|
|
8321
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
8316
8322
|
if (isExternallyDisabled) return;
|
|
8317
8323
|
if (e.key === 'ArrowUp') {
|
|
8318
8324
|
// Prevents browser's default increment
|
|
@@ -8347,7 +8353,7 @@ const NumberStepperInput$1 = /*#__PURE__*/React__default["default"].forwardRef((
|
|
|
8347
8353
|
* Selects the DOM element
|
|
8348
8354
|
*/
|
|
8349
8355
|
const handleFocus = e => {
|
|
8350
|
-
onFocus === null || onFocus === void 0
|
|
8356
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
8351
8357
|
if (isExternallyDisabled) return;
|
|
8352
8358
|
e.target.select();
|
|
8353
8359
|
};
|
|
@@ -8357,7 +8363,7 @@ const NumberStepperInput$1 = /*#__PURE__*/React__default["default"].forwardRef((
|
|
|
8357
8363
|
* Calls `handleInputBlur`
|
|
8358
8364
|
*/
|
|
8359
8365
|
const handleBlur = e => {
|
|
8360
|
-
onBlur === null || onBlur === void 0
|
|
8366
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
8361
8367
|
if (isExternallyDisabled) return;
|
|
8362
8368
|
handleInputBlur(e);
|
|
8363
8369
|
};
|
|
@@ -8422,7 +8428,7 @@ const NumberStepperIncrement$1 = /*#__PURE__*/React__default["default"].forwardR
|
|
|
8422
8428
|
*/
|
|
8423
8429
|
const handleClick = e => {
|
|
8424
8430
|
if (!isDisabled) {
|
|
8425
|
-
onClick === null || onClick === void 0
|
|
8431
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
8426
8432
|
increment(true);
|
|
8427
8433
|
}
|
|
8428
8434
|
};
|
|
@@ -8475,7 +8481,7 @@ const NumberStepperDecrement$1 = /*#__PURE__*/React__default["default"].forwardR
|
|
|
8475
8481
|
*/
|
|
8476
8482
|
const handleClick = e => {
|
|
8477
8483
|
if (!isDisabled) {
|
|
8478
|
-
onClick === null || onClick === void 0
|
|
8484
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
8479
8485
|
decrement(true);
|
|
8480
8486
|
}
|
|
8481
8487
|
};
|
|
@@ -8706,7 +8712,7 @@ const NumberStepper$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
8706
8712
|
} = e;
|
|
8707
8713
|
if (!componentHasFocus.current && currentTarget.contains(document.activeElement)) {
|
|
8708
8714
|
componentHasFocus.current = true;
|
|
8709
|
-
onFocus === null || onFocus === void 0
|
|
8715
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
8710
8716
|
}
|
|
8711
8717
|
},
|
|
8712
8718
|
onBlur: e => {
|
|
@@ -8719,7 +8725,7 @@ const NumberStepper$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref,
|
|
|
8719
8725
|
// Check if the new focused element is a child of the original container
|
|
8720
8726
|
if (!currentTarget.contains(document.activeElement)) {
|
|
8721
8727
|
componentHasFocus.current = false;
|
|
8722
|
-
onBlur === null || onBlur === void 0
|
|
8728
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
8723
8729
|
}
|
|
8724
8730
|
});
|
|
8725
8731
|
}
|
|
@@ -8768,9 +8774,9 @@ function clampMinMax$1(value, _ref2) {
|
|
|
8768
8774
|
return value;
|
|
8769
8775
|
}
|
|
8770
8776
|
|
|
8771
|
-
var css_248z$e = ".
|
|
8772
|
-
var styles$e = {"pageContainer":"
|
|
8773
|
-
var stylesheet$e=".
|
|
8777
|
+
var css_248z$e = "._jhsjW{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._2ZGhV{grid-area:pageHeader}._HXhrI{grid-area:mainContent;height:100%;overflow:auto}";
|
|
8778
|
+
var styles$e = {"pageContainer":"_jhsjW","pageHeader":"_2ZGhV","mainContent":"_HXhrI"};
|
|
8779
|
+
var stylesheet$e="._jhsjW{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._2ZGhV{grid-area:pageHeader}._HXhrI{grid-area:mainContent;height:100%;overflow:auto}";
|
|
8774
8780
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$e);}
|
|
8775
8781
|
|
|
8776
8782
|
const PageContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -8806,9 +8812,9 @@ const MainContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8806
8812
|
}));
|
|
8807
8813
|
});
|
|
8808
8814
|
|
|
8809
|
-
var css_248z$d = ".
|
|
8810
|
-
var styles$d = {"pagination":"
|
|
8811
|
-
var stylesheet$d=".
|
|
8815
|
+
var css_248z$d = "._CAKyC{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._cx1ve{margin-right:8px}._2QUYl{margin-left:8px}._D15Aj{margin:-10px -15px}._t8Skt{width:100%;text-align:center}";
|
|
8816
|
+
var styles$d = {"pagination":"_CAKyC","previousButton":"_cx1ve","nextButton":"_2QUYl","btnIcon":"_D15Aj","input":"_t8Skt"};
|
|
8817
|
+
var stylesheet$d="._CAKyC{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._cx1ve{margin-right:8px}._2QUYl{margin-left:8px}._D15Aj{margin:-10px -15px}._t8Skt{width:100%;text-align:center}";
|
|
8812
8818
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$d);}
|
|
8813
8819
|
|
|
8814
8820
|
const {
|
|
@@ -8847,15 +8853,15 @@ const PaginationPreviousButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8847
8853
|
*/
|
|
8848
8854
|
const decrement = () => {
|
|
8849
8855
|
const newPage = pageInputValue - 1;
|
|
8850
|
-
setPageInputValue === null || setPageInputValue === void 0
|
|
8851
|
-
handlePageChange === null || handlePageChange === void 0
|
|
8856
|
+
setPageInputValue === null || setPageInputValue === void 0 || setPageInputValue(newPage);
|
|
8857
|
+
handlePageChange === null || handlePageChange === void 0 || handlePageChange(newPage);
|
|
8852
8858
|
};
|
|
8853
8859
|
return /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({}, rest, {
|
|
8854
8860
|
disabled: disabled !== null && disabled !== void 0 ? disabled : pageInputValue === 1,
|
|
8855
8861
|
ref: ref,
|
|
8856
8862
|
kind: "tertiary",
|
|
8857
8863
|
onClick: e => {
|
|
8858
|
-
onClick === null || onClick === void 0
|
|
8864
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
8859
8865
|
decrement();
|
|
8860
8866
|
},
|
|
8861
8867
|
className: classNames__default["default"](className, styles$d.previousButton),
|
|
@@ -8900,15 +8906,15 @@ const PaginationNextButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8900
8906
|
*/
|
|
8901
8907
|
const increment = () => {
|
|
8902
8908
|
const newPage = pageInputValue + 1;
|
|
8903
|
-
setPageInputValue === null || setPageInputValue === void 0
|
|
8904
|
-
handlePageChange === null || handlePageChange === void 0
|
|
8909
|
+
setPageInputValue === null || setPageInputValue === void 0 || setPageInputValue(newPage);
|
|
8910
|
+
handlePageChange === null || handlePageChange === void 0 || handlePageChange(newPage);
|
|
8905
8911
|
};
|
|
8906
8912
|
return /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({}, rest, {
|
|
8907
8913
|
disabled: disabled !== null && disabled !== void 0 ? disabled : pageInputValue === numPages,
|
|
8908
8914
|
ref: ref,
|
|
8909
8915
|
kind: "tertiary",
|
|
8910
8916
|
onClick: e => {
|
|
8911
|
-
onClick === null || onClick === void 0
|
|
8917
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
8912
8918
|
increment();
|
|
8913
8919
|
},
|
|
8914
8920
|
className: classNames__default["default"](className, styles$d.nextButton),
|
|
@@ -8969,7 +8975,7 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8969
8975
|
*/
|
|
8970
8976
|
const handleBlur = () => {
|
|
8971
8977
|
if (pageInputValue !== currentPage && currentPage !== undefined) {
|
|
8972
|
-
setPageInputValue === null || setPageInputValue === void 0
|
|
8978
|
+
setPageInputValue === null || setPageInputValue === void 0 || setPageInputValue(currentPage);
|
|
8973
8979
|
}
|
|
8974
8980
|
};
|
|
8975
8981
|
|
|
@@ -8980,11 +8986,11 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8980
8986
|
*/
|
|
8981
8987
|
const handleInputChange = newValue => {
|
|
8982
8988
|
if (newValue === '' || !Number.isInteger(Number(newValue))) {
|
|
8983
|
-
setPageInputValue === null || setPageInputValue === void 0
|
|
8989
|
+
setPageInputValue === null || setPageInputValue === void 0 || setPageInputValue(newValue);
|
|
8984
8990
|
} else {
|
|
8985
8991
|
const newPage = Math.min(Math.max(1, newValue), numPages || Number.MAX_SAFE_INTEGER);
|
|
8986
|
-
setPageInputValue === null || setPageInputValue === void 0
|
|
8987
|
-
handlePageChange === null || handlePageChange === void 0
|
|
8992
|
+
setPageInputValue === null || setPageInputValue === void 0 || setPageInputValue(newPage);
|
|
8993
|
+
handlePageChange === null || handlePageChange === void 0 || handlePageChange(newPage);
|
|
8988
8994
|
}
|
|
8989
8995
|
};
|
|
8990
8996
|
|
|
@@ -8993,7 +8999,7 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
8993
8999
|
*/
|
|
8994
9000
|
const handleFocus = () => {
|
|
8995
9001
|
var _inputRef$current;
|
|
8996
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0
|
|
9002
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.select();
|
|
8997
9003
|
};
|
|
8998
9004
|
return /*#__PURE__*/React__default["default"].createElement(Translate, {
|
|
8999
9005
|
messageKey: "pagination",
|
|
@@ -9011,15 +9017,15 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9011
9017
|
max: numPages,
|
|
9012
9018
|
value: pageInputValue,
|
|
9013
9019
|
onChange: e => {
|
|
9014
|
-
onChange === null || onChange === void 0
|
|
9020
|
+
onChange === null || onChange === void 0 || onChange(e);
|
|
9015
9021
|
handleInputChange(e.target.value);
|
|
9016
9022
|
},
|
|
9017
9023
|
onBlur: e => {
|
|
9018
|
-
onBlur === null || onBlur === void 0
|
|
9024
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
9019
9025
|
handleBlur();
|
|
9020
9026
|
},
|
|
9021
9027
|
onFocus: e => {
|
|
9022
|
-
onFocus === null || onFocus === void 0
|
|
9028
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
9023
9029
|
handleFocus();
|
|
9024
9030
|
},
|
|
9025
9031
|
style: {
|
|
@@ -9078,7 +9084,7 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
9078
9084
|
* @param {Number} newPage - The value entered into the input
|
|
9079
9085
|
*/
|
|
9080
9086
|
const handlePageChange = React.useCallback(newPage => {
|
|
9081
|
-
onPageChange === null || onPageChange === void 0
|
|
9087
|
+
onPageChange === null || onPageChange === void 0 || onPageChange({
|
|
9082
9088
|
page: newPage
|
|
9083
9089
|
});
|
|
9084
9090
|
}, [onPageChange]);
|
|
@@ -9104,9 +9110,9 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
9104
9110
|
}, children || /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(PaginationPreviousButton, null), Number(numPages) > 0 ? /*#__PURE__*/React__default["default"].createElement(PaginationPageInput, null) : null, /*#__PURE__*/React__default["default"].createElement(PaginationNextButton, null))));
|
|
9105
9111
|
});
|
|
9106
9112
|
|
|
9107
|
-
var css_248z$c = ".
|
|
9108
|
-
var styles$c = {"popover":"
|
|
9109
|
-
var stylesheet$c=".
|
|
9113
|
+
var css_248z$c = "._bie1I{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._bie1I:focus{outline:none}._dfcDs,._dfcDs>div{position:absolute;width:8px;height:8px;background:inherit}._dfcDs{visibility:hidden;z-index:1000}._dfcDs>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._dfcDs{bottom:-4px}[data-popper-placement^=top]>._dfcDs>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._dfcDs{left:-5px}[data-popper-placement^=right]>._dfcDs>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._dfcDs{top:-5px}[data-popper-placement^=bottom]>._dfcDs>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._dfcDs{right:-4px}[data-popper-placement^=left]>._dfcDs>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
9114
|
+
var styles$c = {"popover":"_bie1I","arrow":"_dfcDs"};
|
|
9115
|
+
var stylesheet$c="._bie1I{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._bie1I:focus{outline:none}._dfcDs,._dfcDs>div{position:absolute;width:8px;height:8px;background:inherit}._dfcDs{visibility:hidden;z-index:1000}._dfcDs>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._dfcDs{bottom:-4px}[data-popper-placement^=top]>._dfcDs>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._dfcDs{left:-5px}[data-popper-placement^=right]>._dfcDs>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._dfcDs{top:-5px}[data-popper-placement^=bottom]>._dfcDs>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._dfcDs{right:-4px}[data-popper-placement^=left]>._dfcDs>div{border-bottom-color:transparent;border-left-color:transparent}";
|
|
9110
9116
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$c);}
|
|
9111
9117
|
|
|
9112
9118
|
const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -9149,22 +9155,22 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
9149
9155
|
if (!show && isInDOM) {
|
|
9150
9156
|
var _anchorRef$current;
|
|
9151
9157
|
// Prevents scroll so that the page does not scroll to the anchor element if the anchor element is out of view
|
|
9152
|
-
(_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0
|
|
9158
|
+
(_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 || _anchorRef$current.focus({
|
|
9153
9159
|
preventScroll: true
|
|
9154
9160
|
});
|
|
9155
9161
|
}
|
|
9156
9162
|
setIsInDOM(show);
|
|
9157
9163
|
}, [show, isInDOM]);
|
|
9158
9164
|
const handlePopoverContainerClick = e => {
|
|
9159
|
-
onClick === null || onClick === void 0
|
|
9165
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
9160
9166
|
};
|
|
9161
9167
|
const handlePopoverContainerKeyDown = e => {
|
|
9162
9168
|
if (e.key === 'Escape') {
|
|
9163
9169
|
e.stopPropagation(); // Prevent event from closing modals or popovers
|
|
9164
9170
|
e.preventDefault(); // Prevent Safari from exiting full-screen mode
|
|
9165
|
-
onClose === null || onClose === void 0
|
|
9171
|
+
onClose === null || onClose === void 0 || onClose(e);
|
|
9166
9172
|
}
|
|
9167
|
-
onKeyDown === null || onKeyDown === void 0
|
|
9173
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
9168
9174
|
};
|
|
9169
9175
|
return /*#__PURE__*/React__default["default"].createElement(Popper, {
|
|
9170
9176
|
open: show,
|
|
@@ -9185,7 +9191,7 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
9185
9191
|
*/
|
|
9186
9192
|
e.preventDefault();
|
|
9187
9193
|
preventClickOutside();
|
|
9188
|
-
(_children$props$onMou = (_children$props = children.props).onMouseDown) === null || _children$props$onMou === void 0
|
|
9194
|
+
(_children$props$onMou = (_children$props = children.props).onMouseDown) === null || _children$props$onMou === void 0 || _children$props$onMou.call(_children$props, e);
|
|
9189
9195
|
},
|
|
9190
9196
|
ref: mergeRefs(anchorRef, children === null || children === void 0 ? void 0 : children.ref)
|
|
9191
9197
|
}),
|
|
@@ -9223,9 +9229,9 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
9223
9229
|
});
|
|
9224
9230
|
});
|
|
9225
9231
|
|
|
9226
|
-
var css_248z$b = ".
|
|
9227
|
-
var styles$b = {"loadingSpinner":"
|
|
9228
|
-
var stylesheet$b=".
|
|
9232
|
+
var css_248z$b = "._K-jMy{display:flex;height:32px}";
|
|
9233
|
+
var styles$b = {"loadingSpinner":"_K-jMy"};
|
|
9234
|
+
var stylesheet$b="._K-jMy{display:flex;height:32px}";
|
|
9229
9235
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$b);}
|
|
9230
9236
|
|
|
9231
9237
|
const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -9261,11 +9267,11 @@ const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9261
9267
|
if (!open) {
|
|
9262
9268
|
setIsLoading(true);
|
|
9263
9269
|
}
|
|
9264
|
-
setIsOpen === null || setIsOpen === void 0
|
|
9270
|
+
setIsOpen === null || setIsOpen === void 0 || setIsOpen(true);
|
|
9265
9271
|
};
|
|
9266
9272
|
const closeMenu = React.useCallback(() => {
|
|
9267
9273
|
setItems([]);
|
|
9268
|
-
internalCloseMenu === null || internalCloseMenu === void 0
|
|
9274
|
+
internalCloseMenu === null || internalCloseMenu === void 0 || internalCloseMenu();
|
|
9269
9275
|
setIsLoading(true);
|
|
9270
9276
|
}, [setItems, internalCloseMenu, setIsLoading]);
|
|
9271
9277
|
const onSearchRef = useLatest(onSearch);
|
|
@@ -9295,14 +9301,14 @@ const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9295
9301
|
if (e.key === 'Enter' || e.key === 'ArrowDown') {
|
|
9296
9302
|
e.preventDefault(); // prevent scroll
|
|
9297
9303
|
openMenu();
|
|
9298
|
-
setHighlightedIndex === null || setHighlightedIndex === void 0
|
|
9304
|
+
setHighlightedIndex === null || setHighlightedIndex === void 0 || setHighlightedIndex(0);
|
|
9299
9305
|
if (!open) {
|
|
9300
9306
|
handleSearch(value);
|
|
9301
9307
|
}
|
|
9302
9308
|
} else if (e.key === 'ArrowUp') {
|
|
9303
9309
|
e.preventDefault(); // prevent scroll
|
|
9304
9310
|
openMenu();
|
|
9305
|
-
setHighlightedIndex === null || setHighlightedIndex === void 0
|
|
9311
|
+
setHighlightedIndex === null || setHighlightedIndex === void 0 || setHighlightedIndex(items.length - 1);
|
|
9306
9312
|
if (!open) {
|
|
9307
9313
|
handleSearch(value);
|
|
9308
9314
|
}
|
|
@@ -9401,9 +9407,9 @@ const QuickSearch = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9401
9407
|
}));
|
|
9402
9408
|
});
|
|
9403
9409
|
|
|
9404
|
-
var css_248z$a = ".
|
|
9405
|
-
var styles$a = {"radio":"
|
|
9406
|
-
var stylesheet$a=".
|
|
9410
|
+
var css_248z$a = "._mzrVk{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._mzrVk,._uCfKE{cursor:pointer;height:16px;width:16px}._uCfKE{position:absolute;opacity:0;z-index:10}._uCfKE:checked~._Hbthq>._RgwNS{fill-opacity:1}._uCfKE:checked:enabled~._Hbthq{border-color:transparent;background-color:#0b6ed0}._uCfKE:checked:enabled~._Hbthq>._RgwNS{fill:#fff}._uCfKE:checked:enabled:hover~._Hbthq{background-color:#085caf}._uCfKE:not(:checked):enabled:hover~._Hbthq{border-color:#0b6ed0}._uCfKE:disabled{cursor:not-allowed}._uCfKE:disabled~._Hbthq{opacity:.4}._uCfKE:checked~._Hbthq:after{content:\"\"}._lBka9{color:#32363a;display:flex;align-items:center;cursor:pointer}._Lm1nq{cursor:auto;color:hsla(0,0%,53.7%,.4)}._Gamj6{margin-right:12px;flex-shrink:0}._Hbthq{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._RgwNS{fill:#0b6ed0;fill-opacity:0}._Hbthq:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._wWp-z{border:none;padding:0;margin:0}._eIi2n{padding:0;margin:0 0 14px;color:#01213f}._uCfKE.focus-visible~._Hbthq,._uCfKE:focus-visible~._Hbthq{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9411
|
+
var styles$a = {"radio":"_mzrVk","input":"_uCfKE","check":"_Hbthq","checkIcon":"_RgwNS","label":"_lBka9","labelDisabled":"_Lm1nq","wrappedInput":"_Gamj6","radioGroup":"_wWp-z","legend":"_eIi2n"};
|
|
9412
|
+
var stylesheet$a="._mzrVk{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._mzrVk,._uCfKE{cursor:pointer;height:16px;width:16px}._uCfKE{position:absolute;opacity:0;z-index:10}._uCfKE:checked~._Hbthq>._RgwNS{fill-opacity:1}._uCfKE:checked:enabled~._Hbthq{border-color:transparent;background-color:#0b6ed0}._uCfKE:checked:enabled~._Hbthq>._RgwNS{fill:#fff}._uCfKE:checked:enabled:hover~._Hbthq{background-color:#085caf}._uCfKE:not(:checked):enabled:hover~._Hbthq{border-color:#0b6ed0}._uCfKE:disabled{cursor:not-allowed}._uCfKE:disabled~._Hbthq{opacity:.4}._uCfKE:checked~._Hbthq:after{content:\"\"}._lBka9{color:#32363a;display:flex;align-items:center;cursor:pointer}._Lm1nq{cursor:auto;color:hsla(0,0%,53.7%,.4)}._Gamj6{margin-right:12px;flex-shrink:0}._Hbthq{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._RgwNS{fill:#0b6ed0;fill-opacity:0}._Hbthq:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._wWp-z{border:none;padding:0;margin:0}._eIi2n{padding:0;margin:0 0 14px;color:#01213f}._uCfKE.focus-visible~._Hbthq,._uCfKE:focus-visible~._Hbthq{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9407
9413
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$a);}
|
|
9408
9414
|
|
|
9409
9415
|
const {
|
|
@@ -9516,9 +9522,9 @@ const RadioGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
9516
9522
|
}, label), children));
|
|
9517
9523
|
});
|
|
9518
9524
|
|
|
9519
|
-
var css_248z$9 = ".
|
|
9520
|
-
var styles$9 = {"searchInput":"
|
|
9521
|
-
var stylesheet$9=".
|
|
9525
|
+
var css_248z$9 = "._8fGR2{display:inline-block;position:relative}._JIZkT._JIZkT{padding-left:36px;padding-right:36px;width:100%}._JIZkT._JIZkT:disabled+._R-yft{fill-opacity:.6}._R-yft{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._R-yft._Jlxmz{z-index:20}._tHiqL{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._tHiqL:hover{cursor:pointer}._tHiqL:hover>._p3Vb-{fill:#32363a}._tHiqL:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._p3Vb-{fill:#515559}";
|
|
9526
|
+
var styles$9 = {"searchInput":"_8fGR2","searchInputInput":"_JIZkT","searchInputSearchIcon":"_R-yft","usedWithinInputGroup":"_Jlxmz","searchInputClearButton":"_tHiqL","searchInputClearButtonIcon":"_p3Vb-"};
|
|
9527
|
+
var stylesheet$9="._8fGR2{display:inline-block;position:relative}._JIZkT._JIZkT{padding-left:36px;padding-right:36px;width:100%}._JIZkT._JIZkT:disabled+._R-yft{fill-opacity:.6}._R-yft{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._R-yft._Jlxmz{z-index:20}._tHiqL{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._tHiqL:hover{cursor:pointer}._tHiqL:hover>._p3Vb-{fill:#32363a}._tHiqL:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._p3Vb-{fill:#515559}";
|
|
9522
9528
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$9);}
|
|
9523
9529
|
|
|
9524
9530
|
const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -9553,7 +9559,7 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9553
9559
|
React.useEffect(() => {
|
|
9554
9560
|
if (wasInputValueCleared) {
|
|
9555
9561
|
var _inputRef$current;
|
|
9556
|
-
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0
|
|
9562
|
+
(_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
|
|
9557
9563
|
setWasInputValueCleared(false);
|
|
9558
9564
|
}
|
|
9559
9565
|
}, [wasInputValueCleared]);
|
|
@@ -9573,7 +9579,7 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9573
9579
|
|
|
9574
9580
|
clearInputText();
|
|
9575
9581
|
}
|
|
9576
|
-
onKeyDown === null || onKeyDown === void 0
|
|
9582
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
9577
9583
|
};
|
|
9578
9584
|
return /*#__PURE__*/React__default["default"].createElement("span", {
|
|
9579
9585
|
className: classNames__default["default"](styles$9.searchInput, className),
|
|
@@ -9620,9 +9626,9 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9620
9626
|
|
|
9621
9627
|
/* eslint-disable import/prefer-default-export */
|
|
9622
9628
|
|
|
9623
|
-
var css_248z$8 = ".
|
|
9624
|
-
var styles$8 = {"sideBarNav":"
|
|
9625
|
-
var stylesheet$8=".
|
|
9629
|
+
var css_248z$8 = "._MIRoF{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._MIRoF._mHuT9{width:69px;min-width:auto;max-width:none}._eSEt5{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._feXh4{margin-bottom:12px;background-color:transparent!important}._feXh4:hover{background-color:#efefef!important}._feXh4:hover ._axPXK{fill:#32363a}._feXh4:hover ._FQ-P4{color:#32363a}._feXh4:active{background-color:rgba(11,110,208,.12)!important}._feXh4:active ._axPXK{fill:#0854a1}._feXh4:active ._FQ-P4{color:#0854a1}._feXh4._iUm-F{background-color:rgba(11,110,208,.08)!important}._feXh4._iUm-F ._axPXK{fill:#0b6ed0}._feXh4._iUm-F ._FQ-P4{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._feXh4._iUm-F:hover{background-color:rgba(11,110,208,.15)!important}._feXh4._iUm-F:hover ._axPXK{fill:#085caf}._feXh4._iUm-F:hover ._FQ-P4{color:#085caf}._feXh4._iUm-F:active{background-color:rgba(11,110,208,.12)!important}._feXh4._iUm-F:active ._axPXK{fill:#0854a1}._feXh4._iUm-F:active ._FQ-P4{color:#0854a1}._q3YSw{border-radius:6px}._q3YSw ._axPXK{display:block;fill:#515559}._qrJ8O{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._kdf6D,._KJ-bS{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._kdf6D ._axPXK,._KJ-bS ._axPXK{fill:#515559}._kdf6D ._FQ-P4,._KJ-bS ._FQ-P4{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._feXh4.focus-visible,._feXh4:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9630
|
+
var styles$8 = {"sideBarNav":"_MIRoF","collapsed":"_mHuT9","navItems":"_eSEt5","sidebarNavItem":"_feXh4","icon":"_axPXK","label":"_FQ-P4","selected":"_iUm-F","sidebarNavItemIconButton":"_q3YSw","expandCollapseButtonContainer":"_qrJ8O","navLink":"_KJ-bS","iconButtonWithLabel":"_kdf6D"};
|
|
9631
|
+
var stylesheet$8="._MIRoF{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._MIRoF._mHuT9{width:69px;min-width:auto;max-width:none}._eSEt5{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._feXh4{margin-bottom:12px;background-color:transparent!important}._feXh4:hover{background-color:#efefef!important}._feXh4:hover ._axPXK{fill:#32363a}._feXh4:hover ._FQ-P4{color:#32363a}._feXh4:active{background-color:rgba(11,110,208,.12)!important}._feXh4:active ._axPXK{fill:#0854a1}._feXh4:active ._FQ-P4{color:#0854a1}._feXh4._iUm-F{background-color:rgba(11,110,208,.08)!important}._feXh4._iUm-F ._axPXK{fill:#0b6ed0}._feXh4._iUm-F ._FQ-P4{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._feXh4._iUm-F:hover{background-color:rgba(11,110,208,.15)!important}._feXh4._iUm-F:hover ._axPXK{fill:#085caf}._feXh4._iUm-F:hover ._FQ-P4{color:#085caf}._feXh4._iUm-F:active{background-color:rgba(11,110,208,.12)!important}._feXh4._iUm-F:active ._axPXK{fill:#0854a1}._feXh4._iUm-F:active ._FQ-P4{color:#0854a1}._q3YSw{border-radius:6px}._q3YSw ._axPXK{display:block;fill:#515559}._qrJ8O{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._kdf6D,._KJ-bS{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._kdf6D ._axPXK,._KJ-bS ._axPXK{fill:#515559}._kdf6D ._FQ-P4,._KJ-bS ._FQ-P4{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._feXh4.focus-visible,._feXh4:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9626
9632
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$8);}
|
|
9627
9633
|
|
|
9628
9634
|
const {
|
|
@@ -9700,7 +9706,7 @@ const SidebarNav = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9700
9706
|
React.useEffect(() => {
|
|
9701
9707
|
if (isExpandCollapseButtonFocused) {
|
|
9702
9708
|
var _expandCollapseButton;
|
|
9703
|
-
(_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0
|
|
9709
|
+
(_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 || _expandCollapseButton.focus();
|
|
9704
9710
|
}
|
|
9705
9711
|
}, [isCollapsed, isExpandCollapseButtonFocused]);
|
|
9706
9712
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -9777,9 +9783,9 @@ const SidebarNavLink = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
9777
9783
|
return link;
|
|
9778
9784
|
});
|
|
9779
9785
|
|
|
9780
|
-
var css_248z$7 = ".
|
|
9781
|
-
var styles$7 = {"slider":"
|
|
9782
|
-
var stylesheet$7=".
|
|
9786
|
+
var css_248z$7 = "._JVog3{height:auto;width:200px;padding:5px 10px}._TAEU7{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._3d0Yk{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._3d0Yk,._ZtVl0{position:absolute}._ZtVl0{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._ZtVl0:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._ZtVl0.focus-visible,._ZtVl0:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9787
|
+
var styles$7 = {"slider":"_JVog3","track":"_TAEU7","fill":"_3d0Yk","button":"_ZtVl0"};
|
|
9788
|
+
var stylesheet$7="._JVog3{height:auto;width:200px;padding:5px 10px}._TAEU7{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._3d0Yk{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._3d0Yk,._ZtVl0{position:absolute}._ZtVl0{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._ZtVl0:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._ZtVl0.focus-visible,._ZtVl0:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
9783
9789
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$7);}
|
|
9784
9790
|
|
|
9785
9791
|
const buttonOffset = -10;
|
|
@@ -10107,9 +10113,9 @@ const RangeSlider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
10107
10113
|
}))));
|
|
10108
10114
|
});
|
|
10109
10115
|
|
|
10110
|
-
var css_248z$6 = ".
|
|
10111
|
-
var styles$6 = {"switch":"
|
|
10112
|
-
var stylesheet$6=".
|
|
10116
|
+
var css_248z$6 = "._78UcM{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._78UcM._I-lwU{cursor:not-allowed}._c85Zd{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._c85Zd:disabled{cursor:not-allowed}._c85Zd:disabled~._MRg7F{opacity:.4}._c85Zd:checked~._MRg7F{background-color:#0b6ed0}._c85Zd:checked~._MRg7F:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._c85Zd:hover:not(:disabled):not(:checked)~._MRg7F{background-color:#6a6a6a}._c85Zd:hover:not(:disabled):checked~._MRg7F{background-color:#085caf}._c85Zd:hover:not(:disabled):checked~._MRg7F:before{border-color:#085caf}._MRg7F{width:32px;background-color:#898989;border-radius:34px}._MRg7F,._MRg7F:before{height:16px;transition:.2s}._MRg7F:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._TPLHa{color:#32363a;display:flex;align-items:center;cursor:pointer}._Abp8I{cursor:auto;color:hsla(0,0%,53.7%,.4)}._vMAZI{margin-right:12px;flex-shrink:0}._c85Zd.focus-visible~._MRg7F,._c85Zd:focus-visible~._MRg7F{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10117
|
+
var styles$6 = {"switch":"_78UcM","disabled":"_I-lwU","input":"_c85Zd","slider":"_MRg7F","label":"_TPLHa","labelDisabled":"_Abp8I","wrappedInput":"_vMAZI"};
|
|
10118
|
+
var stylesheet$6="._78UcM{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._78UcM._I-lwU{cursor:not-allowed}._c85Zd{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._c85Zd:disabled{cursor:not-allowed}._c85Zd:disabled~._MRg7F{opacity:.4}._c85Zd:checked~._MRg7F{background-color:#0b6ed0}._c85Zd:checked~._MRg7F:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._c85Zd:hover:not(:disabled):not(:checked)~._MRg7F{background-color:#6a6a6a}._c85Zd:hover:not(:disabled):checked~._MRg7F{background-color:#085caf}._c85Zd:hover:not(:disabled):checked~._MRg7F:before{border-color:#085caf}._MRg7F{width:32px;background-color:#898989;border-radius:34px}._MRg7F,._MRg7F:before{height:16px;transition:.2s}._MRg7F:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._TPLHa{color:#32363a;display:flex;align-items:center;cursor:pointer}._Abp8I{cursor:auto;color:hsla(0,0%,53.7%,.4)}._vMAZI{margin-right:12px;flex-shrink:0}._c85Zd.focus-visible~._MRg7F,._c85Zd:focus-visible~._MRg7F{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10113
10119
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$6);}
|
|
10114
10120
|
|
|
10115
10121
|
const Switch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -10190,9 +10196,9 @@ const SwitchField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
10190
10196
|
}), label);
|
|
10191
10197
|
});
|
|
10192
10198
|
|
|
10193
|
-
var css_248z$5 = ".
|
|
10194
|
-
var styles$5 = {"table":"
|
|
10195
|
-
var stylesheet$5=".
|
|
10199
|
+
var css_248z$5 = "._r7oZr{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._r7oZr ._-PaQd:first-child,._r7oZr ._Pa4-y:first-child{padding-left:16px}._OyjBI{font-size:12px}._Pa4-y{padding:12px 8px;text-align:left;font-weight:700}._GUZ3x ._zP6yY{border-top:1px solid #ededed}._GUZ3x ._zP6yY:hover{background-color:#fafafa}._zP6yY{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._-PaQd{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
10200
|
+
var styles$5 = {"table":"_r7oZr","tableCell":"_-PaQd","tableHeaderCell":"_Pa4-y","tableHead":"_OyjBI","tableBody":"_GUZ3x","tableRow":"_zP6yY"};
|
|
10201
|
+
var stylesheet$5="._r7oZr{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._r7oZr ._-PaQd:first-child,._r7oZr ._Pa4-y:first-child{padding-left:16px}._OyjBI{font-size:12px}._Pa4-y{padding:12px 8px;text-align:left;font-weight:700}._GUZ3x ._zP6yY{border-top:1px solid #ededed}._GUZ3x ._zP6yY:hover{background-color:#fafafa}._zP6yY{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._-PaQd{padding:16px 8px;word-break:break-word;text-align:left}";
|
|
10196
10202
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$5);}
|
|
10197
10203
|
|
|
10198
10204
|
const Table = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -10324,9 +10330,9 @@ const Tabs$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
|
|
|
10324
10330
|
}, children));
|
|
10325
10331
|
});
|
|
10326
10332
|
|
|
10327
|
-
var css_248z$4 = ".
|
|
10328
|
-
var styles$4 = {"tablist":"
|
|
10329
|
-
var stylesheet$4=".
|
|
10333
|
+
var css_248z$4 = "._-YEGm{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._-YEGm._Ft5rn ._lVS6j{flex:1 1 0px;max-width:none}._lVS6j{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._lVS6j:hover{color:#32363a}._lVS6j._x7Otz{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._SQKl6{padding-top:32px}._SQKl6._DhAbA{display:none}._lVS6j.focus-visible,._lVS6j:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10334
|
+
var styles$4 = {"tablist":"_-YEGm","grow":"_Ft5rn","tab":"_lVS6j","selected":"_x7Otz","tabpanel":"_SQKl6","inactive":"_DhAbA"};
|
|
10335
|
+
var stylesheet$4="._-YEGm{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._-YEGm._Ft5rn ._lVS6j{flex:1 1 0px;max-width:none}._lVS6j{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._lVS6j:hover{color:#32363a}._lVS6j._x7Otz{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._SQKl6{padding-top:32px}._SQKl6._DhAbA{display:none}._lVS6j.focus-visible,._lVS6j:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
10330
10336
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$4);}
|
|
10331
10337
|
|
|
10332
10338
|
const Tab$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
@@ -10520,9 +10526,9 @@ const UIProvider = _ref => {
|
|
|
10520
10526
|
}, children));
|
|
10521
10527
|
};
|
|
10522
10528
|
|
|
10523
|
-
var css_248z$3 = ".
|
|
10524
|
-
var styles$3 = {"colorPickerBtnColor":"
|
|
10525
|
-
var stylesheet$3=".
|
|
10529
|
+
var css_248z$3 = "._anOD7{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._qUsX-{margin-right:-12px;margin-left:4px}._4nekB{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._PGQIV{margin:8px 8px 0;display:flex}._Au2Un,._Pl8Q6{margin-left:4px}._tMypw{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._ZJg3W{margin:0 4px 4px 0}._ZJg3W:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._ZkEp9{margin:4px 8px 8px}._kYPRP{position:relative;width:96px;height:96px;outline:0}._kYPRP.focus-visible ._q0DUl,._kYPRP:focus-visible ._q0DUl{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Wbati{background:linear-gradient(90deg,#fff,transparent)}._8mIt2,._Wbati{position:absolute;top:0;right:0;bottom:0;left:0}._8mIt2{background:linear-gradient(0deg,#000,transparent)}._q0DUl{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._9KLvu{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._9KLvu.focus-visible ._2JTRV,._9KLvu:focus-visible ._2JTRV{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2JTRV{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._A7E-X{position:relative;width:16px;height:96px}._FMvqj{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._FMvqj,._MFsWx{position:absolute}._MFsWx{top:0;right:0;bottom:0;left:0;outline:0}._MFsWx.focus-visible ._FMvqj,._MFsWx:focus-visible ._FMvqj{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._uN5DZ{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._pRgf8{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._pRgf8.focus-visible,._pRgf8:focus-visible{outline:none}._pRgf8.focus-visible,._pRgf8:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3PHbV{display:flex}._3PHbV ._Qq-F6{position:relative;flex-shrink:0;width:26px;height:26px}._3PHbV ._OUDpZ{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._3PHbV ._UR1mQ{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
10530
|
+
var styles$3 = {"colorPickerBtnColor":"_anOD7","colorPickerBtnIcon":"_qUsX-","colorPicker":"_4nekB","colorPickerSliderContainer":"_PGQIV","colorPickerHue":"_Pl8Q6","colorPickerAlpha":"_Au2Un","colorPickerSwatches":"_tMypw","colorPickerSwatch":"_ZJg3W","colorPickerHex":"_ZkEp9","saturation":"_kYPRP","saturationCircle":"_q0DUl","saturationWhite":"_Wbati","saturationBlack":"_8mIt2","hue":"_9KLvu","hueSlider":"_2JTRV","alpha":"_A7E-X","alphaSlider":"_FMvqj","alphaGradient":"_MFsWx","alphaCheckerboard":"_uN5DZ","swatch":"_pRgf8","hex":"_3PHbV","hexSwatch":"_Qq-F6","hexSwatchColor":"_OUDpZ","hexInput":"_UR1mQ"};
|
|
10531
|
+
var stylesheet$3="._anOD7{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._qUsX-{margin-right:-12px;margin-left:4px}._4nekB{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._PGQIV{margin:8px 8px 0;display:flex}._Au2Un,._Pl8Q6{margin-left:4px}._tMypw{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._ZJg3W{margin:0 4px 4px 0}._ZJg3W:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._ZkEp9{margin:4px 8px 8px}._kYPRP{position:relative;width:96px;height:96px;outline:0}._kYPRP.focus-visible ._q0DUl,._kYPRP:focus-visible ._q0DUl{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Wbati{background:linear-gradient(90deg,#fff,transparent)}._8mIt2,._Wbati{position:absolute;top:0;right:0;bottom:0;left:0}._8mIt2{background:linear-gradient(0deg,#000,transparent)}._q0DUl{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._9KLvu{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._9KLvu.focus-visible ._2JTRV,._9KLvu:focus-visible ._2JTRV{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._2JTRV{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._A7E-X{position:relative;width:16px;height:96px}._FMvqj{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._FMvqj,._MFsWx{position:absolute}._MFsWx{top:0;right:0;bottom:0;left:0;outline:0}._MFsWx.focus-visible ._FMvqj,._MFsWx:focus-visible ._FMvqj{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._uN5DZ{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._pRgf8{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._pRgf8.focus-visible,._pRgf8:focus-visible{outline:none}._pRgf8.focus-visible,._pRgf8:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._3PHbV{display:flex}._3PHbV ._Qq-F6{position:relative;flex-shrink:0;width:26px;height:26px}._3PHbV ._OUDpZ{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._3PHbV ._UR1mQ{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
|
|
10526
10532
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$3);}
|
|
10527
10533
|
|
|
10528
10534
|
function useMouseDrag(handleChange) {
|
|
@@ -10619,13 +10625,13 @@ const Saturation = function Saturation(_ref) {
|
|
|
10619
10625
|
} = _ref;
|
|
10620
10626
|
const containerRef = React__default["default"].useRef(null);
|
|
10621
10627
|
const handleChange = useEventCallback(e => {
|
|
10622
|
-
onChange === null || onChange === void 0
|
|
10628
|
+
onChange === null || onChange === void 0 || onChange(getMouseChange$2(e, hsb, containerRef.current), e);
|
|
10623
10629
|
});
|
|
10624
10630
|
const handleMouseDown = useMouseDrag(handleChange);
|
|
10625
10631
|
function handleKeyDown(e) {
|
|
10626
10632
|
if (Object.keys(KEY_CHANGES$2).indexOf(e.key) > -1) {
|
|
10627
10633
|
const change = getKeyChange$2(e, hsb);
|
|
10628
|
-
onChange === null || onChange === void 0
|
|
10634
|
+
onChange === null || onChange === void 0 || onChange(change, e);
|
|
10629
10635
|
}
|
|
10630
10636
|
}
|
|
10631
10637
|
return (
|
|
@@ -10686,7 +10692,7 @@ const HexInput = function HexInput(_ref) {
|
|
|
10686
10692
|
function handleChange(e) {
|
|
10687
10693
|
setValue(e.target.value);
|
|
10688
10694
|
if (isValid(e.target.value)) {
|
|
10689
|
-
onChange === null || onChange === void 0
|
|
10695
|
+
onChange === null || onChange === void 0 || onChange(e.target.value, e);
|
|
10690
10696
|
}
|
|
10691
10697
|
}
|
|
10692
10698
|
function handleBlur() {
|
|
@@ -10725,7 +10731,7 @@ const Swatch = function Swatch(_ref) {
|
|
|
10725
10731
|
...rest
|
|
10726
10732
|
} = _ref;
|
|
10727
10733
|
function handleClick(e) {
|
|
10728
|
-
onClick === null || onClick === void 0
|
|
10734
|
+
onClick === null || onClick === void 0 || onClick(color, e);
|
|
10729
10735
|
}
|
|
10730
10736
|
const handleKeyDown = e => e.keyCode === ENTER && (onClick === null || onClick === void 0 ? void 0 : onClick(color, e));
|
|
10731
10737
|
return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
|
|
@@ -10784,13 +10790,13 @@ const Hue = function Hue(_ref) {
|
|
|
10784
10790
|
const containerRef = React__default["default"].useRef(null);
|
|
10785
10791
|
const handleChange = useEventCallback(e => {
|
|
10786
10792
|
const change = getMouseChange$1(e, hsb, containerRef.current);
|
|
10787
|
-
onChange === null || onChange === void 0
|
|
10793
|
+
onChange === null || onChange === void 0 || onChange(change, e);
|
|
10788
10794
|
});
|
|
10789
10795
|
const handleMouseDown = useMouseDrag(handleChange);
|
|
10790
10796
|
function handleKeyDown(e) {
|
|
10791
10797
|
if (Object.keys(KEY_CHANGES$1).indexOf(e.key) > -1) {
|
|
10792
10798
|
const change = getKeyChange$1(e, hsb);
|
|
10793
|
-
onChange === null || onChange === void 0
|
|
10799
|
+
onChange === null || onChange === void 0 || onChange(change, e);
|
|
10794
10800
|
}
|
|
10795
10801
|
}
|
|
10796
10802
|
return (
|
|
@@ -10861,13 +10867,13 @@ const Alpha = function Alpha(_ref) {
|
|
|
10861
10867
|
const containerRef = React__default["default"].useRef(null);
|
|
10862
10868
|
const handleChange = useEventCallback(e => {
|
|
10863
10869
|
const change = getMouseChange(e, hsl, alpha, containerRef.current);
|
|
10864
|
-
onChange === null || onChange === void 0
|
|
10870
|
+
onChange === null || onChange === void 0 || onChange(change, e);
|
|
10865
10871
|
});
|
|
10866
10872
|
const handleMouseDown = useMouseDrag(handleChange);
|
|
10867
10873
|
function handleKeyDown(e) {
|
|
10868
10874
|
if (Object.keys(KEY_CHANGES).indexOf(e.key) > -1) {
|
|
10869
10875
|
const change = getKeyChange(e, hsl);
|
|
10870
|
-
onChange === null || onChange === void 0
|
|
10876
|
+
onChange === null || onChange === void 0 || onChange(change, e);
|
|
10871
10877
|
}
|
|
10872
10878
|
}
|
|
10873
10879
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -11200,7 +11206,7 @@ const ColorPicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
11200
11206
|
function handleChange(rawColor, e) {
|
|
11201
11207
|
const nextColor = new Color(rawColor);
|
|
11202
11208
|
setColor(nextColor);
|
|
11203
|
-
onChange === null || onChange === void 0
|
|
11209
|
+
onChange === null || onChange === void 0 || onChange(nextColor.getValue(), e);
|
|
11204
11210
|
}
|
|
11205
11211
|
let alpha;
|
|
11206
11212
|
let width = 136;
|
|
@@ -11281,9 +11287,9 @@ const ColorPicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
|
|
|
11281
11287
|
|
|
11282
11288
|
/* eslint-disable camelcase */
|
|
11283
11289
|
|
|
11284
|
-
var css_248z$2 = ".
|
|
11285
|
-
var styles$2 = {"numberStepperContainer":"
|
|
11286
|
-
var stylesheet$2=".
|
|
11290
|
+
var css_248z$2 = "._AL0ap{display:inline-flex}._pueW4{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._pueW4:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._pueW4._qT01i{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._pueW4._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._pueW4._3-MRs>svg{opacity:.4}._pueW4::-webkit-inner-spin-button,._pueW4::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._pueW4:focus{z-index:0;border:none;border-radius:4px}._pueW4:focus:not(._qT01i){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-qE2h,._pueW4:focus:not(._3-MRs){background:#fafafa}._-qE2h{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._-qE2h:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._-qE2h:active:not(._3-MRs){background:#e5e5e5}._-qE2h._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-qE2h._3-MRs>svg{opacity:.4}._43PI-{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._43PI-:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._43PI-:active:not(._3-MRs){background:#e5e5e5}._43PI-._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._43PI-._3-MRs>svg{opacity:.4}._4O9dK{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
11291
|
+
var styles$2 = {"numberStepperContainer":"_AL0ap","numberStepperInput":"_pueW4","disabled":"_3-MRs","invalid":"_qT01i","decrementBtn":"_-qE2h","incrementBtn":"_43PI-","inputValueAlert":"_4O9dK"};
|
|
11292
|
+
var stylesheet$2="._AL0ap{display:inline-flex}._pueW4{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._pueW4:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._pueW4._qT01i{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._pueW4._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._pueW4._3-MRs>svg{opacity:.4}._pueW4::-webkit-inner-spin-button,._pueW4::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._pueW4:focus{z-index:0;border:none;border-radius:4px}._pueW4:focus:not(._qT01i){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-qE2h,._pueW4:focus:not(._3-MRs){background:#fafafa}._-qE2h{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._-qE2h:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._-qE2h:active:not(._3-MRs){background:#e5e5e5}._-qE2h._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-qE2h._3-MRs>svg{opacity:.4}._43PI-{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._43PI-:hover:not(._3-MRs){cursor:pointer;background:#f5f5f5}._43PI-:active:not(._3-MRs){background:#e5e5e5}._43PI-._3-MRs{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._43PI-._3-MRs>svg{opacity:.4}._4O9dK{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
|
|
11287
11293
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$2);}
|
|
11288
11294
|
|
|
11289
11295
|
const {
|
|
@@ -11349,7 +11355,7 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
|
|
|
11349
11355
|
* depending on the key that was pressed.
|
|
11350
11356
|
*/
|
|
11351
11357
|
const handleKeyDown = e => {
|
|
11352
|
-
onKeyDown === null || onKeyDown === void 0
|
|
11358
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
11353
11359
|
if (isExternallyDisabled) return;
|
|
11354
11360
|
if (e.key === 'ArrowUp') {
|
|
11355
11361
|
// Prevents browser's default increment
|
|
@@ -11384,7 +11390,7 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
|
|
|
11384
11390
|
* Selects the DOM element
|
|
11385
11391
|
*/
|
|
11386
11392
|
const handleFocus = e => {
|
|
11387
|
-
onFocus === null || onFocus === void 0
|
|
11393
|
+
onFocus === null || onFocus === void 0 || onFocus(e);
|
|
11388
11394
|
if (isExternallyDisabled) return;
|
|
11389
11395
|
e.target.select();
|
|
11390
11396
|
};
|
|
@@ -11394,7 +11400,7 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
|
|
|
11394
11400
|
* Calls `handleInputBlur`
|
|
11395
11401
|
*/
|
|
11396
11402
|
const handleBlur = e => {
|
|
11397
|
-
onBlur === null || onBlur === void 0
|
|
11403
|
+
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
11398
11404
|
if (isExternallyDisabled) return;
|
|
11399
11405
|
handleInputBlur(e);
|
|
11400
11406
|
};
|
|
@@ -11465,7 +11471,7 @@ const NumberStepperIncrement = /*#__PURE__*/React__default["default"].forwardRef
|
|
|
11465
11471
|
*/
|
|
11466
11472
|
const handleClick = e => {
|
|
11467
11473
|
if (!isDisabled) {
|
|
11468
|
-
onClick === null || onClick === void 0
|
|
11474
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
11469
11475
|
increment(true);
|
|
11470
11476
|
}
|
|
11471
11477
|
};
|
|
@@ -11524,7 +11530,7 @@ const NumberStepperDecrement = /*#__PURE__*/React__default["default"].forwardRef
|
|
|
11524
11530
|
*/
|
|
11525
11531
|
const handleClick = e => {
|
|
11526
11532
|
if (!isDisabled) {
|
|
11527
|
-
onClick === null || onClick === void 0
|
|
11533
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
11528
11534
|
decrement(true);
|
|
11529
11535
|
}
|
|
11530
11536
|
};
|
|
@@ -11730,9 +11736,9 @@ function clampMinMax(value, _ref2) {
|
|
|
11730
11736
|
|
|
11731
11737
|
/* eslint-disable camelcase */
|
|
11732
11738
|
|
|
11733
|
-
var css_248z$1 = ".
|
|
11734
|
-
var styles$1 = {"tabs":"
|
|
11735
|
-
var stylesheet$1=".
|
|
11739
|
+
var css_248z$1 = "._c-Pao{display:block}._Q9QIv{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._8BjVg{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._8BjVg:hover{color:#32363a}._8BjVg:focus{outline:none}._8BjVg._5by0T{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._c-gRO{padding-top:32px}._c-gRO._ZKdv4{display:none}._8BjVg.focus-visible,._8BjVg:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
11740
|
+
var styles$1 = {"tabs":"_c-Pao","bar":"_Q9QIv","tab":"_8BjVg","active":"_5by0T","panel":"_c-gRO","inactive":"_ZKdv4"};
|
|
11741
|
+
var stylesheet$1="._c-Pao{display:block}._Q9QIv{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._8BjVg{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._8BjVg:hover{color:#32363a}._8BjVg:focus{outline:none}._8BjVg._5by0T{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._c-gRO{padding-top:32px}._c-gRO._ZKdv4{display:none}._8BjVg.focus-visible,._8BjVg:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
|
|
11736
11742
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z$1);}
|
|
11737
11743
|
|
|
11738
11744
|
const {
|
|
@@ -11772,7 +11778,7 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
11772
11778
|
setTabIndexOfActiveTab(0);
|
|
11773
11779
|
};
|
|
11774
11780
|
const handleSelect = key => {
|
|
11775
|
-
onChange === null || onChange === void 0
|
|
11781
|
+
onChange === null || onChange === void 0 || onChange(key);
|
|
11776
11782
|
};
|
|
11777
11783
|
const handleKeyDown = (event, tabElementKey, index) => {
|
|
11778
11784
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
@@ -11813,12 +11819,12 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
11813
11819
|
}),
|
|
11814
11820
|
onKeyDown: event => {
|
|
11815
11821
|
var _child$props$onKeyDow, _child$props;
|
|
11816
|
-
(_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0
|
|
11822
|
+
(_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0 || _child$props$onKeyDow.call(_child$props);
|
|
11817
11823
|
handleKeyDown(event, key, index);
|
|
11818
11824
|
},
|
|
11819
11825
|
onClick: () => {
|
|
11820
11826
|
var _child$props$onClick, _child$props2;
|
|
11821
|
-
(_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0
|
|
11827
|
+
(_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props2);
|
|
11822
11828
|
handleSelect(key);
|
|
11823
11829
|
},
|
|
11824
11830
|
'aria-controls': tabPanelIdPrefix + key
|
|
@@ -11889,9 +11895,9 @@ const Tab = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
|
|
|
11889
11895
|
|
|
11890
11896
|
/* eslint-disable camelcase */
|
|
11891
11897
|
|
|
11892
|
-
var css_248z = ".
|
|
11893
|
-
var styles = {"toolbar":"
|
|
11894
|
-
var stylesheet=".
|
|
11898
|
+
var css_248z = "._PwG4O,._tQl2z{display:flex}._PwG4O{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._kPorN{width:69px;min-width:auto;max-width:none}._8OIxh{width:100%}._8Atdd{margin-bottom:12px;background-color:transparent!important}._8Atdd:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd:hover>svg{fill:#085caf}._8Atdd:hover>span{color:#085caf}._8Atdd:active{background-color:rgba(11,110,208,.12)!important}._8Atdd:active>svg{fill:#0854a1}._8Atdd:active>span{color:#0854a1}._8Atdd._X4qJH{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH>svg{fill:#0b6ed0}._8Atdd._X4qJH>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._8Atdd._X4qJH:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH:hover>svg{fill:#085caf}._8Atdd._X4qJH:hover>span{color:#085caf}._8Atdd._X4qJH:active{background-color:rgba(11,110,208,.12)!important}._8Atdd._X4qJH:active>svg{fill:#0854a1}._8Atdd._X4qJH:active>span{color:#0854a1}._wOBR1{border-radius:6px}._wOBR1>._C-6bH{display:block;fill:#515559}._AimN4{margin-top:auto;margin-bottom:0}._20--C{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._20--C:hover>._8N2Rn{opacity:1}._uwQVs{width:0;border-width:0;padding:0}._vt5ZB{border-radius:4px;min-width:100%;min-height:100%;outline:none}._OC8vq{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._8N2Rn{opacity:0}._8N2Rn:hover,._k8L-z,._OC8vq._GR22Q._GR22Q{opacity:1}._OC8vq._-nxVJ._-nxVJ{opacity:0}._OC8vq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._OC8vq>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._OC8vq>span:hover>svg{fill:#fff}._OC8vq>span:active{background-color:#0854a1;border-color:#0854a1}._OC8vq>span:active>svg{fill:#fff}._OC8vq>span>svg{fill:#515559;border-radius:50%}._vt5ZB._0g2K8{display:none!important}._4JdW7{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._jZBeq{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._3gGrt{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._royYN{fill:#515559}._djNW6{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._3gGrt.focus-visible,._3gGrt:focus-visible,._4JdW7.focus-visible,._4JdW7:focus-visible,._vt5ZB.focus-visible,._vt5ZB:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OC8vq.focus-visible,._OC8vq:focus-visible{border-color:#0a3f88}._OC8vq:active>span{background-color:#0854a1;border-color:#0854a1}._OC8vq:active>span>svg{fill:#fff}._8N2Rn.focus-visible,._8N2Rn:focus-visible{opacity:1}";
|
|
11899
|
+
var styles = {"toolbar":"_tQl2z","toolbarNav":"_PwG4O","toolbarNavCollapsed":"_kPorN","toolbarTabs":"_8OIxh","toolbarTab":"_8Atdd","selected":"_X4qJH","toolbarTabIconButton":"_wOBR1","icon":"_C-6bH","tabsExpandCollapseButton":"_AimN4","toolbarPanels":"_20--C","toolbarPanelExpandCollapseButtonDefaultHidden":"_8N2Rn","toolbarPanelsCollapsed":"_uwQVs","toolbarPanel":"_vt5ZB","toolbarPanelExpandCollapseButton":"_OC8vq","toolbarPanelExpandCollapseButtonDefaultShown":"_k8L-z","overrideShow":"_GR22Q","overrideHide":"_-nxVJ","notSelected":"_0g2K8","buttonWithLabel":"_4JdW7","buttonWithLabelLabel":"_jZBeq","iconButtonWithLabel":"_3gGrt","iconButtonWithLabelIcon":"_royYN","iconButtonWithLabelLabel":"_djNW6"};
|
|
11900
|
+
var stylesheet="._PwG4O,._tQl2z{display:flex}._PwG4O{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._kPorN{width:69px;min-width:auto;max-width:none}._8OIxh{width:100%}._8Atdd{margin-bottom:12px;background-color:transparent!important}._8Atdd:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd:hover>svg{fill:#085caf}._8Atdd:hover>span{color:#085caf}._8Atdd:active{background-color:rgba(11,110,208,.12)!important}._8Atdd:active>svg{fill:#0854a1}._8Atdd:active>span{color:#0854a1}._8Atdd._X4qJH{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH>svg{fill:#0b6ed0}._8Atdd._X4qJH>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._8Atdd._X4qJH:hover{background-color:rgba(11,110,208,.08)!important}._8Atdd._X4qJH:hover>svg{fill:#085caf}._8Atdd._X4qJH:hover>span{color:#085caf}._8Atdd._X4qJH:active{background-color:rgba(11,110,208,.12)!important}._8Atdd._X4qJH:active>svg{fill:#0854a1}._8Atdd._X4qJH:active>span{color:#0854a1}._wOBR1{border-radius:6px}._wOBR1>._C-6bH{display:block;fill:#515559}._AimN4{margin-top:auto;margin-bottom:0}._20--C{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._20--C:hover>._8N2Rn{opacity:1}._uwQVs{width:0;border-width:0;padding:0}._vt5ZB{border-radius:4px;min-width:100%;min-height:100%;outline:none}._OC8vq{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._8N2Rn{opacity:0}._8N2Rn:hover,._k8L-z,._OC8vq._GR22Q._GR22Q{opacity:1}._OC8vq._-nxVJ._-nxVJ{opacity:0}._OC8vq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._OC8vq>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._OC8vq>span:hover>svg{fill:#fff}._OC8vq>span:active{background-color:#0854a1;border-color:#0854a1}._OC8vq>span:active>svg{fill:#fff}._OC8vq>span>svg{fill:#515559;border-radius:50%}._vt5ZB._0g2K8{display:none!important}._4JdW7{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._jZBeq{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._3gGrt{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._royYN{fill:#515559}._djNW6{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._3gGrt.focus-visible,._3gGrt:focus-visible,._4JdW7.focus-visible,._4JdW7:focus-visible,._vt5ZB.focus-visible,._vt5ZB:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._OC8vq.focus-visible,._OC8vq:focus-visible{border-color:#0a3f88}._OC8vq:active>span{background-color:#0854a1;border-color:#0854a1}._OC8vq:active>span>svg{fill:#fff}._8N2Rn.focus-visible,._8N2Rn:focus-visible{opacity:1}";
|
|
11895
11901
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){icons_index.styleInject(css_248z);}
|
|
11896
11902
|
|
|
11897
11903
|
const {
|
|
@@ -11989,10 +11995,10 @@ const ToolbarTabs = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
11989
11995
|
if (isExpandCollapseButtonFocused) {
|
|
11990
11996
|
if (isCollapsed) {
|
|
11991
11997
|
var _expandToolbarTabsIco;
|
|
11992
|
-
(_expandToolbarTabsIco = expandToolbarTabsIconButtonRef.current) === null || _expandToolbarTabsIco === void 0
|
|
11998
|
+
(_expandToolbarTabsIco = expandToolbarTabsIconButtonRef.current) === null || _expandToolbarTabsIco === void 0 || _expandToolbarTabsIco.focus();
|
|
11993
11999
|
} else {
|
|
11994
12000
|
var _collapseToolbarTabsI;
|
|
11995
|
-
(_collapseToolbarTabsI = collapseToolbarTabsIconButtonWithLabelRef.current) === null || _collapseToolbarTabsI === void 0
|
|
12001
|
+
(_collapseToolbarTabsI = collapseToolbarTabsIconButtonWithLabelRef.current) === null || _collapseToolbarTabsI === void 0 || _collapseToolbarTabsI.focus();
|
|
11996
12002
|
}
|
|
11997
12003
|
}
|
|
11998
12004
|
}, [isCollapsed, isExpandCollapseButtonFocused]);
|
|
@@ -12006,7 +12012,7 @@ const ToolbarTabs = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
12006
12012
|
const numTabs = React__default["default"].Children.count(children);
|
|
12007
12013
|
const focusTab = index => {
|
|
12008
12014
|
var _tabRefs$current;
|
|
12009
|
-
(_tabRefs$current = tabRefs.current) === null || _tabRefs$current === void 0 || (_tabRefs$current = _tabRefs$current[index]) === null || _tabRefs$current === void 0
|
|
12015
|
+
(_tabRefs$current = tabRefs.current) === null || _tabRefs$current === void 0 || (_tabRefs$current = _tabRefs$current[index]) === null || _tabRefs$current === void 0 || _tabRefs$current.focus();
|
|
12010
12016
|
setFocusedIndex(index);
|
|
12011
12017
|
};
|
|
12012
12018
|
|
|
@@ -12116,7 +12122,7 @@ const ToolbarTab = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
12116
12122
|
const isFocused = focusedIndex === index;
|
|
12117
12123
|
const isSelected = selectedIndex === index;
|
|
12118
12124
|
const handleSelect = () => {
|
|
12119
|
-
setSelectedIndex === null || setSelectedIndex === void 0
|
|
12125
|
+
setSelectedIndex === null || setSelectedIndex === void 0 || setSelectedIndex(Number(index));
|
|
12120
12126
|
};
|
|
12121
12127
|
const handleClick = e => {
|
|
12122
12128
|
/*
|
|
@@ -12135,22 +12141,22 @@ const ToolbarTab = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
12135
12141
|
case 'ArrowDown':
|
|
12136
12142
|
case 'ArrowRight':
|
|
12137
12143
|
e.preventDefault(); // Prevent page scroll
|
|
12138
|
-
focusTab === null || focusTab === void 0
|
|
12144
|
+
focusTab === null || focusTab === void 0 || focusTab(getNextIndex(focusedIndex, numTabs));
|
|
12139
12145
|
break;
|
|
12140
12146
|
case 'ArrowUp':
|
|
12141
12147
|
case 'ArrowLeft':
|
|
12142
12148
|
e.preventDefault(); // Prevent page scroll
|
|
12143
|
-
focusTab === null || focusTab === void 0
|
|
12149
|
+
focusTab === null || focusTab === void 0 || focusTab(getPrevIndex(focusedIndex, numTabs));
|
|
12144
12150
|
break;
|
|
12145
12151
|
case 'PageUp':
|
|
12146
12152
|
case 'Home':
|
|
12147
12153
|
e.preventDefault(); // Prevent page scroll
|
|
12148
|
-
focusTab === null || focusTab === void 0
|
|
12154
|
+
focusTab === null || focusTab === void 0 || focusTab(0);
|
|
12149
12155
|
break;
|
|
12150
12156
|
case 'PageDown':
|
|
12151
12157
|
case 'End':
|
|
12152
12158
|
e.preventDefault(); // Prevent page scroll
|
|
12153
|
-
focusTab === null || focusTab === void 0
|
|
12159
|
+
focusTab === null || focusTab === void 0 || focusTab(Number(numTabs) - 1);
|
|
12154
12160
|
break;
|
|
12155
12161
|
default:
|
|
12156
12162
|
}
|
|
@@ -12298,7 +12304,7 @@ const ToolbarPanels = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
|
|
|
12298
12304
|
*/
|
|
12299
12305
|
if (wasExpandCollapseButtonClicked) {
|
|
12300
12306
|
var _expandCollapseButton;
|
|
12301
|
-
(_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0
|
|
12307
|
+
(_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 || _expandCollapseButton.focus();
|
|
12302
12308
|
setWasExpandCollapseButtonClicked(false);
|
|
12303
12309
|
}
|
|
12304
12310
|
}, [wasExpandCollapseButtonClicked]);
|