material-react-table 2.0.0-beta.7 → 2.0.0-beta.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. package/dist/cjs/index.js +24 -24
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/material-react-table.esm.js +24 -24
  4. package/dist/esm/material-react-table.esm.js.map +1 -1
  5. package/locales/{ar/index.d.ts → ar.d.ts} +1 -1
  6. package/locales/{az/index.d.ts → az.d.ts} +1 -1
  7. package/locales/{bg/index.d.ts → bg.d.ts} +1 -1
  8. package/locales/{cs/index.d.ts → cs.d.ts} +1 -1
  9. package/locales/{da/index.d.ts → da.d.ts} +1 -1
  10. package/locales/{de/index.d.ts → de.d.ts} +1 -1
  11. package/locales/{en/index.d.ts → en.d.ts} +1 -1
  12. package/locales/{es/index.d.ts → es.d.ts} +1 -1
  13. package/locales/{et/index.d.ts → et.d.ts} +1 -1
  14. package/locales/{fa/index.d.ts → fa.d.ts} +1 -1
  15. package/locales/{fi/index.d.ts → fi.d.ts} +1 -1
  16. package/locales/{fr/index.d.ts → fr.d.ts} +1 -1
  17. package/locales/{hu/index.d.ts → hu.d.ts} +1 -1
  18. package/locales/{hy/index.d.ts → hy.d.ts} +1 -1
  19. package/locales/{id/index.d.ts → id.d.ts} +1 -1
  20. package/locales/{it/index.d.ts → it.d.ts} +1 -1
  21. package/locales/{ja/index.d.ts → ja.d.ts} +1 -1
  22. package/locales/{ko/index.d.ts → ko.d.ts} +1 -1
  23. package/locales/{nl/index.d.ts → nl.d.ts} +1 -1
  24. package/locales/{no/index.d.ts → no.d.ts} +1 -1
  25. package/locales/{np/index.d.ts → np.d.ts} +1 -1
  26. package/locales/{pl/index.d.ts → pl.d.ts} +1 -1
  27. package/locales/{pt-BR/index.d.ts → pt-BR.d.ts} +1 -1
  28. package/locales/{pt/index.d.ts → pt.d.ts} +1 -1
  29. package/locales/{ro/index.d.ts → ro.d.ts} +1 -1
  30. package/locales/{ru/index.d.ts → ru.d.ts} +1 -1
  31. package/locales/{sk/index.d.ts → sk.d.ts} +1 -1
  32. package/locales/{sr-Cyrl-RS/index.d.ts → sr-Cyrl-RS.d.ts} +1 -1
  33. package/locales/{sr-Latn-RS/index.d.ts → sr-Latn-RS.d.ts} +1 -1
  34. package/locales/{sv/index.d.ts → sv.d.ts} +1 -1
  35. package/locales/{tr/index.d.ts → tr.d.ts} +1 -1
  36. package/locales/{uk/index.d.ts → uk.d.ts} +1 -1
  37. package/locales/{vi/index.d.ts → vi.d.ts} +1 -1
  38. package/locales/{zh-Hans/index.d.ts → zh-Hans.d.ts} +1 -1
  39. package/locales/{zh-Hans/index.js → zh-Hans.js} +17 -17
  40. package/locales/{zh-Hans/index.esm.js → zh-Hans.mjs} +17 -17
  41. package/locales/{zh-Hant/index.d.ts → zh-Hant.d.ts} +1 -1
  42. package/package.json +176 -2
  43. package/src/buttons/MRT_ColumnPinningButtons.tsx +3 -3
  44. package/src/buttons/MRT_CopyButton.tsx +0 -1
  45. package/src/buttons/MRT_EditActionButtons.tsx +2 -2
  46. package/src/buttons/MRT_ExpandAllButton.tsx +0 -1
  47. package/src/buttons/MRT_ExpandButton.tsx +0 -1
  48. package/src/buttons/MRT_GrabHandleButton.tsx +0 -1
  49. package/src/buttons/MRT_RowPinButton.tsx +0 -1
  50. package/src/buttons/MRT_ShowHideColumnsButton.tsx +1 -1
  51. package/src/buttons/MRT_ToggleDensePaddingButton.tsx +1 -1
  52. package/src/buttons/MRT_ToggleFiltersButton.tsx +1 -1
  53. package/src/buttons/MRT_ToggleFullScreenButton.tsx +0 -1
  54. package/src/buttons/MRT_ToggleGlobalFilterButton.tsx +1 -1
  55. package/src/buttons/MRT_ToggleRowActionMenuButton.tsx +1 -2
  56. package/src/head/MRT_TableHeadCellColumnActionsButton.tsx +0 -1
  57. package/src/head/MRT_TableHeadCellFilterLabel.tsx +1 -1
  58. package/src/head/MRT_TableHeadCellSortLabel.tsx +1 -1
  59. package/src/inputs/MRT_FilterCheckbox.tsx +0 -1
  60. package/src/inputs/MRT_FilterTextField.tsx +2 -2
  61. package/src/inputs/MRT_GlobalFilterTextField.tsx +2 -2
  62. package/src/inputs/MRT_SelectCheckbox.tsx +0 -1
  63. package/src/locales/zh-Hans.ts +17 -17
  64. package/src/menus/MRT_ShowHideColumnsMenuItems.tsx +0 -1
  65. package/src/table/MRT_TablePaper.tsx +1 -0
  66. package/locales/ar/index.esm.d.ts +0 -3
  67. package/locales/ar/package.json +0 -14
  68. package/locales/az/index.esm.d.ts +0 -3
  69. package/locales/az/package.json +0 -14
  70. package/locales/bg/index.esm.d.ts +0 -3
  71. package/locales/bg/package.json +0 -14
  72. package/locales/cs/index.esm.d.ts +0 -3
  73. package/locales/cs/package.json +0 -14
  74. package/locales/da/index.esm.d.ts +0 -3
  75. package/locales/da/package.json +0 -14
  76. package/locales/de/index.esm.d.ts +0 -3
  77. package/locales/de/package.json +0 -14
  78. package/locales/en/index.esm.d.ts +0 -3
  79. package/locales/en/package.json +0 -14
  80. package/locales/es/index.esm.d.ts +0 -3
  81. package/locales/es/package.json +0 -14
  82. package/locales/et/index.esm.d.ts +0 -3
  83. package/locales/et/package.json +0 -14
  84. package/locales/fa/index.esm.d.ts +0 -3
  85. package/locales/fa/package.json +0 -14
  86. package/locales/fi/index.esm.d.ts +0 -3
  87. package/locales/fi/package.json +0 -14
  88. package/locales/fr/index.esm.d.ts +0 -3
  89. package/locales/fr/package.json +0 -14
  90. package/locales/hu/index.esm.d.ts +0 -3
  91. package/locales/hu/package.json +0 -14
  92. package/locales/hy/index.esm.d.ts +0 -3
  93. package/locales/hy/package.json +0 -14
  94. package/locales/id/index.esm.d.ts +0 -3
  95. package/locales/id/package.json +0 -14
  96. package/locales/it/index.esm.d.ts +0 -3
  97. package/locales/it/package.json +0 -14
  98. package/locales/ja/index.esm.d.ts +0 -3
  99. package/locales/ja/package.json +0 -14
  100. package/locales/ko/index.esm.d.ts +0 -3
  101. package/locales/ko/package.json +0 -14
  102. package/locales/nl/index.esm.d.ts +0 -3
  103. package/locales/nl/package.json +0 -14
  104. package/locales/no/index.esm.d.ts +0 -3
  105. package/locales/no/package.json +0 -14
  106. package/locales/np/index.esm.d.ts +0 -3
  107. package/locales/np/package.json +0 -14
  108. package/locales/pl/index.esm.d.ts +0 -3
  109. package/locales/pl/package.json +0 -14
  110. package/locales/pt/index.esm.d.ts +0 -3
  111. package/locales/pt/package.json +0 -14
  112. package/locales/pt-BR/index.esm.d.ts +0 -3
  113. package/locales/pt-BR/package.json +0 -14
  114. package/locales/ro/index.esm.d.ts +0 -3
  115. package/locales/ro/package.json +0 -14
  116. package/locales/ru/index.esm.d.ts +0 -3
  117. package/locales/ru/package.json +0 -14
  118. package/locales/sk/index.esm.d.ts +0 -3
  119. package/locales/sk/package.json +0 -14
  120. package/locales/sr-Cyrl-RS/index.esm.d.ts +0 -3
  121. package/locales/sr-Cyrl-RS/package.json +0 -14
  122. package/locales/sr-Latn-RS/index.esm.d.ts +0 -3
  123. package/locales/sr-Latn-RS/package.json +0 -14
  124. package/locales/sv/index.esm.d.ts +0 -3
  125. package/locales/sv/package.json +0 -14
  126. package/locales/tr/index.esm.d.ts +0 -3
  127. package/locales/tr/package.json +0 -14
  128. package/locales/uk/index.esm.d.ts +0 -3
  129. package/locales/uk/package.json +0 -14
  130. package/locales/vi/index.esm.d.ts +0 -3
  131. package/locales/vi/package.json +0 -14
  132. package/locales/zh-Hans/index.esm.d.ts +0 -3
  133. package/locales/zh-Hans/package.json +0 -14
  134. package/locales/zh-Hant/index.esm.d.ts +0 -3
  135. package/locales/zh-Hant/package.json +0 -14
  136. /package/locales/{ar/index.js → ar.js} +0 -0
  137. /package/locales/{ar/index.esm.js → ar.mjs} +0 -0
  138. /package/locales/{az/index.js → az.js} +0 -0
  139. /package/locales/{az/index.esm.js → az.mjs} +0 -0
  140. /package/locales/{bg/index.js → bg.js} +0 -0
  141. /package/locales/{bg/index.esm.js → bg.mjs} +0 -0
  142. /package/locales/{cs/index.js → cs.js} +0 -0
  143. /package/locales/{cs/index.esm.js → cs.mjs} +0 -0
  144. /package/locales/{da/index.js → da.js} +0 -0
  145. /package/locales/{da/index.esm.js → da.mjs} +0 -0
  146. /package/locales/{de/index.js → de.js} +0 -0
  147. /package/locales/{de/index.esm.js → de.mjs} +0 -0
  148. /package/locales/{en/index.js → en.js} +0 -0
  149. /package/locales/{en/index.esm.js → en.mjs} +0 -0
  150. /package/locales/{es/index.js → es.js} +0 -0
  151. /package/locales/{es/index.esm.js → es.mjs} +0 -0
  152. /package/locales/{et/index.js → et.js} +0 -0
  153. /package/locales/{et/index.esm.js → et.mjs} +0 -0
  154. /package/locales/{fa/index.js → fa.js} +0 -0
  155. /package/locales/{fa/index.esm.js → fa.mjs} +0 -0
  156. /package/locales/{fi/index.js → fi.js} +0 -0
  157. /package/locales/{fi/index.esm.js → fi.mjs} +0 -0
  158. /package/locales/{fr/index.js → fr.js} +0 -0
  159. /package/locales/{fr/index.esm.js → fr.mjs} +0 -0
  160. /package/locales/{hu/index.js → hu.js} +0 -0
  161. /package/locales/{hu/index.esm.js → hu.mjs} +0 -0
  162. /package/locales/{hy/index.js → hy.js} +0 -0
  163. /package/locales/{hy/index.esm.js → hy.mjs} +0 -0
  164. /package/locales/{id/index.js → id.js} +0 -0
  165. /package/locales/{id/index.esm.js → id.mjs} +0 -0
  166. /package/locales/{it/index.js → it.js} +0 -0
  167. /package/locales/{it/index.esm.js → it.mjs} +0 -0
  168. /package/locales/{ja/index.js → ja.js} +0 -0
  169. /package/locales/{ja/index.esm.js → ja.mjs} +0 -0
  170. /package/locales/{ko/index.js → ko.js} +0 -0
  171. /package/locales/{ko/index.esm.js → ko.mjs} +0 -0
  172. /package/locales/{nl/index.js → nl.js} +0 -0
  173. /package/locales/{nl/index.esm.js → nl.mjs} +0 -0
  174. /package/locales/{no/index.js → no.js} +0 -0
  175. /package/locales/{no/index.esm.js → no.mjs} +0 -0
  176. /package/locales/{np/index.js → np.js} +0 -0
  177. /package/locales/{np/index.esm.js → np.mjs} +0 -0
  178. /package/locales/{pl/index.js → pl.js} +0 -0
  179. /package/locales/{pl/index.esm.js → pl.mjs} +0 -0
  180. /package/locales/{pt-BR/index.js → pt-BR.js} +0 -0
  181. /package/locales/{pt-BR/index.esm.js → pt-BR.mjs} +0 -0
  182. /package/locales/{pt/index.js → pt.js} +0 -0
  183. /package/locales/{pt/index.esm.js → pt.mjs} +0 -0
  184. /package/locales/{ro/index.js → ro.js} +0 -0
  185. /package/locales/{ro/index.esm.js → ro.mjs} +0 -0
  186. /package/locales/{ru/index.js → ru.js} +0 -0
  187. /package/locales/{ru/index.esm.js → ru.mjs} +0 -0
  188. /package/locales/{sk/index.js → sk.js} +0 -0
  189. /package/locales/{sk/index.esm.js → sk.mjs} +0 -0
  190. /package/locales/{sr-Cyrl-RS/index.js → sr-Cyrl-RS.js} +0 -0
  191. /package/locales/{sr-Cyrl-RS/index.esm.js → sr-Cyrl-RS.mjs} +0 -0
  192. /package/locales/{sr-Latn-RS/index.js → sr-Latn-RS.js} +0 -0
  193. /package/locales/{sr-Latn-RS/index.esm.js → sr-Latn-RS.mjs} +0 -0
  194. /package/locales/{sv/index.js → sv.js} +0 -0
  195. /package/locales/{sv/index.esm.js → sv.mjs} +0 -0
  196. /package/locales/{tr/index.js → tr.js} +0 -0
  197. /package/locales/{tr/index.esm.js → tr.mjs} +0 -0
  198. /package/locales/{uk/index.js → uk.js} +0 -0
  199. /package/locales/{uk/index.esm.js → uk.mjs} +0 -0
  200. /package/locales/{vi/index.js → vi.js} +0 -0
  201. /package/locales/{vi/index.esm.js → vi.mjs} +0 -0
  202. /package/locales/{zh-Hant/index.js → zh-Hant.js} +0 -0
  203. /package/locales/{zh-Hant/index.esm.js → zh-Hant.mjs} +0 -0
package/dist/cjs/index.js CHANGED
@@ -450,7 +450,7 @@ const MRT_GrabHandleButton = (_a) => {
450
450
  var { iconButtonProps, location, onDragEnd, onDragStart, table } = _a, rest = __rest(_a, ["iconButtonProps", "location", "onDragEnd", "onDragStart", "table"]);
451
451
  const { options: { icons: { DragHandleIcon }, localization, }, } = table;
452
452
  const _iconButtonProps = Object.assign(Object.assign({}, iconButtonProps), rest);
453
- return (jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, placement: "top", title: (_b = _iconButtonProps === null || _iconButtonProps === void 0 ? void 0 : _iconButtonProps.title) !== null && _b !== void 0 ? _b : localization.move, children: jsxRuntime.jsx(IconButton, Object.assign({ disableRipple: true, draggable: "true", size: "small" }, _iconButtonProps, { onClick: (e) => {
453
+ return (jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, placement: "top", title: (_b = _iconButtonProps === null || _iconButtonProps === void 0 ? void 0 : _iconButtonProps.title) !== null && _b !== void 0 ? _b : localization.move, children: jsxRuntime.jsx(IconButton, Object.assign({ disableRipple: true, draggable: "true", size: "small" }, _iconButtonProps, { onClick: (e) => {
454
454
  var _a;
455
455
  e.stopPropagation();
456
456
  (_a = _iconButtonProps === null || _iconButtonProps === void 0 ? void 0 : _iconButtonProps.onClick) === null || _a === void 0 ? void 0 : _a.call(_iconButtonProps, e);
@@ -508,7 +508,7 @@ const MRT_CopyButton = (_a) => {
508
508
  row,
509
509
  table,
510
510
  })), rest);
511
- return (jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, placement: "top", title: (_b = buttonProps === null || buttonProps === void 0 ? void 0 : buttonProps.title) !== null && _b !== void 0 ? _b : (copied ? localization.copiedToClipboard : localization.clickToCopy), children: jsxRuntime.jsx(Button, Object.assign({ onClick: (e) => handleCopy(e, cell.getValue()), size: "small", type: "button", variant: "text" }, buttonProps, { sx: (theme) => (Object.assign({ backgroundColor: 'transparent', border: 'none', color: 'inherit', cursor: 'copy', fontFamily: 'inherit', fontSize: 'inherit', letterSpacing: 'inherit', m: '-0.25rem', minWidth: 'unset', textAlign: 'inherit', textTransform: 'inherit' }, parseFromValuesOrFunc(buttonProps === null || buttonProps === void 0 ? void 0 : buttonProps.sx, theme))), title: undefined })) }));
511
+ return (jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, placement: "top", title: (_b = buttonProps === null || buttonProps === void 0 ? void 0 : buttonProps.title) !== null && _b !== void 0 ? _b : (copied ? localization.copiedToClipboard : localization.clickToCopy), children: jsxRuntime.jsx(Button, Object.assign({ onClick: (e) => handleCopy(e, cell.getValue()), size: "small", type: "button", variant: "text" }, buttonProps, { sx: (theme) => (Object.assign({ backgroundColor: 'transparent', border: 'none', color: 'inherit', cursor: 'copy', fontFamily: 'inherit', fontSize: 'inherit', letterSpacing: 'inherit', m: '-0.25rem', minWidth: 'unset', textAlign: 'inherit', textTransform: 'inherit' }, parseFromValuesOrFunc(buttonProps === null || buttonProps === void 0 ? void 0 : buttonProps.sx, theme))), title: undefined })) }));
512
512
  };
513
513
 
514
514
  const MRT_EditCellTextField = (_a) => {
@@ -1464,7 +1464,7 @@ const MRT_TableHeadCellColumnActionsButton = (_a) => {
1464
1464
  column,
1465
1465
  table,
1466
1466
  })), rest);
1467
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, placement: "top", title: (_b = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.title) !== null && _b !== void 0 ? _b : localization.columnActions, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.columnActions, onClick: handleClick, size: "small" }, iconButtonProps, { sx: (theme) => (Object.assign({ '&:hover': {
1467
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, placement: "top", title: (_b = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.title) !== null && _b !== void 0 ? _b : localization.columnActions, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.columnActions, onClick: handleClick, size: "small" }, iconButtonProps, { sx: (theme) => (Object.assign({ '&:hover': {
1468
1468
  opacity: 1,
1469
1469
  }, height: '2rem', m: '-8px -4px', opacity: 0.3, transition: 'all 150ms', width: '2rem' }, parseFromValuesOrFunc(iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.sx, theme))), title: undefined, children: jsxRuntime.jsx(MoreVertIcon, { style: { transform: 'scale(0.9)' } }) })) }), anchorEl && (jsxRuntime.jsx(MRT_ColumnActionMenu, { anchorEl: anchorEl, header: header, setAnchorEl: setAnchorEl, table: table }))] }));
1470
1470
  };
@@ -1483,7 +1483,7 @@ const MRT_FilterCheckbox = (_a) => {
1483
1483
  table,
1484
1484
  })), rest);
1485
1485
  const filterLabel = (_b = localization.filterByColumn) === null || _b === void 0 ? void 0 : _b.replace('{column}', columnDef.header);
1486
- return (jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, title: (_c = checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.title) !== null && _c !== void 0 ? _c : filterLabel, children: jsxRuntime.jsx(FormControlLabel, { control: jsxRuntime.jsx(Checkbox, Object.assign({ checked: column.getFilterValue() === 'true', color: column.getFilterValue() === undefined ? 'default' : 'primary', indeterminate: column.getFilterValue() === undefined, size: density === 'compact' ? 'small' : 'medium' }, checkboxProps, { onChange: (e, checked) => {
1486
+ return (jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, title: (_c = checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.title) !== null && _c !== void 0 ? _c : filterLabel, children: jsxRuntime.jsx(FormControlLabel, { control: jsxRuntime.jsx(Checkbox, Object.assign({ checked: column.getFilterValue() === 'true', color: column.getFilterValue() === undefined ? 'default' : 'primary', indeterminate: column.getFilterValue() === undefined, size: density === 'compact' ? 'small' : 'medium' }, checkboxProps, { onChange: (e, checked) => {
1487
1487
  var _a;
1488
1488
  column.setFilterValue(column.getFilterValue() === undefined
1489
1489
  ? 'true'
@@ -1641,12 +1641,12 @@ const MRT_FilterTextField = (_a) => {
1641
1641
  isMultiSelectFilter,
1642
1642
  isSelectFilter,
1643
1643
  ]);
1644
- const endAdornment = !isAutocompleteFilter && !isDateFilter && !filterChipLabel ? (jsxRuntime.jsx(InputAdornment, { position: "end", sx: { mr: isSelectFilter || isMultiSelectFilter ? '20px' : undefined }, children: jsxRuntime.jsx(Tooltip, { arrow: true, placement: "right", title: (_j = localization.clearFilter) !== null && _j !== void 0 ? _j : '', children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, { "aria-label": localization.clearFilter, disabled: !((_k = filterValue === null || filterValue === void 0 ? void 0 : filterValue.toString()) === null || _k === void 0 ? void 0 : _k.length), onClick: handleClear, size: "small", sx: {
1644
+ const endAdornment = !isAutocompleteFilter && !isDateFilter && !filterChipLabel ? (jsxRuntime.jsx(InputAdornment, { position: "end", sx: { mr: isSelectFilter || isMultiSelectFilter ? '20px' : undefined }, children: jsxRuntime.jsx(Tooltip, { placement: "right", title: (_j = localization.clearFilter) !== null && _j !== void 0 ? _j : '', children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, { "aria-label": localization.clearFilter, disabled: !((_k = filterValue === null || filterValue === void 0 ? void 0 : filterValue.toString()) === null || _k === void 0 ? void 0 : _k.length), onClick: handleClear, size: "small", sx: {
1645
1645
  height: '2rem',
1646
1646
  transform: 'scale(0.9)',
1647
1647
  width: '2rem',
1648
1648
  }, children: jsxRuntime.jsx(CloseIcon, {}) }) }) }) })) : null;
1649
- const startAdornment = showChangeModeButton ? (jsxRuntime.jsxs(InputAdornment, { position: "start", children: [jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.changeFilterMode, children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, { "aria-label": localization.changeFilterMode, onClick: handleFilterMenuOpen, size: "small", sx: { height: '1.75rem', width: '1.75rem' }, children: jsxRuntime.jsx(FilterListIcon, {}) }) }) }), filterChipLabel && (jsxRuntime.jsx(Chip, { label: filterChipLabel, onDelete: handleClearEmptyFilterChip }))] })) : null;
1649
+ const startAdornment = showChangeModeButton ? (jsxRuntime.jsxs(InputAdornment, { position: "start", children: [jsxRuntime.jsx(Tooltip, { title: localization.changeFilterMode, children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, { "aria-label": localization.changeFilterMode, onClick: handleFilterMenuOpen, size: "small", sx: { height: '1.75rem', width: '1.75rem' }, children: jsxRuntime.jsx(FilterListIcon, {}) }) }) }), filterChipLabel && (jsxRuntime.jsx(Chip, { label: filterChipLabel, onDelete: handleClearEmptyFilterChip }))] })) : null;
1650
1650
  const commonTextFieldProps = Object.assign(Object.assign({ FormHelperTextProps: {
1651
1651
  sx: {
1652
1652
  fontSize: '0.75rem',
@@ -1850,7 +1850,7 @@ const MRT_TableHeadCellFilterLabel = (_a) => {
1850
1850
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Grow, { in: columnFilterDisplayMode === 'popover' ||
1851
1851
  (!!filterValue && !isRangeFilter) ||
1852
1852
  (isRangeFilter && // @ts-ignore
1853
- (!!(filterValue === null || filterValue === void 0 ? void 0 : filterValue[0]) || !!(filterValue === null || filterValue === void 0 ? void 0 : filterValue[1]))), unmountOnExit: true, children: jsxRuntime.jsx(Box, { component: "span", sx: { flex: '0 0' }, children: jsxRuntime.jsx(Tooltip, { arrow: true, placement: "top", title: filterTooltip, children: jsxRuntime.jsx(IconButton, Object.assign({ disableRipple: true, onClick: (event) => {
1853
+ (!!(filterValue === null || filterValue === void 0 ? void 0 : filterValue[0]) || !!(filterValue === null || filterValue === void 0 ? void 0 : filterValue[1]))), unmountOnExit: true, children: jsxRuntime.jsx(Box, { component: "span", sx: { flex: '0 0' }, children: jsxRuntime.jsx(Tooltip, { placement: "top", title: filterTooltip, children: jsxRuntime.jsx(IconButton, Object.assign({ disableRipple: true, onClick: (event) => {
1854
1854
  if (columnFilterDisplayMode === 'popover') {
1855
1855
  setAnchorEl(event.currentTarget);
1856
1856
  }
@@ -1956,7 +1956,7 @@ const MRT_TableHeadCellSortLabel = (_a) => {
1956
1956
  : column.getNextSortingOrder() === 'desc'
1957
1957
  ? localization.sortByColumnDesc.replace('{column}', columnDef.header)
1958
1958
  : localization.sortByColumnAsc.replace('{column}', columnDef.header);
1959
- return (jsxRuntime.jsx(Tooltip, { arrow: true, placement: "top", title: sortTooltip, children: jsxRuntime.jsx(Badge, { badgeContent: sorting.length > 1 ? column.getSortIndex() + 1 : 0, overlap: "circular", children: jsxRuntime.jsx(TableSortLabel, Object.assign({ IconComponent: !isSorted
1959
+ return (jsxRuntime.jsx(Tooltip, { placement: "top", title: sortTooltip, children: jsxRuntime.jsx(Badge, { badgeContent: sorting.length > 1 ? column.getSortIndex() + 1 : 0, overlap: "circular", children: jsxRuntime.jsx(TableSortLabel, Object.assign({ IconComponent: !isSorted
1960
1960
  ? (props) => (jsxRuntime.jsx(SyncAltIcon, Object.assign({}, props, { style: {
1961
1961
  transform: 'rotate(-90deg) scaleX(0.9) translateX(-1px)',
1962
1962
  } })))
@@ -2218,7 +2218,7 @@ const MRT_GlobalFilterTextField = (_a) => {
2218
2218
  }
2219
2219
  isMounted.current = true;
2220
2220
  }, [globalFilter]);
2221
- return (jsxRuntime.jsxs(Collapse, { in: showGlobalFilter, mountOnEnter: true, orientation: "horizontal", unmountOnExit: true, children: [jsxRuntime.jsx(TextField, Object.assign({ InputProps: Object.assign(Object.assign({ endAdornment: (jsxRuntime.jsx(InputAdornment, { position: "end", children: jsxRuntime.jsx(Tooltip, { arrow: true, title: (_b = localization.clearSearch) !== null && _b !== void 0 ? _b : '', children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, { "aria-label": localization.clearSearch, disabled: !(searchValue === null || searchValue === void 0 ? void 0 : searchValue.length), onClick: handleClear, size: "small", children: jsxRuntime.jsx(CloseIcon, {}) }) }) }) })), startAdornment: enableGlobalFilterModes ? (jsxRuntime.jsx(InputAdornment, { position: "start", children: jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.changeSearchMode, children: jsxRuntime.jsx(IconButton, { "aria-label": localization.changeSearchMode, onClick: handleGlobalFilterMenuOpen, size: "small", sx: { height: '1.75rem', width: '1.75rem' }, children: jsxRuntime.jsx(SearchIcon, {}) }) }) })) : (jsxRuntime.jsx(SearchIcon, { style: { marginRight: '4px' } })) }, textFieldProps.InputProps), { sx: (theme) => {
2221
+ return (jsxRuntime.jsxs(Collapse, { in: showGlobalFilter, mountOnEnter: true, orientation: "horizontal", unmountOnExit: true, children: [jsxRuntime.jsx(TextField, Object.assign({ InputProps: Object.assign(Object.assign({ endAdornment: (jsxRuntime.jsx(InputAdornment, { position: "end", children: jsxRuntime.jsx(Tooltip, { title: (_b = localization.clearSearch) !== null && _b !== void 0 ? _b : '', children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, { "aria-label": localization.clearSearch, disabled: !(searchValue === null || searchValue === void 0 ? void 0 : searchValue.length), onClick: handleClear, size: "small", children: jsxRuntime.jsx(CloseIcon, {}) }) }) }) })), startAdornment: enableGlobalFilterModes ? (jsxRuntime.jsx(InputAdornment, { position: "start", children: jsxRuntime.jsx(Tooltip, { title: localization.changeSearchMode, children: jsxRuntime.jsx(IconButton, { "aria-label": localization.changeSearchMode, onClick: handleGlobalFilterMenuOpen, size: "small", sx: { height: '1.75rem', width: '1.75rem' }, children: jsxRuntime.jsx(SearchIcon, {}) }) }) })) : (jsxRuntime.jsx(SearchIcon, { style: { marginRight: '4px' } })) }, textFieldProps.InputProps), { sx: (theme) => {
2222
2222
  var _a;
2223
2223
  return (Object.assign({ mb: 0 }, parseFromValuesOrFunc((_a = textFieldProps === null || textFieldProps === void 0 ? void 0 : textFieldProps.InputProps) === null || _a === void 0 ? void 0 : _a.sx, theme)));
2224
2224
  } }), inputProps: Object.assign({ autoComplete: 'new-password' }, textFieldProps.inputProps), onChange: handleChange, placeholder: localization.search, size: "small", value: searchValue !== null && searchValue !== void 0 ? searchValue : '', variant: "outlined" }, textFieldProps, { inputRef: (inputRef) => {
@@ -2270,7 +2270,7 @@ const MRT_SelectCheckbox = (_a) => {
2270
2270
  e.stopPropagation();
2271
2271
  (_a = checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.onClick) === null || _a === void 0 ? void 0 : _a.call(checkboxProps, e);
2272
2272
  }, sx: (theme) => (Object.assign({ height: density === 'compact' ? '1.75rem' : '2.5rem', m: density !== 'compact' ? '-0.4rem' : undefined, width: density === 'compact' ? '1.75rem' : '2.5rem', zIndex: 0 }, parseFromValuesOrFunc(checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.sx, theme))), title: undefined });
2273
- return (jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, title: (_b = checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.title) !== null && _b !== void 0 ? _b : (selectAll
2273
+ return (jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, title: (_b = checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.title) !== null && _b !== void 0 ? _b : (selectAll
2274
2274
  ? localization.toggleSelectAll
2275
2275
  : localization.toggleSelectRow), children: enableMultiRowSelection === false ? (jsxRuntime.jsx(Radio, Object.assign({}, commonProps))) : (jsxRuntime.jsx(Checkbox, Object.assign({ indeterminate: selectAll
2276
2276
  ? table.getIsSomeRowsSelected() && !allRowsSelected
@@ -2377,9 +2377,9 @@ const MRT_ColumnPinningButtons = (_a) => {
2377
2377
  const handlePinColumn = (pinDirection) => {
2378
2378
  column.pin(pinDirection);
2379
2379
  };
2380
- return (jsxRuntime.jsx(Box, Object.assign({}, rest, { sx: (theme) => (Object.assign({ minWidth: '70px', textAlign: 'center' }, parseFromValuesOrFunc(rest === null || rest === void 0 ? void 0 : rest.sx, theme))), children: column.getIsPinned() ? (jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.unpin, children: jsxRuntime.jsx(IconButton, { onClick: () => handlePinColumn(false), size: "small", children: jsxRuntime.jsx(PushPinIcon, {}) }) })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.pinToLeft, children: jsxRuntime.jsx(IconButton, { onClick: () => handlePinColumn('left'), size: "small", children: jsxRuntime.jsx(PushPinIcon, { style: {
2380
+ return (jsxRuntime.jsx(Box, Object.assign({}, rest, { sx: (theme) => (Object.assign({ minWidth: '70px', textAlign: 'center' }, parseFromValuesOrFunc(rest === null || rest === void 0 ? void 0 : rest.sx, theme))), children: column.getIsPinned() ? (jsxRuntime.jsx(Tooltip, { title: localization.unpin, children: jsxRuntime.jsx(IconButton, { onClick: () => handlePinColumn(false), size: "small", children: jsxRuntime.jsx(PushPinIcon, {}) }) })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { title: localization.pinToLeft, children: jsxRuntime.jsx(IconButton, { onClick: () => handlePinColumn('left'), size: "small", children: jsxRuntime.jsx(PushPinIcon, { style: {
2381
2381
  transform: 'rotate(90deg)',
2382
- } }) }) }), jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.pinToRight, children: jsxRuntime.jsx(IconButton, { onClick: () => handlePinColumn('right'), size: "small", children: jsxRuntime.jsx(PushPinIcon, { style: {
2382
+ } }) }) }), jsxRuntime.jsx(Tooltip, { title: localization.pinToRight, children: jsxRuntime.jsx(IconButton, { onClick: () => handlePinColumn('right'), size: "small", children: jsxRuntime.jsx(PushPinIcon, { style: {
2383
2383
  transform: 'rotate(-90deg)',
2384
2384
  } }) }) })] })) })));
2385
2385
  };
@@ -2444,7 +2444,7 @@ const MRT_ShowHideColumnsMenuItems = (_a) => {
2444
2444
  opacity: columnDefType !== 'display' ? 1 : 0.5,
2445
2445
  },
2446
2446
  },
2447
- }, control: jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, title: localization.toggleVisibility, children: jsxRuntime.jsx(Switch, {}) }), disabled: !column.getCanHide(), label: columnDef.header, onChange: () => handleToggleColumnHidden(column) })) : (jsxRuntime.jsx(Typography, { sx: { alignSelf: 'center' }, children: columnDef.header }))] }) })), (_b = column.columns) === null || _b === void 0 ? void 0 : _b.map((c, i) => (jsxRuntime.jsx(MRT_ShowHideColumnsMenuItems, { allColumns: allColumns, column: c, hoveredColumn: hoveredColumn, setHoveredColumn: setHoveredColumn, table: table }, `${i}-${c.id}`)))] }));
2447
+ }, control: jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, title: localization.toggleVisibility, children: jsxRuntime.jsx(Switch, {}) }), disabled: !column.getCanHide(), label: columnDef.header, onChange: () => handleToggleColumnHidden(column) })) : (jsxRuntime.jsx(Typography, { sx: { alignSelf: 'center' }, children: columnDef.header }))] }) })), (_b = column.columns) === null || _b === void 0 ? void 0 : _b.map((c, i) => (jsxRuntime.jsx(MRT_ShowHideColumnsMenuItems, { allColumns: allColumns, column: c, hoveredColumn: hoveredColumn, setHoveredColumn: setHoveredColumn, table: table }, `${i}-${c.id}`)))] }));
2448
2448
  };
2449
2449
 
2450
2450
  const MRT_ShowHideColumnsMenu = (_a) => {
@@ -2494,7 +2494,7 @@ const MRT_ShowHideColumnsButton = (_a) => {
2494
2494
  const handleClick = (event) => {
2495
2495
  setAnchorEl(event.currentTarget);
2496
2496
  };
2497
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { arrow: true, title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.showHideColumns, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.showHideColumns, onClick: handleClick }, rest, { title: undefined, children: jsxRuntime.jsx(ViewColumnIcon, {}) })) }), anchorEl && (jsxRuntime.jsx(MRT_ShowHideColumnsMenu, { anchorEl: anchorEl, setAnchorEl: setAnchorEl, table: table }))] }));
2497
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.showHideColumns, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.showHideColumns, onClick: handleClick }, rest, { title: undefined, children: jsxRuntime.jsx(ViewColumnIcon, {}) })) }), anchorEl && (jsxRuntime.jsx(MRT_ShowHideColumnsMenu, { anchorEl: anchorEl, setAnchorEl: setAnchorEl, table: table }))] }));
2498
2498
  };
2499
2499
 
2500
2500
  const MRT_ToggleDensePaddingButton = (_a) => {
@@ -2510,7 +2510,7 @@ const MRT_ToggleDensePaddingButton = (_a) => {
2510
2510
  : 'comfortable';
2511
2511
  setDensity(nextDensity);
2512
2512
  };
2513
- return (jsxRuntime.jsx(Tooltip, { arrow: true, title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.toggleDensity, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.toggleDensity, onClick: handleToggleDensePadding }, rest, { title: undefined, children: density === 'compact' ? (jsxRuntime.jsx(DensitySmallIcon, {})) : density === 'comfortable' ? (jsxRuntime.jsx(DensityMediumIcon, {})) : (jsxRuntime.jsx(DensityLargeIcon, {})) })) }));
2513
+ return (jsxRuntime.jsx(Tooltip, { title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.toggleDensity, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.toggleDensity, onClick: handleToggleDensePadding }, rest, { title: undefined, children: density === 'compact' ? (jsxRuntime.jsx(DensitySmallIcon, {})) : density === 'comfortable' ? (jsxRuntime.jsx(DensityMediumIcon, {})) : (jsxRuntime.jsx(DensityLargeIcon, {})) })) }));
2514
2514
  };
2515
2515
 
2516
2516
  const MRT_ToggleFiltersButton = (_a) => {
@@ -2521,7 +2521,7 @@ const MRT_ToggleFiltersButton = (_a) => {
2521
2521
  const handleToggleShowFilters = () => {
2522
2522
  setShowColumnFilters(!showColumnFilters);
2523
2523
  };
2524
- return (jsxRuntime.jsx(Tooltip, { arrow: true, title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.showHideFilters, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.showHideFilters, onClick: handleToggleShowFilters }, rest, { title: undefined, children: showColumnFilters ? jsxRuntime.jsx(FilterListOffIcon, {}) : jsxRuntime.jsx(FilterListIcon, {}) })) }));
2524
+ return (jsxRuntime.jsx(Tooltip, { title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.showHideFilters, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.showHideFilters, onClick: handleToggleShowFilters }, rest, { title: undefined, children: showColumnFilters ? jsxRuntime.jsx(FilterListOffIcon, {}) : jsxRuntime.jsx(FilterListIcon, {}) })) }));
2525
2525
  };
2526
2526
 
2527
2527
  const MRT_ToggleFullScreenButton = (_a) => {
@@ -2534,7 +2534,7 @@ const MRT_ToggleFullScreenButton = (_a) => {
2534
2534
  setTooltipOpened(false);
2535
2535
  setIsFullScreen(!isFullScreen);
2536
2536
  };
2537
- return (jsxRuntime.jsx(Tooltip, { arrow: true, open: tooltipOpened, title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.toggleFullScreen, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.toggleFullScreen, onClick: handleToggleFullScreen, onMouseEnter: () => setTooltipOpened(true), onMouseLeave: () => setTooltipOpened(false) }, rest, { title: undefined, children: isFullScreen ? jsxRuntime.jsx(FullscreenExitIcon, {}) : jsxRuntime.jsx(FullscreenIcon, {}) })) }));
2537
+ return (jsxRuntime.jsx(Tooltip, { open: tooltipOpened, title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.toggleFullScreen, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.toggleFullScreen, onClick: handleToggleFullScreen, onMouseEnter: () => setTooltipOpened(true), onMouseLeave: () => setTooltipOpened(false) }, rest, { title: undefined, children: isFullScreen ? jsxRuntime.jsx(FullscreenExitIcon, {}) : jsxRuntime.jsx(FullscreenIcon, {}) })) }));
2538
2538
  };
2539
2539
 
2540
2540
  const MRT_ToggleGlobalFilterButton = (_a) => {
@@ -2546,7 +2546,7 @@ const MRT_ToggleGlobalFilterButton = (_a) => {
2546
2546
  setShowGlobalFilter(!showGlobalFilter);
2547
2547
  queueMicrotask(() => { var _a; return (_a = searchInputRef.current) === null || _a === void 0 ? void 0 : _a.focus(); });
2548
2548
  };
2549
- return (jsxRuntime.jsx(Tooltip, { arrow: true, title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.showHideSearch, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": (_c = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _c !== void 0 ? _c : localization.showHideSearch, disabled: !!globalFilter, onClick: handleToggleSearch }, rest, { title: undefined, children: showGlobalFilter ? jsxRuntime.jsx(SearchOffIcon, {}) : jsxRuntime.jsx(SearchIcon, {}) })) }));
2549
+ return (jsxRuntime.jsx(Tooltip, { title: (_b = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _b !== void 0 ? _b : localization.showHideSearch, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": (_c = rest === null || rest === void 0 ? void 0 : rest.title) !== null && _c !== void 0 ? _c : localization.showHideSearch, disabled: !!globalFilter, onClick: handleToggleSearch }, rest, { title: undefined, children: showGlobalFilter ? jsxRuntime.jsx(SearchOffIcon, {}) : jsxRuntime.jsx(SearchIcon, {}) })) }));
2550
2550
  };
2551
2551
 
2552
2552
  const MRT_ToolbarInternalButtons = (_a) => {
@@ -2756,7 +2756,7 @@ const MRT_EditActionButtons = (_a) => {
2756
2756
  });
2757
2757
  }
2758
2758
  };
2759
- return (jsxRuntime.jsx(Box, { onClick: (e) => e.stopPropagation(), sx: (theme) => (Object.assign({ display: 'flex', gap: '0.75rem' }, parseFromValuesOrFunc(rest === null || rest === void 0 ? void 0 : rest.sx, theme))), children: variant === 'icon' ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.cancel, children: jsxRuntime.jsx(IconButton, { "aria-label": localization.cancel, onClick: handleCancel, children: jsxRuntime.jsx(CancelIcon, {}) }) }), jsxRuntime.jsx(Tooltip, { arrow: true, title: localization.save, children: jsxRuntime.jsx(IconButton, { "aria-label": localization.save, color: "info", onClick: handleSubmitRow, children: isSaving ? jsxRuntime.jsx(CircularProgress, { size: 18 }) : jsxRuntime.jsx(SaveIcon, {}) }) })] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Button, { onClick: handleCancel, sx: { minWidth: '100px' }, children: localization.cancel }), jsxRuntime.jsxs(Button, { onClick: handleSubmitRow, sx: { minWidth: '100px' }, variant: "contained", children: [isSaving && jsxRuntime.jsx(CircularProgress, { color: "inherit", size: 18 }), localization.save] })] })) }));
2759
+ return (jsxRuntime.jsx(Box, { onClick: (e) => e.stopPropagation(), sx: (theme) => (Object.assign({ display: 'flex', gap: '0.75rem' }, parseFromValuesOrFunc(rest === null || rest === void 0 ? void 0 : rest.sx, theme))), children: variant === 'icon' ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { title: localization.cancel, children: jsxRuntime.jsx(IconButton, { "aria-label": localization.cancel, onClick: handleCancel, children: jsxRuntime.jsx(CancelIcon, {}) }) }), jsxRuntime.jsx(Tooltip, { title: localization.save, children: jsxRuntime.jsx(IconButton, { "aria-label": localization.save, color: "info", onClick: handleSubmitRow, children: isSaving ? jsxRuntime.jsx(CircularProgress, { size: 18 }) : jsxRuntime.jsx(SaveIcon, {}) }) })] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Button, { onClick: handleCancel, sx: { minWidth: '100px' }, children: localization.cancel }), jsxRuntime.jsxs(Button, { onClick: handleSubmitRow, sx: { minWidth: '100px' }, variant: "contained", children: [isSaving && jsxRuntime.jsx(CircularProgress, { color: "inherit", size: 18 }), localization.save] })] })) }));
2760
2760
  };
2761
2761
 
2762
2762
  const MRT_EditRowModal = (_a) => {
@@ -2864,7 +2864,7 @@ const MRT_TablePaper = (_a) => {
2864
2864
  width: '100vw',
2865
2865
  zIndex: 999,
2866
2866
  }
2867
- : {})), tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.style), sx: (theme) => (Object.assign({ backgroundColor: getMRTTheme(table, theme).baseBackgroundColor, overflow: 'hidden', transition: 'all 100ms ease-in-out' }, parseFromValuesOrFunc(tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.sx, theme))), children: [enableTopToolbar &&
2867
+ : {})), tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.style), sx: (theme) => (Object.assign({ backgroundColor: getMRTTheme(table, theme).baseBackgroundColor, backgroundImage: 'unset', overflow: 'hidden', transition: 'all 100ms ease-in-out' }, parseFromValuesOrFunc(tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.sx, theme))), children: [enableTopToolbar &&
2868
2868
  ((_b = parseFromValuesOrFunc(renderTopToolbar, { table })) !== null && _b !== void 0 ? _b : (jsxRuntime.jsx(MRT_TopToolbar, { table: table }))), jsxRuntime.jsx(MRT_TableContainer, { table: table }), enableBottomToolbar &&
2869
2869
  ((_c = parseFromValuesOrFunc(renderBottomToolbar, { table })) !== null && _c !== void 0 ? _c : (jsxRuntime.jsx(MRT_BottomToolbar, { table: table })))] })));
2870
2870
  };
@@ -2879,7 +2879,7 @@ const MRT_RowPinButton = (_a) => {
2879
2879
  event.stopPropagation();
2880
2880
  row.pin(isPinned ? false : pinningPosition);
2881
2881
  };
2882
- return (jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, open: tooltipOpened, title: isPinned ? localization.unpin : localization.pin, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.pin, onClick: handleTogglePin, onMouseEnter: () => setTooltipOpened(true), onMouseLeave: () => setTooltipOpened(false), size: "small" }, rest, { sx: (theme) => (Object.assign({ height: '24px', width: '24px' }, parseFromValuesOrFunc(rest === null || rest === void 0 ? void 0 : rest.sx, theme))), children: isPinned ? (jsxRuntime.jsx(CloseIcon, {})) : (jsxRuntime.jsx(PushPinIcon, { fontSize: "small", style: {
2882
+ return (jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, open: tooltipOpened, title: isPinned ? localization.unpin : localization.pin, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.pin, onClick: handleTogglePin, onMouseEnter: () => setTooltipOpened(true), onMouseLeave: () => setTooltipOpened(false), size: "small" }, rest, { sx: (theme) => (Object.assign({ height: '24px', width: '24px' }, parseFromValuesOrFunc(rest === null || rest === void 0 ? void 0 : rest.sx, theme))), children: isPinned ? (jsxRuntime.jsx(CloseIcon, {})) : (jsxRuntime.jsx(PushPinIcon, { fontSize: "small", style: {
2883
2883
  transform: `rotate(${rowPinningDisplayMode === 'sticky'
2884
2884
  ? 135
2885
2885
  : pinningPosition === 'top'
@@ -2915,7 +2915,7 @@ const MRT_ExpandAllButton = (_a) => {
2915
2915
  table,
2916
2916
  })), rest);
2917
2917
  const isAllRowsExpanded = getIsAllRowsExpanded();
2918
- return (jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, title: (_b = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.title) !== null && _b !== void 0 ? _b : (isAllRowsExpanded ? localization.collapseAll : localization.expandAll), children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.expandAll, disabled: isLoading || (!renderDetailPanel && !getCanSomeRowsExpand()), onClick: () => toggleAllRowsExpanded(!isAllRowsExpanded) }, iconButtonProps, { sx: (theme) => (Object.assign({ height: density === 'compact' ? '1.75rem' : '2.25rem', mt: density !== 'compact' ? '-0.25rem' : undefined, width: density === 'compact' ? '1.75rem' : '2.25rem' }, parseFromValuesOrFunc(iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.sx, theme))), title: undefined, children: (_c = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.children) !== null && _c !== void 0 ? _c : (jsxRuntime.jsx(KeyboardDoubleArrowDownIcon, { style: {
2918
+ return (jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, title: (_b = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.title) !== null && _b !== void 0 ? _b : (isAllRowsExpanded ? localization.collapseAll : localization.expandAll), children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.expandAll, disabled: isLoading || (!renderDetailPanel && !getCanSomeRowsExpand()), onClick: () => toggleAllRowsExpanded(!isAllRowsExpanded) }, iconButtonProps, { sx: (theme) => (Object.assign({ height: density === 'compact' ? '1.75rem' : '2.25rem', mt: density !== 'compact' ? '-0.25rem' : undefined, width: density === 'compact' ? '1.75rem' : '2.25rem' }, parseFromValuesOrFunc(iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.sx, theme))), title: undefined, children: (_c = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.children) !== null && _c !== void 0 ? _c : (jsxRuntime.jsx(KeyboardDoubleArrowDownIcon, { style: {
2919
2919
  transform: `rotate(${isAllRowsExpanded ? -180 : getIsSomeRowsExpanded() ? -90 : 0}deg)`,
2920
2920
  transition: 'transform 150ms',
2921
2921
  } })) })) }) }));
@@ -2937,7 +2937,7 @@ const MRT_ExpandButton = ({ row, table, }) => {
2937
2937
  row.toggleExpanded();
2938
2938
  (_a = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.onClick) === null || _a === void 0 ? void 0 : _a.call(iconButtonProps, event);
2939
2939
  };
2940
- return (jsxRuntime.jsx(Tooltip, { arrow: true, disableHoverListener: !canExpand && !renderDetailPanel, enterDelay: 1000, enterNextDelay: 1000, title: (_a = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.title) !== null && _a !== void 0 ? _a : (isExpanded ? localization.collapse : localization.expand), children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.expand, disabled: !canExpand && !renderDetailPanel }, iconButtonProps, { onClick: handleToggleExpand, sx: (theme) => (Object.assign({ height: density === 'compact' ? '1.75rem' : '2.25rem', opacity: !canExpand && !renderDetailPanel ? 0.3 : 1, width: density === 'compact' ? '1.75rem' : '2.25rem' }, parseFromValuesOrFunc(iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.sx, theme))), title: undefined, children: (_b = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.children) !== null && _b !== void 0 ? _b : (jsxRuntime.jsx(ExpandMoreIcon, { style: {
2940
+ return (jsxRuntime.jsx(Tooltip, { disableHoverListener: !canExpand && !renderDetailPanel, enterDelay: 1000, enterNextDelay: 1000, title: (_a = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.title) !== null && _a !== void 0 ? _a : (isExpanded ? localization.collapse : localization.expand), children: jsxRuntime.jsx("span", { children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.expand, disabled: !canExpand && !renderDetailPanel }, iconButtonProps, { onClick: handleToggleExpand, sx: (theme) => (Object.assign({ height: density === 'compact' ? '1.75rem' : '2.25rem', opacity: !canExpand && !renderDetailPanel ? 0.3 : 1, width: density === 'compact' ? '1.75rem' : '2.25rem' }, parseFromValuesOrFunc(iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.sx, theme))), title: undefined, children: (_b = iconButtonProps === null || iconButtonProps === void 0 ? void 0 : iconButtonProps.children) !== null && _b !== void 0 ? _b : (jsxRuntime.jsx(ExpandMoreIcon, { style: {
2941
2941
  transform: `rotate(${!canExpand && !renderDetailPanel ? -90 : isExpanded ? -180 : 0}deg)`,
2942
2942
  transition: 'transform 150ms',
2943
2943
  } })) })) }) }));
@@ -2987,7 +2987,7 @@ const MRT_ToggleRowActionMenuButton = (_a) => {
2987
2987
  };
2988
2988
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: renderRowActions && !showEditActionButtons ? (renderRowActions({ cell, row, table })) : showEditActionButtons ? (jsxRuntime.jsx(MRT_EditActionButtons, { row: row, table: table })) : !renderRowActionMenuItems &&
2989
2989
  parseFromValuesOrFunc(enableEditing, row) &&
2990
- ['modal', 'row'].includes(editDisplayMode) ? (jsxRuntime.jsx(Tooltip, { arrow: true, placement: "right", title: localization.edit, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.edit, onClick: handleStartEditMode, sx: commonIconButtonStyles }, rest, { children: jsxRuntime.jsx(EditIcon, {}) })) })) : renderRowActionMenuItems ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { arrow: true, enterDelay: 1000, enterNextDelay: 1000, title: localization.rowActions, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.rowActions, onClick: handleOpenRowActionMenu, size: "small", sx: commonIconButtonStyles }, rest, { children: jsxRuntime.jsx(MoreHorizIcon, {}) })) }), jsxRuntime.jsx(MRT_RowActionMenu, { anchorEl: anchorEl, handleEdit: handleStartEditMode, row: row, setAnchorEl: setAnchorEl, table: table })] })) : null }));
2990
+ ['modal', 'row'].includes(editDisplayMode) ? (jsxRuntime.jsx(Tooltip, { placement: "right", title: localization.edit, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.edit, onClick: handleStartEditMode, sx: commonIconButtonStyles }, rest, { children: jsxRuntime.jsx(EditIcon, {}) })) })) : renderRowActionMenuItems ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Tooltip, { enterDelay: 1000, enterNextDelay: 1000, title: localization.rowActions, children: jsxRuntime.jsx(IconButton, Object.assign({ "aria-label": localization.rowActions, onClick: handleOpenRowActionMenu, size: "small", sx: commonIconButtonStyles }, rest, { children: jsxRuntime.jsx(MoreHorizIcon, {}) })) }), jsxRuntime.jsx(MRT_RowActionMenu, { anchorEl: anchorEl, handleEdit: handleStartEditMode, row: row, setAnchorEl: setAnchorEl, table: table })] })) : null }));
2991
2991
  };
2992
2992
 
2993
2993
  const MRT_AggregationFns = Object.assign({}, reactTable.aggregationFns);