@redsift/table 10.3.0-alpha.5 → 10.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -3,7 +3,7 @@ export * from '@mui/x-data-grid-pro';
3
3
  export { getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-pro';
4
4
  import * as React from 'react';
5
5
  import React__default, { Children, isValidElement, cloneElement, useLayoutEffect, useEffect, useRef, forwardRef, useContext, useState, useCallback, createElement, useMemo } from 'react';
6
- import { Icon, baseContainer, Theme, AppContainerContext, useTheme as useTheme$4, useId as useId$2, partitionComponents, isComponent, Flexbox, TextField as TextField$2, Button, Switch, Text, ButtonsColorPalette, IconButton as IconButton$2, Checkbox, LinkButton, ThemeProvider as ThemeProvider$4, RedsiftColorBlueN, RedsiftColorNeutralXDarkGrey, RedsiftColorNeutralWhite, Shield } from '@redsift/design-system';
6
+ import { Icon, baseContainer, Theme, AppContainerContext, useTheme as useTheme$4, useId as useId$2, IconButton as IconButton$2, Button, partitionComponents, isComponent, Flexbox, TextField as TextField$2, Switch, Text, ButtonsColorPalette, Checkbox, LinkButton, ThemeProvider as ThemeProvider$4, RedsiftColorBlueN, RedsiftColorNeutralXDarkGrey, RedsiftColorNeutralWhite, Shield } from '@redsift/design-system';
7
7
  import { mdiSync, mdiFilterVariant, mdiViewColumn, mdiChevronUp, mdiChevronDown, mdiViewHeadline, mdiViewSequential, mdiViewStream, mdiChevronRight, mdiTrayArrowDown } from '@redsift/icons';
8
8
  import emStyled from '@emotion/styled';
9
9
  import { Global, ThemeContext as ThemeContext$3, keyframes } from '@emotion/react';
@@ -3625,7 +3625,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
3625
3625
  return target;
3626
3626
  }
3627
3627
 
3628
- const _excluded$Q = ["values", "unit", "step"];
3628
+ const _excluded$S = ["values", "unit", "step"];
3629
3629
  const sortBreakpointsValues = values => {
3630
3630
  const breakpointsAsArray = Object.keys(values).map(key => ({
3631
3631
  key,
@@ -3660,7 +3660,7 @@ function createBreakpoints(breakpoints) {
3660
3660
  unit = 'px',
3661
3661
  step = 5
3662
3662
  } = breakpoints,
3663
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$Q);
3663
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$S);
3664
3664
  const sortedValues = sortBreakpointsValues(values);
3665
3665
  const keys = Object.keys(sortedValues);
3666
3666
  function up(key) {
@@ -4689,7 +4689,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
4689
4689
  styleFunctionSx.filterProps = ['sx'];
4690
4690
  var styleFunctionSx$1 = styleFunctionSx;
4691
4691
 
4692
- const _excluded$P = ["breakpoints", "palette", "spacing", "shape"];
4692
+ const _excluded$R = ["breakpoints", "palette", "spacing", "shape"];
4693
4693
  function createTheme$1(options = {}, ...args) {
4694
4694
  const {
4695
4695
  breakpoints: breakpointsInput = {},
@@ -4697,7 +4697,7 @@ function createTheme$1(options = {}, ...args) {
4697
4697
  spacing: spacingInput,
4698
4698
  shape: shapeInput = {}
4699
4699
  } = options,
4700
- other = _objectWithoutPropertiesLoose(options, _excluded$P);
4700
+ other = _objectWithoutPropertiesLoose(options, _excluded$R);
4701
4701
  const breakpoints = createBreakpoints(breakpointsInput);
4702
4702
  const spacing = createSpacing(spacingInput);
4703
4703
  let muiTheme = deepmerge({
@@ -4765,7 +4765,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes /* remove-propt
4765
4765
  themeId: PropTypes.string
4766
4766
  } : void 0;
4767
4767
 
4768
- const _excluded$O = ["sx"];
4768
+ const _excluded$Q = ["sx"];
4769
4769
  const splitProps = props => {
4770
4770
  var _props$theme$unstable, _props$theme;
4771
4771
  const result = {
@@ -4786,7 +4786,7 @@ function extendSxProp(props) {
4786
4786
  const {
4787
4787
  sx: inSx
4788
4788
  } = props,
4789
- other = _objectWithoutPropertiesLoose(props, _excluded$O);
4789
+ other = _objectWithoutPropertiesLoose(props, _excluded$Q);
4790
4790
  const {
4791
4791
  systemProps,
4792
4792
  otherProps
@@ -4812,7 +4812,7 @@ function extendSxProp(props) {
4812
4812
 
4813
4813
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
4814
4814
 
4815
- const _excluded$N = ["className", "component"];
4815
+ const _excluded$P = ["className", "component"];
4816
4816
  function createBox(options = {}) {
4817
4817
  const {
4818
4818
  themeId,
@@ -4830,7 +4830,7 @@ function createBox(options = {}) {
4830
4830
  className,
4831
4831
  component = 'div'
4832
4832
  } = _extendSxProp,
4833
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$N);
4833
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$P);
4834
4834
  return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$1({
4835
4835
  as: component,
4836
4836
  ref: ref,
@@ -4841,7 +4841,7 @@ function createBox(options = {}) {
4841
4841
  return Box;
4842
4842
  }
4843
4843
 
4844
- const _excluded$M = ["variant"];
4844
+ const _excluded$O = ["variant"];
4845
4845
  function isEmpty$3(string) {
4846
4846
  return string.length === 0;
4847
4847
  }
@@ -4855,7 +4855,7 @@ function propsToClassKey(props) {
4855
4855
  const {
4856
4856
  variant
4857
4857
  } = props,
4858
- other = _objectWithoutPropertiesLoose(props, _excluded$M);
4858
+ other = _objectWithoutPropertiesLoose(props, _excluded$O);
4859
4859
  let classKey = variant || '';
4860
4860
  Object.keys(other).sort().forEach(key => {
4861
4861
  if (key === 'color') {
@@ -4867,7 +4867,7 @@ function propsToClassKey(props) {
4867
4867
  return classKey;
4868
4868
  }
4869
4869
 
4870
- const _excluded$L = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
4870
+ const _excluded$N = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
4871
4871
  function isEmpty$2(obj) {
4872
4872
  return Object.keys(obj).length === 0;
4873
4873
  }
@@ -4962,7 +4962,7 @@ function createStyled(input = {}) {
4962
4962
  skipSx: inputSkipSx,
4963
4963
  overridesResolver
4964
4964
  } = inputOptions,
4965
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$L);
4965
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$N);
4966
4966
 
4967
4967
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
4968
4968
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -5639,7 +5639,7 @@ const green = {
5639
5639
  };
5640
5640
  var green$1 = green;
5641
5641
 
5642
- const _excluded$K = ["mode", "contrastThreshold", "tonalOffset"];
5642
+ const _excluded$M = ["mode", "contrastThreshold", "tonalOffset"];
5643
5643
  const light = {
5644
5644
  // The colors used to style the text.
5645
5645
  text: {
@@ -5808,7 +5808,7 @@ function createPalette(palette) {
5808
5808
  contrastThreshold = 3,
5809
5809
  tonalOffset = 0.2
5810
5810
  } = palette,
5811
- other = _objectWithoutPropertiesLoose(palette, _excluded$K);
5811
+ other = _objectWithoutPropertiesLoose(palette, _excluded$M);
5812
5812
  const primary = palette.primary || getDefaultPrimary(mode);
5813
5813
  const secondary = palette.secondary || getDefaultSecondary(mode);
5814
5814
  const error = palette.error || getDefaultError(mode);
@@ -5932,7 +5932,7 @@ const theme2 = createTheme({ palette: {
5932
5932
  return paletteOutput;
5933
5933
  }
5934
5934
 
5935
- const _excluded$J = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
5935
+ const _excluded$L = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
5936
5936
  function round$2(value) {
5937
5937
  return Math.round(value * 1e5) / 1e5;
5938
5938
  }
@@ -5963,7 +5963,7 @@ function createTypography(palette, typography) {
5963
5963
  allVariants,
5964
5964
  pxToRem: pxToRem2
5965
5965
  } = _ref,
5966
- other = _objectWithoutPropertiesLoose(_ref, _excluded$J);
5966
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$L);
5967
5967
  if (process.env.NODE_ENV !== 'production') {
5968
5968
  if (typeof fontSize !== 'number') {
5969
5969
  console.error('MUI: `fontSize` is required to be a number.');
@@ -6030,7 +6030,7 @@ function createShadow(...px) {
6030
6030
  const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
6031
6031
  var shadows$1 = shadows;
6032
6032
 
6033
- const _excluded$I = ["duration", "easing", "delay"];
6033
+ const _excluded$K = ["duration", "easing", "delay"];
6034
6034
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
6035
6035
  // to learn the context in which each easing should be used.
6036
6036
  const easing = {
@@ -6081,7 +6081,7 @@ function createTransitions(inputTransitions) {
6081
6081
  easing: easingOption = mergedEasing.easeInOut,
6082
6082
  delay = 0
6083
6083
  } = options,
6084
- other = _objectWithoutPropertiesLoose(options, _excluded$I);
6084
+ other = _objectWithoutPropertiesLoose(options, _excluded$K);
6085
6085
  if (process.env.NODE_ENV !== 'production') {
6086
6086
  const isString = value => typeof value === 'string';
6087
6087
  // IE11 support, replace with Number.isNaN
@@ -6128,7 +6128,7 @@ const zIndex = {
6128
6128
  };
6129
6129
  var zIndex$1 = zIndex;
6130
6130
 
6131
- const _excluded$H = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
6131
+ const _excluded$J = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
6132
6132
  function createTheme(options = {}, ...args) {
6133
6133
  const {
6134
6134
  mixins: mixinsInput = {},
@@ -6136,7 +6136,7 @@ function createTheme(options = {}, ...args) {
6136
6136
  transitions: transitionsInput = {},
6137
6137
  typography: typographyInput = {}
6138
6138
  } = options,
6139
- other = _objectWithoutPropertiesLoose(options, _excluded$H);
6139
+ other = _objectWithoutPropertiesLoose(options, _excluded$J);
6140
6140
  if (options.vars) {
6141
6141
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
6142
6142
  Please use another name.` : formatMuiErrorMessage(18));
@@ -6227,12 +6227,12 @@ const styled = createStyled({
6227
6227
  });
6228
6228
  var styled$1 = styled;
6229
6229
 
6230
- const _excluded$G = ["theme"];
6230
+ const _excluded$I = ["theme"];
6231
6231
  function ThemeProvider$1(_ref) {
6232
6232
  let {
6233
6233
  theme: themeInput
6234
6234
  } = _ref,
6235
- props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
6235
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$I);
6236
6236
  const scopedTheme = themeInput[THEME_ID];
6237
6237
  return /*#__PURE__*/jsxRuntimeExports.jsx(ThemeProvider$2, _extends$1({}, props, {
6238
6238
  themeId: scopedTheme ? THEME_ID : undefined,
@@ -6456,7 +6456,7 @@ function mergeSlotProps(parameters) {
6456
6456
  };
6457
6457
  }
6458
6458
 
6459
- const _excluded$F = ["elementType", "externalSlotProps", "ownerState"];
6459
+ const _excluded$H = ["elementType", "externalSlotProps", "ownerState"];
6460
6460
  /**
6461
6461
  * @ignore - do not document.
6462
6462
  * Builds the props to be passed into the slot of an unstyled component.
@@ -6472,7 +6472,7 @@ function useSlotProps(parameters) {
6472
6472
  externalSlotProps,
6473
6473
  ownerState
6474
6474
  } = parameters,
6475
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$F);
6475
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$H);
6476
6476
  const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
6477
6477
  const {
6478
6478
  props: mergedProps,
@@ -8688,7 +8688,7 @@ function getPopperUtilityClass(slot) {
8688
8688
  }
8689
8689
  generateUtilityClasses('MuiPopper', ['root']);
8690
8690
 
8691
- const _excluded$E = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
8691
+ const _excluded$G = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
8692
8692
  _excluded2$3 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
8693
8693
  function flipPlacement(placement, direction) {
8694
8694
  if (direction === 'ltr') {
@@ -8741,7 +8741,7 @@ const PopperTooltip = /*#__PURE__*/React.forwardRef(function PopperTooltip(props
8741
8741
  // @ts-ignore internal logic
8742
8742
  // prevent from spreading to DOM, it can come from the parent component e.g. Select.
8743
8743
  } = props,
8744
- other = _objectWithoutPropertiesLoose(props, _excluded$E);
8744
+ other = _objectWithoutPropertiesLoose(props, _excluded$G);
8745
8745
  const tooltipRef = React.useRef(null);
8746
8746
  const ownRef = useForkRef(tooltipRef, forwardedRef);
8747
8747
  const popperRef = React.useRef(null);
@@ -9268,7 +9268,7 @@ function getModalUtilityClass(slot) {
9268
9268
  }
9269
9269
  generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
9270
9270
 
9271
- const _excluded$D = ["children", "closeAfterTransition", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
9271
+ const _excluded$F = ["children", "closeAfterTransition", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
9272
9272
  const useUtilityClasses$o = ownerState => {
9273
9273
  const {
9274
9274
  open,
@@ -9337,7 +9337,7 @@ const Modal$2 = /*#__PURE__*/React.forwardRef(function Modal(props, forwardedRef
9337
9337
  slotProps = {},
9338
9338
  slots = {}
9339
9339
  } = props,
9340
- other = _objectWithoutPropertiesLoose(props, _excluded$D);
9340
+ other = _objectWithoutPropertiesLoose(props, _excluded$F);
9341
9341
  // TODO: `modal`` must change its type in this file to match the type of methods
9342
9342
  // provided by `ModalManager`
9343
9343
  const manager = managerProp;
@@ -9627,7 +9627,7 @@ process.env.NODE_ENV !== "production" ? Modal$2.propTypes /* remove-proptypes */
9627
9627
  } : void 0;
9628
9628
  var ModalUnstyled = Modal$2;
9629
9629
 
9630
- const _excluded$C = ["onChange", "maxRows", "minRows", "style", "value"];
9630
+ const _excluded$E = ["onChange", "maxRows", "minRows", "style", "value"];
9631
9631
  function getStyleValue(value) {
9632
9632
  return parseInt(value, 10) || 0;
9633
9633
  }
@@ -9669,7 +9669,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
9669
9669
  style,
9670
9670
  value
9671
9671
  } = props,
9672
- other = _objectWithoutPropertiesLoose(props, _excluded$C);
9672
+ other = _objectWithoutPropertiesLoose(props, _excluded$E);
9673
9673
  const {
9674
9674
  current: isControlled
9675
9675
  } = React.useRef(value != null);
@@ -9963,7 +9963,7 @@ function getInputBaseUtilityClass(slot) {
9963
9963
  const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
9964
9964
  var inputBaseClasses$1 = inputBaseClasses;
9965
9965
 
9966
- const _excluded$B = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
9966
+ const _excluded$D = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
9967
9967
  const rootOverridesResolver = (props, styles) => {
9968
9968
  const {
9969
9969
  ownerState
@@ -10194,7 +10194,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
10194
10194
  type = 'text',
10195
10195
  value: valueProp
10196
10196
  } = props,
10197
- other = _objectWithoutPropertiesLoose(props, _excluded$B);
10197
+ other = _objectWithoutPropertiesLoose(props, _excluded$D);
10198
10198
  const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
10199
10199
  const {
10200
10200
  current: isControlled
@@ -10656,7 +10656,7 @@ function getInputUtilityClass(slot) {
10656
10656
  const inputClasses = _extends$1({}, inputBaseClasses$1, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));
10657
10657
  var inputClasses$1 = inputClasses;
10658
10658
 
10659
- const _excluded$A = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
10659
+ const _excluded$C = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
10660
10660
  const useUtilityClasses$m = ownerState => {
10661
10661
  const {
10662
10662
  classes,
@@ -10769,7 +10769,7 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
10769
10769
  slots = {},
10770
10770
  type = 'text'
10771
10771
  } = props,
10772
- other = _objectWithoutPropertiesLoose(props, _excluded$A);
10772
+ other = _objectWithoutPropertiesLoose(props, _excluded$C);
10773
10773
  const classes = useUtilityClasses$m(props);
10774
10774
  const ownerState = {
10775
10775
  disableUnderline
@@ -10992,7 +10992,7 @@ function getFilledInputUtilityClass(slot) {
10992
10992
  const filledInputClasses = _extends$1({}, inputBaseClasses$1, generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input']));
10993
10993
  var filledInputClasses$1 = filledInputClasses;
10994
10994
 
10995
- const _excluded$z = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
10995
+ const _excluded$B = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
10996
10996
  const useUtilityClasses$l = ownerState => {
10997
10997
  const {
10998
10998
  classes,
@@ -11176,7 +11176,7 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
11176
11176
  slots = {},
11177
11177
  type = 'text'
11178
11178
  } = props,
11179
- other = _objectWithoutPropertiesLoose(props, _excluded$z);
11179
+ other = _objectWithoutPropertiesLoose(props, _excluded$B);
11180
11180
  const ownerState = _extends$1({}, props, {
11181
11181
  fullWidth,
11182
11182
  inputComponent,
@@ -11407,7 +11407,7 @@ FilledInput.muiName = 'Input';
11407
11407
  var FilledInput$1 = FilledInput;
11408
11408
 
11409
11409
  var _span$2;
11410
- const _excluded$y = ["children", "classes", "className", "label", "notched"];
11410
+ const _excluded$A = ["children", "classes", "className", "label", "notched"];
11411
11411
  const NotchedOutlineRoot$1 = styled$1('fieldset')({
11412
11412
  textAlign: 'left',
11413
11413
  position: 'absolute',
@@ -11480,7 +11480,7 @@ function NotchedOutline(props) {
11480
11480
  label,
11481
11481
  notched
11482
11482
  } = props,
11483
- other = _objectWithoutPropertiesLoose(props, _excluded$y);
11483
+ other = _objectWithoutPropertiesLoose(props, _excluded$A);
11484
11484
  const withLabel = label != null && label !== '';
11485
11485
  const ownerState = _extends$1({}, props, {
11486
11486
  notched,
@@ -11537,7 +11537,7 @@ function getOutlinedInputUtilityClass(slot) {
11537
11537
  const outlinedInputClasses = _extends$1({}, inputBaseClasses$1, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
11538
11538
  var outlinedInputClasses$1 = outlinedInputClasses;
11539
11539
 
11540
- const _excluded$x = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
11540
+ const _excluded$z = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
11541
11541
  const useUtilityClasses$k = ownerState => {
11542
11542
  const {
11543
11543
  classes
@@ -11656,7 +11656,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
11656
11656
  slots = {},
11657
11657
  type = 'text'
11658
11658
  } = props,
11659
- other = _objectWithoutPropertiesLoose(props, _excluded$x);
11659
+ other = _objectWithoutPropertiesLoose(props, _excluded$z);
11660
11660
  const classes = useUtilityClasses$k(props);
11661
11661
  const muiFormControl = useFormControl();
11662
11662
  const fcs = formControlState({
@@ -11877,7 +11877,7 @@ function getFormLabelUtilityClasses(slot) {
11877
11877
  const formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
11878
11878
  var formLabelClasses$1 = formLabelClasses;
11879
11879
 
11880
- const _excluded$w = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
11880
+ const _excluded$y = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
11881
11881
  const useUtilityClasses$j = ownerState => {
11882
11882
  const {
11883
11883
  classes,
@@ -11942,7 +11942,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
11942
11942
  className,
11943
11943
  component = 'label'
11944
11944
  } = props,
11945
- other = _objectWithoutPropertiesLoose(props, _excluded$w);
11945
+ other = _objectWithoutPropertiesLoose(props, _excluded$y);
11946
11946
  const muiFormControl = useFormControl();
11947
11947
  const fcs = formControlState({
11948
11948
  props,
@@ -12033,7 +12033,7 @@ function getInputLabelUtilityClasses(slot) {
12033
12033
  }
12034
12034
  generateUtilityClasses('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
12035
12035
 
12036
- const _excluded$v = ["disableAnimation", "margin", "shrink", "variant", "className"];
12036
+ const _excluded$x = ["disableAnimation", "margin", "shrink", "variant", "className"];
12037
12037
  const useUtilityClasses$i = ownerState => {
12038
12038
  const {
12039
12039
  classes,
@@ -12135,7 +12135,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
12135
12135
  shrink: shrinkProp,
12136
12136
  className
12137
12137
  } = props,
12138
- other = _objectWithoutPropertiesLoose(props, _excluded$v);
12138
+ other = _objectWithoutPropertiesLoose(props, _excluded$x);
12139
12139
  const muiFormControl = useFormControl();
12140
12140
  let shrink = shrinkProp;
12141
12141
  if (typeof shrink === 'undefined' && muiFormControl) {
@@ -12238,7 +12238,7 @@ function getFormControlUtilityClasses(slot) {
12238
12238
  }
12239
12239
  generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
12240
12240
 
12241
- const _excluded$u = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
12241
+ const _excluded$w = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
12242
12242
  const useUtilityClasses$h = ownerState => {
12243
12243
  const {
12244
12244
  classes,
@@ -12324,7 +12324,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
12324
12324
  size = 'medium',
12325
12325
  variant = 'outlined'
12326
12326
  } = props,
12327
- other = _objectWithoutPropertiesLoose(props, _excluded$u);
12327
+ other = _objectWithoutPropertiesLoose(props, _excluded$w);
12328
12328
  const ownerState = _extends$1({}, props, {
12329
12329
  color,
12330
12330
  component,
@@ -12520,7 +12520,7 @@ const formHelperTextClasses = generateUtilityClasses('MuiFormHelperText', ['root
12520
12520
  var formHelperTextClasses$1 = formHelperTextClasses;
12521
12521
 
12522
12522
  var _span$1;
12523
- const _excluded$t = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
12523
+ const _excluded$v = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
12524
12524
  const useUtilityClasses$g = ownerState => {
12525
12525
  const {
12526
12526
  classes,
@@ -12579,7 +12579,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
12579
12579
  className,
12580
12580
  component = 'p'
12581
12581
  } = props,
12582
- other = _objectWithoutPropertiesLoose(props, _excluded$t);
12582
+ other = _objectWithoutPropertiesLoose(props, _excluded$v);
12583
12583
  const muiFormControl = useFormControl();
12584
12584
  const fcs = formControlState({
12585
12585
  props,
@@ -12685,7 +12685,7 @@ function getListUtilityClass(slot) {
12685
12685
  }
12686
12686
  generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);
12687
12687
 
12688
- const _excluded$s = ["children", "className", "component", "dense", "disablePadding", "subheader"];
12688
+ const _excluded$u = ["children", "className", "component", "dense", "disablePadding", "subheader"];
12689
12689
  const useUtilityClasses$f = ownerState => {
12690
12690
  const {
12691
12691
  classes,
@@ -12733,7 +12733,7 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
12733
12733
  disablePadding = false,
12734
12734
  subheader
12735
12735
  } = props,
12736
- other = _objectWithoutPropertiesLoose(props, _excluded$s);
12736
+ other = _objectWithoutPropertiesLoose(props, _excluded$u);
12737
12737
  const context = React.useMemo(() => ({
12738
12738
  dense
12739
12739
  }), [dense]);
@@ -12800,7 +12800,7 @@ process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ =
12800
12800
  } : void 0;
12801
12801
  var List$1 = List;
12802
12802
 
12803
- const _excluded$r = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
12803
+ const _excluded$t = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
12804
12804
  function nextItem(list, item, disableListWrap) {
12805
12805
  if (list === item) {
12806
12806
  return list.firstChild;
@@ -12882,7 +12882,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
12882
12882
  onKeyDown,
12883
12883
  variant = 'selectedMenu'
12884
12884
  } = props,
12885
- other = _objectWithoutPropertiesLoose(props, _excluded$r);
12885
+ other = _objectWithoutPropertiesLoose(props, _excluded$t);
12886
12886
  const listRef = React.useRef(null);
12887
12887
  const textCriteriaRef = React.useRef({
12888
12888
  keys: [],
@@ -14072,7 +14072,7 @@ function getTransitionProps(props, options) {
14072
14072
  };
14073
14073
  }
14074
14074
 
14075
- const _excluded$q = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14075
+ const _excluded$s = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14076
14076
  function getScale$1(value) {
14077
14077
  return `scale(${value}, ${value ** 2})`;
14078
14078
  }
@@ -14116,7 +14116,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
14116
14116
  // eslint-disable-next-line react/prop-types
14117
14117
  TransitionComponent = Transition$1
14118
14118
  } = props,
14119
- other = _objectWithoutPropertiesLoose(props, _excluded$q);
14119
+ other = _objectWithoutPropertiesLoose(props, _excluded$s);
14120
14120
  const timer = React.useRef();
14121
14121
  const autoTimeout = React.useRef();
14122
14122
  const theme = useTheme();
@@ -14320,7 +14320,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
14320
14320
  Grow.muiSupportAuto = true;
14321
14321
  var Grow$1 = Grow;
14322
14322
 
14323
- const _excluded$p = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14323
+ const _excluded$r = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14324
14324
  const styles = {
14325
14325
  entering: {
14326
14326
  opacity: 1
@@ -14357,7 +14357,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
14357
14357
  // eslint-disable-next-line react/prop-types
14358
14358
  TransitionComponent = Transition$1
14359
14359
  } = props,
14360
- other = _objectWithoutPropertiesLoose(props, _excluded$p);
14360
+ other = _objectWithoutPropertiesLoose(props, _excluded$r);
14361
14361
  const nodeRef = React.useRef(null);
14362
14362
  const handleRef = useForkRef(nodeRef, children.ref, ref);
14363
14363
  const normalizedTransitionCallback = callback => maybeIsAppearing => {
@@ -14518,7 +14518,7 @@ function getBackdropUtilityClass(slot) {
14518
14518
  }
14519
14519
  generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
14520
14520
 
14521
- const _excluded$o = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
14521
+ const _excluded$q = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
14522
14522
  const useUtilityClasses$e = ownerState => {
14523
14523
  const {
14524
14524
  classes,
@@ -14573,7 +14573,7 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
14573
14573
  TransitionComponent = Fade$1,
14574
14574
  transitionDuration
14575
14575
  } = props,
14576
- other = _objectWithoutPropertiesLoose(props, _excluded$o);
14576
+ other = _objectWithoutPropertiesLoose(props, _excluded$q);
14577
14577
  const ownerState = _extends$1({}, props, {
14578
14578
  component,
14579
14579
  invisible
@@ -14694,7 +14694,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
14694
14694
  } : void 0;
14695
14695
  var Backdrop$1 = Backdrop;
14696
14696
 
14697
- const _excluded$n = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
14697
+ const _excluded$p = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
14698
14698
  const ModalRoot = styled$1('div', {
14699
14699
  name: 'MuiModal',
14700
14700
  slot: 'Root',
@@ -14773,7 +14773,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
14773
14773
  // eslint-disable-next-line react/prop-types
14774
14774
  theme
14775
14775
  } = props,
14776
- other = _objectWithoutPropertiesLoose(props, _excluded$n);
14776
+ other = _objectWithoutPropertiesLoose(props, _excluded$p);
14777
14777
  const [exited, setExited] = React.useState(true);
14778
14778
  const commonProps = {
14779
14779
  container,
@@ -14997,7 +14997,7 @@ function getPaperUtilityClass(slot) {
14997
14997
  }
14998
14998
  generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
14999
14999
 
15000
- const _excluded$m = ["className", "component", "elevation", "square", "variant"];
15000
+ const _excluded$o = ["className", "component", "elevation", "square", "variant"];
15001
15001
  const useUtilityClasses$d = ownerState => {
15002
15002
  const {
15003
15003
  square,
@@ -15052,7 +15052,7 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
15052
15052
  square = false,
15053
15053
  variant = 'elevation'
15054
15054
  } = props,
15055
- other = _objectWithoutPropertiesLoose(props, _excluded$m);
15055
+ other = _objectWithoutPropertiesLoose(props, _excluded$o);
15056
15056
  const ownerState = _extends$1({}, props, {
15057
15057
  component,
15058
15058
  elevation,
@@ -15133,7 +15133,7 @@ function getPopoverUtilityClass(slot) {
15133
15133
  }
15134
15134
  generateUtilityClasses('MuiPopover', ['root', 'paper']);
15135
15135
 
15136
- const _excluded$l = ["onEntering"],
15136
+ const _excluded$n = ["onEntering"],
15137
15137
  _excluded2$2 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"],
15138
15138
  _excluded3 = ["slotProps"];
15139
15139
  function getOffsetTop(rect, vertical) {
@@ -15230,7 +15230,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
15230
15230
  onEntering
15231
15231
  } = {}
15232
15232
  } = props,
15233
- TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$l),
15233
+ TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$n),
15234
15234
  other = _objectWithoutPropertiesLoose(props, _excluded2$2);
15235
15235
  const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
15236
15236
  const paperRef = React.useRef();
@@ -15636,7 +15636,7 @@ function getMenuUtilityClass(slot) {
15636
15636
  }
15637
15637
  generateUtilityClasses('MuiMenu', ['root', 'paper', 'list']);
15638
15638
 
15639
- const _excluded$k = ["onEntering"],
15639
+ const _excluded$m = ["onEntering"],
15640
15640
  _excluded2$1 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
15641
15641
  const RTL_ORIGIN = {
15642
15642
  vertical: 'top',
@@ -15703,7 +15703,7 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
15703
15703
  } = {},
15704
15704
  variant = 'selectedMenu'
15705
15705
  } = props,
15706
- TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$k),
15706
+ TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$m),
15707
15707
  other = _objectWithoutPropertiesLoose(props, _excluded2$1);
15708
15708
  const theme = useTheme();
15709
15709
  const isRtl = theme.direction === 'rtl';
@@ -15893,7 +15893,7 @@ function getNativeSelectUtilityClasses(slot) {
15893
15893
  const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
15894
15894
  var nativeSelectClasses$1 = nativeSelectClasses;
15895
15895
 
15896
- const _excluded$j = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
15896
+ const _excluded$l = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
15897
15897
  const useUtilityClasses$a = ownerState => {
15898
15898
  const {
15899
15899
  classes,
@@ -16022,7 +16022,7 @@ const NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInp
16022
16022
  inputRef,
16023
16023
  variant = 'standard'
16024
16024
  } = props,
16025
- other = _objectWithoutPropertiesLoose(props, _excluded$j);
16025
+ other = _objectWithoutPropertiesLoose(props, _excluded$l);
16026
16026
  const ownerState = _extends$1({}, props, {
16027
16027
  disabled,
16028
16028
  variant,
@@ -16107,7 +16107,7 @@ const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple',
16107
16107
  var selectClasses$1 = selectClasses;
16108
16108
 
16109
16109
  var _span;
16110
- const _excluded$i = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
16110
+ const _excluded$k = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
16111
16111
  const SelectSelect = styled$1('div', {
16112
16112
  name: 'MuiSelect',
16113
16113
  slot: 'Select',
@@ -16229,7 +16229,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
16229
16229
  value: valueProp,
16230
16230
  variant = 'standard'
16231
16231
  } = props,
16232
- other = _objectWithoutPropertiesLoose(props, _excluded$i);
16232
+ other = _objectWithoutPropertiesLoose(props, _excluded$k);
16233
16233
  const [value, setValueState] = useControlled({
16234
16234
  controlled: valueProp,
16235
16235
  default: defaultValue,
@@ -16740,7 +16740,7 @@ function getSvgIconUtilityClass(slot) {
16740
16740
  }
16741
16741
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
16742
16742
 
16743
- const _excluded$h = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
16743
+ const _excluded$j = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
16744
16744
  const useUtilityClasses$8 = ownerState => {
16745
16745
  const {
16746
16746
  color,
@@ -16806,7 +16806,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
16806
16806
  titleAccess,
16807
16807
  viewBox = '0 0 24 24'
16808
16808
  } = props,
16809
- other = _objectWithoutPropertiesLoose(props, _excluded$h);
16809
+ other = _objectWithoutPropertiesLoose(props, _excluded$j);
16810
16810
  const ownerState = _extends$1({}, props, {
16811
16811
  color,
16812
16812
  component,
@@ -16932,7 +16932,7 @@ var ArrowDropDownIcon = createSvgIcon( /*#__PURE__*/jsxRuntimeExports.jsx("path"
16932
16932
  d: "M7 10l5 5 5-5z"
16933
16933
  }), 'ArrowDropDown');
16934
16934
 
16935
- const _excluded$g = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
16935
+ const _excluded$i = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
16936
16936
  const useUtilityClasses$7 = ownerState => {
16937
16937
  const {
16938
16938
  classes
@@ -16976,7 +16976,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
16976
16976
  SelectDisplayProps,
16977
16977
  variant: variantProp = 'outlined'
16978
16978
  } = props,
16979
- other = _objectWithoutPropertiesLoose(props, _excluded$g);
16979
+ other = _objectWithoutPropertiesLoose(props, _excluded$i);
16980
16980
  const inputComponent = native ? NativeSelectInput$1 : SelectInput$1;
16981
16981
  const muiFormControl = useFormControl();
16982
16982
  const fcs = formControlState({
@@ -17199,7 +17199,7 @@ function getTextFieldUtilityClass(slot) {
17199
17199
  }
17200
17200
  generateUtilityClasses('MuiTextField', ['root']);
17201
17201
 
17202
- const _excluded$f = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
17202
+ const _excluded$h = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
17203
17203
  const variantComponent = {
17204
17204
  standard: Input$1,
17205
17205
  filled: FilledInput$1,
@@ -17292,7 +17292,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
17292
17292
  value,
17293
17293
  variant = 'outlined'
17294
17294
  } = props,
17295
- other = _objectWithoutPropertiesLoose(props, _excluded$f);
17295
+ other = _objectWithoutPropertiesLoose(props, _excluded$h);
17296
17296
  const ownerState = _extends$1({}, props, {
17297
17297
  autoFocus,
17298
17298
  color,
@@ -21603,7 +21603,6 @@ const StyledTooltipContent = styled$3.div`
21603
21603
 
21604
21604
  const COMPONENT_NAME$5 = 'TooltipContent';
21605
21605
  const CLASSNAME$5 = 'redsift-tooltip-content';
21606
- const DEFAULT_PROPS$4 = {};
21607
21606
 
21608
21607
  /**
21609
21608
  * The TooltipContent component.
@@ -21669,12 +21668,10 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
21669
21668
  }, children)));
21670
21669
  });
21671
21670
  TooltipContent.className = CLASSNAME$5;
21672
- TooltipContent.defaultProps = DEFAULT_PROPS$4;
21673
21671
  TooltipContent.displayName = COMPONENT_NAME$5;
21674
21672
 
21675
21673
  const COMPONENT_NAME$4 = 'TooltipTrigger';
21676
21674
  const CLASSNAME$4 = 'redsift-tooltip-trigger';
21677
- const DEFAULT_PROPS$3 = {};
21678
21675
 
21679
21676
  /**
21680
21677
  * The TooltipTrigger component.
@@ -21710,7 +21707,6 @@ const TooltipTrigger = /*#__PURE__*/forwardRef((props, ref) => {
21710
21707
  }, getReferenceProps(props)), children);
21711
21708
  });
21712
21709
  TooltipTrigger.className = CLASSNAME$4;
21713
- TooltipTrigger.defaultProps = DEFAULT_PROPS$3;
21714
21710
  TooltipTrigger.displayName = COMPONENT_NAME$4;
21715
21711
 
21716
21712
  function useTooltip(_ref) {
@@ -21781,27 +21777,59 @@ function useTooltip(_ref) {
21781
21777
  const ThemeContext = /*#__PURE__*/React__default.createContext(null);
21782
21778
  const ThemeProvider = ThemeContext.Provider;
21783
21779
 
21780
+ const _excluded$g = ["tooltip", "tooltipProps", "tooltipTriggerProps", "tooltipContentProps"];
21781
+ const IconButtonWithTooltip = /*#__PURE__*/forwardRef((_ref, ref) => {
21782
+ let {
21783
+ tooltip,
21784
+ tooltipProps,
21785
+ tooltipTriggerProps,
21786
+ tooltipContentProps
21787
+ } = _ref,
21788
+ props = _objectWithoutProperties(_ref, _excluded$g);
21789
+ return /*#__PURE__*/React__default.createElement(Tooltip, tooltipProps, /*#__PURE__*/React__default.createElement(Tooltip.Trigger, tooltipTriggerProps, /*#__PURE__*/React__default.createElement(IconButton$2, _extends$2({
21790
+ "aria-label": tooltip
21791
+ }, props, {
21792
+ "aria-describedby": undefined,
21793
+ ref: ref
21794
+ }))), /*#__PURE__*/React__default.createElement(Tooltip.Content, tooltipContentProps, tooltip));
21795
+ });
21796
+ IconButtonWithTooltip.displayName = 'IconButton';
21797
+
21798
+ const _excluded$f = ["tooltip", "tooltipProps", "tooltipTriggerProps", "tooltipContentProps"];
21799
+ const ButtonWithTooltip = /*#__PURE__*/forwardRef((_ref, ref) => {
21800
+ let {
21801
+ tooltip,
21802
+ tooltipProps,
21803
+ tooltipTriggerProps,
21804
+ tooltipContentProps
21805
+ } = _ref,
21806
+ props = _objectWithoutProperties(_ref, _excluded$f);
21807
+ return /*#__PURE__*/React__default.createElement(Tooltip, tooltipProps, /*#__PURE__*/React__default.createElement(Tooltip.Trigger, tooltipTriggerProps, /*#__PURE__*/React__default.createElement(Button, _extends$2({
21808
+ "aria-label": tooltip
21809
+ }, props, {
21810
+ "aria-describedby": undefined,
21811
+ ref: ref
21812
+ }))), /*#__PURE__*/React__default.createElement(Tooltip.Content, tooltipContentProps, tooltip));
21813
+ });
21814
+ ButtonWithTooltip.displayName = 'Button';
21815
+
21784
21816
  const COMPONENT_NAME$3 = 'Tooltip';
21785
21817
  const CLASSNAME$3 = 'redsift-tooltip';
21786
- const DEFAULT_PROPS$2 = {
21787
- delay: 500,
21788
- placement: TooltipPlacement.top
21789
- };
21790
21818
 
21791
21819
  /**
21792
21820
  * The Tooltip component.
21793
21821
  */
21794
21822
  const BaseTooltip = props => {
21795
21823
  const {
21796
- color,
21797
21824
  children,
21825
+ color,
21798
21826
  defaultOpen,
21799
- delay,
21827
+ delay = 500,
21800
21828
  isOpen,
21801
21829
  onOpen,
21802
- placement,
21803
- tooltipId,
21830
+ placement = TooltipPlacement.top,
21804
21831
  theme: propsTheme,
21832
+ tooltipId,
21805
21833
  triggerClassName
21806
21834
  } = props;
21807
21835
  const theme = useTheme$4 ? useTheme$4(propsTheme) : undefined;
@@ -21826,11 +21854,13 @@ const BaseTooltip = props => {
21826
21854
  }, trigger && isComponent('TooltipTrigger')(trigger) ? trigger : null, content && isComponent('TooltipContent')(content) ? content : null));
21827
21855
  };
21828
21856
  BaseTooltip.className = CLASSNAME$3;
21829
- BaseTooltip.defaultProps = DEFAULT_PROPS$2;
21830
21857
  BaseTooltip.displayName = COMPONENT_NAME$3;
21831
21858
  const Tooltip = Object.assign(BaseTooltip, {
21832
21859
  Trigger: TooltipTrigger,
21833
- Content: TooltipContent
21860
+ Content: TooltipContent,
21861
+ Button: ButtonWithTooltip,
21862
+ IconButton: IconButtonWithTooltip,
21863
+ IconButtonLink: IconButtonWithTooltip
21834
21864
  });
21835
21865
 
21836
21866
  const useTooltipContext = () => {
@@ -21857,27 +21887,9 @@ const StyledGridToolbarFilterSemanticField = styled$3.form`
21857
21887
  }
21858
21888
  `;
21859
21889
 
21860
- const _excluded$e = ["className", "nlpFilterConfig", "onFilterModelChange", "dateFormat", "defaultModel", "defaultFilter", "disablePower", "localeText"];
21890
+ const _excluded$e = ["className", "dateFormat", "defaultFilter", "defaultModel", "disablePower", "localeText", "nlpFilterConfig", "onFilterModelChange"];
21861
21891
  const COMPONENT_NAME$2 = 'GridToolbarFilterSemanticField';
21862
21892
  const CLASSNAME$2 = 'redsift-datagrid-toolbar-nlp-filter-field';
21863
- const DEFAULT_PROPS$1 = {
21864
- dateFormat: 'yyyy-mm-dd',
21865
- defaultModel: 'gpt-4-1106-preview',
21866
- defaultFilter: {
21867
- items: [],
21868
- logicOperator: 'and'
21869
- },
21870
- disablePower: false,
21871
- localeText: {
21872
- textLabel: 'Semantic filtering',
21873
- textPlaceholder: 'Describe here how you would like to filter this datagrid.',
21874
- buttonAriaLabel: 'Submit',
21875
- buttonText: 'Run',
21876
- powerText: 'Power mode',
21877
- powerTooltipContent: 'The Power mode can get better results but is slower.',
21878
- errorText: 'Unable to find a valid filter, please try again with a more specific prompt.'
21879
- }
21880
- };
21881
21893
  const DEFAULT_OPERATORS = {
21882
21894
  string: ['contains', 'equals', 'startsWith', 'endsWith', 'isEmpty', 'isNotEmpty', 'isAnyOf'],
21883
21895
  number: ['=', '!=', '>', '>=', '<', '<=', 'isEmpty', 'isNotEmpty', 'isAnyOf'],
@@ -21949,13 +21961,16 @@ const GridToolbarFilterSemanticField = /*#__PURE__*/forwardRef((props, ref) => {
21949
21961
  const fieldRef = ref || useRef();
21950
21962
  const {
21951
21963
  className,
21964
+ dateFormat = 'yyyy-mm-dd',
21965
+ defaultFilter = {
21966
+ items: [],
21967
+ linkOperator: 'and'
21968
+ },
21969
+ defaultModel = 'gpt-4-1106-preview',
21970
+ disablePower = false,
21971
+ localeText,
21952
21972
  nlpFilterConfig,
21953
- onFilterModelChange,
21954
- dateFormat = DEFAULT_PROPS$1.dateFormat,
21955
- defaultModel = DEFAULT_PROPS$1.defaultModel,
21956
- defaultFilter = DEFAULT_PROPS$1.defaultFilter,
21957
- disablePower = DEFAULT_PROPS$1.disablePower,
21958
- localeText
21973
+ onFilterModelChange
21959
21974
  } = props,
21960
21975
  forwardedProps = _objectWithoutProperties(props, _excluded$e);
21961
21976
  const {
@@ -21966,7 +21981,15 @@ const GridToolbarFilterSemanticField = /*#__PURE__*/forwardRef((props, ref) => {
21966
21981
  powerText,
21967
21982
  powerTooltipContent,
21968
21983
  errorText
21969
- } = _objectSpread2(_objectSpread2({}, DEFAULT_PROPS$1.localeText), localeText);
21984
+ } = _objectSpread2({
21985
+ textLabel: 'Semantic filtering',
21986
+ textPlaceholder: 'Describe here how you would like to filter this datagrid.',
21987
+ buttonAriaLabel: 'Submit',
21988
+ buttonText: 'Run',
21989
+ powerText: 'Power mode',
21990
+ powerTooltipContent: 'The Power mode can get better results but is slower.',
21991
+ errorText: 'Unable to find a valid filter, please try again with a more specific prompt.'
21992
+ }, localeText);
21970
21993
  const [prompt, setPrompt] = useState('');
21971
21994
  const modelRef = useRef(defaultModel);
21972
21995
  const showErrorRef = useRef(false);
@@ -22035,7 +22058,6 @@ const GridToolbarFilterSemanticField = /*#__PURE__*/forwardRef((props, ref) => {
22035
22058
  }, errorText));
22036
22059
  });
22037
22060
  GridToolbarFilterSemanticField.className = CLASSNAME$2;
22038
- GridToolbarFilterSemanticField.defaultProps = DEFAULT_PROPS$1;
22039
22061
  GridToolbarFilterSemanticField.displayName = COMPONENT_NAME$2;
22040
22062
 
22041
22063
  /**
@@ -24843,13 +24865,9 @@ const ControlledPagination = _ref => {
24843
24865
  };
24844
24866
 
24845
24867
  const _excluded$1 = ["hideToolbar", "RenderedToolbar", "filterModel", "onFilterModelChange", "pagination", "paginationPlacement", "selectionStatus", "selectionStatusType", "setSelectionStatusType", "apiRef", "isRowSelectable", "paginationModel", "onPaginationModelChange", "pageSizeOptions", "paginationProps", "paginationMode", "rowCount"],
24846
- _excluded2 = ["apiRef", "autoHeight", "className", "slots", "slotProps", "filterModel", "height", "hideToolbar", "initialState", "isRowSelectable", "license", "onFilterModelChange", "paginationModel", "onPaginationModelChange", "pageSizeOptions", "rowSelectionModel", "onRowSelectionModelChange", "pagination", "paginationPlacement", "paginationProps", "rows", "sx", "theme", "paginationMode", "rowCount", "onSelectionStatusChange", "isPreviousData"];
24868
+ _excluded2 = ["apiRef", "autoHeight", "className", "slots", "slotProps", "filterModel", "height", "hideToolbar", "initialState", "isPreviousData", "isRowSelectable", "license", "onFilterModelChange", "paginationModel", "onPaginationModelChange", "pageSizeOptions", "rowSelectionModel", "onRowSelectionModelChange", "onSelectionStatusChange", "pagination", "paginationMode", "paginationPlacement", "paginationProps", "rowCount", "rows", "sx", "theme"];
24847
24869
  const COMPONENT_NAME$1 = 'DataGrid';
24848
24870
  const CLASSNAME$1 = 'redsift-datagrid';
24849
- const DEFAULT_PROPS = {
24850
- license: process.env.MUI_LICENSE_KEY,
24851
- paginationPlacement: 'both'
24852
- };
24853
24871
  const Toolbar = _ref => {
24854
24872
  let {
24855
24873
  hideToolbar,
@@ -24913,24 +24931,24 @@ const DataGrid = /*#__PURE__*/forwardRef((props, ref) => {
24913
24931
  height: propsHeight,
24914
24932
  hideToolbar,
24915
24933
  initialState,
24934
+ isPreviousData,
24916
24935
  isRowSelectable,
24917
- license,
24936
+ license = process.env.MUI_LICENSE_KEY,
24918
24937
  onFilterModelChange: propsOnFilterModelChange,
24919
24938
  paginationModel: propsPaginationModel,
24920
24939
  onPaginationModelChange: propsOnPaginationModelChange,
24921
24940
  pageSizeOptions,
24922
24941
  rowSelectionModel: propsRowSelectionModel,
24923
24942
  onRowSelectionModelChange,
24943
+ onSelectionStatusChange: propsOnSelectionStatusChange,
24924
24944
  pagination,
24925
- paginationPlacement,
24945
+ paginationMode = 'client',
24946
+ paginationPlacement = 'both',
24926
24947
  paginationProps,
24948
+ rowCount,
24927
24949
  rows,
24928
24950
  sx,
24929
- theme: propsTheme,
24930
- paginationMode = 'client',
24931
- rowCount,
24932
- onSelectionStatusChange: propsOnSelectionStatusChange,
24933
- isPreviousData
24951
+ theme: propsTheme
24934
24952
  } = props,
24935
24953
  forwardedProps = _objectWithoutProperties(props, _excluded2);
24936
24954
  const theme = useTheme$4(propsTheme);
@@ -25205,7 +25223,6 @@ const DataGrid = /*#__PURE__*/forwardRef((props, ref) => {
25205
25223
  })))));
25206
25224
  });
25207
25225
  DataGrid.className = CLASSNAME$1;
25208
- DataGrid.defaultProps = DEFAULT_PROPS;
25209
25226
  DataGrid.displayName = COMPONENT_NAME$1;
25210
25227
 
25211
25228
  const StyledTextCell = styled$3.div`