@qualtrics/ui-react 2.21.0 → 2.22.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.
Files changed (204) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/__shared/cjs/{index-201e8786.js → index-025620bf.js} +666 -549
  3. package/dist/__shared/cjs/{index-0ae99de2.js → index-41a013d2.js} +4 -4
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion2.js +3 -3
  6. package/dist/components/Accordion/AccordionHeader.js +4 -4
  7. package/dist/components/Accordion/AccordionPanel.js +3 -3
  8. package/dist/components/Button/Button.js +3 -3
  9. package/dist/components/Button/Button2.js +2 -2
  10. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  11. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  12. package/dist/components/Checkbox/Checkbox.js +11 -11
  13. package/dist/components/Checkbox/Checkbox2.js +3 -3
  14. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  15. package/dist/components/ColorPicker/Alpha.js +12 -9
  16. package/dist/components/ColorPicker/ColorPicker.js +10 -8
  17. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  18. package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +8 -6
  19. package/dist/components/ColorPicker/Hue.js +3 -2
  20. package/dist/components/ColorPicker/Palette.js +7 -5
  21. package/dist/components/ColorPicker/Saturation.js +9 -8
  22. package/dist/components/ColorPicker/utils/hexToRgbaString.js +3 -2
  23. package/dist/components/ColorPicker/utils/rgbToHex.js +1 -1
  24. package/dist/components/ColorPicker/utils/validateHex.js +10 -9
  25. package/dist/components/Combobox/Combobox.js +47 -26
  26. package/dist/components/Combobox/Combobox2.js +3 -3
  27. package/dist/components/Combobox/ComboboxHeader.js +1 -1
  28. package/dist/components/Combobox/ComboboxIcon.js +3 -2
  29. package/dist/components/Combobox/ComboboxInput.js +4 -4
  30. package/dist/components/Combobox/ComboboxList.js +2 -2
  31. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  32. package/dist/components/Divider/Divider2.js +3 -3
  33. package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +5 -2
  34. package/dist/components/Dropdown/Dropdown.js +14 -9
  35. package/dist/components/Dropdown/Dropdown2.js +3 -3
  36. package/dist/components/Dropdown/DropdownButton.js +23 -19
  37. package/dist/components/Dropdown/DropdownList.js +4 -4
  38. package/dist/components/Dropdown/DropdownOption.js +4 -3
  39. package/dist/components/Dropdown/DropdownSearch.js +10 -4
  40. package/dist/components/FilePicker/FilePicker.js +13 -6
  41. package/dist/components/FilePicker/FilePicker2.js +3 -3
  42. package/dist/components/FormField/Caption.js +3 -3
  43. package/dist/components/FormField/FormField.js +2 -2
  44. package/dist/components/FormField/FormField2.js +3 -3
  45. package/dist/components/FormField/FormFieldContext.js +3 -3
  46. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +5 -3
  47. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  48. package/dist/components/Icon/Icon.js +2 -2
  49. package/dist/components/IconButton/IconButton2.js +3 -3
  50. package/dist/components/InlineInput/InlineInput.js +12 -9
  51. package/dist/components/InlineInput/InlineInput2.js +3 -3
  52. package/dist/components/Input/Input.js +1 -1
  53. package/dist/components/Input/Input2.js +3 -3
  54. package/dist/components/Input/InputField.js +2 -2
  55. package/dist/components/InputGroup/InputGroup2.js +3 -3
  56. package/dist/components/Label/Label2.js +3 -3
  57. package/dist/components/Link/Link2.js +3 -3
  58. package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -1
  59. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  60. package/dist/components/LogicEditor/ConditionSet.js +5 -5
  61. package/dist/components/LogicEditor/LogicEditor.js +1 -1
  62. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  63. package/dist/components/LogicEditor/utils.js +2 -1
  64. package/dist/components/Modal/Modal.js +14 -13
  65. package/dist/components/Modal/Modal2.js +3 -3
  66. package/dist/components/NewMenu/BaseMenu.js +41 -30
  67. package/dist/components/NewMenu/NewMenu.js +3 -3
  68. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
  69. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +10 -7
  70. package/dist/components/NewMenu/parts/MenuItem.js +1 -1
  71. package/dist/components/NumberStepper/NumberStepper.js +7 -6
  72. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  73. package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
  74. package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
  75. package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
  76. package/dist/components/PageLayout/PageLayout.js +3 -3
  77. package/dist/components/Pagination/Pagination.js +1 -1
  78. package/dist/components/Pagination/Pagination2.js +3 -3
  79. package/dist/components/Pagination/PaginationNextButton.js +5 -5
  80. package/dist/components/Pagination/PaginationPageInput.js +11 -9
  81. package/dist/components/Pagination/PaginationPreviousButton.js +5 -5
  82. package/dist/components/Popover/Popover.js +9 -7
  83. package/dist/components/Popover/Popover2.js +3 -3
  84. package/dist/components/QuickSearch/QuickSearch.js +4 -3
  85. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  86. package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
  87. package/dist/components/Radio/Radio.js +12 -11
  88. package/dist/components/Radio/Radio2.js +3 -3
  89. package/dist/components/SearchInput/SearchInput.js +4 -3
  90. package/dist/components/SearchInput/SearchInput2.js +3 -3
  91. package/dist/components/SidebarNav/SidebarNav.js +2 -1
  92. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  93. package/dist/components/SidebarNav/SidebarNavLink.js +1 -1
  94. package/dist/components/Slider/RangeSlider.js +2 -2
  95. package/dist/components/Slider/Slider.js +1 -1
  96. package/dist/components/Slider/Slider2.js +3 -3
  97. package/dist/components/Slider/SliderButton.js +1 -1
  98. package/dist/components/Switch/Switch.js +11 -11
  99. package/dist/components/Switch/Switch2.js +3 -3
  100. package/dist/components/Table/Table2.js +3 -3
  101. package/dist/components/Tabs/Tab.js +3 -3
  102. package/dist/components/Tabs/TabList.js +6 -5
  103. package/dist/components/Tabs/TabPanel.js +3 -3
  104. package/dist/components/Tabs/Tabs2.js +3 -3
  105. package/dist/components/Tooltip/Tooltip.js +10 -4
  106. package/dist/components/Tooltip/Tooltip2.js +3 -3
  107. package/dist/components/UIProvider/UIProvider.js +2 -2
  108. package/dist/components/deprecated_ColorPicker/Alpha.js +4 -4
  109. package/dist/components/deprecated_ColorPicker/Color.js +6 -6
  110. package/dist/components/deprecated_ColorPicker/ColorPicker.js +2 -2
  111. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  112. package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
  113. package/dist/components/deprecated_ColorPicker/Hue.js +3 -3
  114. package/dist/components/deprecated_ColorPicker/Saturation.js +5 -5
  115. package/dist/components/deprecated_ColorPicker/Swatch.js +2 -2
  116. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  117. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +2 -2
  118. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +2 -2
  119. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +8 -8
  120. package/dist/components/deprecated_Tabs/Tabs.js +11 -7
  121. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  122. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  123. package/dist/components/deprecated_Toolbar/ToolbarPanel.js +3 -3
  124. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +4 -2
  125. package/dist/components/deprecated_Toolbar/ToolbarTab.js +8 -8
  126. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +6 -3
  127. package/dist/hooks/useBreakpoints/useBreakpoints.js +1 -1
  128. package/dist/hooks/useClickOutside/useClickOutside.js +2 -1
  129. package/dist/hooks/useControllableState/useControllableState.js +2 -1
  130. package/dist/hooks/useEventListener/useEventListener.js +1 -1
  131. package/dist/hooks/useId/useId.js +1 -1
  132. package/dist/hooks/useOverlay/useOverlay.js +6 -4
  133. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  134. package/dist/hooks/useResponsiveValue/useResponsiveValue.js +2 -1
  135. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +4 -2
  136. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  137. package/dist/icons/Icon.js +3 -3
  138. package/dist/icons/createIconComponent.js +1 -1
  139. package/dist/icons/index.js +1 -1
  140. package/dist/index.d.ts +14 -7
  141. package/dist/index.es.js +1 -1
  142. package/dist/index.js +3 -3
  143. package/dist/next/AdvancedTable/AdvancedTable.js +60 -49
  144. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  145. package/dist/next/AdvancedTable/AdvancedTableCell.js +6 -4
  146. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +18 -10
  147. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +7 -6
  148. package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +5 -4
  149. package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
  150. package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +3 -2
  151. package/dist/next/AdvancedTable/useComputedWidth.js +1 -1
  152. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +5 -3
  153. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  154. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +1 -1
  155. package/dist/next/Combobox/Combobox2.js +3 -3
  156. package/dist/next/Combobox/ComboboxFlyout.js +2 -2
  157. package/dist/next/Combobox/ComboboxGroup.js +1 -1
  158. package/dist/next/Combobox/ComboboxInput.js +2 -2
  159. package/dist/next/Combobox/ComboboxOption.js +1 -1
  160. package/dist/next/Combobox/hooks/useComboboxFilteredGroup/useComboboxFilteredGroup.js +1 -1
  161. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +12 -8
  162. package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +1 -1
  163. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +3 -2
  164. package/dist/next/Combobox/hooks/useSelectedOptionScroll/useSelectedOptionScroll.js +2 -1
  165. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +2 -1
  166. package/dist/next/Combobox/utils/nodeRegistration/nodeRegistration.js +1 -1
  167. package/dist/next/Drawer/Drawer.js +7 -4
  168. package/dist/next/Drawer/Drawer2.js +3 -3
  169. package/dist/next/FilterAnchor/FilterAnchor.js +3 -3
  170. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  171. package/dist/next/Input/Input.js +2 -2
  172. package/dist/next/Input/Input2.js +3 -3
  173. package/dist/next/Menu/Menu.js +5 -3
  174. package/dist/next/Menu/Menu2.js +3 -3
  175. package/dist/next/Menu/MenuItem.js +10 -8
  176. package/dist/next/Menu/MenuPane.js +20 -8
  177. package/dist/next/Menu/SubMenu.js +12 -8
  178. package/dist/next/Menu/useMutationObserver.js +1 -1
  179. package/dist/next/Menu/usePaneSearch.js +27 -15
  180. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +7 -6
  181. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  182. package/dist/next/SplitButton/SplitButton.js +8 -2
  183. package/dist/next/SplitButton/SplitButton2.js +3 -3
  184. package/dist/next/TimePicker/TimeDropdown.js +4 -4
  185. package/dist/next/TimePicker/TimeInput.js +2 -2
  186. package/dist/next/TimePicker/TimePicker.js +4 -4
  187. package/dist/next/TimePicker/TimePicker2.js +3 -3
  188. package/dist/next/TimePicker/TimePickerIcon.js +2 -1
  189. package/dist/next/TimePicker/utils.js +10 -9
  190. package/dist/next/ToggleButton/styles.js +3 -3
  191. package/dist/next/index.d.ts +1 -1
  192. package/dist/next/index.js +298 -219
  193. package/dist/utils/Flyout/Flyout.js +1 -1
  194. package/dist/utils/Flyout/Flyout2.js +3 -3
  195. package/dist/utils/Popper/Popper.js +9 -5
  196. package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +2 -1
  197. package/dist/utils/Translation/useTranslation.js +4 -5
  198. package/dist/utils/filterChildren/filterChildren.js +2 -1
  199. package/dist/utils/getSubDataTestId/getSubDataTestId.js +1 -1
  200. package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
  201. package/dist/utils/mergeRefs/mergeRefs.js +1 -1
  202. package/dist/utils/wrapEvent/wrapEvent.js +2 -2
  203. package/next/package.json +1 -1
  204. package/package.json +2 -2
@@ -37,6 +37,7 @@ import useLatest from '../../hooks/useLatest/useLatest.js';
37
37
  import wrapAround from '../../utils/wrapAround/wrapAround.js';
38
38
 
39
39
  const AdvancedTable = _ref => {
40
+ var _ref5;
40
41
  let {
41
42
  columnConfigs: externalColumnConfigs,
42
43
  rows: rowsPropExternal,
@@ -78,7 +79,7 @@ const AdvancedTable = _ref => {
78
79
  // This handles an edge case where no rows are passed in
79
80
  // and the internal row transforms cause infinite state updates using a standard default assignment
80
81
  const stableDefaultArray = useMemo(() => [], []);
81
- const rowsProp = rowsPropExternal ?? stableDefaultArray;
82
+ const rowsProp = rowsPropExternal !== null && rowsPropExternal !== void 0 ? rowsPropExternal : stableDefaultArray;
82
83
  const [rows, setRows] = useState();
83
84
  const rowActionsColumnConfigId = useId();
84
85
  let rowActionsColumnConfig;
@@ -87,7 +88,7 @@ const AdvancedTable = _ref => {
87
88
  [externalColumnConfigs, rows] // columnConfigs has an implicit dependency on rows because it is initially computed using rows data
88
89
  );
89
90
 
90
- const [currentPage, setCurrentPage] = useState(initialPage ?? 1);
91
+ const [currentPage, setCurrentPage] = useState(initialPage !== null && initialPage !== void 0 ? initialPage : 1);
91
92
  const [tableHeight, setTableHeight] = useState();
92
93
  const getPaginatedRowIndex = useCallback(universalRowIndex => rowsPerPage ? universalRowIndex + rowsPerPage * (currentPage - 1) : universalRowIndex, [rowsPerPage, currentPage]);
93
94
  const paginatedRows = useMemo(() => {
@@ -129,13 +130,14 @@ const AdvancedTable = _ref => {
129
130
  }
130
131
  }, /*#__PURE__*/React__default.createElement(EllipsisHorizontalIcon, null))), /*#__PURE__*/React__default.createElement(DropdownList, {
131
132
  className: styles.rowActionMenuPane
132
- }, !rows ? [] : rowActions?.map((actionGroup, groupIndex) => {
133
+ }, !rows ? [] : rowActions === null || rowActions === void 0 ? void 0 : rowActions.map((actionGroup, groupIndex) => {
134
+ var _actionGroup$actions;
133
135
  const row = rows[rowIndex];
134
- const actions = !row ? [] : actionGroup.actions?.map((action, actionIndex) => /*#__PURE__*/React__default.createElement(DropdownOption
136
+ const actions = !row ? [] : (_actionGroup$actions = actionGroup.actions) === null || _actionGroup$actions === void 0 ? void 0 : _actionGroup$actions.map((action, actionIndex) => /*#__PURE__*/React__default.createElement(DropdownOption
135
137
  // React Docs: "We don't recommend using indexes for keys if the order of items may change." These will not change; the alternative is to require an id from the consumer.
136
138
  // eslint-disable-next-line react/no-array-index-key
137
139
  , {
138
- key: `${groupIndex}-${actionIndex}`,
140
+ key: "".concat(groupIndex, "-").concat(actionIndex),
139
141
  disabled: typeof action.isDisabled === 'function' ? action.isDisabled(row && row.rowPropReference) : action.isDisabled,
140
142
  onSelect: () => action.action(row && row.rowPropReference),
141
143
  value: "",
@@ -175,9 +177,9 @@ const AdvancedTable = _ref => {
175
177
  const minColumnIndex = hasFocusableRows ? -1 : 0; // When entire rows are focusable, they get an index of -1 so that the columns can be zero-indexed
176
178
  const maxColumnIndex = columnConfigs.length - 1;
177
179
  const tableId = useId(externalTableId);
178
- const arrowKeyDescriptionId = `${tableId}-arrowKeyDescription`;
179
- const rowActionDescriptionId = `${tableId}-rowActionDescription`;
180
- const rowCheckboxDescriptionId = `${tableId}-rowCheckboxDescription`;
180
+ const arrowKeyDescriptionId = "".concat(tableId, "-arrowKeyDescription");
181
+ const rowActionDescriptionId = "".concat(tableId, "-rowActionDescription");
182
+ const rowCheckboxDescriptionId = "".concat(tableId, "-rowCheckboxDescription");
181
183
  useResizeObserver(tableRef, entry => {
182
184
  setTableHeight(entry.contentRect.height);
183
185
  });
@@ -191,11 +193,11 @@ const AdvancedTable = _ref => {
191
193
  useDidUpdate(() => {
192
194
  setInternalColumnOrder(columnConfigsOrder);
193
195
  }, [JSON.stringify(columnConfigsOrder)]);
194
- const columnOrder = externalColumnOrder ?? internalColumnOrder;
196
+ const columnOrder = externalColumnOrder !== null && externalColumnOrder !== void 0 ? externalColumnOrder : internalColumnOrder;
195
197
  const setColumnOrder = useEventCallback(value => {
196
198
  const newColumnOrder = typeof value === 'function' ? value(columnOrder) : value;
197
199
  setInternalColumnOrder(newColumnOrder);
198
- onColumnOrderChange?.(newColumnOrder);
200
+ onColumnOrderChange === null || onColumnOrderChange === void 0 ? void 0 : onColumnOrderChange(newColumnOrder);
199
201
  });
200
202
  const {
201
203
  pinnedColumnConfigs,
@@ -302,7 +304,7 @@ const AdvancedTable = _ref => {
302
304
  return ids;
303
305
  }, [rowsProp]);
304
306
  const totalRowsCountWithExpansion = useMemo(() => getAllRowIds().length, [getAllRowIds]);
305
- const hasExpandableRows = useMemo(() => rows?.some(_ref3 => {
307
+ const hasExpandableRows = useMemo(() => rows === null || rows === void 0 ? void 0 : rows.some(_ref3 => {
306
308
  let {
307
309
  hasChildRows
308
310
  } = _ref3;
@@ -321,10 +323,10 @@ const AdvancedTable = _ref => {
321
323
  } else if (expand !== false) {
322
324
  rowPropReference.isExpanded = true;
323
325
  }
324
- onRowsChange?.([...rowsProp]);
326
+ onRowsChange === null || onRowsChange === void 0 ? void 0 : onRowsChange([...rowsProp]);
325
327
  };
326
328
  const getLastToggledRowIndex = () => {
327
- const index = rows?.findIndex(_ref4 => {
329
+ const index = rows === null || rows === void 0 ? void 0 : rows.findIndex(_ref4 => {
328
330
  let {
329
331
  id
330
332
  } = _ref4;
@@ -350,10 +352,11 @@ const AdvancedTable = _ref => {
350
352
  }
351
353
  };
352
354
  const multiUpdateCheckedRowIds = (startIndex, endIndex) => {
355
+ var _rows$endIndex;
353
356
  if (!rows || startIndex === headerRowIndex || endIndex === headerRowIndex) {
354
357
  return;
355
358
  }
356
- const endRowId = rows?.[endIndex]?.id;
359
+ const endRowId = rows === null || rows === void 0 ? void 0 : (_rows$endIndex = rows[endIndex]) === null || _rows$endIndex === void 0 ? void 0 : _rows$endIndex.id;
357
360
  const isEndIndexChecked = checkedRowIdsSet.has(endRowId);
358
361
  let newCheckedRowIds = [...checkedRowIds];
359
362
  const increment = startIndex < endIndex ? 1 : -1;
@@ -421,8 +424,8 @@ const AdvancedTable = _ref => {
421
424
  let newFocusedRowIndex;
422
425
  const currentRow = rows[rowIndex];
423
426
  const rowOrFirstColumnIsFocused = focusedColumnIndex <= 0;
424
- const rowCanExpand = currentRow?.hasChildRows && !currentRow?.isExpanded;
425
- const rowCanCollapse = currentRow?.hasChildRows && currentRow?.isExpanded;
427
+ const rowCanExpand = (currentRow === null || currentRow === void 0 ? void 0 : currentRow.hasChildRows) && !(currentRow !== null && currentRow !== void 0 && currentRow.isExpanded);
428
+ const rowCanCollapse = (currentRow === null || currentRow === void 0 ? void 0 : currentRow.hasChildRows) && (currentRow === null || currentRow === void 0 ? void 0 : currentRow.isExpanded);
426
429
  switch (e.key) {
427
430
  case 'ArrowUp':
428
431
  e.preventDefault(); // prevent scroll
@@ -493,6 +496,7 @@ const AdvancedTable = _ref => {
493
496
  }
494
497
  };
495
498
  const getColumnHeaderProps = (columnConfig, columnIndex, isPinned) => {
499
+ var _columnWidths$id;
496
500
  const rowIndex = headerRowIndex;
497
501
  const {
498
502
  id,
@@ -505,9 +509,9 @@ const AdvancedTable = _ref => {
505
509
  return {
506
510
  id,
507
511
  isRowActionMenuColumn,
508
- 'data-testid': dataTestId && id ? `${dataTestId}-${id}` : undefined,
512
+ 'data-testid': dataTestId && id ? "".concat(dataTestId, "-").concat(id) : undefined,
509
513
  label: headerLabel,
510
- width: columnWidths[id] ?? width,
514
+ width: (_columnWidths$id = columnWidths[id]) !== null && _columnWidths$id !== void 0 ? _columnWidths$id : width,
511
515
  widthBuffer: columnIndex === 0 && maxRowDepth > 0 ? columnWidthBuffers[0] : undefined,
512
516
  onWidthChange: disableUserResizableColumns || isRowActionMenuColumn ? undefined : newWidth => {
513
517
  setColumnWidths(currentColumnWidths => {
@@ -517,8 +521,9 @@ const AdvancedTable = _ref => {
517
521
  } else if (currentColumnWidths[colId]) {
518
522
  map[colId] = currentColumnWidths[colId];
519
523
  } else {
520
- const colRef = cellRefs.current?.[headerRowIndex]?.[index];
521
- map[colId] = colRef?.getBoundingClientRect().width;
524
+ var _cellRefs$current, _cellRefs$current$hea;
525
+ const colRef = (_cellRefs$current = cellRefs.current) === null || _cellRefs$current === void 0 ? void 0 : (_cellRefs$current$hea = _cellRefs$current[headerRowIndex]) === null || _cellRefs$current$hea === void 0 ? void 0 : _cellRefs$current$hea[index];
526
+ map[colId] = colRef === null || colRef === void 0 ? void 0 : colRef.getBoundingClientRect().width;
522
527
  }
523
528
  return map;
524
529
  }, {});
@@ -554,7 +559,7 @@ const AdvancedTable = _ref => {
554
559
  };
555
560
  };
556
561
  const getAdvancedTableRowExpandButton = (rowId, isExpanded, rowIndex) => /*#__PURE__*/React__default.createElement(AdvancedTableRowExpandButton, {
557
- "data-testid": dataTestId && rowId ? `${dataTestId}-row-${rowId}-expand-button` : undefined,
562
+ "data-testid": dataTestId && rowId ? "".concat(dataTestId, "-row-").concat(rowId, "-expand-button") : undefined,
558
563
  isRowExpanded: !!isExpanded,
559
564
  onClick: e => {
560
565
  e.stopPropagation(); // prevent onRowSelect
@@ -575,6 +580,7 @@ const AdvancedTable = _ref => {
575
580
  }, children);
576
581
  };
577
582
  const getCellProps = (columnConfig, columnIndex, data, rowIndex, rowId, depth) => {
583
+ var _columnWidths$columnI;
578
584
  const {
579
585
  id: columnId,
580
586
  width,
@@ -588,18 +594,18 @@ const AdvancedTable = _ref => {
588
594
  setValue: newValue => {
589
595
  const newRows = [...rowsProp];
590
596
  newRows[rowIndex].data[columnId] = newValue;
591
- onRowsChange?.(newRows);
597
+ onRowsChange === null || onRowsChange === void 0 ? void 0 : onRowsChange(newRows);
592
598
  },
593
599
  renderCellContent,
594
600
  isCellContentInteractive,
595
- width: columnWidths[columnId] ?? width,
601
+ width: (_columnWidths$columnI = columnWidths[columnId]) !== null && _columnWidths$columnI !== void 0 ? _columnWidths$columnI : width,
596
602
  widthBuffer: columnIndex === 0 && maxRowDepth > 0 ? columnWidthBuffers[depth] : undefined,
597
603
  alignment,
598
604
  rowId,
599
605
  columnId,
600
606
  rowIndex,
601
607
  columnIndex,
602
- 'data-testid': dataTestId && rowId && columnId ? `${dataTestId}-cell-${rowId}-${columnId}` : undefined,
608
+ 'data-testid': dataTestId && rowId && columnId ? "".concat(dataTestId, "-cell-").concat(rowId, "-").concat(columnId) : undefined,
603
609
  isFocused: rowIndex === focusedRowIndex && columnIndex === focusedColumnIndex,
604
610
  onFocus: onCellFocus(rowIndex, columnIndex),
605
611
  onKeyDown: onKeyDown(rowIndex),
@@ -659,16 +665,16 @@ const AdvancedTable = _ref => {
659
665
  onClick: handleColumnHeaderCheckboxToggle,
660
666
  onFocus: onRowFocus(headerRowIndex, minColumnIndex),
661
667
  variant: "header"
662
- }), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer(`${widthBufferWidth}px`, true) : undefined, pinnedColumnConfigs.map((columnConfigs, i) => {
668
+ }), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth, "px"), true) : undefined, pinnedColumnConfigs.map((columnConfigs, i) => {
663
669
  const props = getColumnHeaderProps(columnConfigs, i, true);
664
670
  return /*#__PURE__*/React__default.createElement(AdvancedTableColumnHeader, props);
665
- })) : undefined, hasExpandableRows && !pinnedColumnConfigs.length ? getExpandableRowsSpacer(`${widthBufferWidth}px`, true) : undefined, unpinnedColumnConfigs.map((columnConfigs, i) => {
671
+ })) : undefined, hasExpandableRows && !pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth, "px"), true) : undefined, unpinnedColumnConfigs.map((columnConfigs, i) => {
666
672
  const props = getColumnHeaderProps(columnConfigs, i + pinnedColumnConfigs.length, false);
667
673
  return /*#__PURE__*/React__default.createElement(AdvancedTableColumnHeader, props);
668
674
  }))), /*#__PURE__*/React__default.createElement("div", {
669
675
  role: "rowgroup",
670
676
  className: styles.advancedTableRowGroup
671
- }, (paginatedRows ?? rows ?? []).map((row, rowIndex) => {
677
+ }, ((_ref5 = paginatedRows !== null && paginatedRows !== void 0 ? paginatedRows : rows) !== null && _ref5 !== void 0 ? _ref5 : []).map((row, rowIndex) => {
672
678
  const {
673
679
  id: rowId,
674
680
  data,
@@ -685,7 +691,7 @@ const AdvancedTable = _ref => {
685
691
  const onSelect = e => {
686
692
  e.preventDefault(); // stops event from triggering on new target when focus is changed during onSelect
687
693
  if (hasOnRowSelect) {
688
- onRowSelect?.(row.rowPropReference);
694
+ onRowSelect === null || onRowSelect === void 0 ? void 0 : onRowSelect(row.rowPropReference);
689
695
  setSelectedRowId(rowId);
690
696
  }
691
697
  };
@@ -700,7 +706,7 @@ const AdvancedTable = _ref => {
700
706
  "aria-rowindex": hasExpandableRows ? undefined : paginatedRowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
701
707
  ,
702
708
 
703
- "data-testid": dataTestId && rowId ? `${dataTestId}-row-${rowId}` : undefined,
709
+ "data-testid": dataTestId && rowId ? "".concat(dataTestId, "-row-").concat(rowId) : undefined,
704
710
  hasOnRowSelect: hasOnRowSelect,
705
711
  isFocusable: hasFocusableRows,
706
712
  isFocused: paginatedRowIndex === focusedRowIndex && minColumnIndex === focusedColumnIndex,
@@ -709,7 +715,7 @@ const AdvancedTable = _ref => {
709
715
  onKeyDown: onRowKeyDown,
710
716
  onFocus: onRowFocus(paginatedRowIndex, minColumnIndex),
711
717
  onClick: e => onSelect(e),
712
- key: `${rowId}${depth}${parentId}`,
718
+ key: "".concat(rowId).concat(depth).concat(parentId),
713
719
  ref: createRef(paginatedRowIndex, minColumnIndex),
714
720
  "aria-level": hasExpandableRows ? depth + 1 : undefined // aria-level is one-indexed
715
721
  ,
@@ -733,14 +739,14 @@ const AdvancedTable = _ref => {
733
739
  onMouseEnter: () => setIsCheckboxHovered(true),
734
740
  onMouseLeave: () => setIsCheckboxHovered(false),
735
741
  onFocus: onRowFocus(paginatedRowIndex, minColumnIndex)
736
- }), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer(`${widthBufferWidth * (depth + 1)}px`, false, hasChildRows ? getAdvancedTableRowExpandButton(rowId, isExpanded, rowIndex) : undefined) : undefined, pinnedColumnConfigs.map((c, i) => {
742
+ }), hasExpandableRows && pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth * (depth + 1), "px"), false, hasChildRows ? getAdvancedTableRowExpandButton(rowId, isExpanded, rowIndex) : undefined) : undefined, pinnedColumnConfigs.map((c, i) => {
737
743
  const props = getCellProps(c, i, data, paginatedRowIndex, rowId, depth);
738
744
  return /*#__PURE__*/React__default.createElement(AdvancedTableCell, _extends({}, props, {
739
745
  "aria-rowindex": hasExpandableRows ? undefined : rowIndex + 2 // aria-rowindex is one-indexed + the column headers row is the first row in the table
740
746
  ,
741
747
  "aria-colindex": i + 1 // aria-colindex is one-indexed
742
748
  }));
743
- })) : undefined, hasExpandableRows && !pinnedColumnConfigs.length ? getExpandableRowsSpacer(`${widthBufferWidth * (depth + 1)}px`, false, hasChildRows ? getAdvancedTableRowExpandButton(rowId, isExpanded, rowIndex) : undefined) : undefined, unpinnedColumnConfigs.map((c, i) => {
749
+ })) : undefined, hasExpandableRows && !pinnedColumnConfigs.length ? getExpandableRowsSpacer("".concat(widthBufferWidth * (depth + 1), "px"), false, hasChildRows ? getAdvancedTableRowExpandButton(rowId, isExpanded, rowIndex) : undefined) : undefined, unpinnedColumnConfigs.map((c, i) => {
744
750
  const props = getCellProps(c, i + pinnedColumnConfigs.length, data, paginatedRowIndex, rowId, depth);
745
751
  return /*#__PURE__*/React__default.createElement(AdvancedTableCell, _extends({}, props, {
746
752
  className: styles.advancedTableRowChild,
@@ -761,26 +767,27 @@ const AdvancedTable = _ref => {
761
767
  };
762
768
 
763
769
  // TODO: move hook to separate file
764
- function useSortedRows(_ref5) {
770
+ function useSortedRows(_ref6) {
765
771
  let {
766
772
  columnConfigs,
767
773
  onRowsChange,
768
774
  selectedSortOption,
769
775
  setCurrentPage
770
- } = _ref5;
776
+ } = _ref6;
771
777
  const columnConfigsRef = useLatest(columnConfigs);
772
778
  const onRowsChangeRef = useLatest(onRowsChange);
773
779
  useDidUpdate(() => {
780
+ var _columnConfigsRef$cur, _columnConfigsRef$cur2, _columnConfigsRef$cur3;
774
781
  const {
775
782
  columnId,
776
783
  index
777
784
  } = selectedSortOption;
778
- const sort = columnConfigsRef.current.find(_ref6 => {
785
+ const sort = (_columnConfigsRef$cur = columnConfigsRef.current.find(_ref7 => {
779
786
  let {
780
787
  id
781
- } = _ref6;
788
+ } = _ref7;
782
789
  return id === columnId;
783
- })?.sortOptions?.[index]?.sort;
790
+ })) === null || _columnConfigsRef$cur === void 0 ? void 0 : (_columnConfigsRef$cur2 = _columnConfigsRef$cur.sortOptions) === null || _columnConfigsRef$cur2 === void 0 ? void 0 : (_columnConfigsRef$cur3 = _columnConfigsRef$cur2[index]) === null || _columnConfigsRef$cur3 === void 0 ? void 0 : _columnConfigsRef$cur3.sort;
784
791
  if (typeof sort === 'function' && onRowsChangeRef.current) {
785
792
  onRowsChangeRef.current(sort(selectedSortOption));
786
793
  setCurrentPage(1);
@@ -789,7 +796,7 @@ function useSortedRows(_ref5) {
789
796
  }
790
797
 
791
798
  // TODO: move hook to separate file
792
- function useFocusState(_ref7) {
799
+ function useFocusState(_ref8) {
793
800
  let {
794
801
  headerRowIndex,
795
802
  maxRowIndex,
@@ -799,7 +806,7 @@ function useFocusState(_ref7) {
799
806
  pinnedUnpinnedColumnOrder,
800
807
  tableRef,
801
808
  currentPage
802
- } = _ref7;
809
+ } = _ref8;
803
810
  const cellRefs = useRef({});
804
811
  const pinnedContainersRef = useRef({});
805
812
  const [focusedRowIndex, setFocusedRowIndex] = useState(headerRowIndex);
@@ -825,11 +832,12 @@ function useFocusState(_ref7) {
825
832
  return newIndex;
826
833
  };
827
834
  const focusCell = useEventCallback(cell => {
835
+ var _tableRef$current, _cellRefs$current2, _cellRefs$current2$he;
828
836
  // Manually scroll cells/rows into view if needed
829
- const tablePos = tableRef.current?.getBoundingClientRect();
830
- const header = cellRefs.current?.[headerRowIndex]?.[-1];
831
- const headerPos = header?.getBoundingClientRect();
832
- let cellPos = cell?.getBoundingClientRect();
837
+ const tablePos = (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.getBoundingClientRect();
838
+ const header = (_cellRefs$current2 = cellRefs.current) === null || _cellRefs$current2 === void 0 ? void 0 : (_cellRefs$current2$he = _cellRefs$current2[headerRowIndex]) === null || _cellRefs$current2$he === void 0 ? void 0 : _cellRefs$current2$he[-1];
839
+ const headerPos = header === null || header === void 0 ? void 0 : header.getBoundingClientRect();
840
+ let cellPos = cell === null || cell === void 0 ? void 0 : cell.getBoundingClientRect();
833
841
 
834
842
  // Vertical scroll
835
843
  if (cell !== header && !header.contains(cell)) {
@@ -850,6 +858,7 @@ function useFocusState(_ref7) {
850
858
  if (minColumnIndex === -1 && focusedColumnIndex === minColumnIndex) {
851
859
  tableRef.current.scrollLeft -= tablePos.left - cellPos.left;
852
860
  } else {
861
+ var _pinnedContainersRef$;
853
862
  if (cellPos.left < tablePos.left) {
854
863
  // Scroll right if cell out of view to the left of the table
855
864
  tableRef.current.scrollLeft -= tablePos.left - cellPos.left;
@@ -857,23 +866,24 @@ function useFocusState(_ref7) {
857
866
  // Scroll left if cell out of view to the right of the table
858
867
  tableRef.current.scrollLeft += cellPos.right - tablePos.right;
859
868
  }
860
- const pinnedContainer = pinnedContainersRef.current?.[focusedRowIndex];
861
- const pinnedContainerPos = pinnedContainer?.getBoundingClientRect();
862
- cellPos = cell?.getBoundingClientRect();
869
+ const pinnedContainer = (_pinnedContainersRef$ = pinnedContainersRef.current) === null || _pinnedContainersRef$ === void 0 ? void 0 : _pinnedContainersRef$[focusedRowIndex];
870
+ const pinnedContainerPos = pinnedContainer === null || pinnedContainer === void 0 ? void 0 : pinnedContainer.getBoundingClientRect();
871
+ cellPos = cell === null || cell === void 0 ? void 0 : cell.getBoundingClientRect();
863
872
 
864
873
  // Scroll right if cell covered by pinned columns
865
874
  if (pinnedContainer && cellPos.left < pinnedContainerPos.left + pinnedContainerPos.width && !pinnedContainer.contains(cell)) {
866
875
  tableRef.current.scrollLeft -= pinnedContainerPos.left + pinnedContainerPos.width - cellPos.left;
867
876
  }
868
877
  }
869
- cell?.focus();
878
+ cell === null || cell === void 0 ? void 0 : cell.focus();
870
879
  });
871
880
 
872
881
  // Focus header cell when the focused column id changes. Used when pinning/unpinning columns since a new DOM element is created.
873
882
  useDidUpdate(() => {
874
883
  if (focusedColumnId) {
884
+ var _cellRefs$current3, _cellRefs$current3$fo;
875
885
  const columnIndex = pinnedUnpinnedColumnOrder.indexOf(focusedColumnId);
876
- focusCell(cellRefs.current?.[focusedRowIndex]?.[columnIndex]);
886
+ focusCell((_cellRefs$current3 = cellRefs.current) === null || _cellRefs$current3 === void 0 ? void 0 : (_cellRefs$current3$fo = _cellRefs$current3[focusedRowIndex]) === null || _cellRefs$current3$fo === void 0 ? void 0 : _cellRefs$current3$fo[columnIndex]);
877
887
  setFocusedColumnIndex(columnIndex);
878
888
  setFocusedColumnId(undefined);
879
889
  }
@@ -881,7 +891,8 @@ function useFocusState(_ref7) {
881
891
 
882
892
  // Focus cell when the focused indices change
883
893
  useDidUpdate(() => {
884
- const newFocusedCell = cellRefs.current?.[focusedRowIndex]?.[focusedColumnIndex];
894
+ var _cellRefs$current4, _cellRefs$current4$fo;
895
+ const newFocusedCell = (_cellRefs$current4 = cellRefs.current) === null || _cellRefs$current4 === void 0 ? void 0 : (_cellRefs$current4$fo = _cellRefs$current4[focusedRowIndex]) === null || _cellRefs$current4$fo === void 0 ? void 0 : _cellRefs$current4$fo[focusedColumnIndex];
885
896
 
886
897
  /* Prevent cells from stealing focus from their children when they
887
898
  * receive focus, but still allow focus to move from a cell to a row.
@@ -1,8 +1,8 @@
1
1
  import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
- var css_248z = "._7PNPm{overflow:auto;position:relative;max-width:100%;max-height:100%}._7PNPm,._PKFfX{background-color:#fff}._PKFfX{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:sticky;left:0}._Wk3YR{margin-bottom:4px}._zrc9C{position:sticky;top:0;z-index:100}._tDGix{display:flex}._tDGix:focus{outline:none}._tDGix.focus-visible ._ZMkm9:after,._tDGix:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._tDGix.focus-visible ._ZMkm9:last-of-type:after,._tDGix:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._tDGix.focus-visible ._ZMkm9:first-of-type:after,._tDGix:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._tDGix.focus-visible ._ZMkm9._Ugmo0:after,._tDGix:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:1px}._hVuE5{padding-right:3px}._5OLws{display:flex}._5OLws._gsmDP ._OChfn,._5OLws._gsmDP ._ZMkm9{cursor:pointer}._5OLws._xCdSd ._OChfn,._5OLws._xCdSd ._ZMkm9{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._5OLws._xCdSd ._OChfn._Ugmo0,._5OLws._xCdSd ._ZMkm9._Ugmo0{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._5OLws._xCdSd ._OChfn._Ugmo0 ._OChfn,._5OLws._xCdSd ._OChfn._Ugmo0 ._p4Mup,._5OLws._xCdSd ._OChfn._Ugmo0 ._WEK5T,._5OLws._xCdSd ._ZMkm9._Ugmo0 ._OChfn,._5OLws._xCdSd ._ZMkm9._Ugmo0 ._p4Mup,._5OLws._xCdSd ._ZMkm9._Ugmo0 ._WEK5T{background-color:rgba(11,110,208,.08)}._5OLws._gsmDP:hover:not(._xCdSd):not(._xQgNo) ._OChfn,._5OLws._gsmDP:hover:not(._xCdSd):not(._xQgNo) ._ZMkm9{background-color:#f9f9f9}._5OLws._gsmDP:active:not(._xCdSd):not(._xQgNo) ._OChfn,._5OLws._gsmDP:active:not(._xCdSd):not(._xQgNo) ._ZMkm9{background-color:#f3f3f3}._5OLws:focus{outline:none}._5OLws.focus-visible ._ZMkm9:after,._5OLws:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._5OLws.focus-visible ._ZMkm9:last-of-type:after,._5OLws:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._5OLws.focus-visible ._ZMkm9:first-of-type:after,._5OLws:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._5OLws.focus-visible ._ZMkm9._Ugmo0:after,._5OLws:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:0}._5OLws:last-of-type:focus{outline:none}._5OLws:last-of-type.focus-visible ._ZMkm9:after,._5OLws:last-of-type:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._5OLws:last-of-type.focus-visible ._ZMkm9:last-of-type:after,._5OLws:last-of-type:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._5OLws:last-of-type.focus-visible ._ZMkm9:first-of-type:after,._5OLws:last-of-type:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._5OLws:last-of-type.focus-visible ._ZMkm9._Ugmo0:after,._5OLws:last-of-type:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:1px}._5OLws:last-of-type ._WEK5T:focus{outline:none}._5OLws:last-of-type ._WEK5T._DzzHO.focus-visible:after,._5OLws:last-of-type ._WEK5T._DzzHO:focus-visible:after,._5OLws:last-of-type ._WEK5T.focus-visible:after,._5OLws:last-of-type ._WEK5T:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._5OLws:first-of-type:focus{outline:none}._5OLws:first-of-type.focus-visible ._ZMkm9:after,._5OLws:first-of-type:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._5OLws:first-of-type.focus-visible ._ZMkm9:last-of-type:after,._5OLws:first-of-type:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._5OLws:first-of-type.focus-visible ._ZMkm9:first-of-type:after,._5OLws:first-of-type:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._5OLws:first-of-type.focus-visible ._ZMkm9._Ugmo0:after,._5OLws:first-of-type:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:0}._5OLws:first-of-type ._WEK5T:focus{outline:none}._5OLws:first-of-type ._WEK5T._DzzHO.focus-visible:after,._5OLws:first-of-type ._WEK5T._DzzHO:focus-visible:after,._5OLws:first-of-type ._WEK5T.focus-visible:after,._5OLws:first-of-type ._WEK5T:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._9XJ45{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._9XJ45._i7fpo{flex-grow:1}._9XJ45._PSQcw{cursor:pointer}._9XJ45._PSQcw:hover:not(._N6Kdw){background-color:#f9f9f9;border-bottom-color:#6a6d70}._9XJ45._PSQcw:active:not(._N6Kdw){background-color:#f3f3f3}._9XJ45._t7sis:not(._N6Kdw){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._9XJ45._N6Kdw{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._9XJ45 ._Pql1N{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._9XJ45 ._Pql1N._1k-uc{left:-1px}._9XJ45 ._Pql1N._miZX2{right:0}._9XJ45 ._ZGC4f{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._9XJ45 ._ZGC4f._1k-uc{left:-2px}._9XJ45 ._ZGC4f._miZX2{right:-1px}._9XJ45:first-of-type ._1k-uc._Pql1N{left:0;width:2px;border-left:1px solid #fff}._9XJ45:first-of-type ._1k-uc._ZGC4f{left:0}._9XJ45:last-of-type ._miZX2._Pql1N{right:0;width:2px;border-right:1px solid #fff}._9XJ45:last-of-type ._miZX2._ZGC4f{right:0}._9XJ45 ._LLRc2{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._9XJ45 ._LLRc2 ._rW-zY{position:absolute;width:2px;right:2px;top:0;bottom:0}._9XJ45 ._LLRc2 ._rW-zY._BTYN3{background-color:#0a6ed1}._9XJ45 ._LLRc2:hover ._rW-zY:not(._BTYN3){background-color:#d9d9d9}._9XJ45 ._JKZ-w{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._9XJ45 ._JKZ-w._A20bj{flex-direction:row-reverse;justify-content:flex-start}._9XJ45 ._JKZ-w._A20bj ._KPYkO{margin:1px 7px 1px 1px}._9XJ45 ._JKZ-w ._kDk72{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._9XJ45 ._JKZ-w ._KPYkO{margin:1px 1px 1px 7px;flex-shrink:0}._9XJ45 ._tiDig{margin-left:6px;margin-right:4px;flex-shrink:0}._9XJ45 ._Iwmpo{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._9XJ45:focus{outline:none}._9XJ45._DzzHO.focus-visible:after,._9XJ45._DzzHO:focus-visible:after,._9XJ45.focus-visible:after,._9XJ45:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._0TRt-{margin-right:6px}._Ugmo0{display:flex;border-right:3px solid #e5e5e5;position:sticky;left:0;background-color:#fff;z-index:20}._Ugmo0[focus-within]{z-index:30}._Ugmo0:focus-within{z-index:30}._WEK5T{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._WEK5T ._LaYfH{width:100%;padding:12px 12px 11px;overflow:hidden}._WEK5T._N6Kdw{background-color:#efefef;border-bottom-color:#dfdfe1}._WEK5T._i7fpo{flex-grow:1}._WEK5T:focus{outline:none}._WEK5T._DzzHO.focus-visible:after,._WEK5T._DzzHO:focus-visible:after,._WEK5T.focus-visible:after,._WEK5T:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._OChfn{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._OChfn._g3FVD{border-bottom-color:#d9d9d9;background-color:#fff}._p4Mup{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._p4Mup._g3FVD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._p4Mup:focus input~span,._p4Mup:hover input~span{border-color:#0b6ed0}._p4Mup ._lN2D9{position:relative;display:inline-flex}._p4Mup ._lN2D9 ._--5ai{margin:0!important}._p4Mup ._lN2D9 ._nBxBg{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._qaInU{justify-content:flex-start}._5eZFM{justify-content:center;text-align:center}._A20bj{justify-content:flex-end;text-align:right}._akRqx{display:none}._CDbWs{opacity:0;height:0;width:0;overflow:hidden}._CDbWs,._ewNL4{position:absolute}._ewNL4{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._VwY6U{width:246px}";
4
- var styles = {"advancedTable":"_7PNPm","advancedTablePaginationContainer":"_PKFfX","advancedTablePagination":"_Wk3YR","advancedTableColumnHeadersRowGroup":"_zrc9C","advancedTableColumnHeaders":"_tDGix","advancedTableRowChild":"_ZMkm9","pinnedContainer":"_Ugmo0","advancedTableRowGroup":"_hVuE5","advancedTableRow":"_5OLws","hasRowAction":"_gsmDP","advancedTableExpandRowSpacer":"_OChfn","isSelected":"_xCdSd","advancedTableCheckbox":"_p4Mup","advancedTableCell":"_WEK5T","isCheckboxHovered":"_xQgNo","showFocusRing":"_DzzHO","advancedTableColumnHeader":"_9XJ45","fillRemainingSpace":"_i7fpo","isSortable":"_PSQcw","isDragging":"_N6Kdw","isSorted":"_t7sis","dropTargetLine":"_Pql1N","dropTargetLeft":"_1k-uc","dropTargetRight":"_miZX2","dropTargetMarker":"_ZGC4f","resizeHandle":"_LLRc2","resizeLine":"_rW-zY","isResizing":"_BTYN3","advancedTableColumnHeaderLabel":"_JKZ-w","rightAligned":"_A20bj","sortIcon":"_KPYkO","advancedTableColumnHeaderLabelText":"_kDk72","advancedTableColumnHeaderMenu":"_tiDig","advancedTableColumnHeaderMenuHiddenAnchor":"_Iwmpo","advancedTableColumnHeaderMenuItemIcon":"_0TRt-","advancedTableCellContainer":"_LaYfH","header":"_g3FVD","checkboxContainer":"_lN2D9","checkbox":"_--5ai","mixed":"_nBxBg","leftAligned":"_qaInU","centerAligned":"_5eZFM","hiddenDescription":"_akRqx","hiddenLiveRegion":"_CDbWs","dragPreview":"_ewNL4","rowActionMenuPane":"_VwY6U"};
5
- var stylesheet="._7PNPm{overflow:auto;position:relative;max-width:100%;max-height:100%}._7PNPm,._PKFfX{background-color:#fff}._PKFfX{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:sticky;left:0}._Wk3YR{margin-bottom:4px}._zrc9C{position:sticky;top:0;z-index:100}._tDGix{display:flex}._tDGix:focus{outline:none}._tDGix.focus-visible ._ZMkm9:after,._tDGix:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._tDGix.focus-visible ._ZMkm9:last-of-type:after,._tDGix:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._tDGix.focus-visible ._ZMkm9:first-of-type:after,._tDGix:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._tDGix.focus-visible ._ZMkm9._Ugmo0:after,._tDGix:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:1px}._hVuE5{padding-right:3px}._5OLws{display:flex}._5OLws._gsmDP ._OChfn,._5OLws._gsmDP ._ZMkm9{cursor:pointer}._5OLws._xCdSd ._OChfn,._5OLws._xCdSd ._ZMkm9{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._5OLws._xCdSd ._OChfn._Ugmo0,._5OLws._xCdSd ._ZMkm9._Ugmo0{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._5OLws._xCdSd ._OChfn._Ugmo0 ._OChfn,._5OLws._xCdSd ._OChfn._Ugmo0 ._p4Mup,._5OLws._xCdSd ._OChfn._Ugmo0 ._WEK5T,._5OLws._xCdSd ._ZMkm9._Ugmo0 ._OChfn,._5OLws._xCdSd ._ZMkm9._Ugmo0 ._p4Mup,._5OLws._xCdSd ._ZMkm9._Ugmo0 ._WEK5T{background-color:rgba(11,110,208,.08)}._5OLws._gsmDP:hover:not(._xCdSd):not(._xQgNo) ._OChfn,._5OLws._gsmDP:hover:not(._xCdSd):not(._xQgNo) ._ZMkm9{background-color:#f9f9f9}._5OLws._gsmDP:active:not(._xCdSd):not(._xQgNo) ._OChfn,._5OLws._gsmDP:active:not(._xCdSd):not(._xQgNo) ._ZMkm9{background-color:#f3f3f3}._5OLws:focus{outline:none}._5OLws.focus-visible ._ZMkm9:after,._5OLws:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._5OLws.focus-visible ._ZMkm9:last-of-type:after,._5OLws:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._5OLws.focus-visible ._ZMkm9:first-of-type:after,._5OLws:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._5OLws.focus-visible ._ZMkm9._Ugmo0:after,._5OLws:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:0}._5OLws:last-of-type:focus{outline:none}._5OLws:last-of-type.focus-visible ._ZMkm9:after,._5OLws:last-of-type:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._5OLws:last-of-type.focus-visible ._ZMkm9:last-of-type:after,._5OLws:last-of-type:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._5OLws:last-of-type.focus-visible ._ZMkm9:first-of-type:after,._5OLws:last-of-type:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._5OLws:last-of-type.focus-visible ._ZMkm9._Ugmo0:after,._5OLws:last-of-type:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:1px}._5OLws:last-of-type ._WEK5T:focus{outline:none}._5OLws:last-of-type ._WEK5T._DzzHO.focus-visible:after,._5OLws:last-of-type ._WEK5T._DzzHO:focus-visible:after,._5OLws:last-of-type ._WEK5T.focus-visible:after,._5OLws:last-of-type ._WEK5T:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._5OLws:first-of-type:focus{outline:none}._5OLws:first-of-type.focus-visible ._ZMkm9:after,._5OLws:first-of-type:focus-visible ._ZMkm9:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._5OLws:first-of-type.focus-visible ._ZMkm9:last-of-type:after,._5OLws:first-of-type:focus-visible ._ZMkm9:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._5OLws:first-of-type.focus-visible ._ZMkm9:first-of-type:after,._5OLws:first-of-type:focus-visible ._ZMkm9:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._5OLws:first-of-type.focus-visible ._ZMkm9._Ugmo0:after,._5OLws:first-of-type:focus-visible ._ZMkm9._Ugmo0:after{right:-3px;bottom:0}._5OLws:first-of-type ._WEK5T:focus{outline:none}._5OLws:first-of-type ._WEK5T._DzzHO.focus-visible:after,._5OLws:first-of-type ._WEK5T._DzzHO:focus-visible:after,._5OLws:first-of-type ._WEK5T.focus-visible:after,._5OLws:first-of-type ._WEK5T:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._9XJ45{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._9XJ45._i7fpo{flex-grow:1}._9XJ45._PSQcw{cursor:pointer}._9XJ45._PSQcw:hover:not(._N6Kdw){background-color:#f9f9f9;border-bottom-color:#6a6d70}._9XJ45._PSQcw:active:not(._N6Kdw){background-color:#f3f3f3}._9XJ45._t7sis:not(._N6Kdw){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._9XJ45._N6Kdw{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._9XJ45 ._Pql1N{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._9XJ45 ._Pql1N._1k-uc{left:-1px}._9XJ45 ._Pql1N._miZX2{right:0}._9XJ45 ._ZGC4f{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._9XJ45 ._ZGC4f._1k-uc{left:-2px}._9XJ45 ._ZGC4f._miZX2{right:-1px}._9XJ45:first-of-type ._1k-uc._Pql1N{left:0;width:2px;border-left:1px solid #fff}._9XJ45:first-of-type ._1k-uc._ZGC4f{left:0}._9XJ45:last-of-type ._miZX2._Pql1N{right:0;width:2px;border-right:1px solid #fff}._9XJ45:last-of-type ._miZX2._ZGC4f{right:0}._9XJ45 ._LLRc2{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._9XJ45 ._LLRc2 ._rW-zY{position:absolute;width:2px;right:2px;top:0;bottom:0}._9XJ45 ._LLRc2 ._rW-zY._BTYN3{background-color:#0a6ed1}._9XJ45 ._LLRc2:hover ._rW-zY:not(._BTYN3){background-color:#d9d9d9}._9XJ45 ._JKZ-w{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._9XJ45 ._JKZ-w._A20bj{flex-direction:row-reverse;justify-content:flex-start}._9XJ45 ._JKZ-w._A20bj ._KPYkO{margin:1px 7px 1px 1px}._9XJ45 ._JKZ-w ._kDk72{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._9XJ45 ._JKZ-w ._KPYkO{margin:1px 1px 1px 7px;flex-shrink:0}._9XJ45 ._tiDig{margin-left:6px;margin-right:4px;flex-shrink:0}._9XJ45 ._Iwmpo{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._9XJ45:focus{outline:none}._9XJ45._DzzHO.focus-visible:after,._9XJ45._DzzHO:focus-visible:after,._9XJ45.focus-visible:after,._9XJ45:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._0TRt-{margin-right:6px}._Ugmo0{display:flex;border-right:3px solid #e5e5e5;position:sticky;left:0;background-color:#fff;z-index:20}._Ugmo0[focus-within]{z-index:30}._Ugmo0:focus-within{z-index:30}._WEK5T{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._WEK5T ._LaYfH{width:100%;padding:12px 12px 11px;overflow:hidden}._WEK5T._N6Kdw{background-color:#efefef;border-bottom-color:#dfdfe1}._WEK5T._i7fpo{flex-grow:1}._WEK5T:focus{outline:none}._WEK5T._DzzHO.focus-visible:after,._WEK5T._DzzHO:focus-visible:after,._WEK5T.focus-visible:after,._WEK5T:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._OChfn{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._OChfn._g3FVD{border-bottom-color:#d9d9d9;background-color:#fff}._p4Mup{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._p4Mup._g3FVD{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._p4Mup:focus input~span,._p4Mup:hover input~span{border-color:#0b6ed0}._p4Mup ._lN2D9{position:relative;display:inline-flex}._p4Mup ._lN2D9 ._--5ai{margin:0!important}._p4Mup ._lN2D9 ._nBxBg{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._qaInU{justify-content:flex-start}._5eZFM{justify-content:center;text-align:center}._A20bj{justify-content:flex-end;text-align:right}._akRqx{display:none}._CDbWs{opacity:0;height:0;width:0;overflow:hidden}._CDbWs,._ewNL4{position:absolute}._ewNL4{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._VwY6U{width:246px}";
3
+ var css_248z = "._brNXC{overflow:auto;position:relative;max-width:100%;max-height:100%}._brNXC,._HSu7R{background-color:#fff}._HSu7R{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._9wlNT{margin-bottom:4px}._AT1Ij{position:-webkit-sticky;position:sticky;top:0;z-index:100}._3wgpr{display:flex}._3wgpr:focus{outline:none}._3wgpr.focus-visible ._EvxeW:after,._3wgpr:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3wgpr.focus-visible ._EvxeW:last-of-type:after,._3wgpr:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3wgpr.focus-visible ._EvxeW:first-of-type:after,._3wgpr:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3wgpr.focus-visible ._EvxeW._JUVa-:after,._3wgpr:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:1px}._uR2-c{padding-right:3px}._SYZHd{display:flex}._SYZHd._qNkCq ._EvxeW,._SYZHd._qNkCq ._JFrgK{cursor:pointer}._SYZHd._To13F ._EvxeW,._SYZHd._To13F ._JFrgK{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._SYZHd._To13F ._EvxeW._JUVa-,._SYZHd._To13F ._JFrgK._JUVa-{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._SYZHd._To13F ._EvxeW._JUVa- ._JFrgK,._SYZHd._To13F ._EvxeW._JUVa- ._mMBOw,._SYZHd._To13F ._EvxeW._JUVa- ._qwY8i,._SYZHd._To13F ._JFrgK._JUVa- ._JFrgK,._SYZHd._To13F ._JFrgK._JUVa- ._mMBOw,._SYZHd._To13F ._JFrgK._JUVa- ._qwY8i{background-color:rgba(11,110,208,.08)}._SYZHd._qNkCq:hover:not(._To13F):not(._9W80x) ._EvxeW,._SYZHd._qNkCq:hover:not(._To13F):not(._9W80x) ._JFrgK{background-color:#f9f9f9}._SYZHd._qNkCq:active:not(._To13F):not(._9W80x) ._EvxeW,._SYZHd._qNkCq:active:not(._To13F):not(._9W80x) ._JFrgK{background-color:#f3f3f3}._SYZHd:focus{outline:none}._SYZHd.focus-visible ._EvxeW:after,._SYZHd:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._SYZHd.focus-visible ._EvxeW:last-of-type:after,._SYZHd:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._SYZHd.focus-visible ._EvxeW:first-of-type:after,._SYZHd:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._SYZHd.focus-visible ._EvxeW._JUVa-:after,._SYZHd:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:0}._SYZHd:last-of-type:focus{outline:none}._SYZHd:last-of-type.focus-visible ._EvxeW:after,._SYZHd:last-of-type:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._SYZHd:last-of-type.focus-visible ._EvxeW:last-of-type:after,._SYZHd:last-of-type:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._SYZHd:last-of-type.focus-visible ._EvxeW:first-of-type:after,._SYZHd:last-of-type:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._SYZHd:last-of-type.focus-visible ._EvxeW._JUVa-:after,._SYZHd:last-of-type:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:1px}._SYZHd:last-of-type ._mMBOw:focus{outline:none}._SYZHd:last-of-type ._mMBOw._Ml-JU.focus-visible:after,._SYZHd:last-of-type ._mMBOw._Ml-JU:focus-visible:after,._SYZHd:last-of-type ._mMBOw.focus-visible:after,._SYZHd:last-of-type ._mMBOw:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._SYZHd:first-of-type:focus{outline:none}._SYZHd:first-of-type.focus-visible ._EvxeW:after,._SYZHd:first-of-type:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._SYZHd:first-of-type.focus-visible ._EvxeW:last-of-type:after,._SYZHd:first-of-type:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._SYZHd:first-of-type.focus-visible ._EvxeW:first-of-type:after,._SYZHd:first-of-type:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._SYZHd:first-of-type.focus-visible ._EvxeW._JUVa-:after,._SYZHd:first-of-type:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:0}._SYZHd:first-of-type ._mMBOw:focus{outline:none}._SYZHd:first-of-type ._mMBOw._Ml-JU.focus-visible:after,._SYZHd:first-of-type ._mMBOw._Ml-JU:focus-visible:after,._SYZHd:first-of-type ._mMBOw.focus-visible:after,._SYZHd:first-of-type ._mMBOw:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._dFK8f{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._dFK8f._qpvZQ{flex-grow:1}._dFK8f._L6ikB{cursor:pointer}._dFK8f._L6ikB:hover:not(._nzGZd){background-color:#f9f9f9;border-bottom-color:#6a6d70}._dFK8f._L6ikB:active:not(._nzGZd){background-color:#f3f3f3}._dFK8f._IWaBN:not(._nzGZd){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._dFK8f._nzGZd{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._dFK8f ._7JIow{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._dFK8f ._7JIow._oky5Z{left:-1px}._dFK8f ._7JIow._6HDZV{right:0}._dFK8f ._BwYWV{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._dFK8f ._BwYWV._oky5Z{left:-2px}._dFK8f ._BwYWV._6HDZV{right:-1px}._dFK8f:first-of-type ._oky5Z._7JIow{left:0;width:2px;border-left:1px solid #fff}._dFK8f:first-of-type ._oky5Z._BwYWV{left:0}._dFK8f:last-of-type ._6HDZV._7JIow{right:0;width:2px;border-right:1px solid #fff}._dFK8f:last-of-type ._6HDZV._BwYWV{right:0}._dFK8f ._VzLYl{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._dFK8f ._VzLYl ._xVM2J{position:absolute;width:2px;right:2px;top:0;bottom:0}._dFK8f ._VzLYl ._xVM2J._yux-4{background-color:#0a6ed1}._dFK8f ._VzLYl:hover ._xVM2J:not(._yux-4){background-color:#d9d9d9}._dFK8f ._W6Djm{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._dFK8f ._W6Djm._k4K5H{flex-direction:row-reverse;justify-content:flex-start}._dFK8f ._W6Djm._k4K5H ._xMBLi{margin:1px 7px 1px 1px}._dFK8f ._W6Djm ._KnjlU{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._dFK8f ._W6Djm ._xMBLi{margin:1px 1px 1px 7px;flex-shrink:0}._dFK8f ._gk9iN{margin-left:6px;margin-right:4px;flex-shrink:0}._dFK8f ._sqHXr{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._dFK8f:focus{outline:none}._dFK8f._Ml-JU.focus-visible:after,._dFK8f._Ml-JU:focus-visible:after,._dFK8f.focus-visible:after,._dFK8f:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._pGMry{margin-right:6px}._JUVa-{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._JUVa-[focus-within]{z-index:30}._JUVa-:focus-within{z-index:30}._mMBOw{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._mMBOw ._pSAIH{width:100%;padding:12px 12px 11px;overflow:hidden}._mMBOw._nzGZd{background-color:#efefef;border-bottom-color:#dfdfe1}._mMBOw._qpvZQ{flex-grow:1}._mMBOw:focus{outline:none}._mMBOw._Ml-JU.focus-visible:after,._mMBOw._Ml-JU:focus-visible:after,._mMBOw.focus-visible:after,._mMBOw:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._JFrgK{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._JFrgK._3aAi6{border-bottom-color:#d9d9d9;background-color:#fff}._qwY8i{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._qwY8i._3aAi6{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._qwY8i:focus input~span,._qwY8i:hover input~span{border-color:#0b6ed0}._qwY8i ._01rf7{position:relative;display:inline-flex}._qwY8i ._01rf7 ._ISuSh{margin:0!important}._qwY8i ._01rf7 ._wXh-j{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._i01WR{justify-content:flex-start}._RpSiy{justify-content:center;text-align:center}._k4K5H{justify-content:flex-end;text-align:right}._ISavx{display:none}._HgH0q{opacity:0;height:0;width:0;overflow:hidden}._HgH0q,._oHbFw{position:absolute}._oHbFw{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._mizXj{width:246px}";
4
+ var styles = {"advancedTable":"_brNXC","advancedTablePaginationContainer":"_HSu7R","advancedTablePagination":"_9wlNT","advancedTableColumnHeadersRowGroup":"_AT1Ij","advancedTableColumnHeaders":"_3wgpr","advancedTableRowChild":"_EvxeW","pinnedContainer":"_JUVa-","advancedTableRowGroup":"_uR2-c","advancedTableRow":"_SYZHd","hasRowAction":"_qNkCq","advancedTableExpandRowSpacer":"_JFrgK","isSelected":"_To13F","advancedTableCheckbox":"_qwY8i","advancedTableCell":"_mMBOw","isCheckboxHovered":"_9W80x","showFocusRing":"_Ml-JU","advancedTableColumnHeader":"_dFK8f","fillRemainingSpace":"_qpvZQ","isSortable":"_L6ikB","isDragging":"_nzGZd","isSorted":"_IWaBN","dropTargetLine":"_7JIow","dropTargetLeft":"_oky5Z","dropTargetRight":"_6HDZV","dropTargetMarker":"_BwYWV","resizeHandle":"_VzLYl","resizeLine":"_xVM2J","isResizing":"_yux-4","advancedTableColumnHeaderLabel":"_W6Djm","rightAligned":"_k4K5H","sortIcon":"_xMBLi","advancedTableColumnHeaderLabelText":"_KnjlU","advancedTableColumnHeaderMenu":"_gk9iN","advancedTableColumnHeaderMenuHiddenAnchor":"_sqHXr","advancedTableColumnHeaderMenuItemIcon":"_pGMry","advancedTableCellContainer":"_pSAIH","header":"_3aAi6","checkboxContainer":"_01rf7","checkbox":"_ISuSh","mixed":"_wXh-j","leftAligned":"_i01WR","centerAligned":"_RpSiy","hiddenDescription":"_ISavx","hiddenLiveRegion":"_HgH0q","dragPreview":"_oHbFw","rowActionMenuPane":"_mizXj"};
5
+ var stylesheet="._brNXC{overflow:auto;position:relative;max-width:100%;max-height:100%}._brNXC,._HSu7R{background-color:#fff}._HSu7R{height:70px;z-index:100;display:flex;align-items:flex-end;justify-content:center;position:-webkit-sticky;position:sticky;left:0}._9wlNT{margin-bottom:4px}._AT1Ij{position:-webkit-sticky;position:sticky;top:0;z-index:100}._3wgpr{display:flex}._3wgpr:focus{outline:none}._3wgpr.focus-visible ._EvxeW:after,._3wgpr:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:0;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._3wgpr.focus-visible ._EvxeW:last-of-type:after,._3wgpr:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._3wgpr.focus-visible ._EvxeW:first-of-type:after,._3wgpr:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._3wgpr.focus-visible ._EvxeW._JUVa-:after,._3wgpr:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:1px}._uR2-c{padding-right:3px}._SYZHd{display:flex}._SYZHd._qNkCq ._EvxeW,._SYZHd._qNkCq ._JFrgK{cursor:pointer}._SYZHd._To13F ._EvxeW,._SYZHd._To13F ._JFrgK{background-color:rgba(11,110,208,.08);font-weight:500;box-shadow:inset 0 -1px 0 0 #0b6ed0}._SYZHd._To13F ._EvxeW._JUVa-,._SYZHd._To13F ._JFrgK._JUVa-{background-color:#fff;box-shadow:inset 0 -2px 0 0 #0b6ed0}._SYZHd._To13F ._EvxeW._JUVa- ._JFrgK,._SYZHd._To13F ._EvxeW._JUVa- ._mMBOw,._SYZHd._To13F ._EvxeW._JUVa- ._qwY8i,._SYZHd._To13F ._JFrgK._JUVa- ._JFrgK,._SYZHd._To13F ._JFrgK._JUVa- ._mMBOw,._SYZHd._To13F ._JFrgK._JUVa- ._qwY8i{background-color:rgba(11,110,208,.08)}._SYZHd._qNkCq:hover:not(._To13F):not(._9W80x) ._EvxeW,._SYZHd._qNkCq:hover:not(._To13F):not(._9W80x) ._JFrgK{background-color:#f9f9f9}._SYZHd._qNkCq:active:not(._To13F):not(._9W80x) ._EvxeW,._SYZHd._qNkCq:active:not(._To13F):not(._9W80x) ._JFrgK{background-color:#f3f3f3}._SYZHd:focus{outline:none}._SYZHd.focus-visible ._EvxeW:after,._SYZHd:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._SYZHd.focus-visible ._EvxeW:last-of-type:after,._SYZHd:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._SYZHd.focus-visible ._EvxeW:first-of-type:after,._SYZHd:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._SYZHd.focus-visible ._EvxeW._JUVa-:after,._SYZHd:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:0}._SYZHd:last-of-type:focus{outline:none}._SYZHd:last-of-type.focus-visible ._EvxeW:after,._SYZHd:last-of-type:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:-2px;bottom:0;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._SYZHd:last-of-type.focus-visible ._EvxeW:last-of-type:after,._SYZHd:last-of-type:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._SYZHd:last-of-type.focus-visible ._EvxeW:first-of-type:after,._SYZHd:last-of-type:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._SYZHd:last-of-type.focus-visible ._EvxeW._JUVa-:after,._SYZHd:last-of-type:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:1px}._SYZHd:last-of-type ._mMBOw:focus{outline:none}._SYZHd:last-of-type ._mMBOw._Ml-JU.focus-visible:after,._SYZHd:last-of-type ._mMBOw._Ml-JU:focus-visible:after,._SYZHd:last-of-type ._mMBOw.focus-visible:after,._SYZHd:last-of-type ._mMBOw:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._SYZHd:first-of-type:focus{outline:none}._SYZHd:first-of-type.focus-visible ._EvxeW:after,._SYZHd:first-of-type:focus-visible ._EvxeW:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-bottom:2px solid #0a3f88;border-top:2px solid #0a3f88;z-index:50}._SYZHd:first-of-type.focus-visible ._EvxeW:last-of-type:after,._SYZHd:first-of-type:focus-visible ._EvxeW:last-of-type:after{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:2px solid #0a3f88}._SYZHd:first-of-type.focus-visible ._EvxeW:first-of-type:after,._SYZHd:first-of-type:focus-visible ._EvxeW:first-of-type:after{border-top-left-radius:2px;border-bottom-left-radius:2px;border-left:2px solid #0a3f88}._SYZHd:first-of-type.focus-visible ._EvxeW._JUVa-:after,._SYZHd:first-of-type:focus-visible ._EvxeW._JUVa-:after{right:-3px;bottom:0}._SYZHd:first-of-type ._mMBOw:focus{outline:none}._SYZHd:first-of-type ._mMBOw._Ml-JU.focus-visible:after,._SYZHd:first-of-type ._mMBOw._Ml-JU:focus-visible:after,._SYZHd:first-of-type ._mMBOw.focus-visible:after,._SYZHd:first-of-type ._mMBOw:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._dFK8f{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #d9d9d9;flex-shrink:0;font-size:12px;line-height:16px;font-weight:700;color:#6a6d70;background-color:#fff;position:relative}._dFK8f._qpvZQ{flex-grow:1}._dFK8f._L6ikB{cursor:pointer}._dFK8f._L6ikB:hover:not(._nzGZd){background-color:#f9f9f9;border-bottom-color:#6a6d70}._dFK8f._L6ikB:active:not(._nzGZd){background-color:#f3f3f3}._dFK8f._IWaBN:not(._nzGZd){color:#32363a;fill:#32363a;border-bottom-color:#8a8f94}._dFK8f._nzGZd{cursor:move;background-color:#efefef;border-bottom-color:#ccc;border-top-left-radius:4px;border-top-right-radius:4px}._dFK8f ._7JIow{background-color:#d9d9d9;position:absolute;width:1px;top:0;pointer-events:none}._dFK8f ._7JIow._oky5Z{left:-1px}._dFK8f ._7JIow._6HDZV{right:0}._dFK8f ._BwYWV{background-color:#0a6ed1;position:absolute;width:3px;top:4px;bottom:4px;border-radius:4px;pointer-events:none}._dFK8f ._BwYWV._oky5Z{left:-2px}._dFK8f ._BwYWV._6HDZV{right:-1px}._dFK8f:first-of-type ._oky5Z._7JIow{left:0;width:2px;border-left:1px solid #fff}._dFK8f:first-of-type ._oky5Z._BwYWV{left:0}._dFK8f:last-of-type ._6HDZV._7JIow{right:0;width:2px;border-right:1px solid #fff}._dFK8f:last-of-type ._6HDZV._BwYWV{right:0}._dFK8f ._VzLYl{position:absolute;width:6px;right:-3px;top:0;cursor:ew-resize;z-index:50}._dFK8f ._VzLYl ._xVM2J{position:absolute;width:2px;right:2px;top:0;bottom:0}._dFK8f ._VzLYl ._xVM2J._yux-4{background-color:#0a6ed1}._dFK8f ._VzLYl:hover ._xVM2J:not(._yux-4){background-color:#d9d9d9}._dFK8f ._W6Djm{display:flex;flex-grow:1;align-items:center;min-width:0;padding:14px 0 13px 12px}._dFK8f ._W6Djm._k4K5H{flex-direction:row-reverse;justify-content:flex-start}._dFK8f ._W6Djm._k4K5H ._xMBLi{margin:1px 7px 1px 1px}._dFK8f ._W6Djm ._KnjlU{text-overflow:ellipsis;overflow:hidden;-webkit-hyphens:auto;hyphens:auto;pointer-events:none;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical}._dFK8f ._W6Djm ._xMBLi{margin:1px 1px 1px 7px;flex-shrink:0}._dFK8f ._gk9iN{margin-left:6px;margin-right:4px;flex-shrink:0}._dFK8f ._sqHXr{pointer-events:none;position:absolute;top:0;left:0;bottom:0;right:0}._dFK8f:focus{outline:none}._dFK8f._Ml-JU.focus-visible:after,._dFK8f._Ml-JU:focus-visible:after,._dFK8f.focus-visible:after,._dFK8f:focus-visible:after{content:\"\";display:block;position:absolute;top:0;bottom:-1px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._pGMry{margin-right:6px}._JUVa-{display:flex;border-right:3px solid #e5e5e5;position:-webkit-sticky;position:sticky;left:0;background-color:#fff;z-index:20}._JUVa-[focus-within]{z-index:30}._JUVa-:focus-within{z-index:30}._mMBOw{display:flex;align-items:center;min-height:44px;width:200px;min-width:80px;border-bottom:1px solid #eee;flex-shrink:0;font-size:14px;line-height:20px;overflow-wrap:break-word;color:#32363a;position:relative}._mMBOw ._pSAIH{width:100%;padding:12px 12px 11px;overflow:hidden}._mMBOw._nzGZd{background-color:#efefef;border-bottom-color:#dfdfe1}._mMBOw._qpvZQ{flex-grow:1}._mMBOw:focus{outline:none}._mMBOw._Ml-JU.focus-visible:after,._mMBOw._Ml-JU:focus-visible:after,._mMBOw.focus-visible:after,._mMBOw:focus-visible:after{content:\"\";display:block;position:absolute;top:-2px;bottom:-2px;left:0;right:0;border-radius:2px;border:2px solid #0a3f88;z-index:10}._JFrgK{display:flex!important;min-height:44px!important;align-items:center;justify-content:right;border-bottom:1px solid #eee;flex-shrink:0}._JFrgK._3aAi6{border-bottom-color:#d9d9d9;background-color:#fff}._qwY8i{display:flex;align-items:center;justify-content:center;min-height:44px;width:40px;border-bottom:1px solid #eee;padding:12px 12px 11px;flex-shrink:0;cursor:pointer}._qwY8i._3aAi6{border-bottom-color:#d9d9d9;padding:14px 12px 13px}._qwY8i:focus input~span,._qwY8i:hover input~span{border-color:#0b6ed0}._qwY8i ._01rf7{position:relative;display:inline-flex}._qwY8i ._01rf7 ._ISuSh{margin:0!important}._qwY8i ._01rf7 ._wXh-j{position:absolute;top:3px;left:3px;height:10px;width:10px;border-radius:2px;background-color:#0b6ed0}._i01WR{justify-content:flex-start}._RpSiy{justify-content:center;text-align:center}._k4K5H{justify-content:flex-end;text-align:right}._ISavx{display:none}._HgH0q{opacity:0;height:0;width:0;overflow:hidden}._HgH0q,._oHbFw{position:absolute}._oHbFw{cursor:move;background-color:rgba(11,110,208,.08);border-radius:4px;z-index:1000;pointer-events:none}._mizXj{width:246px}";
6
6
  styleInject(css_248z);
7
7
 
8
8
  export { styles as default, stylesheet };
@@ -40,14 +40,15 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
40
40
  } : undefined;
41
41
  const handleKeyDown = e => {
42
42
  if (e.target === e.currentTarget && e.key === 'Enter' && isInteractive) {
43
- focusableElementRef.current?.focus();
43
+ var _focusableElementRef$;
44
+ (_focusableElementRef$ = focusableElementRef.current) === null || _focusableElementRef$ === void 0 ? void 0 : _focusableElementRef$.focus();
44
45
  e.preventDefault(); // Prevent click event from occurring on the focusable element
45
46
  }
46
47
 
47
- onKeyDown?.(e);
48
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
48
49
  };
49
50
  const handleFocus = e => {
50
- onFocus?.(e);
51
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
51
52
  if (isInteractive) {
52
53
  if (e.target !== e.currentTarget) {
53
54
  setIsEditing(true);
@@ -62,7 +63,8 @@ const AdvancedTableCell = /*#__PURE__*/forwardRef((_ref, ref) => {
62
63
  }
63
64
  } : undefined;
64
65
  const focusCell = () => {
65
- cellRef.current?.focus();
66
+ var _cellRef$current;
67
+ (_cellRef$current = cellRef.current) === null || _cellRef$current === void 0 ? void 0 : _cellRef$current.focus();
66
68
  };
67
69
  const computedWidth = useComputedWidth(widthBuffer, width);
68
70
  return /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
@@ -55,8 +55,8 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
55
55
  const [ellipsisShown, setEllipsisShown] = useState();
56
56
  const columnHeaderRef = useRef(null);
57
57
  const labelContainerRef = useRef(null);
58
- const isSortable = Boolean(sortOptions?.length);
59
- const isSorted = isSortable && selectedSortOption.columnId === id && selectedSortOption.index >= 0 && selectedSortOption.index < sortOptions?.length && (selectedSortOption.direction === 'ascending' || selectedSortOption.direction === 'descending');
58
+ const isSortable = Boolean(sortOptions === null || sortOptions === void 0 ? void 0 : sortOptions.length);
59
+ const isSorted = isSortable && selectedSortOption.columnId === id && selectedSortOption.index >= 0 && selectedSortOption.index < (sortOptions === null || sortOptions === void 0 ? void 0 : sortOptions.length) && (selectedSortOption.direction === 'ascending' || selectedSortOption.direction === 'descending');
60
60
  const selectedSortIndex = isSorted ? selectedSortOption.index : -1;
61
61
  const arrowUpSvgContent = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("path", {
62
62
  fillRule: "evenodd",
@@ -120,19 +120,22 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
120
120
  setIsHiddenMenuOpen(true);
121
121
  setHiddenMenuHighlightedIndex(0);
122
122
  } else if (onWidthChange && e.key === 'ArrowRight' && e.shiftKey) {
123
+ var _columnHeaderRef$curr;
123
124
  e.preventDefault(); // prevent scroll
124
- const newWidth = columnHeaderRef.current?.getBoundingClientRect().width + 10;
125
+ const newWidth = ((_columnHeaderRef$curr = columnHeaderRef.current) === null || _columnHeaderRef$curr === void 0 ? void 0 : _columnHeaderRef$curr.getBoundingClientRect().width) + 10;
125
126
  onWidthChange(newWidth);
126
127
  } else if (onWidthChange && e.key === 'ArrowLeft' && e.shiftKey) {
128
+ var _columnHeaderRef$curr2;
127
129
  e.preventDefault(); // prevent scroll
128
- const newWidth = Math.max(80, columnHeaderRef.current?.getBoundingClientRect().width - 10);
130
+ const newWidth = Math.max(80, ((_columnHeaderRef$curr2 = columnHeaderRef.current) === null || _columnHeaderRef$curr2 === void 0 ? void 0 : _columnHeaderRef$curr2.getBoundingClientRect().width) - 10);
129
131
  onWidthChange(newWidth);
130
132
  } else {
131
- onKeyDown?.(e);
133
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
132
134
  }
133
135
  };
134
136
  const handleClick = e => {
135
- if (e.target === e.currentTarget || labelContainerRef.current?.contains(e.target)) {
137
+ var _labelContainerRef$cu;
138
+ if (e.target === e.currentTarget || (_labelContainerRef$cu = labelContainerRef.current) !== null && _labelContainerRef$cu !== void 0 && _labelContainerRef$cu.contains(e.target)) {
136
139
  const newIndex = isSorted ? selectedSortIndex : 0;
137
140
  const newDirection = isSorted && selectedSortOption.direction === 'ascending' ? 'descending' : 'ascending';
138
141
  setSelectedSortOption({
@@ -197,10 +200,11 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
197
200
  }
198
201
  };
199
202
  const handleMouseMove = e => {
203
+ var _columnHeaderRef$curr3;
200
204
  const mouseX = e.clientX;
201
- const headerX = columnHeaderRef.current?.getBoundingClientRect().x;
205
+ const headerX = (_columnHeaderRef$curr3 = columnHeaderRef.current) === null || _columnHeaderRef$curr3 === void 0 ? void 0 : _columnHeaderRef$curr3.getBoundingClientRect().x;
202
206
  const newWidth = Math.max(80, mouseX - headerX);
203
- onWidthChange?.(newWidth);
207
+ onWidthChange === null || onWidthChange === void 0 ? void 0 : onWidthChange(newWidth);
204
208
  };
205
209
  const handleMouseUp = e => {
206
210
  if (e.button === 0) {
@@ -220,7 +224,10 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
220
224
  onIsPinnedChange: disableUserPinnableColumns ? undefined : handleIsPinnedChange,
221
225
  onMoveLeft: disableUserReorderableColumns || isPinned && columnIndex === 0 || !isPinned && columnIndex === minUnpinnedColumnIndex ? undefined : handleMoveLeft,
222
226
  onMoveRight: disableUserReorderableColumns || isPinned && columnIndex === minUnpinnedColumnIndex - 1 || !isPinned && columnIndex === maxUnpinnedColumnIndex ? undefined : handleMoveRight,
223
- onFocus: () => columnHeaderRef.current?.focus(),
227
+ onFocus: () => {
228
+ var _columnHeaderRef$curr4;
229
+ return (_columnHeaderRef$curr4 = columnHeaderRef.current) === null || _columnHeaderRef$curr4 === void 0 ? void 0 : _columnHeaderRef$curr4.focus();
230
+ },
224
231
  columnId: id,
225
232
  columnHeaderRef,
226
233
  'data-testid': dataTestId
@@ -288,7 +295,8 @@ const AdvancedTableColumnHeader = /*#__PURE__*/forwardRef((_ref, ref) => {
288
295
  tabIndex: -1,
289
296
  "aria-hidden": "true",
290
297
  onFocus: () => {
291
- columnHeaderRef.current?.focus();
298
+ var _columnHeaderRef$curr5;
299
+ (_columnHeaderRef$curr5 = columnHeaderRef.current) === null || _columnHeaderRef$curr5 === void 0 ? void 0 : _columnHeaderRef$curr5.focus();
292
300
  },
293
301
  className: styles.advancedTableColumnHeaderMenuHiddenAnchor
294
302
  })