@opengeoweb/form-fields 9.0.0 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.esm.js +30 -28
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -23614,7 +23614,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
23614
23614
  return target;
23615
23615
  }
23616
23616
 
23617
- function r$1(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$1(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$1(e))&&(n&&(n+=" "),n+=t);return n}
23617
+ 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}
23618
23618
 
23619
23619
  var propTypes = {exports: {}};
23620
23620
 
@@ -23631,11 +23631,11 @@ var reactIs_production_min = {};
23631
23631
  * LICENSE file in the root directory of this source tree.
23632
23632
  */
23633
23633
  var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
23634
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
23635
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
23634
+ Symbol.for("react.suspense_list"):60120,r$1=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
23635
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r$1:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r$1;reactIs_production_min.Portal=d;
23636
23636
  reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
23637
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
23638
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
23637
+ reactIs_production_min.isMemo=function(a){return z(a)===r$1};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
23638
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$1||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
23639
23639
 
23640
23640
  var reactIs_development = {};
23641
23641
 
@@ -25293,6 +25293,8 @@ function resolveComponentProps(componentProps, ownerState, slotState) {
25293
25293
  return componentProps;
25294
25294
  }
25295
25295
 
25296
+ 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}
25297
+
25296
25298
  /**
25297
25299
  * Removes event handlers from the given object.
25298
25300
  * A field is considered an event handler if it is a function with a name beginning with `on`.
@@ -25609,7 +25611,7 @@ const PickersArrowSwitcher = /*#__PURE__*/React.forwardRef(function PickersArrow
25609
25611
  rightArrowIconProps = _objectWithoutPropertiesLoose(_useSlotProps2, _excluded3$2);
25610
25612
  return /*#__PURE__*/jsxs(PickersArrowSwitcherRoot, _extends({
25611
25613
  ref: ref,
25612
- className: clsx(classes.root, className),
25614
+ className: clsx$1(classes.root, className),
25613
25615
  ownerState: ownerState
25614
25616
  }, other, {
25615
25617
  children: [/*#__PURE__*/jsx(PreviousIconButton, _extends({}, previousIconButtonProps, {
@@ -26030,7 +26032,7 @@ function ClockPointer(inProps) {
26030
26032
  };
26031
26033
  return /*#__PURE__*/jsx(ClockPointerRoot, _extends({
26032
26034
  style: getAngleStyle(),
26033
- className: clsx(className, classes.root),
26035
+ className: clsx$1(className, classes.root),
26034
26036
  ownerState: ownerState
26035
26037
  }, other, {
26036
26038
  children: /*#__PURE__*/jsx(ClockPointerThumb, {
@@ -26433,7 +26435,7 @@ function Clock(inProps) {
26433
26435
  };
26434
26436
 
26435
26437
  return /*#__PURE__*/jsxs(ClockRoot, {
26436
- className: clsx(className, classes.root),
26438
+ className: clsx$1(className, classes.root),
26437
26439
  children: [/*#__PURE__*/jsxs(ClockClock, {
26438
26440
  className: classes.clock,
26439
26441
  children: [/*#__PURE__*/jsx(ClockSquareMask, {
@@ -26569,7 +26571,7 @@ function ClockNumber(inProps) {
26569
26571
  const x = Math.round(Math.cos(angle) * length);
26570
26572
  const y = Math.round(Math.sin(angle) * length);
26571
26573
  return /*#__PURE__*/jsx(ClockNumberRoot, _extends({
26572
- className: clsx(className, classes.root),
26574
+ className: clsx$1(className, classes.root),
26573
26575
  "aria-disabled": disabled ? true : undefined,
26574
26576
  "aria-selected": selected ? true : undefined,
26575
26577
  role: "option",
@@ -27839,7 +27841,7 @@ const TimeClock = /*#__PURE__*/React.forwardRef(function TimeClock(inProps, ref)
27839
27841
  const classes = useUtilityClasses$l(ownerState);
27840
27842
  return /*#__PURE__*/jsxs(TimeClockRoot, _extends({
27841
27843
  ref: ref,
27842
- className: clsx(classes.root, className),
27844
+ className: clsx$1(classes.root, className),
27843
27845
  ownerState: ownerState
27844
27846
  }, other, {
27845
27847
  children: [/*#__PURE__*/jsx(Clock, _extends({
@@ -28260,7 +28262,7 @@ const DigitalClock = /*#__PURE__*/React.forwardRef(function DigitalClock(inProps
28260
28262
  }, [valueOrReferenceDate, timeStep, utils]);
28261
28263
  return /*#__PURE__*/jsx(DigitalClockRoot, _extends({
28262
28264
  ref: handleRef,
28263
- className: clsx(classes.root, className),
28265
+ className: clsx$1(classes.root, className),
28264
28266
  ownerState: ownerState
28265
28267
  }, other, {
28266
28268
  children: /*#__PURE__*/jsx(DigitalClockList, {
@@ -28601,7 +28603,7 @@ const MultiSectionDigitalClockSection = /*#__PURE__*/React.forwardRef(function M
28601
28603
  });
28602
28604
  return /*#__PURE__*/jsx(MultiSectionDigitalClockSectionRoot, _extends({
28603
28605
  ref: handleRef,
28604
- className: clsx(classes.root, className),
28606
+ className: clsx$1(classes.root, className),
28605
28607
  ownerState: ownerState,
28606
28608
  autoFocusItem: autoFocus && active,
28607
28609
  role: "listbox"
@@ -28989,7 +28991,7 @@ const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function MultiSec
28989
28991
  const classes = useUtilityClasses$i(ownerState);
28990
28992
  return /*#__PURE__*/jsx(MultiSectionDigitalClockRoot, _extends({
28991
28993
  ref: ref,
28992
- className: clsx(classes.root, className),
28994
+ className: clsx$1(classes.root, className),
28993
28995
  ownerState: ownerState,
28994
28996
  role: "group"
28995
28997
  }, other, {
@@ -29364,13 +29366,13 @@ const PickersDayRaw = /*#__PURE__*/React.forwardRef(function PickersDay(inProps,
29364
29366
  };
29365
29367
  if (outsideCurrentMonth && !showDaysOutsideCurrentMonth) {
29366
29368
  return /*#__PURE__*/jsx(PickersDayFiller, {
29367
- className: clsx(classes.root, classes.hiddenDaySpacingFiller, className),
29369
+ className: clsx$1(classes.root, classes.hiddenDaySpacingFiller, className),
29368
29370
  ownerState: ownerState,
29369
29371
  role: other.role
29370
29372
  });
29371
29373
  }
29372
29374
  return /*#__PURE__*/jsx(PickersDayRoot, _extends({
29373
- className: clsx(classes.root, className),
29375
+ className: clsx$1(classes.root, className),
29374
29376
  ref: handleRef,
29375
29377
  centerRipple: true,
29376
29378
  disabled: disabled,
@@ -31062,7 +31064,7 @@ const PickersToolbar = /*#__PURE__*/React.forwardRef(function PickersToolbar(inP
31062
31064
  }
31063
31065
  return /*#__PURE__*/jsxs(PickersToolbarRoot, {
31064
31066
  ref: ref,
31065
- className: clsx(classes.root, className),
31067
+ className: clsx$1(classes.root, className),
31066
31068
  ownerState: ownerState,
31067
31069
  children: [/*#__PURE__*/jsx(Typography, {
31068
31070
  color: "text.secondary",
@@ -31121,7 +31123,7 @@ const PickersToolbarText = /*#__PURE__*/React.forwardRef(function PickersToolbar
31121
31123
  const classes = useUtilityClasses$e(props);
31122
31124
  return /*#__PURE__*/jsx(PickersToolbarTextRoot, _extends({
31123
31125
  ref: ref,
31124
- className: clsx(className, classes.root),
31126
+ className: clsx$1(className, classes.root),
31125
31127
  component: "span"
31126
31128
  }, other, {
31127
31129
  children: value
@@ -31166,7 +31168,7 @@ const PickersToolbarButton = /*#__PURE__*/React.forwardRef(function PickersToolb
31166
31168
  return /*#__PURE__*/jsx(PickersToolbarButtonRoot, _extends({
31167
31169
  variant: "text",
31168
31170
  ref: ref,
31169
- className: clsx(className, classes.root)
31171
+ className: clsx$1(className, classes.root)
31170
31172
  }, width ? {
31171
31173
  sx: {
31172
31174
  width
@@ -32267,7 +32269,7 @@ const PickersLayout = function PickersLayout(inProps) {
32267
32269
  return /*#__PURE__*/jsxs(PickersLayoutRoot, {
32268
32270
  ref: ref,
32269
32271
  sx: sx,
32270
- className: clsx(className, classes.root),
32272
+ className: clsx$1(className, classes.root),
32271
32273
  ownerState: ownerState,
32272
32274
  children: [isLandscape ? shortcuts : toolbar, isLandscape ? toolbar : shortcuts, /*#__PURE__*/jsx(PickersLayoutContentWrapper, {
32273
32275
  className: classes.contentWrapper,
@@ -33940,7 +33942,7 @@ function PickersSlideTransition(inProps) {
33940
33942
  const theme = useTheme$2();
33941
33943
  if (reduceAnimations) {
33942
33944
  return /*#__PURE__*/jsx("div", {
33943
- className: clsx(classes.root, className),
33945
+ className: clsx$1(classes.root, className),
33944
33946
  children: children
33945
33947
  });
33946
33948
  }
@@ -33951,7 +33953,7 @@ function PickersSlideTransition(inProps) {
33951
33953
  exitActive: classes.exitActive
33952
33954
  };
33953
33955
  return /*#__PURE__*/jsx(PickersSlideTransitionRoot, {
33954
- className: clsx(classes.root, className),
33956
+ className: clsx$1(classes.root, className),
33955
33957
  childFactory: element => /*#__PURE__*/React.cloneElement(element, {
33956
33958
  classNames: transitionClasses
33957
33959
  }),
@@ -34410,7 +34412,7 @@ function DayCalendar(inProps) {
34410
34412
  onExited: onMonthSwitchingAnimationEnd,
34411
34413
  reduceAnimations: reduceAnimations,
34412
34414
  slideDirection: slideDirection,
34413
- className: clsx(className, classes.slideTransition)
34415
+ className: clsx$1(className, classes.slideTransition)
34414
34416
  }, TransitionProps, {
34415
34417
  nodeRef: slideNodeRef,
34416
34418
  children: /*#__PURE__*/jsx(PickersCalendarWeekContainer, {
@@ -35130,7 +35132,7 @@ function PickersFadeTransitionGroup(inProps) {
35130
35132
  return children;
35131
35133
  }
35132
35134
  return /*#__PURE__*/jsx(PickersFadeTransitionGroupRoot, {
35133
- className: clsx(classes.root, className),
35135
+ className: clsx$1(classes.root, className),
35134
35136
  children: /*#__PURE__*/jsx(Fade, {
35135
35137
  appear: false,
35136
35138
  mountOnEnter: true,
@@ -38621,7 +38623,7 @@ const MonthCalendar = /*#__PURE__*/React.forwardRef(function MonthCalendar(inPro
38621
38623
  });
38622
38624
  return /*#__PURE__*/jsx(MonthCalendarRoot, _extends({
38623
38625
  ref: ref,
38624
- className: clsx(classes.root, className),
38626
+ className: clsx$1(classes.root, className),
38625
38627
  ownerState: ownerState,
38626
38628
  role: "radiogroup",
38627
38629
  "aria-labelledby": gridLabelId
@@ -38854,7 +38856,7 @@ const PickersYear = /*#__PURE__*/React.memo(function PickersYear(inProps) {
38854
38856
  }
38855
38857
  }, [autoFocus]);
38856
38858
  return /*#__PURE__*/jsx(PickersYearRoot, _extends({
38857
- className: clsx(classes.root, className),
38859
+ className: clsx$1(classes.root, className),
38858
38860
  ownerState: props
38859
38861
  }, other, {
38860
38862
  children: /*#__PURE__*/jsx(PickersYearButton, {
@@ -39098,7 +39100,7 @@ const YearCalendar = /*#__PURE__*/React.forwardRef(function YearCalendar(inProps
39098
39100
  }, [autoFocus]);
39099
39101
  return /*#__PURE__*/jsx(YearCalendarRoot, _extends({
39100
39102
  ref: handleRef,
39101
- className: clsx(classes.root, className),
39103
+ className: clsx$1(classes.root, className),
39102
39104
  ownerState: ownerState,
39103
39105
  role: "radiogroup",
39104
39106
  "aria-labelledby": gridLabelId
@@ -39391,7 +39393,7 @@ const PickersCalendarHeader = /*#__PURE__*/React.forwardRef(function PickersCale
39391
39393
  }
39392
39394
  return /*#__PURE__*/jsxs(PickersCalendarHeaderRoot, _extends({}, other, {
39393
39395
  ownerState: ownerState,
39394
- className: clsx(className, classes.root),
39396
+ className: clsx$1(className, classes.root),
39395
39397
  ref: ref,
39396
39398
  children: [/*#__PURE__*/jsxs(PickersCalendarHeaderLabelContainer, {
39397
39399
  role: "presentation",
@@ -39760,7 +39762,7 @@ const DateCalendar = /*#__PURE__*/React.forwardRef(function DateCalendar(inProps
39760
39762
  const selectedDays = React.useMemo(() => [value], [value]);
39761
39763
  return /*#__PURE__*/jsxs(DateCalendarRoot, _extends({
39762
39764
  ref: ref,
39763
- className: clsx(classes.root, className),
39765
+ className: clsx$1(classes.root, className),
39764
39766
  ownerState: ownerState
39765
39767
  }, other, {
39766
39768
  children: [/*#__PURE__*/jsx(CalendarHeader, _extends({}, calendarHeaderProps)), /*#__PURE__*/jsx(DateCalendarViewTransitionContainer, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/form-fields",
3
- "version": "9.0.0",
3
+ "version": "9.2.0",
4
4
  "description": "GeoWeb form-fields library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {