@coreui/react-pro 4.12.3 → 4.13.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.js CHANGED
@@ -60,7 +60,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
60
60
 
61
61
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
62
62
 
63
- function getDefaultExportFromCjs (x) {
63
+ function getDefaultExportFromCjs$1 (x) {
64
64
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
65
65
  }
66
66
 
@@ -1244,8 +1244,8 @@ if (process.env.NODE_ENV !== 'production') {
1244
1244
  propTypes$1.exports = requireFactoryWithThrowingShims$1()();
1245
1245
  }
1246
1246
 
1247
- var propTypesExports = propTypes$1.exports;
1248
- var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
1247
+ var propTypesExports$1 = propTypes$1.exports;
1248
+ var PropTypes$1 = /*@__PURE__*/getDefaultExportFromCjs$1(propTypesExports$1);
1249
1249
 
1250
1250
  var classnames$1 = {exports: {}};
1251
1251
 
@@ -1306,8 +1306,8 @@ var classnames$1 = {exports: {}};
1306
1306
  }());
1307
1307
  } (classnames$1));
1308
1308
 
1309
- var classnamesExports = classnames$1.exports;
1310
- var classNames$1 = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
1309
+ var classnamesExports$1 = classnames$1.exports;
1310
+ var classNames$1 = /*@__PURE__*/getDefaultExportFromCjs$1(classnamesExports$1);
1311
1311
 
1312
1312
  var CAccordionContext = React$1.createContext({});
1313
1313
  var CAccordion = React$1.forwardRef(function (_a, ref) {
@@ -1317,11 +1317,11 @@ var CAccordion = React$1.forwardRef(function (_a, ref) {
1317
1317
  React$1.createElement(CAccordionContext.Provider, { value: { _activeItemKey: _activeItemKey, alwaysOpen: alwaysOpen, setActiveKey: setActiveKey } }, children)));
1318
1318
  });
1319
1319
  CAccordion.propTypes = {
1320
- alwaysOpen: PropTypes.bool,
1321
- activeItemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
1322
- children: PropTypes.node,
1323
- className: PropTypes.string,
1324
- flush: PropTypes.bool,
1320
+ alwaysOpen: PropTypes$1.bool,
1321
+ activeItemKey: PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.string]),
1322
+ children: PropTypes$1.node,
1323
+ className: PropTypes$1.string,
1324
+ flush: PropTypes$1.bool,
1325
1325
  };
1326
1326
  CAccordion.displayName = 'CAccordion';
1327
1327
 
@@ -1341,9 +1341,9 @@ var CAccordionItem = React$1.forwardRef(function (_a, ref) {
1341
1341
  React$1.createElement(CAccordionItemContext.Provider, { value: { setVisible: setVisible, visible: visible } }, children)));
1342
1342
  });
1343
1343
  CAccordionItem.propTypes = {
1344
- children: PropTypes.node,
1345
- className: PropTypes.string,
1346
- itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
1344
+ children: PropTypes$1.node,
1345
+ className: PropTypes$1.string,
1346
+ itemKey: PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.string]),
1347
1347
  };
1348
1348
  CAccordionItem.displayName = 'CAccordionItem';
1349
1349
 
@@ -1436,22 +1436,22 @@ var config = {
1436
1436
  disabled: false
1437
1437
  };
1438
1438
 
1439
- var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
1440
- enter: PropTypes.number,
1441
- exit: PropTypes.number,
1442
- appear: PropTypes.number
1439
+ var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.shape({
1440
+ enter: PropTypes$1.number,
1441
+ exit: PropTypes$1.number,
1442
+ appear: PropTypes$1.number
1443
1443
  }).isRequired]) : null;
1444
- var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
1445
- enter: PropTypes.string,
1446
- exit: PropTypes.string,
1447
- active: PropTypes.string
1448
- }), PropTypes.shape({
1449
- enter: PropTypes.string,
1450
- enterDone: PropTypes.string,
1451
- enterActive: PropTypes.string,
1452
- exit: PropTypes.string,
1453
- exitDone: PropTypes.string,
1454
- exitActive: PropTypes.string
1444
+ var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.shape({
1445
+ enter: PropTypes$1.string,
1446
+ exit: PropTypes$1.string,
1447
+ active: PropTypes$1.string
1448
+ }), PropTypes$1.shape({
1449
+ enter: PropTypes$1.string,
1450
+ enterDone: PropTypes$1.string,
1451
+ enterActive: PropTypes$1.string,
1452
+ exit: PropTypes$1.string,
1453
+ exitDone: PropTypes$1.string,
1454
+ exitActive: PropTypes$1.string
1455
1455
  })]) : null;
1456
1456
 
1457
1457
  var TransitionGroupContext = React$1.createContext(null);
@@ -1878,10 +1878,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
1878
1878
  * (see
1879
1879
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
1880
1880
  */
1881
- nodeRef: PropTypes.shape({
1882
- current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
1881
+ nodeRef: PropTypes$1.shape({
1882
+ current: typeof Element === 'undefined' ? PropTypes$1.any : function (propValue, key, componentName, location, propFullName, secret) {
1883
1883
  var value = propValue[key];
1884
- return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
1884
+ return PropTypes$1.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
1885
1885
  }
1886
1886
  }),
1887
1887
 
@@ -1899,12 +1899,12 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
1899
1899
  * </Transition>
1900
1900
  * ```
1901
1901
  */
1902
- children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
1902
+ children: PropTypes$1.oneOfType([PropTypes$1.func.isRequired, PropTypes$1.element.isRequired]).isRequired,
1903
1903
 
1904
1904
  /**
1905
1905
  * Show the component; triggers the enter or exit states
1906
1906
  */
1907
- in: PropTypes.bool,
1907
+ in: PropTypes$1.bool,
1908
1908
 
1909
1909
  /**
1910
1910
  * By default the child component is mounted immediately along with
@@ -1912,13 +1912,13 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
1912
1912
  * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
1913
1913
  * mounted, even on "exited", unless you also specify `unmountOnExit`.
1914
1914
  */
1915
- mountOnEnter: PropTypes.bool,
1915
+ mountOnEnter: PropTypes$1.bool,
1916
1916
 
1917
1917
  /**
1918
1918
  * By default the child component stays mounted after it reaches the `'exited'` state.
1919
1919
  * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
1920
1920
  */
1921
- unmountOnExit: PropTypes.bool,
1921
+ unmountOnExit: PropTypes$1.bool,
1922
1922
 
1923
1923
  /**
1924
1924
  * By default the child component does not perform the enter transition when
@@ -1931,17 +1931,17 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
1931
1931
  * > additional `.appear-*` classes, that way you can choose to style it
1932
1932
  * > differently.
1933
1933
  */
1934
- appear: PropTypes.bool,
1934
+ appear: PropTypes$1.bool,
1935
1935
 
1936
1936
  /**
1937
1937
  * Enable or disable enter transitions.
1938
1938
  */
1939
- enter: PropTypes.bool,
1939
+ enter: PropTypes$1.bool,
1940
1940
 
1941
1941
  /**
1942
1942
  * Enable or disable exit transitions.
1943
1943
  */
1944
- exit: PropTypes.bool,
1944
+ exit: PropTypes$1.bool,
1945
1945
 
1946
1946
  /**
1947
1947
  * The duration of the transition, in milliseconds.
@@ -1994,7 +1994,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
1994
1994
  * }}
1995
1995
  * ```
1996
1996
  */
1997
- addEndListener: PropTypes.func,
1997
+ addEndListener: PropTypes$1.func,
1998
1998
 
1999
1999
  /**
2000
2000
  * Callback fired before the "entering" status is applied. An extra parameter
@@ -2004,7 +2004,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
2004
2004
  *
2005
2005
  * @type Function(node: HtmlElement, isAppearing: bool) -> void
2006
2006
  */
2007
- onEnter: PropTypes.func,
2007
+ onEnter: PropTypes$1.func,
2008
2008
 
2009
2009
  /**
2010
2010
  * Callback fired after the "entering" status is applied. An extra parameter
@@ -2014,7 +2014,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
2014
2014
  *
2015
2015
  * @type Function(node: HtmlElement, isAppearing: bool)
2016
2016
  */
2017
- onEntering: PropTypes.func,
2017
+ onEntering: PropTypes$1.func,
2018
2018
 
2019
2019
  /**
2020
2020
  * Callback fired after the "entered" status is applied. An extra parameter
@@ -2024,7 +2024,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
2024
2024
  *
2025
2025
  * @type Function(node: HtmlElement, isAppearing: bool) -> void
2026
2026
  */
2027
- onEntered: PropTypes.func,
2027
+ onEntered: PropTypes$1.func,
2028
2028
 
2029
2029
  /**
2030
2030
  * Callback fired before the "exiting" status is applied.
@@ -2033,7 +2033,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
2033
2033
  *
2034
2034
  * @type Function(node: HtmlElement) -> void
2035
2035
  */
2036
- onExit: PropTypes.func,
2036
+ onExit: PropTypes$1.func,
2037
2037
 
2038
2038
  /**
2039
2039
  * Callback fired after the "exiting" status is applied.
@@ -2042,7 +2042,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
2042
2042
  *
2043
2043
  * @type Function(node: HtmlElement) -> void
2044
2044
  */
2045
- onExiting: PropTypes.func,
2045
+ onExiting: PropTypes$1.func,
2046
2046
 
2047
2047
  /**
2048
2048
  * Callback fired after the "exited" status is applied.
@@ -2051,7 +2051,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
2051
2051
  *
2052
2052
  * @type Function(node: HtmlElement) -> void
2053
2053
  */
2054
- onExited: PropTypes.func
2054
+ onExited: PropTypes$1.func
2055
2055
  } : {}; // Name the function so it is clearer in the documentation
2056
2056
 
2057
2057
  function noop() {}
@@ -2426,7 +2426,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({},
2426
2426
  *
2427
2427
  * @type Function(node: HtmlElement, isAppearing: bool)
2428
2428
  */
2429
- onEnter: PropTypes.func,
2429
+ onEnter: PropTypes$1.func,
2430
2430
 
2431
2431
  /**
2432
2432
  * A `<Transition>` callback fired immediately after the 'enter-active' or
@@ -2436,7 +2436,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({},
2436
2436
  *
2437
2437
  * @type Function(node: HtmlElement, isAppearing: bool)
2438
2438
  */
2439
- onEntering: PropTypes.func,
2439
+ onEntering: PropTypes$1.func,
2440
2440
 
2441
2441
  /**
2442
2442
  * A `<Transition>` callback fired immediately after the 'enter' or
@@ -2446,7 +2446,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({},
2446
2446
  *
2447
2447
  * @type Function(node: HtmlElement, isAppearing: bool)
2448
2448
  */
2449
- onEntered: PropTypes.func,
2449
+ onEntered: PropTypes$1.func,
2450
2450
 
2451
2451
  /**
2452
2452
  * A `<Transition>` callback fired immediately after the 'exit' class is
@@ -2456,7 +2456,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({},
2456
2456
  *
2457
2457
  * @type Function(node: HtmlElement)
2458
2458
  */
2459
- onExit: PropTypes.func,
2459
+ onExit: PropTypes$1.func,
2460
2460
 
2461
2461
  /**
2462
2462
  * A `<Transition>` callback fired immediately after the 'exit-active' is applied.
@@ -2465,7 +2465,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({},
2465
2465
  *
2466
2466
  * @type Function(node: HtmlElement)
2467
2467
  */
2468
- onExiting: PropTypes.func,
2468
+ onExiting: PropTypes$1.func,
2469
2469
 
2470
2470
  /**
2471
2471
  * A `<Transition>` callback fired immediately after the 'exit' classes
@@ -2475,7 +2475,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends$1({},
2475
2475
  *
2476
2476
  * @type Function(node: HtmlElement)
2477
2477
  */
2478
- onExited: PropTypes.func
2478
+ onExited: PropTypes$1.func
2479
2479
  }) : {};
2480
2480
  var CSSTransition$1 = CSSTransition;
2481
2481
 
@@ -4313,14 +4313,117 @@ var createPopper = /*#__PURE__*/popperGenerator({
4313
4313
  defaultModifiers: defaultModifiers
4314
4314
  }); // eslint-disable-next-line import/no-unused-modules
4315
4315
 
4316
+ var getTransitionDurationFromElement = function (element) {
4317
+ if (!element) {
4318
+ return 0;
4319
+ }
4320
+ // Get transition-duration of the element
4321
+ var _a = window.getComputedStyle(element), transitionDuration = _a.transitionDuration, transitionDelay = _a.transitionDelay;
4322
+ var floatTransitionDuration = Number.parseFloat(transitionDuration);
4323
+ var floatTransitionDelay = Number.parseFloat(transitionDelay);
4324
+ // Return 0 if element or transition duration is not found
4325
+ if (!floatTransitionDuration && !floatTransitionDelay) {
4326
+ return 0;
4327
+ }
4328
+ // If multiple durations are defined, take the first
4329
+ transitionDuration = transitionDuration.split(',')[0];
4330
+ transitionDelay = transitionDelay.split(',')[0];
4331
+ return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * 1000;
4332
+ };
4333
+
4334
+ var execute = function (callback) {
4335
+ if (typeof callback === 'function') {
4336
+ callback();
4337
+ }
4338
+ };
4339
+ var triggerTransitionEnd = function (element) {
4340
+ element.dispatchEvent(new Event('transitionend'));
4341
+ };
4342
+ var executeAfterTransition = function (callback, transitionElement, waitForTransition) {
4343
+ if (waitForTransition === void 0) { waitForTransition = true; }
4344
+ if (!waitForTransition) {
4345
+ execute(callback);
4346
+ return;
4347
+ }
4348
+ var durationPadding = 5;
4349
+ var emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;
4350
+ var called = false;
4351
+ var handler = function (_a) {
4352
+ var target = _a.target;
4353
+ if (target !== transitionElement) {
4354
+ return;
4355
+ }
4356
+ called = true;
4357
+ transitionElement.removeEventListener('transitionend', handler);
4358
+ execute(callback);
4359
+ };
4360
+ transitionElement.addEventListener('transitionend', handler);
4361
+ setTimeout(function () {
4362
+ if (!called) {
4363
+ triggerTransitionEnd(transitionElement);
4364
+ }
4365
+ }, emulatedDuration);
4366
+ };
4367
+
4368
+ var isRTL = function (element) {
4369
+ if (typeof document !== 'undefined' && document.documentElement.dir === 'rtl') {
4370
+ return true;
4371
+ }
4372
+ if (element) {
4373
+ return element.closest('[dir="rtl"]') !== null;
4374
+ }
4375
+ return false;
4376
+ };
4377
+
4378
+ var getRTLPlacement = function (placement, element) {
4379
+ switch (placement) {
4380
+ case 'right': {
4381
+ return isRTL(element) ? 'left' : 'right';
4382
+ }
4383
+ case 'left': {
4384
+ return isRTL(element) ? 'right' : 'left';
4385
+ }
4386
+ default: {
4387
+ return placement;
4388
+ }
4389
+ }
4390
+ };
4391
+
4392
+ var isInViewport = function (element) {
4393
+ var rect = element.getBoundingClientRect();
4394
+ return (Math.floor(rect.top) >= 0 &&
4395
+ Math.floor(rect.left) >= 0 &&
4396
+ Math.floor(rect.bottom) <= (window.innerHeight || document.documentElement.clientHeight) &&
4397
+ Math.floor(rect.right) <= (window.innerWidth || document.documentElement.clientWidth));
4398
+ };
4399
+
4400
+ var isObjectInArray = function (array, item, ignore) {
4401
+ if (ignore === void 0) { ignore = []; }
4402
+ return array.some(function (_item) {
4403
+ var result = true;
4404
+ for (var key in item) {
4405
+ if (!ignore.includes(key) && item[key] !== _item[key]) {
4406
+ result = false;
4407
+ break;
4408
+ }
4409
+ }
4410
+ return result;
4411
+ });
4412
+ };
4413
+
4316
4414
  var usePopper = function () {
4317
4415
  var _popper = React$1.useRef();
4416
+ var el = React$1.useRef();
4318
4417
  var initPopper = function (reference, popper, options) {
4319
4418
  _popper.current = createPopper(reference, popper, options);
4419
+ el.current = popper;
4320
4420
  };
4321
4421
  var destroyPopper = function () {
4322
- if (_popper.current) {
4323
- _popper.current.destroy();
4422
+ var popperInstance = _popper.current;
4423
+ if (popperInstance && el.current) {
4424
+ executeAfterTransition(function () {
4425
+ popperInstance.destroy();
4426
+ }, el.current);
4324
4427
  }
4325
4428
  _popper.current = undefined;
4326
4429
  };
@@ -4395,12 +4498,12 @@ var CCollapse = React$1.forwardRef(function (_a, ref) {
4395
4498
  }));
4396
4499
  });
4397
4500
  CCollapse.propTypes = {
4398
- children: PropTypes.node,
4399
- className: PropTypes.string,
4400
- horizontal: PropTypes.bool,
4401
- onHide: PropTypes.func,
4402
- onShow: PropTypes.func,
4403
- visible: PropTypes.bool,
4501
+ children: PropTypes$1.node,
4502
+ className: PropTypes$1.string,
4503
+ horizontal: PropTypes$1.bool,
4504
+ onHide: PropTypes$1.func,
4505
+ onShow: PropTypes$1.func,
4506
+ visible: PropTypes$1.bool,
4404
4507
  };
4405
4508
  CCollapse.displayName = 'CCollapse';
4406
4509
 
@@ -4411,8 +4514,8 @@ var CAccordionBody = React$1.forwardRef(function (_a, ref) {
4411
4514
  React$1.createElement("div", __assign$1({ className: classNames$1('accordion-body', className) }, rest, { ref: ref }), children)));
4412
4515
  });
4413
4516
  CAccordionBody.propTypes = {
4414
- children: PropTypes.node,
4415
- className: PropTypes.string,
4517
+ children: PropTypes$1.node,
4518
+ className: PropTypes$1.string,
4416
4519
  };
4417
4520
  CAccordionBody.displayName = 'CAccordionBody';
4418
4521
 
@@ -4422,8 +4525,8 @@ var CAccordionButton = React$1.forwardRef(function (_a, ref) {
4422
4525
  return (React$1.createElement("button", __assign$1({ type: "button", className: classNames$1('accordion-button', { collapsed: !visible }, className), "aria-expanded": !visible, onClick: function () { return setVisible(!visible); } }, rest, { ref: ref }), children));
4423
4526
  });
4424
4527
  CAccordionButton.propTypes = {
4425
- children: PropTypes.node,
4426
- className: PropTypes.string,
4528
+ children: PropTypes$1.node,
4529
+ className: PropTypes$1.string,
4427
4530
  };
4428
4531
  CAccordionButton.displayName = 'CAccordionButton';
4429
4532
 
@@ -4433,8 +4536,8 @@ var CAccordionHeader = React$1.forwardRef(function (_a, ref) {
4433
4536
  React$1.createElement(CAccordionButton, null, children)));
4434
4537
  });
4435
4538
  CAccordionHeader.propTypes = {
4436
- children: PropTypes.node,
4437
- className: PropTypes.string,
4539
+ children: PropTypes$1.node,
4540
+ className: PropTypes$1.string,
4438
4541
  };
4439
4542
  CAccordionHeader.displayName = 'CAccordionHeader';
4440
4543
 
@@ -4445,14 +4548,14 @@ var CCloseButton = React$1.forwardRef(function (_a, ref) {
4445
4548
  }, disabled, className), "aria-label": "Close", disabled: disabled }, rest, { ref: ref })));
4446
4549
  });
4447
4550
  CCloseButton.propTypes = {
4448
- className: PropTypes.string,
4449
- disabled: PropTypes.bool,
4450
- white: PropTypes.bool,
4551
+ className: PropTypes$1.string,
4552
+ disabled: PropTypes$1.bool,
4553
+ white: PropTypes$1.bool,
4451
4554
  };
4452
4555
  CCloseButton.displayName = 'CCloseButton';
4453
4556
 
4454
- var colorPropType = PropTypes.oneOfType([
4455
- PropTypes.oneOf([
4557
+ var colorPropType = PropTypes$1.oneOfType([
4558
+ PropTypes$1.oneOf([
4456
4559
  'primary',
4457
4560
  'secondary',
4458
4561
  'success',
@@ -4462,13 +4565,13 @@ var colorPropType = PropTypes.oneOfType([
4462
4565
  'dark',
4463
4566
  'light',
4464
4567
  ]),
4465
- PropTypes.string,
4568
+ PropTypes$1.string,
4466
4569
  ]);
4467
- var fallbackPlacementsPropType = PropTypes.oneOfType([
4468
- PropTypes.arrayOf(PropTypes.oneOf(['top', 'bottom', 'right', 'left']).isRequired),
4469
- PropTypes.oneOf(['top', 'bottom', 'right', 'left']),
4570
+ var fallbackPlacementsPropType = PropTypes$1.oneOfType([
4571
+ PropTypes$1.arrayOf(PropTypes$1.oneOf(['top', 'bottom', 'right', 'left']).isRequired),
4572
+ PropTypes$1.oneOf(['top', 'bottom', 'right', 'left']),
4470
4573
  ]);
4471
- var gradientsPropType = PropTypes.oneOf([
4574
+ var gradientsPropType = PropTypes$1.oneOf([
4472
4575
  'primary-gradient',
4473
4576
  'secondary-gradient',
4474
4577
  'success-gradient',
@@ -4478,7 +4581,7 @@ var gradientsPropType = PropTypes.oneOf([
4478
4581
  'dark-gradient',
4479
4582
  'light-gradient',
4480
4583
  ]);
4481
- var placementPropType = PropTypes.oneOf([
4584
+ var placementPropType = PropTypes$1.oneOf([
4482
4585
  'auto',
4483
4586
  'auto-start',
4484
4587
  'auto-end',
@@ -4495,8 +4598,8 @@ var placementPropType = PropTypes.oneOf([
4495
4598
  'left',
4496
4599
  'left-end',
4497
4600
  ]);
4498
- var shapePropType = PropTypes.oneOfType([
4499
- PropTypes.oneOf([
4601
+ var shapePropType = PropTypes$1.oneOfType([
4602
+ PropTypes$1.oneOf([
4500
4603
  'rounded',
4501
4604
  'rounded-top',
4502
4605
  'rounded-end',
@@ -4509,16 +4612,16 @@ var shapePropType = PropTypes.oneOfType([
4509
4612
  'rounded-2',
4510
4613
  'rounded-3',
4511
4614
  ]),
4512
- PropTypes.string,
4615
+ PropTypes$1.string,
4513
4616
  ]);
4514
- var textColorsPropType = PropTypes.oneOfType([
4617
+ var textColorsPropType = PropTypes$1.oneOfType([
4515
4618
  colorPropType,
4516
- PropTypes.oneOf(['white', 'muted']),
4517
- PropTypes.string,
4619
+ PropTypes$1.oneOf(['white', 'muted']),
4620
+ PropTypes$1.string,
4518
4621
  ]);
4519
- var triggerPropType = PropTypes.oneOfType([
4520
- PropTypes.arrayOf(PropTypes.oneOf(['hover', 'focus', 'click']).isRequired),
4521
- PropTypes.oneOf(['hover', 'focus', 'click']),
4622
+ var triggerPropType = PropTypes$1.oneOfType([
4623
+ PropTypes$1.arrayOf(PropTypes$1.oneOf(['hover', 'focus', 'click']).isRequired),
4624
+ PropTypes$1.oneOf(['hover', 'focus', 'click']),
4522
4625
  ]);
4523
4626
 
4524
4627
  var CAlert = React$1.forwardRef(function (_a, ref) {
@@ -4537,13 +4640,13 @@ var CAlert = React$1.forwardRef(function (_a, ref) {
4537
4640
  dismissible && React$1.createElement(CCloseButton, { onClick: function () { return setVisible(false); } }))); }));
4538
4641
  });
4539
4642
  CAlert.propTypes = {
4540
- children: PropTypes.node,
4541
- className: PropTypes.string,
4643
+ children: PropTypes$1.node,
4644
+ className: PropTypes$1.string,
4542
4645
  color: colorPropType.isRequired,
4543
- dismissible: PropTypes.bool,
4544
- onClose: PropTypes.func,
4545
- variant: PropTypes.string,
4546
- visible: PropTypes.bool,
4646
+ dismissible: PropTypes$1.bool,
4647
+ onClose: PropTypes$1.func,
4648
+ variant: PropTypes$1.string,
4649
+ visible: PropTypes$1.bool,
4547
4650
  };
4548
4651
  CAlert.displayName = 'CAlert';
4549
4652
 
@@ -4552,9 +4655,9 @@ var CAlertHeading = React$1.forwardRef(function (_a, ref) {
4552
4655
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('alert-heading', className) }, rest, { ref: ref }), children));
4553
4656
  });
4554
4657
  CAlertHeading.propTypes = {
4555
- children: PropTypes.node,
4556
- className: PropTypes.string,
4557
- component: PropTypes.elementType,
4658
+ children: PropTypes$1.node,
4659
+ className: PropTypes$1.string,
4660
+ component: PropTypes$1.elementType,
4558
4661
  };
4559
4662
  CAlertHeading.displayName = 'CAlertHeading';
4560
4663
 
@@ -4572,11 +4675,11 @@ var CLink = React$1.forwardRef(function (_a, ref) {
4572
4675
  }), { disabled: disabled }, rest, { ref: ref }), children));
4573
4676
  });
4574
4677
  CLink.propTypes = {
4575
- active: PropTypes.bool,
4576
- children: PropTypes.node,
4577
- className: PropTypes.string,
4578
- component: PropTypes.elementType,
4579
- disabled: PropTypes.bool,
4678
+ active: PropTypes$1.bool,
4679
+ children: PropTypes$1.node,
4680
+ className: PropTypes$1.string,
4681
+ component: PropTypes$1.elementType,
4682
+ disabled: PropTypes$1.bool,
4580
4683
  };
4581
4684
  CLink.displayName = 'CLink';
4582
4685
 
@@ -4585,8 +4688,8 @@ var CAlertLink = React$1.forwardRef(function (_a, ref) {
4585
4688
  return (React$1.createElement(CLink, __assign$1({ className: classNames$1('alert-link', className) }, rest, { ref: ref }), children));
4586
4689
  });
4587
4690
  CAlertLink.propTypes = {
4588
- children: PropTypes.node,
4589
- className: PropTypes.string,
4691
+ children: PropTypes$1.node,
4692
+ className: PropTypes$1.string,
4590
4693
  };
4591
4694
  CAlertLink.displayName = 'CAlertLink';
4592
4695
 
@@ -4603,13 +4706,13 @@ var CAvatar = React$1.forwardRef(function (_a, ref) {
4603
4706
  status && React$1.createElement("span", { className: statusClassName })));
4604
4707
  });
4605
4708
  CAvatar.propTypes = {
4606
- children: PropTypes.node,
4607
- className: PropTypes.string,
4709
+ children: PropTypes$1.node,
4710
+ className: PropTypes$1.string,
4608
4711
  color: colorPropType,
4609
4712
  shape: shapePropType,
4610
- size: PropTypes.string,
4611
- src: PropTypes.string,
4612
- status: PropTypes.string,
4713
+ size: PropTypes$1.string,
4714
+ src: PropTypes$1.string,
4715
+ status: PropTypes$1.string,
4613
4716
  textColor: textColorsPropType,
4614
4717
  };
4615
4718
  CAvatar.displayName = 'CAvatar';
@@ -4623,8 +4726,8 @@ var CBackdrop = React$1.forwardRef(function (_a, ref) {
4623
4726
  }) }, rest, { ref: forkedRef }))); }));
4624
4727
  });
4625
4728
  CBackdrop.propTypes = {
4626
- className: PropTypes.string,
4627
- visible: PropTypes.bool,
4729
+ className: PropTypes$1.string,
4730
+ visible: PropTypes$1.bool,
4628
4731
  };
4629
4732
  CBackdrop.displayName = 'CBackdrop';
4630
4733
 
@@ -4643,13 +4746,13 @@ var CBadge = React$1.forwardRef(function (_a, ref) {
4643
4746
  _b), shape, className) }, rest, { ref: ref }), children));
4644
4747
  });
4645
4748
  CBadge.propTypes = {
4646
- children: PropTypes.node,
4647
- className: PropTypes.string,
4648
- color: PropTypes.oneOfType([colorPropType, gradientsPropType]),
4649
- component: PropTypes.string,
4650
- position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
4749
+ children: PropTypes$1.node,
4750
+ className: PropTypes$1.string,
4751
+ color: PropTypes$1.oneOfType([colorPropType, gradientsPropType]),
4752
+ component: PropTypes$1.string,
4753
+ position: PropTypes$1.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
4651
4754
  shape: shapePropType,
4652
- size: PropTypes.oneOf(['sm']),
4755
+ size: PropTypes$1.oneOf(['sm']),
4653
4756
  textColor: textColorsPropType,
4654
4757
  };
4655
4758
  CBadge.displayName = 'CBadge';
@@ -4660,8 +4763,8 @@ var CBreadcrumb = React$1.forwardRef(function (_a, ref) {
4660
4763
  React$1.createElement("ol", __assign$1({ className: classNames$1('breadcrumb', className) }, rest, { ref: ref }), children)));
4661
4764
  });
4662
4765
  CBreadcrumb.propTypes = {
4663
- children: PropTypes.node,
4664
- className: PropTypes.string,
4766
+ children: PropTypes$1.node,
4767
+ className: PropTypes$1.string,
4665
4768
  };
4666
4769
  CBreadcrumb.displayName = 'CBreadcrumb';
4667
4770
 
@@ -4672,10 +4775,10 @@ var CBreadcrumbItem = React$1.forwardRef(function (_a, ref) {
4672
4775
  }, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React$1.createElement(CLink, { href: href }, children) : children));
4673
4776
  });
4674
4777
  CBreadcrumbItem.propTypes = {
4675
- active: PropTypes.bool,
4676
- children: PropTypes.node,
4677
- className: PropTypes.string,
4678
- href: PropTypes.string,
4778
+ active: PropTypes$1.bool,
4779
+ children: PropTypes$1.node,
4780
+ className: PropTypes$1.string,
4781
+ href: PropTypes$1.string,
4679
4782
  };
4680
4783
  CBreadcrumbItem.displayName = 'CBreadcrumbItem';
4681
4784
 
@@ -4685,14 +4788,14 @@ var CButton = React$1.forwardRef(function (_a, ref) {
4685
4788
  return (React$1.createElement(CLink, __assign$1({ component: rest.href ? 'a' : component, type: type, className: classNames$1('btn', variant ? "btn-".concat(variant, "-").concat(color) : "btn-".concat(color), (_b = {}, _b["btn-".concat(size)] = size, _b), shape, className) }, rest, { ref: ref }), children));
4686
4789
  });
4687
4790
  CButton.propTypes = {
4688
- children: PropTypes.node,
4689
- className: PropTypes.string,
4791
+ children: PropTypes$1.node,
4792
+ className: PropTypes$1.string,
4690
4793
  color: colorPropType,
4691
- component: PropTypes.elementType,
4692
- shape: PropTypes.string,
4693
- size: PropTypes.oneOf(['sm', 'lg']),
4694
- type: PropTypes.oneOf(['button', 'submit', 'reset']),
4695
- variant: PropTypes.oneOf(['outline', 'ghost']),
4794
+ component: PropTypes$1.elementType,
4795
+ shape: PropTypes$1.string,
4796
+ size: PropTypes$1.oneOf(['sm', 'lg']),
4797
+ type: PropTypes$1.oneOf(['button', 'submit', 'reset']),
4798
+ variant: PropTypes$1.oneOf(['outline', 'ghost']),
4696
4799
  };
4697
4800
  CButton.displayName = 'CButton';
4698
4801
 
@@ -4701,8 +4804,8 @@ var CButtonToolbar = React$1.forwardRef(function (_a, ref) {
4701
4804
  return (React$1.createElement("div", __assign$1({ className: classNames$1('btn-toolbar', className) }, rest, { ref: ref }), children));
4702
4805
  });
4703
4806
  CButtonToolbar.propTypes = {
4704
- children: PropTypes.node,
4705
- className: PropTypes.string,
4807
+ children: PropTypes$1.node,
4808
+ className: PropTypes$1.string,
4706
4809
  };
4707
4810
  CButtonToolbar.displayName = 'CButtonToolbar';
4708
4811
 
@@ -4712,10 +4815,10 @@ var CButtonGroup = React$1.forwardRef(function (_a, ref) {
4712
4815
  return (React$1.createElement("div", __assign$1({ className: classNames$1(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-".concat(size)] = size, _b), className) }, rest, { ref: ref }), children));
4713
4816
  });
4714
4817
  CButtonGroup.propTypes = {
4715
- children: PropTypes.node,
4716
- className: PropTypes.string,
4717
- size: PropTypes.oneOf(['sm', 'lg']),
4718
- vertical: PropTypes.bool,
4818
+ children: PropTypes$1.node,
4819
+ className: PropTypes$1.string,
4820
+ size: PropTypes$1.oneOf(['sm', 'lg']),
4821
+ vertical: PropTypes$1.bool,
4719
4822
  };
4720
4823
  CButtonGroup.displayName = 'CButtonGroup';
4721
4824
 
@@ -4727,8 +4830,8 @@ var CCallout = React$1.forwardRef(function (_a, ref) {
4727
4830
  _b), className) }, rest, { ref: ref }), children));
4728
4831
  });
4729
4832
  CCallout.propTypes = {
4730
- children: PropTypes.node,
4731
- className: PropTypes.string,
4833
+ children: PropTypes$1.node,
4834
+ className: PropTypes$1.string,
4732
4835
  color: colorPropType,
4733
4836
  };
4734
4837
  CCallout.displayName = 'CCallout';
@@ -4742,10 +4845,10 @@ var CCard = React$1.forwardRef(function (_a, ref) {
4742
4845
  _b), className) }, rest, { ref: ref }), children));
4743
4846
  });
4744
4847
  CCard.propTypes = {
4745
- children: PropTypes.node,
4746
- className: PropTypes.string,
4747
- color: PropTypes.oneOfType([colorPropType, gradientsPropType]),
4748
- textColor: PropTypes.string,
4848
+ children: PropTypes$1.node,
4849
+ className: PropTypes$1.string,
4850
+ color: PropTypes$1.oneOfType([colorPropType, gradientsPropType]),
4851
+ textColor: PropTypes$1.string,
4749
4852
  };
4750
4853
  CCard.displayName = 'CCard';
4751
4854
 
@@ -4754,8 +4857,8 @@ var CCardBody = React$1.forwardRef(function (_a, ref) {
4754
4857
  return (React$1.createElement("div", __assign$1({ className: classNames$1('card-body', className) }, rest, { ref: ref }), children));
4755
4858
  });
4756
4859
  CCardBody.propTypes = {
4757
- children: PropTypes.node,
4758
- className: PropTypes.string,
4860
+ children: PropTypes$1.node,
4861
+ className: PropTypes$1.string,
4759
4862
  };
4760
4863
  CCardBody.displayName = 'CCardBody';
4761
4864
 
@@ -4764,8 +4867,8 @@ var CCardFooter = React$1.forwardRef(function (_a, ref) {
4764
4867
  return (React$1.createElement("div", __assign$1({ className: classNames$1('card-footer', className) }, rest, { ref: ref }), children));
4765
4868
  });
4766
4869
  CCardFooter.propTypes = {
4767
- children: PropTypes.node,
4768
- className: PropTypes.string,
4870
+ children: PropTypes$1.node,
4871
+ className: PropTypes$1.string,
4769
4872
  };
4770
4873
  CCardFooter.displayName = 'CCardFooter';
4771
4874
 
@@ -4774,8 +4877,8 @@ var CCardGroup = React$1.forwardRef(function (_a, ref) {
4774
4877
  return (React$1.createElement("div", __assign$1({ className: classNames$1('card-group', className) }, rest, { ref: ref }), children));
4775
4878
  });
4776
4879
  CCardGroup.propTypes = {
4777
- children: PropTypes.node,
4778
- className: PropTypes.string,
4880
+ children: PropTypes$1.node,
4881
+ className: PropTypes$1.string,
4779
4882
  };
4780
4883
  CCardGroup.displayName = 'CCardGroup';
4781
4884
 
@@ -4784,9 +4887,9 @@ var CCardHeader = React$1.forwardRef(function (_a, ref) {
4784
4887
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('card-header', className) }, rest, { ref: ref }), children));
4785
4888
  });
4786
4889
  CCardHeader.propTypes = {
4787
- children: PropTypes.node,
4788
- className: PropTypes.string,
4789
- component: PropTypes.elementType,
4890
+ children: PropTypes$1.node,
4891
+ className: PropTypes$1.string,
4892
+ component: PropTypes$1.elementType,
4790
4893
  };
4791
4894
  CCardHeader.displayName = 'CCardHeader';
4792
4895
 
@@ -4795,10 +4898,10 @@ var CCardImage = React$1.forwardRef(function (_a, ref) {
4795
4898
  return (React$1.createElement(Component, __assign$1({ className: classNames$1(orientation ? "card-img-".concat(orientation) : 'card-img', className) }, rest, { ref: ref }), children));
4796
4899
  });
4797
4900
  CCardImage.propTypes = {
4798
- children: PropTypes.node,
4799
- className: PropTypes.string,
4800
- component: PropTypes.elementType,
4801
- orientation: PropTypes.oneOf(['top', 'bottom']),
4901
+ children: PropTypes$1.node,
4902
+ className: PropTypes$1.string,
4903
+ component: PropTypes$1.elementType,
4904
+ orientation: PropTypes$1.oneOf(['top', 'bottom']),
4802
4905
  };
4803
4906
  CCardImage.displayName = 'CCardImage';
4804
4907
 
@@ -4807,8 +4910,8 @@ var CCardImageOverlay = React$1.forwardRef(function (_a, ref) {
4807
4910
  return (React$1.createElement("div", __assign$1({ className: classNames$1('card-img-overlay', className) }, rest, { ref: ref }), children));
4808
4911
  });
4809
4912
  CCardImageOverlay.propTypes = {
4810
- children: PropTypes.node,
4811
- className: PropTypes.string,
4913
+ children: PropTypes$1.node,
4914
+ className: PropTypes$1.string,
4812
4915
  };
4813
4916
  CCardImageOverlay.displayName = 'CCardImageOverlay';
4814
4917
 
@@ -4817,8 +4920,8 @@ var CCardLink = React$1.forwardRef(function (_a, ref) {
4817
4920
  return (React$1.createElement(CLink, __assign$1({ className: classNames$1('card-link', className) }, rest, { ref: ref }), children));
4818
4921
  });
4819
4922
  CCardLink.propTypes = {
4820
- children: PropTypes.node,
4821
- className: PropTypes.string,
4923
+ children: PropTypes$1.node,
4924
+ className: PropTypes$1.string,
4822
4925
  };
4823
4926
  CCardLink.displayName = 'CCardLink';
4824
4927
 
@@ -4827,9 +4930,9 @@ var CCardSubtitle = React$1.forwardRef(function (_a, ref) {
4827
4930
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('card-subtitle', className) }, rest, { ref: ref }), children));
4828
4931
  });
4829
4932
  CCardSubtitle.propTypes = {
4830
- children: PropTypes.node,
4831
- className: PropTypes.string,
4832
- component: PropTypes.elementType,
4933
+ children: PropTypes$1.node,
4934
+ className: PropTypes$1.string,
4935
+ component: PropTypes$1.elementType,
4833
4936
  };
4834
4937
  CCardSubtitle.displayName = 'CCardSubtitle';
4835
4938
 
@@ -4838,9 +4941,9 @@ var CCardText = React$1.forwardRef(function (_a, ref) {
4838
4941
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('card-text', className) }, rest, { ref: ref }), children));
4839
4942
  });
4840
4943
  CCardText.propTypes = {
4841
- children: PropTypes.node,
4842
- className: PropTypes.string,
4843
- component: PropTypes.elementType,
4944
+ children: PropTypes$1.node,
4945
+ className: PropTypes$1.string,
4946
+ component: PropTypes$1.elementType,
4844
4947
  };
4845
4948
  CCardText.displayName = 'CCardText';
4846
4949
 
@@ -4849,58 +4952,12 @@ var CCardTitle = React$1.forwardRef(function (_a, ref) {
4849
4952
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('card-title', className) }, rest, { ref: ref }), children));
4850
4953
  });
4851
4954
  CCardTitle.propTypes = {
4852
- children: PropTypes.node,
4853
- className: PropTypes.string,
4854
- component: PropTypes.elementType,
4955
+ children: PropTypes$1.node,
4956
+ className: PropTypes$1.string,
4957
+ component: PropTypes$1.elementType,
4855
4958
  };
4856
4959
  CCardTitle.displayName = 'CCardTitle';
4857
4960
 
4858
- var isRTL = function (element) {
4859
- if (typeof document !== 'undefined' && document.documentElement.dir === 'rtl') {
4860
- return true;
4861
- }
4862
- if (element) {
4863
- return element.closest('[dir="rtl"]') !== null;
4864
- }
4865
- return false;
4866
- };
4867
-
4868
- var getRTLPlacement = function (placement, element) {
4869
- switch (placement) {
4870
- case 'right': {
4871
- return isRTL(element) ? 'left' : 'right';
4872
- }
4873
- case 'left': {
4874
- return isRTL(element) ? 'right' : 'left';
4875
- }
4876
- default: {
4877
- return placement;
4878
- }
4879
- }
4880
- };
4881
-
4882
- var isInViewport = function (element) {
4883
- var rect = element.getBoundingClientRect();
4884
- return (Math.floor(rect.top) >= 0 &&
4885
- Math.floor(rect.left) >= 0 &&
4886
- Math.floor(rect.bottom) <= (window.innerHeight || document.documentElement.clientHeight) &&
4887
- Math.floor(rect.right) <= (window.innerWidth || document.documentElement.clientWidth));
4888
- };
4889
-
4890
- var isObjectInArray = function (array, item, ignore) {
4891
- if (ignore === void 0) { ignore = []; }
4892
- return array.some(function (_item) {
4893
- var result = true;
4894
- for (var key in item) {
4895
- if (!ignore.includes(key) && item[key] !== _item[key]) {
4896
- result = false;
4897
- break;
4898
- }
4899
- }
4900
- return result;
4901
- });
4902
- };
4903
-
4904
4961
  var CCarouselContext = React$1.createContext({});
4905
4962
  var CCarousel = React$1.forwardRef(function (_a, ref) {
4906
4963
  var children = _a.children, _b = _a.activeIndex, activeIndex = _b === void 0 ? 0 : _b, className = _a.className, controls = _a.controls, dark = _a.dark, indicators = _a.indicators, _c = _a.interval, interval = _c === void 0 ? 5000 : _c, onSlid = _a.onSlid, onSlide = _a.onSlide, _d = _a.pause, pause = _d === void 0 ? 'hover' : _d, _e = _a.touch, touch = _e === void 0 ? true : _e, transition = _a.transition, _f = _a.wrap, wrap = _f === void 0 ? true : _f, rest = __rest$1(_a, ["children", "activeIndex", "className", "controls", "dark", "indicators", "interval", "onSlid", "onSlide", "pause", "touch", "transition", "wrap"]);
@@ -5034,19 +5091,19 @@ var CCarousel = React$1.forwardRef(function (_a, ref) {
5034
5091
  React$1.createElement("span", { className: "carousel-control-next-icon", "aria-label": "next" })))))));
5035
5092
  });
5036
5093
  CCarousel.propTypes = {
5037
- activeIndex: PropTypes.number,
5038
- children: PropTypes.node,
5039
- className: PropTypes.string,
5040
- controls: PropTypes.bool,
5041
- dark: PropTypes.bool,
5042
- indicators: PropTypes.bool,
5043
- interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
5044
- onSlid: PropTypes.func,
5045
- onSlide: PropTypes.func,
5046
- pause: PropTypes.oneOf([false, 'hover']),
5047
- touch: PropTypes.bool,
5048
- transition: PropTypes.oneOf(['slide', 'crossfade']),
5049
- wrap: PropTypes.bool,
5094
+ activeIndex: PropTypes$1.number,
5095
+ children: PropTypes$1.node,
5096
+ className: PropTypes$1.string,
5097
+ controls: PropTypes$1.bool,
5098
+ dark: PropTypes$1.bool,
5099
+ indicators: PropTypes$1.bool,
5100
+ interval: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.number]),
5101
+ onSlid: PropTypes$1.func,
5102
+ onSlide: PropTypes$1.func,
5103
+ pause: PropTypes$1.oneOf([false, 'hover']),
5104
+ touch: PropTypes$1.bool,
5105
+ transition: PropTypes$1.oneOf(['slide', 'crossfade']),
5106
+ wrap: PropTypes$1.bool,
5050
5107
  };
5051
5108
  CCarousel.displayName = 'CCarousel';
5052
5109
 
@@ -5055,7 +5112,7 @@ var CCarouselCaption = React$1.forwardRef(function (_a, ref) {
5055
5112
  return React$1.createElement("div", __assign$1({ className: classNames$1('carousel-caption', className) }, rest, { ref: ref }));
5056
5113
  });
5057
5114
  CCarouselCaption.propTypes = {
5058
- className: PropTypes.string,
5115
+ className: PropTypes$1.string,
5059
5116
  };
5060
5117
  CCarouselCaption.displayName = 'CCarouselCaption';
5061
5118
 
@@ -5130,11 +5187,11 @@ var CCarouselItem = React$1.forwardRef(function (_a, ref) {
5130
5187
  return (React$1.createElement("div", __assign$1({ className: classNames$1('carousel-item', activeClassName, directionClassName, orderClassName, className), ref: forkedRef }, rest), children));
5131
5188
  });
5132
5189
  CCarouselItem.propTypes = {
5133
- active: PropTypes.bool,
5134
- children: PropTypes.node,
5135
- className: PropTypes.string,
5136
- direction: PropTypes.string,
5137
- interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
5190
+ active: PropTypes$1.bool,
5191
+ children: PropTypes$1.node,
5192
+ className: PropTypes$1.string,
5193
+ direction: PropTypes$1.string,
5194
+ interval: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.number]),
5138
5195
  };
5139
5196
  CCarouselItem.displayName = 'CCarouselItem';
5140
5197
 
@@ -5143,8 +5200,8 @@ var CConditionalPortal = function (_a) {
5143
5200
  return typeof window !== 'undefined' && portal ? (ReactDOM.createPortal(children, document.body)) : (React$1.createElement(React$1.Fragment, null, children));
5144
5201
  };
5145
5202
  CConditionalPortal.propTypes = {
5146
- children: PropTypes.node,
5147
- portal: PropTypes.bool.isRequired,
5203
+ children: PropTypes$1.node,
5204
+ portal: PropTypes$1.bool.isRequired,
5148
5205
  };
5149
5206
  CConditionalPortal.displayName = 'CConditionalPortal';
5150
5207
 
@@ -8871,41 +8928,41 @@ var CCalendar = React$1.forwardRef(function (_a, ref) {
8871
8928
  React$1.createElement(Calendar, { addMonths: index, calendarDate: _calendarDate, dayFormat: dayFormat, disabledDates: disabledDates, endDate: _endDate, firstDayOfWeek: firstDayOfWeek, hoverDate: _hoverDate, locale: locale, maxDate: _maxDate, minDate: _minDate, onDayClick: function (date) { return handleDayClick(date, index); }, onDayKeyDown: function (event, date) { return handleDayKeyDown(event, date, index); }, onDayMouseEnter: handleDayMouseEnter, onDayMouseLeave: handleDayMouseLeave, onMonthClick: handleMonthClick, onMonthKeyDown: handleMonthKeyDown, onYearClick: handleYearClick, onYearKeyDown: handleYearKeyDown, selectEndDate: _selectEndDate, selectAdjacementDays: selectAdjacementDays, showAdjacementDays: showAdjacementDays, startDate: _startDate, view: view, weekdayFormat: weekdayFormat }))); })));
8872
8929
  });
8873
8930
  CCalendar.propTypes = {
8874
- className: PropTypes.string,
8875
- calendarDate: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),
8876
- calendars: PropTypes.number,
8877
- dayFormat: PropTypes.oneOfType([
8878
- PropTypes.func,
8879
- PropTypes.oneOf(['2-digit', 'numeric']),
8931
+ className: PropTypes$1.string,
8932
+ calendarDate: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]),
8933
+ calendars: PropTypes$1.number,
8934
+ dayFormat: PropTypes$1.oneOfType([
8935
+ PropTypes$1.func,
8936
+ PropTypes$1.oneOf(['2-digit', 'numeric']),
8880
8937
  ]),
8881
- disabledDates: PropTypes.array,
8882
- endDate: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),
8883
- firstDayOfWeek: PropTypes.number,
8884
- locale: PropTypes.string,
8885
- maxDate: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),
8886
- minDate: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),
8887
- navigation: PropTypes.bool,
8888
- navNextIcon: PropTypes.node,
8889
- navNextDoubleIcon: PropTypes.node,
8890
- navPrevIcon: PropTypes.node,
8891
- navPrevDoubleIcon: PropTypes.node,
8892
- navYearFirst: PropTypes.bool,
8893
- range: PropTypes.bool,
8894
- selectAdjacementDays: PropTypes.bool,
8895
- selectEndDate: PropTypes.bool,
8896
- showAdjacementDays: PropTypes.bool,
8897
- startDate: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),
8898
- weekdayFormat: PropTypes.oneOfType([
8899
- PropTypes.func,
8900
- PropTypes.number,
8901
- PropTypes.oneOf(['long', 'narrow', 'short']),
8938
+ disabledDates: PropTypes$1.array,
8939
+ endDate: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]),
8940
+ firstDayOfWeek: PropTypes$1.number,
8941
+ locale: PropTypes$1.string,
8942
+ maxDate: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]),
8943
+ minDate: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]),
8944
+ navigation: PropTypes$1.bool,
8945
+ navNextIcon: PropTypes$1.node,
8946
+ navNextDoubleIcon: PropTypes$1.node,
8947
+ navPrevIcon: PropTypes$1.node,
8948
+ navPrevDoubleIcon: PropTypes$1.node,
8949
+ navYearFirst: PropTypes$1.bool,
8950
+ range: PropTypes$1.bool,
8951
+ selectAdjacementDays: PropTypes$1.bool,
8952
+ selectEndDate: PropTypes$1.bool,
8953
+ showAdjacementDays: PropTypes$1.bool,
8954
+ startDate: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]),
8955
+ weekdayFormat: PropTypes$1.oneOfType([
8956
+ PropTypes$1.func,
8957
+ PropTypes$1.number,
8958
+ PropTypes$1.oneOf(['long', 'narrow', 'short']),
8902
8959
  ]),
8903
- onDayHover: PropTypes.func,
8904
- onCalendarDateChange: PropTypes.func,
8905
- onEndDateChange: PropTypes.func,
8906
- onSelectEndChange: PropTypes.func,
8907
- onStartDateChange: PropTypes.func,
8908
- onViewChanged: PropTypes.func,
8960
+ onDayHover: PropTypes$1.func,
8961
+ onCalendarDateChange: PropTypes$1.func,
8962
+ onEndDateChange: PropTypes$1.func,
8963
+ onSelectEndChange: PropTypes$1.func,
8964
+ onStartDateChange: PropTypes$1.func,
8965
+ onViewChanged: PropTypes$1.func,
8909
8966
  };
8910
8967
  CCalendar.displayName = 'CCalendar';
8911
8968
 
@@ -8918,12 +8975,12 @@ var CFormFeedback = React$1.forwardRef(function (_a, ref) {
8918
8975
  _b), className) }, rest, { ref: ref }), children));
8919
8976
  });
8920
8977
  CFormFeedback.propTypes = {
8921
- children: PropTypes.node,
8922
- className: PropTypes.string,
8923
- component: PropTypes.elementType,
8924
- invalid: PropTypes.bool,
8925
- tooltip: PropTypes.bool,
8926
- valid: PropTypes.bool,
8978
+ children: PropTypes$1.node,
8979
+ className: PropTypes$1.string,
8980
+ component: PropTypes$1.elementType,
8981
+ invalid: PropTypes$1.bool,
8982
+ tooltip: PropTypes$1.bool,
8983
+ valid: PropTypes$1.bool,
8927
8984
  };
8928
8985
  CFormFeedback.displayName = 'CFormFeedback';
8929
8986
 
@@ -8935,13 +8992,13 @@ var CFormControlValidation = function (_a) {
8935
8992
  feedbackValid && (React$1.createElement(CFormFeedback, { valid: true, tooltip: tooltipFeedback }, feedbackValid))));
8936
8993
  };
8937
8994
  CFormControlValidation.propTypes = {
8938
- describedby: PropTypes.string,
8939
- feedback: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
8940
- feedbackValid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
8941
- feedbackInvalid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
8942
- invalid: PropTypes.bool,
8943
- tooltipFeedback: PropTypes.bool,
8944
- valid: PropTypes.bool,
8995
+ describedby: PropTypes$1.string,
8996
+ feedback: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
8997
+ feedbackValid: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
8998
+ feedbackInvalid: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
8999
+ invalid: PropTypes$1.bool,
9000
+ tooltipFeedback: PropTypes$1.bool,
9001
+ valid: PropTypes$1.bool,
8945
9002
  };
8946
9003
  CFormControlValidation.displayName = 'CFormControlValidation';
8947
9004
 
@@ -8950,8 +9007,8 @@ var CFormFloating = React$1.forwardRef(function (_a, ref) {
8950
9007
  return (React$1.createElement("div", __assign$1({ className: classNames$1('form-floating', className) }, rest, { ref: ref }), children));
8951
9008
  });
8952
9009
  CFormFloating.propTypes = {
8953
- children: PropTypes.node,
8954
- className: PropTypes.string,
9010
+ children: PropTypes$1.node,
9011
+ className: PropTypes$1.string,
8955
9012
  };
8956
9013
  CFormFloating.displayName = 'CFormFloating';
8957
9014
 
@@ -8960,9 +9017,9 @@ var CFormLabel = React$1.forwardRef(function (_a, ref) {
8960
9017
  return (React$1.createElement("label", __assign$1({ className: customClassName !== null && customClassName !== void 0 ? customClassName : classNames$1('form-label', className) }, rest, { ref: ref }), children));
8961
9018
  });
8962
9019
  CFormLabel.propTypes = {
8963
- children: PropTypes.node,
8964
- className: PropTypes.string,
8965
- customClassName: PropTypes.string,
9020
+ children: PropTypes$1.node,
9021
+ className: PropTypes$1.string,
9022
+ customClassName: PropTypes$1.string,
8966
9023
  };
8967
9024
  CFormLabel.displayName = 'CFormLabel';
8968
9025
 
@@ -8971,9 +9028,9 @@ var CFormText = React$1.forwardRef(function (_a, ref) {
8971
9028
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('form-text', className) }, rest, { ref: ref }), children));
8972
9029
  });
8973
9030
  CFormText.propTypes = {
8974
- children: PropTypes.node,
8975
- className: PropTypes.string,
8976
- component: PropTypes.elementType,
9031
+ children: PropTypes$1.node,
9032
+ className: PropTypes$1.string,
9033
+ component: PropTypes$1.elementType,
8977
9034
  };
8978
9035
  CFormText.displayName = 'CFormText';
8979
9036
 
@@ -8990,7 +9047,7 @@ var CFormControlWrapper = function (_a) {
8990
9047
  text && React$1.createElement(CFormText, { id: describedby }, text),
8991
9048
  React$1.createElement(FormControlValidation, null)));
8992
9049
  };
8993
- CFormControlWrapper.propTypes = __assign$1({ children: PropTypes.node, floatingClassName: PropTypes.string, floatingLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.string]), label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]), text: PropTypes.oneOfType([PropTypes.node, PropTypes.string]) }, CFormControlValidation.propTypes);
9050
+ CFormControlWrapper.propTypes = __assign$1({ children: PropTypes$1.node, floatingClassName: PropTypes$1.string, floatingLabel: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]), label: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]), text: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]) }, CFormControlValidation.propTypes);
8994
9051
  CFormControlWrapper.displayName = 'CFormControlWrapper';
8995
9052
 
8996
9053
  var CPicker = React$1.forwardRef(function (_a, ref) {
@@ -9071,16 +9128,16 @@ var CPicker = React$1.forwardRef(function (_a, ref) {
9071
9128
  });
9072
9129
  CPicker.displayName = 'CPicker';
9073
9130
  CPicker.propTypes = {
9074
- children: PropTypes.node,
9075
- className: PropTypes.string,
9076
- container: PropTypes.oneOf(['dropdown', 'inline']),
9077
- disabled: PropTypes.bool,
9078
- dropdownClassNames: PropTypes.string,
9079
- footer: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]),
9080
- footerContent: PropTypes.node,
9081
- onHide: PropTypes.func,
9082
- onShow: PropTypes.func,
9083
- toggler: PropTypes.node,
9131
+ children: PropTypes$1.node,
9132
+ className: PropTypes$1.string,
9133
+ container: PropTypes$1.oneOf(['dropdown', 'inline']),
9134
+ disabled: PropTypes$1.bool,
9135
+ dropdownClassNames: PropTypes$1.string,
9136
+ footer: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]),
9137
+ footerContent: PropTypes$1.node,
9138
+ onHide: PropTypes$1.func,
9139
+ onShow: PropTypes$1.func,
9140
+ toggler: PropTypes$1.node,
9084
9141
  };
9085
9142
 
9086
9143
  var CTimePickerRollCol = React$1.forwardRef(function (_a, ref) {
@@ -9112,9 +9169,9 @@ var CTimePickerRollCol = React$1.forwardRef(function (_a, ref) {
9112
9169
  })));
9113
9170
  });
9114
9171
  CTimePickerRollCol.propTypes = {
9115
- elements: PropTypes.array.isRequired,
9116
- onClick: PropTypes.func,
9117
- selected: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
9172
+ elements: PropTypes$1.array.isRequired,
9173
+ onClick: PropTypes$1.func,
9174
+ selected: PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.string]),
9118
9175
  };
9119
9176
  CTimePickerRollCol.displayName = 'CTimePickerRollCol';
9120
9177
 
@@ -9345,7 +9402,7 @@ var CTimePicker = React$1.forwardRef(function (_a, ref) {
9345
9402
  _c['time-picker-roll'] = variant === 'roll',
9346
9403
  _c)) }, variant === 'select' ? React$1.createElement(TimePickerSelect, null) : TimePickerRoll()))));
9347
9404
  });
9348
- CTimePicker.propTypes = __assign$1(__assign$1(__assign$1({}, CFormControlWrapper.propTypes), CPicker.propTypes), { ampm: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.bool]), cancelButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), cancelButtonColor: (_a$1 = CButton.propTypes) === null || _a$1 === void 0 ? void 0 : _a$1.color, cancelButtonSize: (_b$1 = CButton.propTypes) === null || _b$1 === void 0 ? void 0 : _b$1.size, cancelButtonVariant: (_c$1 = CButton.propTypes) === null || _c$1 === void 0 ? void 0 : _c$1.variant, className: PropTypes.string, confirmButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), confirmButtonColor: (_d$1 = CButton.propTypes) === null || _d$1 === void 0 ? void 0 : _d$1.color, confirmButtonSize: (_e$1 = CButton.propTypes) === null || _e$1 === void 0 ? void 0 : _e$1.size, confirmButtonVariant: (_f$1 = CButton.propTypes) === null || _f$1 === void 0 ? void 0 : _f$1.variant, locale: PropTypes.string, onTimeChange: PropTypes.func, required: PropTypes.bool, seconds: PropTypes.bool, time: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]), variant: PropTypes.oneOf(['roll', 'select']) });
9405
+ CTimePicker.propTypes = __assign$1(__assign$1(__assign$1({}, CFormControlWrapper.propTypes), CPicker.propTypes), { ampm: PropTypes$1.oneOfType([PropTypes$1.oneOf(['auto']), PropTypes$1.bool]), cancelButton: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), cancelButtonColor: (_a$1 = CButton.propTypes) === null || _a$1 === void 0 ? void 0 : _a$1.color, cancelButtonSize: (_b$1 = CButton.propTypes) === null || _b$1 === void 0 ? void 0 : _b$1.size, cancelButtonVariant: (_c$1 = CButton.propTypes) === null || _c$1 === void 0 ? void 0 : _c$1.variant, className: PropTypes$1.string, confirmButton: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), confirmButtonColor: (_d$1 = CButton.propTypes) === null || _d$1 === void 0 ? void 0 : _d$1.color, confirmButtonSize: (_e$1 = CButton.propTypes) === null || _e$1 === void 0 ? void 0 : _e$1.size, confirmButtonVariant: (_f$1 = CButton.propTypes) === null || _f$1 === void 0 ? void 0 : _f$1.variant, locale: PropTypes$1.string, onTimeChange: PropTypes$1.func, required: PropTypes$1.bool, seconds: PropTypes$1.bool, time: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]), variant: PropTypes$1.oneOf(['roll', 'select']) });
9349
9406
  CTimePicker.displayName = 'CTimePicker';
9350
9407
 
9351
9408
  var getLocalDateFromString = function (string, locale, time) {
@@ -9588,17 +9645,17 @@ var CDateRangePicker = React$1.forwardRef(function (_a, ref) {
9588
9645
  }, time: index === 0 ? _startDate : _endDate, variant: "select" })); }))))))));
9589
9646
  });
9590
9647
  CDateRangePicker.displayName = 'CDateRangePicker';
9591
- CDateRangePicker.propTypes = __assign$1(__assign$1(__assign$1(__assign$1({}, CCalendar.propTypes), CFormControlWrapper.propTypes), CPicker.propTypes), { cancelButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), cancelButtonColor: (_a = CButton.propTypes) === null || _a === void 0 ? void 0 : _a.color, cancelButtonSize: (_b = CButton.propTypes) === null || _b === void 0 ? void 0 : _b.size, cancelButtonVariant: (_c = CButton.propTypes) === null || _c === void 0 ? void 0 : _c.variant, calendars: PropTypes.number, className: PropTypes.string, cleaner: PropTypes.bool, closeOnSelect: PropTypes.bool, confirmButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), confirmButtonColor: (_d = CButton.propTypes) === null || _d === void 0 ? void 0 : _d.color, confirmButtonSize: (_e = CButton.propTypes) === null || _e === void 0 ? void 0 : _e.size, confirmButtonVariant: (_f = CButton.propTypes) === null || _f === void 0 ? void 0 : _f.variant, id: PropTypes.string, indicator: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), inputReadOnly: PropTypes.bool, placeholder: PropTypes.oneOfType([
9592
- PropTypes.string,
9593
- PropTypes.arrayOf(PropTypes.string.isRequired),
9594
- ]), range: PropTypes.bool, ranges: PropTypes.object, rangesButtonsColor: (_g = CButton.propTypes) === null || _g === void 0 ? void 0 : _g.color, rangesButtonsSize: (_h = CButton.propTypes) === null || _h === void 0 ? void 0 : _h.size, rangesButtonsVariant: (_j = CButton.propTypes) === null || _j === void 0 ? void 0 : _j.variant, required: PropTypes.bool, separator: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), size: PropTypes.oneOf(['sm', 'lg']), timepicker: PropTypes.bool, todayButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.node]), todayButtonColor: (_k = CButton.propTypes) === null || _k === void 0 ? void 0 : _k.color, todayButtonSize: (_l = CButton.propTypes) === null || _l === void 0 ? void 0 : _l.size, todayButtonVariant: (_m = CButton.propTypes) === null || _m === void 0 ? void 0 : _m.variant });
9648
+ CDateRangePicker.propTypes = __assign$1(__assign$1(__assign$1(__assign$1({}, CCalendar.propTypes), CFormControlWrapper.propTypes), CPicker.propTypes), { cancelButton: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), cancelButtonColor: (_a = CButton.propTypes) === null || _a === void 0 ? void 0 : _a.color, cancelButtonSize: (_b = CButton.propTypes) === null || _b === void 0 ? void 0 : _b.size, cancelButtonVariant: (_c = CButton.propTypes) === null || _c === void 0 ? void 0 : _c.variant, calendars: PropTypes$1.number, className: PropTypes$1.string, cleaner: PropTypes$1.bool, closeOnSelect: PropTypes$1.bool, confirmButton: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), confirmButtonColor: (_d = CButton.propTypes) === null || _d === void 0 ? void 0 : _d.color, confirmButtonSize: (_e = CButton.propTypes) === null || _e === void 0 ? void 0 : _e.size, confirmButtonVariant: (_f = CButton.propTypes) === null || _f === void 0 ? void 0 : _f.variant, id: PropTypes$1.string, indicator: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), inputReadOnly: PropTypes$1.bool, placeholder: PropTypes$1.oneOfType([
9649
+ PropTypes$1.string,
9650
+ PropTypes$1.arrayOf(PropTypes$1.string.isRequired),
9651
+ ]), range: PropTypes$1.bool, ranges: PropTypes$1.object, rangesButtonsColor: (_g = CButton.propTypes) === null || _g === void 0 ? void 0 : _g.color, rangesButtonsSize: (_h = CButton.propTypes) === null || _h === void 0 ? void 0 : _h.size, rangesButtonsVariant: (_j = CButton.propTypes) === null || _j === void 0 ? void 0 : _j.variant, required: PropTypes$1.bool, separator: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), size: PropTypes$1.oneOf(['sm', 'lg']), timepicker: PropTypes$1.bool, todayButton: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.node]), todayButtonColor: (_k = CButton.propTypes) === null || _k === void 0 ? void 0 : _k.color, todayButtonSize: (_l = CButton.propTypes) === null || _l === void 0 ? void 0 : _l.size, todayButtonVariant: (_m = CButton.propTypes) === null || _m === void 0 ? void 0 : _m.variant });
9595
9652
 
9596
9653
  var CDatePicker = React$1.forwardRef(function (_a, ref) {
9597
9654
  var date = _a.date, id = _a.id, onDateChange = _a.onDateChange, _b = _a.placeholder, placeholder = _b === void 0 ? 'Select date' : _b, rest = __rest$1(_a, ["date", "id", "onDateChange", "placeholder"]);
9598
9655
  return (React$1.createElement(CDateRangePicker, __assign$1({ calendars: 1, id: id, startDate: date, onStartDateChange: onDateChange, placeholder: placeholder, range: false, ref: ref }, rest)));
9599
9656
  });
9600
9657
  CDatePicker.displayName = 'CDatePicker';
9601
- CDatePicker.propTypes = __assign$1(__assign$1({}, CDateRangePicker.propTypes), { date: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]), onDateChange: PropTypes.func });
9658
+ CDatePicker.propTypes = __assign$1(__assign$1({}, CDateRangePicker.propTypes), { date: PropTypes$1.oneOfType([PropTypes$1.instanceOf(Date), PropTypes$1.string]), onDateChange: PropTypes$1.func });
9602
9659
 
9603
9660
  var getPlacement = function (placement, direction, alignment, isRTL) {
9604
9661
  var _placement = placement;
@@ -9704,34 +9761,34 @@ var CDropdown = React$1.forwardRef(function (_a, ref) {
9704
9761
  _b.show = _visible,
9705
9762
  _b), className) }, rest, { ref: forkedRef }), children))));
9706
9763
  });
9707
- var alignmentDirection = PropTypes.oneOf(['start', 'end']);
9764
+ var alignmentDirection = PropTypes$1.oneOf(['start', 'end']);
9708
9765
  CDropdown.propTypes = {
9709
- alignment: PropTypes.oneOfType([
9766
+ alignment: PropTypes$1.oneOfType([
9710
9767
  alignmentDirection,
9711
- PropTypes.shape({ xs: alignmentDirection.isRequired }),
9712
- PropTypes.shape({ sm: alignmentDirection.isRequired }),
9713
- PropTypes.shape({ md: alignmentDirection.isRequired }),
9714
- PropTypes.shape({ lg: alignmentDirection.isRequired }),
9715
- PropTypes.shape({ xl: alignmentDirection.isRequired }),
9716
- PropTypes.shape({ xxl: alignmentDirection.isRequired }),
9768
+ PropTypes$1.shape({ xs: alignmentDirection.isRequired }),
9769
+ PropTypes$1.shape({ sm: alignmentDirection.isRequired }),
9770
+ PropTypes$1.shape({ md: alignmentDirection.isRequired }),
9771
+ PropTypes$1.shape({ lg: alignmentDirection.isRequired }),
9772
+ PropTypes$1.shape({ xl: alignmentDirection.isRequired }),
9773
+ PropTypes$1.shape({ xxl: alignmentDirection.isRequired }),
9717
9774
  ]),
9718
- autoClose: PropTypes.oneOfType([
9719
- PropTypes.bool,
9720
- PropTypes.oneOf(['inside', 'outside']),
9775
+ autoClose: PropTypes$1.oneOfType([
9776
+ PropTypes$1.bool,
9777
+ PropTypes$1.oneOf(['inside', 'outside']),
9721
9778
  ]),
9722
- children: PropTypes.node,
9723
- className: PropTypes.string,
9724
- component: PropTypes.elementType,
9725
- dark: PropTypes.bool,
9726
- direction: PropTypes.oneOf(['center', 'dropup', 'dropup-center', 'dropend', 'dropstart']),
9727
- offset: PropTypes.any,
9728
- onHide: PropTypes.func,
9729
- onShow: PropTypes.func,
9779
+ children: PropTypes$1.node,
9780
+ className: PropTypes$1.string,
9781
+ component: PropTypes$1.elementType,
9782
+ dark: PropTypes$1.bool,
9783
+ direction: PropTypes$1.oneOf(['center', 'dropup', 'dropup-center', 'dropend', 'dropstart']),
9784
+ offset: PropTypes$1.any,
9785
+ onHide: PropTypes$1.func,
9786
+ onShow: PropTypes$1.func,
9730
9787
  placement: placementPropType,
9731
- popper: PropTypes.bool,
9732
- portal: PropTypes.bool,
9733
- variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
9734
- visible: PropTypes.bool,
9788
+ popper: PropTypes$1.bool,
9789
+ portal: PropTypes$1.bool,
9790
+ variant: PropTypes$1.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
9791
+ visible: PropTypes$1.bool,
9735
9792
  };
9736
9793
  CDropdown.displayName = 'CDropdown';
9737
9794
 
@@ -9740,7 +9797,7 @@ var CDropdownDivider = React$1.forwardRef(function (_a, ref) {
9740
9797
  return React$1.createElement("hr", __assign$1({ className: classNames$1('dropdown-divider', className) }, rest, { ref: ref }));
9741
9798
  });
9742
9799
  CDropdownDivider.propTypes = {
9743
- className: PropTypes.string,
9800
+ className: PropTypes$1.string,
9744
9801
  };
9745
9802
  CDropdownDivider.displayName = 'CDropdownDivider';
9746
9803
 
@@ -9749,9 +9806,9 @@ var CDropdownHeader = React$1.forwardRef(function (_a, ref) {
9749
9806
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('dropdown-header', className) }, rest, { ref: ref }), children));
9750
9807
  });
9751
9808
  CDropdownHeader.propTypes = {
9752
- children: PropTypes.node,
9753
- className: PropTypes.string,
9754
- component: PropTypes.elementType,
9809
+ children: PropTypes$1.node,
9810
+ className: PropTypes$1.string,
9811
+ component: PropTypes$1.elementType,
9755
9812
  };
9756
9813
  CDropdownHeader.displayName = 'CDropdownHeader';
9757
9814
 
@@ -9760,9 +9817,9 @@ var CDropdownItem = React$1.forwardRef(function (_a, ref) {
9760
9817
  return (React$1.createElement(CLink, __assign$1({ className: classNames$1('dropdown-item', className), component: component }, rest, { ref: ref }), children));
9761
9818
  });
9762
9819
  CDropdownItem.propTypes = {
9763
- children: PropTypes.node,
9764
- className: PropTypes.string,
9765
- component: PropTypes.elementType,
9820
+ children: PropTypes$1.node,
9821
+ className: PropTypes$1.string,
9822
+ component: PropTypes$1.elementType,
9766
9823
  };
9767
9824
  CDropdownItem.displayName = 'CDropdownItem';
9768
9825
 
@@ -9771,9 +9828,9 @@ var CDropdownItemPlain = React$1.forwardRef(function (_a, ref) {
9771
9828
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('dropdown-item-text', className) }, rest, { ref: ref }), children));
9772
9829
  });
9773
9830
  CDropdownItemPlain.propTypes = {
9774
- children: PropTypes.node,
9775
- className: PropTypes.string,
9776
- component: PropTypes.elementType,
9831
+ children: PropTypes$1.node,
9832
+ className: PropTypes$1.string,
9833
+ component: PropTypes$1.elementType,
9777
9834
  };
9778
9835
  CDropdownItemPlain.displayName = 'CDropdownItemPlain';
9779
9836
 
@@ -9807,9 +9864,9 @@ var CDropdownMenu = React$1.forwardRef(function (_a, ref) {
9807
9864
  : children)));
9808
9865
  });
9809
9866
  CDropdownMenu.propTypes = {
9810
- children: PropTypes.node,
9811
- className: PropTypes.string,
9812
- component: PropTypes.elementType,
9867
+ children: PropTypes$1.node,
9868
+ className: PropTypes$1.string,
9869
+ component: PropTypes$1.elementType,
9813
9870
  };
9814
9871
  CDropdownMenu.displayName = 'CDropdownMenu';
9815
9872
 
@@ -9845,11 +9902,11 @@ var CDropdownToggle = function (_a) {
9845
9902
  return React$1.createElement(Toggler, null);
9846
9903
  };
9847
9904
  CDropdownToggle.propTypes = {
9848
- caret: PropTypes.bool,
9849
- children: PropTypes.node,
9850
- className: PropTypes.string,
9851
- custom: PropTypes.bool,
9852
- split: PropTypes.bool,
9905
+ caret: PropTypes$1.bool,
9906
+ children: PropTypes$1.node,
9907
+ className: PropTypes$1.string,
9908
+ custom: PropTypes$1.bool,
9909
+ split: PropTypes$1.bool,
9853
9910
  trigger: triggerPropType,
9854
9911
  };
9855
9912
  CDropdownToggle.displayName = 'CDropdownToggle';
@@ -9864,12 +9921,12 @@ var CSpinner = React$1.forwardRef(function (_a, ref) {
9864
9921
  React$1.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
9865
9922
  });
9866
9923
  CSpinner.propTypes = {
9867
- className: PropTypes.string,
9924
+ className: PropTypes$1.string,
9868
9925
  color: colorPropType,
9869
- component: PropTypes.string,
9870
- size: PropTypes.oneOf(['sm']),
9871
- variant: PropTypes.oneOf(['border', 'grow']),
9872
- visuallyHiddenLabel: PropTypes.string,
9926
+ component: PropTypes$1.string,
9927
+ size: PropTypes$1.oneOf(['sm']),
9928
+ variant: PropTypes$1.oneOf(['border', 'grow']),
9929
+ visuallyHiddenLabel: PropTypes$1.string,
9873
9930
  };
9874
9931
  CSpinner.displayName = 'CSpinner';
9875
9932
 
@@ -9917,10 +9974,10 @@ var CElementCover = React$1.forwardRef(function (_a, ref) {
9917
9974
  } }, children || React$1.createElement(CSpinner, { variant: "grow", color: "primary" }))));
9918
9975
  });
9919
9976
  CElementCover.propTypes = {
9920
- boundaries: PropTypes.array,
9921
- children: PropTypes.node,
9922
- className: PropTypes.string,
9923
- opacity: PropTypes.number,
9977
+ boundaries: PropTypes$1.array,
9978
+ children: PropTypes$1.node,
9979
+ className: PropTypes$1.string,
9980
+ opacity: PropTypes$1.number,
9924
9981
  };
9925
9982
  CElementCover.displayName = 'CElementCover';
9926
9983
 
@@ -9930,9 +9987,9 @@ var CFooter = React$1.forwardRef(function (_a, ref) {
9930
9987
  return (React$1.createElement("div", __assign$1({ className: classNames$1('footer', (_b = {}, _b["footer-".concat(position)] = position, _b), className) }, rest, { ref: ref }), children));
9931
9988
  });
9932
9989
  CFooter.propTypes = {
9933
- children: PropTypes.node,
9934
- className: PropTypes.string,
9935
- position: PropTypes.oneOf(['fixed', 'sticky']),
9990
+ children: PropTypes$1.node,
9991
+ className: PropTypes$1.string,
9992
+ position: PropTypes$1.oneOf(['fixed', 'sticky']),
9936
9993
  };
9937
9994
  CFooter.displayName = 'CFooter';
9938
9995
 
@@ -9941,9 +9998,9 @@ var CForm = React$1.forwardRef(function (_a, ref) {
9941
9998
  return (React$1.createElement("form", __assign$1({ className: classNames$1({ 'was-validated': validated }, className) || undefined }, rest, { ref: ref }), children));
9942
9999
  });
9943
10000
  CForm.propTypes = {
9944
- children: PropTypes.node,
9945
- className: PropTypes.string,
9946
- validated: PropTypes.bool,
10001
+ children: PropTypes$1.node,
10002
+ className: PropTypes$1.string,
10003
+ validated: PropTypes$1.bool,
9947
10004
  };
9948
10005
  CForm.displayName = 'CForm';
9949
10006
 
@@ -9995,7 +10052,7 @@ var CFormCheck = React$1.forwardRef(function (_a, ref) {
9995
10052
  };
9996
10053
  return React$1.createElement(FormCheck, null);
9997
10054
  });
9998
- CFormCheck.propTypes = __assign$1({ button: PropTypes.object, className: PropTypes.string, hitArea: PropTypes.oneOf(['full']), id: PropTypes.string, indeterminate: PropTypes.bool, inline: PropTypes.bool, label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), reverse: PropTypes.bool, type: PropTypes.oneOf(['checkbox', 'radio']) }, CFormControlValidation.propTypes);
10055
+ CFormCheck.propTypes = __assign$1({ button: PropTypes$1.object, className: PropTypes$1.string, hitArea: PropTypes$1.oneOf(['full']), id: PropTypes$1.string, indeterminate: PropTypes$1.bool, inline: PropTypes$1.bool, label: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]), reverse: PropTypes$1.bool, type: PropTypes$1.oneOf(['checkbox', 'radio']) }, CFormControlValidation.propTypes);
9999
10056
  CFormCheck.displayName = 'CFormCheck';
10000
10057
 
10001
10058
  var CFormInput = React$1.forwardRef(function (_a, ref) {
@@ -10014,7 +10071,7 @@ var CFormInput = React$1.forwardRef(function (_a, ref) {
10014
10071
  _b['is-valid'] = valid,
10015
10072
  _b), className), id: id, type: type, onChange: function (event) { return (delay ? setValue(event) : onChange && onChange(event)); } }, rest, { ref: ref }), children)));
10016
10073
  });
10017
- CFormInput.propTypes = __assign$1({ className: PropTypes.string, id: PropTypes.string, delay: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]), plainText: PropTypes.bool, size: PropTypes.oneOf(['sm', 'lg']), type: PropTypes.oneOfType([PropTypes.oneOf(['color', 'file', 'text']), PropTypes.string]) }, CFormControlWrapper.propTypes);
10074
+ CFormInput.propTypes = __assign$1({ className: PropTypes$1.string, id: PropTypes$1.string, delay: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.number]), plainText: PropTypes$1.bool, size: PropTypes$1.oneOf(['sm', 'lg']), type: PropTypes$1.oneOfType([PropTypes$1.oneOf(['color', 'file', 'text']), PropTypes$1.string]) }, CFormControlWrapper.propTypes);
10018
10075
  CFormInput.displayName = 'CFormInput';
10019
10076
 
10020
10077
  var CFormRange = React$1.forwardRef(function (_a, ref) {
@@ -10024,8 +10081,8 @@ var CFormRange = React$1.forwardRef(function (_a, ref) {
10024
10081
  React$1.createElement("input", __assign$1({ type: "range", className: classNames$1('form-range', className) }, rest, { ref: ref }))));
10025
10082
  });
10026
10083
  CFormRange.propTypes = {
10027
- className: PropTypes.string,
10028
- label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
10084
+ className: PropTypes$1.string,
10085
+ label: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
10029
10086
  };
10030
10087
  CFormRange.displayName = 'CFormRange';
10031
10088
 
@@ -10045,7 +10102,7 @@ var CFormSelect = React$1.forwardRef(function (_a, ref) {
10045
10102
  })
10046
10103
  : children)));
10047
10104
  });
10048
- CFormSelect.propTypes = __assign$1({ className: PropTypes.string, htmlSize: PropTypes.number, options: PropTypes.array }, CFormControlWrapper.propTypes);
10105
+ CFormSelect.propTypes = __assign$1({ className: PropTypes$1.string, htmlSize: PropTypes$1.number, options: PropTypes$1.array }, CFormControlWrapper.propTypes);
10049
10106
  CFormSelect.displayName = 'CFormSelect';
10050
10107
 
10051
10108
  var CFormSwitch = React$1.forwardRef(function (_a, ref) {
@@ -10065,14 +10122,14 @@ var CFormSwitch = React$1.forwardRef(function (_a, ref) {
10065
10122
  label && (React$1.createElement(CFormLabel, __assign$1({ customClassName: "form-check-label" }, (id && { htmlFor: id })), label))));
10066
10123
  });
10067
10124
  CFormSwitch.propTypes = {
10068
- className: PropTypes.string,
10069
- id: PropTypes.string,
10070
- invalid: PropTypes.bool,
10071
- label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
10072
- reverse: PropTypes.bool,
10073
- size: PropTypes.oneOf(['lg', 'xl']),
10074
- type: PropTypes.oneOf(['checkbox', 'radio']),
10075
- valid: PropTypes.bool,
10125
+ className: PropTypes$1.string,
10126
+ id: PropTypes$1.string,
10127
+ invalid: PropTypes$1.bool,
10128
+ label: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
10129
+ reverse: PropTypes$1.bool,
10130
+ size: PropTypes$1.oneOf(['lg', 'xl']),
10131
+ type: PropTypes$1.oneOf(['checkbox', 'radio']),
10132
+ valid: PropTypes$1.bool,
10076
10133
  };
10077
10134
  CFormSwitch.displayName = 'CFormSwitch';
10078
10135
 
@@ -10084,7 +10141,7 @@ var CFormTextarea = React$1.forwardRef(function (_a, ref) {
10084
10141
  'is-valid': valid,
10085
10142
  }, className), id: id }, rest, { ref: ref }), children)));
10086
10143
  });
10087
- CFormTextarea.propTypes = __assign$1({ className: PropTypes.string, id: PropTypes.string, plainText: PropTypes.bool }, CFormControlWrapper.propTypes);
10144
+ CFormTextarea.propTypes = __assign$1({ className: PropTypes$1.string, id: PropTypes$1.string, plainText: PropTypes$1.bool }, CFormControlWrapper.propTypes);
10088
10145
  CFormTextarea.displayName = 'CFormTextarea';
10089
10146
 
10090
10147
  var CInputGroup = React$1.forwardRef(function (_a, ref) {
@@ -10095,9 +10152,9 @@ var CInputGroup = React$1.forwardRef(function (_a, ref) {
10095
10152
  _b), className) }, rest, { ref: ref }), children));
10096
10153
  });
10097
10154
  CInputGroup.propTypes = {
10098
- children: PropTypes.node,
10099
- className: PropTypes.string,
10100
- size: PropTypes.oneOf(['sm', 'lg']),
10155
+ children: PropTypes$1.node,
10156
+ className: PropTypes$1.string,
10157
+ size: PropTypes$1.oneOf(['sm', 'lg']),
10101
10158
  };
10102
10159
  CInputGroup.displayName = 'CInputGroup';
10103
10160
 
@@ -10106,9 +10163,9 @@ var CInputGroupText = React$1.forwardRef(function (_a, ref) {
10106
10163
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('input-group-text', className) }, rest, { ref: ref }), children));
10107
10164
  });
10108
10165
  CInputGroupText.propTypes = {
10109
- children: PropTypes.node,
10110
- className: PropTypes.string,
10111
- component: PropTypes.elementType,
10166
+ children: PropTypes$1.node,
10167
+ className: PropTypes$1.string,
10168
+ component: PropTypes$1.elementType,
10112
10169
  };
10113
10170
  CInputGroupText.displayName = 'CInputGroupText';
10114
10171
 
@@ -10150,27 +10207,27 @@ var CCol = React$1.forwardRef(function (_a, ref) {
10150
10207
  });
10151
10208
  return (React$1.createElement("div", __assign$1({ className: classNames$1(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'col', className) }, rest, { ref: ref }), children));
10152
10209
  });
10153
- var span = PropTypes.oneOfType([
10154
- PropTypes.bool,
10155
- PropTypes.number,
10156
- PropTypes.string,
10157
- PropTypes.oneOf(['auto']),
10210
+ var span = PropTypes$1.oneOfType([
10211
+ PropTypes$1.bool,
10212
+ PropTypes$1.number,
10213
+ PropTypes$1.string,
10214
+ PropTypes$1.oneOf(['auto']),
10158
10215
  ]);
10159
- var col = PropTypes.oneOfType([
10216
+ var col = PropTypes$1.oneOfType([
10160
10217
  span,
10161
- PropTypes.shape({
10218
+ PropTypes$1.shape({
10162
10219
  span: span,
10163
- offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
10164
- order: PropTypes.oneOfType([
10165
- PropTypes.oneOf(['first', 'last']),
10166
- PropTypes.number,
10167
- PropTypes.string,
10220
+ offset: PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.string]),
10221
+ order: PropTypes$1.oneOfType([
10222
+ PropTypes$1.oneOf(['first', 'last']),
10223
+ PropTypes$1.number,
10224
+ PropTypes$1.string,
10168
10225
  ]),
10169
10226
  }),
10170
10227
  ]);
10171
10228
  CCol.propTypes = {
10172
- children: PropTypes.node,
10173
- className: PropTypes.string,
10229
+ children: PropTypes$1.node,
10230
+ className: PropTypes$1.string,
10174
10231
  xs: col,
10175
10232
  sm: col,
10176
10233
  md: col,
@@ -10199,14 +10256,14 @@ var CContainer = React$1.forwardRef(function (_a, ref) {
10199
10256
  return (React$1.createElement("div", __assign$1({ className: classNames$1(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'container', className) }, rest, { ref: ref }), children));
10200
10257
  });
10201
10258
  CContainer.propTypes = {
10202
- children: PropTypes.node,
10203
- className: PropTypes.string,
10204
- sm: PropTypes.bool,
10205
- md: PropTypes.bool,
10206
- lg: PropTypes.bool,
10207
- xl: PropTypes.bool,
10208
- xxl: PropTypes.bool,
10209
- fluid: PropTypes.bool,
10259
+ children: PropTypes$1.node,
10260
+ className: PropTypes$1.string,
10261
+ sm: PropTypes$1.bool,
10262
+ md: PropTypes$1.bool,
10263
+ lg: PropTypes$1.bool,
10264
+ xl: PropTypes$1.bool,
10265
+ xxl: PropTypes$1.bool,
10266
+ fluid: PropTypes$1.bool,
10210
10267
  };
10211
10268
  CContainer.displayName = 'CContainer';
10212
10269
 
@@ -10242,15 +10299,15 @@ var CRow = React$1.forwardRef(function (_a, ref) {
10242
10299
  });
10243
10300
  return (React$1.createElement("div", { className: classNames$1('row', repsonsiveClassNames, className), ref: ref }, children));
10244
10301
  });
10245
- var bp = PropTypes.shape({
10246
- cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]),
10247
- gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
10248
- gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
10249
- gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
10302
+ var bp = PropTypes$1.shape({
10303
+ cols: PropTypes$1.oneOfType([PropTypes$1.oneOf(['auto']), PropTypes$1.number, PropTypes$1.string]),
10304
+ gutter: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number]),
10305
+ gutterX: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number]),
10306
+ gutterY: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.number]),
10250
10307
  });
10251
10308
  CRow.propTypes = {
10252
- children: PropTypes.node,
10253
- className: PropTypes.string,
10309
+ children: PropTypes$1.node,
10310
+ className: PropTypes$1.string,
10254
10311
  xs: bp,
10255
10312
  sm: bp,
10256
10313
  md: bp,
@@ -10266,11 +10323,11 @@ var CHeader = React$1.forwardRef(function (_a, ref) {
10266
10323
  return (React$1.createElement("div", __assign$1({ className: classNames$1('header', (_b = {}, _b["header-".concat(position)] = position, _b), className) }, rest, { ref: ref }), container ? (React$1.createElement("div", { className: typeof container === 'string' ? "container-".concat(container) : 'container' }, children)) : (React$1.createElement(React$1.Fragment, null, children))));
10267
10324
  });
10268
10325
  CHeader.propTypes = {
10269
- children: PropTypes.node,
10270
- className: PropTypes.string,
10271
- container: PropTypes.oneOfType([
10272
- PropTypes.bool,
10273
- PropTypes.oneOf([
10326
+ children: PropTypes$1.node,
10327
+ className: PropTypes$1.string,
10328
+ container: PropTypes$1.oneOfType([
10329
+ PropTypes$1.bool,
10330
+ PropTypes$1.oneOf([
10274
10331
  'sm',
10275
10332
  'md',
10276
10333
  'lg',
@@ -10279,7 +10336,7 @@ CHeader.propTypes = {
10279
10336
  'fluid',
10280
10337
  ]),
10281
10338
  ]),
10282
- position: PropTypes.oneOf(['fixed', 'sticky']),
10339
+ position: PropTypes$1.oneOf(['fixed', 'sticky']),
10283
10340
  };
10284
10341
  CHeader.displayName = 'CHeader';
10285
10342
 
@@ -10288,9 +10345,9 @@ var CHeaderBrand = React$1.forwardRef(function (_a, ref) {
10288
10345
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('header-brand', className) }, rest, { ref: ref }), children));
10289
10346
  });
10290
10347
  CHeaderBrand.propTypes = {
10291
- children: PropTypes.node,
10292
- className: PropTypes.string,
10293
- component: PropTypes.elementType,
10348
+ children: PropTypes$1.node,
10349
+ className: PropTypes$1.string,
10350
+ component: PropTypes$1.elementType,
10294
10351
  };
10295
10352
  CHeaderBrand.displayName = 'CHeaderBrand';
10296
10353
 
@@ -10299,7 +10356,7 @@ var CHeaderDivider = React$1.forwardRef(function (_a, ref) {
10299
10356
  return React$1.createElement("div", __assign$1({ className: classNames$1('header-divider', className) }, rest, { ref: ref }));
10300
10357
  });
10301
10358
  CHeaderDivider.propTypes = {
10302
- className: PropTypes.string,
10359
+ className: PropTypes$1.string,
10303
10360
  };
10304
10361
  CHeaderDivider.displayName = 'CHeaderDivider';
10305
10362
 
@@ -10308,9 +10365,9 @@ var CHeaderNav = React$1.forwardRef(function (_a, ref) {
10308
10365
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('header-nav', className), role: "navigation" }, rest, { ref: ref }), children));
10309
10366
  });
10310
10367
  CHeaderNav.propTypes = {
10311
- children: PropTypes.node,
10312
- className: PropTypes.string,
10313
- component: PropTypes.elementType,
10368
+ children: PropTypes$1.node,
10369
+ className: PropTypes$1.string,
10370
+ component: PropTypes$1.elementType,
10314
10371
  };
10315
10372
  CHeaderNav.displayName = 'CHeaderNav';
10316
10373
 
@@ -10319,8 +10376,8 @@ var CHeaderText = React$1.forwardRef(function (_a, ref) {
10319
10376
  return (React$1.createElement("span", __assign$1({ className: classNames$1('header-text', className) }, rest, { ref: ref }), children));
10320
10377
  });
10321
10378
  CHeaderText.propTypes = {
10322
- children: PropTypes.node,
10323
- className: PropTypes.string,
10379
+ children: PropTypes$1.node,
10380
+ className: PropTypes$1.string,
10324
10381
  };
10325
10382
  CHeaderText.displayName = 'CHeaderText';
10326
10383
 
@@ -10329,8 +10386,8 @@ var CHeaderToggler = React$1.forwardRef(function (_a, ref) {
10329
10386
  return (React$1.createElement("button", __assign$1({ type: "button", className: classNames$1('header-toggler', className) }, rest, { ref: ref }), children !== null && children !== void 0 ? children : React$1.createElement("span", { className: "header-toggler-icon" })));
10330
10387
  });
10331
10388
  CHeaderToggler.propTypes = {
10332
- children: PropTypes.node,
10333
- className: PropTypes.string,
10389
+ children: PropTypes$1.node,
10390
+ className: PropTypes$1.string,
10334
10391
  };
10335
10392
  CHeaderToggler.displayName = 'CHeaderToggler';
10336
10393
 
@@ -10346,11 +10403,11 @@ var CImage = React$1.forwardRef(function (_a, ref) {
10346
10403
  _b), className) || undefined }, rest, { ref: ref })));
10347
10404
  });
10348
10405
  CImage.propTypes = {
10349
- align: PropTypes.oneOf(['start', 'center', 'end']),
10350
- className: PropTypes.string,
10351
- fluid: PropTypes.bool,
10352
- rounded: PropTypes.bool,
10353
- thumbnail: PropTypes.bool,
10406
+ align: PropTypes$1.oneOf(['start', 'center', 'end']),
10407
+ className: PropTypes$1.string,
10408
+ fluid: PropTypes$1.bool,
10409
+ rounded: PropTypes$1.bool,
10410
+ thumbnail: PropTypes$1.bool,
10354
10411
  };
10355
10412
  CImage.displayName = 'CImage';
10356
10413
 
@@ -10364,11 +10421,11 @@ var CListGroup = React$1.forwardRef(function (_a, ref) {
10364
10421
  _b), className), ref: ref }, children));
10365
10422
  });
10366
10423
  CListGroup.propTypes = {
10367
- children: PropTypes.node,
10368
- className: PropTypes.string,
10369
- component: PropTypes.elementType,
10370
- flush: PropTypes.bool,
10371
- layout: PropTypes.oneOf([
10424
+ children: PropTypes$1.node,
10425
+ className: PropTypes$1.string,
10426
+ component: PropTypes$1.elementType,
10427
+ flush: PropTypes$1.bool,
10428
+ layout: PropTypes$1.oneOf([
10372
10429
  'horizontal',
10373
10430
  'horizontal-sm',
10374
10431
  'horizontal-md',
@@ -10397,12 +10454,12 @@ var CListGroupItem = React$1.forwardRef(function (_a, ref) {
10397
10454
  _b), className) }, rest), children));
10398
10455
  });
10399
10456
  CListGroupItem.propTypes = {
10400
- active: PropTypes.bool,
10401
- children: PropTypes.node,
10402
- className: PropTypes.string,
10457
+ active: PropTypes$1.bool,
10458
+ children: PropTypes$1.node,
10459
+ className: PropTypes$1.string,
10403
10460
  color: colorPropType,
10404
- component: PropTypes.elementType,
10405
- disabled: PropTypes.bool,
10461
+ component: PropTypes$1.elementType,
10462
+ disabled: PropTypes$1.bool,
10406
10463
  };
10407
10464
  CListGroupItem.displayName = 'CListGroupItem';
10408
10465
 
@@ -10426,13 +10483,13 @@ var CLoadingButton = React$1.forwardRef(function (_a, ref) {
10426
10483
  children));
10427
10484
  });
10428
10485
  CLoadingButton.propTypes = {
10429
- children: PropTypes.node,
10430
- className: PropTypes.string,
10431
- disabledOnLoading: PropTypes.bool,
10432
- loading: PropTypes.bool,
10433
- onClick: PropTypes.func,
10434
- spinnerType: PropTypes.oneOf(['border', 'grow']),
10435
- timeout: PropTypes.number,
10486
+ children: PropTypes$1.node,
10487
+ className: PropTypes$1.string,
10488
+ disabledOnLoading: PropTypes$1.bool,
10489
+ loading: PropTypes$1.bool,
10490
+ onClick: PropTypes$1.func,
10491
+ spinnerType: PropTypes$1.oneOf(['border', 'grow']),
10492
+ timeout: PropTypes$1.number,
10436
10493
  };
10437
10494
  CLoadingButton.displayName = 'CLoadingButton';
10438
10495
 
@@ -10441,8 +10498,8 @@ var CModalContent = React$1.forwardRef(function (_a, ref) {
10441
10498
  return (React$1.createElement("div", __assign$1({ className: classNames$1('modal-content', className) }, rest, { ref: ref }), children));
10442
10499
  });
10443
10500
  CModalContent.propTypes = {
10444
- children: PropTypes.node,
10445
- className: PropTypes.string,
10501
+ children: PropTypes$1.node,
10502
+ className: PropTypes$1.string,
10446
10503
  };
10447
10504
  CModalContent.displayName = 'CModalContent';
10448
10505
 
@@ -10460,26 +10517,27 @@ var CModalDialog = React$1.forwardRef(function (_a, ref) {
10460
10517
  _b), className) }, rest, { ref: ref }), children));
10461
10518
  });
10462
10519
  CModalDialog.propTypes = {
10463
- alignment: PropTypes.oneOf(['top', 'center']),
10464
- children: PropTypes.node,
10465
- className: PropTypes.string,
10466
- fullscreen: PropTypes.oneOfType([
10467
- PropTypes.bool,
10468
- PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
10520
+ alignment: PropTypes$1.oneOf(['top', 'center']),
10521
+ children: PropTypes$1.node,
10522
+ className: PropTypes$1.string,
10523
+ fullscreen: PropTypes$1.oneOfType([
10524
+ PropTypes$1.bool,
10525
+ PropTypes$1.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
10469
10526
  ]),
10470
- scrollable: PropTypes.bool,
10471
- size: PropTypes.oneOf(['sm', 'lg', 'xl']),
10527
+ scrollable: PropTypes$1.bool,
10528
+ size: PropTypes$1.oneOf(['sm', 'lg', 'xl']),
10472
10529
  };
10473
10530
  CModalDialog.displayName = 'CModalDialog';
10474
10531
 
10475
10532
  var CModalContext = React$1.createContext({});
10476
10533
  var CModal = React$1.forwardRef(function (_a, ref) {
10477
- var children = _a.children, alignment = _a.alignment, _b = _a.backdrop, backdrop = _b === void 0 ? true : _b, className = _a.className, _c = _a.duration, duration = _c === void 0 ? 150 : _c, fullscreen = _a.fullscreen, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onClose = _a.onClose, onClosePrevented = _a.onClosePrevented, onShow = _a.onShow, _e = _a.portal, portal = _e === void 0 ? true : _e, scrollable = _a.scrollable, size = _a.size, _f = _a.transition, transition = _f === void 0 ? true : _f, _g = _a.unmountOnClose, unmountOnClose = _g === void 0 ? true : _g, visible = _a.visible, rest = __rest$1(_a, ["children", "alignment", "backdrop", "className", "duration", "fullscreen", "keyboard", "onClose", "onClosePrevented", "onShow", "portal", "scrollable", "size", "transition", "unmountOnClose", "visible"]);
10534
+ var children = _a.children, alignment = _a.alignment, _b = _a.backdrop, backdrop = _b === void 0 ? true : _b, className = _a.className, _c = _a.duration, duration = _c === void 0 ? 150 : _c, _d = _a.focus, focus = _d === void 0 ? true : _d, fullscreen = _a.fullscreen, _e = _a.keyboard, keyboard = _e === void 0 ? true : _e, onClose = _a.onClose, onClosePrevented = _a.onClosePrevented, onShow = _a.onShow, _f = _a.portal, portal = _f === void 0 ? true : _f, scrollable = _a.scrollable, size = _a.size, _g = _a.transition, transition = _g === void 0 ? true : _g, _h = _a.unmountOnClose, unmountOnClose = _h === void 0 ? true : _h, visible = _a.visible, rest = __rest$1(_a, ["children", "alignment", "backdrop", "className", "duration", "focus", "fullscreen", "keyboard", "onClose", "onClosePrevented", "onShow", "portal", "scrollable", "size", "transition", "unmountOnClose", "visible"]);
10535
+ var activeElementRef = React$1.useRef(null);
10478
10536
  var modalRef = React$1.useRef(null);
10479
10537
  var modalContentRef = React$1.useRef(null);
10480
10538
  var forkedRef = useForkedRef(ref, modalRef);
10481
- var _h = React$1.useState(visible), _visible = _h[0], setVisible = _h[1];
10482
- var _j = React$1.useState(false), staticBackdrop = _j[0], setStaticBackdrop = _j[1];
10539
+ var _j = React$1.useState(visible), _visible = _j[0], setVisible = _j[1];
10540
+ var _k = React$1.useState(false), staticBackdrop = _k[0], setStaticBackdrop = _k[1];
10483
10541
  var contextValues = {
10484
10542
  visible: _visible,
10485
10543
  setVisible: setVisible,
@@ -10488,10 +10546,15 @@ var CModal = React$1.forwardRef(function (_a, ref) {
10488
10546
  setVisible(visible);
10489
10547
  }, [visible]);
10490
10548
  React$1.useEffect(function () {
10549
+ var _a;
10491
10550
  if (_visible) {
10551
+ activeElementRef.current = document.activeElement;
10492
10552
  document.addEventListener('mouseup', handleClickOutside);
10493
10553
  document.addEventListener('keydown', handleKeyDown);
10494
10554
  }
10555
+ else {
10556
+ (_a = activeElementRef.current) === null || _a === void 0 ? void 0 : _a.focus();
10557
+ }
10495
10558
  return function () {
10496
10559
  document.removeEventListener('mouseup', handleClickOutside);
10497
10560
  document.removeEventListener('keydown', handleKeyDown);
@@ -10518,7 +10581,7 @@ var CModal = React$1.forwardRef(function (_a, ref) {
10518
10581
  }
10519
10582
  setTimeout(function () {
10520
10583
  var _a;
10521
- (_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.focus();
10584
+ focus && ((_a = modalRef.current) === null || _a === void 0 ? void 0 : _a.focus());
10522
10585
  }, transition ? duration : 0);
10523
10586
  }
10524
10587
  else {
@@ -10550,36 +10613,39 @@ var CModal = React$1.forwardRef(function (_a, ref) {
10550
10613
  return (React$1.createElement(React$1.Fragment, null,
10551
10614
  React$1.createElement(Transition$1, { in: _visible, mountOnEnter: true, nodeRef: modalRef, onEnter: onShow, onExit: onClose, unmountOnExit: unmountOnClose, timeout: transition ? duration : 0 }, function (state) { return (React$1.createElement(CConditionalPortal, { portal: portal },
10552
10615
  React$1.createElement(CModalContext.Provider, { value: contextValues },
10553
- React$1.createElement("div", { className: classNames$1('modal', {
10616
+ React$1.createElement("div", __assign$1({ className: classNames$1('modal', {
10554
10617
  'modal-static': staticBackdrop,
10555
10618
  fade: transition,
10556
10619
  show: state === 'entered',
10557
- }, className), tabIndex: -1, role: "dialog", style: __assign$1({}, (state !== 'exited' && { display: 'block' })), ref: forkedRef },
10620
+ }, className), tabIndex: -1 }, (_visible
10621
+ ? { 'aria-modal': true, role: 'dialog' }
10622
+ : { 'aria-hidden': 'true' }), { style: __assign$1({}, (state !== 'exited' && { display: 'block' })) }, rest, { ref: forkedRef }),
10558
10623
  React$1.createElement(CModalDialog, { alignment: alignment, fullscreen: fullscreen, scrollable: scrollable, size: size },
10559
- React$1.createElement(CModalContent, __assign$1({}, rest, { ref: modalContentRef }), children)))))); }),
10624
+ React$1.createElement(CModalContent, { ref: modalContentRef }, children)))))); }),
10560
10625
  backdrop && (React$1.createElement(CConditionalPortal, { portal: portal },
10561
10626
  React$1.createElement(CBackdrop, { visible: _visible })))));
10562
10627
  });
10563
10628
  CModal.propTypes = {
10564
- alignment: PropTypes.oneOf(['top', 'center']),
10565
- backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),
10566
- children: PropTypes.node,
10567
- className: PropTypes.string,
10568
- duration: PropTypes.number,
10569
- fullscreen: PropTypes.oneOfType([
10570
- PropTypes.bool,
10571
- PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
10629
+ alignment: PropTypes$1.oneOf(['top', 'center']),
10630
+ backdrop: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.oneOf(['static'])]),
10631
+ children: PropTypes$1.node,
10632
+ className: PropTypes$1.string,
10633
+ duration: PropTypes$1.number,
10634
+ focus: PropTypes$1.bool,
10635
+ fullscreen: PropTypes$1.oneOfType([
10636
+ PropTypes$1.bool,
10637
+ PropTypes$1.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
10572
10638
  ]),
10573
- keyboard: PropTypes.bool,
10574
- onClose: PropTypes.func,
10575
- onClosePrevented: PropTypes.func,
10576
- onShow: PropTypes.func,
10577
- portal: PropTypes.bool,
10578
- scrollable: PropTypes.bool,
10579
- size: PropTypes.oneOf(['sm', 'lg', 'xl']),
10580
- transition: PropTypes.bool,
10581
- unmountOnClose: PropTypes.bool,
10582
- visible: PropTypes.bool,
10639
+ keyboard: PropTypes$1.bool,
10640
+ onClose: PropTypes$1.func,
10641
+ onClosePrevented: PropTypes$1.func,
10642
+ onShow: PropTypes$1.func,
10643
+ portal: PropTypes$1.bool,
10644
+ scrollable: PropTypes$1.bool,
10645
+ size: PropTypes$1.oneOf(['sm', 'lg', 'xl']),
10646
+ transition: PropTypes$1.bool,
10647
+ unmountOnClose: PropTypes$1.bool,
10648
+ visible: PropTypes$1.bool,
10583
10649
  };
10584
10650
  CModal.displayName = 'CModal';
10585
10651
 
@@ -10588,8 +10654,8 @@ var CModalBody = React$1.forwardRef(function (_a, ref) {
10588
10654
  return (React$1.createElement("div", __assign$1({ className: classNames$1('modal-body', className) }, rest, { ref: ref }), children));
10589
10655
  });
10590
10656
  CModalBody.propTypes = {
10591
- children: PropTypes.node,
10592
- className: PropTypes.string,
10657
+ children: PropTypes$1.node,
10658
+ className: PropTypes$1.string,
10593
10659
  };
10594
10660
  CModalBody.displayName = 'CModalBody';
10595
10661
 
@@ -10598,8 +10664,8 @@ var CModalFooter = React$1.forwardRef(function (_a, ref) {
10598
10664
  return (React$1.createElement("div", __assign$1({ className: classNames$1('modal-footer', className) }, rest, { ref: ref }), children));
10599
10665
  });
10600
10666
  CModalFooter.propTypes = {
10601
- children: PropTypes.node,
10602
- className: PropTypes.string,
10667
+ children: PropTypes$1.node,
10668
+ className: PropTypes$1.string,
10603
10669
  };
10604
10670
  CModalFooter.displayName = 'CModalFooter';
10605
10671
 
@@ -10611,9 +10677,9 @@ var CModalHeader = React$1.forwardRef(function (_a, ref) {
10611
10677
  closeButton && React$1.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })));
10612
10678
  });
10613
10679
  CModalHeader.propTypes = {
10614
- children: PropTypes.node,
10615
- className: PropTypes.string,
10616
- closeButton: PropTypes.bool,
10680
+ children: PropTypes$1.node,
10681
+ className: PropTypes$1.string,
10682
+ closeButton: PropTypes$1.bool,
10617
10683
  };
10618
10684
  CModalHeader.displayName = 'CModalHeader';
10619
10685
 
@@ -10622,9 +10688,9 @@ var CModalTitle = React$1.forwardRef(function (_a, ref) {
10622
10688
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('modal-title', className) }, rest, { ref: ref }), children));
10623
10689
  });
10624
10690
  CModalTitle.propTypes = {
10625
- children: PropTypes.node,
10626
- className: PropTypes.string,
10627
- component: PropTypes.elementType,
10691
+ children: PropTypes$1.node,
10692
+ className: PropTypes$1.string,
10693
+ component: PropTypes$1.elementType,
10628
10694
  };
10629
10695
  CModalTitle.displayName = 'CModalTitle';
10630
10696
 
@@ -10639,11 +10705,11 @@ var CMultiSelectNativeSelect = React$1.forwardRef(function (_a, ref) {
10639
10705
  return (React$1.createElement("select", __assign$1({ className: "multi-select-new" }, (id && { id: "".concat(id, "-multi-select") }), (id && { name: "".concat(id, "-multi-select") }), { tabIndex: -1, style: { display: 'none' } }, rest, { ref: ref }), options && createNativeOptions(options)));
10640
10706
  });
10641
10707
  CMultiSelectNativeSelect.propTypes = {
10642
- options: PropTypes.array,
10643
- value: PropTypes.oneOfType([
10644
- PropTypes.number,
10645
- PropTypes.string,
10646
- PropTypes.arrayOf(PropTypes.string.isRequired),
10708
+ options: PropTypes$1.array,
10709
+ value: PropTypes$1.oneOfType([
10710
+ PropTypes$1.number,
10711
+ PropTypes$1.string,
10712
+ PropTypes$1.arrayOf(PropTypes$1.string.isRequired),
10647
10713
  ]),
10648
10714
  };
10649
10715
  CMultiSelectNativeSelect.displayName = 'CMultiSelectNativeSelect';
@@ -10716,8 +10782,8 @@ var CVirtualScroller = React$1.forwardRef(function (_a, ref) {
10716
10782
  }))));
10717
10783
  });
10718
10784
  CVirtualScroller.propTypes = {
10719
- onScroll: PropTypes.func,
10720
- visibleItems: PropTypes.number.isRequired,
10785
+ onScroll: PropTypes$1.func,
10786
+ visibleItems: PropTypes$1.number.isRequired,
10721
10787
  };
10722
10788
  CVirtualScroller.displayName = 'CVirtualScroller';
10723
10789
 
@@ -10858,16 +10924,16 @@ var CMultiSelectOptions = React$1.forwardRef(function (_a, ref) {
10858
10924
  loading && React$1.createElement(CElementCover, null)));
10859
10925
  });
10860
10926
  CMultiSelectOptions.propTypes = {
10861
- handleOptionOnClick: PropTypes.func,
10862
- loading: PropTypes.bool,
10863
- options: PropTypes.array.isRequired,
10864
- optionsMaxHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
10865
- optionsStyle: PropTypes.oneOf(['checkbox', 'text']),
10866
- optionsTemplate: PropTypes.func,
10867
- optionsGroupsTemplate: PropTypes.func,
10868
- searchNoResultsLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
10869
- virtualScroller: PropTypes.bool,
10870
- visibleItems: PropTypes.number,
10927
+ handleOptionOnClick: PropTypes$1.func,
10928
+ loading: PropTypes$1.bool,
10929
+ options: PropTypes$1.array.isRequired,
10930
+ optionsMaxHeight: PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.string]),
10931
+ optionsStyle: PropTypes$1.oneOf(['checkbox', 'text']),
10932
+ optionsTemplate: PropTypes$1.func,
10933
+ optionsGroupsTemplate: PropTypes$1.func,
10934
+ searchNoResultsLabel: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
10935
+ virtualScroller: PropTypes$1.bool,
10936
+ visibleItems: PropTypes$1.number,
10871
10937
  };
10872
10938
  CMultiSelectOptions.displayName = 'CMultiSelectOptions';
10873
10939
 
@@ -10903,13 +10969,13 @@ var CMultiSelectSelection = React$1.forwardRef(function (_a, ref) {
10903
10969
  children));
10904
10970
  });
10905
10971
  CMultiSelectSelection.propTypes = {
10906
- multiple: PropTypes.bool,
10907
- onRemove: PropTypes.func,
10908
- placeholder: PropTypes.string,
10909
- search: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['external'])]),
10910
- selected: PropTypes.array,
10911
- selectionType: PropTypes.oneOf(['counter', 'tags', 'text']),
10912
- selectionTypeCounterText: PropTypes.string,
10972
+ multiple: PropTypes$1.bool,
10973
+ onRemove: PropTypes$1.func,
10974
+ placeholder: PropTypes$1.string,
10975
+ search: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.oneOf(['external'])]),
10976
+ selected: PropTypes$1.array,
10977
+ selectionType: PropTypes$1.oneOf(['counter', 'tags', 'text']),
10978
+ selectionTypeCounterText: PropTypes$1.string,
10913
10979
  };
10914
10980
  CMultiSelectSelection.displayName = 'CMultiSelectSelection';
10915
10981
 
@@ -11098,7 +11164,7 @@ var CMultiSelect = React$1.forwardRef(function (_a, ref) {
11098
11164
  ? userOption || []
11099
11165
  : filteredOptions, optionsMaxHeight: optionsMaxHeight, optionsStyle: optionsStyle, optionsTemplate: optionsTemplate, optionsGroupsTemplate: optionsGroupsTemplate, searchNoResultsLabel: searchNoResultsLabel, selected: selected, virtualScroller: virtualScroller, visibleItems: visibleItems })))));
11100
11166
  });
11101
- CMultiSelect.propTypes = __assign$1({ className: PropTypes.string, cleaner: PropTypes.bool, clearSearchOnSelect: PropTypes.bool, disabled: PropTypes.bool, loading: PropTypes.bool, multiple: PropTypes.bool, onChange: PropTypes.func, onFilterChange: PropTypes.func, onHide: PropTypes.func, onShow: PropTypes.func, options: PropTypes.array.isRequired, optionsMaxHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), optionsStyle: PropTypes.oneOf(['checkbox', 'text']), optionsTemplate: PropTypes.func, optionsGroupsTemplate: PropTypes.func, placeholder: PropTypes.string, required: PropTypes.bool, search: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['external'])]), searchNoResultsLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), selectAll: PropTypes.bool, selectAllLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]), selectionType: PropTypes.oneOf(['counter', 'tags', 'text']), selectionTypeCounterText: PropTypes.string, size: PropTypes.oneOf(['sm', 'lg']), virtualScroller: PropTypes.bool, visible: PropTypes.bool, visibleItems: PropTypes.number }, CFormControlWrapper.propTypes);
11167
+ CMultiSelect.propTypes = __assign$1({ className: PropTypes$1.string, cleaner: PropTypes$1.bool, clearSearchOnSelect: PropTypes$1.bool, disabled: PropTypes$1.bool, loading: PropTypes$1.bool, multiple: PropTypes$1.bool, onChange: PropTypes$1.func, onFilterChange: PropTypes$1.func, onHide: PropTypes$1.func, onShow: PropTypes$1.func, options: PropTypes$1.array.isRequired, optionsMaxHeight: PropTypes$1.oneOfType([PropTypes$1.number, PropTypes$1.string]), optionsStyle: PropTypes$1.oneOf(['checkbox', 'text']), optionsTemplate: PropTypes$1.func, optionsGroupsTemplate: PropTypes$1.func, placeholder: PropTypes$1.string, required: PropTypes$1.bool, search: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.oneOf(['external'])]), searchNoResultsLabel: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]), selectAll: PropTypes$1.bool, selectAllLabel: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]), selectionType: PropTypes$1.oneOf(['counter', 'tags', 'text']), selectionTypeCounterText: PropTypes$1.string, size: PropTypes$1.oneOf(['sm', 'lg']), virtualScroller: PropTypes$1.bool, visible: PropTypes$1.bool, visibleItems: PropTypes$1.number }, CFormControlWrapper.propTypes);
11102
11168
  CMultiSelect.displayName = 'CMultiSelect';
11103
11169
 
11104
11170
  var CNav = React$1.forwardRef(function (_a, ref) {
@@ -11110,11 +11176,11 @@ var CNav = React$1.forwardRef(function (_a, ref) {
11110
11176
  _b), className), role: "navigation" }, rest, { ref: ref }), children));
11111
11177
  });
11112
11178
  CNav.propTypes = {
11113
- children: PropTypes.node,
11114
- className: PropTypes.string,
11115
- component: PropTypes.elementType,
11116
- layout: PropTypes.oneOf(['fill', 'justified']),
11117
- variant: PropTypes.oneOf(['tabs', 'pills', 'underline']),
11179
+ children: PropTypes$1.node,
11180
+ className: PropTypes$1.string,
11181
+ component: PropTypes$1.elementType,
11182
+ layout: PropTypes$1.oneOf(['fill', 'justified']),
11183
+ variant: PropTypes$1.oneOf(['tabs', 'pills', 'underline']),
11118
11184
  };
11119
11185
  CNav.displayName = 'CNav';
11120
11186
 
@@ -11123,8 +11189,8 @@ var CNavGroupItems = React$1.forwardRef(function (_a, ref) {
11123
11189
  return (React$1.createElement("ul", __assign$1({ className: classNames$1('nav-group-items', className) }, rest, { ref: ref }), children));
11124
11190
  });
11125
11191
  CNavGroupItems.propTypes = {
11126
- children: PropTypes.node,
11127
- className: PropTypes.string,
11192
+ children: PropTypes$1.node,
11193
+ className: PropTypes$1.string,
11128
11194
  };
11129
11195
  CNavGroupItems.displayName = 'CNavGroupItems';
11130
11196
 
@@ -11148,19 +11214,24 @@ var CSidebarNav = React$1.forwardRef(function (_a, ref) {
11148
11214
  }))));
11149
11215
  });
11150
11216
  CSidebarNav.propTypes = {
11151
- children: PropTypes.node,
11152
- className: PropTypes.string,
11217
+ children: PropTypes$1.node,
11218
+ className: PropTypes$1.string,
11153
11219
  };
11154
11220
  CSidebarNav.displayName = 'CSidebarNav';
11155
11221
 
11222
+ var isInVisibleGroup = function (el1, el2) {
11223
+ var array1 = el1.toString().split('.');
11224
+ var array2 = el2.toString().split('.');
11225
+ return array2.every(function (item, index) { return item === array1[index]; });
11226
+ };
11156
11227
  var CNavGroup = React$1.forwardRef(function (_a, ref) {
11157
11228
  var children = _a.children, className = _a.className, compact = _a.compact, idx = _a.idx, toggler = _a.toggler, visible = _a.visible, rest = __rest$1(_a, ["children", "className", "compact", "idx", "toggler", "visible"]);
11158
11229
  var _b = React$1.useState(), height = _b[0], setHeight = _b[1];
11159
11230
  var navItemsRef = React$1.useRef(null);
11160
11231
  var _c = React$1.useContext(CNavContext), visibleGroup = _c.visibleGroup, setVisibleGroup = _c.setVisibleGroup;
11161
- var _d = React$1.useState(Boolean(visible || (idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())))), _visible = _d[0], setVisible = _d[1];
11232
+ var _d = React$1.useState(Boolean(visible || (idx && visibleGroup && isInVisibleGroup(visibleGroup, idx)))), _visible = _d[0], setVisible = _d[1];
11162
11233
  React$1.useEffect(function () {
11163
- setVisible(Boolean(idx && visibleGroup && visibleGroup.toString().startsWith(idx.toString())));
11234
+ setVisible(Boolean(idx && visibleGroup && isInVisibleGroup(visibleGroup, idx)));
11164
11235
  }, [visibleGroup]);
11165
11236
  var handleTogglerOnCLick = function (event) {
11166
11237
  event.preventDefault();
@@ -11210,12 +11281,12 @@ var CNavGroup = React$1.forwardRef(function (_a, ref) {
11210
11281
  }))); })));
11211
11282
  });
11212
11283
  CNavGroup.propTypes = {
11213
- children: PropTypes.node,
11214
- className: PropTypes.string,
11215
- compact: PropTypes.bool,
11216
- idx: PropTypes.string,
11217
- toggler: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
11218
- visible: PropTypes.bool,
11284
+ children: PropTypes$1.node,
11285
+ className: PropTypes$1.string,
11286
+ compact: PropTypes$1.bool,
11287
+ idx: PropTypes$1.string,
11288
+ toggler: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
11289
+ visible: PropTypes$1.bool,
11219
11290
  };
11220
11291
  CNavGroup.displayName = 'CNavGroup';
11221
11292
 
@@ -11232,9 +11303,9 @@ var CNavLink = React$1.forwardRef(function (_a, ref) {
11232
11303
  return (React$1.createElement(CLink, __assign$1({ className: classNames$1('nav-link', className) }, rest, { ref: forkedRef }), children));
11233
11304
  });
11234
11305
  CNavLink.propTypes = {
11235
- children: PropTypes.node,
11236
- className: PropTypes.string,
11237
- idx: PropTypes.string,
11306
+ children: PropTypes$1.node,
11307
+ className: PropTypes$1.string,
11308
+ idx: PropTypes$1.string,
11238
11309
  };
11239
11310
  CNavLink.displayName = 'CNavLink';
11240
11311
 
@@ -11243,8 +11314,8 @@ var CNavItem = React$1.forwardRef(function (_a, ref) {
11243
11314
  return (React$1.createElement("li", { className: classNames$1('nav-item', className), ref: ref }, rest.href || rest.to ? (React$1.createElement(CNavLink, __assign$1({ className: className }, rest), children)) : (children)));
11244
11315
  });
11245
11316
  CNavItem.propTypes = {
11246
- children: PropTypes.node,
11247
- className: PropTypes.string,
11317
+ children: PropTypes$1.node,
11318
+ className: PropTypes$1.string,
11248
11319
  };
11249
11320
  CNavItem.displayName = 'CNavItem';
11250
11321
 
@@ -11253,8 +11324,8 @@ var CNavTitle = React$1.forwardRef(function (_a, ref) {
11253
11324
  return (React$1.createElement("li", __assign$1({ className: classNames$1('nav-title', className) }, rest, { ref: ref }), children));
11254
11325
  });
11255
11326
  CNavTitle.propTypes = {
11256
- children: PropTypes.node,
11257
- className: PropTypes.string,
11327
+ children: PropTypes$1.node,
11328
+ className: PropTypes$1.string,
11258
11329
  };
11259
11330
  CNavTitle.displayName = 'CNavTitle';
11260
11331
 
@@ -11268,14 +11339,14 @@ var CNavbar = React$1.forwardRef(function (_a, ref) {
11268
11339
  _b), placement, className) }, rest, { ref: ref }), container ? (React$1.createElement("div", { className: typeof container === 'string' ? "container-".concat(container) : 'container' }, children)) : (React$1.createElement(React$1.Fragment, null, children))));
11269
11340
  });
11270
11341
  CNavbar.propTypes = {
11271
- children: PropTypes.node,
11272
- className: PropTypes.string,
11342
+ children: PropTypes$1.node,
11343
+ className: PropTypes$1.string,
11273
11344
  color: colorPropType,
11274
- colorScheme: PropTypes.oneOf(['dark', 'light']),
11275
- component: PropTypes.elementType,
11276
- container: PropTypes.oneOfType([
11277
- PropTypes.bool,
11278
- PropTypes.oneOf([
11345
+ colorScheme: PropTypes$1.oneOf(['dark', 'light']),
11346
+ component: PropTypes$1.elementType,
11347
+ container: PropTypes$1.oneOfType([
11348
+ PropTypes$1.bool,
11349
+ PropTypes$1.oneOf([
11279
11350
  'sm',
11280
11351
  'md',
11281
11352
  'lg',
@@ -11284,11 +11355,11 @@ CNavbar.propTypes = {
11284
11355
  'fluid',
11285
11356
  ]),
11286
11357
  ]),
11287
- expand: PropTypes.oneOfType([
11288
- PropTypes.bool,
11289
- PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
11358
+ expand: PropTypes$1.oneOfType([
11359
+ PropTypes$1.bool,
11360
+ PropTypes$1.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
11290
11361
  ]),
11291
- placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
11362
+ placement: PropTypes$1.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
11292
11363
  };
11293
11364
  CNavbar.displayName = 'CNavbar';
11294
11365
 
@@ -11298,9 +11369,9 @@ var CNavbarBrand = React$1.forwardRef(function (_a, ref) {
11298
11369
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('navbar-brand', className) }, rest, { ref: ref }), children));
11299
11370
  });
11300
11371
  CNavbarBrand.propTypes = {
11301
- children: PropTypes.node,
11302
- className: PropTypes.string,
11303
- component: PropTypes.elementType,
11372
+ children: PropTypes$1.node,
11373
+ className: PropTypes$1.string,
11374
+ component: PropTypes$1.elementType,
11304
11375
  };
11305
11376
  CNavbarBrand.displayName = 'CNavbarBrand';
11306
11377
 
@@ -11309,9 +11380,9 @@ var CNavbarNav = React$1.forwardRef(function (_a, ref) {
11309
11380
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('navbar-nav', className), role: "navigation" }, rest, { ref: ref }), children));
11310
11381
  });
11311
11382
  CNavbarNav.propTypes = {
11312
- children: PropTypes.node,
11313
- className: PropTypes.string,
11314
- component: PropTypes.elementType,
11383
+ children: PropTypes$1.node,
11384
+ className: PropTypes$1.string,
11385
+ component: PropTypes$1.elementType,
11315
11386
  };
11316
11387
  CNavbarNav.displayName = 'CNavbarNav';
11317
11388
 
@@ -11320,8 +11391,8 @@ var CNavbarText = React$1.forwardRef(function (_a, ref) {
11320
11391
  return (React$1.createElement("span", __assign$1({ className: classNames$1('navbar-text', className) }, rest, { ref: ref }), children));
11321
11392
  });
11322
11393
  CNavbarText.propTypes = {
11323
- children: PropTypes.node,
11324
- className: PropTypes.string,
11394
+ children: PropTypes$1.node,
11395
+ className: PropTypes$1.string,
11325
11396
  };
11326
11397
  CNavbarText.displayName = 'CNavbarText';
11327
11398
 
@@ -11330,8 +11401,8 @@ var CNavbarToggler = React$1.forwardRef(function (_a, ref) {
11330
11401
  return (React$1.createElement("button", __assign$1({ type: "button", className: classNames$1('navbar-toggler', className) }, rest, { ref: ref }), children !== null && children !== void 0 ? children : React$1.createElement("span", { className: "navbar-toggler-icon" })));
11331
11402
  });
11332
11403
  CNavbarToggler.propTypes = {
11333
- children: PropTypes.node,
11334
- className: PropTypes.string,
11404
+ children: PropTypes$1.node,
11405
+ className: PropTypes$1.string,
11335
11406
  };
11336
11407
  CNavbarToggler.displayName = 'CNavbarToggler';
11337
11408
 
@@ -11383,21 +11454,21 @@ var COffcanvas = React$1.forwardRef(function (_a, ref) {
11383
11454
  React$1.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleBackdropDismiss, visible: _visible })))));
11384
11455
  });
11385
11456
  COffcanvas.propTypes = {
11386
- backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),
11387
- children: PropTypes.node,
11388
- className: PropTypes.string,
11389
- keyboard: PropTypes.bool,
11390
- onHide: PropTypes.func,
11391
- onShow: PropTypes.func,
11392
- placement: PropTypes.oneOf(['start', 'end', 'top', 'bottom'])
11457
+ backdrop: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.oneOf(['static'])]),
11458
+ children: PropTypes$1.node,
11459
+ className: PropTypes$1.string,
11460
+ keyboard: PropTypes$1.bool,
11461
+ onHide: PropTypes$1.func,
11462
+ onShow: PropTypes$1.func,
11463
+ placement: PropTypes$1.oneOf(['start', 'end', 'top', 'bottom'])
11393
11464
  .isRequired,
11394
- portal: PropTypes.bool,
11395
- responsive: PropTypes.oneOfType([
11396
- PropTypes.bool,
11397
- PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
11465
+ portal: PropTypes$1.bool,
11466
+ responsive: PropTypes$1.oneOfType([
11467
+ PropTypes$1.bool,
11468
+ PropTypes$1.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
11398
11469
  ]),
11399
- scroll: PropTypes.bool,
11400
- visible: PropTypes.bool,
11470
+ scroll: PropTypes$1.bool,
11471
+ visible: PropTypes$1.bool,
11401
11472
  };
11402
11473
  COffcanvas.displayName = 'COffcanvas';
11403
11474
 
@@ -11406,8 +11477,8 @@ var COffcanvasBody = React$1.forwardRef(function (_a, ref) {
11406
11477
  return (React$1.createElement("div", __assign$1({ className: classNames$1('offcanvas-body', className) }, rest, { ref: ref }), children));
11407
11478
  });
11408
11479
  COffcanvasBody.propTypes = {
11409
- children: PropTypes.node,
11410
- className: PropTypes.string,
11480
+ children: PropTypes$1.node,
11481
+ className: PropTypes$1.string,
11411
11482
  };
11412
11483
  COffcanvasBody.displayName = 'COffcanvasBody';
11413
11484
 
@@ -11416,8 +11487,8 @@ var COffcanvasHeader = React$1.forwardRef(function (_a, ref) {
11416
11487
  return (React$1.createElement("div", __assign$1({ className: classNames$1('offcanvas-header', className) }, rest, { ref: ref }), children));
11417
11488
  });
11418
11489
  COffcanvasHeader.propTypes = {
11419
- children: PropTypes.node,
11420
- className: PropTypes.string,
11490
+ children: PropTypes$1.node,
11491
+ className: PropTypes$1.string,
11421
11492
  };
11422
11493
  COffcanvasHeader.displayName = 'COffcanvasHeader';
11423
11494
 
@@ -11426,9 +11497,9 @@ var COffcanvasTitle = React$1.forwardRef(function (_a, ref) {
11426
11497
  return (React$1.createElement(Component, __assign$1({ className: classNames$1('offcanvas-title', className) }, rest, { ref: ref }), children));
11427
11498
  });
11428
11499
  COffcanvasTitle.propTypes = {
11429
- children: PropTypes.node,
11430
- className: PropTypes.string,
11431
- component: PropTypes.elementType,
11500
+ children: PropTypes$1.node,
11501
+ className: PropTypes$1.string,
11502
+ component: PropTypes$1.elementType,
11432
11503
  };
11433
11504
  COffcanvasTitle.displayName = 'COffcanvasTitle';
11434
11505
 
@@ -11442,10 +11513,10 @@ var CPagination = React$1.forwardRef(function (_a, ref) {
11442
11513
  _b), className) }, children)));
11443
11514
  });
11444
11515
  CPagination.propTypes = {
11445
- align: PropTypes.oneOf(['start', 'center', 'end']),
11446
- children: PropTypes.node,
11447
- className: PropTypes.string,
11448
- size: PropTypes.oneOf(['sm', 'lg']),
11516
+ align: PropTypes$1.oneOf(['start', 'center', 'end']),
11517
+ children: PropTypes$1.node,
11518
+ className: PropTypes$1.string,
11519
+ size: PropTypes$1.oneOf(['sm', 'lg']),
11449
11520
  };
11450
11521
  CPagination.displayName = 'CPagination';
11451
11522
 
@@ -11458,9 +11529,9 @@ var CPaginationItem = React$1.forwardRef(function (_a, ref) {
11458
11529
  }, className) }, (rest.active && { 'aria-current': 'page' })), Component === 'a' ? (React$1.createElement(CLink, __assign$1({ className: "page-link", component: Component }, rest, { ref: ref }), children)) : (React$1.createElement(Component, { className: "page-link", ref: ref }, children))));
11459
11530
  });
11460
11531
  CPaginationItem.propTypes = {
11461
- children: PropTypes.node,
11462
- className: PropTypes.string,
11463
- component: PropTypes.elementType,
11532
+ children: PropTypes$1.node,
11533
+ className: PropTypes$1.string,
11534
+ component: PropTypes$1.elementType,
11464
11535
  };
11465
11536
  CPaginationItem.displayName = 'CPaginationItem';
11466
11537
 
@@ -11493,12 +11564,12 @@ var CPlaceholder = React$1.forwardRef(function (_a, ref) {
11493
11564
  _b), repsonsiveClassNames, className) }, rest, { ref: ref }), children));
11494
11565
  });
11495
11566
  CPlaceholder.propTypes = {
11496
- animation: PropTypes.oneOf(['glow', 'wave']),
11497
- children: PropTypes.node,
11498
- className: PropTypes.string,
11567
+ animation: PropTypes$1.oneOf(['glow', 'wave']),
11568
+ children: PropTypes$1.node,
11569
+ className: PropTypes$1.string,
11499
11570
  color: colorPropType,
11500
- component: PropTypes.elementType,
11501
- size: PropTypes.oneOf(['xs', 'sm', 'lg']),
11571
+ component: PropTypes$1.elementType,
11572
+ size: PropTypes$1.oneOf(['xs', 'sm', 'lg']),
11502
11573
  };
11503
11574
  CPlaceholder.displayName = 'CPlaceholder';
11504
11575
 
@@ -11511,8 +11582,8 @@ var CProgressStacked = React$1.forwardRef(function (_a, ref) {
11511
11582
  } }, children)));
11512
11583
  });
11513
11584
  CProgressStacked.propTypes = {
11514
- children: PropTypes.node,
11515
- className: PropTypes.string,
11585
+ children: PropTypes$1.node,
11586
+ className: PropTypes$1.string,
11516
11587
  };
11517
11588
  CProgressStacked.displayName = 'CProgressStacked';
11518
11589
 
@@ -11527,12 +11598,12 @@ var CProgressBar = React$1.forwardRef(function (_a, ref) {
11527
11598
  _b), className) }, (!stacked && { style: { width: "".concat(value, "%") } }), rest, { ref: ref }), children));
11528
11599
  });
11529
11600
  CProgressBar.propTypes = {
11530
- animated: PropTypes.bool,
11531
- children: PropTypes.node,
11532
- className: PropTypes.string,
11533
- color: PropTypes.oneOfType([colorPropType, gradientsPropType]),
11534
- value: PropTypes.number,
11535
- variant: PropTypes.oneOf(['striped']),
11601
+ animated: PropTypes$1.bool,
11602
+ children: PropTypes$1.node,
11603
+ className: PropTypes$1.string,
11604
+ color: PropTypes$1.oneOfType([colorPropType, gradientsPropType]),
11605
+ value: PropTypes$1.number,
11606
+ variant: PropTypes$1.oneOf(['striped']),
11536
11607
  };
11537
11608
  CProgressBar.displayName = 'CProgressBar';
11538
11609
 
@@ -11558,13 +11629,13 @@ var CProgress = React$1.forwardRef(function (_a, ref) {
11558
11629
  })) : (React$1.createElement(CProgressBar, __assign$1({}, (progressBarClassName && { className: progressBarClassName }), { value: value }, rest), children))));
11559
11630
  });
11560
11631
  CProgress.propTypes = {
11561
- children: PropTypes.node,
11562
- className: PropTypes.string,
11563
- height: PropTypes.number,
11564
- progressBarClassName: PropTypes.string,
11565
- thin: PropTypes.bool,
11566
- value: PropTypes.number,
11567
- white: PropTypes.bool,
11632
+ children: PropTypes$1.node,
11633
+ className: PropTypes$1.string,
11634
+ height: PropTypes$1.number,
11635
+ progressBarClassName: PropTypes$1.string,
11636
+ thin: PropTypes$1.bool,
11637
+ value: PropTypes$1.number,
11638
+ white: PropTypes$1.bool,
11568
11639
  };
11569
11640
  CProgress.displayName = 'CProgress';
11570
11641
 
@@ -11629,7 +11700,7 @@ var CPopover = function (_a) {
11629
11700
  typeof window !== 'undefined' &&
11630
11701
  ReactDOM.createPortal(React$1.createElement(Transition$1, { in: _visible, mountOnEnter: true, nodeRef: popoverRef, onEnter: onShow, onExit: onHide, timeout: {
11631
11702
  enter: 0,
11632
- exit: 200,
11703
+ exit: popoverRef.current ? getTransitionDurationFromElement(popoverRef.current) + 50 : 200,
11633
11704
  }, unmountOnExit: true }, function (state) { return (React$1.createElement("div", __assign$1({ className: classNames$1('popover', 'bs-popover-auto', {
11634
11705
  fade: animation,
11635
11706
  show: state === 'entered',
@@ -11639,25 +11710,25 @@ var CPopover = function (_a) {
11639
11710
  React$1.createElement("div", { className: "popover-body" }, content))); }), document.body)));
11640
11711
  };
11641
11712
  CPopover.propTypes = {
11642
- animation: PropTypes.bool,
11643
- children: PropTypes.node,
11644
- className: PropTypes.string,
11645
- content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
11646
- delay: PropTypes.oneOfType([
11647
- PropTypes.number,
11648
- PropTypes.shape({
11649
- show: PropTypes.number.isRequired,
11650
- hide: PropTypes.number.isRequired,
11713
+ animation: PropTypes$1.bool,
11714
+ children: PropTypes$1.node,
11715
+ className: PropTypes$1.string,
11716
+ content: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
11717
+ delay: PropTypes$1.oneOfType([
11718
+ PropTypes$1.number,
11719
+ PropTypes$1.shape({
11720
+ show: PropTypes$1.number.isRequired,
11721
+ hide: PropTypes$1.number.isRequired,
11651
11722
  }),
11652
11723
  ]),
11653
11724
  fallbackPlacements: fallbackPlacementsPropType,
11654
- offset: PropTypes.any,
11655
- onHide: PropTypes.func,
11656
- onShow: PropTypes.func,
11657
- placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
11658
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
11725
+ offset: PropTypes$1.any,
11726
+ onHide: PropTypes$1.func,
11727
+ onShow: PropTypes$1.func,
11728
+ placement: PropTypes$1.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
11729
+ title: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
11659
11730
  trigger: triggerPropType,
11660
- visible: PropTypes.bool,
11731
+ visible: PropTypes$1.bool,
11661
11732
  };
11662
11733
  CPopover.displayName = 'CPopover';
11663
11734
 
@@ -11683,6 +11754,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
11683
11754
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
11684
11755
  PERFORMANCE OF THIS SOFTWARE.
11685
11756
  ***************************************************************************** */
11757
+ /* global Reflect, Promise, SuppressedError, Symbol */
11758
+
11686
11759
 
11687
11760
  var __assign = function() {
11688
11761
  __assign = Object.assign || function __assign(t) {
@@ -11705,6 +11778,15 @@ function __rest(s, e) {
11705
11778
  t[p[i]] = s[p[i]];
11706
11779
  }
11707
11780
  return t;
11781
+ }
11782
+
11783
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
11784
+ var e = new Error(message);
11785
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
11786
+ };
11787
+
11788
+ function getDefaultExportFromCjs (x) {
11789
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
11708
11790
  }
11709
11791
 
11710
11792
  var propTypes = {exports: {}};
@@ -11930,14 +12012,12 @@ var hasRequiredReactIs;
11930
12012
  function requireReactIs () {
11931
12013
  if (hasRequiredReactIs) return reactIs.exports;
11932
12014
  hasRequiredReactIs = 1;
11933
- (function (module) {
11934
12015
 
11935
- if (process.env.NODE_ENV === 'production') {
11936
- module.exports = requireReactIs_production_min();
11937
- } else {
11938
- module.exports = requireReactIs_development();
11939
- }
11940
- } (reactIs));
12016
+ if (process.env.NODE_ENV === 'production') {
12017
+ reactIs.exports = requireReactIs_production_min();
12018
+ } else {
12019
+ reactIs.exports = requireReactIs_development();
12020
+ }
11941
12021
  return reactIs.exports;
11942
12022
  }
11943
12023
 
@@ -12889,12 +12969,15 @@ if (process.env.NODE_ENV !== 'production') {
12889
12969
  propTypes.exports = requireFactoryWithThrowingShims()();
12890
12970
  }
12891
12971
 
12972
+ var propTypesExports = propTypes.exports;
12973
+ var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
12974
+
12892
12975
  var classnames = {exports: {}};
12893
12976
 
12894
12977
  /*!
12895
- Copyright (c) 2018 Jed Watson.
12896
- Licensed under the MIT License (MIT), see
12897
- http://jedwatson.github.io/classnames
12978
+ Copyright (c) 2018 Jed Watson.
12979
+ Licensed under the MIT License (MIT), see
12980
+ http://jedwatson.github.io/classnames
12898
12981
  */
12899
12982
 
12900
12983
  (function (module) {
@@ -12923,14 +13006,15 @@ var classnames = {exports: {}};
12923
13006
  }
12924
13007
  }
12925
13008
  } else if (argType === 'object') {
12926
- if (arg.toString === Object.prototype.toString) {
12927
- for (var key in arg) {
12928
- if (hasOwn.call(arg, key) && arg[key]) {
12929
- classes.push(key);
12930
- }
12931
- }
12932
- } else {
13009
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
12933
13010
  classes.push(arg.toString());
13011
+ continue;
13012
+ }
13013
+
13014
+ for (var key in arg) {
13015
+ if (hasOwn.call(arg, key) && arg[key]) {
13016
+ classes.push(key);
13017
+ }
12934
13018
  }
12935
13019
  }
12936
13020
  }
@@ -12944,10 +13028,11 @@ var classnames = {exports: {}};
12944
13028
  } else {
12945
13029
  window.classNames = classNames;
12946
13030
  }
12947
- }());
13031
+ }());
12948
13032
  } (classnames));
12949
13033
 
12950
- var classNames = classnames.exports;
13034
+ var classnamesExports = classnames.exports;
13035
+ var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
12951
13036
 
12952
13037
  var toCamelCase = function (str) {
12953
13038
  return str
@@ -12974,11 +13059,9 @@ var CIcon = React$1.forwardRef(function (_a, ref) {
12974
13059
  console.warn('[CIcon] The `name` property is deprecated and will be removed in v3, please use `icon="..."` instead of.');
12975
13060
  }
12976
13061
  React$1.useMemo(function () { return setChange(change + 1); }, [_icon, JSON.stringify(_icon)]);
12977
- var iconName = React$1.useMemo(function () {
12978
- return _icon && typeof _icon === 'string' && _icon.includes('-') ? toCamelCase(_icon) : _icon;
12979
- }, [change]);
12980
13062
  var titleCode = title ? "<title>".concat(title, "</title>") : '';
12981
13063
  var code = React$1.useMemo(function () {
13064
+ var iconName = _icon && typeof _icon === 'string' && _icon.includes('-') ? toCamelCase(_icon) : _icon;
12982
13065
  if (Array.isArray(_icon)) {
12983
13066
  return _icon;
12984
13067
  }
@@ -12995,24 +13078,25 @@ var CIcon = React$1.forwardRef(function (_a, ref) {
12995
13078
  var viewBox = (function () {
12996
13079
  return rest['viewBox'] || "0 0 ".concat(scale);
12997
13080
  })();
12998
- // render
12999
13081
  var _className = customClassName
13000
13082
  ? classNames(customClassName)
13001
13083
  : classNames('icon', (_b = {},
13002
13084
  _b["icon-".concat(size)] = size,
13003
13085
  _b["icon-custom-size"] = height || width,
13004
13086
  _b), className);
13005
- return use ? (React$1.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", className: _className }, (height && { height: height }), (width && { width: width }), { role: "img" }, rest, { ref: ref }),
13006
- React$1.createElement("use", { href: use }))) : (React$1.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: viewBox, className: _className }, (height && { height: height }), (width && { width: width }), { role: "img", dangerouslySetInnerHTML: { __html: titleCode + iconCode } }, rest, { ref: ref })));
13087
+ return (React$1.createElement(React$1.Fragment, null,
13088
+ use ? (React$1.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", className: _className }, (height && { height: height }), (width && { width: width }), { role: "img", "aria-hidden": "true" }, rest, { ref: ref }),
13089
+ React$1.createElement("use", { href: use }))) : (React$1.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: viewBox, className: _className }, (height && { height: height }), (width && { width: width }), { role: "img", "aria-hidden": "true", dangerouslySetInnerHTML: { __html: titleCode + iconCode } }, rest, { ref: ref }))),
13090
+ title && React$1.createElement("span", { className: "visually-hidden" }, title)));
13007
13091
  });
13008
13092
  CIcon.propTypes = {
13009
- className: propTypes.exports.string,
13010
- content: propTypes.exports.oneOfType([propTypes.exports.array, propTypes.exports.string]),
13011
- customClassName: propTypes.exports.string,
13012
- height: propTypes.exports.number,
13013
- icon: propTypes.exports.oneOfType([propTypes.exports.array, propTypes.exports.string]),
13014
- name: propTypes.exports.string,
13015
- size: propTypes.exports.oneOf([
13093
+ className: PropTypes.string,
13094
+ content: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
13095
+ customClassName: PropTypes.string,
13096
+ height: PropTypes.number,
13097
+ icon: PropTypes.oneOfType([PropTypes.array, PropTypes.string]),
13098
+ name: PropTypes.string,
13099
+ size: PropTypes.oneOf([
13016
13100
  'custom',
13017
13101
  'custom-size',
13018
13102
  'sm',
@@ -13027,9 +13111,9 @@ CIcon.propTypes = {
13027
13111
  '8xl',
13028
13112
  '9xl',
13029
13113
  ]),
13030
- title: propTypes.exports.any,
13031
- use: propTypes.exports.any,
13032
- width: propTypes.exports.number,
13114
+ title: PropTypes.any,
13115
+ use: PropTypes.any,
13116
+ width: PropTypes.number,
13033
13117
  };
13034
13118
  CIcon.displayName = 'CIcon';
13035
13119
 
@@ -13090,20 +13174,20 @@ var CSmartPagination = React$1.forwardRef(function (_a, ref) {
13090
13174
  doubleArrows && (React$1.createElement(CPaginationItem, { onClick: function () { return setPage(pages); }, "aria-label": "Go to last page", "aria-disabled": activePage === pages, disabled: activePage === pages }, lastButton))));
13091
13175
  });
13092
13176
  CSmartPagination.propTypes = {
13093
- className: PropTypes.oneOfType([PropTypes.string]),
13094
- activePage: PropTypes.number,
13095
- dots: PropTypes.bool,
13096
- arrows: PropTypes.bool,
13097
- doubleArrows: PropTypes.bool,
13098
- firstButton: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
13099
- previousButton: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
13100
- nextButton: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
13101
- lastButton: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
13102
- size: PropTypes.oneOf(['sm', 'lg']),
13103
- align: PropTypes.oneOf(['start', 'center', 'end']),
13104
- limit: PropTypes.number,
13105
- pages: PropTypes.number.isRequired,
13106
- onActivePageChange: PropTypes.func,
13177
+ className: PropTypes$1.oneOfType([PropTypes$1.string]),
13178
+ activePage: PropTypes$1.number,
13179
+ dots: PropTypes$1.bool,
13180
+ arrows: PropTypes$1.bool,
13181
+ doubleArrows: PropTypes$1.bool,
13182
+ firstButton: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
13183
+ previousButton: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
13184
+ nextButton: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
13185
+ lastButton: PropTypes$1.oneOfType([PropTypes$1.node, PropTypes$1.string]),
13186
+ size: PropTypes$1.oneOf(['sm', 'lg']),
13187
+ align: PropTypes$1.oneOf(['start', 'center', 'end']),
13188
+ limit: PropTypes$1.number,
13189
+ pages: PropTypes$1.number.isRequired,
13190
+ onActivePageChange: PropTypes$1.func,
13107
13191
  };
13108
13192
  CSmartPagination.displayName = 'CSmartPagination';
13109
13193
 
@@ -13115,8 +13199,8 @@ var CTableHead = React$1.forwardRef(function (_a, ref) {
13115
13199
  _b), className) || undefined }, rest, { ref: ref }), children));
13116
13200
  });
13117
13201
  CTableHead.propTypes = {
13118
- children: PropTypes.node,
13119
- className: PropTypes.string,
13202
+ children: PropTypes$1.node,
13203
+ className: PropTypes$1.string,
13120
13204
  color: colorPropType,
13121
13205
  };
13122
13206
  CTableHead.displayName = 'CTableHead';
@@ -13129,8 +13213,8 @@ var CTableHeaderCell = React$1.forwardRef(function (_a, ref) {
13129
13213
  _b), className) || undefined }, rest, { ref: ref }), children));
13130
13214
  });
13131
13215
  CTableHeaderCell.propTypes = {
13132
- children: PropTypes.node,
13133
- className: PropTypes.string,
13216
+ children: PropTypes$1.node,
13217
+ className: PropTypes$1.string,
13134
13218
  color: colorPropType,
13135
13219
  };
13136
13220
  CTableHeaderCell.displayName = 'CTableHeaderCell';
@@ -13143,8 +13227,8 @@ var CTableBody = React$1.forwardRef(function (_a, ref) {
13143
13227
  _b), className) || undefined }, rest, { ref: ref }), children));
13144
13228
  });
13145
13229
  CTableBody.propTypes = {
13146
- children: PropTypes.node,
13147
- className: PropTypes.string,
13230
+ children: PropTypes$1.node,
13231
+ className: PropTypes$1.string,
13148
13232
  color: colorPropType,
13149
13233
  };
13150
13234
  CTableBody.displayName = 'CTableBody';
@@ -13160,10 +13244,10 @@ var CTableDataCell = React$1.forwardRef(function (_a, ref) {
13160
13244
  _b), className) || undefined }, rest, { ref: ref }), children));
13161
13245
  });
13162
13246
  CTableDataCell.propTypes = {
13163
- active: PropTypes.bool,
13164
- align: PropTypes.oneOf(['bottom', 'middle', 'top']),
13165
- children: PropTypes.node,
13166
- className: PropTypes.string,
13247
+ active: PropTypes$1.bool,
13248
+ align: PropTypes$1.oneOf(['bottom', 'middle', 'top']),
13249
+ children: PropTypes$1.node,
13250
+ className: PropTypes$1.string,
13167
13251
  color: colorPropType,
13168
13252
  };
13169
13253
  CTableDataCell.displayName = 'CTableDataCell';
@@ -13178,10 +13262,10 @@ var CTableRow = React$1.forwardRef(function (_a, ref) {
13178
13262
  _b), className) || undefined }, rest, { ref: ref }), children));
13179
13263
  });
13180
13264
  CTableRow.propTypes = {
13181
- active: PropTypes.bool,
13182
- align: PropTypes.oneOf(['bottom', 'middle', 'top']),
13183
- children: PropTypes.node,
13184
- className: PropTypes.string,
13265
+ active: PropTypes$1.bool,
13266
+ align: PropTypes$1.oneOf(['bottom', 'middle', 'top']),
13267
+ children: PropTypes$1.node,
13268
+ className: PropTypes$1.string,
13185
13269
  color: colorPropType,
13186
13270
  };
13187
13271
  CTableRow.displayName = 'CTableRow';
@@ -13194,8 +13278,8 @@ var CTableFoot = React$1.forwardRef(function (_a, ref) {
13194
13278
  _b), className) || undefined }, rest, { ref: ref }), children));
13195
13279
  });
13196
13280
  CTableFoot.propTypes = {
13197
- children: PropTypes.node,
13198
- className: PropTypes.string,
13281
+ children: PropTypes$1.node,
13282
+ className: PropTypes$1.string,
13199
13283
  color: colorPropType,
13200
13284
  };
13201
13285
  CTableFoot.displayName = 'CTableFoot';
@@ -13205,7 +13289,7 @@ var CTableCaption = React$1.forwardRef(function (_a, ref) {
13205
13289
  return (React$1.createElement("caption", __assign$1({}, props, { ref: ref }), children));
13206
13290
  });
13207
13291
  CTableCaption.propTypes = {
13208
- children: PropTypes.node,
13292
+ children: PropTypes$1.node,
13209
13293
  };
13210
13294
  CTableCaption.displayName = 'CTableCaption';
13211
13295
 
@@ -13214,10 +13298,10 @@ var CTableResponsiveWrapper = function (_a) {
13214
13298
  return responsive ? (React$1.createElement("div", __assign$1({ className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-".concat(responsive) }, rest), children)) : (React$1.createElement(React$1.Fragment, null, children));
13215
13299
  };
13216
13300
  CTableResponsiveWrapper.propTypes = {
13217
- children: PropTypes.node,
13218
- responsive: PropTypes.oneOfType([
13219
- PropTypes.bool,
13220
- PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
13301
+ children: PropTypes$1.node,
13302
+ responsive: PropTypes$1.oneOfType([
13303
+ PropTypes$1.bool,
13304
+ PropTypes$1.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
13221
13305
  ]),
13222
13306
  };
13223
13307
  CTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper';
@@ -13273,28 +13357,28 @@ var CTable = React$1.forwardRef(function (_a, ref) {
13273
13357
  React$1.createElement(CTableRow, null, footer.map(function (item, index) { return (React$1.createElement(CTableDataCell, __assign$1({}, (typeof item === 'object' && item._props && __assign$1({}, item._props)), { key: index }), typeof item === 'object' ? item.label : item)); })))))));
13274
13358
  });
13275
13359
  CTable.propTypes = {
13276
- align: PropTypes.oneOf(['bottom', 'middle', 'top']),
13277
- borderColor: PropTypes.string,
13278
- bordered: PropTypes.bool,
13279
- borderless: PropTypes.bool,
13280
- caption: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(['top'])]),
13281
- captionTop: PropTypes.string,
13282
- children: PropTypes.node,
13283
- className: PropTypes.string,
13360
+ align: PropTypes$1.oneOf(['bottom', 'middle', 'top']),
13361
+ borderColor: PropTypes$1.string,
13362
+ bordered: PropTypes$1.bool,
13363
+ borderless: PropTypes$1.bool,
13364
+ caption: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.oneOf(['top'])]),
13365
+ captionTop: PropTypes$1.string,
13366
+ children: PropTypes$1.node,
13367
+ className: PropTypes$1.string,
13284
13368
  color: colorPropType,
13285
- columns: PropTypes.array,
13286
- footer: PropTypes.array,
13287
- hover: PropTypes.bool,
13288
- items: PropTypes.array,
13289
- responsive: PropTypes.oneOfType([
13290
- PropTypes.bool,
13291
- PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
13369
+ columns: PropTypes$1.array,
13370
+ footer: PropTypes$1.array,
13371
+ hover: PropTypes$1.bool,
13372
+ items: PropTypes$1.array,
13373
+ responsive: PropTypes$1.oneOfType([
13374
+ PropTypes$1.bool,
13375
+ PropTypes$1.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
13292
13376
  ]),
13293
- small: PropTypes.bool,
13294
- striped: PropTypes.bool,
13295
- stripedColumns: PropTypes.bool,
13296
- tableFootProps: PropTypes.shape(__assign$1({}, CTableFoot.propTypes)),
13297
- tableHeadProps: PropTypes.shape(__assign$1({}, CTableHead.propTypes)),
13377
+ small: PropTypes$1.bool,
13378
+ striped: PropTypes$1.bool,
13379
+ stripedColumns: PropTypes$1.bool,
13380
+ tableFootProps: PropTypes$1.shape(__assign$1({}, CTableFoot.propTypes)),
13381
+ tableHeadProps: PropTypes$1.shape(__assign$1({}, CTableHead.propTypes)),
13298
13382
  };
13299
13383
  CTable.displayName = 'CTable';
13300
13384
 
@@ -13553,16 +13637,16 @@ var CSmartTableBody = React$1.forwardRef(function (_a, ref) {
13553
13637
  React$1.createElement(CTableDataCell, { colSpan: colspan }, noItemsLabel)))));
13554
13638
  });
13555
13639
  CSmartTableBody.propTypes = {
13556
- clickableRows: PropTypes.bool,
13557
- currentItems: PropTypes.array.isRequired,
13558
- firstItemOnActivePageIndex: PropTypes.number.isRequired,
13559
- noItemsLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
13560
- onRowChecked: PropTypes.func,
13561
- onRowClick: PropTypes.func,
13562
- columnNames: PropTypes.array.isRequired,
13563
- scopedColumns: PropTypes.object,
13564
- selectable: PropTypes.bool,
13565
- selected: PropTypes.array,
13640
+ clickableRows: PropTypes$1.bool,
13641
+ currentItems: PropTypes$1.array.isRequired,
13642
+ firstItemOnActivePageIndex: PropTypes$1.number.isRequired,
13643
+ noItemsLabel: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
13644
+ onRowChecked: PropTypes$1.func,
13645
+ onRowClick: PropTypes$1.func,
13646
+ columnNames: PropTypes$1.array.isRequired,
13647
+ scopedColumns: PropTypes$1.object,
13648
+ selectable: PropTypes$1.bool,
13649
+ selected: PropTypes$1.array,
13566
13650
  };
13567
13651
  CSmartTableBody.displayName = 'CSmartTableBody';
13568
13652
 
@@ -13640,23 +13724,23 @@ var CSmartTableHead = React$1.forwardRef(function (_a, ref) {
13640
13724
  })))));
13641
13725
  });
13642
13726
  CSmartTableHead.propTypes = {
13643
- columnFilter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13644
- columnFilterState: PropTypes.object,
13645
- columnSorter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13646
- component: PropTypes.elementType,
13647
- children: PropTypes.node,
13648
- columns: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.any, PropTypes.string])).isRequired,
13649
- handleFilterOnChange: PropTypes.func,
13650
- handleFilterOnInput: PropTypes.func,
13651
- handleSelectAllChecked: PropTypes.func,
13652
- handleSort: PropTypes.func,
13653
- selectable: PropTypes.bool,
13654
- selectAll: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13655
- selectedAll: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
13656
- sorterState: PropTypes.object,
13657
- sortingIcon: PropTypes.node,
13658
- sortingIconAscending: PropTypes.node,
13659
- sortingIconDescending: PropTypes.node,
13727
+ columnFilter: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
13728
+ columnFilterState: PropTypes$1.object,
13729
+ columnSorter: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
13730
+ component: PropTypes$1.elementType,
13731
+ children: PropTypes$1.node,
13732
+ columns: PropTypes$1.arrayOf(PropTypes$1.oneOfType([PropTypes$1.any, PropTypes$1.string])).isRequired,
13733
+ handleFilterOnChange: PropTypes$1.func,
13734
+ handleFilterOnInput: PropTypes$1.func,
13735
+ handleSelectAllChecked: PropTypes$1.func,
13736
+ handleSort: PropTypes$1.func,
13737
+ selectable: PropTypes$1.bool,
13738
+ selectAll: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
13739
+ selectedAll: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.string]),
13740
+ sorterState: PropTypes$1.object,
13741
+ sortingIcon: PropTypes$1.node,
13742
+ sortingIconAscending: PropTypes$1.node,
13743
+ sortingIconDescending: PropTypes$1.node,
13660
13744
  };
13661
13745
  CSmartTableHead.displayName = 'CSmartTableHead';
13662
13746
 
@@ -13898,51 +13982,51 @@ var CSmartTable = React$1.forwardRef(function (_a, ref) {
13898
13982
  }))))))))));
13899
13983
  });
13900
13984
  CSmartTable.propTypes = {
13901
- activePage: PropTypes.number,
13902
- cleaner: PropTypes.bool,
13903
- clickableRows: PropTypes.bool,
13904
- columnFilter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13905
- columnFilterValue: PropTypes.object,
13906
- columns: PropTypes.array,
13907
- columnSorter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13908
- elementCover: PropTypes.node,
13909
- footer: PropTypes.oneOfType([PropTypes.bool, PropTypes.array]),
13910
- header: PropTypes.bool,
13911
- items: PropTypes.array,
13912
- itemsNumber: PropTypes.number,
13913
- itemsPerPage: PropTypes.number,
13914
- itemsPerPageLabel: PropTypes.string,
13915
- itemsPerPageOptions: PropTypes.array,
13916
- itemsPerPageSelect: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13917
- loading: PropTypes.bool,
13918
- noItemsLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
13919
- onActivePageChange: PropTypes.func,
13920
- onColumnFilterChange: PropTypes.func,
13921
- onFilteredItemsChange: PropTypes.func,
13922
- onItemsPerPageChange: PropTypes.func,
13923
- onRowClick: PropTypes.func,
13924
- onSelectAll: PropTypes.func,
13925
- onSelectedItemsChange: PropTypes.func,
13926
- onSorterChange: PropTypes.func,
13927
- onTableFilterChange: PropTypes.func,
13928
- pagination: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13929
- paginationProps: PropTypes.any,
13930
- scopedColumns: PropTypes.object,
13931
- selectable: PropTypes.bool,
13932
- selectAll: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13933
- selected: PropTypes.array,
13934
- sorterValue: PropTypes.object,
13935
- sortingIcon: PropTypes.node,
13936
- sortingIconAscending: PropTypes.node,
13937
- sortingIconDescending: PropTypes.node,
13938
- tableBodyProps: PropTypes.object,
13939
- tableFootProps: PropTypes.object,
13940
- tableFilter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
13941
- tableFilterLabel: PropTypes.string,
13942
- tableFilterPlaceholder: PropTypes.string,
13943
- tableFilterValue: PropTypes.string,
13944
- tableHeadProps: PropTypes.object,
13945
- tableProps: PropTypes.object,
13985
+ activePage: PropTypes$1.number,
13986
+ cleaner: PropTypes$1.bool,
13987
+ clickableRows: PropTypes$1.bool,
13988
+ columnFilter: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
13989
+ columnFilterValue: PropTypes$1.object,
13990
+ columns: PropTypes$1.array,
13991
+ columnSorter: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
13992
+ elementCover: PropTypes$1.node,
13993
+ footer: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.array]),
13994
+ header: PropTypes$1.bool,
13995
+ items: PropTypes$1.array,
13996
+ itemsNumber: PropTypes$1.number,
13997
+ itemsPerPage: PropTypes$1.number,
13998
+ itemsPerPageLabel: PropTypes$1.string,
13999
+ itemsPerPageOptions: PropTypes$1.array,
14000
+ itemsPerPageSelect: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
14001
+ loading: PropTypes$1.bool,
14002
+ noItemsLabel: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14003
+ onActivePageChange: PropTypes$1.func,
14004
+ onColumnFilterChange: PropTypes$1.func,
14005
+ onFilteredItemsChange: PropTypes$1.func,
14006
+ onItemsPerPageChange: PropTypes$1.func,
14007
+ onRowClick: PropTypes$1.func,
14008
+ onSelectAll: PropTypes$1.func,
14009
+ onSelectedItemsChange: PropTypes$1.func,
14010
+ onSorterChange: PropTypes$1.func,
14011
+ onTableFilterChange: PropTypes$1.func,
14012
+ pagination: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
14013
+ paginationProps: PropTypes$1.any,
14014
+ scopedColumns: PropTypes$1.object,
14015
+ selectable: PropTypes$1.bool,
14016
+ selectAll: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
14017
+ selected: PropTypes$1.array,
14018
+ sorterValue: PropTypes$1.object,
14019
+ sortingIcon: PropTypes$1.node,
14020
+ sortingIconAscending: PropTypes$1.node,
14021
+ sortingIconDescending: PropTypes$1.node,
14022
+ tableBodyProps: PropTypes$1.object,
14023
+ tableFootProps: PropTypes$1.object,
14024
+ tableFilter: PropTypes$1.oneOfType([PropTypes$1.bool, PropTypes$1.object]),
14025
+ tableFilterLabel: PropTypes$1.string,
14026
+ tableFilterPlaceholder: PropTypes$1.string,
14027
+ tableFilterValue: PropTypes$1.string,
14028
+ tableHeadProps: PropTypes$1.object,
14029
+ tableProps: PropTypes$1.object,
13946
14030
  };
13947
14031
  CSmartTable.displayName = 'CSmartTable';
13948
14032
 
@@ -14037,19 +14121,19 @@ var CSidebar = React$1.forwardRef(function (_a, ref) {
14037
14121
  ReactDOM.createPortal(React$1.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body)));
14038
14122
  });
14039
14123
  CSidebar.propTypes = {
14040
- children: PropTypes.node,
14041
- className: PropTypes.string,
14042
- colorScheme: PropTypes.oneOf(['dark', 'light']),
14043
- narrow: PropTypes.bool,
14044
- onHide: PropTypes.func,
14045
- onShow: PropTypes.func,
14046
- onVisibleChange: PropTypes.func,
14047
- overlaid: PropTypes.bool,
14048
- placement: PropTypes.oneOf(['start', 'end']),
14049
- position: PropTypes.oneOf(['fixed', 'sticky']),
14050
- size: PropTypes.oneOf(['sm', 'lg', 'xl']),
14051
- unfoldable: PropTypes.bool,
14052
- visible: PropTypes.bool,
14124
+ children: PropTypes$1.node,
14125
+ className: PropTypes$1.string,
14126
+ colorScheme: PropTypes$1.oneOf(['dark', 'light']),
14127
+ narrow: PropTypes$1.bool,
14128
+ onHide: PropTypes$1.func,
14129
+ onShow: PropTypes$1.func,
14130
+ onVisibleChange: PropTypes$1.func,
14131
+ overlaid: PropTypes$1.bool,
14132
+ placement: PropTypes$1.oneOf(['start', 'end']),
14133
+ position: PropTypes$1.oneOf(['fixed', 'sticky']),
14134
+ size: PropTypes$1.oneOf(['sm', 'lg', 'xl']),
14135
+ unfoldable: PropTypes$1.bool,
14136
+ visible: PropTypes$1.bool,
14053
14137
  };
14054
14138
  CSidebar.displayName = 'CSidebar';
14055
14139
 
@@ -14058,8 +14142,8 @@ var CSidebarBrand = React$1.forwardRef(function (_a, ref) {
14058
14142
  return (React$1.createElement("div", __assign$1({ className: classNames$1('sidebar-brand', className), ref: ref }, rest), children));
14059
14143
  });
14060
14144
  CSidebarBrand.propTypes = {
14061
- children: PropTypes.node,
14062
- className: PropTypes.string,
14145
+ children: PropTypes$1.node,
14146
+ className: PropTypes$1.string,
14063
14147
  };
14064
14148
  CSidebarBrand.displayName = 'CSidebarBrand';
14065
14149
 
@@ -14068,8 +14152,8 @@ var CSidebarFooter = React$1.forwardRef(function (_a, ref) {
14068
14152
  return (React$1.createElement("div", __assign$1({ className: classNames$1('sidebar-footer', className), ref: ref }, rest), children));
14069
14153
  });
14070
14154
  CSidebarFooter.propTypes = {
14071
- children: PropTypes.node,
14072
- className: PropTypes.string,
14155
+ children: PropTypes$1.node,
14156
+ className: PropTypes$1.string,
14073
14157
  };
14074
14158
  CSidebarFooter.displayName = 'CSidebarFooter';
14075
14159
 
@@ -14078,8 +14162,8 @@ var CSidebarToggler = React$1.forwardRef(function (_a, ref) {
14078
14162
  return (React$1.createElement("button", __assign$1({ className: classNames$1('sidebar-toggler', className), ref: ref }, rest), children));
14079
14163
  });
14080
14164
  CSidebarToggler.propTypes = {
14081
- children: PropTypes.node,
14082
- className: PropTypes.string,
14165
+ children: PropTypes$1.node,
14166
+ className: PropTypes$1.string,
14083
14167
  };
14084
14168
  CSidebarToggler.displayName = 'CSidebarToggler';
14085
14169
 
@@ -14088,8 +14172,8 @@ var CSidebarHeader = React$1.forwardRef(function (_a, ref) {
14088
14172
  return (React$1.createElement("div", __assign$1({ className: classNames$1('sidebar-header', className), ref: ref }, rest), children));
14089
14173
  });
14090
14174
  CSidebarHeader.propTypes = {
14091
- children: PropTypes.node,
14092
- className: PropTypes.string,
14175
+ children: PropTypes$1.node,
14176
+ className: PropTypes$1.string,
14093
14177
  };
14094
14178
  CSidebarHeader.displayName = 'CSidebarHeader';
14095
14179
 
@@ -14098,8 +14182,8 @@ var CTabContent = React$1.forwardRef(function (_a, ref) {
14098
14182
  return (React$1.createElement("div", __assign$1({ className: classNames$1('tab-content', className) }, rest, { ref: ref }), children));
14099
14183
  });
14100
14184
  CTabContent.propTypes = {
14101
- children: PropTypes.node,
14102
- className: PropTypes.string,
14185
+ children: PropTypes$1.node,
14186
+ className: PropTypes$1.string,
14103
14187
  };
14104
14188
  CTabContent.displayName = 'CTabContent';
14105
14189
 
@@ -14113,11 +14197,11 @@ var CTabPane = React$1.forwardRef(function (_a, ref) {
14113
14197
  }, className) }, rest, { ref: forkedRef }), children)); }));
14114
14198
  });
14115
14199
  CTabPane.propTypes = {
14116
- children: PropTypes.node,
14117
- className: PropTypes.string,
14118
- onHide: PropTypes.func,
14119
- onShow: PropTypes.func,
14120
- visible: PropTypes.bool,
14200
+ children: PropTypes$1.node,
14201
+ className: PropTypes$1.string,
14202
+ onHide: PropTypes$1.func,
14203
+ onShow: PropTypes$1.func,
14204
+ visible: PropTypes$1.bool,
14121
14205
  };
14122
14206
  CTabPane.displayName = 'CTabPane';
14123
14207
 
@@ -14162,17 +14246,17 @@ var CToast = React$1.forwardRef(function (_a, ref) {
14162
14246
  }));
14163
14247
  });
14164
14248
  CToast.propTypes = {
14165
- animation: PropTypes.bool,
14166
- autohide: PropTypes.bool,
14167
- children: PropTypes.node,
14168
- className: PropTypes.string,
14249
+ animation: PropTypes$1.bool,
14250
+ autohide: PropTypes$1.bool,
14251
+ children: PropTypes$1.node,
14252
+ className: PropTypes$1.string,
14169
14253
  color: colorPropType,
14170
- delay: PropTypes.number,
14171
- index: PropTypes.number,
14172
- key: PropTypes.number,
14173
- onClose: PropTypes.func,
14174
- onShow: PropTypes.func,
14175
- visible: PropTypes.bool,
14254
+ delay: PropTypes$1.number,
14255
+ index: PropTypes$1.number,
14256
+ key: PropTypes$1.number,
14257
+ onClose: PropTypes$1.func,
14258
+ onShow: PropTypes$1.func,
14259
+ visible: PropTypes$1.bool,
14176
14260
  };
14177
14261
  CToast.displayName = 'CToast';
14178
14262
 
@@ -14181,8 +14265,8 @@ var CToastBody = React$1.forwardRef(function (_a, ref) {
14181
14265
  return (React$1.createElement("div", __assign$1({ className: classNames$1('toast-body', className) }, rest, { ref: ref }), children));
14182
14266
  });
14183
14267
  CToastBody.propTypes = {
14184
- children: PropTypes.node,
14185
- className: PropTypes.string,
14268
+ children: PropTypes$1.node,
14269
+ className: PropTypes$1.string,
14186
14270
  };
14187
14271
  CToastBody.displayName = 'CToastBody';
14188
14272
 
@@ -14191,7 +14275,7 @@ var CToastClose = React$1.forwardRef(function (_a, ref) {
14191
14275
  var setVisible = React$1.useContext(CToastContext).setVisible;
14192
14276
  return Component ? (React$1.createElement(Component, __assign$1({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }), children)) : (React$1.createElement(CCloseButton, __assign$1({ onClick: function () { return setVisible(false); } }, rest, { ref: ref })));
14193
14277
  });
14194
- CToastClose.propTypes = __assign$1(__assign$1({}, CCloseButton.propTypes), { component: PropTypes.elementType });
14278
+ CToastClose.propTypes = __assign$1(__assign$1({}, CCloseButton.propTypes), { component: PropTypes$1.elementType });
14195
14279
  CToastClose.displayName = 'CToastClose';
14196
14280
 
14197
14281
  var CToastHeader = React$1.forwardRef(function (_a, ref) {
@@ -14201,9 +14285,9 @@ var CToastHeader = React$1.forwardRef(function (_a, ref) {
14201
14285
  closeButton && React$1.createElement(CToastClose, null)));
14202
14286
  });
14203
14287
  CToastHeader.propTypes = {
14204
- children: PropTypes.node,
14205
- className: PropTypes.string,
14206
- closeButton: PropTypes.bool,
14288
+ children: PropTypes$1.node,
14289
+ className: PropTypes$1.string,
14290
+ closeButton: PropTypes$1.bool,
14207
14291
  };
14208
14292
  CToastHeader.displayName = 'CToastHeader';
14209
14293
 
@@ -14239,11 +14323,11 @@ var CToaster = React$1.forwardRef(function (_a, ref) {
14239
14323
  toasts.map(function (toast) { return React$1.cloneElement(toast, { visible: true }); }))) : null));
14240
14324
  });
14241
14325
  CToaster.propTypes = {
14242
- children: PropTypes.node,
14243
- className: PropTypes.string,
14244
- placement: PropTypes.oneOfType([
14245
- PropTypes.string,
14246
- PropTypes.oneOf([
14326
+ children: PropTypes$1.node,
14327
+ className: PropTypes$1.string,
14328
+ placement: PropTypes$1.oneOfType([
14329
+ PropTypes$1.string,
14330
+ PropTypes$1.oneOf([
14247
14331
  'top-start',
14248
14332
  'top-center',
14249
14333
  'top-end',
@@ -14255,7 +14339,7 @@ CToaster.propTypes = {
14255
14339
  'bottom-end',
14256
14340
  ]),
14257
14341
  ]),
14258
- push: PropTypes.any,
14342
+ push: PropTypes$1.any,
14259
14343
  };
14260
14344
  CToaster.displayName = 'CToaster';
14261
14345
 
@@ -14320,7 +14404,7 @@ var CTooltip = function (_a) {
14320
14404
  typeof window !== 'undefined' &&
14321
14405
  ReactDOM.createPortal(React$1.createElement(Transition$1, { in: _visible, mountOnEnter: true, onEnter: onShow, onExit: onHide, timeout: {
14322
14406
  enter: 0,
14323
- exit: 200,
14407
+ exit: tooltipRef.current ? getTransitionDurationFromElement(tooltipRef.current) + 50 : 200,
14324
14408
  }, unmountOnExit: true }, function (state) { return (React$1.createElement("div", __assign$1({ className: classNames$1('tooltip', 'bs-tooltip-auto', {
14325
14409
  fade: animation,
14326
14410
  show: state === 'entered',
@@ -14329,23 +14413,23 @@ var CTooltip = function (_a) {
14329
14413
  React$1.createElement("div", { className: "tooltip-inner" }, content))); }), document.body)));
14330
14414
  };
14331
14415
  CTooltip.propTypes = {
14332
- animation: PropTypes.bool,
14333
- children: PropTypes.node,
14334
- content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14335
- delay: PropTypes.oneOfType([
14336
- PropTypes.number,
14337
- PropTypes.shape({
14338
- show: PropTypes.number.isRequired,
14339
- hide: PropTypes.number.isRequired,
14416
+ animation: PropTypes$1.bool,
14417
+ children: PropTypes$1.node,
14418
+ content: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14419
+ delay: PropTypes$1.oneOfType([
14420
+ PropTypes$1.number,
14421
+ PropTypes$1.shape({
14422
+ show: PropTypes$1.number.isRequired,
14423
+ hide: PropTypes$1.number.isRequired,
14340
14424
  }),
14341
14425
  ]),
14342
14426
  fallbackPlacements: fallbackPlacementsPropType,
14343
- offset: PropTypes.any,
14344
- onHide: PropTypes.func,
14345
- onShow: PropTypes.func,
14346
- placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
14427
+ offset: PropTypes$1.any,
14428
+ onHide: PropTypes$1.func,
14429
+ onShow: PropTypes$1.func,
14430
+ placement: PropTypes$1.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
14347
14431
  trigger: triggerPropType,
14348
- visible: PropTypes.bool,
14432
+ visible: PropTypes$1.bool,
14349
14433
  };
14350
14434
  CTooltip.displayName = 'CTooltip';
14351
14435
 
@@ -14361,12 +14445,12 @@ var CWidgetStatsA = React$1.forwardRef(function (_a, ref) {
14361
14445
  chart));
14362
14446
  });
14363
14447
  CWidgetStatsA.propTypes = {
14364
- action: PropTypes.node,
14365
- chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14366
- className: PropTypes.string,
14448
+ action: PropTypes$1.node,
14449
+ chart: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14450
+ className: PropTypes$1.string,
14367
14451
  color: colorPropType,
14368
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14369
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
14452
+ title: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14453
+ value: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node, PropTypes$1.number]),
14370
14454
  };
14371
14455
  CWidgetStatsA.displayName = 'CWidgetStatsA';
14372
14456
 
@@ -14380,13 +14464,13 @@ var CWidgetStatsB = React$1.forwardRef(function (_a, ref) {
14380
14464
  text && (React$1.createElement("small", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text)))));
14381
14465
  });
14382
14466
  CWidgetStatsB.propTypes = {
14383
- className: PropTypes.string,
14467
+ className: PropTypes$1.string,
14384
14468
  color: colorPropType,
14385
- inverse: PropTypes.bool,
14386
- progress: PropTypes.object,
14387
- text: PropTypes.string,
14388
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14389
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
14469
+ inverse: PropTypes$1.bool,
14470
+ progress: PropTypes$1.object,
14471
+ text: PropTypes$1.string,
14472
+ title: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14473
+ value: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node, PropTypes$1.number]),
14390
14474
  };
14391
14475
  CWidgetStatsB.displayName = 'CWidgetCWidgetStatsB';
14392
14476
 
@@ -14400,13 +14484,13 @@ var CWidgetStatsC = React$1.forwardRef(function (_a, ref) {
14400
14484
  React$1.createElement(CProgress, __assign$1({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
14401
14485
  });
14402
14486
  CWidgetStatsC.propTypes = {
14403
- className: PropTypes.string,
14487
+ className: PropTypes$1.string,
14404
14488
  color: colorPropType,
14405
- icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14406
- inverse: PropTypes.bool,
14407
- progress: PropTypes.object,
14408
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14409
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
14489
+ icon: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14490
+ inverse: PropTypes$1.bool,
14491
+ progress: PropTypes$1.object,
14492
+ title: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14493
+ value: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node, PropTypes$1.number]),
14410
14494
  };
14411
14495
  CWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC';
14412
14496
 
@@ -14429,11 +14513,11 @@ var CWidgetStatsD = React$1.forwardRef(function (_a, ref) {
14429
14513
  }))));
14430
14514
  });
14431
14515
  CWidgetStatsD.propTypes = {
14432
- chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14433
- className: PropTypes.string,
14516
+ chart: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14517
+ className: PropTypes$1.string,
14434
14518
  color: colorPropType,
14435
- icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14436
- values: PropTypes.arrayOf(PropTypes.any),
14519
+ icon: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14520
+ values: PropTypes$1.arrayOf(PropTypes$1.any),
14437
14521
  };
14438
14522
  CWidgetStatsD.displayName = 'CWidgetStatsD';
14439
14523
 
@@ -14446,11 +14530,11 @@ var CWidgetStatsE = React$1.forwardRef(function (_a, ref) {
14446
14530
  chart)));
14447
14531
  });
14448
14532
  CWidgetStatsE.propTypes = {
14449
- children: PropTypes.node,
14450
- chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14451
- className: PropTypes.string,
14452
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14453
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
14533
+ children: PropTypes$1.node,
14534
+ chart: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14535
+ className: PropTypes$1.string,
14536
+ title: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14537
+ value: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node, PropTypes$1.number]),
14454
14538
  };
14455
14539
  CWidgetStatsE.displayName = 'CWidgetStatsE';
14456
14540
 
@@ -14465,13 +14549,13 @@ var CWidgetStatsF = React$1.forwardRef(function (_a, ref) {
14465
14549
  footer && React$1.createElement(CCardFooter, null, footer)));
14466
14550
  });
14467
14551
  CWidgetStatsF.propTypes = {
14468
- className: PropTypes.string,
14552
+ className: PropTypes$1.string,
14469
14553
  color: colorPropType,
14470
- footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14471
- icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14472
- padding: PropTypes.bool,
14473
- title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
14474
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
14554
+ footer: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14555
+ icon: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14556
+ padding: PropTypes$1.bool,
14557
+ title: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node]),
14558
+ value: PropTypes$1.oneOfType([PropTypes$1.string, PropTypes$1.node, PropTypes$1.number]),
14475
14559
  };
14476
14560
  CWidgetStatsF.displayName = 'CWidgetStatsF';
14477
14561