@oliasoft-open-source/react-ui-library 4.15.2 → 4.15.3-beta-2

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/dist/index.js CHANGED
@@ -199,21 +199,27 @@ function _objectWithoutPropertiesLoose$5(r2, e2) {
199
199
  }
200
200
  return t;
201
201
  }
202
- function _extends$4() {
203
- return _extends$4 = Object.assign ? Object.assign.bind() : function(n2) {
204
- for (var e2 = 1; e2 < arguments.length; e2++) {
205
- var t = arguments[e2];
206
- for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
202
+ var _extends$6 = { exports: {} };
203
+ var hasRequired_extends;
204
+ function require_extends() {
205
+ if (hasRequired_extends) return _extends$6.exports;
206
+ hasRequired_extends = 1;
207
+ (function(module) {
208
+ function _extends3() {
209
+ return module.exports = _extends3 = Object.assign ? Object.assign.bind() : function(n2) {
210
+ for (var e2 = 1; e2 < arguments.length; e2++) {
211
+ var t = arguments[e2];
212
+ for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
213
+ }
214
+ return n2;
215
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends3.apply(null, arguments);
207
216
  }
208
- return n2;
209
- }, _extends$4.apply(null, arguments);
217
+ module.exports = _extends3, module.exports.__esModule = true, module.exports["default"] = module.exports;
218
+ })(_extends$6);
219
+ return _extends$6.exports;
210
220
  }
211
- const _extends$5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
212
- __proto__: null,
213
- get default() {
214
- return _extends$4;
215
- }
216
- }, Symbol.toStringTag, { value: "Module" }));
221
+ var _extendsExports = require_extends();
222
+ const _extends$5 = /* @__PURE__ */ getDefaultExportFromCjs(_extendsExports);
217
223
  function _setPrototypeOf$3(t, e2) {
218
224
  return _setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e3) {
219
225
  return t2.__proto__ = e3, t2;
@@ -792,7 +798,7 @@ var ReactSVG = /* @__PURE__ */ function(_React$Component) {
792
798
  };
793
799
  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
794
800
  var _this3 = this;
795
- if (shallowDiffers(_extends$4({}, prevProps), this.props)) {
801
+ if (shallowDiffers(_extends$5({}, prevProps), this.props)) {
796
802
  this.setState(function() {
797
803
  return _this3.initialState;
798
804
  }, function() {
@@ -820,7 +826,7 @@ var ReactSVG = /* @__PURE__ */ function(_React$Component) {
820
826
  _this$props2.useRequestCache;
821
827
  var wrapper2 = _this$props2.wrapper, rest = _objectWithoutPropertiesLoose$5(_this$props2, _excluded$b);
822
828
  var Wrapper2 = wrapper2;
823
- return /* @__PURE__ */ React$4.createElement(Wrapper2, _extends$4({}, rest, {
829
+ return /* @__PURE__ */ React$4.createElement(Wrapper2, _extends$5({}, rest, {
824
830
  ref: this.refCallback
825
831
  }, wrapper2 === "svg" ? {
826
832
  xmlns: svgNamespace,
@@ -2235,8 +2241,8 @@ function _createClass(Constructor, protoProps, staticProps) {
2235
2241
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
2236
2242
  return Constructor;
2237
2243
  }
2238
- function _extends$3() {
2239
- _extends$3 = Object.assign || function(target) {
2244
+ function _extends$4() {
2245
+ _extends$4 = Object.assign || function(target) {
2240
2246
  for (var i = 1; i < arguments.length; i++) {
2241
2247
  var source = arguments[i];
2242
2248
  for (var key2 in source) {
@@ -2247,7 +2253,7 @@ function _extends$3() {
2247
2253
  }
2248
2254
  return target;
2249
2255
  };
2250
- return _extends$3.apply(this, arguments);
2256
+ return _extends$4.apply(this, arguments);
2251
2257
  }
2252
2258
  function _inheritsLoose$2(subClass, superClass) {
2253
2259
  subClass.prototype = Object.create(superClass.prototype);
@@ -2571,7 +2577,7 @@ function useTrackElements(_ref) {
2571
2577
  var layerRef = useTrackRef(useCallback$1(function(layer2) {
2572
2578
  var _get3 = get4(), previousLayer = _get3.layer;
2573
2579
  set2(function(state) {
2574
- return _extends$3({}, state, {
2580
+ return _extends$4({}, state, {
2575
2581
  layer: layer2
2576
2582
  });
2577
2583
  });
@@ -2594,7 +2600,7 @@ function useTrackElements(_ref) {
2594
2600
  var scrollContainers = getScrollContainers(trigger2);
2595
2601
  var _get4 = get4(), previousTrigger = _get4.trigger;
2596
2602
  set2(function(state) {
2597
- return _extends$3({}, state, {
2603
+ return _extends$4({}, state, {
2598
2604
  trigger: trigger2,
2599
2605
  scrollContainers
2600
2606
  });
@@ -2607,7 +2613,7 @@ function useTrackElements(_ref) {
2607
2613
  return;
2608
2614
  }
2609
2615
  set2(function(state) {
2610
- return _extends$3({}, state, {
2616
+ return _extends$4({}, state, {
2611
2617
  scrollContainers: getScrollContainers(triggerOptionParent)
2612
2618
  });
2613
2619
  });
@@ -2774,7 +2780,7 @@ var BoundSide = {
2774
2780
  left: /* @__PURE__ */ createSide("left"),
2775
2781
  right: /* @__PURE__ */ createSide("right")
2776
2782
  };
2777
- var Side = /* @__PURE__ */ _extends$3({}, BoundSide, {
2783
+ var Side = /* @__PURE__ */ _extends$4({}, BoundSide, {
2778
2784
  center: /* @__PURE__ */ createSide("center")
2779
2785
  });
2780
2786
  var SIDES = ["top", "left", "bottom", "right"];
@@ -2870,7 +2876,7 @@ var Bounds = /* @__PURE__ */ function() {
2870
2876
  var _environment$getCompu = environment2.getComputedStyle(element), width2 = _environment$getCompu.width, height2 = _environment$getCompu.height, boxSizing = _environment$getCompu.boxSizing, borderLeft = _environment$getCompu.borderLeft, borderRight = _environment$getCompu.borderRight, borderTop = _environment$getCompu.borderTop, borderBottom = _environment$getCompu.borderBottom, paddingLeft = _environment$getCompu.paddingLeft, paddingRight = _environment$getCompu.paddingRight, paddingTop = _environment$getCompu.paddingTop, paddingBottom = _environment$getCompu.paddingBottom;
2871
2877
  var boxWidth = boxSizing === "border-box" ? getPixelValue(width2) : sumOfPropertyValues(width2, borderLeft, borderRight, paddingLeft, paddingRight);
2872
2878
  var boxHeight = boxSizing === "border-box" ? getPixelValue(height2) : sumOfPropertyValues(height2, borderTop, borderBottom, paddingTop, paddingBottom);
2873
- bounds = new Bounds2(_extends$3({}, bounds, {
2879
+ bounds = new Bounds2(_extends$4({}, bounds, {
2874
2880
  width: boxWidth,
2875
2881
  height: boxHeight
2876
2882
  }));
@@ -2917,7 +2923,7 @@ var Bounds = /* @__PURE__ */ function() {
2917
2923
  };
2918
2924
  _proto.merge = function merge(partialBoundsOrMergeFn) {
2919
2925
  var current = this.toObject();
2920
- return new Bounds2(_extends$3({}, current, typeof partialBoundsOrMergeFn === "function" ? partialBoundsOrMergeFn(current) : partialBoundsOrMergeFn));
2926
+ return new Bounds2(_extends$4({}, current, typeof partialBoundsOrMergeFn === "function" ? partialBoundsOrMergeFn(current) : partialBoundsOrMergeFn));
2921
2927
  };
2922
2928
  _proto.substract = function substract(bounds) {
2923
2929
  var result = this.toObject();
@@ -2984,7 +2990,7 @@ var Placement = /* @__PURE__ */ function() {
2984
2990
  typeof layerDimensions === "function" ? layerDimensions(this.primary.prop) : layerDimensions
2985
2991
  );
2986
2992
  this.subjectsBounds = subjectBounds.merge({
2987
- layer: _extends$3({}, subjectBounds.layer, dimensions)
2993
+ layer: _extends$4({}, subjectBounds.layer, dimensions)
2988
2994
  });
2989
2995
  };
2990
2996
  _proto.getLayerBounds = function getLayerBounds(secondaryOffset) {
@@ -3159,7 +3165,7 @@ function getArrowStyle(subjectsBounds, placement, arrowOffset) {
3159
3165
  var primarySide = placement.primary.prop;
3160
3166
  var secondarySide = placement.primary.oppositeCssProp;
3161
3167
  var secondaryValue = triggerIsBigger ? layer2[sizeProperty] / 2 + negativeOffset : trigger2[secondarySide] + trigger2[sizeProperty] / 2 - layer2[secondarySide];
3162
- return _extends$3({}, STYLE_BASE, (_extends22 = {}, _extends22[primarySide] = "100%", _extends22[secondarySide] = limit(secondaryValue, min, max), _extends22));
3168
+ return _extends$4({}, STYLE_BASE, (_extends22 = {}, _extends22[primarySide] = "100%", _extends22[secondarySide] = limit(secondaryValue, min, max), _extends22));
3163
3169
  }
3164
3170
  var Placements = /* @__PURE__ */ function() {
3165
3171
  function Placements2(placements, config2, subjectsBounds) {
@@ -3288,11 +3294,11 @@ var Placements = /* @__PURE__ */ function() {
3288
3294
  var arrow2 = getArrowStyle(this.subjectsBounds.merge({
3289
3295
  layer: layerBounds
3290
3296
  }), placement, this.config.arrowOffset);
3291
- var layer2 = this.config.overflowContainer ? _extends$3({}, layerStyleBase, {
3297
+ var layer2 = this.config.overflowContainer ? _extends$4({}, layerStyleBase, {
3292
3298
  position: "fixed",
3293
3299
  top: layerBounds.top,
3294
3300
  left: layerBounds.left
3295
- }) : _extends$3({}, layerStyleBase, {
3301
+ }) : _extends$4({}, layerStyleBase, {
3296
3302
  position: "absolute",
3297
3303
  top: layerBounds.top - this.subjectsBounds.parent.top + scrollOffsets.top - borderOffsets.top,
3298
3304
  left: layerBounds.left - this.subjectsBounds.parent.left + scrollOffsets.left - borderOffsets.left
@@ -3367,7 +3373,7 @@ var SubjectsBounds = /* @__PURE__ */ function() {
3367
3373
  };
3368
3374
  var _proto = SubjectsBounds2.prototype;
3369
3375
  _proto.merge = function merge(subjectsBounds) {
3370
- return new SubjectsBounds2(_extends$3({}, this, subjectsBounds), this.overflowContainer);
3376
+ return new SubjectsBounds2(_extends$4({}, this, subjectsBounds), this.overflowContainer);
3371
3377
  };
3372
3378
  _proto.offsetsToScrollContainers = function offsetsToScrollContainers(subject, allContainers) {
3373
3379
  if (allContainers === void 0) {
@@ -3602,10 +3608,10 @@ var Arrow = /* @__PURE__ */ forwardRef(function Arrow2(_ref2, ref2) {
3602
3608
  var sizeA = size2;
3603
3609
  var sizeB = getWidthBasedOnAngle(angle, size2) * 2;
3604
3610
  var maxSize = Math.max(sizeA, sizeB);
3605
- return createElement("svg", _extends$3({
3611
+ return createElement("svg", _extends$4({
3606
3612
  ref: ref2
3607
3613
  }, rest, {
3608
- style: _extends$3({}, style2, {
3614
+ style: _extends$4({}, style2, {
3609
3615
  transform: "translate" + (side.isHorizontal ? "Y" : "X") + "(-50%)"
3610
3616
  }),
3611
3617
  width: maxSize,
@@ -8267,8 +8273,8 @@ function _interopRequireWildcard$2(obj, nodeInterop) {
8267
8273
  }
8268
8274
  return newObj;
8269
8275
  }
8270
- function _extends$2() {
8271
- _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
8276
+ function _extends$3() {
8277
+ _extends$3 = Object.assign ? Object.assign.bind() : function(target) {
8272
8278
  for (var i = 1; i < arguments.length; i++) {
8273
8279
  var source = arguments[i];
8274
8280
  for (var key2 in source) {
@@ -8279,7 +8285,7 @@ function _extends$2() {
8279
8285
  }
8280
8286
  return target;
8281
8287
  };
8282
- return _extends$2.apply(this, arguments);
8288
+ return _extends$3.apply(this, arguments);
8283
8289
  }
8284
8290
  function _objectWithoutPropertiesLoose$3(source, excluded) {
8285
8291
  if (source == null) return {};
@@ -8484,7 +8490,7 @@ var Resizable$1 = /* @__PURE__ */ function(_React$Component) {
8484
8490
  children: [].concat(children.props.children, resizeHandles.map(function(handleAxis) {
8485
8491
  var _this3$handleRefs$han;
8486
8492
  var ref2 = (_this3$handleRefs$han = _this3.handleRefs[handleAxis]) != null ? _this3$handleRefs$han : _this3.handleRefs[handleAxis] = /* @__PURE__ */ React$2.createRef();
8487
- return /* @__PURE__ */ React$2.createElement(_reactDraggable.DraggableCore, _extends$2({}, draggableOpts, {
8493
+ return /* @__PURE__ */ React$2.createElement(_reactDraggable.DraggableCore, _extends$3({}, draggableOpts, {
8488
8494
  nodeRef: ref2,
8489
8495
  key: "resizableHandle-" + handleAxis,
8490
8496
  onStop: _this3.resizeHandler("onResizeStop", handleAxis),
@@ -8555,8 +8561,8 @@ function _interopRequireWildcard$1(obj, nodeInterop) {
8555
8561
  }
8556
8562
  return newObj;
8557
8563
  }
8558
- function _extends$1() {
8559
- _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
8564
+ function _extends$2() {
8565
+ _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
8560
8566
  for (var i = 1; i < arguments.length; i++) {
8561
8567
  var source = arguments[i];
8562
8568
  for (var key2 in source) {
@@ -8567,7 +8573,7 @@ function _extends$1() {
8567
8573
  }
8568
8574
  return target;
8569
8575
  };
8570
- return _extends$1.apply(this, arguments);
8576
+ return _extends$2.apply(this, arguments);
8571
8577
  }
8572
8578
  function ownKeys$1(object2, enumerableOnly) {
8573
8579
  var keys2 = Object.keys(object2);
@@ -8698,7 +8704,7 @@ var ResizableBox = /* @__PURE__ */ function(_React$Component) {
8698
8704
  resizeHandles,
8699
8705
  transformScale,
8700
8706
  width: this.state.width
8701
- }, /* @__PURE__ */ React$1.createElement("div", _extends$1({}, props, {
8707
+ }, /* @__PURE__ */ React$1.createElement("div", _extends$2({}, props, {
8702
8708
  style: _objectSpread$5(_objectSpread$5({}, style2), {}, {
8703
8709
  width: this.state.width + "px",
8704
8710
  height: this.state.height + "px"
@@ -9491,6 +9497,15 @@ const InputGroupAddon = ({
9491
9497
  })();
9492
9498
  return /* @__PURE__ */ jsx("span", { className: cx$2(styles$u.addon, order2, small2 ? styles$u.small : ""), children });
9493
9499
  };
9500
+ function _extends$1() {
9501
+ return _extends$1 = Object.assign ? Object.assign.bind() : function(n2) {
9502
+ for (var e2 = 1; e2 < arguments.length; e2++) {
9503
+ var t = arguments[e2];
9504
+ for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
9505
+ }
9506
+ return n2;
9507
+ }, _extends$1.apply(null, arguments);
9508
+ }
9494
9509
  function _typeof$2(o) {
9495
9510
  "@babel/helpers - typeof";
9496
9511
  return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
@@ -10752,7 +10767,7 @@ function connectAdvanced(selectorFactory, _ref) {
10752
10767
  }
10753
10768
  var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || "Component";
10754
10769
  var displayName = getDisplayName(wrappedComponentName);
10755
- var selectorFactoryOptions = _extends$4({}, connectOptions, {
10770
+ var selectorFactoryOptions = _extends$1({}, connectOptions, {
10756
10771
  getDisplayName,
10757
10772
  methodName,
10758
10773
  renderCountProp,
@@ -10797,7 +10812,7 @@ function connectAdvanced(selectorFactory, _ref) {
10797
10812
  if (didStoreComeFromProps) {
10798
10813
  return contextValue;
10799
10814
  }
10800
- return _extends$4({}, contextValue, {
10815
+ return _extends$1({}, contextValue, {
10801
10816
  subscription
10802
10817
  });
10803
10818
  }, [didStoreComeFromProps, contextValue, subscription]);
@@ -10818,7 +10833,7 @@ function connectAdvanced(selectorFactory, _ref) {
10818
10833
  useIsomorphicLayoutEffectWithArgs(captureWrapperProps, [lastWrapperProps, lastChildProps, renderIsScheduled, wrapperProps, actualChildProps, childPropsFromStoreUpdate, notifyNestedSubs]);
10819
10834
  useIsomorphicLayoutEffectWithArgs(subscribeUpdates, [shouldHandleStateChanges, store, subscription, childPropsSelector, lastWrapperProps, lastChildProps, renderIsScheduled, childPropsFromStoreUpdate, notifyNestedSubs, forceComponentUpdateDispatch], [store, subscription, childPropsSelector]);
10820
10835
  var renderedWrappedComponent = useMemo$1(function() {
10821
- return /* @__PURE__ */ React__default.createElement(WrappedComponent, _extends$4({}, actualChildProps, {
10836
+ return /* @__PURE__ */ React__default.createElement(WrappedComponent, _extends$1({}, actualChildProps, {
10822
10837
  ref: reactReduxForwardedRef
10823
10838
  }));
10824
10839
  }, [reactReduxForwardedRef, WrappedComponent, actualChildProps]);
@@ -10837,7 +10852,7 @@ function connectAdvanced(selectorFactory, _ref) {
10837
10852
  Connect.displayName = ConnectFunction.displayName = displayName;
10838
10853
  if (forwardRef2) {
10839
10854
  var forwarded = React__default.forwardRef(function forwardConnectRef(props, ref2) {
10840
- return /* @__PURE__ */ React__default.createElement(Connect, _extends$4({}, props, {
10855
+ return /* @__PURE__ */ React__default.createElement(Connect, _extends$1({}, props, {
10841
10856
  reactReduxForwardedRef: ref2
10842
10857
  }));
10843
10858
  });
@@ -10970,7 +10985,7 @@ function whenMapStateToPropsIsMissing(mapStateToProps) {
10970
10985
  }
10971
10986
  const defaultMapStateToPropsFactories = [whenMapStateToPropsIsFunction, whenMapStateToPropsIsMissing];
10972
10987
  function defaultMergeProps(stateProps, dispatchProps, ownProps) {
10973
- return _extends$4({}, ownProps, stateProps, dispatchProps);
10988
+ return _extends$1({}, ownProps, stateProps, dispatchProps);
10974
10989
  }
10975
10990
  function wrapMergePropsFunc(mergeProps) {
10976
10991
  return function initMergePropsProxy(dispatch, _ref) {
@@ -11103,7 +11118,7 @@ function createConnect(_temp) {
11103
11118
  var initMapStateToProps = match(mapStateToProps, mapStateToPropsFactories, "mapStateToProps");
11104
11119
  var initMapDispatchToProps = match(mapDispatchToProps2, mapDispatchToPropsFactories, "mapDispatchToProps");
11105
11120
  var initMergeProps = match(mergeProps, mergePropsFactories, "mergeProps");
11106
- return connectHOC(selectorFactory, _extends$4({
11121
+ return connectHOC(selectorFactory, _extends$1({
11107
11122
  // used in error messages
11108
11123
  methodName: "connect",
11109
11124
  // used to compute Connect's displayName from the wrapped component's displayName.
@@ -11402,7 +11417,7 @@ var error$1 = log.bind(null, "error");
11402
11417
  function noop$1() {
11403
11418
  }
11404
11419
  function getOptions(shared2, fromBinding) {
11405
- return _extends$4({}, shared2, {}, fromBinding);
11420
+ return _extends$1({}, shared2, {}, fromBinding);
11406
11421
  }
11407
11422
  function bindEvents(el2, bindings, sharedOptions) {
11408
11423
  var unbindings = bindings.map(function(binding) {
@@ -11648,7 +11663,7 @@ var scroll$2 = function scroll(target, frame2) {
11648
11663
  var increase = function increase2(target, axis, withPlaceholder) {
11649
11664
  if (withPlaceholder && withPlaceholder.increasedBy) {
11650
11665
  var _extends22;
11651
- return _extends$4({}, target, (_extends22 = {}, _extends22[axis.end] = target[axis.end] + withPlaceholder.increasedBy[axis.line], _extends22));
11666
+ return _extends$1({}, target, (_extends22 = {}, _extends22[axis.end] = target[axis.end] + withPlaceholder.increasedBy[axis.line], _extends22));
11652
11667
  }
11653
11668
  return target;
11654
11669
  };
@@ -11674,7 +11689,7 @@ var scrollDroppable = function(droppable2, newScroll) {
11674
11689
  var scrollable = droppable2.frame;
11675
11690
  var scrollDiff = subtract$1(newScroll, scrollable.scroll.initial);
11676
11691
  var scrollDisplacement = negate(scrollDiff);
11677
- var frame2 = _extends$4({}, scrollable, {
11692
+ var frame2 = _extends$1({}, scrollable, {
11678
11693
  scroll: {
11679
11694
  initial: scrollable.scroll.initial,
11680
11695
  current: newScroll,
@@ -11691,7 +11706,7 @@ var scrollDroppable = function(droppable2, newScroll) {
11691
11706
  axis: droppable2.axis,
11692
11707
  frame: frame2
11693
11708
  });
11694
- var result = _extends$4({}, droppable2, {
11709
+ var result = _extends$1({}, droppable2, {
11695
11710
  frame: frame2,
11696
11711
  subject
11697
11712
  });
@@ -11795,7 +11810,7 @@ var moveToNextCombine = function(_ref) {
11795
11810
  droppableId: destination.descriptor.id
11796
11811
  }
11797
11812
  };
11798
- return _extends$4({}, previousImpact, {
11813
+ return _extends$1({}, previousImpact, {
11799
11814
  at: at2
11800
11815
  });
11801
11816
  }
@@ -11930,17 +11945,17 @@ var isVisible = function isVisible2(_ref) {
11930
11945
  return isVisibleInDroppable(displacedTarget, destination, isVisibleThroughFrameFn) && isVisibleInViewport(displacedTarget, viewport, isVisibleThroughFrameFn);
11931
11946
  };
11932
11947
  var isPartiallyVisible = function isPartiallyVisible2(args) {
11933
- return isVisible(_extends$4({}, args, {
11948
+ return isVisible(_extends$1({}, args, {
11934
11949
  isVisibleThroughFrameFn: isPartiallyVisibleThroughFrame
11935
11950
  }));
11936
11951
  };
11937
11952
  var isTotallyVisible = function isTotallyVisible2(args) {
11938
- return isVisible(_extends$4({}, args, {
11953
+ return isVisible(_extends$1({}, args, {
11939
11954
  isVisibleThroughFrameFn: isTotallyVisibleThroughFrame
11940
11955
  }));
11941
11956
  };
11942
11957
  var isTotallyVisibleOnAxis = function isTotallyVisibleOnAxis2(args) {
11943
- return isVisible(_extends$4({}, args, {
11958
+ return isVisible(_extends$1({}, args, {
11944
11959
  isVisibleThroughFrameFn: isTotallyVisibleThroughFrameOnAxis(args.destination.axis)
11945
11960
  }));
11946
11961
  };
@@ -12350,7 +12365,7 @@ var speculativelyIncrease = function(_ref) {
12350
12365
  }
12351
12366
  invisible[id2] = true;
12352
12367
  });
12353
- var newImpact = _extends$4({}, impact, {
12368
+ var newImpact = _extends$1({}, impact, {
12354
12369
  displaced: {
12355
12370
  all: last.all,
12356
12371
  invisible,
@@ -12571,8 +12586,8 @@ var getRequiredGrowthForPlaceholder = function getRequiredGrowthForPlaceholder2(
12571
12586
  return patch(axis.line, needsToGrowBy);
12572
12587
  };
12573
12588
  var withMaxScroll = function withMaxScroll2(frame2, max) {
12574
- return _extends$4({}, frame2, {
12575
- scroll: _extends$4({}, frame2.scroll, {
12589
+ return _extends$1({}, frame2, {
12590
+ scroll: _extends$1({}, frame2.scroll, {
12576
12591
  max
12577
12592
  })
12578
12593
  });
@@ -12595,7 +12610,7 @@ var addPlaceholder = function addPlaceholder2(droppable2, draggable2, draggables
12595
12610
  axis: droppable2.axis,
12596
12611
  frame: droppable2.frame
12597
12612
  });
12598
- return _extends$4({}, droppable2, {
12613
+ return _extends$1({}, droppable2, {
12599
12614
  subject: _subject
12600
12615
  });
12601
12616
  }
@@ -12607,7 +12622,7 @@ var addPlaceholder = function addPlaceholder2(droppable2, draggable2, draggables
12607
12622
  axis: droppable2.axis,
12608
12623
  frame: newFrame
12609
12624
  });
12610
- return _extends$4({}, droppable2, {
12625
+ return _extends$1({}, droppable2, {
12611
12626
  subject,
12612
12627
  frame: newFrame
12613
12628
  });
@@ -12623,7 +12638,7 @@ var removePlaceholder = function removePlaceholder2(droppable2) {
12623
12638
  frame: null,
12624
12639
  withPlaceholder: null
12625
12640
  });
12626
- return _extends$4({}, droppable2, {
12641
+ return _extends$1({}, droppable2, {
12627
12642
  subject: _subject2
12628
12643
  });
12629
12644
  }
@@ -12636,7 +12651,7 @@ var removePlaceholder = function removePlaceholder2(droppable2) {
12636
12651
  frame: newFrame,
12637
12652
  withPlaceholder: null
12638
12653
  });
12639
- return _extends$4({}, droppable2, {
12654
+ return _extends$1({}, droppable2, {
12640
12655
  subject,
12641
12656
  frame: newFrame
12642
12657
  });
@@ -13021,7 +13036,7 @@ var getDragImpact = function(_ref) {
13021
13036
  };
13022
13037
  var patchDroppableMap = function(droppables, updated) {
13023
13038
  var _extends22;
13024
- return _extends$4({}, droppables, (_extends22 = {}, _extends22[updated.descriptor.id] = updated, _extends22));
13039
+ return _extends$1({}, droppables, (_extends22 = {}, _extends22[updated.descriptor.id] = updated, _extends22));
13025
13040
  };
13026
13041
  var clearUnusedPlaceholder = function clearUnusedPlaceholder2(_ref) {
13027
13042
  var previousImpact = _ref.previousImpact, impact = _ref.impact, droppables = _ref.droppables;
@@ -13082,7 +13097,7 @@ var update = function(_ref) {
13082
13097
  page: page2
13083
13098
  };
13084
13099
  if (state.phase === "COLLECTING") {
13085
- return _extends$4({
13100
+ return _extends$1({
13086
13101
  phase: "COLLECTING"
13087
13102
  }, state, {
13088
13103
  dimensions,
@@ -13107,7 +13122,7 @@ var update = function(_ref) {
13107
13122
  draggables: dimensions.draggables,
13108
13123
  droppables: dimensions.droppables
13109
13124
  });
13110
- var result = _extends$4({}, state, {
13125
+ var result = _extends$1({}, state, {
13111
13126
  current,
13112
13127
  dimensions: {
13113
13128
  draggables: dimensions.draggables,
@@ -13137,7 +13152,7 @@ var recompute = function(_ref) {
13137
13152
  forceShouldAnimate,
13138
13153
  last
13139
13154
  });
13140
- return _extends$4({}, impact, {
13155
+ return _extends$1({}, impact, {
13141
13156
  displaced
13142
13157
  });
13143
13158
  };
@@ -13256,8 +13271,8 @@ var offsetDraggable = function(_ref) {
13256
13271
  var draggable2 = _ref.draggable, offset$1 = _ref.offset, initialWindowScroll = _ref.initialWindowScroll;
13257
13272
  var client = offset(draggable2.client, offset$1);
13258
13273
  var page2 = withScroll(client, initialWindowScroll);
13259
- var moved = _extends$4({}, draggable2, {
13260
- placeholder: _extends$4({}, draggable2.placeholder, {
13274
+ var moved = _extends$1({}, draggable2, {
13275
+ placeholder: _extends$1({}, draggable2.placeholder, {
13261
13276
  client
13262
13277
  }),
13263
13278
  client,
@@ -13295,13 +13310,13 @@ var publishWhileDraggingInVirtual = function(_ref) {
13295
13310
  var scrolled = scrollDroppable(existing, update2.scroll);
13296
13311
  return scrolled;
13297
13312
  });
13298
- var droppables = _extends$4({}, state.dimensions.droppables, {}, toDroppableMap(withScrollChange));
13313
+ var droppables = _extends$1({}, state.dimensions.droppables, {}, toDroppableMap(withScrollChange));
13299
13314
  var updatedAdditions = toDraggableMap(adjustAdditionsForScrollChanges({
13300
13315
  additions: published.additions,
13301
13316
  updatedDroppables: droppables,
13302
13317
  viewport: state.viewport
13303
13318
  }));
13304
- var draggables = _extends$4({}, state.dimensions.draggables, {}, updatedAdditions);
13319
+ var draggables = _extends$1({}, state.dimensions.draggables, {}, updatedAdditions);
13305
13320
  published.removals.forEach(function(id2) {
13306
13321
  delete draggables[id2];
13307
13322
  });
@@ -13330,7 +13345,7 @@ var publishWhileDraggingInVirtual = function(_ref) {
13330
13345
  afterCritical
13331
13346
  });
13332
13347
  finish();
13333
- var draggingState = _extends$4({
13348
+ var draggingState = _extends$1({
13334
13349
  phase: "DRAGGING"
13335
13350
  }, state, {
13336
13351
  phase: "DRAGGING",
@@ -13343,7 +13358,7 @@ var publishWhileDraggingInVirtual = function(_ref) {
13343
13358
  if (state.phase === "COLLECTING") {
13344
13359
  return draggingState;
13345
13360
  }
13346
- var dropPending3 = _extends$4({
13361
+ var dropPending3 = _extends$1({
13347
13362
  phase: "DROP_PENDING"
13348
13363
  }, draggingState, {
13349
13364
  phase: "DROP_PENDING",
@@ -13370,7 +13385,7 @@ var postDroppableChange = function postDroppableChange2(state, updated, isEnable
13370
13385
  };
13371
13386
  function removeScrollJumpRequest(state) {
13372
13387
  if (state.isDragging && state.movementMode === "SNAP") {
13373
- return _extends$4({
13388
+ return _extends$1({
13374
13389
  phase: "DRAGGING"
13375
13390
  }, state, {
13376
13391
  scrollJumpRequest: null
@@ -13388,7 +13403,7 @@ var reducer$2 = function(state, action2) {
13388
13403
  state = idle;
13389
13404
  }
13390
13405
  if (action2.type === "FLUSH") {
13391
- return _extends$4({}, idle, {
13406
+ return _extends$1({}, idle, {
13392
13407
  shouldFlush: true
13393
13408
  });
13394
13409
  }
@@ -13442,7 +13457,7 @@ var reducer$2 = function(state, action2) {
13442
13457
  return state;
13443
13458
  }
13444
13459
  !(state.phase === "DRAGGING") ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Collection cannot start from phase " + state.phase) : invariant$3() : void 0;
13445
- var _result = _extends$4({
13460
+ var _result = _extends$1({
13446
13461
  phase: "COLLECTING"
13447
13462
  }, state, {
13448
13463
  phase: "COLLECTING"
@@ -13496,7 +13511,7 @@ var reducer$2 = function(state, action2) {
13496
13511
  var _target = state.dimensions.droppables[_id];
13497
13512
  !_target ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Cannot find Droppable[id: " + _id + "] to toggle its enabled state") : invariant$3() : void 0;
13498
13513
  !(_target.isEnabled !== isEnabled) ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Trying to set droppable isEnabled to " + String(isEnabled) + "\n but it is already " + String(_target.isEnabled)) : invariant$3() : void 0;
13499
- var updated = _extends$4({}, _target, {
13514
+ var updated = _extends$1({}, _target, {
13500
13515
  isEnabled
13501
13516
  });
13502
13517
  return postDroppableChange(state, updated, true);
@@ -13510,7 +13525,7 @@ var reducer$2 = function(state, action2) {
13510
13525
  var _target2 = state.dimensions.droppables[_id2];
13511
13526
  !_target2 ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Cannot find Droppable[id: " + _id2 + "] to toggle its isCombineEnabled state") : invariant$3() : void 0;
13512
13527
  !(_target2.isCombineEnabled !== isCombineEnabled) ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Trying to set droppable isCombineEnabled to " + String(isCombineEnabled) + "\n but it is already " + String(_target2.isCombineEnabled)) : invariant$3() : void 0;
13513
- var _updated2 = _extends$4({}, _target2, {
13528
+ var _updated2 = _extends$1({}, _target2, {
13514
13529
  isCombineEnabled
13515
13530
  });
13516
13531
  return postDroppableChange(state, _updated2, true);
@@ -13545,12 +13560,12 @@ var reducer$2 = function(state, action2) {
13545
13560
  if (isEqual$2(maxScroll, state.viewport.scroll.max)) {
13546
13561
  return state;
13547
13562
  }
13548
- var withMaxScroll3 = _extends$4({}, state.viewport, {
13549
- scroll: _extends$4({}, state.viewport.scroll, {
13563
+ var withMaxScroll3 = _extends$1({}, state.viewport, {
13564
+ scroll: _extends$1({}, state.viewport.scroll, {
13550
13565
  max: maxScroll
13551
13566
  })
13552
13567
  });
13553
- return _extends$4({
13568
+ return _extends$1({
13554
13569
  phase: "DRAGGING"
13555
13570
  }, state, {
13556
13571
  viewport: withMaxScroll3
@@ -13578,7 +13593,7 @@ var reducer$2 = function(state, action2) {
13578
13593
  if (action2.type === "DROP_PENDING") {
13579
13594
  var reason = action2.payload.reason;
13580
13595
  !(state.phase === "COLLECTING") ? process.env.NODE_ENV !== "production" ? invariant$3(false, "Can only move into the DROP_PENDING phase from the COLLECTING phase") : invariant$3() : void 0;
13581
- var newState = _extends$4({
13596
+ var newState = _extends$1({
13582
13597
  phase: "DROP_PENDING"
13583
13598
  }, state, {
13584
13599
  phase: "DROP_PENDING",
@@ -13926,7 +13941,7 @@ var getDropImpact = function(_ref) {
13926
13941
  didDropInsideDroppable: true
13927
13942
  };
13928
13943
  }
13929
- var withoutMovement = _extends$4({}, lastImpact, {
13944
+ var withoutMovement = _extends$1({}, lastImpact, {
13930
13945
  displaced: emptyGroups
13931
13946
  });
13932
13947
  return {
@@ -14263,7 +14278,7 @@ var getPublisher = function(getResponders, announce) {
14263
14278
  if (!hasCriticalChanged && !hasLocationChanged && !hasGroupingChanged) {
14264
14279
  return;
14265
14280
  }
14266
- var data = _extends$4({}, getDragStart(critical, dragging.mode), {
14281
+ var data = _extends$1({}, getDragStart(critical, dragging.mode), {
14267
14282
  combine: combine2,
14268
14283
  destination: location
14269
14284
  });
@@ -14288,7 +14303,7 @@ var getPublisher = function(getResponders, announce) {
14288
14303
  if (!dragging) {
14289
14304
  return;
14290
14305
  }
14291
- var result = _extends$4({}, getDragStart(dragging.lastCritical, dragging.mode), {
14306
+ var result = _extends$1({}, getDragStart(dragging.lastCritical, dragging.mode), {
14292
14307
  combine: null,
14293
14308
  destination: null,
14294
14309
  reason: "CANCEL"
@@ -15708,7 +15723,7 @@ function useAnnouncer(contextId) {
15708
15723
  el2.id = id2;
15709
15724
  el2.setAttribute("aria-live", "assertive");
15710
15725
  el2.setAttribute("aria-atomic", "true");
15711
- _extends$4(el2.style, visuallyHidden);
15726
+ _extends$1(el2.style, visuallyHidden);
15712
15727
  getBodyElement().appendChild(el2);
15713
15728
  return function cleanup() {
15714
15729
  setTimeout(function remove2() {
@@ -16755,7 +16770,7 @@ function tryStart(_ref3) {
16755
16770
  reason
16756
16771
  }));
16757
16772
  }
16758
- return _extends$4({
16773
+ return _extends$1({
16759
16774
  isActive: function isActive() {
16760
16775
  return _isActive({
16761
16776
  expected: "DRAGGING",
@@ -16794,7 +16809,7 @@ function tryStart(_ref3) {
16794
16809
  move: move$1
16795
16810
  }
16796
16811
  });
16797
- return _extends$4({}, api, {
16812
+ return _extends$1({}, api, {
16798
16813
  move: move$1
16799
16814
  });
16800
16815
  }
@@ -16969,7 +16984,7 @@ function App(props) {
16969
16984
  return createDimensionMarshal(registry, marshalCallbacks);
16970
16985
  }, [registry, marshalCallbacks]);
16971
16986
  var autoScroller = useMemo(function() {
16972
- return createAutoScroller(_extends$4({
16987
+ return createAutoScroller(_extends$1({
16973
16988
  scrollWindow,
16974
16989
  scrollDroppable: dimensionMarshal.scrollDroppable
16975
16990
  }, bindActionCreators$1({
@@ -18103,7 +18118,7 @@ function PublicDraggable(props) {
18103
18118
  var isEnabled = typeof props.isDragDisabled === "boolean" ? !props.isDragDisabled : true;
18104
18119
  var canDragInteractiveElements = Boolean(props.disableInteractiveElementBlocking);
18105
18120
  var shouldRespectForcePress = Boolean(props.shouldRespectForcePress);
18106
- return React__default.createElement(PrivateDraggable, _extends$4({}, props, {
18121
+ return React__default.createElement(PrivateDraggable, _extends$1({}, props, {
18107
18122
  isClone: false,
18108
18123
  isEnabled,
18109
18124
  canDragInteractiveElements,
@@ -18222,7 +18237,7 @@ var makeMapStateToProps$1 = function makeMapStateToProps3() {
18222
18237
  },
18223
18238
  useClone: null
18224
18239
  };
18225
- var idleWithoutAnimation = _extends$4({}, idleWithAnimation, {
18240
+ var idleWithoutAnimation = _extends$1({}, idleWithAnimation, {
18226
18241
  shouldAnimatePlaceholder: false
18227
18242
  });
18228
18243
  var getDraggableRubric = memoizeOne(function(descriptor) {
@@ -20313,7 +20328,7 @@ function createListComponent(_ref) {
20313
20328
  className,
20314
20329
  onScroll,
20315
20330
  ref: this._outerRefSetter,
20316
- style: _extends$4({
20331
+ style: _extends$1({
20317
20332
  position: "relative",
20318
20333
  height: height2,
20319
20334
  width: width2,
@@ -20941,6 +20956,7 @@ const Trigger = ({
20941
20956
  order2
20942
20957
  ),
20943
20958
  onClick: (evt) => {
20959
+ evt.stopPropagation();
20944
20960
  onClickTrigger(evt);
20945
20961
  if (typeof setInputFocus === "function") {
20946
20962
  requestAnimationFrame(() => setInputFocus());
@@ -52377,7 +52393,6 @@ var interopRequireDefault = { exports: {} };
52377
52393
  module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
52378
52394
  })(interopRequireDefault);
52379
52395
  var interopRequireDefaultExports = interopRequireDefault.exports;
52380
- const require$$2 = /* @__PURE__ */ getAugmentedNamespace(_extends$5);
52381
52396
  const richTextToolbar = "_richTextToolbar_1gbkk_1";
52382
52397
  const richTextToolbarContainer = "_richTextToolbarContainer_1gbkk_5";
52383
52398
  const styles$g = {
@@ -53649,7 +53664,7 @@ var Handle$2 = /* @__PURE__ */ React$4.forwardRef(function(props, ref2) {
53649
53664
  }
53650
53665
  };
53651
53666
  var positionStyle = getDirectionStyle(direction, value, min, max);
53652
- var handleNode = /* @__PURE__ */ React$4.createElement("div", _extends$4({
53667
+ var handleNode = /* @__PURE__ */ React$4.createElement("div", _extends$1({
53653
53668
  ref: ref2,
53654
53669
  className: cx$2(handlePrefixCls, (_classNames = {}, _defineProperty$7(_classNames, "".concat(handlePrefixCls, "-").concat(valueIndex + 1), range2), _defineProperty$7(_classNames, "".concat(handlePrefixCls, "-dragging"), dragging), _classNames)),
53655
53670
  style: _objectSpread2$1(_objectSpread2$1({}, positionStyle), style2),
@@ -53693,7 +53708,7 @@ var Handles = /* @__PURE__ */ React$4.forwardRef(function(props, ref2) {
53693
53708
  };
53694
53709
  });
53695
53710
  return /* @__PURE__ */ React$4.createElement(React$4.Fragment, null, values2.map(function(value, index2) {
53696
- return /* @__PURE__ */ React$4.createElement(Handle$2, _extends$4({
53711
+ return /* @__PURE__ */ React$4.createElement(Handle$2, _extends$1({
53697
53712
  ref: function ref3(node2) {
53698
53713
  if (!node2) {
53699
53714
  delete handlesRef.current[index2];
@@ -55063,7 +55078,7 @@ Object.defineProperty(Handle$1, "__esModule", {
55063
55078
  value: true
55064
55079
  });
55065
55080
  var default_1 = Handle$1.default = void 0;
55066
- var _extends2 = _interopRequireDefault(require$$2);
55081
+ var _extends2 = _interopRequireDefault(require_extends());
55067
55082
  var _objectSpread2 = _interopRequireDefault(requireObjectSpread2());
55068
55083
  var _defineProperty2 = _interopRequireDefault(requireDefineProperty());
55069
55084
  var _objectWithoutProperties2 = _interopRequireDefault(requireObjectWithoutProperties());