@groupeactual/ui-kit 0.4.21 → 0.4.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/cjs/components/Accordion/Accordion.d.ts +5 -4
  2. package/dist/cjs/components/Chip/Chip.d.ts +4 -0
  3. package/dist/cjs/components/Chip/index.d.ts +1 -0
  4. package/dist/cjs/components/Form/Checkbox/Checkbox.d.ts +1 -1
  5. package/dist/cjs/components/Form/TextField/TextField.d.ts +6 -5
  6. package/dist/cjs/components/Pagination/Pagination.d.ts +13 -0
  7. package/dist/cjs/components/Pagination/index.d.ts +1 -0
  8. package/dist/cjs/components/index.d.ts +2 -0
  9. package/dist/cjs/index.js +2067 -174
  10. package/dist/cjs/index.js.map +1 -1
  11. package/dist/esm/components/Accordion/Accordion.d.ts +5 -4
  12. package/dist/esm/components/Chip/Chip.d.ts +4 -0
  13. package/dist/esm/components/Chip/index.d.ts +1 -0
  14. package/dist/esm/components/Form/Checkbox/Checkbox.d.ts +1 -1
  15. package/dist/esm/components/Form/TextField/TextField.d.ts +6 -5
  16. package/dist/esm/components/Pagination/Pagination.d.ts +13 -0
  17. package/dist/esm/components/Pagination/index.d.ts +1 -0
  18. package/dist/esm/components/index.d.ts +2 -0
  19. package/dist/esm/index.js +2067 -176
  20. package/dist/esm/index.js.map +1 -1
  21. package/dist/index.d.ts +37 -20
  22. package/package.json +1 -1
  23. package/src/components/Accordion/Accordion.tsx +23 -5
  24. package/src/components/Chip/Chip.tsx +8 -0
  25. package/src/components/Chip/index.ts +1 -0
  26. package/src/components/Form/Checkbox/Checkbox.tsx +2 -2
  27. package/src/components/Form/TextField/TextField.tsx +12 -13
  28. package/src/components/Pagination/Pagination.tsx +110 -0
  29. package/src/components/Pagination/index.ts +1 -0
  30. package/src/components/index.ts +2 -0
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx, jsxs } from 'react/jsx-runtime';
1
+ import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import React__default, { useLayoutEffect, forwardRef, useContext, createElement, createContext, Fragment, useRef, Children, isValidElement, cloneElement, useState, useEffect, useMemo } from 'react';
4
4
 
@@ -4612,6 +4612,17 @@ function useId(idOverride) {
4612
4612
  return useGlobalId(idOverride);
4613
4613
  }
4614
4614
 
4615
+ function unsupportedProp(props, propName, componentName, location, propFullName) {
4616
+ if (process.env.NODE_ENV === 'production') {
4617
+ return null;
4618
+ }
4619
+ const propFullNameSafe = propFullName || propName;
4620
+ if (typeof props[propName] !== 'undefined') {
4621
+ return new Error(`The prop \`${propFullNameSafe}\` is not supported. Please remove it.`);
4622
+ }
4623
+ return null;
4624
+ }
4625
+
4615
4626
  /* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */
4616
4627
  function useControlled({
4617
4628
  controlled,
@@ -5912,7 +5923,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
5912
5923
  styleFunctionSx.filterProps = ['sx'];
5913
5924
  var styleFunctionSx$1 = styleFunctionSx;
5914
5925
 
5915
- const _excluded$L = ["sx"];
5926
+ const _excluded$R = ["sx"];
5916
5927
  const splitProps = props => {
5917
5928
  var _props$theme$unstable, _props$theme;
5918
5929
  const result = {
@@ -5933,7 +5944,7 @@ function extendSxProp(props) {
5933
5944
  const {
5934
5945
  sx: inSx
5935
5946
  } = props,
5936
- other = _objectWithoutPropertiesLoose(props, _excluded$L);
5947
+ other = _objectWithoutPropertiesLoose(props, _excluded$R);
5937
5948
  const {
5938
5949
  systemProps,
5939
5950
  otherProps
@@ -5959,7 +5970,7 @@ function extendSxProp(props) {
5959
5970
 
5960
5971
  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}
5961
5972
 
5962
- const _excluded$K = ["values", "unit", "step"];
5973
+ const _excluded$Q = ["values", "unit", "step"];
5963
5974
  const sortBreakpointsValues = values => {
5964
5975
  const breakpointsAsArray = Object.keys(values).map(key => ({
5965
5976
  key,
@@ -5994,7 +6005,7 @@ function createBreakpoints(breakpoints) {
5994
6005
  unit = 'px',
5995
6006
  step = 5
5996
6007
  } = breakpoints,
5997
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$K);
6008
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$Q);
5998
6009
  const sortedValues = sortBreakpointsValues(values);
5999
6010
  const keys = Object.keys(sortedValues);
6000
6011
  function up(key) {
@@ -6073,7 +6084,7 @@ function createSpacing(spacingInput = 8) {
6073
6084
  return spacing;
6074
6085
  }
6075
6086
 
6076
- const _excluded$J = ["breakpoints", "palette", "spacing", "shape"];
6087
+ const _excluded$P = ["breakpoints", "palette", "spacing", "shape"];
6077
6088
  function createTheme$1(options = {}, ...args) {
6078
6089
  const {
6079
6090
  breakpoints: breakpointsInput = {},
@@ -6081,7 +6092,7 @@ function createTheme$1(options = {}, ...args) {
6081
6092
  spacing: spacingInput,
6082
6093
  shape: shapeInput = {}
6083
6094
  } = options,
6084
- other = _objectWithoutPropertiesLoose(options, _excluded$J);
6095
+ other = _objectWithoutPropertiesLoose(options, _excluded$P);
6085
6096
  const breakpoints = createBreakpoints(breakpointsInput);
6086
6097
  const spacing = createSpacing(spacingInput);
6087
6098
  let muiTheme = deepmerge({
@@ -6192,7 +6203,7 @@ function useTheme$1(defaultTheme = systemDefaultTheme$1) {
6192
6203
  return useTheme$2(defaultTheme);
6193
6204
  }
6194
6205
 
6195
- const _excluded$I = ["className", "component"];
6206
+ const _excluded$O = ["className", "component"];
6196
6207
  function createBox(options = {}) {
6197
6208
  const {
6198
6209
  defaultTheme,
@@ -6209,7 +6220,7 @@ function createBox(options = {}) {
6209
6220
  className,
6210
6221
  component = 'div'
6211
6222
  } = _extendSxProp,
6212
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$I);
6223
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$O);
6213
6224
  return /*#__PURE__*/jsx(BoxRoot, _extends({
6214
6225
  as: component,
6215
6226
  ref: ref,
@@ -6242,7 +6253,7 @@ process.env.NODE_ENV !== "production" ? Box$2.propTypes /* remove-proptypes */ =
6242
6253
  } : void 0;
6243
6254
  var Box$3 = Box$2;
6244
6255
 
6245
- const _excluded$H = ["variant"];
6256
+ const _excluded$N = ["variant"];
6246
6257
  function isEmpty$3(string) {
6247
6258
  return string.length === 0;
6248
6259
  }
@@ -6256,7 +6267,7 @@ function propsToClassKey(props) {
6256
6267
  const {
6257
6268
  variant
6258
6269
  } = props,
6259
- other = _objectWithoutPropertiesLoose(props, _excluded$H);
6270
+ other = _objectWithoutPropertiesLoose(props, _excluded$N);
6260
6271
  let classKey = variant || '';
6261
6272
  Object.keys(other).sort().forEach(key => {
6262
6273
  if (key === 'color') {
@@ -6268,7 +6279,7 @@ function propsToClassKey(props) {
6268
6279
  return classKey;
6269
6280
  }
6270
6281
 
6271
- const _excluded$G = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6282
+ const _excluded$M = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6272
6283
  _excluded2$2 = ["theme"],
6273
6284
  _excluded3 = ["theme"];
6274
6285
  function isEmpty$2(obj) {
@@ -6355,7 +6366,7 @@ function createStyled(input = {}) {
6355
6366
  skipSx: inputSkipSx,
6356
6367
  overridesResolver
6357
6368
  } = inputOptions,
6358
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$G);
6369
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$M);
6359
6370
 
6360
6371
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6361
6372
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -6787,7 +6798,7 @@ function createMixins(breakpoints, mixins) {
6787
6798
  }, mixins);
6788
6799
  }
6789
6800
 
6790
- const _excluded$F = ["mode", "contrastThreshold", "tonalOffset"];
6801
+ const _excluded$L = ["mode", "contrastThreshold", "tonalOffset"];
6791
6802
  const light = {
6792
6803
  // The colors used to style the text.
6793
6804
  text: {
@@ -6956,7 +6967,7 @@ function createPalette(palette) {
6956
6967
  contrastThreshold = 3,
6957
6968
  tonalOffset = 0.2
6958
6969
  } = palette,
6959
- other = _objectWithoutPropertiesLoose(palette, _excluded$F);
6970
+ other = _objectWithoutPropertiesLoose(palette, _excluded$L);
6960
6971
  const primary = palette.primary || getDefaultPrimary(mode);
6961
6972
  const secondary = palette.secondary || getDefaultSecondary(mode);
6962
6973
  const error = palette.error || getDefaultError(mode);
@@ -7080,7 +7091,7 @@ const theme2 = createTheme({ palette: {
7080
7091
  return paletteOutput;
7081
7092
  }
7082
7093
 
7083
- const _excluded$E = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
7094
+ const _excluded$K = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
7084
7095
  function round(value) {
7085
7096
  return Math.round(value * 1e5) / 1e5;
7086
7097
  }
@@ -7111,7 +7122,7 @@ function createTypography(palette, typography) {
7111
7122
  allVariants,
7112
7123
  pxToRem: pxToRem2
7113
7124
  } = _ref,
7114
- other = _objectWithoutPropertiesLoose(_ref, _excluded$E);
7125
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$K);
7115
7126
  if (process.env.NODE_ENV !== 'production') {
7116
7127
  if (typeof fontSize !== 'number') {
7117
7128
  console.error('MUI: `fontSize` is required to be a number.');
@@ -7171,7 +7182,7 @@ function createShadow(...px) {
7171
7182
  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)];
7172
7183
  var shadows$1 = shadows;
7173
7184
 
7174
- const _excluded$D = ["duration", "easing", "delay"];
7185
+ const _excluded$J = ["duration", "easing", "delay"];
7175
7186
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
7176
7187
  // to learn the context in which each easing should be used.
7177
7188
  const easing = {
@@ -7222,7 +7233,7 @@ function createTransitions(inputTransitions) {
7222
7233
  easing: easingOption = mergedEasing.easeInOut,
7223
7234
  delay = 0
7224
7235
  } = options,
7225
- other = _objectWithoutPropertiesLoose(options, _excluded$D);
7236
+ other = _objectWithoutPropertiesLoose(options, _excluded$J);
7226
7237
  if (process.env.NODE_ENV !== 'production') {
7227
7238
  const isString = value => typeof value === 'string';
7228
7239
  // IE11 support, replace with Number.isNaN
@@ -7269,7 +7280,7 @@ const zIndex = {
7269
7280
  };
7270
7281
  var zIndex$1 = zIndex;
7271
7282
 
7272
- const _excluded$C = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7283
+ const _excluded$I = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7273
7284
  function createTheme(options = {}, ...args) {
7274
7285
  const {
7275
7286
  mixins: mixinsInput = {},
@@ -7277,7 +7288,7 @@ function createTheme(options = {}, ...args) {
7277
7288
  transitions: transitionsInput = {},
7278
7289
  typography: typographyInput = {}
7279
7290
  } = options,
7280
- other = _objectWithoutPropertiesLoose(options, _excluded$C);
7291
+ other = _objectWithoutPropertiesLoose(options, _excluded$I);
7281
7292
  if (options.vars) {
7282
7293
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
7283
7294
  Please use another name.` : formatMuiErrorMessage(18));
@@ -7519,7 +7530,7 @@ function mergeSlotProps(parameters) {
7519
7530
  };
7520
7531
  }
7521
7532
 
7522
- const _excluded$B = ["elementType", "externalSlotProps", "ownerState"];
7533
+ const _excluded$H = ["elementType", "externalSlotProps", "ownerState"];
7523
7534
  /**
7524
7535
  * Builds the props to be passed into the slot of an unstyled component.
7525
7536
  * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.
@@ -7534,7 +7545,7 @@ function useSlotProps(parameters) {
7534
7545
  externalSlotProps,
7535
7546
  ownerState
7536
7547
  } = parameters,
7537
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$B);
7548
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$H);
7538
7549
  const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
7539
7550
  const {
7540
7551
  props: mergedProps,
@@ -39008,8 +39019,8 @@ function getModalUtilityClass(slot) {
39008
39019
  }
39009
39020
  generateUtilityClasses('MuiModal', ['root', 'hidden']);
39010
39021
 
39011
- const _excluded$A = ["children", "classes", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
39012
- const useUtilityClasses$t = ownerState => {
39022
+ const _excluded$G = ["children", "classes", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
39023
+ const useUtilityClasses$y = ownerState => {
39013
39024
  const {
39014
39025
  open,
39015
39026
  exited,
@@ -39073,7 +39084,7 @@ const ModalUnstyled = /*#__PURE__*/React.forwardRef(function ModalUnstyled(props
39073
39084
  slotProps = {},
39074
39085
  slots = {}
39075
39086
  } = props,
39076
- other = _objectWithoutPropertiesLoose(props, _excluded$A);
39087
+ other = _objectWithoutPropertiesLoose(props, _excluded$G);
39077
39088
  const [exited, setExited] = React.useState(!open);
39078
39089
  const modal = React.useRef({});
39079
39090
  const mountNodeRef = React.useRef(null);
@@ -39144,7 +39155,7 @@ const ModalUnstyled = /*#__PURE__*/React.forwardRef(function ModalUnstyled(props
39144
39155
  hideBackdrop,
39145
39156
  keepMounted
39146
39157
  });
39147
- const classes = useUtilityClasses$t(ownerState);
39158
+ const classes = useUtilityClasses$y(ownerState);
39148
39159
  const handleEnter = () => {
39149
39160
  setExited(false);
39150
39161
  if (onTransitionEnter) {
@@ -39370,7 +39381,7 @@ process.env.NODE_ENV !== "production" ? ModalUnstyled.propTypes /* remove-propty
39370
39381
  } : void 0;
39371
39382
  var ModalUnstyled$1 = ModalUnstyled;
39372
39383
 
39373
- const _excluded$z = ["onChange", "maxRows", "minRows", "style", "value"];
39384
+ const _excluded$F = ["onChange", "maxRows", "minRows", "style", "value"];
39374
39385
  function getStyleValue(computedStyle, property) {
39375
39386
  return parseInt(computedStyle[property], 10) || 0;
39376
39387
  }
@@ -39400,7 +39411,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
39400
39411
  style,
39401
39412
  value
39402
39413
  } = props,
39403
- other = _objectWithoutPropertiesLoose(props, _excluded$z);
39414
+ other = _objectWithoutPropertiesLoose(props, _excluded$F);
39404
39415
  const {
39405
39416
  current: isControlled
39406
39417
  } = React.useRef(value != null);
@@ -39611,8 +39622,8 @@ function getSvgIconUtilityClass(slot) {
39611
39622
  }
39612
39623
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
39613
39624
 
39614
- const _excluded$y = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
39615
- const useUtilityClasses$s = ownerState => {
39625
+ const _excluded$E = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
39626
+ const useUtilityClasses$x = ownerState => {
39616
39627
  const {
39617
39628
  color,
39618
39629
  fontSize,
@@ -39677,7 +39688,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
39677
39688
  titleAccess,
39678
39689
  viewBox = '0 0 24 24'
39679
39690
  } = props,
39680
- other = _objectWithoutPropertiesLoose(props, _excluded$y);
39691
+ other = _objectWithoutPropertiesLoose(props, _excluded$E);
39681
39692
  const ownerState = _extends({}, props, {
39682
39693
  color,
39683
39694
  component,
@@ -39690,7 +39701,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
39690
39701
  if (!inheritViewBox) {
39691
39702
  more.viewBox = viewBox;
39692
39703
  }
39693
- const classes = useUtilityClasses$s(ownerState);
39704
+ const classes = useUtilityClasses$x(ownerState);
39694
39705
  return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
39695
39706
  as: component,
39696
39707
  className: clsx(classes.root, className),
@@ -40806,8 +40817,8 @@ function getCollapseUtilityClass(slot) {
40806
40817
  }
40807
40818
  generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);
40808
40819
 
40809
- const _excluded$x = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
40810
- const useUtilityClasses$r = ownerState => {
40820
+ const _excluded$D = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
40821
+ const useUtilityClasses$w = ownerState => {
40811
40822
  const {
40812
40823
  orientation,
40813
40824
  classes
@@ -40906,12 +40917,12 @@ const Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {
40906
40917
  // eslint-disable-next-line react/prop-types
40907
40918
  TransitionComponent = Transition$1
40908
40919
  } = props,
40909
- other = _objectWithoutPropertiesLoose(props, _excluded$x);
40920
+ other = _objectWithoutPropertiesLoose(props, _excluded$D);
40910
40921
  const ownerState = _extends({}, props, {
40911
40922
  orientation,
40912
40923
  collapsedSize: collapsedSizeProp
40913
40924
  });
40914
- const classes = useUtilityClasses$r(ownerState);
40925
+ const classes = useUtilityClasses$w(ownerState);
40915
40926
  const theme = useTheme();
40916
40927
  const timer = React.useRef();
40917
40928
  const wrapperRef = React.useRef(null);
@@ -41173,8 +41184,8 @@ function getPaperUtilityClass(slot) {
41173
41184
  }
41174
41185
  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']);
41175
41186
 
41176
- const _excluded$w = ["className", "component", "elevation", "square", "variant"];
41177
- const useUtilityClasses$q = ownerState => {
41187
+ const _excluded$C = ["className", "component", "elevation", "square", "variant"];
41188
+ const useUtilityClasses$v = ownerState => {
41178
41189
  const {
41179
41190
  square,
41180
41191
  elevation,
@@ -41228,14 +41239,14 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
41228
41239
  square = false,
41229
41240
  variant = 'elevation'
41230
41241
  } = props,
41231
- other = _objectWithoutPropertiesLoose(props, _excluded$w);
41242
+ other = _objectWithoutPropertiesLoose(props, _excluded$C);
41232
41243
  const ownerState = _extends({}, props, {
41233
41244
  component,
41234
41245
  elevation,
41235
41246
  square,
41236
41247
  variant
41237
41248
  });
41238
- const classes = useUtilityClasses$q(ownerState);
41249
+ const classes = useUtilityClasses$v(ownerState);
41239
41250
  if (process.env.NODE_ENV !== 'production') {
41240
41251
  // eslint-disable-next-line react-hooks/rules-of-hooks
41241
41252
  const theme = useTheme();
@@ -41320,8 +41331,8 @@ function getAccordionUtilityClass(slot) {
41320
41331
  const accordionClasses = generateUtilityClasses('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
41321
41332
  var accordionClasses$1 = accordionClasses;
41322
41333
 
41323
- const _excluded$v = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
41324
- const useUtilityClasses$p = ownerState => {
41334
+ const _excluded$B = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
41335
+ const useUtilityClasses$u = ownerState => {
41325
41336
  const {
41326
41337
  classes,
41327
41338
  square,
@@ -41433,7 +41444,7 @@ const Accordion$1 = /*#__PURE__*/React.forwardRef(function Accordion(inProps, re
41433
41444
  TransitionComponent = Collapse$1,
41434
41445
  TransitionProps
41435
41446
  } = props,
41436
- other = _objectWithoutPropertiesLoose(props, _excluded$v);
41447
+ other = _objectWithoutPropertiesLoose(props, _excluded$B);
41437
41448
  const [expanded, setExpandedState] = useControlled({
41438
41449
  controlled: expandedProp,
41439
41450
  default: defaultExpanded,
@@ -41459,7 +41470,7 @@ const Accordion$1 = /*#__PURE__*/React.forwardRef(function Accordion(inProps, re
41459
41470
  disableGutters,
41460
41471
  expanded
41461
41472
  });
41462
- const classes = useUtilityClasses$p(ownerState);
41473
+ const classes = useUtilityClasses$u(ownerState);
41463
41474
  return /*#__PURE__*/jsxs(AccordionRoot, _extends({
41464
41475
  className: clsx(classes.root, className),
41465
41476
  ref: ref,
@@ -41564,8 +41575,8 @@ function getAccordionDetailsUtilityClass(slot) {
41564
41575
  }
41565
41576
  generateUtilityClasses('MuiAccordionDetails', ['root']);
41566
41577
 
41567
- const _excluded$u = ["className"];
41568
- const useUtilityClasses$o = ownerState => {
41578
+ const _excluded$A = ["className"];
41579
+ const useUtilityClasses$t = ownerState => {
41569
41580
  const {
41570
41581
  classes
41571
41582
  } = ownerState;
@@ -41591,9 +41602,9 @@ const AccordionDetails = /*#__PURE__*/React.forwardRef(function AccordionDetails
41591
41602
  const {
41592
41603
  className
41593
41604
  } = props,
41594
- other = _objectWithoutPropertiesLoose(props, _excluded$u);
41605
+ other = _objectWithoutPropertiesLoose(props, _excluded$A);
41595
41606
  const ownerState = props;
41596
- const classes = useUtilityClasses$o(ownerState);
41607
+ const classes = useUtilityClasses$t(ownerState);
41597
41608
  return /*#__PURE__*/jsx(AccordionDetailsRoot, _extends({
41598
41609
  className: clsx(classes.root, className),
41599
41610
  ref: ref,
@@ -41706,7 +41717,7 @@ process.env.NODE_ENV !== "production" ? Ripple.propTypes = {
41706
41717
  const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
41707
41718
  var touchRippleClasses$1 = touchRippleClasses;
41708
41719
 
41709
- const _excluded$t = ["center", "classes", "className"];
41720
+ const _excluded$z = ["center", "classes", "className"];
41710
41721
  let _ = t => t,
41711
41722
  _t,
41712
41723
  _t2,
@@ -41835,7 +41846,7 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
41835
41846
  classes = {},
41836
41847
  className
41837
41848
  } = props,
41838
- other = _objectWithoutPropertiesLoose(props, _excluded$t);
41849
+ other = _objectWithoutPropertiesLoose(props, _excluded$z);
41839
41850
  const [ripples, setRipples] = React.useState([]);
41840
41851
  const nextKey = React.useRef(0);
41841
41852
  const rippleCallback = React.useRef(null);
@@ -42036,8 +42047,8 @@ function getButtonBaseUtilityClass(slot) {
42036
42047
  const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
42037
42048
  var buttonBaseClasses$1 = buttonBaseClasses;
42038
42049
 
42039
- const _excluded$s = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
42040
- const useUtilityClasses$n = ownerState => {
42050
+ const _excluded$y = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
42051
+ const useUtilityClasses$s = ownerState => {
42041
42052
  const {
42042
42053
  disabled,
42043
42054
  focusVisible,
@@ -42138,7 +42149,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
42138
42149
  touchRippleRef,
42139
42150
  type
42140
42151
  } = props,
42141
- other = _objectWithoutPropertiesLoose(props, _excluded$s);
42152
+ other = _objectWithoutPropertiesLoose(props, _excluded$y);
42142
42153
  const buttonRef = React.useRef(null);
42143
42154
  const rippleRef = React.useRef(null);
42144
42155
  const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
@@ -42305,7 +42316,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
42305
42316
  tabIndex,
42306
42317
  focusVisible
42307
42318
  });
42308
- const classes = useUtilityClasses$n(ownerState);
42319
+ const classes = useUtilityClasses$s(ownerState);
42309
42320
  return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends({
42310
42321
  as: ComponentProp,
42311
42322
  className: clsx(classes.root, className),
@@ -42502,8 +42513,8 @@ function getAccordionSummaryUtilityClass(slot) {
42502
42513
  const accordionSummaryClasses = generateUtilityClasses('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
42503
42514
  var accordionSummaryClasses$1 = accordionSummaryClasses;
42504
42515
 
42505
- const _excluded$r = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
42506
- const useUtilityClasses$m = ownerState => {
42516
+ const _excluded$x = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
42517
+ const useUtilityClasses$r = ownerState => {
42507
42518
  const {
42508
42519
  classes,
42509
42520
  expanded,
@@ -42597,7 +42608,7 @@ const AccordionSummary = /*#__PURE__*/React.forwardRef(function AccordionSummary
42597
42608
  focusVisibleClassName,
42598
42609
  onClick
42599
42610
  } = props,
42600
- other = _objectWithoutPropertiesLoose(props, _excluded$r);
42611
+ other = _objectWithoutPropertiesLoose(props, _excluded$x);
42601
42612
  const {
42602
42613
  disabled = false,
42603
42614
  disableGutters,
@@ -42617,7 +42628,7 @@ const AccordionSummary = /*#__PURE__*/React.forwardRef(function AccordionSummary
42617
42628
  disabled,
42618
42629
  disableGutters
42619
42630
  });
42620
- const classes = useUtilityClasses$m(ownerState);
42631
+ const classes = useUtilityClasses$r(ownerState);
42621
42632
  return /*#__PURE__*/jsxs(AccordionSummaryRoot, _extends({
42622
42633
  focusRipple: false,
42623
42634
  disableRipple: true,
@@ -42687,8 +42698,8 @@ function getTypographyUtilityClass(slot) {
42687
42698
  }
42688
42699
  generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
42689
42700
 
42690
- const _excluded$q = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
42691
- const useUtilityClasses$l = ownerState => {
42701
+ const _excluded$w = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
42702
+ const useUtilityClasses$q = ownerState => {
42692
42703
  const {
42693
42704
  align,
42694
42705
  gutterBottom,
@@ -42771,7 +42782,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
42771
42782
  variant = 'body1',
42772
42783
  variantMapping = defaultVariantMapping
42773
42784
  } = props,
42774
- other = _objectWithoutPropertiesLoose(props, _excluded$q);
42785
+ other = _objectWithoutPropertiesLoose(props, _excluded$w);
42775
42786
  const ownerState = _extends({}, props, {
42776
42787
  align,
42777
42788
  color,
@@ -42784,7 +42795,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
42784
42795
  variantMapping
42785
42796
  });
42786
42797
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
42787
- const classes = useUtilityClasses$l(ownerState);
42798
+ const classes = useUtilityClasses$q(ownerState);
42788
42799
  return /*#__PURE__*/jsx(TypographyRoot, _extends({
42789
42800
  as: Component,
42790
42801
  ref: ref,
@@ -42869,6 +42880,499 @@ process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes
42869
42880
  } : void 0;
42870
42881
  var Typography$1 = Typography;
42871
42882
 
42883
+ var CancelIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
42884
+ d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
42885
+ }), 'Cancel');
42886
+
42887
+ function getChipUtilityClass(slot) {
42888
+ return generateUtilityClass('MuiChip', slot);
42889
+ }
42890
+ const chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
42891
+ var chipClasses$1 = chipClasses;
42892
+
42893
+ const _excluded$v = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
42894
+ const useUtilityClasses$p = ownerState => {
42895
+ const {
42896
+ classes,
42897
+ disabled,
42898
+ size,
42899
+ color,
42900
+ iconColor,
42901
+ onDelete,
42902
+ clickable,
42903
+ variant
42904
+ } = ownerState;
42905
+ const slots = {
42906
+ root: ['root', variant, disabled && 'disabled', `size${capitalize(size)}`, `color${capitalize(color)}`, clickable && 'clickable', clickable && `clickableColor${capitalize(color)}`, onDelete && 'deletable', onDelete && `deletableColor${capitalize(color)}`, `${variant}${capitalize(color)}`],
42907
+ label: ['label', `label${capitalize(size)}`],
42908
+ avatar: ['avatar', `avatar${capitalize(size)}`, `avatarColor${capitalize(color)}`],
42909
+ icon: ['icon', `icon${capitalize(size)}`, `iconColor${capitalize(iconColor)}`],
42910
+ deleteIcon: ['deleteIcon', `deleteIcon${capitalize(size)}`, `deleteIconColor${capitalize(color)}`, `deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
42911
+ };
42912
+ return composeClasses(slots, getChipUtilityClass, classes);
42913
+ };
42914
+ const ChipRoot = styled$1('div', {
42915
+ name: 'MuiChip',
42916
+ slot: 'Root',
42917
+ overridesResolver: (props, styles) => {
42918
+ const {
42919
+ ownerState
42920
+ } = props;
42921
+ const {
42922
+ color,
42923
+ iconColor,
42924
+ clickable,
42925
+ onDelete,
42926
+ size,
42927
+ variant
42928
+ } = ownerState;
42929
+ return [{
42930
+ [`& .${chipClasses$1.avatar}`]: styles.avatar
42931
+ }, {
42932
+ [`& .${chipClasses$1.avatar}`]: styles[`avatar${capitalize(size)}`]
42933
+ }, {
42934
+ [`& .${chipClasses$1.avatar}`]: styles[`avatarColor${capitalize(color)}`]
42935
+ }, {
42936
+ [`& .${chipClasses$1.icon}`]: styles.icon
42937
+ }, {
42938
+ [`& .${chipClasses$1.icon}`]: styles[`icon${capitalize(size)}`]
42939
+ }, {
42940
+ [`& .${chipClasses$1.icon}`]: styles[`iconColor${capitalize(iconColor)}`]
42941
+ }, {
42942
+ [`& .${chipClasses$1.deleteIcon}`]: styles.deleteIcon
42943
+ }, {
42944
+ [`& .${chipClasses$1.deleteIcon}`]: styles[`deleteIcon${capitalize(size)}`]
42945
+ }, {
42946
+ [`& .${chipClasses$1.deleteIcon}`]: styles[`deleteIconColor${capitalize(color)}`]
42947
+ }, {
42948
+ [`& .${chipClasses$1.deleteIcon}`]: styles[`deleteIcon${capitalize(variant)}Color${capitalize(color)}`]
42949
+ }, styles.root, styles[`size${capitalize(size)}`], styles[`color${capitalize(color)}`], clickable && styles.clickable, clickable && color !== 'default' && styles[`clickableColor${capitalize(color)})`], onDelete && styles.deletable, onDelete && color !== 'default' && styles[`deletableColor${capitalize(color)}`], styles[variant], styles[`${variant}${capitalize(color)}`]];
42950
+ }
42951
+ })(({
42952
+ theme,
42953
+ ownerState
42954
+ }) => {
42955
+ const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
42956
+ const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
42957
+ return _extends({
42958
+ maxWidth: '100%',
42959
+ fontFamily: theme.typography.fontFamily,
42960
+ fontSize: theme.typography.pxToRem(13),
42961
+ display: 'inline-flex',
42962
+ alignItems: 'center',
42963
+ justifyContent: 'center',
42964
+ height: 32,
42965
+ color: (theme.vars || theme).palette.text.primary,
42966
+ backgroundColor: (theme.vars || theme).palette.action.selected,
42967
+ borderRadius: 32 / 2,
42968
+ whiteSpace: 'nowrap',
42969
+ transition: theme.transitions.create(['background-color', 'box-shadow']),
42970
+ // label will inherit this from root, then `clickable` class overrides this for both
42971
+ cursor: 'default',
42972
+ // We disable the focus ring for mouse, touch and keyboard users.
42973
+ outline: 0,
42974
+ textDecoration: 'none',
42975
+ border: 0,
42976
+ // Remove `button` border
42977
+ padding: 0,
42978
+ // Remove `button` padding
42979
+ verticalAlign: 'middle',
42980
+ boxSizing: 'border-box',
42981
+ [`&.${chipClasses$1.disabled}`]: {
42982
+ opacity: (theme.vars || theme).palette.action.disabledOpacity,
42983
+ pointerEvents: 'none'
42984
+ },
42985
+ [`& .${chipClasses$1.avatar}`]: {
42986
+ marginLeft: 5,
42987
+ marginRight: -6,
42988
+ width: 24,
42989
+ height: 24,
42990
+ color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,
42991
+ fontSize: theme.typography.pxToRem(12)
42992
+ },
42993
+ [`& .${chipClasses$1.avatarColorPrimary}`]: {
42994
+ color: (theme.vars || theme).palette.primary.contrastText,
42995
+ backgroundColor: (theme.vars || theme).palette.primary.dark
42996
+ },
42997
+ [`& .${chipClasses$1.avatarColorSecondary}`]: {
42998
+ color: (theme.vars || theme).palette.secondary.contrastText,
42999
+ backgroundColor: (theme.vars || theme).palette.secondary.dark
43000
+ },
43001
+ [`& .${chipClasses$1.avatarSmall}`]: {
43002
+ marginLeft: 4,
43003
+ marginRight: -4,
43004
+ width: 18,
43005
+ height: 18,
43006
+ fontSize: theme.typography.pxToRem(10)
43007
+ },
43008
+ [`& .${chipClasses$1.icon}`]: _extends({
43009
+ marginLeft: 5,
43010
+ marginRight: -6
43011
+ }, ownerState.size === 'small' && {
43012
+ fontSize: 18,
43013
+ marginLeft: 4,
43014
+ marginRight: -4
43015
+ }, ownerState.iconColor === ownerState.color && _extends({
43016
+ color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor
43017
+ }, ownerState.color !== 'default' && {
43018
+ color: 'inherit'
43019
+ })),
43020
+ [`& .${chipClasses$1.deleteIcon}`]: _extends({
43021
+ WebkitTapHighlightColor: 'transparent',
43022
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : deleteIconColor,
43023
+ fontSize: 22,
43024
+ cursor: 'pointer',
43025
+ margin: '0 5px 0 -6px',
43026
+ '&:hover': {
43027
+ color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(deleteIconColor, 0.4)
43028
+ }
43029
+ }, ownerState.size === 'small' && {
43030
+ fontSize: 16,
43031
+ marginRight: 4,
43032
+ marginLeft: -4
43033
+ }, ownerState.color !== 'default' && {
43034
+ color: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].contrastTextChannel} / 0.7)` : alpha(theme.palette[ownerState.color].contrastText, 0.7),
43035
+ '&:hover, &:active': {
43036
+ color: (theme.vars || theme).palette[ownerState.color].contrastText
43037
+ }
43038
+ })
43039
+ }, ownerState.size === 'small' && {
43040
+ height: 24
43041
+ }, ownerState.color !== 'default' && {
43042
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
43043
+ color: (theme.vars || theme).palette[ownerState.color].contrastText
43044
+ }, ownerState.onDelete && {
43045
+ [`&.${chipClasses$1.focusVisible}`]: {
43046
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity + theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
43047
+ }
43048
+ }, ownerState.onDelete && ownerState.color !== 'default' && {
43049
+ [`&.${chipClasses$1.focusVisible}`]: {
43050
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
43051
+ }
43052
+ });
43053
+ }, ({
43054
+ theme,
43055
+ ownerState
43056
+ }) => _extends({}, ownerState.clickable && {
43057
+ userSelect: 'none',
43058
+ WebkitTapHighlightColor: 'transparent',
43059
+ cursor: 'pointer',
43060
+ '&:hover': {
43061
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity + theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
43062
+ },
43063
+ [`&.${chipClasses$1.focusVisible}`]: {
43064
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity + theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
43065
+ },
43066
+ '&:active': {
43067
+ boxShadow: (theme.vars || theme).shadows[1]
43068
+ }
43069
+ }, ownerState.clickable && ownerState.color !== 'default' && {
43070
+ [`&:hover, &.${chipClasses$1.focusVisible}`]: {
43071
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
43072
+ }
43073
+ }), ({
43074
+ theme,
43075
+ ownerState
43076
+ }) => _extends({}, ownerState.variant === 'outlined' && {
43077
+ backgroundColor: 'transparent',
43078
+ border: theme.vars ? `1px solid ${theme.vars.palette.Chip.defaultBorder}` : `1px solid ${theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700]}`,
43079
+ [`&.${chipClasses$1.clickable}:hover`]: {
43080
+ backgroundColor: (theme.vars || theme).palette.action.hover
43081
+ },
43082
+ [`&.${chipClasses$1.focusVisible}`]: {
43083
+ backgroundColor: (theme.vars || theme).palette.action.focus
43084
+ },
43085
+ [`& .${chipClasses$1.avatar}`]: {
43086
+ marginLeft: 4
43087
+ },
43088
+ [`& .${chipClasses$1.avatarSmall}`]: {
43089
+ marginLeft: 2
43090
+ },
43091
+ [`& .${chipClasses$1.icon}`]: {
43092
+ marginLeft: 4
43093
+ },
43094
+ [`& .${chipClasses$1.iconSmall}`]: {
43095
+ marginLeft: 2
43096
+ },
43097
+ [`& .${chipClasses$1.deleteIcon}`]: {
43098
+ marginRight: 5
43099
+ },
43100
+ [`& .${chipClasses$1.deleteIconSmall}`]: {
43101
+ marginRight: 3
43102
+ }
43103
+ }, ownerState.variant === 'outlined' && ownerState.color !== 'default' && {
43104
+ color: (theme.vars || theme).palette[ownerState.color].main,
43105
+ border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.7)` : alpha(theme.palette[ownerState.color].main, 0.7)}`,
43106
+ [`&.${chipClasses$1.clickable}:hover`]: {
43107
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity)
43108
+ },
43109
+ [`&.${chipClasses$1.focusVisible}`]: {
43110
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.focusOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.focusOpacity)
43111
+ },
43112
+ [`& .${chipClasses$1.deleteIcon}`]: {
43113
+ color: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.7)` : alpha(theme.palette[ownerState.color].main, 0.7),
43114
+ '&:hover, &:active': {
43115
+ color: (theme.vars || theme).palette[ownerState.color].main
43116
+ }
43117
+ }
43118
+ }));
43119
+ const ChipLabel = styled$1('span', {
43120
+ name: 'MuiChip',
43121
+ slot: 'Label',
43122
+ overridesResolver: (props, styles) => {
43123
+ const {
43124
+ ownerState
43125
+ } = props;
43126
+ const {
43127
+ size
43128
+ } = ownerState;
43129
+ return [styles.label, styles[`label${capitalize(size)}`]];
43130
+ }
43131
+ })(({
43132
+ ownerState
43133
+ }) => _extends({
43134
+ overflow: 'hidden',
43135
+ textOverflow: 'ellipsis',
43136
+ paddingLeft: 12,
43137
+ paddingRight: 12,
43138
+ whiteSpace: 'nowrap'
43139
+ }, ownerState.size === 'small' && {
43140
+ paddingLeft: 8,
43141
+ paddingRight: 8
43142
+ }));
43143
+ function isDeleteKeyboardEvent(keyboardEvent) {
43144
+ return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';
43145
+ }
43146
+
43147
+ /**
43148
+ * Chips represent complex entities in small blocks, such as a contact.
43149
+ */
43150
+ const Chip$1 = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
43151
+ const props = useThemeProps({
43152
+ props: inProps,
43153
+ name: 'MuiChip'
43154
+ });
43155
+ const {
43156
+ avatar: avatarProp,
43157
+ className,
43158
+ clickable: clickableProp,
43159
+ color = 'default',
43160
+ component: ComponentProp,
43161
+ deleteIcon: deleteIconProp,
43162
+ disabled = false,
43163
+ icon: iconProp,
43164
+ label,
43165
+ onClick,
43166
+ onDelete,
43167
+ onKeyDown,
43168
+ onKeyUp,
43169
+ size = 'medium',
43170
+ variant = 'filled',
43171
+ tabIndex,
43172
+ skipFocusWhenDisabled = false
43173
+ } = props,
43174
+ other = _objectWithoutPropertiesLoose(props, _excluded$v);
43175
+ const chipRef = React.useRef(null);
43176
+ const handleRef = useForkRef(chipRef, ref);
43177
+ const handleDeleteIconClick = event => {
43178
+ // Stop the event from bubbling up to the `Chip`
43179
+ event.stopPropagation();
43180
+ if (onDelete) {
43181
+ onDelete(event);
43182
+ }
43183
+ };
43184
+ const handleKeyDown = event => {
43185
+ // Ignore events from children of `Chip`.
43186
+ if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {
43187
+ // Will be handled in keyUp, otherwise some browsers
43188
+ // might init navigation
43189
+ event.preventDefault();
43190
+ }
43191
+ if (onKeyDown) {
43192
+ onKeyDown(event);
43193
+ }
43194
+ };
43195
+ const handleKeyUp = event => {
43196
+ // Ignore events from children of `Chip`.
43197
+ if (event.currentTarget === event.target) {
43198
+ if (onDelete && isDeleteKeyboardEvent(event)) {
43199
+ onDelete(event);
43200
+ } else if (event.key === 'Escape' && chipRef.current) {
43201
+ chipRef.current.blur();
43202
+ }
43203
+ }
43204
+ if (onKeyUp) {
43205
+ onKeyUp(event);
43206
+ }
43207
+ };
43208
+ const clickable = clickableProp !== false && onClick ? true : clickableProp;
43209
+ const component = clickable || onDelete ? ButtonBase$1 : ComponentProp || 'div';
43210
+ const ownerState = _extends({}, props, {
43211
+ component,
43212
+ disabled,
43213
+ size,
43214
+ color,
43215
+ iconColor: /*#__PURE__*/React.isValidElement(iconProp) ? iconProp.props.color || color : color,
43216
+ onDelete: !!onDelete,
43217
+ clickable,
43218
+ variant
43219
+ });
43220
+ const classes = useUtilityClasses$p(ownerState);
43221
+ const moreProps = component === ButtonBase$1 ? _extends({
43222
+ component: ComponentProp || 'div',
43223
+ focusVisibleClassName: classes.focusVisible
43224
+ }, onDelete && {
43225
+ disableRipple: true
43226
+ }) : {};
43227
+ let deleteIcon = null;
43228
+ if (onDelete) {
43229
+ deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? /*#__PURE__*/React.cloneElement(deleteIconProp, {
43230
+ className: clsx(deleteIconProp.props.className, classes.deleteIcon),
43231
+ onClick: handleDeleteIconClick
43232
+ }) : /*#__PURE__*/jsx(CancelIcon, {
43233
+ className: clsx(classes.deleteIcon),
43234
+ onClick: handleDeleteIconClick
43235
+ });
43236
+ }
43237
+ let avatar = null;
43238
+ if (avatarProp && /*#__PURE__*/React.isValidElement(avatarProp)) {
43239
+ avatar = /*#__PURE__*/React.cloneElement(avatarProp, {
43240
+ className: clsx(classes.avatar, avatarProp.props.className)
43241
+ });
43242
+ }
43243
+ let icon = null;
43244
+ if (iconProp && /*#__PURE__*/React.isValidElement(iconProp)) {
43245
+ icon = /*#__PURE__*/React.cloneElement(iconProp, {
43246
+ className: clsx(classes.icon, iconProp.props.className)
43247
+ });
43248
+ }
43249
+ if (process.env.NODE_ENV !== 'production') {
43250
+ if (avatar && icon) {
43251
+ console.error('MUI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');
43252
+ }
43253
+ }
43254
+ return /*#__PURE__*/jsxs(ChipRoot, _extends({
43255
+ as: component,
43256
+ className: clsx(classes.root, className),
43257
+ disabled: clickable && disabled ? true : undefined,
43258
+ onClick: onClick,
43259
+ onKeyDown: handleKeyDown,
43260
+ onKeyUp: handleKeyUp,
43261
+ ref: handleRef,
43262
+ tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,
43263
+ ownerState: ownerState
43264
+ }, moreProps, other, {
43265
+ children: [avatar || icon, /*#__PURE__*/jsx(ChipLabel, {
43266
+ className: clsx(classes.label),
43267
+ ownerState: ownerState,
43268
+ children: label
43269
+ }), deleteIcon]
43270
+ }));
43271
+ });
43272
+ process.env.NODE_ENV !== "production" ? Chip$1.propTypes /* remove-proptypes */ = {
43273
+ // ----------------------------- Warning --------------------------------
43274
+ // | These PropTypes are generated from the TypeScript type definitions |
43275
+ // | To update them edit the d.ts file and run "yarn proptypes" |
43276
+ // ----------------------------------------------------------------------
43277
+ /**
43278
+ * The Avatar element to display.
43279
+ */
43280
+ avatar: PropTypes.element,
43281
+ /**
43282
+ * This prop isn't supported.
43283
+ * Use the `component` prop if you need to change the children structure.
43284
+ */
43285
+ children: unsupportedProp,
43286
+ /**
43287
+ * Override or extend the styles applied to the component.
43288
+ */
43289
+ classes: PropTypes.object,
43290
+ /**
43291
+ * @ignore
43292
+ */
43293
+ className: PropTypes.string,
43294
+ /**
43295
+ * If `true`, the chip will appear clickable, and will raise when pressed,
43296
+ * even if the onClick prop is not defined.
43297
+ * If `false`, the chip will not appear clickable, even if onClick prop is defined.
43298
+ * This can be used, for example,
43299
+ * along with the component prop to indicate an anchor Chip is clickable.
43300
+ * Note: this controls the UI and does not affect the onClick event.
43301
+ */
43302
+ clickable: PropTypes.bool,
43303
+ /**
43304
+ * The color of the component.
43305
+ * It supports both default and custom theme colors, which can be added as shown in the
43306
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
43307
+ * @default 'default'
43308
+ */
43309
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
43310
+ /**
43311
+ * The component used for the root node.
43312
+ * Either a string to use a HTML element or a component.
43313
+ */
43314
+ component: PropTypes.elementType,
43315
+ /**
43316
+ * Override the default delete icon element. Shown only if `onDelete` is set.
43317
+ */
43318
+ deleteIcon: PropTypes.element,
43319
+ /**
43320
+ * If `true`, the component is disabled.
43321
+ * @default false
43322
+ */
43323
+ disabled: PropTypes.bool,
43324
+ /**
43325
+ * Icon element.
43326
+ */
43327
+ icon: PropTypes.element,
43328
+ /**
43329
+ * The content of the component.
43330
+ */
43331
+ label: PropTypes.node,
43332
+ /**
43333
+ * @ignore
43334
+ */
43335
+ onClick: PropTypes.func,
43336
+ /**
43337
+ * Callback fired when the delete icon is clicked.
43338
+ * If set, the delete icon will be shown.
43339
+ */
43340
+ onDelete: PropTypes.func,
43341
+ /**
43342
+ * @ignore
43343
+ */
43344
+ onKeyDown: PropTypes.func,
43345
+ /**
43346
+ * @ignore
43347
+ */
43348
+ onKeyUp: PropTypes.func,
43349
+ /**
43350
+ * The size of the component.
43351
+ * @default 'medium'
43352
+ */
43353
+ size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),
43354
+ /**
43355
+ * If `true`, allows the disabled chip to escape focus.
43356
+ * If `false`, allows the disabled chip to receive focus.
43357
+ * @default false
43358
+ */
43359
+ skipFocusWhenDisabled: PropTypes.bool,
43360
+ /**
43361
+ * The system prop that allows defining system overrides as well as additional CSS styles.
43362
+ */
43363
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
43364
+ /**
43365
+ * @ignore
43366
+ */
43367
+ tabIndex: PropTypes.number,
43368
+ /**
43369
+ * The variant to use.
43370
+ * @default 'filled'
43371
+ */
43372
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['filled', 'outlined']), PropTypes.string])
43373
+ } : void 0;
43374
+ var ChipMUI = Chip$1;
43375
+
42872
43376
  function formControlState({
42873
43377
  props,
42874
43378
  states,
@@ -42953,7 +43457,7 @@ function getInputBaseUtilityClass(slot) {
42953
43457
  const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
42954
43458
  var inputBaseClasses$1 = inputBaseClasses;
42955
43459
 
42956
- const _excluded$p = ["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"];
43460
+ const _excluded$u = ["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"];
42957
43461
  const rootOverridesResolver = (props, styles) => {
42958
43462
  const {
42959
43463
  ownerState
@@ -42966,7 +43470,7 @@ const inputOverridesResolver = (props, styles) => {
42966
43470
  } = props;
42967
43471
  return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
42968
43472
  };
42969
- const useUtilityClasses$k = ownerState => {
43473
+ const useUtilityClasses$o = ownerState => {
42970
43474
  const {
42971
43475
  classes,
42972
43476
  color,
@@ -43184,7 +43688,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
43184
43688
  type = 'text',
43185
43689
  value: valueProp
43186
43690
  } = props,
43187
- other = _objectWithoutPropertiesLoose(props, _excluded$p);
43691
+ other = _objectWithoutPropertiesLoose(props, _excluded$u);
43188
43692
  const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
43189
43693
  const {
43190
43694
  current: isControlled
@@ -43358,7 +43862,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
43358
43862
  startAdornment,
43359
43863
  type
43360
43864
  });
43361
- const classes = useUtilityClasses$k(ownerState);
43865
+ const classes = useUtilityClasses$o(ownerState);
43362
43866
  const Root = slots.root || components.Root || InputBaseRoot;
43363
43867
  const rootProps = slotProps.root || componentsProps.root || {};
43364
43868
  const Input = slots.input || components.Input || InputBaseComponent;
@@ -43662,7 +44166,7 @@ var ArrowDropDownIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
43662
44166
  d: "M7 10l5 5 5-5z"
43663
44167
  }), 'ArrowDropDown');
43664
44168
 
43665
- const _excluded$o = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
44169
+ const _excluded$t = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
43666
44170
  const styles$1 = {
43667
44171
  entering: {
43668
44172
  opacity: 1
@@ -43699,7 +44203,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
43699
44203
  // eslint-disable-next-line react/prop-types
43700
44204
  TransitionComponent = Transition$1
43701
44205
  } = props,
43702
- other = _objectWithoutPropertiesLoose(props, _excluded$o);
44206
+ other = _objectWithoutPropertiesLoose(props, _excluded$t);
43703
44207
  const nodeRef = React.useRef(null);
43704
44208
  const handleRef = useForkRef(nodeRef, children.ref, ref);
43705
44209
  const normalizedTransitionCallback = callback => maybeIsAppearing => {
@@ -43860,8 +44364,8 @@ function getBackdropUtilityClass(slot) {
43860
44364
  }
43861
44365
  generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
43862
44366
 
43863
- const _excluded$n = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
43864
- const useUtilityClasses$j = ownerState => {
44367
+ const _excluded$s = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
44368
+ const useUtilityClasses$n = ownerState => {
43865
44369
  const {
43866
44370
  classes,
43867
44371
  invisible
@@ -43916,12 +44420,12 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
43916
44420
  // eslint-disable-next-line react/prop-types
43917
44421
  TransitionComponent = Fade$1
43918
44422
  } = props,
43919
- other = _objectWithoutPropertiesLoose(props, _excluded$n);
44423
+ other = _objectWithoutPropertiesLoose(props, _excluded$s);
43920
44424
  const ownerState = _extends({}, props, {
43921
44425
  component,
43922
44426
  invisible
43923
44427
  });
43924
- const classes = useUtilityClasses$j(ownerState);
44428
+ const classes = useUtilityClasses$n(ownerState);
43925
44429
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
43926
44430
  return /*#__PURE__*/jsx(TransitionComponent, _extends({
43927
44431
  in: open,
@@ -44073,8 +44577,8 @@ if (process.env.NODE_ENV !== 'production') {
44073
44577
  }
44074
44578
  var ButtonGroupContext$1 = ButtonGroupContext;
44075
44579
 
44076
- const _excluded$m = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
44077
- const useUtilityClasses$i = ownerState => {
44580
+ const _excluded$r = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
44581
+ const useUtilityClasses$m = ownerState => {
44078
44582
  const {
44079
44583
  color,
44080
44584
  disableElevation,
@@ -44299,7 +44803,7 @@ const Button$1 = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
44299
44803
  type,
44300
44804
  variant = 'text'
44301
44805
  } = props,
44302
- other = _objectWithoutPropertiesLoose(props, _excluded$m);
44806
+ other = _objectWithoutPropertiesLoose(props, _excluded$r);
44303
44807
  const ownerState = _extends({}, props, {
44304
44808
  color,
44305
44809
  component,
@@ -44311,7 +44815,7 @@ const Button$1 = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
44311
44815
  type,
44312
44816
  variant
44313
44817
  });
44314
- const classes = useUtilityClasses$i(ownerState);
44818
+ const classes = useUtilityClasses$m(ownerState);
44315
44819
  const startIcon = startIconProp && /*#__PURE__*/jsx(ButtonStartIcon, {
44316
44820
  className: classes.startIcon,
44317
44821
  ownerState: ownerState,
@@ -44437,8 +44941,8 @@ function getSwitchBaseUtilityClass(slot) {
44437
44941
  }
44438
44942
  generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
44439
44943
 
44440
- const _excluded$l = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
44441
- const useUtilityClasses$h = ownerState => {
44944
+ const _excluded$q = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
44945
+ const useUtilityClasses$l = ownerState => {
44442
44946
  const {
44443
44947
  classes,
44444
44948
  checked,
@@ -44501,7 +45005,7 @@ const SwitchBase = /*#__PURE__*/React.forwardRef(function SwitchBase(props, ref)
44501
45005
  type,
44502
45006
  value
44503
45007
  } = props,
44504
- other = _objectWithoutPropertiesLoose(props, _excluded$l);
45008
+ other = _objectWithoutPropertiesLoose(props, _excluded$q);
44505
45009
  const [checked, setCheckedState] = useControlled({
44506
45010
  controlled: checkedProp,
44507
45011
  default: Boolean(defaultChecked),
@@ -44550,7 +45054,7 @@ const SwitchBase = /*#__PURE__*/React.forwardRef(function SwitchBase(props, ref)
44550
45054
  disableFocusRipple,
44551
45055
  edge
44552
45056
  });
44553
- const classes = useUtilityClasses$h(ownerState);
45057
+ const classes = useUtilityClasses$l(ownerState);
44554
45058
  return /*#__PURE__*/jsxs(SwitchBaseRoot, _extends({
44555
45059
  component: "span",
44556
45060
  className: clsx(classes.root, className),
@@ -44711,8 +45215,8 @@ function getCheckboxUtilityClass(slot) {
44711
45215
  const checkboxClasses = generateUtilityClasses('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary']);
44712
45216
  var checkboxClasses$1 = checkboxClasses;
44713
45217
 
44714
- const _excluded$k = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
44715
- const useUtilityClasses$g = ownerState => {
45218
+ const _excluded$p = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
45219
+ const useUtilityClasses$k = ownerState => {
44716
45220
  const {
44717
45221
  classes,
44718
45222
  indeterminate,
@@ -44774,7 +45278,7 @@ const Checkbox$1 = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref)
44774
45278
  size = 'medium',
44775
45279
  className
44776
45280
  } = props,
44777
- other = _objectWithoutPropertiesLoose(props, _excluded$k);
45281
+ other = _objectWithoutPropertiesLoose(props, _excluded$p);
44778
45282
  const icon = indeterminate ? indeterminateIconProp : iconProp;
44779
45283
  const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
44780
45284
  const ownerState = _extends({}, props, {
@@ -44782,7 +45286,7 @@ const Checkbox$1 = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref)
44782
45286
  indeterminate,
44783
45287
  size
44784
45288
  });
44785
- const classes = useUtilityClasses$g(ownerState);
45289
+ const classes = useUtilityClasses$k(ownerState);
44786
45290
  return /*#__PURE__*/jsx(CheckboxRoot, _extends({
44787
45291
  type: "checkbox",
44788
45292
  inputProps: _extends({
@@ -44901,7 +45405,7 @@ process.env.NODE_ENV !== "production" ? Checkbox$1.propTypes /* remove-proptypes
44901
45405
  } : void 0;
44902
45406
  var CheckboxMUI = Checkbox$1;
44903
45407
 
44904
- const _excluded$j = ["BackdropComponent", "BackdropProps", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
45408
+ const _excluded$o = ["BackdropComponent", "BackdropProps", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
44905
45409
  const extendUtilityClasses = ownerState => {
44906
45410
  return ownerState.classes;
44907
45411
  };
@@ -44977,7 +45481,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
44977
45481
  // eslint-disable-next-line react/prop-types
44978
45482
  theme
44979
45483
  } = props,
44980
- other = _objectWithoutPropertiesLoose(props, _excluded$j);
45484
+ other = _objectWithoutPropertiesLoose(props, _excluded$o);
44981
45485
  const [exited, setExited] = React.useState(true);
44982
45486
  const commonProps = {
44983
45487
  closeAfterTransition,
@@ -45187,8 +45691,247 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
45187
45691
  } : void 0;
45188
45692
  var Modal$1 = Modal;
45189
45693
 
45190
- const _excluded$i = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
45191
- const useUtilityClasses$f = ownerState => {
45694
+ function getDividerUtilityClass(slot) {
45695
+ return generateUtilityClass('MuiDivider', slot);
45696
+ }
45697
+ const dividerClasses = generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
45698
+ var dividerClasses$1 = dividerClasses;
45699
+
45700
+ const _excluded$n = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
45701
+ const useUtilityClasses$j = ownerState => {
45702
+ const {
45703
+ absolute,
45704
+ children,
45705
+ classes,
45706
+ flexItem,
45707
+ light,
45708
+ orientation,
45709
+ textAlign,
45710
+ variant
45711
+ } = ownerState;
45712
+ const slots = {
45713
+ root: ['root', absolute && 'absolute', variant, light && 'light', orientation === 'vertical' && 'vertical', flexItem && 'flexItem', children && 'withChildren', children && orientation === 'vertical' && 'withChildrenVertical', textAlign === 'right' && orientation !== 'vertical' && 'textAlignRight', textAlign === 'left' && orientation !== 'vertical' && 'textAlignLeft'],
45714
+ wrapper: ['wrapper', orientation === 'vertical' && 'wrapperVertical']
45715
+ };
45716
+ return composeClasses(slots, getDividerUtilityClass, classes);
45717
+ };
45718
+ const DividerRoot = styled$1('div', {
45719
+ name: 'MuiDivider',
45720
+ slot: 'Root',
45721
+ overridesResolver: (props, styles) => {
45722
+ const {
45723
+ ownerState
45724
+ } = props;
45725
+ return [styles.root, ownerState.absolute && styles.absolute, styles[ownerState.variant], ownerState.light && styles.light, ownerState.orientation === 'vertical' && styles.vertical, ownerState.flexItem && styles.flexItem, ownerState.children && styles.withChildren, ownerState.children && ownerState.orientation === 'vertical' && styles.withChildrenVertical, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && styles.textAlignRight, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && styles.textAlignLeft];
45726
+ }
45727
+ })(({
45728
+ theme,
45729
+ ownerState
45730
+ }) => _extends({
45731
+ margin: 0,
45732
+ // Reset browser default style.
45733
+ flexShrink: 0,
45734
+ borderWidth: 0,
45735
+ borderStyle: 'solid',
45736
+ borderColor: (theme.vars || theme).palette.divider,
45737
+ borderBottomWidth: 'thin'
45738
+ }, ownerState.absolute && {
45739
+ position: 'absolute',
45740
+ bottom: 0,
45741
+ left: 0,
45742
+ width: '100%'
45743
+ }, ownerState.light && {
45744
+ borderColor: theme.vars ? `rgba(${theme.vars.palette.dividerChannel} / 0.08)` : alpha(theme.palette.divider, 0.08)
45745
+ }, ownerState.variant === 'inset' && {
45746
+ marginLeft: 72
45747
+ }, ownerState.variant === 'middle' && ownerState.orientation === 'horizontal' && {
45748
+ marginLeft: theme.spacing(2),
45749
+ marginRight: theme.spacing(2)
45750
+ }, ownerState.variant === 'middle' && ownerState.orientation === 'vertical' && {
45751
+ marginTop: theme.spacing(1),
45752
+ marginBottom: theme.spacing(1)
45753
+ }, ownerState.orientation === 'vertical' && {
45754
+ height: '100%',
45755
+ borderBottomWidth: 0,
45756
+ borderRightWidth: 'thin'
45757
+ }, ownerState.flexItem && {
45758
+ alignSelf: 'stretch',
45759
+ height: 'auto'
45760
+ }), ({
45761
+ theme,
45762
+ ownerState
45763
+ }) => _extends({}, ownerState.children && {
45764
+ display: 'flex',
45765
+ whiteSpace: 'nowrap',
45766
+ textAlign: 'center',
45767
+ border: 0,
45768
+ '&::before, &::after': {
45769
+ position: 'relative',
45770
+ width: '100%',
45771
+ borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,
45772
+ top: '50%',
45773
+ content: '""',
45774
+ transform: 'translateY(50%)'
45775
+ }
45776
+ }), ({
45777
+ theme,
45778
+ ownerState
45779
+ }) => _extends({}, ownerState.children && ownerState.orientation === 'vertical' && {
45780
+ flexDirection: 'column',
45781
+ '&::before, &::after': {
45782
+ height: '100%',
45783
+ top: '0%',
45784
+ left: '50%',
45785
+ borderTop: 0,
45786
+ borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,
45787
+ transform: 'translateX(0%)'
45788
+ }
45789
+ }), ({
45790
+ ownerState
45791
+ }) => _extends({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
45792
+ '&::before': {
45793
+ width: '90%'
45794
+ },
45795
+ '&::after': {
45796
+ width: '10%'
45797
+ }
45798
+ }, ownerState.textAlign === 'left' && ownerState.orientation !== 'vertical' && {
45799
+ '&::before': {
45800
+ width: '10%'
45801
+ },
45802
+ '&::after': {
45803
+ width: '90%'
45804
+ }
45805
+ }));
45806
+ const DividerWrapper = styled$1('span', {
45807
+ name: 'MuiDivider',
45808
+ slot: 'Wrapper',
45809
+ overridesResolver: (props, styles) => {
45810
+ const {
45811
+ ownerState
45812
+ } = props;
45813
+ return [styles.wrapper, ownerState.orientation === 'vertical' && styles.wrapperVertical];
45814
+ }
45815
+ })(({
45816
+ theme,
45817
+ ownerState
45818
+ }) => _extends({
45819
+ display: 'inline-block',
45820
+ paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
45821
+ paddingRight: `calc(${theme.spacing(1)} * 1.2)`
45822
+ }, ownerState.orientation === 'vertical' && {
45823
+ paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
45824
+ paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
45825
+ }));
45826
+ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
45827
+ const props = useThemeProps({
45828
+ props: inProps,
45829
+ name: 'MuiDivider'
45830
+ });
45831
+ const {
45832
+ absolute = false,
45833
+ children,
45834
+ className,
45835
+ component = children ? 'div' : 'hr',
45836
+ flexItem = false,
45837
+ light = false,
45838
+ orientation = 'horizontal',
45839
+ role = component !== 'hr' ? 'separator' : undefined,
45840
+ textAlign = 'center',
45841
+ variant = 'fullWidth'
45842
+ } = props,
45843
+ other = _objectWithoutPropertiesLoose(props, _excluded$n);
45844
+ const ownerState = _extends({}, props, {
45845
+ absolute,
45846
+ component,
45847
+ flexItem,
45848
+ light,
45849
+ orientation,
45850
+ role,
45851
+ textAlign,
45852
+ variant
45853
+ });
45854
+ const classes = useUtilityClasses$j(ownerState);
45855
+ return /*#__PURE__*/jsx(DividerRoot, _extends({
45856
+ as: component,
45857
+ className: clsx(classes.root, className),
45858
+ role: role,
45859
+ ref: ref,
45860
+ ownerState: ownerState
45861
+ }, other, {
45862
+ children: children ? /*#__PURE__*/jsx(DividerWrapper, {
45863
+ className: classes.wrapper,
45864
+ ownerState: ownerState,
45865
+ children: children
45866
+ }) : null
45867
+ }));
45868
+ });
45869
+ process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */ = {
45870
+ // ----------------------------- Warning --------------------------------
45871
+ // | These PropTypes are generated from the TypeScript type definitions |
45872
+ // | To update them edit the d.ts file and run "yarn proptypes" |
45873
+ // ----------------------------------------------------------------------
45874
+ /**
45875
+ * Absolutely position the element.
45876
+ * @default false
45877
+ */
45878
+ absolute: PropTypes.bool,
45879
+ /**
45880
+ * The content of the component.
45881
+ */
45882
+ children: PropTypes.node,
45883
+ /**
45884
+ * Override or extend the styles applied to the component.
45885
+ */
45886
+ classes: PropTypes.object,
45887
+ /**
45888
+ * @ignore
45889
+ */
45890
+ className: PropTypes.string,
45891
+ /**
45892
+ * The component used for the root node.
45893
+ * Either a string to use a HTML element or a component.
45894
+ */
45895
+ component: PropTypes.elementType,
45896
+ /**
45897
+ * If `true`, a vertical divider will have the correct height when used in flex container.
45898
+ * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)
45899
+ * @default false
45900
+ */
45901
+ flexItem: PropTypes.bool,
45902
+ /**
45903
+ * If `true`, the divider will have a lighter color.
45904
+ * @default false
45905
+ */
45906
+ light: PropTypes.bool,
45907
+ /**
45908
+ * The component orientation.
45909
+ * @default 'horizontal'
45910
+ */
45911
+ orientation: PropTypes.oneOf(['horizontal', 'vertical']),
45912
+ /**
45913
+ * @ignore
45914
+ */
45915
+ role: PropTypes /* @typescript-to-proptypes-ignore */.string,
45916
+ /**
45917
+ * The system prop that allows defining system overrides as well as additional CSS styles.
45918
+ */
45919
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
45920
+ /**
45921
+ * The text alignment.
45922
+ * @default 'center'
45923
+ */
45924
+ textAlign: PropTypes.oneOf(['center', 'left', 'right']),
45925
+ /**
45926
+ * The variant to use.
45927
+ * @default 'fullWidth'
45928
+ */
45929
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['fullWidth', 'inset', 'middle']), PropTypes.string])
45930
+ } : void 0;
45931
+ var Divider$1 = Divider;
45932
+
45933
+ const _excluded$m = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
45934
+ const useUtilityClasses$i = ownerState => {
45192
45935
  const {
45193
45936
  classes,
45194
45937
  disableUnderline
@@ -45371,14 +46114,14 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
45371
46114
  slots = {},
45372
46115
  type = 'text'
45373
46116
  } = props,
45374
- other = _objectWithoutPropertiesLoose(props, _excluded$i);
46117
+ other = _objectWithoutPropertiesLoose(props, _excluded$m);
45375
46118
  const ownerState = _extends({}, props, {
45376
46119
  fullWidth,
45377
46120
  inputComponent,
45378
46121
  multiline,
45379
46122
  type
45380
46123
  });
45381
- const classes = useUtilityClasses$f(props);
46124
+ const classes = useUtilityClasses$i(props);
45382
46125
  const filledInputComponentsProps = {
45383
46126
  root: {
45384
46127
  ownerState
@@ -45606,8 +46349,8 @@ function getFormControlUtilityClasses(slot) {
45606
46349
  }
45607
46350
  generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
45608
46351
 
45609
- const _excluded$h = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
45610
- const useUtilityClasses$e = ownerState => {
46352
+ const _excluded$l = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
46353
+ const useUtilityClasses$h = ownerState => {
45611
46354
  const {
45612
46355
  classes,
45613
46356
  margin,
@@ -45692,7 +46435,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
45692
46435
  size = 'medium',
45693
46436
  variant = 'outlined'
45694
46437
  } = props,
45695
- other = _objectWithoutPropertiesLoose(props, _excluded$h);
46438
+ other = _objectWithoutPropertiesLoose(props, _excluded$l);
45696
46439
  const ownerState = _extends({}, props, {
45697
46440
  color,
45698
46441
  component,
@@ -45705,7 +46448,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
45705
46448
  size,
45706
46449
  variant
45707
46450
  });
45708
- const classes = useUtilityClasses$e(ownerState);
46451
+ const classes = useUtilityClasses$h(ownerState);
45709
46452
  const [adornedStart, setAdornedStart] = React.useState(() => {
45710
46453
  // We need to iterate through the children and find the Input in order
45711
46454
  // to fully support server-side rendering.
@@ -45887,8 +46630,8 @@ function getFormControlLabelUtilityClasses(slot) {
45887
46630
  const formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error']);
45888
46631
  var formControlLabelClasses$1 = formControlLabelClasses;
45889
46632
 
45890
- const _excluded$g = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
45891
- const useUtilityClasses$d = ownerState => {
46633
+ const _excluded$k = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
46634
+ const useUtilityClasses$g = ownerState => {
45892
46635
  const {
45893
46636
  classes,
45894
46637
  disabled,
@@ -45967,7 +46710,7 @@ const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel
45967
46710
  labelPlacement = 'end',
45968
46711
  slotProps = {}
45969
46712
  } = props,
45970
- other = _objectWithoutPropertiesLoose(props, _excluded$g);
46713
+ other = _objectWithoutPropertiesLoose(props, _excluded$k);
45971
46714
  const muiFormControl = useFormControl();
45972
46715
  let disabled = disabledProp;
45973
46716
  if (typeof disabled === 'undefined' && typeof control.props.disabled !== 'undefined') {
@@ -45994,7 +46737,7 @@ const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel
45994
46737
  labelPlacement,
45995
46738
  error: fcs.error
45996
46739
  });
45997
- const classes = useUtilityClasses$d(ownerState);
46740
+ const classes = useUtilityClasses$g(ownerState);
45998
46741
  const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
45999
46742
  let label = labelProp;
46000
46743
  if (label != null && label.type !== Typography$1 && !disableTypography) {
@@ -46098,8 +46841,8 @@ const formHelperTextClasses = generateUtilityClasses('MuiFormHelperText', ['root
46098
46841
  var formHelperTextClasses$1 = formHelperTextClasses;
46099
46842
 
46100
46843
  var _span$2;
46101
- const _excluded$f = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
46102
- const useUtilityClasses$c = ownerState => {
46844
+ const _excluded$j = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
46845
+ const useUtilityClasses$f = ownerState => {
46103
46846
  const {
46104
46847
  classes,
46105
46848
  contained,
@@ -46157,7 +46900,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
46157
46900
  className,
46158
46901
  component = 'p'
46159
46902
  } = props,
46160
- other = _objectWithoutPropertiesLoose(props, _excluded$f);
46903
+ other = _objectWithoutPropertiesLoose(props, _excluded$j);
46161
46904
  const muiFormControl = useFormControl();
46162
46905
  const fcs = formControlState({
46163
46906
  props,
@@ -46175,7 +46918,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
46175
46918
  focused: fcs.focused,
46176
46919
  required: fcs.required
46177
46920
  });
46178
- const classes = useUtilityClasses$c(ownerState);
46921
+ const classes = useUtilityClasses$f(ownerState);
46179
46922
  return /*#__PURE__*/jsx(FormHelperTextRoot, _extends({
46180
46923
  as: component,
46181
46924
  ownerState: ownerState,
@@ -46255,8 +46998,8 @@ function getFormLabelUtilityClasses(slot) {
46255
46998
  const formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
46256
46999
  var formLabelClasses$1 = formLabelClasses;
46257
47000
 
46258
- const _excluded$e = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
46259
- const useUtilityClasses$b = ownerState => {
47001
+ const _excluded$i = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
47002
+ const useUtilityClasses$e = ownerState => {
46260
47003
  const {
46261
47004
  classes,
46262
47005
  color,
@@ -46320,7 +47063,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
46320
47063
  className,
46321
47064
  component = 'label'
46322
47065
  } = props,
46323
- other = _objectWithoutPropertiesLoose(props, _excluded$e);
47066
+ other = _objectWithoutPropertiesLoose(props, _excluded$i);
46324
47067
  const muiFormControl = useFormControl();
46325
47068
  const fcs = formControlState({
46326
47069
  props,
@@ -46336,7 +47079,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
46336
47079
  focused: fcs.focused,
46337
47080
  required: fcs.required
46338
47081
  });
46339
- const classes = useUtilityClasses$b(ownerState);
47082
+ const classes = useUtilityClasses$e(ownerState);
46340
47083
  return /*#__PURE__*/jsxs(FormLabelRoot, _extends({
46341
47084
  as: component,
46342
47085
  ownerState: ownerState,
@@ -46406,7 +47149,7 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes /* remove-proptypes
46406
47149
  } : void 0;
46407
47150
  var FormLabel$1 = FormLabel;
46408
47151
 
46409
- const _excluded$d = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
47152
+ const _excluded$h = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
46410
47153
  function getScale(value) {
46411
47154
  return `scale(${value}, ${value ** 2})`;
46412
47155
  }
@@ -46450,7 +47193,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
46450
47193
  // eslint-disable-next-line react/prop-types
46451
47194
  TransitionComponent = Transition$1
46452
47195
  } = props,
46453
- other = _objectWithoutPropertiesLoose(props, _excluded$d);
47196
+ other = _objectWithoutPropertiesLoose(props, _excluded$h);
46454
47197
  const timer = React.useRef();
46455
47198
  const autoTimeout = React.useRef();
46456
47199
  const theme = useTheme();
@@ -46654,8 +47397,8 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
46654
47397
  Grow.muiSupportAuto = true;
46655
47398
  var Grow$1 = Grow;
46656
47399
 
46657
- const _excluded$c = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
46658
- const useUtilityClasses$a = ownerState => {
47400
+ const _excluded$g = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
47401
+ const useUtilityClasses$d = ownerState => {
46659
47402
  const {
46660
47403
  classes,
46661
47404
  disableUnderline
@@ -46767,8 +47510,8 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
46767
47510
  slots = {},
46768
47511
  type = 'text'
46769
47512
  } = props,
46770
- other = _objectWithoutPropertiesLoose(props, _excluded$c);
46771
- const classes = useUtilityClasses$a(props);
47513
+ other = _objectWithoutPropertiesLoose(props, _excluded$g);
47514
+ const classes = useUtilityClasses$d(props);
46772
47515
  const ownerState = {
46773
47516
  disableUnderline
46774
47517
  };
@@ -46989,8 +47732,8 @@ function getInputLabelUtilityClasses(slot) {
46989
47732
  }
46990
47733
  generateUtilityClasses('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
46991
47734
 
46992
- const _excluded$b = ["disableAnimation", "margin", "shrink", "variant", "className"];
46993
- const useUtilityClasses$9 = ownerState => {
47735
+ const _excluded$f = ["disableAnimation", "margin", "shrink", "variant", "className"];
47736
+ const useUtilityClasses$c = ownerState => {
46994
47737
  const {
46995
47738
  classes,
46996
47739
  formControl,
@@ -47089,7 +47832,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
47089
47832
  shrink: shrinkProp,
47090
47833
  className
47091
47834
  } = props,
47092
- other = _objectWithoutPropertiesLoose(props, _excluded$b);
47835
+ other = _objectWithoutPropertiesLoose(props, _excluded$f);
47093
47836
  const muiFormControl = useFormControl();
47094
47837
  let shrink = shrinkProp;
47095
47838
  if (typeof shrink === 'undefined' && muiFormControl) {
@@ -47108,7 +47851,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
47108
47851
  variant: fcs.variant,
47109
47852
  required: fcs.required
47110
47853
  });
47111
- const classes = useUtilityClasses$9(ownerState);
47854
+ const classes = useUtilityClasses$c(ownerState);
47112
47855
  return /*#__PURE__*/jsx(InputLabelRoot, _extends({
47113
47856
  "data-shrink": shrink,
47114
47857
  ownerState: ownerState,
@@ -47217,8 +47960,8 @@ const getTextDecoration = ({
47217
47960
  };
47218
47961
  var getTextDecoration$1 = getTextDecoration;
47219
47962
 
47220
- const _excluded$a = ["className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant", "sx"];
47221
- const useUtilityClasses$8 = ownerState => {
47963
+ const _excluded$e = ["className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant", "sx"];
47964
+ const useUtilityClasses$b = ownerState => {
47222
47965
  const {
47223
47966
  classes,
47224
47967
  component,
@@ -47306,7 +48049,7 @@ const Link$1 = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {
47306
48049
  variant = 'inherit',
47307
48050
  sx
47308
48051
  } = props,
47309
- other = _objectWithoutPropertiesLoose(props, _excluded$a);
48052
+ other = _objectWithoutPropertiesLoose(props, _excluded$e);
47310
48053
  const {
47311
48054
  isFocusVisibleRef,
47312
48055
  onBlur: handleBlurVisible,
@@ -47340,7 +48083,7 @@ const Link$1 = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {
47340
48083
  underline,
47341
48084
  variant
47342
48085
  });
47343
- const classes = useUtilityClasses$8(ownerState);
48086
+ const classes = useUtilityClasses$b(ownerState);
47344
48087
  return /*#__PURE__*/jsx(LinkRoot, _extends({
47345
48088
  color: color,
47346
48089
  className: clsx(classes.root, className),
@@ -47426,8 +48169,8 @@ function getListUtilityClass(slot) {
47426
48169
  }
47427
48170
  generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);
47428
48171
 
47429
- const _excluded$9 = ["children", "className", "component", "dense", "disablePadding", "subheader"];
47430
- const useUtilityClasses$7 = ownerState => {
48172
+ const _excluded$d = ["children", "className", "component", "dense", "disablePadding", "subheader"];
48173
+ const useUtilityClasses$a = ownerState => {
47431
48174
  const {
47432
48175
  classes,
47433
48176
  disablePadding,
@@ -47474,7 +48217,7 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
47474
48217
  disablePadding = false,
47475
48218
  subheader
47476
48219
  } = props,
47477
- other = _objectWithoutPropertiesLoose(props, _excluded$9);
48220
+ other = _objectWithoutPropertiesLoose(props, _excluded$d);
47478
48221
  const context = React.useMemo(() => ({
47479
48222
  dense
47480
48223
  }), [dense]);
@@ -47483,7 +48226,7 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
47483
48226
  dense,
47484
48227
  disablePadding
47485
48228
  });
47486
- const classes = useUtilityClasses$7(ownerState);
48229
+ const classes = useUtilityClasses$a(ownerState);
47487
48230
  return /*#__PURE__*/jsx(ListContext$1.Provider, {
47488
48231
  value: context,
47489
48232
  children: /*#__PURE__*/jsxs(ListRoot, _extends({
@@ -47541,7 +48284,13 @@ process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ =
47541
48284
  } : void 0;
47542
48285
  var List$1 = List;
47543
48286
 
47544
- const _excluded$8 = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
48287
+ const listItemIconClasses = generateUtilityClasses('MuiListItemIcon', ['root', 'alignItemsFlexStart']);
48288
+ var listItemIconClasses$1 = listItemIconClasses;
48289
+
48290
+ const listItemTextClasses = generateUtilityClasses('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);
48291
+ var listItemTextClasses$1 = listItemTextClasses;
48292
+
48293
+ const _excluded$c = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
47545
48294
  function nextItem(list, item, disableListWrap) {
47546
48295
  if (list === item) {
47547
48296
  return list.firstChild;
@@ -47623,7 +48372,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
47623
48372
  onKeyDown,
47624
48373
  variant = 'selectedMenu'
47625
48374
  } = props,
47626
- other = _objectWithoutPropertiesLoose(props, _excluded$8);
48375
+ other = _objectWithoutPropertiesLoose(props, _excluded$c);
47627
48376
  const listRef = React.useRef(null);
47628
48377
  const textCriteriaRef = React.useRef({
47629
48378
  keys: [],
@@ -47802,7 +48551,7 @@ function getPopoverUtilityClass(slot) {
47802
48551
  }
47803
48552
  generateUtilityClasses('MuiPopover', ['root', 'paper']);
47804
48553
 
47805
- const _excluded$7 = ["onEntering"],
48554
+ const _excluded$b = ["onEntering"],
47806
48555
  _excluded2$1 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
47807
48556
  function getOffsetTop(rect, vertical) {
47808
48557
  let offset = 0;
@@ -47832,7 +48581,7 @@ function getTransformOriginValue(transformOrigin) {
47832
48581
  function resolveAnchorEl(anchorEl) {
47833
48582
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
47834
48583
  }
47835
- const useUtilityClasses$6 = ownerState => {
48584
+ const useUtilityClasses$9 = ownerState => {
47836
48585
  const {
47837
48586
  classes
47838
48587
  } = ownerState;
@@ -47895,7 +48644,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
47895
48644
  onEntering
47896
48645
  } = {}
47897
48646
  } = props,
47898
- TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$7),
48647
+ TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$b),
47899
48648
  other = _objectWithoutPropertiesLoose(props, _excluded2$1);
47900
48649
  const paperRef = React.useRef();
47901
48650
  const handlePaperRef = useForkRef(paperRef, PaperProps.ref);
@@ -47910,7 +48659,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
47910
48659
  transitionDuration: transitionDurationProp,
47911
48660
  TransitionProps
47912
48661
  });
47913
- const classes = useUtilityClasses$6(ownerState);
48662
+ const classes = useUtilityClasses$9(ownerState);
47914
48663
 
47915
48664
  // Returns the top/left offset of the position
47916
48665
  // to attach to on the anchor element (or body if none is provided)
@@ -48256,7 +49005,7 @@ function getMenuUtilityClass(slot) {
48256
49005
  }
48257
49006
  generateUtilityClasses('MuiMenu', ['root', 'paper', 'list']);
48258
49007
 
48259
- const _excluded$6 = ["onEntering"],
49008
+ const _excluded$a = ["onEntering"],
48260
49009
  _excluded2 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
48261
49010
  const RTL_ORIGIN = {
48262
49011
  vertical: 'top',
@@ -48266,7 +49015,7 @@ const LTR_ORIGIN = {
48266
49015
  vertical: 'top',
48267
49016
  horizontal: 'left'
48268
49017
  };
48269
- const useUtilityClasses$5 = ownerState => {
49018
+ const useUtilityClasses$8 = ownerState => {
48270
49019
  const {
48271
49020
  classes
48272
49021
  } = ownerState;
@@ -48323,7 +49072,7 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
48323
49072
  } = {},
48324
49073
  variant = 'selectedMenu'
48325
49074
  } = props,
48326
- TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$6),
49075
+ TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$a),
48327
49076
  other = _objectWithoutPropertiesLoose(props, _excluded2);
48328
49077
  const theme = useTheme();
48329
49078
  const isRtl = theme.direction === 'rtl';
@@ -48337,7 +49086,7 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
48337
49086
  TransitionProps,
48338
49087
  variant
48339
49088
  });
48340
- const classes = useUtilityClasses$5(ownerState);
49089
+ const classes = useUtilityClasses$8(ownerState);
48341
49090
  const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
48342
49091
  const menuListActionsRef = React.useRef(null);
48343
49092
  const handleEntering = (element, isAppearing) => {
@@ -48504,14 +49253,260 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes /* remove-proptypes */ =
48504
49253
  } : void 0;
48505
49254
  var Menu$1 = Menu;
48506
49255
 
49256
+ function getMenuItemUtilityClass(slot) {
49257
+ return generateUtilityClass('MuiMenuItem', slot);
49258
+ }
49259
+ const menuItemClasses = generateUtilityClasses('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);
49260
+ var menuItemClasses$1 = menuItemClasses;
49261
+
49262
+ const _excluded$9 = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
49263
+ const overridesResolver$1 = (props, styles) => {
49264
+ const {
49265
+ ownerState
49266
+ } = props;
49267
+ return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
49268
+ };
49269
+ const useUtilityClasses$7 = ownerState => {
49270
+ const {
49271
+ disabled,
49272
+ dense,
49273
+ divider,
49274
+ disableGutters,
49275
+ selected,
49276
+ classes
49277
+ } = ownerState;
49278
+ const slots = {
49279
+ root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']
49280
+ };
49281
+ const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);
49282
+ return _extends({}, classes, composedClasses);
49283
+ };
49284
+ const MenuItemRoot = styled$1(ButtonBase$1, {
49285
+ shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
49286
+ name: 'MuiMenuItem',
49287
+ slot: 'Root',
49288
+ overridesResolver: overridesResolver$1
49289
+ })(({
49290
+ theme,
49291
+ ownerState
49292
+ }) => _extends({}, theme.typography.body1, {
49293
+ display: 'flex',
49294
+ justifyContent: 'flex-start',
49295
+ alignItems: 'center',
49296
+ position: 'relative',
49297
+ textDecoration: 'none',
49298
+ minHeight: 48,
49299
+ paddingTop: 6,
49300
+ paddingBottom: 6,
49301
+ boxSizing: 'border-box',
49302
+ whiteSpace: 'nowrap'
49303
+ }, !ownerState.disableGutters && {
49304
+ paddingLeft: 16,
49305
+ paddingRight: 16
49306
+ }, ownerState.divider && {
49307
+ borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
49308
+ backgroundClip: 'padding-box'
49309
+ }, {
49310
+ '&:hover': {
49311
+ textDecoration: 'none',
49312
+ backgroundColor: (theme.vars || theme).palette.action.hover,
49313
+ // Reset on touch devices, it doesn't add specificity
49314
+ '@media (hover: none)': {
49315
+ backgroundColor: 'transparent'
49316
+ }
49317
+ },
49318
+ [`&.${menuItemClasses$1.selected}`]: {
49319
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
49320
+ [`&.${menuItemClasses$1.focusVisible}`]: {
49321
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
49322
+ }
49323
+ },
49324
+ [`&.${menuItemClasses$1.selected}:hover`]: {
49325
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
49326
+ // Reset on touch devices, it doesn't add specificity
49327
+ '@media (hover: none)': {
49328
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
49329
+ }
49330
+ },
49331
+ [`&.${menuItemClasses$1.focusVisible}`]: {
49332
+ backgroundColor: (theme.vars || theme).palette.action.focus
49333
+ },
49334
+ [`&.${menuItemClasses$1.disabled}`]: {
49335
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
49336
+ },
49337
+ [`& + .${dividerClasses$1.root}`]: {
49338
+ marginTop: theme.spacing(1),
49339
+ marginBottom: theme.spacing(1)
49340
+ },
49341
+ [`& + .${dividerClasses$1.inset}`]: {
49342
+ marginLeft: 52
49343
+ },
49344
+ [`& .${listItemTextClasses$1.root}`]: {
49345
+ marginTop: 0,
49346
+ marginBottom: 0
49347
+ },
49348
+ [`& .${listItemTextClasses$1.inset}`]: {
49349
+ paddingLeft: 36
49350
+ },
49351
+ [`& .${listItemIconClasses$1.root}`]: {
49352
+ minWidth: 36
49353
+ }
49354
+ }, !ownerState.dense && {
49355
+ [theme.breakpoints.up('sm')]: {
49356
+ minHeight: 'auto'
49357
+ }
49358
+ }, ownerState.dense && _extends({
49359
+ minHeight: 32,
49360
+ // https://m2.material.io/components/menus#specs > Dense
49361
+ paddingTop: 4,
49362
+ paddingBottom: 4
49363
+ }, theme.typography.body2, {
49364
+ [`& .${listItemIconClasses$1.root} svg`]: {
49365
+ fontSize: '1.25rem'
49366
+ }
49367
+ })));
49368
+ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
49369
+ const props = useThemeProps({
49370
+ props: inProps,
49371
+ name: 'MuiMenuItem'
49372
+ });
49373
+ const {
49374
+ autoFocus = false,
49375
+ component = 'li',
49376
+ dense = false,
49377
+ divider = false,
49378
+ disableGutters = false,
49379
+ focusVisibleClassName,
49380
+ role = 'menuitem',
49381
+ tabIndex: tabIndexProp,
49382
+ className
49383
+ } = props,
49384
+ other = _objectWithoutPropertiesLoose(props, _excluded$9);
49385
+ const context = React.useContext(ListContext$1);
49386
+ const childContext = React.useMemo(() => ({
49387
+ dense: dense || context.dense || false,
49388
+ disableGutters
49389
+ }), [context.dense, dense, disableGutters]);
49390
+ const menuItemRef = React.useRef(null);
49391
+ useEnhancedEffect$1(() => {
49392
+ if (autoFocus) {
49393
+ if (menuItemRef.current) {
49394
+ menuItemRef.current.focus();
49395
+ } else if (process.env.NODE_ENV !== 'production') {
49396
+ console.error('MUI: Unable to set focus to a MenuItem whose component has not been rendered.');
49397
+ }
49398
+ }
49399
+ }, [autoFocus]);
49400
+ const ownerState = _extends({}, props, {
49401
+ dense: childContext.dense,
49402
+ divider,
49403
+ disableGutters
49404
+ });
49405
+ const classes = useUtilityClasses$7(props);
49406
+ const handleRef = useForkRef(menuItemRef, ref);
49407
+ let tabIndex;
49408
+ if (!props.disabled) {
49409
+ tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;
49410
+ }
49411
+ return /*#__PURE__*/jsx(ListContext$1.Provider, {
49412
+ value: childContext,
49413
+ children: /*#__PURE__*/jsx(MenuItemRoot, _extends({
49414
+ ref: handleRef,
49415
+ role: role,
49416
+ tabIndex: tabIndex,
49417
+ component: component,
49418
+ focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
49419
+ className: clsx(classes.root, className)
49420
+ }, other, {
49421
+ ownerState: ownerState,
49422
+ classes: classes
49423
+ }))
49424
+ });
49425
+ });
49426
+ process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes */ = {
49427
+ // ----------------------------- Warning --------------------------------
49428
+ // | These PropTypes are generated from the TypeScript type definitions |
49429
+ // | To update them edit the d.ts file and run "yarn proptypes" |
49430
+ // ----------------------------------------------------------------------
49431
+ /**
49432
+ * If `true`, the list item is focused during the first mount.
49433
+ * Focus will also be triggered if the value changes from false to true.
49434
+ * @default false
49435
+ */
49436
+ autoFocus: PropTypes.bool,
49437
+ /**
49438
+ * The content of the component.
49439
+ */
49440
+ children: PropTypes.node,
49441
+ /**
49442
+ * Override or extend the styles applied to the component.
49443
+ */
49444
+ classes: PropTypes.object,
49445
+ /**
49446
+ * @ignore
49447
+ */
49448
+ className: PropTypes.string,
49449
+ /**
49450
+ * The component used for the root node.
49451
+ * Either a string to use a HTML element or a component.
49452
+ */
49453
+ component: PropTypes.elementType,
49454
+ /**
49455
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used.
49456
+ * The prop defaults to the value inherited from the parent Menu component.
49457
+ * @default false
49458
+ */
49459
+ dense: PropTypes.bool,
49460
+ /**
49461
+ * @ignore
49462
+ */
49463
+ disabled: PropTypes.bool,
49464
+ /**
49465
+ * If `true`, the left and right padding is removed.
49466
+ * @default false
49467
+ */
49468
+ disableGutters: PropTypes.bool,
49469
+ /**
49470
+ * If `true`, a 1px light border is added to the bottom of the menu item.
49471
+ * @default false
49472
+ */
49473
+ divider: PropTypes.bool,
49474
+ /**
49475
+ * This prop can help identify which element has keyboard focus.
49476
+ * The class name will be applied when the element gains the focus through keyboard interaction.
49477
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
49478
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
49479
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
49480
+ * if needed.
49481
+ */
49482
+ focusVisibleClassName: PropTypes.string,
49483
+ /**
49484
+ * @ignore
49485
+ */
49486
+ role: PropTypes /* @typescript-to-proptypes-ignore */.string,
49487
+ /**
49488
+ * @ignore
49489
+ */
49490
+ selected: PropTypes.bool,
49491
+ /**
49492
+ * The system prop that allows defining system overrides as well as additional CSS styles.
49493
+ */
49494
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
49495
+ /**
49496
+ * @default 0
49497
+ */
49498
+ tabIndex: PropTypes.number
49499
+ } : void 0;
49500
+ var MenuItem$1 = MenuItem;
49501
+
48507
49502
  function getNativeSelectUtilityClasses(slot) {
48508
49503
  return generateUtilityClass('MuiNativeSelect', slot);
48509
49504
  }
48510
49505
  const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
48511
49506
  var nativeSelectClasses$1 = nativeSelectClasses;
48512
49507
 
48513
- const _excluded$5 = ["className", "disabled", "IconComponent", "inputRef", "variant"];
48514
- const useUtilityClasses$4 = ownerState => {
49508
+ const _excluded$8 = ["className", "disabled", "IconComponent", "inputRef", "variant"];
49509
+ const useUtilityClasses$6 = ownerState => {
48515
49510
  const {
48516
49511
  classes,
48517
49512
  variant,
@@ -48637,12 +49632,12 @@ const NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInp
48637
49632
  inputRef,
48638
49633
  variant = 'standard'
48639
49634
  } = props,
48640
- other = _objectWithoutPropertiesLoose(props, _excluded$5);
49635
+ other = _objectWithoutPropertiesLoose(props, _excluded$8);
48641
49636
  const ownerState = _extends({}, props, {
48642
49637
  disabled,
48643
49638
  variant
48644
49639
  });
48645
- const classes = useUtilityClasses$4(ownerState);
49640
+ const classes = useUtilityClasses$6(ownerState);
48646
49641
  return /*#__PURE__*/jsxs(React.Fragment, {
48647
49642
  children: [/*#__PURE__*/jsx(NativeSelectSelect, _extends({
48648
49643
  ownerState: ownerState,
@@ -48711,7 +49706,7 @@ process.env.NODE_ENV !== "production" ? NativeSelectInput.propTypes = {
48711
49706
  var NativeSelectInput$1 = NativeSelectInput;
48712
49707
 
48713
49708
  var _span$1;
48714
- const _excluded$4 = ["children", "classes", "className", "label", "notched"];
49709
+ const _excluded$7 = ["children", "classes", "className", "label", "notched"];
48715
49710
  const NotchedOutlineRoot$1 = styled$1('fieldset')({
48716
49711
  textAlign: 'left',
48717
49712
  position: 'absolute',
@@ -48784,7 +49779,7 @@ function NotchedOutline(props) {
48784
49779
  label,
48785
49780
  notched
48786
49781
  } = props,
48787
- other = _objectWithoutPropertiesLoose(props, _excluded$4);
49782
+ other = _objectWithoutPropertiesLoose(props, _excluded$7);
48788
49783
  const withLabel = label != null && label !== '';
48789
49784
  const ownerState = _extends({}, props, {
48790
49785
  notched,
@@ -48835,8 +49830,8 @@ process.env.NODE_ENV !== "production" ? NotchedOutline.propTypes = {
48835
49830
  style: PropTypes.object
48836
49831
  } : void 0;
48837
49832
 
48838
- const _excluded$3 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
48839
- const useUtilityClasses$3 = ownerState => {
49833
+ const _excluded$6 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
49834
+ const useUtilityClasses$5 = ownerState => {
48840
49835
  const {
48841
49836
  classes
48842
49837
  } = ownerState;
@@ -48954,8 +49949,8 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
48954
49949
  slots = {},
48955
49950
  type = 'text'
48956
49951
  } = props,
48957
- other = _objectWithoutPropertiesLoose(props, _excluded$3);
48958
- const classes = useUtilityClasses$3(props);
49952
+ other = _objectWithoutPropertiesLoose(props, _excluded$6);
49953
+ const classes = useUtilityClasses$5(props);
48959
49954
  const muiFormControl = useFormControl();
48960
49955
  const fcs = formControlState({
48961
49956
  props,
@@ -49169,6 +50164,716 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
49169
50164
  OutlinedInput.muiName = 'Input';
49170
50165
  var OutlinedInput$1 = OutlinedInput;
49171
50166
 
50167
+ function getPaginationUtilityClass(slot) {
50168
+ return generateUtilityClass('MuiPagination', slot);
50169
+ }
50170
+ generateUtilityClasses('MuiPagination', ['root', 'ul', 'outlined', 'text']);
50171
+
50172
+ const _excluded$5 = ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"];
50173
+ function usePagination(props = {}) {
50174
+ // keep default values in sync with @default tags in Pagination.propTypes
50175
+ const {
50176
+ boundaryCount = 1,
50177
+ componentName = 'usePagination',
50178
+ count = 1,
50179
+ defaultPage = 1,
50180
+ disabled = false,
50181
+ hideNextButton = false,
50182
+ hidePrevButton = false,
50183
+ onChange: handleChange,
50184
+ page: pageProp,
50185
+ showFirstButton = false,
50186
+ showLastButton = false,
50187
+ siblingCount = 1
50188
+ } = props,
50189
+ other = _objectWithoutPropertiesLoose(props, _excluded$5);
50190
+ const [page, setPageState] = useControlled({
50191
+ controlled: pageProp,
50192
+ default: defaultPage,
50193
+ name: componentName,
50194
+ state: 'page'
50195
+ });
50196
+ const handleClick = (event, value) => {
50197
+ if (!pageProp) {
50198
+ setPageState(value);
50199
+ }
50200
+ if (handleChange) {
50201
+ handleChange(event, value);
50202
+ }
50203
+ };
50204
+
50205
+ // https://dev.to/namirsab/comment/2050
50206
+ const range = (start, end) => {
50207
+ const length = end - start + 1;
50208
+ return Array.from({
50209
+ length
50210
+ }, (_, i) => start + i);
50211
+ };
50212
+ const startPages = range(1, Math.min(boundaryCount, count));
50213
+ const endPages = range(Math.max(count - boundaryCount + 1, boundaryCount + 1), count);
50214
+ const siblingsStart = Math.max(Math.min(
50215
+ // Natural start
50216
+ page - siblingCount,
50217
+ // Lower boundary when page is high
50218
+ count - boundaryCount - siblingCount * 2 - 1),
50219
+ // Greater than startPages
50220
+ boundaryCount + 2);
50221
+ const siblingsEnd = Math.min(Math.max(
50222
+ // Natural end
50223
+ page + siblingCount,
50224
+ // Upper boundary when page is low
50225
+ boundaryCount + siblingCount * 2 + 2),
50226
+ // Less than endPages
50227
+ endPages.length > 0 ? endPages[0] - 2 : count - 1);
50228
+
50229
+ // Basic list of items to render
50230
+ // e.g. itemList = ['first', 'previous', 1, 'ellipsis', 4, 5, 6, 'ellipsis', 10, 'next', 'last']
50231
+ const itemList = [...(showFirstButton ? ['first'] : []), ...(hidePrevButton ? [] : ['previous']), ...startPages,
50232
+ // Start ellipsis
50233
+ // eslint-disable-next-line no-nested-ternary
50234
+ ...(siblingsStart > boundaryCount + 2 ? ['start-ellipsis'] : boundaryCount + 1 < count - boundaryCount ? [boundaryCount + 1] : []),
50235
+ // Sibling pages
50236
+ ...range(siblingsStart, siblingsEnd),
50237
+ // End ellipsis
50238
+ // eslint-disable-next-line no-nested-ternary
50239
+ ...(siblingsEnd < count - boundaryCount - 1 ? ['end-ellipsis'] : count - boundaryCount > boundaryCount ? [count - boundaryCount] : []), ...endPages, ...(hideNextButton ? [] : ['next']), ...(showLastButton ? ['last'] : [])];
50240
+
50241
+ // Map the button type to its page number
50242
+ const buttonPage = type => {
50243
+ switch (type) {
50244
+ case 'first':
50245
+ return 1;
50246
+ case 'previous':
50247
+ return page - 1;
50248
+ case 'next':
50249
+ return page + 1;
50250
+ case 'last':
50251
+ return count;
50252
+ default:
50253
+ return null;
50254
+ }
50255
+ };
50256
+
50257
+ // Convert the basic item list to PaginationItem props objects
50258
+ const items = itemList.map(item => {
50259
+ return typeof item === 'number' ? {
50260
+ onClick: event => {
50261
+ handleClick(event, item);
50262
+ },
50263
+ type: 'page',
50264
+ page: item,
50265
+ selected: item === page,
50266
+ disabled,
50267
+ 'aria-current': item === page ? 'true' : undefined
50268
+ } : {
50269
+ onClick: event => {
50270
+ handleClick(event, buttonPage(item));
50271
+ },
50272
+ type: item,
50273
+ page: buttonPage(item),
50274
+ selected: false,
50275
+ disabled: disabled || item.indexOf('ellipsis') === -1 && (item === 'next' || item === 'last' ? page >= count : page <= 1)
50276
+ };
50277
+ });
50278
+ return _extends({
50279
+ items
50280
+ }, other);
50281
+ }
50282
+
50283
+ function getPaginationItemUtilityClass(slot) {
50284
+ return generateUtilityClass('MuiPaginationItem', slot);
50285
+ }
50286
+ const paginationItemClasses = generateUtilityClasses('MuiPaginationItem', ['root', 'page', 'sizeSmall', 'sizeLarge', 'text', 'textPrimary', 'textSecondary', 'outlined', 'outlinedPrimary', 'outlinedSecondary', 'rounded', 'ellipsis', 'firstLast', 'previousNext', 'focusVisible', 'disabled', 'selected', 'icon']);
50287
+ var paginationItemClasses$1 = paginationItemClasses;
50288
+
50289
+ var FirstPageIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
50290
+ d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
50291
+ }), 'FirstPage');
50292
+
50293
+ var LastPageIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
50294
+ d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
50295
+ }), 'LastPage');
50296
+
50297
+ var NavigateBeforeIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
50298
+ d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
50299
+ }), 'NavigateBefore');
50300
+
50301
+ var NavigateNextIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
50302
+ d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
50303
+ }), 'NavigateNext');
50304
+
50305
+ const _excluded$4 = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "type", "variant"];
50306
+ const overridesResolver = (props, styles) => {
50307
+ const {
50308
+ ownerState
50309
+ } = props;
50310
+ return [styles.root, styles[ownerState.variant], styles[`size${capitalize(ownerState.size)}`], ownerState.variant === 'text' && styles[`text${capitalize(ownerState.color)}`], ownerState.variant === 'outlined' && styles[`outlined${capitalize(ownerState.color)}`], ownerState.shape === 'rounded' && styles.rounded, ownerState.type === 'page' && styles.page, (ownerState.type === 'start-ellipsis' || ownerState.type === 'end-ellipsis') && styles.ellipsis, (ownerState.type === 'previous' || ownerState.type === 'next') && styles.previousNext, (ownerState.type === 'first' || ownerState.type === 'last') && styles.firstLast];
50311
+ };
50312
+ const useUtilityClasses$4 = ownerState => {
50313
+ const {
50314
+ classes,
50315
+ color,
50316
+ disabled,
50317
+ selected,
50318
+ size,
50319
+ shape,
50320
+ type,
50321
+ variant
50322
+ } = ownerState;
50323
+ const slots = {
50324
+ root: ['root', `size${capitalize(size)}`, variant, shape, color !== 'standard' && `${variant}${capitalize(color)}`, disabled && 'disabled', selected && 'selected', {
50325
+ page: 'page',
50326
+ first: 'firstLast',
50327
+ last: 'firstLast',
50328
+ 'start-ellipsis': 'ellipsis',
50329
+ 'end-ellipsis': 'ellipsis',
50330
+ previous: 'previousNext',
50331
+ next: 'previousNext'
50332
+ }[type]],
50333
+ icon: ['icon']
50334
+ };
50335
+ return composeClasses(slots, getPaginationItemUtilityClass, classes);
50336
+ };
50337
+ const PaginationItemEllipsis = styled$1('div', {
50338
+ name: 'MuiPaginationItem',
50339
+ slot: 'Root',
50340
+ overridesResolver
50341
+ })(({
50342
+ theme,
50343
+ ownerState
50344
+ }) => _extends({}, theme.typography.body2, {
50345
+ borderRadius: 32 / 2,
50346
+ textAlign: 'center',
50347
+ boxSizing: 'border-box',
50348
+ minWidth: 32,
50349
+ padding: '0 6px',
50350
+ margin: '0 3px',
50351
+ color: (theme.vars || theme).palette.text.primary,
50352
+ height: 'auto',
50353
+ [`&.${paginationItemClasses$1.disabled}`]: {
50354
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
50355
+ }
50356
+ }, ownerState.size === 'small' && {
50357
+ minWidth: 26,
50358
+ borderRadius: 26 / 2,
50359
+ margin: '0 1px',
50360
+ padding: '0 4px'
50361
+ }, ownerState.size === 'large' && {
50362
+ minWidth: 40,
50363
+ borderRadius: 40 / 2,
50364
+ padding: '0 10px',
50365
+ fontSize: theme.typography.pxToRem(15)
50366
+ }));
50367
+ const PaginationItemPage = styled$1(ButtonBase$1, {
50368
+ name: 'MuiPaginationItem',
50369
+ slot: 'Root',
50370
+ overridesResolver
50371
+ })(({
50372
+ theme,
50373
+ ownerState
50374
+ }) => _extends({}, theme.typography.body2, {
50375
+ borderRadius: 32 / 2,
50376
+ textAlign: 'center',
50377
+ boxSizing: 'border-box',
50378
+ minWidth: 32,
50379
+ height: 32,
50380
+ padding: '0 6px',
50381
+ margin: '0 3px',
50382
+ color: (theme.vars || theme).palette.text.primary,
50383
+ [`&.${paginationItemClasses$1.focusVisible}`]: {
50384
+ backgroundColor: (theme.vars || theme).palette.action.focus
50385
+ },
50386
+ [`&.${paginationItemClasses$1.disabled}`]: {
50387
+ opacity: (theme.vars || theme).palette.action.disabledOpacity
50388
+ },
50389
+ transition: theme.transitions.create(['color', 'background-color'], {
50390
+ duration: theme.transitions.duration.short
50391
+ }),
50392
+ '&:hover': {
50393
+ backgroundColor: (theme.vars || theme).palette.action.hover,
50394
+ // Reset on touch devices, it doesn't add specificity
50395
+ '@media (hover: none)': {
50396
+ backgroundColor: 'transparent'
50397
+ }
50398
+ },
50399
+ [`&.${paginationItemClasses$1.selected}`]: {
50400
+ backgroundColor: (theme.vars || theme).palette.action.selected,
50401
+ '&:hover': {
50402
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selected} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
50403
+ // Reset on touch devices, it doesn't add specificity
50404
+ '@media (hover: none)': {
50405
+ backgroundColor: (theme.vars || theme).palette.action.selected
50406
+ }
50407
+ },
50408
+ [`&.${paginationItemClasses$1.focusVisible}`]: {
50409
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selected} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
50410
+ },
50411
+ [`&.${paginationItemClasses$1.disabled}`]: {
50412
+ opacity: 1,
50413
+ color: (theme.vars || theme).palette.action.disabled,
50414
+ backgroundColor: (theme.vars || theme).palette.action.selected
50415
+ }
50416
+ }
50417
+ }, ownerState.size === 'small' && {
50418
+ minWidth: 26,
50419
+ height: 26,
50420
+ borderRadius: 26 / 2,
50421
+ margin: '0 1px',
50422
+ padding: '0 4px'
50423
+ }, ownerState.size === 'large' && {
50424
+ minWidth: 40,
50425
+ height: 40,
50426
+ borderRadius: 40 / 2,
50427
+ padding: '0 10px',
50428
+ fontSize: theme.typography.pxToRem(15)
50429
+ }, ownerState.shape === 'rounded' && {
50430
+ borderRadius: (theme.vars || theme).shape.borderRadius
50431
+ }), ({
50432
+ theme,
50433
+ ownerState
50434
+ }) => _extends({}, ownerState.variant === 'text' && {
50435
+ [`&.${paginationItemClasses$1.selected}`]: _extends({}, ownerState.color !== 'standard' && {
50436
+ color: (theme.vars || theme).palette[ownerState.color].contrastText,
50437
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
50438
+ '&:hover': {
50439
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
50440
+ // Reset on touch devices, it doesn't add specificity
50441
+ '@media (hover: none)': {
50442
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].main
50443
+ }
50444
+ },
50445
+ [`&.${paginationItemClasses$1.focusVisible}`]: {
50446
+ backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
50447
+ }
50448
+ }, {
50449
+ [`&.${paginationItemClasses$1.disabled}`]: {
50450
+ color: (theme.vars || theme).palette.action.disabled
50451
+ }
50452
+ })
50453
+ }, ownerState.variant === 'outlined' && {
50454
+ border: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
50455
+ [`&.${paginationItemClasses$1.selected}`]: _extends({}, ownerState.color !== 'standard' && {
50456
+ color: (theme.vars || theme).palette[ownerState.color].main,
50457
+ border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)}`,
50458
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.activatedOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity),
50459
+ '&:hover': {
50460
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / calc(${theme.vars.palette.action.activatedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
50461
+ // Reset on touch devices, it doesn't add specificity
50462
+ '@media (hover: none)': {
50463
+ backgroundColor: 'transparent'
50464
+ }
50465
+ },
50466
+ [`&.${paginationItemClasses$1.focusVisible}`]: {
50467
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / calc(${theme.vars.palette.action.activatedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)
50468
+ }
50469
+ }, {
50470
+ [`&.${paginationItemClasses$1.disabled}`]: {
50471
+ borderColor: (theme.vars || theme).palette.action.disabledBackground,
50472
+ color: (theme.vars || theme).palette.action.disabled
50473
+ }
50474
+ })
50475
+ }));
50476
+ const PaginationItemPageIcon = styled$1('div', {
50477
+ name: 'MuiPaginationItem',
50478
+ slot: 'Icon',
50479
+ overridesResolver: (props, styles) => styles.icon
50480
+ })(({
50481
+ theme,
50482
+ ownerState
50483
+ }) => _extends({
50484
+ fontSize: theme.typography.pxToRem(20),
50485
+ margin: '0 -8px'
50486
+ }, ownerState.size === 'small' && {
50487
+ fontSize: theme.typography.pxToRem(18)
50488
+ }, ownerState.size === 'large' && {
50489
+ fontSize: theme.typography.pxToRem(22)
50490
+ }));
50491
+ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inProps, ref) {
50492
+ const props = useThemeProps({
50493
+ props: inProps,
50494
+ name: 'MuiPaginationItem'
50495
+ });
50496
+ const {
50497
+ className,
50498
+ color = 'standard',
50499
+ component,
50500
+ components = {},
50501
+ disabled = false,
50502
+ page,
50503
+ selected = false,
50504
+ shape = 'circular',
50505
+ size = 'medium',
50506
+ slots = {},
50507
+ type = 'page',
50508
+ variant = 'text'
50509
+ } = props,
50510
+ other = _objectWithoutPropertiesLoose(props, _excluded$4);
50511
+ const ownerState = _extends({}, props, {
50512
+ color,
50513
+ disabled,
50514
+ selected,
50515
+ shape,
50516
+ size,
50517
+ type,
50518
+ variant
50519
+ });
50520
+ const theme = useTheme();
50521
+ const classes = useUtilityClasses$4(ownerState);
50522
+ const normalizedIcons = theme.direction === 'rtl' ? {
50523
+ previous: slots.next || components.next || NavigateNextIcon,
50524
+ next: slots.previous || components.previous || NavigateBeforeIcon,
50525
+ last: slots.first || components.first || FirstPageIcon,
50526
+ first: slots.last || components.last || LastPageIcon
50527
+ } : {
50528
+ previous: slots.previous || components.previous || NavigateBeforeIcon,
50529
+ next: slots.next || components.next || NavigateNextIcon,
50530
+ first: slots.first || components.first || FirstPageIcon,
50531
+ last: slots.last || components.last || LastPageIcon
50532
+ };
50533
+ const Icon = normalizedIcons[type];
50534
+ return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsx(PaginationItemEllipsis, {
50535
+ ref: ref,
50536
+ ownerState: ownerState,
50537
+ className: clsx(classes.root, className),
50538
+ children: "\u2026"
50539
+ }) : /*#__PURE__*/jsxs(PaginationItemPage, _extends({
50540
+ ref: ref,
50541
+ ownerState: ownerState,
50542
+ component: component,
50543
+ disabled: disabled,
50544
+ className: clsx(classes.root, className)
50545
+ }, other, {
50546
+ children: [type === 'page' && page, Icon ? /*#__PURE__*/jsx(PaginationItemPageIcon, {
50547
+ as: Icon,
50548
+ ownerState: ownerState,
50549
+ className: classes.icon
50550
+ }) : null]
50551
+ }));
50552
+ });
50553
+ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-proptypes */ = {
50554
+ // ----------------------------- Warning --------------------------------
50555
+ // | These PropTypes are generated from the TypeScript type definitions |
50556
+ // | To update them edit the d.ts file and run "yarn proptypes" |
50557
+ // ----------------------------------------------------------------------
50558
+ /**
50559
+ * @ignore
50560
+ */
50561
+ children: PropTypes.node,
50562
+ /**
50563
+ * Override or extend the styles applied to the component.
50564
+ */
50565
+ classes: PropTypes.object,
50566
+ /**
50567
+ * @ignore
50568
+ */
50569
+ className: PropTypes.string,
50570
+ /**
50571
+ * The active color.
50572
+ * It supports both default and custom theme colors, which can be added as shown in the
50573
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
50574
+ * @default 'standard'
50575
+ */
50576
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
50577
+ /**
50578
+ * The component used for the root node.
50579
+ * Either a string to use a HTML element or a component.
50580
+ */
50581
+ component: PropTypes.elementType,
50582
+ /**
50583
+ * The components used for each slot inside.
50584
+ *
50585
+ * This prop is an alias for the `slots` prop.
50586
+ * It's recommended to use the `slots` prop instead.
50587
+ *
50588
+ * @default {}
50589
+ */
50590
+ components: PropTypes.shape({
50591
+ first: PropTypes.elementType,
50592
+ last: PropTypes.elementType,
50593
+ next: PropTypes.elementType,
50594
+ previous: PropTypes.elementType
50595
+ }),
50596
+ /**
50597
+ * If `true`, the component is disabled.
50598
+ * @default false
50599
+ */
50600
+ disabled: PropTypes.bool,
50601
+ /**
50602
+ * The current page number.
50603
+ */
50604
+ page: PropTypes.node,
50605
+ /**
50606
+ * If `true` the pagination item is selected.
50607
+ * @default false
50608
+ */
50609
+ selected: PropTypes.bool,
50610
+ /**
50611
+ * The shape of the pagination item.
50612
+ * @default 'circular'
50613
+ */
50614
+ shape: PropTypes.oneOf(['circular', 'rounded']),
50615
+ /**
50616
+ * The size of the component.
50617
+ * @default 'medium'
50618
+ */
50619
+ size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
50620
+ /**
50621
+ * The components used for each slot inside.
50622
+ *
50623
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
50624
+ *
50625
+ * @default {}
50626
+ */
50627
+ slots: PropTypes.shape({
50628
+ first: PropTypes.elementType,
50629
+ last: PropTypes.elementType,
50630
+ next: PropTypes.elementType,
50631
+ previous: PropTypes.elementType
50632
+ }),
50633
+ /**
50634
+ * The system prop that allows defining system overrides as well as additional CSS styles.
50635
+ */
50636
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
50637
+ /**
50638
+ * The type of pagination item.
50639
+ * @default 'page'
50640
+ */
50641
+ type: PropTypes.oneOf(['end-ellipsis', 'first', 'last', 'next', 'page', 'previous', 'start-ellipsis']),
50642
+ /**
50643
+ * The variant to use.
50644
+ * @default 'text'
50645
+ */
50646
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['outlined', 'text']), PropTypes.string])
50647
+ } : void 0;
50648
+ var PaginationItem$1 = PaginationItem;
50649
+
50650
+ const _excluded$3 = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"];
50651
+ const useUtilityClasses$3 = ownerState => {
50652
+ const {
50653
+ classes,
50654
+ variant
50655
+ } = ownerState;
50656
+ const slots = {
50657
+ root: ['root', variant],
50658
+ ul: ['ul']
50659
+ };
50660
+ return composeClasses(slots, getPaginationUtilityClass, classes);
50661
+ };
50662
+ const PaginationRoot = styled$1('nav', {
50663
+ name: 'MuiPagination',
50664
+ slot: 'Root',
50665
+ overridesResolver: (props, styles) => {
50666
+ const {
50667
+ ownerState
50668
+ } = props;
50669
+ return [styles.root, styles[ownerState.variant]];
50670
+ }
50671
+ })({});
50672
+ const PaginationUl = styled$1('ul', {
50673
+ name: 'MuiPagination',
50674
+ slot: 'Ul',
50675
+ overridesResolver: (props, styles) => styles.ul
50676
+ })({
50677
+ display: 'flex',
50678
+ flexWrap: 'wrap',
50679
+ alignItems: 'center',
50680
+ padding: 0,
50681
+ margin: 0,
50682
+ listStyle: 'none'
50683
+ });
50684
+ function defaultGetAriaLabel(type, page, selected) {
50685
+ if (type === 'page') {
50686
+ return `${selected ? '' : 'Go to '}page ${page}`;
50687
+ }
50688
+ return `Go to ${type} page`;
50689
+ }
50690
+ const Pagination$1 = /*#__PURE__*/React.forwardRef(function Pagination(inProps, ref) {
50691
+ const props = useThemeProps({
50692
+ props: inProps,
50693
+ name: 'MuiPagination'
50694
+ });
50695
+ const {
50696
+ boundaryCount = 1,
50697
+ className,
50698
+ color = 'standard',
50699
+ count = 1,
50700
+ defaultPage = 1,
50701
+ disabled = false,
50702
+ getItemAriaLabel = defaultGetAriaLabel,
50703
+ hideNextButton = false,
50704
+ hidePrevButton = false,
50705
+ renderItem = item => /*#__PURE__*/jsx(PaginationItem$1, _extends({}, item)),
50706
+ shape = 'circular',
50707
+ showFirstButton = false,
50708
+ showLastButton = false,
50709
+ siblingCount = 1,
50710
+ size = 'medium',
50711
+ variant = 'text'
50712
+ } = props,
50713
+ other = _objectWithoutPropertiesLoose(props, _excluded$3);
50714
+ const {
50715
+ items
50716
+ } = usePagination(_extends({}, props, {
50717
+ componentName: 'Pagination'
50718
+ }));
50719
+ const ownerState = _extends({}, props, {
50720
+ boundaryCount,
50721
+ color,
50722
+ count,
50723
+ defaultPage,
50724
+ disabled,
50725
+ getItemAriaLabel,
50726
+ hideNextButton,
50727
+ hidePrevButton,
50728
+ renderItem,
50729
+ shape,
50730
+ showFirstButton,
50731
+ showLastButton,
50732
+ siblingCount,
50733
+ size,
50734
+ variant
50735
+ });
50736
+ const classes = useUtilityClasses$3(ownerState);
50737
+ return /*#__PURE__*/jsx(PaginationRoot, _extends({
50738
+ "aria-label": "pagination navigation",
50739
+ className: clsx(classes.root, className),
50740
+ ownerState: ownerState,
50741
+ ref: ref
50742
+ }, other, {
50743
+ children: /*#__PURE__*/jsx(PaginationUl, {
50744
+ className: classes.ul,
50745
+ ownerState: ownerState,
50746
+ children: items.map((item, index) => /*#__PURE__*/jsx("li", {
50747
+ children: renderItem(_extends({}, item, {
50748
+ color,
50749
+ 'aria-label': getItemAriaLabel(item.type, item.page, item.selected),
50750
+ shape,
50751
+ size,
50752
+ variant
50753
+ }))
50754
+ }, index))
50755
+ })
50756
+ }));
50757
+ });
50758
+
50759
+ // @default tags synced with default values from usePagination
50760
+
50761
+ process.env.NODE_ENV !== "production" ? Pagination$1.propTypes /* remove-proptypes */ = {
50762
+ // ----------------------------- Warning --------------------------------
50763
+ // | These PropTypes are generated from the TypeScript type definitions |
50764
+ // | To update them edit the d.ts file and run "yarn proptypes" |
50765
+ // ----------------------------------------------------------------------
50766
+ /**
50767
+ * Number of always visible pages at the beginning and end.
50768
+ * @default 1
50769
+ */
50770
+ boundaryCount: integerPropType,
50771
+ /**
50772
+ * Override or extend the styles applied to the component.
50773
+ */
50774
+ classes: PropTypes.object,
50775
+ /**
50776
+ * @ignore
50777
+ */
50778
+ className: PropTypes.string,
50779
+ /**
50780
+ * The active color.
50781
+ * It supports both default and custom theme colors, which can be added as shown in the
50782
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
50783
+ * @default 'standard'
50784
+ */
50785
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
50786
+ /**
50787
+ * The total number of pages.
50788
+ * @default 1
50789
+ */
50790
+ count: integerPropType,
50791
+ /**
50792
+ * The page selected by default when the component is uncontrolled.
50793
+ * @default 1
50794
+ */
50795
+ defaultPage: integerPropType,
50796
+ /**
50797
+ * If `true`, the component is disabled.
50798
+ * @default false
50799
+ */
50800
+ disabled: PropTypes.bool,
50801
+ /**
50802
+ * Accepts a function which returns a string value that provides a user-friendly name for the current page.
50803
+ * This is important for screen reader users.
50804
+ *
50805
+ * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
50806
+ * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous'). Defaults to 'page'.
50807
+ * @param {number} page The page number to format.
50808
+ * @param {bool} selected If true, the current page is selected.
50809
+ * @returns {string}
50810
+ */
50811
+ getItemAriaLabel: PropTypes.func,
50812
+ /**
50813
+ * If `true`, hide the next-page button.
50814
+ * @default false
50815
+ */
50816
+ hideNextButton: PropTypes.bool,
50817
+ /**
50818
+ * If `true`, hide the previous-page button.
50819
+ * @default false
50820
+ */
50821
+ hidePrevButton: PropTypes.bool,
50822
+ /**
50823
+ * Callback fired when the page is changed.
50824
+ *
50825
+ * @param {React.ChangeEvent<unknown>} event The event source of the callback.
50826
+ * @param {number} page The page selected.
50827
+ */
50828
+ onChange: PropTypes.func,
50829
+ /**
50830
+ * The current page.
50831
+ */
50832
+ page: integerPropType,
50833
+ /**
50834
+ * Render the item.
50835
+ * @param {PaginationRenderItemParams} params The props to spread on a PaginationItem.
50836
+ * @returns {ReactNode}
50837
+ * @default (item) => <PaginationItem {...item} />
50838
+ */
50839
+ renderItem: PropTypes.func,
50840
+ /**
50841
+ * The shape of the pagination items.
50842
+ * @default 'circular'
50843
+ */
50844
+ shape: PropTypes.oneOf(['circular', 'rounded']),
50845
+ /**
50846
+ * If `true`, show the first-page button.
50847
+ * @default false
50848
+ */
50849
+ showFirstButton: PropTypes.bool,
50850
+ /**
50851
+ * If `true`, show the last-page button.
50852
+ * @default false
50853
+ */
50854
+ showLastButton: PropTypes.bool,
50855
+ /**
50856
+ * Number of always visible pages before and after the current page.
50857
+ * @default 1
50858
+ */
50859
+ siblingCount: integerPropType,
50860
+ /**
50861
+ * The size of the component.
50862
+ * @default 'medium'
50863
+ */
50864
+ size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
50865
+ /**
50866
+ * The system prop that allows defining system overrides as well as additional CSS styles.
50867
+ */
50868
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
50869
+ /**
50870
+ * The variant to use.
50871
+ * @default 'text'
50872
+ */
50873
+ variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['outlined', 'text']), PropTypes.string])
50874
+ } : void 0;
50875
+ var MUIPagination = Pagination$1;
50876
+
49172
50877
  function getSelectUtilityClasses(slot) {
49173
50878
  return generateUtilityClass('MuiSelect', slot);
49174
50879
  }
@@ -50442,9 +52147,13 @@ var TextField = function (_a) {
50442
52147
  }, [value]);
50443
52148
  return (jsx(MuiTextField, __assign$1({ id: label === placeholder ? 'text-field-mui' : 'test-field-ds', variant: "outlined", name: name, label: label, value: internalValue, placeholder: label === placeholder ? undefined : placeholder, FormHelperTextProps: { component: 'div' }, InputLabelProps: { shrink: label === placeholder ? undefined : true }, onClick: function (e) { return e.stopPropagation(); }, onChange: function (e) {
50444
52149
  setInternalValue(e.currentTarget.value);
50445
- onChange(e);
52150
+ if (onChange) {
52151
+ onChange(e);
52152
+ }
50446
52153
  }, onBlur: function (e) {
50447
- onBlur(e);
52154
+ if (onBlur) {
52155
+ onBlur(e);
52156
+ }
50448
52157
  }, error: !!error, disabled: disabled, InputProps: { endAdornment: endAdornment }, inputProps: { maxLength: maxLength } }, props, { helperText: jsxs("div", __assign$1({ style: { display: 'table', width: '100%' } }, { children: [(error || props.helperText) && (jsx("div", __assign$1({ style: {
50449
52158
  display: maxLength ? 'table-cell' : '',
50450
52159
  float: 'left'
@@ -50461,7 +52170,7 @@ var Checkbox = function (_a) {
50461
52170
  }, [value]);
50462
52171
  return (jsxs(FormControl$1, __assign$1({ fullWidth: true }, { children: [jsx(FormControlLabel$1, { control: jsx(Box$3, { children: jsx(CheckboxMUI, __assign$1({ name: name, sx: { marginTop: '-2px' }, checked: internalValue, color: "primary", onChange: function (e) {
50463
52172
  setInternalValue(e.target.checked);
50464
- onChange(name, e.target.checked, true);
52173
+ onChange && onChange(name, e.target.checked, true);
50465
52174
  } }, props)) }), label: jsx(Typography$1, __assign$1({ component: "span", sx: {
50466
52175
  fontSize: '14px',
50467
52176
  marginLeft: '-3px',
@@ -50477,8 +52186,19 @@ var Checkbox = function (_a) {
50477
52186
  };
50478
52187
 
50479
52188
  var Accordion = function (_a) {
50480
- var icon = _a.icon, title = _a.title, content = _a.content, summaryHeight = _a.summaryHeight, props = __rest(_a, ["icon", "title", "content", "summaryHeight"]);
50481
- return (jsxs(AccordionMui, __assign$1({ sx: { border: "1px solid", borderColor: 'greyLightDefaultBorder' } }, props, { children: [jsx(AccordionSummary$1, __assign$1({ expandIcon: icon, sx: {
52189
+ var icon = _a.icon, title = _a.title, summaryHeight = _a.summaryHeight, _b = _a.expanded, expanded = _b === void 0 ? false : _b, onClick = _a.onClick, children = _a.children, props = __rest(_a, ["icon", "title", "summaryHeight", "expanded", "onClick", "children"]);
52190
+ var _c = useState(expanded), internalExpanded = _c[0], setInternalExpanded = _c[1];
52191
+ useEffect(function () {
52192
+ if (expanded !== internalExpanded) {
52193
+ setInternalExpanded(expanded);
52194
+ }
52195
+ }, [expanded]);
52196
+ return (jsxs(AccordionMui, __assign$1({ sx: { border: "1px solid", borderColor: 'greyLightDefaultBorder' }, expanded: internalExpanded, onClick: function (e) {
52197
+ if (!props.disabled) {
52198
+ setInternalExpanded(!internalExpanded);
52199
+ onClick && onClick(e);
52200
+ }
52201
+ } }, props, { children: [jsx(AccordionSummary$1, __assign$1({ expandIcon: icon, sx: {
50482
52202
  fontWeight: 500,
50483
52203
  fontSize: 18,
50484
52204
  lineHeight: 21,
@@ -50487,7 +52207,7 @@ var Accordion = function (_a) {
50487
52207
  backgroundColor: 'greyXLight',
50488
52208
  borderTop: '1px solid',
50489
52209
  borderColor: 'greyLightDefaultBorder'
50490
- } }, { children: content }))] })));
52210
+ } }, { children: children }))] })));
50491
52211
  };
50492
52212
 
50493
52213
  var FontSizes = {
@@ -50561,6 +52281,34 @@ var Icon = function (_a) {
50561
52281
  return (jsx(Box$1, __assign$1({ component: "span", sx: getStyles() }, props, { children: jsx(FontAwesomeSvgIcon, { icon: icon, fontSize: usedFontSize }) })));
50562
52282
  };
50563
52283
 
52284
+ var Pagination = function (_a) {
52285
+ var totalString = _a.totalString, totalPerPageString = _a.totalPerPageString, totalPages = _a.totalPages, limitsPerPage = _a.limitsPerPage, setLimit = _a.setLimit, setPage = _a.setPage, _b = _a.page, page = _b === void 0 ? 1 : _b, limit = _a.limit;
52286
+ var _c = useState(page), internalPage = _c[0], setInternalPage = _c[1];
52287
+ var _d = useState(limit !== null && limit !== void 0 ? limit : limitsPerPage[0]), internalLimit = _d[0], setInternalLimit = _d[1];
52288
+ useEffect(function () {
52289
+ if (page !== internalPage) {
52290
+ setInternalPage(page);
52291
+ }
52292
+ }, [page]);
52293
+ useEffect(function () {
52294
+ if (limit && limit !== internalLimit) {
52295
+ setInternalLimit(limit);
52296
+ }
52297
+ }, [limit]);
52298
+ return (jsxs(Fragment$1, { children: [jsxs(Box$1, __assign$1({ display: "flex" }, { children: [jsx(Text, __assign$1({ color: "greyXDark", variant: "body1Bold", pt: "10px", pr: "16px" }, { children: totalString })), totalPages > 1 && (jsxs(Fragment$1, { children: [jsx(Divider$1, { orientation: "vertical", sx: { marginRight: '16px', color: 'greyXLight' } }), jsx(Select$1, __assign$1({ sx: { height: '32px', width: '65px' }, labelId: "select-label", id: "dac-select-label", value: internalLimit, onChange: function (event) {
52299
+ var _a, _b;
52300
+ setInternalLimit(Number((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value));
52301
+ setLimit && setLimit(Number((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.value));
52302
+ } }, { children: limitsPerPage.map(function (limit, id) { return (jsx(MenuItem$1, __assign$1({ value: limit }, { children: limit }), id)); }) })), jsx(Text, __assign$1({ color: "greyXDark", variant: "body1Regular", pt: "6px", pl: "6px", pr: "16px" }, { children: totalPerPageString })), jsx(Divider$1, { orientation: "vertical", sx: { marginRight: '16px', color: 'greyXLight' } })] }))] })), totalPages > 1 && (jsx(Box$1, __assign$1({ display: "flex", pr: "4px" }, { children: jsx(MUIPagination, { variant: "outlined", shape: "rounded", count: totalPages, page: internalPage, onChange: function (event, value) {
52303
+ setInternalPage(value);
52304
+ setPage && setPage(value);
52305
+ } }) })))] }));
52306
+ };
52307
+
52308
+ var Chip = function (props) {
52309
+ return jsx(ChipMUI, __assign$1({}, props));
52310
+ };
52311
+
50564
52312
  /******************************************************************************
50565
52313
  Copyright (c) Microsoft Corporation.
50566
52314
 
@@ -50924,6 +52672,7 @@ var getFontFamilies = function (themeName) {
50924
52672
  return fontFamilies;
50925
52673
  };
50926
52674
 
52675
+ /* eslint-disable @typescript-eslint/restrict-plus-operands */
50927
52676
  var TextFieldCss = function (muiTokens) {
50928
52677
  return {
50929
52678
  MuiFormHelperText: {
@@ -51013,6 +52762,7 @@ var TextFieldCss = function (muiTokens) {
51013
52762
  MuiInputLabel: {
51014
52763
  styleOverrides: {
51015
52764
  root: {
52765
+ fontWeight: 500,
51016
52766
  '&#text-field-mui-label': {
51017
52767
  fontSize: '14px',
51018
52768
  lineHeight: '18px',
@@ -51053,6 +52803,9 @@ var ButtonCss = function (muiTokens) {
51053
52803
  return {
51054
52804
  MuiButton: {
51055
52805
  styleOverrides: {
52806
+ '@font-face': {
52807
+ fontFamily: 'Roboto'
52808
+ },
51056
52809
  root: {
51057
52810
  borderRadius: '4px',
51058
52811
  padding: '7.5px 16px',
@@ -51103,9 +52856,6 @@ var AccordionCss = function () {
51103
52856
  return {
51104
52857
  MuiAccordionSummary: {
51105
52858
  styleOverrides: {
51106
- '@font-face': {
51107
- fontFamily: 'Roboto'
51108
- },
51109
52859
  content: {
51110
52860
  paddingLeft: '12px',
51111
52861
  fontWeight: 500,
@@ -51117,29 +52867,172 @@ var AccordionCss = function () {
51117
52867
  };
51118
52868
  };
51119
52869
 
51120
- var useMaterialThemeCss = function (muiTokens) {
51121
- var muiCss = useMemo(function () {
51122
- return {
51123
- components: __assign(__assign(__assign(__assign({}, TextFieldCss(muiTokens)), ButtonCss(muiTokens)), AccordionCss()), { MuiCssBaseline: {
51124
- styleOverrides: {
51125
- body: {
51126
- backgroundColor: 'inherit',
51127
- color: 'inherit',
51128
- fontWeight: 400
52870
+ var PaginationCss = function (muiTokens) {
52871
+ return {
52872
+ MuiPaginationItem: {
52873
+ styleOverrides: {
52874
+ root: {
52875
+ color: muiTokens.palette.blueClickable + ' !important',
52876
+ backgroundColor: 'white !important',
52877
+ fontWeight: '700 !important',
52878
+ outline: 'none !important',
52879
+ fontSize: '14px !important',
52880
+ borderColor: muiTokens.palette.greyMediumInactive + ' !important',
52881
+ '&:hover': {
52882
+ color: muiTokens.palette.blueClickable + ' !important',
52883
+ backgroundColor: 'white !important',
52884
+ borderColor: muiTokens.palette.greyDark + ' !important',
52885
+ borderRadius: '4px !important',
52886
+ outline: 'none !important'
52887
+ },
52888
+ '&.Mui-selected': {
52889
+ color: 'white !important',
52890
+ backgroundColor: muiTokens.palette.blueClickable + ' !important',
52891
+ borderRadius: '4px !important',
52892
+ outline: 'none !important',
52893
+ '&:hover': {
52894
+ color: 'white !important',
52895
+ backgroundColor: muiTokens.palette.blueClickable + ' !important',
52896
+ borderColor: muiTokens.palette.greyDark + ' !important',
52897
+ borderRadius: '4px !important',
52898
+ outline: 'none !important'
51129
52899
  },
51130
- '@font-face': {
51131
- fontFamily: 'Roboto'
52900
+ '&:focus': {
52901
+ color: 'white !important',
52902
+ backgroundColor: muiTokens.palette.blueClickable + ' !important',
52903
+ borderColor: muiTokens.palette.greyDark + ' !important',
52904
+ borderRadius: '4px !important',
52905
+ outline: 'none !important'
51132
52906
  }
52907
+ },
52908
+ '&.Mui-disabled': {
52909
+ color: muiTokens.palette.greyMediumInactive + ' !important',
52910
+ backgroundColor: 'white !important',
52911
+ borderRadius: '4px !important',
52912
+ outline: 'none !important'
51133
52913
  }
51134
- }, MuiSvgIcon: {
51135
- styleOverrides: {
51136
- colorSuccess: {
51137
- color: muiTokens.palette.success.main
52914
+ }
52915
+ }
52916
+ }
52917
+ };
52918
+ };
52919
+
52920
+ var SelectCss = function (muiTokens) {
52921
+ return {
52922
+ 'MuiSelect-icon': {
52923
+ styleOverrides: {
52924
+ root: {
52925
+ color: muiTokens.palette.blueClickable + ' !important'
52926
+ }
52927
+ }
52928
+ }
52929
+ };
52930
+ };
52931
+
52932
+ var ChipCss = function (muiTokens) {
52933
+ return {
52934
+ MuiChip: {
52935
+ styleOverrides: {
52936
+ root: {
52937
+ '& .MuiChip-deleteIcon': {
52938
+ color: muiTokens.palette.blueClickable
52939
+ },
52940
+ color: muiTokens.palette.greyXDark,
52941
+ backgroundColor: 'transparent',
52942
+ borderRadius: '4px',
52943
+ fontWeight: muiTokens.palette.fontWeightRegular,
52944
+ fontSize: '14px',
52945
+ paddingLeft: '8px',
52946
+ paddingRight: '8px'
52947
+ },
52948
+ filled: {},
52949
+ label: {
52950
+ padding: 0,
52951
+ lineHeight: '18px'
52952
+ },
52953
+ sizeSmall: {
52954
+ height: '24px',
52955
+ paddingY: '3px'
52956
+ },
52957
+ sizeMedium: {
52958
+ height: '33px',
52959
+ paddingY: '8px'
52960
+ },
52961
+ deleteIcon: {
52962
+ width: '12px',
52963
+ height: '12px',
52964
+ margin: 0,
52965
+ marginLeft: '8px'
52966
+ },
52967
+ colorDefault: {
52968
+ backgroundColor: muiTokens.palette.greyXLight,
52969
+ border: 'none'
52970
+ },
52971
+ colorPrimary: {
52972
+ border: '1px solid',
52973
+ borderColor: muiTokens.palette.greyLightDefaultBorder + ' !important'
52974
+ },
52975
+ colorSecondary: {
52976
+ border: 'none',
52977
+ backgroundColor: muiTokens.palette.blueClickable + ' !important',
52978
+ color: muiTokens.palette.white,
52979
+ '& .MuiChip-deleteIcon': {
52980
+ color: muiTokens.palette.greyXLight + ' !important',
52981
+ '&:hover': {
52982
+ color: muiTokens.palette.blueClickableHover
51138
52983
  }
51139
52984
  }
51140
- } })
51141
- };
51142
- }, [muiTokens]);
52985
+ },
52986
+ colorSuccess: {
52987
+ border: '1px solid',
52988
+ borderColor: muiTokens.palette.greenSuccess + ' !important',
52989
+ color: muiTokens.palette.greenSuccess + ' !important',
52990
+ fontWeight: muiTokens.typography.fontWeightBold
52991
+ },
52992
+ colorWarning: {
52993
+ border: '1px solid',
52994
+ borderColor: muiTokens.palette.orangeWarning + ' !important',
52995
+ color: muiTokens.palette.orangeWarning + ' !important',
52996
+ fontWeight: muiTokens.typography.fontWeightBold
52997
+ },
52998
+ colorInfo: {
52999
+ border: '1px solid',
53000
+ borderColor: muiTokens.palette.blueInfo + ' !important',
53001
+ color: muiTokens.palette.blueInfo + ' !important',
53002
+ fontWeight: muiTokens.typography.fontWeightBold
53003
+ },
53004
+ colorError: {
53005
+ border: '1px solid',
53006
+ borderColor: muiTokens.palette.redError + ' !important',
53007
+ color: muiTokens.palette.redError + ' !important',
53008
+ fontWeight: muiTokens.typography.fontWeightBold
53009
+ }
53010
+ }
53011
+ }
53012
+ };
53013
+ };
53014
+
53015
+ var useMaterialThemeCss = function (muiTokens) {
53016
+ var muiCss = useMemo(function () { return ({
53017
+ components: __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, TextFieldCss(muiTokens)), ButtonCss(muiTokens)), AccordionCss()), PaginationCss(muiTokens)), SelectCss(muiTokens)), ChipCss(muiTokens)), { MuiCssBaseline: {
53018
+ styleOverrides: {
53019
+ body: {
53020
+ backgroundColor: 'inherit',
53021
+ color: 'inherit',
53022
+ fontWeight: 400
53023
+ },
53024
+ '@font-face': {
53025
+ fontFamily: 'Roboto'
53026
+ }
53027
+ }
53028
+ }, MuiSvgIcon: {
53029
+ styleOverrides: {
53030
+ colorSuccess: {
53031
+ color: muiTokens.palette.success.main
53032
+ }
53033
+ }
53034
+ } })
53035
+ }); }, [muiTokens]);
51143
53036
  return { muiCss: muiCss };
51144
53037
  };
51145
53038
 
@@ -51314,9 +53207,7 @@ var useMaterialThemeTokens = function (themeName) {
51314
53207
  palette: getMuiPalette(themeName)
51315
53208
  };
51316
53209
  var muiCss = useMaterialThemeCss(muiTokensObject).muiCss;
51317
- var muiTokens = useMemo(function () {
51318
- return __assign(__assign({}, muiTokensObject), muiCss);
51319
- }, [muiTokensObject, muiCss]);
53210
+ var muiTokens = useMemo(function () { return (__assign(__assign({}, muiTokensObject), muiCss)); }, [muiTokensObject, muiCss]);
51320
53211
  return { muiTokens: muiTokens };
51321
53212
  };
51322
53213
 
@@ -51341,5 +53232,5 @@ var DesignSystemProvider = function (_a) {
51341
53232
  return (jsx(DesignSystemContext.Provider, __assign$1({ value: { isDarkTheme: isDarkTheme, themeName: themeName, toggleDarkTheme: toggleDarkTheme } }, { children: jsx(MaterialThemeProvider, { children: children }) })));
51342
53233
  };
51343
53234
 
51344
- export { Accordion, Button, Checkbox, DesignSystemContext, DesignSystemProvider, Icon as IconProvider, Link, Text, TextField };
53235
+ export { Accordion, Button, Checkbox, Chip, DesignSystemContext, DesignSystemProvider, Icon as IconProvider, Link, Pagination, Text, TextField };
51345
53236
  //# sourceMappingURL=index.js.map