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