@coreui/react 4.0.2 → 4.1.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.
package/dist/index.es.js CHANGED
@@ -2387,7 +2387,7 @@ function assignRef(ref, value) {
2387
2387
  ref.current = value;
2388
2388
  }
2389
2389
  catch (error) {
2390
- throw new Error("Cannot assign value \"" + value + "\" to ref \"" + ref + "\"");
2390
+ throw new Error("Cannot assign value \"".concat(value, "\" to ref \"").concat(ref, "\""));
2391
2391
  }
2392
2392
  }
2393
2393
  }
@@ -2396,8 +2396,9 @@ function isFunction(value) {
2396
2396
  }
2397
2397
 
2398
2398
  var CCollapse = forwardRef(function (_a, ref) {
2399
- var children = _a.children, className = _a.className, onHide = _a.onHide, onShow = _a.onShow, visible = _a.visible, rest = __rest(_a, ["children", "className", "onHide", "onShow", "visible"]);
2399
+ var children = _a.children, className = _a.className, horizontal = _a.horizontal, onHide = _a.onHide, onShow = _a.onShow, visible = _a.visible, rest = __rest(_a, ["children", "className", "horizontal", "onHide", "onShow", "visible"]);
2400
2400
  var _b = useState(), height = _b[0], setHeight = _b[1];
2401
+ var _c = useState(), width = _c[0], setWidth = _c[1];
2401
2402
  var collapseRef = useRef(null);
2402
2403
  var forkedRef = useForkedRef(ref, collapseRef);
2403
2404
  var getTransitionClass = function (state) {
@@ -2411,31 +2412,55 @@ var CCollapse = forwardRef(function (_a, ref) {
2411
2412
  };
2412
2413
  var onEntering = function () {
2413
2414
  onShow && onShow();
2415
+ if (horizontal) {
2416
+ collapseRef.current && setWidth(collapseRef.current.scrollWidth);
2417
+ return;
2418
+ }
2414
2419
  collapseRef.current && setHeight(collapseRef.current.scrollHeight);
2415
2420
  };
2416
2421
  var onEntered = function () {
2422
+ if (horizontal) {
2423
+ setWidth(0);
2424
+ return;
2425
+ }
2417
2426
  setHeight(0);
2418
2427
  };
2419
2428
  var onExit = function () {
2429
+ if (horizontal) {
2430
+ collapseRef.current && setWidth(collapseRef.current.scrollWidth);
2431
+ return;
2432
+ }
2420
2433
  collapseRef.current && setHeight(collapseRef.current.scrollHeight);
2421
2434
  };
2422
2435
  var onExiting = function () {
2423
2436
  onHide && onHide();
2437
+ if (horizontal) {
2438
+ setWidth(0);
2439
+ return;
2440
+ }
2424
2441
  setHeight(0);
2425
2442
  };
2426
2443
  var onExited = function () {
2444
+ if (horizontal) {
2445
+ setWidth(0);
2446
+ return;
2447
+ }
2427
2448
  setHeight(0);
2428
2449
  };
2429
- var _className = classNames(className);
2450
+ var _className = classNames({
2451
+ 'collapse-horizontal': horizontal,
2452
+ }, className);
2430
2453
  return (React__default.createElement(CSSTransition$1, { in: visible, onEntering: onEntering, onEntered: onEntered, onExit: onExit, onExiting: onExiting, onExited: onExited, timeout: 350 }, function (state) {
2431
2454
  var transitionClass = getTransitionClass(state);
2432
2455
  var currentHeight = height === 0 ? null : { height: height };
2433
- return (React__default.createElement("div", __assign({ className: classNames(_className, transitionClass), style: __assign({}, currentHeight) }, rest, { ref: forkedRef }), children));
2456
+ var currentWidth = width === 0 ? null : { width: width };
2457
+ return (React__default.createElement("div", __assign({ className: classNames(_className, transitionClass), style: __assign(__assign({}, currentHeight), currentWidth) }, rest, { ref: forkedRef }), children));
2434
2458
  }));
2435
2459
  });
2436
2460
  CCollapse.propTypes = {
2437
2461
  children: PropTypes.node,
2438
2462
  className: PropTypes.string,
2463
+ horizontal: PropTypes.bool,
2439
2464
  onHide: PropTypes.func,
2440
2465
  onShow: PropTypes.func,
2441
2466
  visible: PropTypes.bool,
@@ -2561,7 +2586,7 @@ var CAlert = forwardRef(function (_a, ref) {
2561
2586
  useEffect(function () {
2562
2587
  setVisible(visible);
2563
2588
  }, [visible]);
2564
- var _className = classNames('alert', variant === 'solid' ? "bg-" + color + " text-white" : "alert-" + color, {
2589
+ var _className = classNames('alert', variant === 'solid' ? "bg-".concat(color, " text-white") : "alert-".concat(color), {
2565
2590
  'alert-dismissible fade': dismissible,
2566
2591
  }, className);
2567
2592
  var getTransitionClass = function (state) {
@@ -2632,11 +2657,11 @@ var CAvatar = forwardRef(function (_a, ref) {
2632
2657
  var _b;
2633
2658
  var children = _a.children, className = _a.className, color = _a.color, shape = _a.shape, size = _a.size, src = _a.src, status = _a.status, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "shape", "size", "src", "status", "textColor"]);
2634
2659
  var _className = classNames('avatar', (_b = {},
2635
- _b["bg-" + color] = color,
2636
- _b["avatar-" + size] = size,
2637
- _b["text-" + textColor] = textColor,
2660
+ _b["bg-".concat(color)] = color,
2661
+ _b["avatar-".concat(size)] = size,
2662
+ _b["text-".concat(textColor)] = textColor,
2638
2663
  _b), shape, className);
2639
- var statusClassName = status && classNames('avatar-status', "bg-" + status);
2664
+ var statusClassName = status && classNames('avatar-status', "bg-".concat(status));
2640
2665
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }),
2641
2666
  src ? React__default.createElement("img", { src: src, className: "avatar-img" }) : children,
2642
2667
  status && React__default.createElement("span", { className: statusClassName })));
@@ -2657,14 +2682,14 @@ var CBadge = forwardRef(function (_a, ref) {
2657
2682
  var _b;
2658
2683
  var children = _a.children, className = _a.className, color = _a.color, _c = _a.component, Component = _c === void 0 ? 'span' : _c, position = _a.position, shape = _a.shape, size = _a.size, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "component", "position", "shape", "size", "textColor"]);
2659
2684
  var _className = classNames('badge', (_b = {},
2660
- _b["bg-" + color] = color,
2685
+ _b["bg-".concat(color)] = color,
2661
2686
  _b['position-absolute translate-middle'] = position,
2662
2687
  _b['top-0'] = position === null || position === void 0 ? void 0 : position.includes('top'),
2663
2688
  _b['top-100'] = position === null || position === void 0 ? void 0 : position.includes('bottom'),
2664
2689
  _b['start-100'] = position === null || position === void 0 ? void 0 : position.includes('end'),
2665
2690
  _b['start-0'] = position === null || position === void 0 ? void 0 : position.includes('start'),
2666
- _b["badge-" + size] = size,
2667
- _b["text-" + textColor] = textColor,
2691
+ _b["badge-".concat(size)] = size,
2692
+ _b["text-".concat(textColor)] = textColor,
2668
2693
  _b), shape, className);
2669
2694
  return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
2670
2695
  });
@@ -2727,7 +2752,7 @@ CBreadcrumbItem.displayName = 'CBreadcrumbItem';
2727
2752
  var CButton = forwardRef(function (_a, ref) {
2728
2753
  var _b;
2729
2754
  var children = _a.children, className = _a.className, _c = _a.color, color = _c === void 0 ? 'primary' : _c, _d = _a.component, component = _d === void 0 ? 'button' : _d, shape = _a.shape, size = _a.size, _e = _a.type, type = _e === void 0 ? 'button' : _e, variant = _a.variant, rest = __rest(_a, ["children", "className", "color", "component", "shape", "size", "type", "variant"]);
2730
- var _className = classNames('btn', variant ? "btn-" + variant + "-" + color : "btn-" + color, (_b = {}, _b["btn-" + size] = size, _b), shape, className);
2755
+ var _className = classNames('btn', variant ? "btn-".concat(variant, "-").concat(color) : "btn-".concat(color), (_b = {}, _b["btn-".concat(size)] = size, _b), shape, className);
2731
2756
  return (React__default.createElement(CLink, __assign({ component: rest.href ? 'a' : component, type: type, className: _className }, rest, { ref: ref }), children));
2732
2757
  });
2733
2758
  CButton.propTypes = {
@@ -2745,7 +2770,7 @@ CButton.displayName = 'CButton';
2745
2770
  var CButtonGroup = forwardRef(function (_a, ref) {
2746
2771
  var _b;
2747
2772
  var children = _a.children, className = _a.className, size = _a.size, vertical = _a.vertical, rest = __rest(_a, ["children", "className", "size", "vertical"]);
2748
- var _className = classNames(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-" + size] = size, _b), className);
2773
+ var _className = classNames(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-".concat(size)] = size, _b), className);
2749
2774
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
2750
2775
  });
2751
2776
  CButtonGroup.propTypes = {
@@ -2771,7 +2796,7 @@ var CCallout = forwardRef(function (_a, ref) {
2771
2796
  var _b;
2772
2797
  var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]);
2773
2798
  var _className = classNames('callout', (_b = {},
2774
- _b["callout-" + color] = color,
2799
+ _b["callout-".concat(color)] = color,
2775
2800
  _b), className);
2776
2801
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
2777
2802
  });
@@ -2786,8 +2811,8 @@ var CCard = forwardRef(function (_a, ref) {
2786
2811
  var _b;
2787
2812
  var children = _a.children, className = _a.className, color = _a.color, textColor = _a.textColor, rest = __rest(_a, ["children", "className", "color", "textColor"]);
2788
2813
  var _className = classNames('card', (_b = {},
2789
- _b["bg-" + color] = color,
2790
- _b["text-" + textColor] = textColor,
2814
+ _b["bg-".concat(color)] = color,
2815
+ _b["text-".concat(textColor)] = textColor,
2791
2816
  _b), className);
2792
2817
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
2793
2818
  });
@@ -2846,7 +2871,7 @@ CCardHeader.displayName = 'CCardHeader';
2846
2871
 
2847
2872
  var CCardImage = forwardRef(function (_a, ref) {
2848
2873
  var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'img' : _b, orientation = _a.orientation, rest = __rest(_a, ["children", "className", "component", "orientation"]);
2849
- var _className = classNames(orientation ? "card-img-" + orientation : 'card-img', className);
2874
+ var _className = classNames(orientation ? "card-img-".concat(orientation) : 'card-img', className);
2850
2875
  return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
2851
2876
  });
2852
2877
  CCardImage.propTypes = {
@@ -3012,7 +3037,7 @@ var CCarousel = forwardRef(function (_a, ref) {
3012
3037
  setCustomInterval: setCustomInterval,
3013
3038
  } },
3014
3039
  indicators && (React__default.createElement("ol", { className: "carousel-indicators" }, Array.from({ length: itemsNumber }, function (_, i) { return i; }).map(function (index) {
3015
- return (React__default.createElement("li", { key: "indicator" + index, onClick: function () {
3040
+ return (React__default.createElement("li", { key: "indicator".concat(index), onClick: function () {
3016
3041
  !animating && handleIndicatorClick(index);
3017
3042
  }, className: active === index ? 'active' : '', "data-coreui-target": "" }));
3018
3043
  }))),
@@ -3072,7 +3097,7 @@ var CCarouselItem = forwardRef(function (_a, ref) {
3072
3097
  if (active) {
3073
3098
  setCustomInterval(interval);
3074
3099
  if (count !== 0)
3075
- setOrderClassName("carousel-item-" + direction);
3100
+ setOrderClassName("carousel-item-".concat(direction));
3076
3101
  }
3077
3102
  if (prevActive.current && !active) {
3078
3103
  setActiveClassName('active');
@@ -3084,7 +3109,7 @@ var CCarouselItem = forwardRef(function (_a, ref) {
3084
3109
  // @ts-expect-error reflow is necessary to proper transition
3085
3110
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3086
3111
  (_a = carouselItemRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight;
3087
- setDirectionClassName("carousel-item-" + (direction === 'next' ? 'start' : 'end'));
3112
+ setDirectionClassName("carousel-item-".concat(direction === 'next' ? 'start' : 'end'));
3088
3113
  }
3089
3114
  }, 0);
3090
3115
  }
@@ -3373,29 +3398,32 @@ function getBasePlacement(placement) {
3373
3398
  return placement.split('-')[0];
3374
3399
  }
3375
3400
 
3376
- // import { isHTMLElement } from './instanceOf';
3377
- function getBoundingClientRect(element, // eslint-disable-next-line unused-imports/no-unused-vars
3378
- includeScale) {
3401
+ var max = Math.max;
3402
+ var min = Math.min;
3403
+ var round = Math.round;
3404
+
3405
+ function getBoundingClientRect(element, includeScale) {
3406
+ if (includeScale === void 0) {
3407
+ includeScale = false;
3408
+ }
3379
3409
 
3380
3410
  var rect = element.getBoundingClientRect();
3381
3411
  var scaleX = 1;
3382
- var scaleY = 1; // FIXME:
3383
- // `offsetWidth` returns an integer while `getBoundingClientRect`
3384
- // returns a float. This results in `scaleX` or `scaleY` being
3385
- // non-1 when it should be for elements that aren't a full pixel in
3386
- // width or height.
3387
- // if (isHTMLElement(element) && includeScale) {
3388
- // const offsetHeight = element.offsetHeight;
3389
- // const offsetWidth = element.offsetWidth;
3390
- // // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
3391
- // // Fallback to 1 in case both values are `0`
3392
- // if (offsetWidth > 0) {
3393
- // scaleX = rect.width / offsetWidth || 1;
3394
- // }
3395
- // if (offsetHeight > 0) {
3396
- // scaleY = rect.height / offsetHeight || 1;
3397
- // }
3398
- // }
3412
+ var scaleY = 1;
3413
+
3414
+ if (isHTMLElement(element) && includeScale) {
3415
+ var offsetHeight = element.offsetHeight;
3416
+ var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
3417
+ // Fallback to 1 in case both values are `0`
3418
+
3419
+ if (offsetWidth > 0) {
3420
+ scaleX = round(rect.width) / offsetWidth || 1;
3421
+ }
3422
+
3423
+ if (offsetHeight > 0) {
3424
+ scaleY = round(rect.height) / offsetHeight || 1;
3425
+ }
3426
+ }
3399
3427
 
3400
3428
  return {
3401
3429
  width: rect.width / scaleX,
@@ -3550,13 +3578,13 @@ function getMainAxisFromPlacement(placement) {
3550
3578
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
3551
3579
  }
3552
3580
 
3553
- var max = Math.max;
3554
- var min = Math.min;
3555
- var round = Math.round;
3556
-
3557
3581
  function within(min$1, value, max$1) {
3558
3582
  return max(min$1, min(value, max$1));
3559
3583
  }
3584
+ function withinMaxClamp(min, value, max) {
3585
+ var v = within(min, value, max);
3586
+ return v > max ? max : v;
3587
+ }
3560
3588
 
3561
3589
  function getFreshSideObject() {
3562
3590
  return {
@@ -3688,8 +3716,8 @@ function roundOffsetsByDPR(_ref) {
3688
3716
  var win = window;
3689
3717
  var dpr = win.devicePixelRatio || 1;
3690
3718
  return {
3691
- x: round(round(x * dpr) / dpr) || 0,
3692
- y: round(round(y * dpr) / dpr) || 0
3719
+ x: round(x * dpr) / dpr || 0,
3720
+ y: round(y * dpr) / dpr || 0
3693
3721
  };
3694
3722
  }
3695
3723
 
@@ -3704,7 +3732,8 @@ function mapToStyles(_ref2) {
3704
3732
  position = _ref2.position,
3705
3733
  gpuAcceleration = _ref2.gpuAcceleration,
3706
3734
  adaptive = _ref2.adaptive,
3707
- roundOffsets = _ref2.roundOffsets;
3735
+ roundOffsets = _ref2.roundOffsets,
3736
+ isFixed = _ref2.isFixed;
3708
3737
 
3709
3738
  var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
3710
3739
  _ref3$x = _ref3.x,
@@ -3736,16 +3765,18 @@ function mapToStyles(_ref2) {
3736
3765
  offsetParent = offsetParent;
3737
3766
 
3738
3767
  if (placement === top || (placement === left || placement === right) && variation === end) {
3739
- sideY = bottom; // $FlowFixMe[prop-missing]
3740
-
3741
- y -= offsetParent[heightProp] - popperRect.height;
3768
+ sideY = bottom;
3769
+ var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
3770
+ offsetParent[heightProp];
3771
+ y -= offsetY - popperRect.height;
3742
3772
  y *= gpuAcceleration ? 1 : -1;
3743
3773
  }
3744
3774
 
3745
3775
  if (placement === left || (placement === top || placement === bottom) && variation === end) {
3746
- sideX = right; // $FlowFixMe[prop-missing]
3747
-
3748
- x -= offsetParent[widthProp] - popperRect.width;
3776
+ sideX = right;
3777
+ var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
3778
+ offsetParent[widthProp];
3779
+ x -= offsetX - popperRect.width;
3749
3780
  x *= gpuAcceleration ? 1 : -1;
3750
3781
  }
3751
3782
  }
@@ -3788,7 +3819,8 @@ function computeStyles(_ref4) {
3788
3819
  variation: getVariation(state.placement),
3789
3820
  popper: state.elements.popper,
3790
3821
  popperRect: state.rects.popper,
3791
- gpuAcceleration: gpuAcceleration
3822
+ gpuAcceleration: gpuAcceleration,
3823
+ isFixed: state.options.strategy === 'fixed'
3792
3824
  };
3793
3825
 
3794
3826
  if (state.modifiersData.popperOffsets != null) {
@@ -4046,7 +4078,7 @@ function getInnerBoundingClientRect(element) {
4046
4078
  }
4047
4079
 
4048
4080
  function getClientRectFromMixedType(element, clippingParent) {
4049
- return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
4081
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
4050
4082
  } // A "clipping parent" is an overflowable container with the characteristic of
4051
4083
  // clipping (or hiding) overflowing elements with a position different from
4052
4084
  // `initial`
@@ -4063,7 +4095,7 @@ function getClippingParents(element) {
4063
4095
 
4064
4096
 
4065
4097
  return clippingParents.filter(function (clippingParent) {
4066
- return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
4098
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
4067
4099
  });
4068
4100
  } // Gets the maximum area that the element is visible in due to any number of
4069
4101
  // clipping parents
@@ -4563,6 +4595,14 @@ function preventOverflow(_ref) {
4563
4595
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
4564
4596
  placement: state.placement
4565
4597
  })) : tetherOffset;
4598
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
4599
+ mainAxis: tetherOffsetValue,
4600
+ altAxis: tetherOffsetValue
4601
+ } : Object.assign({
4602
+ mainAxis: 0,
4603
+ altAxis: 0
4604
+ }, tetherOffsetValue);
4605
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
4566
4606
  var data = {
4567
4607
  x: 0,
4568
4608
  y: 0
@@ -4572,13 +4612,15 @@ function preventOverflow(_ref) {
4572
4612
  return;
4573
4613
  }
4574
4614
 
4575
- if (checkMainAxis || checkAltAxis) {
4615
+ if (checkMainAxis) {
4616
+ var _offsetModifierState$;
4617
+
4576
4618
  var mainSide = mainAxis === 'y' ? top : left;
4577
4619
  var altSide = mainAxis === 'y' ? bottom : right;
4578
4620
  var len = mainAxis === 'y' ? 'height' : 'width';
4579
4621
  var offset = popperOffsets[mainAxis];
4580
- var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
4581
- var max$1 = popperOffsets[mainAxis] - overflow[altSide];
4622
+ var min$1 = offset + overflow[mainSide];
4623
+ var max$1 = offset - overflow[altSide];
4582
4624
  var additive = tether ? -popperRect[len] / 2 : 0;
4583
4625
  var minLen = variation === start ? referenceRect[len] : popperRect[len];
4584
4626
  var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
@@ -4598,36 +4640,45 @@ function preventOverflow(_ref) {
4598
4640
  // width or height)
4599
4641
 
4600
4642
  var arrowLen = within(0, referenceRect[len], arrowRect[len]);
4601
- var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
4602
- var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
4643
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
4644
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
4603
4645
  var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
4604
4646
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
4605
- var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
4606
- var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
4607
- var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
4647
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
4648
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
4649
+ var tetherMax = offset + maxOffset - offsetModifierValue;
4650
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
4651
+ popperOffsets[mainAxis] = preventedOffset;
4652
+ data[mainAxis] = preventedOffset - offset;
4653
+ }
4608
4654
 
4609
- if (checkMainAxis) {
4610
- var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
4611
- popperOffsets[mainAxis] = preventedOffset;
4612
- data[mainAxis] = preventedOffset - offset;
4613
- }
4655
+ if (checkAltAxis) {
4656
+ var _offsetModifierState$2;
4614
4657
 
4615
- if (checkAltAxis) {
4616
- var _mainSide = mainAxis === 'x' ? top : left;
4658
+ var _mainSide = mainAxis === 'x' ? top : left;
4617
4659
 
4618
- var _altSide = mainAxis === 'x' ? bottom : right;
4660
+ var _altSide = mainAxis === 'x' ? bottom : right;
4619
4661
 
4620
- var _offset = popperOffsets[altAxis];
4662
+ var _offset = popperOffsets[altAxis];
4621
4663
 
4622
- var _min = _offset + overflow[_mainSide];
4664
+ var _len = altAxis === 'y' ? 'height' : 'width';
4623
4665
 
4624
- var _max = _offset - overflow[_altSide];
4666
+ var _min = _offset + overflow[_mainSide];
4625
4667
 
4626
- var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
4668
+ var _max = _offset - overflow[_altSide];
4627
4669
 
4628
- popperOffsets[altAxis] = _preventedOffset;
4629
- data[altAxis] = _preventedOffset - _offset;
4630
- }
4670
+ var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
4671
+
4672
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
4673
+
4674
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
4675
+
4676
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
4677
+
4678
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
4679
+
4680
+ popperOffsets[altAxis] = _preventedOffset;
4681
+ data[altAxis] = _preventedOffset - _offset;
4631
4682
  }
4632
4683
 
4633
4684
  state.modifiersData[name] = data;
@@ -4659,8 +4710,8 @@ function getNodeScroll(node) {
4659
4710
 
4660
4711
  function isElementScaled(element) {
4661
4712
  var rect = element.getBoundingClientRect();
4662
- var scaleX = rect.width / element.offsetWidth || 1;
4663
- var scaleY = rect.height / element.offsetHeight || 1;
4713
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
4714
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
4664
4715
  return scaleX !== 1 || scaleY !== 1;
4665
4716
  } // Returns the composite rect of an element relative to its offsetParent.
4666
4717
  // Composite means it takes into account transforms as well as layout.
@@ -4672,9 +4723,9 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
4672
4723
  }
4673
4724
 
4674
4725
  var isOffsetParentAnElement = isHTMLElement(offsetParent);
4675
- isHTMLElement(offsetParent) && isElementScaled(offsetParent);
4726
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
4676
4727
  var documentElement = getDocumentElement(offsetParent);
4677
- var rect = getBoundingClientRect(elementOrVirtualElement);
4728
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
4678
4729
  var scroll = {
4679
4730
  scrollLeft: 0,
4680
4731
  scrollTop: 0
@@ -4691,7 +4742,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
4691
4742
  }
4692
4743
 
4693
4744
  if (isHTMLElement(offsetParent)) {
4694
- offsets = getBoundingClientRect(offsetParent);
4745
+ offsets = getBoundingClientRect(offsetParent, true);
4695
4746
  offsets.x += offsetParent.clientLeft;
4696
4747
  offsets.y += offsetParent.clientTop;
4697
4748
  } else if (documentElement) {
@@ -5669,11 +5720,11 @@ var CDropdownMenu = function (_a) {
5669
5720
  var classNames = [];
5670
5721
  if (typeof alignment === 'object') {
5671
5722
  Object.keys(alignment).map(function (key) {
5672
- classNames.push("dropdown-menu" + (key === 'xs' ? '' : "-" + key) + "-" + alignment[key]);
5723
+ classNames.push("dropdown-menu".concat(key === 'xs' ? '' : "-".concat(key), "-").concat(alignment[key]));
5673
5724
  });
5674
5725
  }
5675
5726
  if (typeof alignment === 'string') {
5676
- classNames.push("dropdown-menu-" + alignment);
5727
+ classNames.push("dropdown-menu-".concat(alignment));
5677
5728
  }
5678
5729
  return classNames;
5679
5730
  };
@@ -5742,7 +5793,7 @@ CDropdownToggle.propTypes = {
5742
5793
  };
5743
5794
  CDropdownToggle.displayName = 'CDropdownToggle';
5744
5795
 
5745
- var BREAKPOINTS$2 = [
5796
+ var BREAKPOINTS$3 = [
5746
5797
  'xxl',
5747
5798
  'xl',
5748
5799
  'lg',
@@ -5752,33 +5803,33 @@ var BREAKPOINTS$2 = [
5752
5803
  ];
5753
5804
  var CCol = forwardRef(function (_a, ref) {
5754
5805
  var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
5755
- var repsonsiveCLassNames = [];
5756
- BREAKPOINTS$2.forEach(function (bp) {
5806
+ var repsonsiveClassNames = [];
5807
+ BREAKPOINTS$3.forEach(function (bp) {
5757
5808
  var breakpoint = rest[bp];
5758
5809
  delete rest[bp];
5759
- var infix = bp === 'xs' ? '' : "-" + bp;
5810
+ var infix = bp === 'xs' ? '' : "-".concat(bp);
5760
5811
  if (typeof breakpoint === 'number' || typeof breakpoint === 'string') {
5761
- repsonsiveCLassNames.push("col" + infix + "-" + breakpoint);
5812
+ repsonsiveClassNames.push("col".concat(infix, "-").concat(breakpoint));
5762
5813
  }
5763
5814
  if (typeof breakpoint === 'boolean') {
5764
- repsonsiveCLassNames.push("col" + infix);
5815
+ repsonsiveClassNames.push("col".concat(infix));
5765
5816
  }
5766
5817
  if (breakpoint && typeof breakpoint === 'object') {
5767
5818
  if (typeof breakpoint.span === 'number' || typeof breakpoint.span === 'string') {
5768
- repsonsiveCLassNames.push("col" + infix + "-" + breakpoint.span);
5819
+ repsonsiveClassNames.push("col".concat(infix, "-").concat(breakpoint.span));
5769
5820
  }
5770
5821
  if (typeof breakpoint.span === 'boolean') {
5771
- repsonsiveCLassNames.push("col" + infix);
5822
+ repsonsiveClassNames.push("col".concat(infix));
5772
5823
  }
5773
5824
  if (typeof breakpoint.order === 'number' || typeof breakpoint.order === 'string') {
5774
- repsonsiveCLassNames.push("order" + infix + "-" + breakpoint.order);
5825
+ repsonsiveClassNames.push("order".concat(infix, "-").concat(breakpoint.order));
5775
5826
  }
5776
5827
  if (typeof breakpoint.offset === 'number') {
5777
- repsonsiveCLassNames.push("offset" + infix + "-" + breakpoint.offset);
5828
+ repsonsiveClassNames.push("offset".concat(infix, "-").concat(breakpoint.offset));
5778
5829
  }
5779
5830
  }
5780
5831
  });
5781
- var _className = classNames(repsonsiveCLassNames.length ? repsonsiveCLassNames : 'col', className);
5832
+ var _className = classNames(repsonsiveClassNames.length ? repsonsiveClassNames : 'col', className);
5782
5833
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
5783
5834
  });
5784
5835
  var span = PropTypes.oneOfType([
@@ -5807,7 +5858,7 @@ CCol.propTypes = {
5807
5858
  };
5808
5859
  CCol.displayName = 'CCol';
5809
5860
 
5810
- var BREAKPOINTS$1 = [
5861
+ var BREAKPOINTS$2 = [
5811
5862
  'xxl',
5812
5863
  'xl',
5813
5864
  'lg',
@@ -5817,13 +5868,13 @@ var BREAKPOINTS$1 = [
5817
5868
  ];
5818
5869
  var CContainer = forwardRef(function (_a, ref) {
5819
5870
  var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
5820
- var repsonsiveCLassNames = [];
5821
- BREAKPOINTS$1.forEach(function (bp) {
5871
+ var repsonsiveClassNames = [];
5872
+ BREAKPOINTS$2.forEach(function (bp) {
5822
5873
  var breakpoint = rest[bp];
5823
5874
  delete rest[bp];
5824
- breakpoint && repsonsiveCLassNames.push("container-" + bp);
5875
+ breakpoint && repsonsiveClassNames.push("container-".concat(bp));
5825
5876
  });
5826
- var _className = classNames(repsonsiveCLassNames.length ? repsonsiveCLassNames : 'container', className);
5877
+ var _className = classNames(repsonsiveClassNames.length ? repsonsiveClassNames : 'container', className);
5827
5878
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
5828
5879
  });
5829
5880
  CContainer.propTypes = {
@@ -5838,7 +5889,7 @@ CContainer.propTypes = {
5838
5889
  };
5839
5890
  CContainer.displayName = 'CContainer';
5840
5891
 
5841
- var BREAKPOINTS = [
5892
+ var BREAKPOINTS$1 = [
5842
5893
  'xxl',
5843
5894
  'xl',
5844
5895
  'lg',
@@ -5848,27 +5899,27 @@ var BREAKPOINTS = [
5848
5899
  ];
5849
5900
  var CRow = forwardRef(function (_a, ref) {
5850
5901
  var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
5851
- var repsonsiveCLassNames = [];
5852
- BREAKPOINTS.forEach(function (bp) {
5902
+ var repsonsiveClassNames = [];
5903
+ BREAKPOINTS$1.forEach(function (bp) {
5853
5904
  var breakpoint = rest[bp];
5854
5905
  delete rest[bp];
5855
- var infix = bp === 'xs' ? '' : "-" + bp;
5906
+ var infix = bp === 'xs' ? '' : "-".concat(bp);
5856
5907
  if (typeof breakpoint === 'object') {
5857
5908
  if (breakpoint.cols) {
5858
- repsonsiveCLassNames.push("row-cols" + infix + "-" + breakpoint.cols);
5909
+ repsonsiveClassNames.push("row-cols".concat(infix, "-").concat(breakpoint.cols));
5859
5910
  }
5860
5911
  if (typeof breakpoint.gutter === 'number') {
5861
- repsonsiveCLassNames.push("g" + infix + "-" + breakpoint.gutter);
5912
+ repsonsiveClassNames.push("g".concat(infix, "-").concat(breakpoint.gutter));
5862
5913
  }
5863
5914
  if (typeof breakpoint.gutterX === 'number') {
5864
- repsonsiveCLassNames.push("gx" + infix + "-" + breakpoint.gutterX);
5915
+ repsonsiveClassNames.push("gx".concat(infix, "-").concat(breakpoint.gutterX));
5865
5916
  }
5866
5917
  if (typeof breakpoint.gutterY === 'number') {
5867
- repsonsiveCLassNames.push("gy" + infix + "-" + breakpoint.gutterY);
5918
+ repsonsiveClassNames.push("gy".concat(infix, "-").concat(breakpoint.gutterY));
5868
5919
  }
5869
5920
  }
5870
5921
  });
5871
- var _className = classNames('row', repsonsiveCLassNames, className);
5922
+ var _className = classNames('row', repsonsiveClassNames, className);
5872
5923
  return (React__default.createElement("div", { className: _className, ref: ref }, children));
5873
5924
  });
5874
5925
  var bp = PropTypes.shape({
@@ -5892,7 +5943,7 @@ CRow.displayName = 'CRow';
5892
5943
  var CFooter = forwardRef(function (_a, ref) {
5893
5944
  var _b;
5894
5945
  var children = _a.children, className = _a.className, position = _a.position, rest = __rest(_a, ["children", "className", "position"]);
5895
- var _className = classNames('footer', (_b = {}, _b["footer-" + position] = position, _b), className);
5946
+ var _className = classNames('footer', (_b = {}, _b["footer-".concat(position)] = position, _b), className);
5896
5947
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
5897
5948
  });
5898
5949
  CFooter.propTypes = {
@@ -5947,9 +5998,9 @@ var CFormCheck = forwardRef(function (_a, ref) {
5947
5998
  'me-2': hitArea,
5948
5999
  });
5949
6000
  var labelClassName = classNames(button
5950
- ? classNames('btn', button.variant ? "btn-" + button.variant + "-" + button.color : "btn-" + button.color, (_b = {},
5951
- _b["btn-" + button.size] = button.size,
5952
- _b), "" + button.shape)
6001
+ ? classNames('btn', button.variant ? "btn-".concat(button.variant, "-").concat(button.color) : "btn-".concat(button.color), (_b = {},
6002
+ _b["btn-".concat(button.size)] = button.size,
6003
+ _b), "".concat(button.shape))
5953
6004
  : 'form-check-label');
5954
6005
  var formControl = function () {
5955
6006
  return React__default.createElement("input", __assign({ type: type, className: inputClassName, id: id }, rest, { ref: forkedRef }));
@@ -5983,8 +6034,8 @@ var CFormFeedback = forwardRef(function (_a, ref) {
5983
6034
  var _b;
5984
6035
  var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'div' : _c, invalid = _a.invalid, tooltip = _a.tooltip, valid = _a.valid, rest = __rest(_a, ["children", "className", "component", "invalid", "tooltip", "valid"]);
5985
6036
  var _className = classNames((_b = {},
5986
- _b["invalid-" + (tooltip ? 'tooltip' : 'feedback')] = invalid,
5987
- _b["valid-" + (tooltip ? 'tooltip' : 'feedback')] = valid,
6037
+ _b["invalid-".concat(tooltip ? 'tooltip' : 'feedback')] = invalid,
6038
+ _b["valid-".concat(tooltip ? 'tooltip' : 'feedback')] = valid,
5988
6039
  _b), className);
5989
6040
  return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
5990
6041
  });
@@ -6013,7 +6064,7 @@ var CFormInput = forwardRef(function (_a, ref) {
6013
6064
  var _b;
6014
6065
  var children = _a.children, className = _a.className, invalid = _a.invalid, plainText = _a.plainText, size = _a.size, _c = _a.type, type = _c === void 0 ? 'text' : _c, valid = _a.valid, rest = __rest(_a, ["children", "className", "invalid", "plainText", "size", "type", "valid"]);
6015
6066
  var _className = classNames(plainText ? 'form-control-plaintext' : 'form-control', (_b = {},
6016
- _b["form-control-" + size] = size,
6067
+ _b["form-control-".concat(size)] = size,
6017
6068
  _b['form-control-color'] = type === 'color',
6018
6069
  _b['is-invalid'] = invalid,
6019
6070
  _b['is-valid'] = valid,
@@ -6045,7 +6096,7 @@ var CFormSelect = forwardRef(function (_a, ref) {
6045
6096
  var _b;
6046
6097
  var children = _a.children, className = _a.className, htmlSize = _a.htmlSize, invalid = _a.invalid, options = _a.options, size = _a.size, valid = _a.valid, rest = __rest(_a, ["children", "className", "htmlSize", "invalid", "options", "size", "valid"]);
6047
6098
  var _className = classNames('form-select', (_b = {},
6048
- _b["form-select-" + size] = size,
6099
+ _b["form-select-".concat(size)] = size,
6049
6100
  _b['is-invalid'] = invalid,
6050
6101
  _b['is-valid'] = valid,
6051
6102
  _b), className);
@@ -6071,7 +6122,7 @@ var CFormSwitch = forwardRef(function (_a, ref) {
6071
6122
  var _b;
6072
6123
  var className = _a.className, id = _a.id, invalid = _a.invalid, label = _a.label, size = _a.size, _c = _a.type, type = _c === void 0 ? 'checkbox' : _c, valid = _a.valid, rest = __rest(_a, ["className", "id", "invalid", "label", "size", "type", "valid"]);
6073
6124
  var _className = classNames('form-check form-switch', (_b = {},
6074
- _b["form-switch-" + size] = size,
6125
+ _b["form-switch-".concat(size)] = size,
6075
6126
  _b['is-invalid'] = invalid,
6076
6127
  _b['is-valid'] = valid,
6077
6128
  _b), className);
@@ -6128,7 +6179,7 @@ var CInputGroup = forwardRef(function (_a, ref) {
6128
6179
  var _b;
6129
6180
  var children = _a.children, className = _a.className, size = _a.size, rest = __rest(_a, ["children", "className", "size"]);
6130
6181
  var _className = classNames('input-group', (_b = {},
6131
- _b["input-group-" + size] = size,
6182
+ _b["input-group-".concat(size)] = size,
6132
6183
  _b), className);
6133
6184
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
6134
6185
  });
@@ -6154,10 +6205,10 @@ CInputGroupText.displayName = 'CInputGroupText';
6154
6205
  var CHeader = forwardRef(function (_a, ref) {
6155
6206
  var _b;
6156
6207
  var children = _a.children, className = _a.className, container = _a.container, position = _a.position, rest = __rest(_a, ["children", "className", "container", "position"]);
6157
- var _className = classNames('header', (_b = {}, _b["header-" + position] = position, _b), className);
6208
+ var _className = classNames('header', (_b = {}, _b["header-".concat(position)] = position, _b), className);
6158
6209
  var content;
6159
6210
  if (container) {
6160
- content = (React__default.createElement("div", { className: "container" + (container !== true ? '-' + container : '') }, children));
6211
+ content = (React__default.createElement("div", { className: "container".concat(container !== true ? '-' + container : '') }, children));
6161
6212
  }
6162
6213
  else {
6163
6214
  content = children;
@@ -6242,7 +6293,7 @@ var CImage = forwardRef(function (_a, ref) {
6242
6293
  var _b;
6243
6294
  var align = _a.align, className = _a.className, fluid = _a.fluid, rounded = _a.rounded, thumbnail = _a.thumbnail, rest = __rest(_a, ["align", "className", "fluid", "rounded", "thumbnail"]);
6244
6295
  var _className = classNames((_b = {},
6245
- _b["float-" + align] = align && (align === 'start' || align === 'end'),
6296
+ _b["float-".concat(align)] = align && (align === 'start' || align === 'end'),
6246
6297
  _b['d-block mx-auto'] = align && align === 'center',
6247
6298
  _b['img-fluid'] = fluid,
6248
6299
  _b.rounded = rounded,
@@ -6265,7 +6316,7 @@ var CListGroup = forwardRef(function (_a, ref) {
6265
6316
  var _className = classNames('list-group', (_b = {
6266
6317
  'list-group-flush': flush
6267
6318
  },
6268
- _b["list-group-" + layout] = layout,
6319
+ _b["list-group-".concat(layout)] = layout,
6269
6320
  _b), className);
6270
6321
  return (React__default.createElement(Component, { className: _className, ref: ref }, children));
6271
6322
  });
@@ -6289,7 +6340,7 @@ var CListGroupItem = forwardRef(function (_a, ref) {
6289
6340
  var _b;
6290
6341
  var children = _a.children, active = _a.active, className = _a.className, disabled = _a.disabled, color = _a.color, _c = _a.component, component = _c === void 0 ? 'li' : _c, rest = __rest(_a, ["children", "active", "className", "disabled", "color", "component"]);
6291
6342
  var _className = classNames('list-group-item', (_b = {},
6292
- _b["list-group-item-" + color] = color,
6343
+ _b["list-group-item-".concat(color)] = color,
6293
6344
  _b['list-group-item-action'] = component === 'a' || component === 'button',
6294
6345
  _b.active = active,
6295
6346
  _b.disabled = disabled,
@@ -6332,9 +6383,9 @@ var CModalDialog = forwardRef(function (_a, ref) {
6332
6383
  },
6333
6384
  _b[typeof fullscreen === 'boolean'
6334
6385
  ? 'modal-fullscreen'
6335
- : "modal-fullscreen-" + fullscreen + "-down"] = fullscreen,
6386
+ : "modal-fullscreen-".concat(fullscreen, "-down")] = fullscreen,
6336
6387
  _b['modal-dialog-scrollable'] = scrollable,
6337
- _b["modal-" + size] = size,
6388
+ _b["modal-".concat(size)] = size,
6338
6389
  _b), className);
6339
6390
  return (React__default.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
6340
6391
  });
@@ -6500,8 +6551,8 @@ var CNav = forwardRef(function (_a, ref) {
6500
6551
  var _b;
6501
6552
  var children = _a.children, className = _a.className, _c = _a.component, Component = _c === void 0 ? 'ul' : _c, layout = _a.layout, variant = _a.variant, rest = __rest(_a, ["children", "className", "component", "layout", "variant"]);
6502
6553
  var _className = classNames('nav', (_b = {},
6503
- _b["nav-" + layout] = layout,
6504
- _b["nav-" + variant] = variant,
6554
+ _b["nav-".concat(layout)] = layout,
6555
+ _b["nav-".concat(variant)] = variant,
6505
6556
  _b), className);
6506
6557
  return (React__default.createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children));
6507
6558
  });
@@ -6537,7 +6588,7 @@ var CSidebarNav = forwardRef(function (_a, ref) {
6537
6588
  return (React__default.createElement("ul", __assign({ className: classes, ref: ref }, rest),
6538
6589
  React__default.createElement(CNavContext.Provider, { value: CNavContextValues }, React__default.Children.map(children, function (child, index) {
6539
6590
  if (React__default.isValidElement(child)) {
6540
- return React__default.cloneElement(child, { key: index, idx: "" + index });
6591
+ return React__default.cloneElement(child, { key: index, idx: "".concat(index) });
6541
6592
  }
6542
6593
  return;
6543
6594
  }))));
@@ -6597,7 +6648,7 @@ var CNavGroup = forwardRef(function (_a, ref) {
6597
6648
  compact: compact,
6598
6649
  }), style: __assign(__assign({}, style), transitionStyles[state]), ref: navItemsRef }, React__default.Children.map(children, function (child, index) {
6599
6650
  if (React__default.isValidElement(child)) {
6600
- return React__default.cloneElement(child, { key: index, idx: idx + "." + index });
6651
+ return React__default.cloneElement(child, { key: index, idx: "".concat(idx, ".").concat(index) });
6601
6652
  }
6602
6653
  return;
6603
6654
  }))); })));
@@ -6661,13 +6712,13 @@ var CNavbar = forwardRef(function (_a, ref) {
6661
6712
  var _b;
6662
6713
  var children = _a.children, className = _a.className, color = _a.color, colorScheme = _a.colorScheme, _c = _a.component, Component = _c === void 0 ? 'nav' : _c, container = _a.container, expand = _a.expand, placement = _a.placement, rest = __rest(_a, ["children", "className", "color", "colorScheme", "component", "container", "expand", "placement"]);
6663
6714
  var _className = classNames('navbar', (_b = {},
6664
- _b["bg-" + color] = color,
6665
- _b["navbar-" + colorScheme] = colorScheme,
6666
- _b[typeof expand === 'boolean' ? 'navbar-expand' : "navbar-expand-" + expand] = expand,
6715
+ _b["bg-".concat(color)] = color,
6716
+ _b["navbar-".concat(colorScheme)] = colorScheme,
6717
+ _b[typeof expand === 'boolean' ? 'navbar-expand' : "navbar-expand-".concat(expand)] = expand,
6667
6718
  _b), placement, className);
6668
6719
  var content;
6669
6720
  if (container) {
6670
- content = (React__default.createElement("div", { className: "container" + (container !== true ? '-' + container : '') }, children));
6721
+ content = (React__default.createElement("div", { className: "container".concat(container !== true ? '-' + container : '') }, children));
6671
6722
  }
6672
6723
  else {
6673
6724
  content = children;
@@ -6750,8 +6801,8 @@ var CPagination = forwardRef(function (_a, ref) {
6750
6801
  var _b;
6751
6802
  var children = _a.children, align = _a.align, className = _a.className, size = _a.size, rest = __rest(_a, ["children", "align", "className", "size"]);
6752
6803
  var _className = classNames('pagination', (_b = {},
6753
- _b["justify-content-" + align] = align,
6754
- _b["pagination-" + size] = size,
6804
+ _b["justify-content-".concat(align)] = align,
6805
+ _b["pagination-".concat(size)] = size,
6755
6806
  _b), className);
6756
6807
  return (React__default.createElement("nav", __assign({ ref: ref }, rest),
6757
6808
  React__default.createElement("ul", { className: _className }, children)));
@@ -6780,6 +6831,45 @@ CPaginationItem.propTypes = {
6780
6831
  };
6781
6832
  CPaginationItem.displayName = 'CPaginationItem';
6782
6833
 
6834
+ var BREAKPOINTS = [
6835
+ 'xxl',
6836
+ 'xl',
6837
+ 'lg',
6838
+ 'md',
6839
+ 'sm',
6840
+ 'xs',
6841
+ ];
6842
+ var CPlaceholder = forwardRef(function (_a, ref) {
6843
+ var _b;
6844
+ var children = _a.children, animation = _a.animation, className = _a.className, color = _a.color, _c = _a.component, Component = _c === void 0 ? 'span' : _c, size = _a.size, rest = __rest(_a, ["children", "animation", "className", "color", "component", "size"]);
6845
+ var repsonsiveClassNames = [];
6846
+ BREAKPOINTS.forEach(function (bp) {
6847
+ var breakpoint = rest[bp];
6848
+ delete rest[bp];
6849
+ var infix = bp === 'xs' ? '' : "-".concat(bp);
6850
+ if (typeof breakpoint === 'number') {
6851
+ repsonsiveClassNames.push("col".concat(infix, "-").concat(breakpoint));
6852
+ }
6853
+ if (typeof breakpoint === 'boolean') {
6854
+ repsonsiveClassNames.push("col".concat(infix));
6855
+ }
6856
+ });
6857
+ var _className = classNames(animation ? "placeholder-".concat(animation) : 'placeholder', (_b = {},
6858
+ _b["bg-".concat(color)] = color,
6859
+ _b["placeholder-".concat(size)] = size,
6860
+ _b), repsonsiveClassNames, className);
6861
+ return (React__default.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
6862
+ });
6863
+ CPlaceholder.propTypes = {
6864
+ animation: PropTypes.oneOf(['glow', 'wave']),
6865
+ children: PropTypes.node,
6866
+ className: PropTypes.string,
6867
+ color: colorPropType,
6868
+ component: PropTypes.elementType,
6869
+ size: PropTypes.oneOf(['xs', 'sm', 'lg']),
6870
+ };
6871
+ CPlaceholder.displayName = 'CPlaceholder';
6872
+
6783
6873
  var CPopover = function (_a) {
6784
6874
  var children = _a.children, content = _a.content, _b = _a.placement, placement = _b === void 0 ? 'top' : _b, _c = _a.offset, offset = _c === void 0 ? [0, 8] : _c, onHide = _a.onHide, onShow = _a.onShow, title = _a.title, _d = _a.trigger, trigger = _d === void 0 ? 'click' : _d, visible = _a.visible, rest = __rest(_a, ["children", "content", "placement", "offset", "onHide", "onShow", "title", "trigger", "visible"]);
6785
6875
  var _e = useState(visible), _visible = _e[0], setVisible = _e[1];
@@ -6820,7 +6910,7 @@ var CPopover = function (_a) {
6820
6910
  },
6821
6911
  ] }, function (_a) {
6822
6912
  var arrowProps = _a.arrowProps, style = _a.style, ref = _a.ref;
6823
- return (React__default.createElement("div", __assign({ className: classNames("popover bs-popover-" + (placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), transitionClass), ref: ref, role: "tooltip", style: style }, rest),
6913
+ return (React__default.createElement("div", __assign({ className: classNames("popover bs-popover-".concat(placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), transitionClass), ref: ref, role: "tooltip", style: style }, rest),
6824
6914
  React__default.createElement("div", __assign({ className: "popover-arrow" }, arrowProps)),
6825
6915
  React__default.createElement("div", { className: "popover-header" }, title),
6826
6916
  React__default.createElement("div", { className: "popover-body" }, content)));
@@ -6844,11 +6934,11 @@ var CProgressBar = forwardRef(function (_a, ref) {
6844
6934
  var _b;
6845
6935
  var children = _a.children, animated = _a.animated, className = _a.className, color = _a.color, _c = _a.value, value = _c === void 0 ? 0 : _c, variant = _a.variant, rest = __rest(_a, ["children", "animated", "className", "color", "value", "variant"]);
6846
6936
  var _className = classNames('progress-bar', (_b = {},
6847
- _b["bg-" + color] = color,
6848
- _b["progress-bar-" + variant] = variant,
6937
+ _b["bg-".concat(color)] = color,
6938
+ _b["progress-bar-".concat(variant)] = variant,
6849
6939
  _b['progress-bar-animated'] = animated,
6850
6940
  _b), className);
6851
- return (React__default.createElement("div", __assign({ className: _className, role: "progressbar", style: { width: value + "%" }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
6941
+ return (React__default.createElement("div", __assign({ className: _className, role: "progressbar", style: { width: "".concat(value, "%") }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
6852
6942
  });
6853
6943
  CProgressBar.propTypes = {
6854
6944
  animated: PropTypes.bool,
@@ -6866,7 +6956,7 @@ var CProgress = forwardRef(function (_a, ref) {
6866
6956
  'progress-thin': thin,
6867
6957
  'progress-white': white,
6868
6958
  }, className);
6869
- return (React__default.createElement("div", { className: _className, style: height ? { height: height + "px" } : {}, ref: ref }, value ? (React__default.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
6959
+ return (React__default.createElement("div", { className: _className, style: height ? { height: "".concat(height, "px") } : {}, ref: ref }, value ? (React__default.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
6870
6960
  });
6871
6961
  CProgress.propTypes = {
6872
6962
  children: PropTypes.node,
@@ -6963,8 +7053,8 @@ var CSidebar = forwardRef(function (_a, ref) {
6963
7053
  'sidebar-narrow': narrow,
6964
7054
  'sidebar-overlaid': overlaid
6965
7055
  },
6966
- _b["sidebar-" + position] = position,
6967
- _b["sidebar-" + size] = size,
7056
+ _b["sidebar-".concat(position)] = position,
7057
+ _b["sidebar-".concat(size)] = size,
6968
7058
  _b['sidebar-narrow-unfoldable'] = unfoldable,
6969
7059
  _b.show = _visible === true && mobile,
6970
7060
  _b.hide = _visible === false && !mobile,
@@ -7013,7 +7103,7 @@ var COffcanvas = forwardRef(function (_a, ref) {
7013
7103
  }
7014
7104
  }, [_visible]);
7015
7105
  var _className = classNames('offcanvas', (_b = {},
7016
- _b["offcanvas-" + placement] = placement,
7106
+ _b["offcanvas-".concat(placement)] = placement,
7017
7107
  _b.show = _visible,
7018
7108
  _b), className);
7019
7109
  var transitionStyles = {
@@ -7042,8 +7132,8 @@ var COffcanvas = forwardRef(function (_a, ref) {
7042
7132
  }),
7043
7133
  typeof window !== 'undefined' && portal
7044
7134
  ? backdrop &&
7045
- createPortal(React__default.createElement(CBackdrop, { visible: _visible, onClick: handleDismiss }), document.body)
7046
- : backdrop && React__default.createElement(CBackdrop, { visible: _visible, onClick: handleDismiss })));
7135
+ createPortal(React__default.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleDismiss, visible: _visible }), document.body)
7136
+ : backdrop && (React__default.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleDismiss, visible: _visible }))));
7047
7137
  });
7048
7138
  COffcanvas.propTypes = {
7049
7139
  backdrop: PropTypes.bool,
@@ -7140,7 +7230,7 @@ CSidebarHeader.displayName = 'CSidebarHeader';
7140
7230
 
7141
7231
  var CSpinner = forwardRef(function (_a, ref) {
7142
7232
  var className = _a.className, color = _a.color, _b = _a.component, Component = _b === void 0 ? 'div' : _b, size = _a.size, _c = _a.variant, variant = _c === void 0 ? 'border' : _c, _d = _a.visuallyHiddenLabel, visuallyHiddenLabel = _d === void 0 ? 'Loading...' : _d, rest = __rest(_a, ["className", "color", "component", "size", "variant", "visuallyHiddenLabel"]);
7143
- var _className = classNames("spinner-" + variant, "text-" + color, size && "spinner-" + variant + "-" + size, className);
7233
+ var _className = classNames("spinner-".concat(variant), "text-".concat(color), size && "spinner-".concat(variant, "-").concat(size), className);
7144
7234
  return (React__default.createElement(Component, __assign({ className: _className, role: "status" }, rest, { ref: ref }),
7145
7235
  React__default.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
7146
7236
  });
@@ -7158,17 +7248,17 @@ var CTable = forwardRef(function (_a, ref) {
7158
7248
  var _b;
7159
7249
  var children = _a.children, align = _a.align, borderColor = _a.borderColor, bordered = _a.bordered, borderless = _a.borderless, caption = _a.caption, className = _a.className, color = _a.color, hover = _a.hover, responsive = _a.responsive, small = _a.small, striped = _a.striped, rest = __rest(_a, ["children", "align", "borderColor", "bordered", "borderless", "caption", "className", "color", "hover", "responsive", "small", "striped"]);
7160
7250
  var _className = classNames('table', (_b = {},
7161
- _b["align-" + align] = align,
7162
- _b["caption-" + caption] = caption,
7163
- _b["border-" + borderColor] = borderColor,
7251
+ _b["align-".concat(align)] = align,
7252
+ _b["caption-".concat(caption)] = caption,
7253
+ _b["border-".concat(borderColor)] = borderColor,
7164
7254
  _b['table-bordered'] = bordered,
7165
7255
  _b['table-borderless'] = borderless,
7166
- _b["table-" + color] = color,
7256
+ _b["table-".concat(color)] = color,
7167
7257
  _b['table-hover'] = hover,
7168
7258
  _b['table-sm'] = small,
7169
7259
  _b['table-striped'] = striped,
7170
7260
  _b), className);
7171
- return responsive ? (React__default.createElement("div", { className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-" + responsive },
7261
+ return responsive ? (React__default.createElement("div", { className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-".concat(responsive) },
7172
7262
  React__default.createElement("table", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children))) : (React__default.createElement("table", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7173
7263
  });
7174
7264
  CTable.propTypes = {
@@ -7194,7 +7284,7 @@ var CTableBody = forwardRef(function (_a, ref) {
7194
7284
  var _b;
7195
7285
  var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]);
7196
7286
  var _className = classNames((_b = {},
7197
- _b["table-" + color] = color,
7287
+ _b["table-".concat(color)] = color,
7198
7288
  _b), className);
7199
7289
  return (React__default.createElement("tbody", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7200
7290
  });
@@ -7218,9 +7308,9 @@ var CTableDataCell = forwardRef(function (_a, ref) {
7218
7308
  var _b;
7219
7309
  var children = _a.children, active = _a.active, align = _a.align, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "active", "align", "className", "color"]);
7220
7310
  var _className = classNames((_b = {},
7221
- _b["align-" + align] = align,
7311
+ _b["align-".concat(align)] = align,
7222
7312
  _b['table-active'] = active,
7223
- _b["table-" + color] = color,
7313
+ _b["table-".concat(color)] = color,
7224
7314
  _b), className);
7225
7315
  return (React__default.createElement("td", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7226
7316
  });
@@ -7237,7 +7327,7 @@ var CTableFoot = forwardRef(function (_a, ref) {
7237
7327
  var _b;
7238
7328
  var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]);
7239
7329
  var _className = classNames((_b = {},
7240
- _b["table-" + color] = color,
7330
+ _b["table-".concat(color)] = color,
7241
7331
  _b), className);
7242
7332
  return (React__default.createElement("tfoot", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7243
7333
  });
@@ -7252,7 +7342,7 @@ var CTableHead = forwardRef(function (_a, ref) {
7252
7342
  var _b;
7253
7343
  var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]);
7254
7344
  var _className = classNames((_b = {},
7255
- _b["table-" + color] = color,
7345
+ _b["table-".concat(color)] = color,
7256
7346
  _b), className);
7257
7347
  return (React__default.createElement("thead", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7258
7348
  });
@@ -7267,7 +7357,7 @@ var CTableHeaderCell = forwardRef(function (_a, ref) {
7267
7357
  var _b;
7268
7358
  var children = _a.children, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "className", "color"]);
7269
7359
  var _className = classNames((_b = {},
7270
- _b["table-" + color] = color,
7360
+ _b["table-".concat(color)] = color,
7271
7361
  _b), className);
7272
7362
  return (React__default.createElement("th", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7273
7363
  });
@@ -7282,9 +7372,9 @@ var CTableRow = forwardRef(function (_a, ref) {
7282
7372
  var _b;
7283
7373
  var children = _a.children, active = _a.active, align = _a.align, className = _a.className, color = _a.color, rest = __rest(_a, ["children", "active", "align", "className", "color"]);
7284
7374
  var _className = classNames((_b = {},
7285
- _b["align-" + align] = align,
7375
+ _b["align-".concat(align)] = align,
7286
7376
  _b['table-active'] = active,
7287
- _b["table-" + color] = color,
7377
+ _b["table-".concat(color)] = color,
7288
7378
  _b), className);
7289
7379
  return (React__default.createElement("tr", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
7290
7380
  });
@@ -7359,7 +7449,7 @@ var CToast = forwardRef(function (_a, ref) {
7359
7449
  var _className = classNames('toast', (_b = {
7360
7450
  fade: animation
7361
7451
  },
7362
- _b["bg-" + color] = color,
7452
+ _b["bg-".concat(color)] = color,
7363
7453
  _b['border-0'] = color,
7364
7454
  _b), className);
7365
7455
  var getTransitionClass = function (state) {
@@ -7516,7 +7606,7 @@ var CTooltip = function (_a) {
7516
7606
  var transitionClass = getTransitionClass(state);
7517
7607
  return (React__default.createElement(Popper, { placement: placement }, function (_a) {
7518
7608
  var arrowProps = _a.arrowProps, style = _a.style, ref = _a.ref;
7519
- return (React__default.createElement("div", __assign({ className: classNames("tooltip bs-tooltip-" + (placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), transitionClass), ref: ref, role: "tooltip", style: style }, rest),
7609
+ return (React__default.createElement("div", __assign({ className: classNames("tooltip bs-tooltip-".concat(placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), transitionClass), ref: ref, role: "tooltip", style: style }, rest),
7520
7610
  React__default.createElement("div", __assign({ className: "tooltip-arrow" }, arrowProps)),
7521
7611
  React__default.createElement("div", { className: "tooltip-inner" }, content)));
7522
7612
  }));
@@ -7536,7 +7626,7 @@ CTooltip.displayName = 'CTooltip';
7536
7626
  var CWidgetStatsA = forwardRef(function (_a, ref) {
7537
7627
  var _b;
7538
7628
  var action = _a.action, chart = _a.chart, className = _a.className, color = _a.color, title = _a.title, value = _a.value, rest = __rest(_a, ["action", "chart", "className", "color", "title", "value"]);
7539
- var _className = classNames((_b = {}, _b["bg-" + color] = color, _b['text-high-emphasis-inverse'] = color, _b), className);
7629
+ var _className = classNames((_b = {}, _b["bg-".concat(color)] = color, _b['text-high-emphasis-inverse'] = color, _b), className);
7540
7630
  return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }),
7541
7631
  React__default.createElement(CCardBody, { className: "pb-0 d-flex justify-content-between align-items-start" },
7542
7632
  React__default.createElement("div", null,
@@ -7579,8 +7669,8 @@ var CWidgetStatsC = forwardRef(function (_a, ref) {
7579
7669
  var className = _a.className, color = _a.color, icon = _a.icon, inverse = _a.inverse, progress = _a.progress, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "icon", "inverse", "progress", "title", "value"]);
7580
7670
  return (React__default.createElement(CCard, __assign({ className: className, color: color }, (inverse && { textColor: 'high-emphasis-inverse' }), rest, { ref: ref }),
7581
7671
  React__default.createElement(CCardBody, null,
7582
- icon && (React__default.createElement("div", { className: "text-medium-emphasis" + (inverse ? '-inverse' : '') + " text-end mb-4" }, icon)),
7583
- value && (React__default.createElement("div", { className: "text-high-emphasis" + (inverse ? '-inverse' : '') + " fs-4 fw-semibold" }, value)),
7672
+ icon && (React__default.createElement("div", { className: "text-medium-emphasis".concat(inverse ? '-inverse' : '', " text-end mb-4") }, icon)),
7673
+ value && (React__default.createElement("div", { className: "text-high-emphasis".concat(inverse ? '-inverse' : '', " fs-4 fw-semibold") }, value)),
7584
7674
  title && (React__default.createElement("div", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, title)),
7585
7675
  React__default.createElement(CProgress, __assign({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
7586
7676
  });
@@ -7600,7 +7690,7 @@ var CWidgetStatsD = forwardRef(function (_a, ref) {
7600
7690
  var className = _a.className, chart = _a.chart, color = _a.color, icon = _a.icon, values = _a.values, rest = __rest(_a, ["className", "chart", "color", "icon", "values"]);
7601
7691
  var _className = classNames(className);
7602
7692
  var classNameHeader = classNames('position-relative d-flex justify-content-center align-items-center', (_b = {},
7603
- _b["bg-" + color] = color,
7693
+ _b["bg-".concat(color)] = color,
7604
7694
  _b));
7605
7695
  return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }),
7606
7696
  React__default.createElement(CCardHeader, { className: classNameHeader },
@@ -7646,10 +7736,10 @@ var CWidgetStatsF = forwardRef(function (_a, ref) {
7646
7736
  var className = _a.className, color = _a.color, footer = _a.footer, icon = _a.icon, _b = _a.padding, padding = _b === void 0 ? true : _b, title = _a.title, value = _a.value, rest = __rest(_a, ["className", "color", "footer", "icon", "padding", "title", "value"]);
7647
7737
  var _className = classNames(className);
7648
7738
  return (React__default.createElement(CCard, __assign({ className: _className }, rest, { ref: ref }),
7649
- React__default.createElement(CCardBody, { className: "d-flex align-items-center " + (padding === false && 'p-0') },
7650
- React__default.createElement("div", { className: "me-3 text-white bg-" + color + " " + (padding ? 'p-3' : 'p-4') }, icon),
7739
+ React__default.createElement(CCardBody, { className: "d-flex align-items-center ".concat(padding === false && 'p-0') },
7740
+ React__default.createElement("div", { className: "me-3 text-white bg-".concat(color, " ").concat(padding ? 'p-3' : 'p-4') }, icon),
7651
7741
  React__default.createElement("div", null,
7652
- React__default.createElement("div", { className: "fs-6 fw-semibold text-" + color }, value),
7742
+ React__default.createElement("div", { className: "fs-6 fw-semibold text-".concat(color) }, value),
7653
7743
  React__default.createElement("div", { className: "text-medium-emphasis text-uppercase fw-semibold small" }, title))),
7654
7744
  footer && React__default.createElement(CCardFooter, null, footer)));
7655
7745
  });
@@ -7664,5 +7754,5 @@ CWidgetStatsF.propTypes = {
7664
7754
  };
7665
7755
  CWidgetStatsF.displayName = 'CWidgetStatsF';
7666
7756
 
7667
- export { CAccordion, CAccordionBody, CAccordionButton, CAccordionCollapse, CAccordionHeader, CAccordionItem, CAlert, CAlertHeading, CAlertLink, CAvatar, CBackdrop, CBadge, CBreadcrumb, CBreadcrumbItem, CButton, CButtonGroup, CButtonToolbar, CCallout, CCard, CCardBody, CCardFooter, CCardGroup, CCardHeader, CCardImage, CCardImageOverlay, CCardLink, CCardSubtitle, CCardText, CCardTitle, CCarousel, CCarouselCaption, CCarouselItem, CCloseButton, CCol, CCollapse, CContainer, CDropdown, CDropdownDivider, CDropdownHeader, CDropdownItem, CDropdownItemPlain, CDropdownMenu, CDropdownToggle, CFooter, CForm, CFormCheck, CFormFeedback, CFormFloating, CFormInput, CFormLabel, CFormRange, CFormSelect, CFormSwitch, CFormText, CFormTextarea, CHeader, CHeaderBrand, CHeaderDivider, CHeaderNav, CHeaderText, CHeaderToggler, CImage, CInputGroup, CInputGroupText, CLink, CListGroup, CListGroupItem, CModal, CModalBody, CModalContent, CModalDialog, CModalFooter, CModalHeader, CModalTitle, CNav, CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle, CNavbar, CNavbarBrand, CNavbarNav, CNavbarText, CNavbarToggler, COffcanvas, COffcanvasBody, COffcanvasHeader, COffcanvasTitle, CPagination, CPaginationItem, CPopover, CProgress, CProgressBar, CRow, CSidebar, CSidebarBrand, CSidebarFooter, CSidebarHeader, CSidebarNav, CSidebarToggler, CSpinner, CTabContent, CTabPane, CTable, CTableBody, CTableCaption, CTableDataCell, CTableFoot, CTableHead, CTableHeaderCell, CTableRow, CToast, CToastBody, CToastClose, CToastHeader, CToaster, CTooltip, CWidgetStatsA, CWidgetStatsB, CWidgetStatsC, CWidgetStatsD, CWidgetStatsE, CWidgetStatsF };
7757
+ export { CAccordion, CAccordionBody, CAccordionButton, CAccordionCollapse, CAccordionHeader, CAccordionItem, CAlert, CAlertHeading, CAlertLink, CAvatar, CBackdrop, CBadge, CBreadcrumb, CBreadcrumbItem, CButton, CButtonGroup, CButtonToolbar, CCallout, CCard, CCardBody, CCardFooter, CCardGroup, CCardHeader, CCardImage, CCardImageOverlay, CCardLink, CCardSubtitle, CCardText, CCardTitle, CCarousel, CCarouselCaption, CCarouselItem, CCloseButton, CCol, CCollapse, CContainer, CDropdown, CDropdownDivider, CDropdownHeader, CDropdownItem, CDropdownItemPlain, CDropdownMenu, CDropdownToggle, CFooter, CForm, CFormCheck, CFormFeedback, CFormFloating, CFormInput, CFormLabel, CFormRange, CFormSelect, CFormSwitch, CFormText, CFormTextarea, CHeader, CHeaderBrand, CHeaderDivider, CHeaderNav, CHeaderText, CHeaderToggler, CImage, CInputGroup, CInputGroupText, CLink, CListGroup, CListGroupItem, CModal, CModalBody, CModalContent, CModalDialog, CModalFooter, CModalHeader, CModalTitle, CNav, CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle, CNavbar, CNavbarBrand, CNavbarNav, CNavbarText, CNavbarToggler, COffcanvas, COffcanvasBody, COffcanvasHeader, COffcanvasTitle, CPagination, CPaginationItem, CPlaceholder, CPopover, CProgress, CProgressBar, CRow, CSidebar, CSidebarBrand, CSidebarFooter, CSidebarHeader, CSidebarNav, CSidebarToggler, CSpinner, CTabContent, CTabPane, CTable, CTableBody, CTableCaption, CTableDataCell, CTableFoot, CTableHead, CTableHeaderCell, CTableRow, CToast, CToastBody, CToastClose, CToastHeader, CToaster, CTooltip, CWidgetStatsA, CWidgetStatsB, CWidgetStatsC, CWidgetStatsD, CWidgetStatsE, CWidgetStatsF };
7668
7758
  //# sourceMappingURL=index.es.js.map