@opengeoweb/webmap-react 8.4.0 → 8.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -5,7 +5,7 @@ import { CustomTooltip, ToolContainerDraggable, dateUtils, CustomIconButton } fr
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
6
6
  import * as ReactDOM from 'react-dom';
7
7
  import ReactDOM__default, { findDOMNode } from 'react-dom';
8
- import { Delete, Edit, DrawRegion, DrawPolygon, Location, Home, Add, Minus } from '@opengeoweb/theme';
8
+ import { Delete, Edit, DrawRegion, DrawPolygon, Location, Home, Add, Minus, Close } from '@opengeoweb/theme';
9
9
 
10
10
  /* *
11
11
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -7210,7 +7210,7 @@ const internal_processStyles = (tag, processor) => {
7210
7210
  }
7211
7211
  };
7212
7212
 
7213
- const _excluded$G = ["values", "unit", "step"];
7213
+ const _excluded$H = ["values", "unit", "step"];
7214
7214
  const sortBreakpointsValues = values => {
7215
7215
  const breakpointsAsArray = Object.keys(values).map(key => ({
7216
7216
  key,
@@ -7245,7 +7245,7 @@ function createBreakpoints(breakpoints) {
7245
7245
  unit = 'px',
7246
7246
  step = 5
7247
7247
  } = breakpoints,
7248
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$G);
7248
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$H);
7249
7249
  const sortedValues = sortBreakpointsValues(values);
7250
7250
  const keys = Object.keys(sortedValues);
7251
7251
  function up(key) {
@@ -8336,7 +8336,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
8336
8336
  styleFunctionSx.filterProps = ['sx'];
8337
8337
  var styleFunctionSx$1 = styleFunctionSx;
8338
8338
 
8339
- const _excluded$F = ["breakpoints", "palette", "spacing", "shape"];
8339
+ const _excluded$G = ["breakpoints", "palette", "spacing", "shape"];
8340
8340
  function createTheme$1(options = {}, ...args) {
8341
8341
  const {
8342
8342
  breakpoints: breakpointsInput = {},
@@ -8344,7 +8344,7 @@ function createTheme$1(options = {}, ...args) {
8344
8344
  spacing: spacingInput,
8345
8345
  shape: shapeInput = {}
8346
8346
  } = options,
8347
- other = _objectWithoutPropertiesLoose(options, _excluded$F);
8347
+ other = _objectWithoutPropertiesLoose(options, _excluded$G);
8348
8348
  const breakpoints = createBreakpoints(breakpointsInput);
8349
8349
  const spacing = createSpacing(spacingInput);
8350
8350
  let muiTheme = deepmerge({
@@ -8412,7 +8412,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes /* remove-propt
8412
8412
  themeId: PropTypes.string
8413
8413
  } : void 0;
8414
8414
 
8415
- const _excluded$E = ["sx"];
8415
+ const _excluded$F = ["sx"];
8416
8416
  const splitProps = props => {
8417
8417
  var _props$theme$unstable, _props$theme;
8418
8418
  const result = {
@@ -8433,7 +8433,7 @@ function extendSxProp(props) {
8433
8433
  const {
8434
8434
  sx: inSx
8435
8435
  } = props,
8436
- other = _objectWithoutPropertiesLoose(props, _excluded$E);
8436
+ other = _objectWithoutPropertiesLoose(props, _excluded$F);
8437
8437
  const {
8438
8438
  systemProps,
8439
8439
  otherProps
@@ -8459,7 +8459,7 @@ function extendSxProp(props) {
8459
8459
 
8460
8460
  function r$2(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$2(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$2(e))&&(n&&(n+=" "),n+=t);return n}
8461
8461
 
8462
- const _excluded$D = ["className", "component"];
8462
+ const _excluded$E = ["className", "component"];
8463
8463
  function createBox(options = {}) {
8464
8464
  const {
8465
8465
  themeId,
@@ -8477,7 +8477,7 @@ function createBox(options = {}) {
8477
8477
  className,
8478
8478
  component = 'div'
8479
8479
  } = _extendSxProp,
8480
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$D);
8480
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$E);
8481
8481
  return /*#__PURE__*/jsx(BoxRoot, _extends({
8482
8482
  as: component,
8483
8483
  ref: ref,
@@ -8488,7 +8488,29 @@ function createBox(options = {}) {
8488
8488
  return Box;
8489
8489
  }
8490
8490
 
8491
- const _excluded$C = ["variant"];
8491
+ const Box$2 = createBox();
8492
+ process.env.NODE_ENV !== "production" ? Box$2.propTypes /* remove-proptypes */ = {
8493
+ // ----------------------------- Warning --------------------------------
8494
+ // | These PropTypes are generated from the TypeScript type definitions |
8495
+ // | To update them edit the d.ts file and run "yarn proptypes" |
8496
+ // ----------------------------------------------------------------------
8497
+ /**
8498
+ * @ignore
8499
+ */
8500
+ children: PropTypes.node,
8501
+ /**
8502
+ * The component used for the root node.
8503
+ * Either a string to use a HTML element or a component.
8504
+ */
8505
+ component: PropTypes.elementType,
8506
+ /**
8507
+ * The system prop that allows defining system overrides as well as additional CSS styles.
8508
+ */
8509
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
8510
+ } : void 0;
8511
+ var Box$3 = Box$2;
8512
+
8513
+ const _excluded$D = ["variant"];
8492
8514
  function isEmpty$3(string) {
8493
8515
  return string.length === 0;
8494
8516
  }
@@ -8502,7 +8524,7 @@ function propsToClassKey(props) {
8502
8524
  const {
8503
8525
  variant
8504
8526
  } = props,
8505
- other = _objectWithoutPropertiesLoose(props, _excluded$C);
8527
+ other = _objectWithoutPropertiesLoose(props, _excluded$D);
8506
8528
  let classKey = variant || '';
8507
8529
  Object.keys(other).sort().forEach(key => {
8508
8530
  if (key === 'color') {
@@ -8514,7 +8536,7 @@ function propsToClassKey(props) {
8514
8536
  return classKey;
8515
8537
  }
8516
8538
 
8517
- const _excluded$B = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
8539
+ const _excluded$C = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
8518
8540
  function isEmpty$2(obj) {
8519
8541
  return Object.keys(obj).length === 0;
8520
8542
  }
@@ -8651,7 +8673,7 @@ function createStyled(input = {}) {
8651
8673
  // For more details: https://github.com/mui/material-ui/pull/37908
8652
8674
  overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))
8653
8675
  } = inputOptions,
8654
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$B);
8676
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$C);
8655
8677
 
8656
8678
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
8657
8679
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
@@ -9085,7 +9107,7 @@ function createMixins(breakpoints, mixins) {
9085
9107
  }, mixins);
9086
9108
  }
9087
9109
 
9088
- const _excluded$A = ["mode", "contrastThreshold", "tonalOffset"];
9110
+ const _excluded$B = ["mode", "contrastThreshold", "tonalOffset"];
9089
9111
  const light = {
9090
9112
  // The colors used to style the text.
9091
9113
  text: {
@@ -9254,7 +9276,7 @@ function createPalette(palette) {
9254
9276
  contrastThreshold = 3,
9255
9277
  tonalOffset = 0.2
9256
9278
  } = palette,
9257
- other = _objectWithoutPropertiesLoose(palette, _excluded$A);
9279
+ other = _objectWithoutPropertiesLoose(palette, _excluded$B);
9258
9280
  const primary = palette.primary || getDefaultPrimary(mode);
9259
9281
  const secondary = palette.secondary || getDefaultSecondary(mode);
9260
9282
  const error = palette.error || getDefaultError(mode);
@@ -9378,7 +9400,7 @@ const theme2 = createTheme({ palette: {
9378
9400
  return paletteOutput;
9379
9401
  }
9380
9402
 
9381
- const _excluded$z = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
9403
+ const _excluded$A = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
9382
9404
  function round(value) {
9383
9405
  return Math.round(value * 1e5) / 1e5;
9384
9406
  }
@@ -9409,7 +9431,7 @@ function createTypography(palette, typography) {
9409
9431
  allVariants,
9410
9432
  pxToRem: pxToRem2
9411
9433
  } = _ref,
9412
- other = _objectWithoutPropertiesLoose(_ref, _excluded$z);
9434
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$A);
9413
9435
  if (process.env.NODE_ENV !== 'production') {
9414
9436
  if (typeof fontSize !== 'number') {
9415
9437
  console.error('MUI: `fontSize` is required to be a number.');
@@ -9476,7 +9498,7 @@ function createShadow(...px) {
9476
9498
  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)];
9477
9499
  var shadows$1 = shadows;
9478
9500
 
9479
- const _excluded$y = ["duration", "easing", "delay"];
9501
+ const _excluded$z = ["duration", "easing", "delay"];
9480
9502
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
9481
9503
  // to learn the context in which each easing should be used.
9482
9504
  const easing = {
@@ -9527,7 +9549,7 @@ function createTransitions(inputTransitions) {
9527
9549
  easing: easingOption = mergedEasing.easeInOut,
9528
9550
  delay = 0
9529
9551
  } = options,
9530
- other = _objectWithoutPropertiesLoose(options, _excluded$y);
9552
+ other = _objectWithoutPropertiesLoose(options, _excluded$z);
9531
9553
  if (process.env.NODE_ENV !== 'production') {
9532
9554
  const isString = value => typeof value === 'string';
9533
9555
  // IE11 support, replace with Number.isNaN
@@ -9574,7 +9596,7 @@ const zIndex = {
9574
9596
  };
9575
9597
  var zIndex$1 = zIndex;
9576
9598
 
9577
- const _excluded$x = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9599
+ const _excluded$y = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
9578
9600
  function createTheme(options = {}, ...args) {
9579
9601
  const {
9580
9602
  mixins: mixinsInput = {},
@@ -9582,7 +9604,7 @@ function createTheme(options = {}, ...args) {
9582
9604
  transitions: transitionsInput = {},
9583
9605
  typography: typographyInput = {}
9584
9606
  } = options,
9585
- other = _objectWithoutPropertiesLoose(options, _excluded$x);
9607
+ other = _objectWithoutPropertiesLoose(options, _excluded$y);
9586
9608
  if (options.vars) {
9587
9609
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
9588
9610
  Please use another name.` : formatMuiErrorMessage(18));
@@ -9853,7 +9875,7 @@ function mergeSlotProps(parameters) {
9853
9875
  };
9854
9876
  }
9855
9877
 
9856
- const _excluded$w = ["elementType", "externalSlotProps", "ownerState"];
9878
+ const _excluded$x = ["elementType", "externalSlotProps", "ownerState"];
9857
9879
  /**
9858
9880
  * @ignore - do not document.
9859
9881
  * Builds the props to be passed into the slot of an unstyled component.
@@ -9869,7 +9891,7 @@ function useSlotProps(parameters) {
9869
9891
  externalSlotProps,
9870
9892
  ownerState
9871
9893
  } = parameters,
9872
- rest = _objectWithoutPropertiesLoose(parameters, _excluded$w);
9894
+ rest = _objectWithoutPropertiesLoose(parameters, _excluded$x);
9873
9895
  const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
9874
9896
  const {
9875
9897
  props: mergedProps,
@@ -10507,8 +10529,8 @@ function getModalUtilityClass(slot) {
10507
10529
  }
10508
10530
  generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
10509
10531
 
10510
- const _excluded$v = ["children", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
10511
- const useUtilityClasses$o = ownerState => {
10532
+ const _excluded$w = ["children", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
10533
+ const useUtilityClasses$p = ownerState => {
10512
10534
  const {
10513
10535
  open,
10514
10536
  exited
@@ -10577,7 +10599,7 @@ const ModalUnstyled = /*#__PURE__*/React.forwardRef(function ModalUnstyled(props
10577
10599
  slotProps = {},
10578
10600
  slots = {}
10579
10601
  } = props,
10580
- other = _objectWithoutPropertiesLoose(props, _excluded$v);
10602
+ other = _objectWithoutPropertiesLoose(props, _excluded$w);
10581
10603
  const [exited, setExited] = React.useState(!open);
10582
10604
  const modal = React.useRef({});
10583
10605
  const mountNodeRef = React.useRef(null);
@@ -10649,7 +10671,7 @@ const ModalUnstyled = /*#__PURE__*/React.forwardRef(function ModalUnstyled(props
10649
10671
  hideBackdrop,
10650
10672
  keepMounted
10651
10673
  });
10652
- const classes = useUtilityClasses$o(ownerState);
10674
+ const classes = useUtilityClasses$p(ownerState);
10653
10675
  const handleEnter = () => {
10654
10676
  setExited(false);
10655
10677
  if (onTransitionEnter) {
@@ -10873,7 +10895,7 @@ process.env.NODE_ENV !== "production" ? ModalUnstyled.propTypes /* remove-propty
10873
10895
  } : void 0;
10874
10896
  var ModalUnstyled$1 = ModalUnstyled;
10875
10897
 
10876
- const _excluded$u = ["onChange", "maxRows", "minRows", "style", "value"];
10898
+ const _excluded$v = ["onChange", "maxRows", "minRows", "style", "value"];
10877
10899
  function getStyleValue(value) {
10878
10900
  return parseInt(value, 10) || 0;
10879
10901
  }
@@ -10915,7 +10937,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
10915
10937
  style,
10916
10938
  value
10917
10939
  } = props,
10918
- other = _objectWithoutPropertiesLoose(props, _excluded$u);
10940
+ other = _objectWithoutPropertiesLoose(props, _excluded$v);
10919
10941
  const {
10920
10942
  current: isControlled
10921
10943
  } = React.useRef(value != null);
@@ -11131,8 +11153,8 @@ function getSvgIconUtilityClass(slot) {
11131
11153
  }
11132
11154
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
11133
11155
 
11134
- const _excluded$t = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
11135
- const useUtilityClasses$n = ownerState => {
11156
+ const _excluded$u = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
11157
+ const useUtilityClasses$o = ownerState => {
11136
11158
  const {
11137
11159
  color,
11138
11160
  fontSize,
@@ -11197,7 +11219,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
11197
11219
  titleAccess,
11198
11220
  viewBox = '0 0 24 24'
11199
11221
  } = props,
11200
- other = _objectWithoutPropertiesLoose(props, _excluded$t);
11222
+ other = _objectWithoutPropertiesLoose(props, _excluded$u);
11201
11223
  const ownerState = _extends({}, props, {
11202
11224
  color,
11203
11225
  component,
@@ -11210,7 +11232,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
11210
11232
  if (!inheritViewBox) {
11211
11233
  more.viewBox = viewBox;
11212
11234
  }
11213
- const classes = useUtilityClasses$n(ownerState);
11235
+ const classes = useUtilityClasses$o(ownerState);
11214
11236
  return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
11215
11237
  as: component,
11216
11238
  className: clsx(classes.root, className),
@@ -12326,8 +12348,8 @@ function getPaperUtilityClass(slot) {
12326
12348
  }
12327
12349
  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']);
12328
12350
 
12329
- const _excluded$s = ["className", "component", "elevation", "square", "variant"];
12330
- const useUtilityClasses$m = ownerState => {
12351
+ const _excluded$t = ["className", "component", "elevation", "square", "variant"];
12352
+ const useUtilityClasses$n = ownerState => {
12331
12353
  const {
12332
12354
  square,
12333
12355
  elevation,
@@ -12381,14 +12403,14 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
12381
12403
  square = false,
12382
12404
  variant = 'elevation'
12383
12405
  } = props,
12384
- other = _objectWithoutPropertiesLoose(props, _excluded$s);
12406
+ other = _objectWithoutPropertiesLoose(props, _excluded$t);
12385
12407
  const ownerState = _extends({}, props, {
12386
12408
  component,
12387
12409
  elevation,
12388
12410
  square,
12389
12411
  variant
12390
12412
  });
12391
- const classes = useUtilityClasses$m(ownerState);
12413
+ const classes = useUtilityClasses$n(ownerState);
12392
12414
  if (process.env.NODE_ENV !== 'production') {
12393
12415
  // eslint-disable-next-line react-hooks/rules-of-hooks
12394
12416
  const theme = useTheme();
@@ -12539,7 +12561,7 @@ process.env.NODE_ENV !== "production" ? Ripple.propTypes = {
12539
12561
  const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
12540
12562
  var touchRippleClasses$1 = touchRippleClasses;
12541
12563
 
12542
- const _excluded$r = ["center", "classes", "className"];
12564
+ const _excluded$s = ["center", "classes", "className"];
12543
12565
  let _$1 = t => t,
12544
12566
  _t,
12545
12567
  _t2,
@@ -12668,7 +12690,7 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
12668
12690
  classes = {},
12669
12691
  className
12670
12692
  } = props,
12671
- other = _objectWithoutPropertiesLoose(props, _excluded$r);
12693
+ other = _objectWithoutPropertiesLoose(props, _excluded$s);
12672
12694
  const [ripples, setRipples] = React.useState([]);
12673
12695
  const nextKey = React.useRef(0);
12674
12696
  const rippleCallback = React.useRef(null);
@@ -12869,8 +12891,8 @@ function getButtonBaseUtilityClass(slot) {
12869
12891
  const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
12870
12892
  var buttonBaseClasses$1 = buttonBaseClasses;
12871
12893
 
12872
- const _excluded$q = ["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"];
12873
- const useUtilityClasses$l = ownerState => {
12894
+ const _excluded$r = ["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"];
12895
+ const useUtilityClasses$m = ownerState => {
12874
12896
  const {
12875
12897
  disabled,
12876
12898
  focusVisible,
@@ -12971,7 +12993,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
12971
12993
  touchRippleRef,
12972
12994
  type
12973
12995
  } = props,
12974
- other = _objectWithoutPropertiesLoose(props, _excluded$q);
12996
+ other = _objectWithoutPropertiesLoose(props, _excluded$r);
12975
12997
  const buttonRef = React.useRef(null);
12976
12998
  const rippleRef = React.useRef(null);
12977
12999
  const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
@@ -13138,7 +13160,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
13138
13160
  tabIndex,
13139
13161
  focusVisible
13140
13162
  });
13141
- const classes = useUtilityClasses$l(ownerState);
13163
+ const classes = useUtilityClasses$m(ownerState);
13142
13164
  return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends({
13143
13165
  as: ComponentProp,
13144
13166
  className: clsx(classes.root, className),
@@ -13334,8 +13356,8 @@ function getTypographyUtilityClass(slot) {
13334
13356
  }
13335
13357
  generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
13336
13358
 
13337
- const _excluded$p = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
13338
- const useUtilityClasses$k = ownerState => {
13359
+ const _excluded$q = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
13360
+ const useUtilityClasses$l = ownerState => {
13339
13361
  const {
13340
13362
  align,
13341
13363
  gutterBottom,
@@ -13418,7 +13440,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
13418
13440
  variant = 'body1',
13419
13441
  variantMapping = defaultVariantMapping
13420
13442
  } = props,
13421
- other = _objectWithoutPropertiesLoose(props, _excluded$p);
13443
+ other = _objectWithoutPropertiesLoose(props, _excluded$q);
13422
13444
  const ownerState = _extends({}, props, {
13423
13445
  align,
13424
13446
  color,
@@ -13431,7 +13453,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
13431
13453
  variantMapping
13432
13454
  });
13433
13455
  const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
13434
- const classes = useUtilityClasses$k(ownerState);
13456
+ const classes = useUtilityClasses$l(ownerState);
13435
13457
  return /*#__PURE__*/jsx(TypographyRoot, _extends({
13436
13458
  as: Component,
13437
13459
  ref: ref,
@@ -13599,7 +13621,7 @@ function getInputBaseUtilityClass(slot) {
13599
13621
  const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
13600
13622
  var inputBaseClasses$1 = inputBaseClasses;
13601
13623
 
13602
- const _excluded$o = ["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"];
13624
+ 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"];
13603
13625
  const rootOverridesResolver = (props, styles) => {
13604
13626
  const {
13605
13627
  ownerState
@@ -13612,7 +13634,7 @@ const inputOverridesResolver = (props, styles) => {
13612
13634
  } = props;
13613
13635
  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];
13614
13636
  };
13615
- const useUtilityClasses$j = ownerState => {
13637
+ const useUtilityClasses$k = ownerState => {
13616
13638
  const {
13617
13639
  classes,
13618
13640
  color,
@@ -13830,7 +13852,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
13830
13852
  type = 'text',
13831
13853
  value: valueProp
13832
13854
  } = props,
13833
- other = _objectWithoutPropertiesLoose(props, _excluded$o);
13855
+ other = _objectWithoutPropertiesLoose(props, _excluded$p);
13834
13856
  const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
13835
13857
  const {
13836
13858
  current: isControlled
@@ -14004,7 +14026,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
14004
14026
  startAdornment,
14005
14027
  type
14006
14028
  });
14007
- const classes = useUtilityClasses$j(ownerState);
14029
+ const classes = useUtilityClasses$k(ownerState);
14008
14030
  const Root = slots.root || components.Root || InputBaseRoot;
14009
14031
  const rootProps = slotProps.root || componentsProps.root || {};
14010
14032
  const Input = slots.input || components.Input || InputBaseComponent;
@@ -14308,7 +14330,7 @@ var ArrowDropDownIcon = createSvgIcon( /*#__PURE__*/jsx("path", {
14308
14330
  d: "M7 10l5 5 5-5z"
14309
14331
  }), 'ArrowDropDown');
14310
14332
 
14311
- const _excluded$n = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14333
+ const _excluded$o = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
14312
14334
  const styles$1 = {
14313
14335
  entering: {
14314
14336
  opacity: 1
@@ -14345,7 +14367,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
14345
14367
  // eslint-disable-next-line react/prop-types
14346
14368
  TransitionComponent = Transition$1
14347
14369
  } = props,
14348
- other = _objectWithoutPropertiesLoose(props, _excluded$n);
14370
+ other = _objectWithoutPropertiesLoose(props, _excluded$o);
14349
14371
  const nodeRef = React.useRef(null);
14350
14372
  const handleRef = useForkRef(nodeRef, children.ref, ref);
14351
14373
  const normalizedTransitionCallback = callback => maybeIsAppearing => {
@@ -14506,8 +14528,8 @@ function getBackdropUtilityClass(slot) {
14506
14528
  }
14507
14529
  generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
14508
14530
 
14509
- const _excluded$m = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
14510
- const useUtilityClasses$i = ownerState => {
14531
+ const _excluded$n = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
14532
+ const useUtilityClasses$j = ownerState => {
14511
14533
  const {
14512
14534
  classes,
14513
14535
  invisible
@@ -14561,12 +14583,12 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
14561
14583
  TransitionComponent = Fade$1,
14562
14584
  transitionDuration
14563
14585
  } = props,
14564
- other = _objectWithoutPropertiesLoose(props, _excluded$m);
14586
+ other = _objectWithoutPropertiesLoose(props, _excluded$n);
14565
14587
  const ownerState = _extends({}, props, {
14566
14588
  component,
14567
14589
  invisible
14568
14590
  });
14569
- const classes = useUtilityClasses$i(ownerState);
14591
+ const classes = useUtilityClasses$j(ownerState);
14570
14592
  const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
14571
14593
  return /*#__PURE__*/jsx(TransitionComponent, _extends({
14572
14594
  in: open,
@@ -14715,8 +14737,8 @@ function getSwitchBaseUtilityClass(slot) {
14715
14737
  }
14716
14738
  generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
14717
14739
 
14718
- const _excluded$l = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
14719
- const useUtilityClasses$h = ownerState => {
14740
+ const _excluded$m = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
14741
+ const useUtilityClasses$i = ownerState => {
14720
14742
  const {
14721
14743
  classes,
14722
14744
  checked,
@@ -14779,7 +14801,7 @@ const SwitchBase = /*#__PURE__*/React.forwardRef(function SwitchBase(props, ref)
14779
14801
  type,
14780
14802
  value
14781
14803
  } = props,
14782
- other = _objectWithoutPropertiesLoose(props, _excluded$l);
14804
+ other = _objectWithoutPropertiesLoose(props, _excluded$m);
14783
14805
  const [checked, setCheckedState] = useControlled({
14784
14806
  controlled: checkedProp,
14785
14807
  default: Boolean(defaultChecked),
@@ -14828,7 +14850,7 @@ const SwitchBase = /*#__PURE__*/React.forwardRef(function SwitchBase(props, ref)
14828
14850
  disableFocusRipple,
14829
14851
  edge
14830
14852
  });
14831
- const classes = useUtilityClasses$h(ownerState);
14853
+ const classes = useUtilityClasses$i(ownerState);
14832
14854
  return /*#__PURE__*/jsxs(SwitchBaseRoot, _extends({
14833
14855
  component: "span",
14834
14856
  className: clsx(classes.root, className),
@@ -14971,7 +14993,7 @@ process.env.NODE_ENV !== "production" ? SwitchBase.propTypes = {
14971
14993
  } : void 0;
14972
14994
  var SwitchBase$1 = SwitchBase;
14973
14995
 
14974
- const _excluded$k = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
14996
+ const _excluded$l = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
14975
14997
  const ModalRoot = styled$1('div', {
14976
14998
  name: 'MuiModal',
14977
14999
  slot: 'Root',
@@ -15046,7 +15068,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
15046
15068
  // eslint-disable-next-line react/prop-types
15047
15069
  theme
15048
15070
  } = props,
15049
- other = _objectWithoutPropertiesLoose(props, _excluded$k);
15071
+ other = _objectWithoutPropertiesLoose(props, _excluded$l);
15050
15072
  const [exited, setExited] = React.useState(true);
15051
15073
  const commonProps = {
15052
15074
  closeAfterTransition,
@@ -15264,8 +15286,8 @@ var Modal$1 = Modal;
15264
15286
  const dividerClasses = generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
15265
15287
  var dividerClasses$1 = dividerClasses;
15266
15288
 
15267
- const _excluded$j = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
15268
- const useUtilityClasses$g = ownerState => {
15289
+ const _excluded$k = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
15290
+ const useUtilityClasses$h = ownerState => {
15269
15291
  const {
15270
15292
  classes,
15271
15293
  disableUnderline
@@ -15448,14 +15470,14 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
15448
15470
  slots = {},
15449
15471
  type = 'text'
15450
15472
  } = props,
15451
- other = _objectWithoutPropertiesLoose(props, _excluded$j);
15473
+ other = _objectWithoutPropertiesLoose(props, _excluded$k);
15452
15474
  const ownerState = _extends({}, props, {
15453
15475
  fullWidth,
15454
15476
  inputComponent,
15455
15477
  multiline,
15456
15478
  type
15457
15479
  });
15458
- const classes = useUtilityClasses$g(props);
15480
+ const classes = useUtilityClasses$h(props);
15459
15481
  const filledInputComponentsProps = {
15460
15482
  root: {
15461
15483
  ownerState
@@ -15683,8 +15705,8 @@ function getFormControlUtilityClasses(slot) {
15683
15705
  }
15684
15706
  generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
15685
15707
 
15686
- const _excluded$i = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
15687
- const useUtilityClasses$f = ownerState => {
15708
+ const _excluded$j = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
15709
+ const useUtilityClasses$g = ownerState => {
15688
15710
  const {
15689
15711
  classes,
15690
15712
  margin,
@@ -15769,7 +15791,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
15769
15791
  size = 'medium',
15770
15792
  variant = 'outlined'
15771
15793
  } = props,
15772
- other = _objectWithoutPropertiesLoose(props, _excluded$i);
15794
+ other = _objectWithoutPropertiesLoose(props, _excluded$j);
15773
15795
  const ownerState = _extends({}, props, {
15774
15796
  color,
15775
15797
  component,
@@ -15782,7 +15804,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
15782
15804
  size,
15783
15805
  variant
15784
15806
  });
15785
- const classes = useUtilityClasses$f(ownerState);
15807
+ const classes = useUtilityClasses$g(ownerState);
15786
15808
  const [adornedStart, setAdornedStart] = React.useState(() => {
15787
15809
  // We need to iterate through the children and find the Input in order
15788
15810
  // to fully support server-side rendering.
@@ -15964,9 +15986,9 @@ function getFormHelperTextUtilityClasses(slot) {
15964
15986
  const formHelperTextClasses = generateUtilityClasses('MuiFormHelperText', ['root', 'error', 'disabled', 'sizeSmall', 'sizeMedium', 'contained', 'focused', 'filled', 'required']);
15965
15987
  var formHelperTextClasses$1 = formHelperTextClasses;
15966
15988
 
15967
- var _span$2;
15968
- const _excluded$h = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
15969
- const useUtilityClasses$e = ownerState => {
15989
+ var _span$3;
15990
+ const _excluded$i = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
15991
+ const useUtilityClasses$f = ownerState => {
15970
15992
  const {
15971
15993
  classes,
15972
15994
  contained,
@@ -16024,7 +16046,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
16024
16046
  className,
16025
16047
  component = 'p'
16026
16048
  } = props,
16027
- other = _objectWithoutPropertiesLoose(props, _excluded$h);
16049
+ other = _objectWithoutPropertiesLoose(props, _excluded$i);
16028
16050
  const muiFormControl = useFormControl();
16029
16051
  const fcs = formControlState({
16030
16052
  props,
@@ -16042,7 +16064,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
16042
16064
  focused: fcs.focused,
16043
16065
  required: fcs.required
16044
16066
  });
16045
- const classes = useUtilityClasses$e(ownerState);
16067
+ const classes = useUtilityClasses$f(ownerState);
16046
16068
  return /*#__PURE__*/jsx(FormHelperTextRoot, _extends({
16047
16069
  as: component,
16048
16070
  ownerState: ownerState,
@@ -16050,7 +16072,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
16050
16072
  ref: ref
16051
16073
  }, other, {
16052
16074
  children: children === ' ' ? // notranslate needed while Google Translate will not fix zero-width space issue
16053
- _span$2 || (_span$2 = /*#__PURE__*/jsx("span", {
16075
+ _span$3 || (_span$3 = /*#__PURE__*/jsx("span", {
16054
16076
  className: "notranslate",
16055
16077
  children: "\u200B"
16056
16078
  })) : children
@@ -16122,8 +16144,8 @@ function getFormLabelUtilityClasses(slot) {
16122
16144
  const formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
16123
16145
  var formLabelClasses$1 = formLabelClasses;
16124
16146
 
16125
- const _excluded$g = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
16126
- const useUtilityClasses$d = ownerState => {
16147
+ const _excluded$h = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
16148
+ const useUtilityClasses$e = ownerState => {
16127
16149
  const {
16128
16150
  classes,
16129
16151
  color,
@@ -16187,7 +16209,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
16187
16209
  className,
16188
16210
  component = 'label'
16189
16211
  } = props,
16190
- other = _objectWithoutPropertiesLoose(props, _excluded$g);
16212
+ other = _objectWithoutPropertiesLoose(props, _excluded$h);
16191
16213
  const muiFormControl = useFormControl();
16192
16214
  const fcs = formControlState({
16193
16215
  props,
@@ -16203,7 +16225,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
16203
16225
  focused: fcs.focused,
16204
16226
  required: fcs.required
16205
16227
  });
16206
- const classes = useUtilityClasses$d(ownerState);
16228
+ const classes = useUtilityClasses$e(ownerState);
16207
16229
  return /*#__PURE__*/jsxs(FormLabelRoot, _extends({
16208
16230
  as: component,
16209
16231
  ownerState: ownerState,
@@ -16299,7 +16321,7 @@ const gridClasses = generateUtilityClasses('MuiGrid', ['root', 'container', 'ite
16299
16321
  // grid sizes for all breakpoints
16300
16322
  ...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
16301
16323
 
16302
- const _excluded$f = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
16324
+ const _excluded$g = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
16303
16325
  function getOffset(val) {
16304
16326
  const parse = parseFloat(val);
16305
16327
  return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
@@ -16608,7 +16630,7 @@ function resolveSpacingClasses(spacing, breakpoints) {
16608
16630
  });
16609
16631
  return classes;
16610
16632
  }
16611
- const useUtilityClasses$c = ownerState => {
16633
+ const useUtilityClasses$d = ownerState => {
16612
16634
  const {
16613
16635
  classes,
16614
16636
  container,
@@ -16659,7 +16681,7 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
16659
16681
  wrap = 'wrap',
16660
16682
  zeroMinWidth = false
16661
16683
  } = props,
16662
- other = _objectWithoutPropertiesLoose(props, _excluded$f);
16684
+ other = _objectWithoutPropertiesLoose(props, _excluded$g);
16663
16685
  const rowSpacing = rowSpacingProp || spacing;
16664
16686
  const columnSpacing = columnSpacingProp || spacing;
16665
16687
  const columnsContext = React.useContext(GridContext$1);
@@ -16687,7 +16709,7 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
16687
16709
  }, breakpointsValues, {
16688
16710
  breakpoints: breakpoints.keys
16689
16711
  });
16690
- const classes = useUtilityClasses$c(ownerState);
16712
+ const classes = useUtilityClasses$d(ownerState);
16691
16713
  return /*#__PURE__*/jsx(GridContext$1.Provider, {
16692
16714
  value: columns,
16693
16715
  children: /*#__PURE__*/jsx(GridRoot, _extends({
@@ -16842,7 +16864,7 @@ if (process.env.NODE_ENV !== 'production') {
16842
16864
  }
16843
16865
  var Grid$1 = Grid;
16844
16866
 
16845
- const _excluded$e = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
16867
+ const _excluded$f = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
16846
16868
  function getScale(value) {
16847
16869
  return `scale(${value}, ${value ** 2})`;
16848
16870
  }
@@ -16886,7 +16908,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
16886
16908
  // eslint-disable-next-line react/prop-types
16887
16909
  TransitionComponent = Transition$1
16888
16910
  } = props,
16889
- other = _objectWithoutPropertiesLoose(props, _excluded$e);
16911
+ other = _objectWithoutPropertiesLoose(props, _excluded$f);
16890
16912
  const timer = React.useRef();
16891
16913
  const autoTimeout = React.useRef();
16892
16914
  const theme = useTheme();
@@ -17090,8 +17112,8 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
17090
17112
  Grow.muiSupportAuto = true;
17091
17113
  var Grow$1 = Grow;
17092
17114
 
17093
- const _excluded$d = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
17094
- const useUtilityClasses$b = ownerState => {
17115
+ const _excluded$e = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
17116
+ const useUtilityClasses$c = ownerState => {
17095
17117
  const {
17096
17118
  classes,
17097
17119
  disableUnderline
@@ -17203,8 +17225,8 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
17203
17225
  slots = {},
17204
17226
  type = 'text'
17205
17227
  } = props,
17206
- other = _objectWithoutPropertiesLoose(props, _excluded$d);
17207
- const classes = useUtilityClasses$b(props);
17228
+ other = _objectWithoutPropertiesLoose(props, _excluded$e);
17229
+ const classes = useUtilityClasses$c(props);
17208
17230
  const ownerState = {
17209
17231
  disableUnderline
17210
17232
  };
@@ -17420,6 +17442,169 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
17420
17442
  Input.muiName = 'Input';
17421
17443
  var Input$1 = Input;
17422
17444
 
17445
+ function getInputAdornmentUtilityClass(slot) {
17446
+ return generateUtilityClass('MuiInputAdornment', slot);
17447
+ }
17448
+ const inputAdornmentClasses = generateUtilityClasses('MuiInputAdornment', ['root', 'filled', 'standard', 'outlined', 'positionStart', 'positionEnd', 'disablePointerEvents', 'hiddenLabel', 'sizeSmall']);
17449
+ var inputAdornmentClasses$1 = inputAdornmentClasses;
17450
+
17451
+ var _span$2;
17452
+ const _excluded$d = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
17453
+ const overridesResolver$1 = (props, styles) => {
17454
+ const {
17455
+ ownerState
17456
+ } = props;
17457
+ return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
17458
+ };
17459
+ const useUtilityClasses$b = ownerState => {
17460
+ const {
17461
+ classes,
17462
+ disablePointerEvents,
17463
+ hiddenLabel,
17464
+ position,
17465
+ size,
17466
+ variant
17467
+ } = ownerState;
17468
+ const slots = {
17469
+ root: ['root', disablePointerEvents && 'disablePointerEvents', position && `position${capitalize(position)}`, variant, hiddenLabel && 'hiddenLabel', size && `size${capitalize(size)}`]
17470
+ };
17471
+ return composeClasses(slots, getInputAdornmentUtilityClass, classes);
17472
+ };
17473
+ const InputAdornmentRoot = styled$1('div', {
17474
+ name: 'MuiInputAdornment',
17475
+ slot: 'Root',
17476
+ overridesResolver: overridesResolver$1
17477
+ })(({
17478
+ theme,
17479
+ ownerState
17480
+ }) => _extends({
17481
+ display: 'flex',
17482
+ height: '0.01em',
17483
+ // Fix IE11 flexbox alignment. To remove at some point.
17484
+ maxHeight: '2em',
17485
+ alignItems: 'center',
17486
+ whiteSpace: 'nowrap',
17487
+ color: (theme.vars || theme).palette.action.active
17488
+ }, ownerState.variant === 'filled' && {
17489
+ // Styles applied to the root element if `variant="filled"`.
17490
+ [`&.${inputAdornmentClasses$1.positionStart}&:not(.${inputAdornmentClasses$1.hiddenLabel})`]: {
17491
+ marginTop: 16
17492
+ }
17493
+ }, ownerState.position === 'start' && {
17494
+ // Styles applied to the root element if `position="start"`.
17495
+ marginRight: 8
17496
+ }, ownerState.position === 'end' && {
17497
+ // Styles applied to the root element if `position="end"`.
17498
+ marginLeft: 8
17499
+ }, ownerState.disablePointerEvents === true && {
17500
+ // Styles applied to the root element if `disablePointerEvents={true}`.
17501
+ pointerEvents: 'none'
17502
+ }));
17503
+ const InputAdornment = /*#__PURE__*/React.forwardRef(function InputAdornment(inProps, ref) {
17504
+ const props = useThemeProps({
17505
+ props: inProps,
17506
+ name: 'MuiInputAdornment'
17507
+ });
17508
+ const {
17509
+ children,
17510
+ className,
17511
+ component = 'div',
17512
+ disablePointerEvents = false,
17513
+ disableTypography = false,
17514
+ position,
17515
+ variant: variantProp
17516
+ } = props,
17517
+ other = _objectWithoutPropertiesLoose(props, _excluded$d);
17518
+ const muiFormControl = useFormControl() || {};
17519
+ let variant = variantProp;
17520
+ if (variantProp && muiFormControl.variant) {
17521
+ if (process.env.NODE_ENV !== 'production') {
17522
+ if (variantProp === muiFormControl.variant) {
17523
+ console.error('MUI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');
17524
+ }
17525
+ }
17526
+ }
17527
+ if (muiFormControl && !variant) {
17528
+ variant = muiFormControl.variant;
17529
+ }
17530
+ const ownerState = _extends({}, props, {
17531
+ hiddenLabel: muiFormControl.hiddenLabel,
17532
+ size: muiFormControl.size,
17533
+ disablePointerEvents,
17534
+ position,
17535
+ variant
17536
+ });
17537
+ const classes = useUtilityClasses$b(ownerState);
17538
+ return /*#__PURE__*/jsx(FormControlContext$1.Provider, {
17539
+ value: null,
17540
+ children: /*#__PURE__*/jsx(InputAdornmentRoot, _extends({
17541
+ as: component,
17542
+ ownerState: ownerState,
17543
+ className: clsx(classes.root, className),
17544
+ ref: ref
17545
+ }, other, {
17546
+ children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/jsx(Typography$1, {
17547
+ color: "text.secondary",
17548
+ children: children
17549
+ }) : /*#__PURE__*/jsxs(React.Fragment, {
17550
+ children: [position === 'start' ? /* notranslate needed while Google Translate will not fix zero-width space issue */_span$2 || (_span$2 = /*#__PURE__*/jsx("span", {
17551
+ className: "notranslate",
17552
+ children: "\u200B"
17553
+ })) : null, children]
17554
+ })
17555
+ }))
17556
+ });
17557
+ });
17558
+ process.env.NODE_ENV !== "production" ? InputAdornment.propTypes /* remove-proptypes */ = {
17559
+ // ----------------------------- Warning --------------------------------
17560
+ // | These PropTypes are generated from the TypeScript type definitions |
17561
+ // | To update them edit the d.ts file and run "yarn proptypes" |
17562
+ // ----------------------------------------------------------------------
17563
+ /**
17564
+ * The content of the component, normally an `IconButton` or string.
17565
+ */
17566
+ children: PropTypes.node,
17567
+ /**
17568
+ * Override or extend the styles applied to the component.
17569
+ */
17570
+ classes: PropTypes.object,
17571
+ /**
17572
+ * @ignore
17573
+ */
17574
+ className: PropTypes.string,
17575
+ /**
17576
+ * The component used for the root node.
17577
+ * Either a string to use a HTML element or a component.
17578
+ */
17579
+ component: PropTypes.elementType,
17580
+ /**
17581
+ * Disable pointer events on the root.
17582
+ * This allows for the content of the adornment to focus the `input` on click.
17583
+ * @default false
17584
+ */
17585
+ disablePointerEvents: PropTypes.bool,
17586
+ /**
17587
+ * If children is a string then disable wrapping in a Typography component.
17588
+ * @default false
17589
+ */
17590
+ disableTypography: PropTypes.bool,
17591
+ /**
17592
+ * The position this adornment should appear relative to the `Input`.
17593
+ */
17594
+ position: PropTypes.oneOf(['end', 'start']).isRequired,
17595
+ /**
17596
+ * The system prop that allows defining system overrides as well as additional CSS styles.
17597
+ */
17598
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
17599
+ /**
17600
+ * The variant to use.
17601
+ * Note: If you are using the `TextField` component or the `FormControl` component
17602
+ * you do not have to set this manually.
17603
+ */
17604
+ variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])
17605
+ } : void 0;
17606
+ var InputAdornment$1 = InputAdornment;
17607
+
17423
17608
  function getInputLabelUtilityClasses(slot) {
17424
17609
  return generateUtilityClass('MuiInputLabel', slot);
17425
17610
  }
@@ -56097,6 +56282,53 @@ const MapWarningProperties = ({
56097
56282
  }, "Identifier: ", selectedFeatureProperties.identifier)));
56098
56283
  };
56099
56284
 
56285
+ /* *
56286
+ * Licensed under the Apache License, Version 2.0 (the "License");
56287
+ * you may not use this file except in compliance with the License.
56288
+ * You may obtain a copy of the License at
56289
+ *
56290
+ * http://www.apache.org/licenses/LICENSE-2.0
56291
+ *
56292
+ * Unless required by applicable law or agreed to in writing, software
56293
+ * distributed under the License is distributed on an "AS IS" BASIS,
56294
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56295
+ * See the License for the specific language governing permissions and
56296
+ * limitations under the License.
56297
+ *
56298
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
56299
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
56300
+ * */
56301
+ const SearchDialog = ({
56302
+ isOpen,
56303
+ onClose
56304
+ }) => {
56305
+ return isOpen ? /*#__PURE__*/React__default.createElement(Box$3, {
56306
+ tabIndex: -1,
56307
+ sx: {
56308
+ position: 'absolute',
56309
+ pointerEvents: 'all',
56310
+ zIndex: 999,
56311
+ left: 50,
56312
+ top: 15,
56313
+ backgroundColor: theme => theme.palette.background.paper
56314
+ }
56315
+ }, /*#__PURE__*/React__default.createElement(TextField$1, {
56316
+ id: "dummy-search-field",
56317
+ label: "Search",
56318
+ variant: "filled",
56319
+ InputProps: {
56320
+ endAdornment: /*#__PURE__*/React__default.createElement(InputAdornment$1, {
56321
+ position: "end"
56322
+ }, /*#__PURE__*/React__default.createElement(CustomIconButton, {
56323
+ tooltipTitle: "Close",
56324
+ edge: "end",
56325
+ onClick: onClose,
56326
+ size: "large"
56327
+ }, /*#__PURE__*/React__default.createElement(Close, null)))
56328
+ }
56329
+ })) : null;
56330
+ };
56331
+
56100
56332
  /* *
56101
56333
  * Licensed under the Apache License, Version 2.0 (the "License");
56102
56334
  * you may not use this file except in compliance with the License.
@@ -56658,4 +56890,4 @@ var publicLayers = /*#__PURE__*/Object.freeze({
56658
56890
  msgNaturalEUMETSAT: msgNaturalEUMETSAT
56659
56891
  });
56660
56892
 
56661
- export { CanvasComponent, DRAWMODE, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, Legend, LegendDialog, LegendLayout, MapControlButton, MapControls, MapDrawContainer, MapTime, MapView, MapViewLayer, MapWarningProperties, NEW_FEATURE_CREATED, NEW_LINESTRING_CREATED, NEW_POINT_CREATED, ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION, ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO, ReactMapView, ReactMapViewLayer, SelectField, StoryLayoutGrid, ZoomControls, addFeatureProperties, basicExampleDrawOptions, basicExampleMultipleShapeDrawOptions, checkHoverFeatures, createInterSections, currentlySupportedDrawModes, defaultBox, defaultDelete, defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultLayers, defaultModes, defaultPoint, defaultPolygon, defaultTimeFormat, distance, drawPolyStoryStyles, emptyGeoJSON, featureBox, featureMultiPoint, featurePoint, featurePolygon, formatTime, getDrawFunctionFromStore, getFeatureCollection, getGeoJSONPropertyValue, getGeoJson, getIcon, getTimeDimension, intersectGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isGeoJSONFeatureCreatedByTool, lineString, moveFeature, publicLayers, publicServices, registerDrawFunction, simpleBoxGeoJSON, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, useGeoJSON, useMapDrawTool };
56893
+ export { CanvasComponent, DRAWMODE, EDITMODE, EditModeButton as EditModeButtonField, FeatureLayers, GeoJSONTextField, Legend, LegendDialog, LegendLayout, MapControlButton, MapControls, MapDrawContainer, MapTime, MapView, MapViewLayer, MapWarningProperties, NEW_FEATURE_CREATED, NEW_LINESTRING_CREATED, NEW_POINT_CREATED, ORIGIN_REACTMAPVIEW_ONMAPCHANGEDIMENSION, ORIGIN_REACTMAPVIEW_ONUPDATELAYERINFO, ReactMapView, ReactMapViewLayer, SearchDialog, SelectField, StoryLayoutGrid, ZoomControls, addFeatureProperties, basicExampleDrawOptions, basicExampleMultipleShapeDrawOptions, checkHoverFeatures, createInterSections, currentlySupportedDrawModes, defaultBox, defaultDelete, defaultGeoJSONStyleProperties, defaultIntersectionStyleProperties, defaultLayers, defaultModes, defaultPoint, defaultPolygon, defaultTimeFormat, distance, drawPolyStoryStyles, emptyGeoJSON, featureBox, featureMultiPoint, featurePoint, featurePolygon, formatTime, getDrawFunctionFromStore, getFeatureCollection, getGeoJSONPropertyValue, getGeoJson, getIcon, getTimeDimension, intersectGeoJSONS, intersectionFeatureBE, intersectionFeatureNL, isGeoJSONFeatureCreatedByTool, lineString, moveFeature, publicLayers, publicServices, registerDrawFunction, simpleBoxGeoJSON, simpleFlightRouteLineStringGeoJSON, simpleFlightRoutePointsGeoJSON, simpleLineStringGeoJSON, simpleMultiPolygon, simplePointsGeojson, simplePolygonGeoJSON, simpleSmallLineStringGeoJSON, useGeoJSON, useMapDrawTool };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/webmap-react",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "GeoWeb react wrapper for webmap",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface SearchDialogProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ }
6
+ export declare const SearchDialog: React.FC<SearchDialogProps>;
@@ -0,0 +1 @@
1
+ export * from './SearchDialog';
@@ -7,3 +7,4 @@ export * from './MapView';
7
7
  export * from './MapTime';
8
8
  export * from './MapControls';
9
9
  export * from './MapWarning';
10
+ export * from './Search';