@coreui/react 4.8.0 → 4.9.0-alpha.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/popover/CPopover.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +1 -1
- package/dist/index.es.js +619 -619
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +619 -619
- package/dist/index.js.map +1 -1
- package/package.json +11 -10
- package/src/components/form/CFormCheck.tsx +1 -1
- package/src/components/popover/CPopover.tsx +1 -1
- package/src/components/tooltip/CTooltip.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -37,6 +37,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
37
37
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
38
38
|
PERFORMANCE OF THIS SOFTWARE.
|
|
39
39
|
***************************************************************************** */
|
|
40
|
+
/* global Reflect, Promise */
|
|
41
|
+
|
|
40
42
|
|
|
41
43
|
var __assign = function() {
|
|
42
44
|
__assign = Object.assign || function __assign(t) {
|
|
@@ -71,17 +73,13 @@ function __spreadArray(to, from, pack) {
|
|
|
71
73
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
72
74
|
}
|
|
73
75
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
set exports(v){ propTypesExports = v; },
|
|
78
|
-
};
|
|
76
|
+
function getDefaultExportFromCjs (x) {
|
|
77
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
78
|
+
}
|
|
79
79
|
|
|
80
|
-
var
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
set exports(v){ reactIsExports = v; },
|
|
84
|
-
};
|
|
80
|
+
var propTypes = {exports: {}};
|
|
81
|
+
|
|
82
|
+
var reactIs = {exports: {}};
|
|
85
83
|
|
|
86
84
|
var reactIs_production_min = {};
|
|
87
85
|
|
|
@@ -300,17 +298,15 @@ function requireReactIs_development () {
|
|
|
300
298
|
var hasRequiredReactIs;
|
|
301
299
|
|
|
302
300
|
function requireReactIs () {
|
|
303
|
-
if (hasRequiredReactIs) return
|
|
301
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
304
302
|
hasRequiredReactIs = 1;
|
|
305
|
-
(function (module) {
|
|
306
303
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
return reactIsExports;
|
|
304
|
+
if (process.env.NODE_ENV === 'production') {
|
|
305
|
+
reactIs.exports = requireReactIs_production_min();
|
|
306
|
+
} else {
|
|
307
|
+
reactIs.exports = requireReactIs_development();
|
|
308
|
+
}
|
|
309
|
+
return reactIs.exports;
|
|
314
310
|
}
|
|
315
311
|
|
|
316
312
|
/*
|
|
@@ -1261,11 +1257,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1261
1257
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1262
1258
|
}
|
|
1263
1259
|
|
|
1264
|
-
var
|
|
1265
|
-
var
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
};
|
|
1260
|
+
var propTypesExports = propTypes.exports;
|
|
1261
|
+
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1262
|
+
|
|
1263
|
+
var classnames = {exports: {}};
|
|
1269
1264
|
|
|
1270
1265
|
/*!
|
|
1271
1266
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -1321,10 +1316,11 @@ var classnames = {
|
|
|
1321
1316
|
} else {
|
|
1322
1317
|
window.classNames = classNames;
|
|
1323
1318
|
}
|
|
1324
|
-
}());
|
|
1319
|
+
}());
|
|
1325
1320
|
} (classnames));
|
|
1326
1321
|
|
|
1327
|
-
var
|
|
1322
|
+
var classnamesExports = classnames.exports;
|
|
1323
|
+
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
1328
1324
|
|
|
1329
1325
|
var CAccordionContext = React.createContext({});
|
|
1330
1326
|
var CAccordion = React.forwardRef(function (_a, ref) {
|
|
@@ -1334,11 +1330,11 @@ var CAccordion = React.forwardRef(function (_a, ref) {
|
|
|
1334
1330
|
React.createElement(CAccordionContext.Provider, { value: { _activeItemKey: _activeItemKey, alwaysOpen: alwaysOpen, setActiveKey: setActiveKey } }, children)));
|
|
1335
1331
|
});
|
|
1336
1332
|
CAccordion.propTypes = {
|
|
1337
|
-
alwaysOpen:
|
|
1338
|
-
activeItemKey:
|
|
1339
|
-
children:
|
|
1340
|
-
className:
|
|
1341
|
-
flush:
|
|
1333
|
+
alwaysOpen: PropTypes.bool,
|
|
1334
|
+
activeItemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
1335
|
+
children: PropTypes.node,
|
|
1336
|
+
className: PropTypes.string,
|
|
1337
|
+
flush: PropTypes.bool,
|
|
1342
1338
|
};
|
|
1343
1339
|
CAccordion.displayName = 'CAccordion';
|
|
1344
1340
|
|
|
@@ -1358,9 +1354,9 @@ var CAccordionItem = React.forwardRef(function (_a, ref) {
|
|
|
1358
1354
|
React.createElement(CAccordionItemContext.Provider, { value: { setVisible: setVisible, visible: visible } }, children)));
|
|
1359
1355
|
});
|
|
1360
1356
|
CAccordionItem.propTypes = {
|
|
1361
|
-
children:
|
|
1362
|
-
className:
|
|
1363
|
-
itemKey:
|
|
1357
|
+
children: PropTypes.node,
|
|
1358
|
+
className: PropTypes.string,
|
|
1359
|
+
itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
1364
1360
|
};
|
|
1365
1361
|
CAccordionItem.displayName = 'CAccordionItem';
|
|
1366
1362
|
|
|
@@ -1453,22 +1449,22 @@ var config = {
|
|
|
1453
1449
|
disabled: false
|
|
1454
1450
|
};
|
|
1455
1451
|
|
|
1456
|
-
var timeoutsShape = process.env.NODE_ENV !== 'production' ?
|
|
1457
|
-
enter:
|
|
1458
|
-
exit:
|
|
1459
|
-
appear:
|
|
1452
|
+
var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
1453
|
+
enter: PropTypes.number,
|
|
1454
|
+
exit: PropTypes.number,
|
|
1455
|
+
appear: PropTypes.number
|
|
1460
1456
|
}).isRequired]) : null;
|
|
1461
|
-
var classNamesShape = process.env.NODE_ENV !== 'production' ?
|
|
1462
|
-
enter:
|
|
1463
|
-
exit:
|
|
1464
|
-
active:
|
|
1465
|
-
}),
|
|
1466
|
-
enter:
|
|
1467
|
-
enterDone:
|
|
1468
|
-
enterActive:
|
|
1469
|
-
exit:
|
|
1470
|
-
exitDone:
|
|
1471
|
-
exitActive:
|
|
1457
|
+
var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
1458
|
+
enter: PropTypes.string,
|
|
1459
|
+
exit: PropTypes.string,
|
|
1460
|
+
active: PropTypes.string
|
|
1461
|
+
}), PropTypes.shape({
|
|
1462
|
+
enter: PropTypes.string,
|
|
1463
|
+
enterDone: PropTypes.string,
|
|
1464
|
+
enterActive: PropTypes.string,
|
|
1465
|
+
exit: PropTypes.string,
|
|
1466
|
+
exitDone: PropTypes.string,
|
|
1467
|
+
exitActive: PropTypes.string
|
|
1472
1468
|
})]) : null;
|
|
1473
1469
|
|
|
1474
1470
|
var TransitionGroupContext = React.createContext(null);
|
|
@@ -1895,10 +1891,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1895
1891
|
* (see
|
|
1896
1892
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
1897
1893
|
*/
|
|
1898
|
-
nodeRef:
|
|
1899
|
-
current: typeof Element === 'undefined' ?
|
|
1894
|
+
nodeRef: PropTypes.shape({
|
|
1895
|
+
current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
|
|
1900
1896
|
var value = propValue[key];
|
|
1901
|
-
return
|
|
1897
|
+
return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
1902
1898
|
}
|
|
1903
1899
|
}),
|
|
1904
1900
|
|
|
@@ -1916,12 +1912,12 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1916
1912
|
* </Transition>
|
|
1917
1913
|
* ```
|
|
1918
1914
|
*/
|
|
1919
|
-
children:
|
|
1915
|
+
children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
|
|
1920
1916
|
|
|
1921
1917
|
/**
|
|
1922
1918
|
* Show the component; triggers the enter or exit states
|
|
1923
1919
|
*/
|
|
1924
|
-
in:
|
|
1920
|
+
in: PropTypes.bool,
|
|
1925
1921
|
|
|
1926
1922
|
/**
|
|
1927
1923
|
* By default the child component is mounted immediately along with
|
|
@@ -1929,13 +1925,13 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1929
1925
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
1930
1926
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
1931
1927
|
*/
|
|
1932
|
-
mountOnEnter:
|
|
1928
|
+
mountOnEnter: PropTypes.bool,
|
|
1933
1929
|
|
|
1934
1930
|
/**
|
|
1935
1931
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
1936
1932
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
1937
1933
|
*/
|
|
1938
|
-
unmountOnExit:
|
|
1934
|
+
unmountOnExit: PropTypes.bool,
|
|
1939
1935
|
|
|
1940
1936
|
/**
|
|
1941
1937
|
* By default the child component does not perform the enter transition when
|
|
@@ -1948,17 +1944,17 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1948
1944
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
1949
1945
|
* > differently.
|
|
1950
1946
|
*/
|
|
1951
|
-
appear:
|
|
1947
|
+
appear: PropTypes.bool,
|
|
1952
1948
|
|
|
1953
1949
|
/**
|
|
1954
1950
|
* Enable or disable enter transitions.
|
|
1955
1951
|
*/
|
|
1956
|
-
enter:
|
|
1952
|
+
enter: PropTypes.bool,
|
|
1957
1953
|
|
|
1958
1954
|
/**
|
|
1959
1955
|
* Enable or disable exit transitions.
|
|
1960
1956
|
*/
|
|
1961
|
-
exit:
|
|
1957
|
+
exit: PropTypes.bool,
|
|
1962
1958
|
|
|
1963
1959
|
/**
|
|
1964
1960
|
* The duration of the transition, in milliseconds.
|
|
@@ -2011,7 +2007,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2011
2007
|
* }}
|
|
2012
2008
|
* ```
|
|
2013
2009
|
*/
|
|
2014
|
-
addEndListener:
|
|
2010
|
+
addEndListener: PropTypes.func,
|
|
2015
2011
|
|
|
2016
2012
|
/**
|
|
2017
2013
|
* Callback fired before the "entering" status is applied. An extra parameter
|
|
@@ -2021,7 +2017,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2021
2017
|
*
|
|
2022
2018
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2023
2019
|
*/
|
|
2024
|
-
onEnter:
|
|
2020
|
+
onEnter: PropTypes.func,
|
|
2025
2021
|
|
|
2026
2022
|
/**
|
|
2027
2023
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
@@ -2031,7 +2027,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2031
2027
|
*
|
|
2032
2028
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2033
2029
|
*/
|
|
2034
|
-
onEntering:
|
|
2030
|
+
onEntering: PropTypes.func,
|
|
2035
2031
|
|
|
2036
2032
|
/**
|
|
2037
2033
|
* Callback fired after the "entered" status is applied. An extra parameter
|
|
@@ -2041,7 +2037,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2041
2037
|
*
|
|
2042
2038
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2043
2039
|
*/
|
|
2044
|
-
onEntered:
|
|
2040
|
+
onEntered: PropTypes.func,
|
|
2045
2041
|
|
|
2046
2042
|
/**
|
|
2047
2043
|
* Callback fired before the "exiting" status is applied.
|
|
@@ -2050,7 +2046,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2050
2046
|
*
|
|
2051
2047
|
* @type Function(node: HtmlElement) -> void
|
|
2052
2048
|
*/
|
|
2053
|
-
onExit:
|
|
2049
|
+
onExit: PropTypes.func,
|
|
2054
2050
|
|
|
2055
2051
|
/**
|
|
2056
2052
|
* Callback fired after the "exiting" status is applied.
|
|
@@ -2059,7 +2055,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2059
2055
|
*
|
|
2060
2056
|
* @type Function(node: HtmlElement) -> void
|
|
2061
2057
|
*/
|
|
2062
|
-
onExiting:
|
|
2058
|
+
onExiting: PropTypes.func,
|
|
2063
2059
|
|
|
2064
2060
|
/**
|
|
2065
2061
|
* Callback fired after the "exited" status is applied.
|
|
@@ -2068,7 +2064,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2068
2064
|
*
|
|
2069
2065
|
* @type Function(node: HtmlElement) -> void
|
|
2070
2066
|
*/
|
|
2071
|
-
onExited:
|
|
2067
|
+
onExited: PropTypes.func
|
|
2072
2068
|
} : {}; // Name the function so it is clearer in the documentation
|
|
2073
2069
|
|
|
2074
2070
|
function noop() {}
|
|
@@ -2443,7 +2439,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2443
2439
|
*
|
|
2444
2440
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2445
2441
|
*/
|
|
2446
|
-
onEnter:
|
|
2442
|
+
onEnter: PropTypes.func,
|
|
2447
2443
|
|
|
2448
2444
|
/**
|
|
2449
2445
|
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
@@ -2453,7 +2449,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2453
2449
|
*
|
|
2454
2450
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2455
2451
|
*/
|
|
2456
|
-
onEntering:
|
|
2452
|
+
onEntering: PropTypes.func,
|
|
2457
2453
|
|
|
2458
2454
|
/**
|
|
2459
2455
|
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
@@ -2463,7 +2459,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2463
2459
|
*
|
|
2464
2460
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2465
2461
|
*/
|
|
2466
|
-
onEntered:
|
|
2462
|
+
onEntered: PropTypes.func,
|
|
2467
2463
|
|
|
2468
2464
|
/**
|
|
2469
2465
|
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
@@ -2473,7 +2469,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2473
2469
|
*
|
|
2474
2470
|
* @type Function(node: HtmlElement)
|
|
2475
2471
|
*/
|
|
2476
|
-
onExit:
|
|
2472
|
+
onExit: PropTypes.func,
|
|
2477
2473
|
|
|
2478
2474
|
/**
|
|
2479
2475
|
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
@@ -2482,7 +2478,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2482
2478
|
*
|
|
2483
2479
|
* @type Function(node: HtmlElement)
|
|
2484
2480
|
*/
|
|
2485
|
-
onExiting:
|
|
2481
|
+
onExiting: PropTypes.func,
|
|
2486
2482
|
|
|
2487
2483
|
/**
|
|
2488
2484
|
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
@@ -2492,11 +2488,12 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2492
2488
|
*
|
|
2493
2489
|
* @type Function(node: HtmlElement)
|
|
2494
2490
|
*/
|
|
2495
|
-
onExited:
|
|
2491
|
+
onExited: PropTypes.func
|
|
2496
2492
|
}) : {};
|
|
2497
2493
|
var CSSTransition$1 = CSSTransition;
|
|
2498
2494
|
|
|
2499
2495
|
// code borrowed from https://github.com/reach/reach-ui
|
|
2496
|
+
// problem described https://github.com/facebook/react/issues/13029
|
|
2500
2497
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2501
2498
|
function useForkedRef() {
|
|
2502
2499
|
var refs = [];
|
|
@@ -2593,12 +2590,12 @@ var CCollapse = React.forwardRef(function (_a, ref) {
|
|
|
2593
2590
|
}));
|
|
2594
2591
|
});
|
|
2595
2592
|
CCollapse.propTypes = {
|
|
2596
|
-
children:
|
|
2597
|
-
className:
|
|
2598
|
-
horizontal:
|
|
2599
|
-
onHide:
|
|
2600
|
-
onShow:
|
|
2601
|
-
visible:
|
|
2593
|
+
children: PropTypes.node,
|
|
2594
|
+
className: PropTypes.string,
|
|
2595
|
+
horizontal: PropTypes.bool,
|
|
2596
|
+
onHide: PropTypes.func,
|
|
2597
|
+
onShow: PropTypes.func,
|
|
2598
|
+
visible: PropTypes.bool,
|
|
2602
2599
|
};
|
|
2603
2600
|
CCollapse.displayName = 'CCollapse';
|
|
2604
2601
|
|
|
@@ -2609,8 +2606,8 @@ var CAccordionBody = React.forwardRef(function (_a, ref) {
|
|
|
2609
2606
|
React.createElement("div", __assign({ className: classNames('accordion-body', className) }, rest, { ref: ref }), children)));
|
|
2610
2607
|
});
|
|
2611
2608
|
CAccordionBody.propTypes = {
|
|
2612
|
-
children:
|
|
2613
|
-
className:
|
|
2609
|
+
children: PropTypes.node,
|
|
2610
|
+
className: PropTypes.string,
|
|
2614
2611
|
};
|
|
2615
2612
|
CAccordionBody.displayName = 'CAccordionBody';
|
|
2616
2613
|
|
|
@@ -2620,8 +2617,8 @@ var CAccordionButton = React.forwardRef(function (_a, ref) {
|
|
|
2620
2617
|
return (React.createElement("button", __assign({ type: "button", className: classNames('accordion-button', { collapsed: !visible }, className), "aria-expanded": !visible, onClick: function () { return setVisible(!visible); } }, rest, { ref: ref }), children));
|
|
2621
2618
|
});
|
|
2622
2619
|
CAccordionButton.propTypes = {
|
|
2623
|
-
children:
|
|
2624
|
-
className:
|
|
2620
|
+
children: PropTypes.node,
|
|
2621
|
+
className: PropTypes.string,
|
|
2625
2622
|
};
|
|
2626
2623
|
CAccordionButton.displayName = 'CAccordionButton';
|
|
2627
2624
|
|
|
@@ -2631,8 +2628,8 @@ var CAccordionHeader = React.forwardRef(function (_a, ref) {
|
|
|
2631
2628
|
React.createElement(CAccordionButton, null, children)));
|
|
2632
2629
|
});
|
|
2633
2630
|
CAccordionHeader.propTypes = {
|
|
2634
|
-
children:
|
|
2635
|
-
className:
|
|
2631
|
+
children: PropTypes.node,
|
|
2632
|
+
className: PropTypes.string,
|
|
2636
2633
|
};
|
|
2637
2634
|
CAccordionHeader.displayName = 'CAccordionHeader';
|
|
2638
2635
|
|
|
@@ -2643,14 +2640,14 @@ var CCloseButton = React.forwardRef(function (_a, ref) {
|
|
|
2643
2640
|
}, disabled, className), "aria-label": "Close", disabled: disabled }, rest, { ref: ref })));
|
|
2644
2641
|
});
|
|
2645
2642
|
CCloseButton.propTypes = {
|
|
2646
|
-
className:
|
|
2647
|
-
disabled:
|
|
2648
|
-
white:
|
|
2643
|
+
className: PropTypes.string,
|
|
2644
|
+
disabled: PropTypes.bool,
|
|
2645
|
+
white: PropTypes.bool,
|
|
2649
2646
|
};
|
|
2650
2647
|
CCloseButton.displayName = 'CCloseButton';
|
|
2651
2648
|
|
|
2652
|
-
var colorPropType =
|
|
2653
|
-
|
|
2649
|
+
var colorPropType = PropTypes.oneOfType([
|
|
2650
|
+
PropTypes.oneOf([
|
|
2654
2651
|
'primary',
|
|
2655
2652
|
'secondary',
|
|
2656
2653
|
'success',
|
|
@@ -2660,9 +2657,9 @@ var colorPropType = propTypesExports.oneOfType([
|
|
|
2660
2657
|
'dark',
|
|
2661
2658
|
'light',
|
|
2662
2659
|
]),
|
|
2663
|
-
|
|
2660
|
+
PropTypes.string,
|
|
2664
2661
|
]);
|
|
2665
|
-
var placementPropType =
|
|
2662
|
+
var placementPropType = PropTypes.oneOf([
|
|
2666
2663
|
'auto',
|
|
2667
2664
|
'auto-start',
|
|
2668
2665
|
'auto-end',
|
|
@@ -2679,8 +2676,8 @@ var placementPropType = propTypesExports.oneOf([
|
|
|
2679
2676
|
'left',
|
|
2680
2677
|
'left-end',
|
|
2681
2678
|
]);
|
|
2682
|
-
var shapePropType =
|
|
2683
|
-
|
|
2679
|
+
var shapePropType = PropTypes.oneOfType([
|
|
2680
|
+
PropTypes.oneOf([
|
|
2684
2681
|
'rounded',
|
|
2685
2682
|
'rounded-top',
|
|
2686
2683
|
'rounded-end',
|
|
@@ -2693,14 +2690,14 @@ var shapePropType = propTypesExports.oneOfType([
|
|
|
2693
2690
|
'rounded-2',
|
|
2694
2691
|
'rounded-3',
|
|
2695
2692
|
]),
|
|
2696
|
-
|
|
2693
|
+
PropTypes.string,
|
|
2697
2694
|
]);
|
|
2698
|
-
var textColorsPropType =
|
|
2695
|
+
var textColorsPropType = PropTypes.oneOfType([
|
|
2699
2696
|
colorPropType,
|
|
2700
|
-
|
|
2701
|
-
|
|
2697
|
+
PropTypes.oneOf(['white', 'muted']),
|
|
2698
|
+
PropTypes.string,
|
|
2702
2699
|
]);
|
|
2703
|
-
var triggerPropType =
|
|
2700
|
+
var triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click']);
|
|
2704
2701
|
|
|
2705
2702
|
var CAlert = React.forwardRef(function (_a, ref) {
|
|
2706
2703
|
var children = _a.children, className = _a.className, _b = _a.color, color = _b === void 0 ? 'primary' : _b, dismissible = _a.dismissible, variant = _a.variant, _c = _a.visible, visible = _c === void 0 ? true : _c, onClose = _a.onClose, rest = __rest(_a, ["children", "className", "color", "dismissible", "variant", "visible", "onClose"]);
|
|
@@ -2718,13 +2715,13 @@ var CAlert = React.forwardRef(function (_a, ref) {
|
|
|
2718
2715
|
dismissible && React.createElement(CCloseButton, { onClick: function () { return setVisible(false); } }))); }));
|
|
2719
2716
|
});
|
|
2720
2717
|
CAlert.propTypes = {
|
|
2721
|
-
children:
|
|
2722
|
-
className:
|
|
2718
|
+
children: PropTypes.node,
|
|
2719
|
+
className: PropTypes.string,
|
|
2723
2720
|
color: colorPropType.isRequired,
|
|
2724
|
-
dismissible:
|
|
2725
|
-
onClose:
|
|
2726
|
-
variant:
|
|
2727
|
-
visible:
|
|
2721
|
+
dismissible: PropTypes.bool,
|
|
2722
|
+
onClose: PropTypes.func,
|
|
2723
|
+
variant: PropTypes.string,
|
|
2724
|
+
visible: PropTypes.bool,
|
|
2728
2725
|
};
|
|
2729
2726
|
CAlert.displayName = 'CAlert';
|
|
2730
2727
|
|
|
@@ -2733,9 +2730,9 @@ var CAlertHeading = React.forwardRef(function (_a, ref) {
|
|
|
2733
2730
|
return (React.createElement(Component, __assign({ className: classNames('alert-heading', className) }, rest, { ref: ref }), children));
|
|
2734
2731
|
});
|
|
2735
2732
|
CAlertHeading.propTypes = {
|
|
2736
|
-
children:
|
|
2737
|
-
className:
|
|
2738
|
-
component:
|
|
2733
|
+
children: PropTypes.node,
|
|
2734
|
+
className: PropTypes.string,
|
|
2735
|
+
component: PropTypes.elementType,
|
|
2739
2736
|
};
|
|
2740
2737
|
CAlertHeading.displayName = 'CAlertHeading';
|
|
2741
2738
|
|
|
@@ -2753,11 +2750,11 @@ var CLink = React.forwardRef(function (_a, ref) {
|
|
|
2753
2750
|
}), { disabled: disabled }, rest, { ref: ref }), children));
|
|
2754
2751
|
});
|
|
2755
2752
|
CLink.propTypes = {
|
|
2756
|
-
active:
|
|
2757
|
-
children:
|
|
2758
|
-
className:
|
|
2759
|
-
component:
|
|
2760
|
-
disabled:
|
|
2753
|
+
active: PropTypes.bool,
|
|
2754
|
+
children: PropTypes.node,
|
|
2755
|
+
className: PropTypes.string,
|
|
2756
|
+
component: PropTypes.elementType,
|
|
2757
|
+
disabled: PropTypes.bool,
|
|
2761
2758
|
};
|
|
2762
2759
|
CLink.displayName = 'CLink';
|
|
2763
2760
|
|
|
@@ -2766,8 +2763,8 @@ var CAlertLink = React.forwardRef(function (_a, ref) {
|
|
|
2766
2763
|
return (React.createElement(CLink, __assign({ className: classNames('alert-link', className) }, rest, { ref: ref }), children));
|
|
2767
2764
|
});
|
|
2768
2765
|
CAlertLink.propTypes = {
|
|
2769
|
-
children:
|
|
2770
|
-
className:
|
|
2766
|
+
children: PropTypes.node,
|
|
2767
|
+
className: PropTypes.string,
|
|
2771
2768
|
};
|
|
2772
2769
|
CAlertLink.displayName = 'CAlertLink';
|
|
2773
2770
|
|
|
@@ -2784,13 +2781,13 @@ var CAvatar = React.forwardRef(function (_a, ref) {
|
|
|
2784
2781
|
status && React.createElement("span", { className: statusClassName })));
|
|
2785
2782
|
});
|
|
2786
2783
|
CAvatar.propTypes = {
|
|
2787
|
-
children:
|
|
2788
|
-
className:
|
|
2784
|
+
children: PropTypes.node,
|
|
2785
|
+
className: PropTypes.string,
|
|
2789
2786
|
color: colorPropType,
|
|
2790
2787
|
shape: shapePropType,
|
|
2791
|
-
size:
|
|
2792
|
-
src:
|
|
2793
|
-
status:
|
|
2788
|
+
size: PropTypes.string,
|
|
2789
|
+
src: PropTypes.string,
|
|
2790
|
+
status: PropTypes.string,
|
|
2794
2791
|
textColor: textColorsPropType,
|
|
2795
2792
|
};
|
|
2796
2793
|
CAvatar.displayName = 'CAvatar';
|
|
@@ -2804,8 +2801,8 @@ var CBackdrop = React.forwardRef(function (_a, ref) {
|
|
|
2804
2801
|
}) }, rest, { ref: forkedRef }))); }));
|
|
2805
2802
|
});
|
|
2806
2803
|
CBackdrop.propTypes = {
|
|
2807
|
-
className:
|
|
2808
|
-
visible:
|
|
2804
|
+
className: PropTypes.string,
|
|
2805
|
+
visible: PropTypes.bool,
|
|
2809
2806
|
};
|
|
2810
2807
|
CBackdrop.displayName = 'CBackdrop';
|
|
2811
2808
|
|
|
@@ -2824,13 +2821,13 @@ var CBadge = React.forwardRef(function (_a, ref) {
|
|
|
2824
2821
|
_b), shape, className) }, rest, { ref: ref }), children));
|
|
2825
2822
|
});
|
|
2826
2823
|
CBadge.propTypes = {
|
|
2827
|
-
children:
|
|
2828
|
-
className:
|
|
2824
|
+
children: PropTypes.node,
|
|
2825
|
+
className: PropTypes.string,
|
|
2829
2826
|
color: colorPropType,
|
|
2830
|
-
component:
|
|
2831
|
-
position:
|
|
2827
|
+
component: PropTypes.string,
|
|
2828
|
+
position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
|
|
2832
2829
|
shape: shapePropType,
|
|
2833
|
-
size:
|
|
2830
|
+
size: PropTypes.oneOf(['sm']),
|
|
2834
2831
|
textColor: textColorsPropType,
|
|
2835
2832
|
};
|
|
2836
2833
|
CBadge.displayName = 'CBadge';
|
|
@@ -2841,8 +2838,8 @@ var CBreadcrumb = React.forwardRef(function (_a, ref) {
|
|
|
2841
2838
|
React.createElement("ol", __assign({ className: classNames('breadcrumb', className) }, rest, { ref: ref }), children)));
|
|
2842
2839
|
});
|
|
2843
2840
|
CBreadcrumb.propTypes = {
|
|
2844
|
-
children:
|
|
2845
|
-
className:
|
|
2841
|
+
children: PropTypes.node,
|
|
2842
|
+
className: PropTypes.string,
|
|
2846
2843
|
};
|
|
2847
2844
|
CBreadcrumb.displayName = 'CBreadcrumb';
|
|
2848
2845
|
|
|
@@ -2853,10 +2850,10 @@ var CBreadcrumbItem = React.forwardRef(function (_a, ref) {
|
|
|
2853
2850
|
}, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React.createElement(CLink, { href: href }, children) : children));
|
|
2854
2851
|
});
|
|
2855
2852
|
CBreadcrumbItem.propTypes = {
|
|
2856
|
-
active:
|
|
2857
|
-
children:
|
|
2858
|
-
className:
|
|
2859
|
-
href:
|
|
2853
|
+
active: PropTypes.bool,
|
|
2854
|
+
children: PropTypes.node,
|
|
2855
|
+
className: PropTypes.string,
|
|
2856
|
+
href: PropTypes.string,
|
|
2860
2857
|
};
|
|
2861
2858
|
CBreadcrumbItem.displayName = 'CBreadcrumbItem';
|
|
2862
2859
|
|
|
@@ -2866,14 +2863,14 @@ var CButton = React.forwardRef(function (_a, ref) {
|
|
|
2866
2863
|
return (React.createElement(CLink, __assign({ component: rest.href ? 'a' : component, type: type, className: classNames('btn', variant ? "btn-".concat(variant, "-").concat(color) : "btn-".concat(color), (_b = {}, _b["btn-".concat(size)] = size, _b), shape, className) }, rest, { ref: ref }), children));
|
|
2867
2864
|
});
|
|
2868
2865
|
CButton.propTypes = {
|
|
2869
|
-
children:
|
|
2870
|
-
className:
|
|
2866
|
+
children: PropTypes.node,
|
|
2867
|
+
className: PropTypes.string,
|
|
2871
2868
|
color: colorPropType,
|
|
2872
|
-
component:
|
|
2873
|
-
shape:
|
|
2874
|
-
size:
|
|
2875
|
-
type:
|
|
2876
|
-
variant:
|
|
2869
|
+
component: PropTypes.elementType,
|
|
2870
|
+
shape: PropTypes.string,
|
|
2871
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
2872
|
+
type: PropTypes.oneOf(['button', 'submit', 'reset']),
|
|
2873
|
+
variant: PropTypes.oneOf(['outline', 'ghost']),
|
|
2877
2874
|
};
|
|
2878
2875
|
CButton.displayName = 'CButton';
|
|
2879
2876
|
|
|
@@ -2882,8 +2879,8 @@ var CButtonToolbar = React.forwardRef(function (_a, ref) {
|
|
|
2882
2879
|
return (React.createElement("div", __assign({ className: classNames('btn-toolbar', className) }, rest, { ref: ref }), children));
|
|
2883
2880
|
});
|
|
2884
2881
|
CButtonToolbar.propTypes = {
|
|
2885
|
-
children:
|
|
2886
|
-
className:
|
|
2882
|
+
children: PropTypes.node,
|
|
2883
|
+
className: PropTypes.string,
|
|
2887
2884
|
};
|
|
2888
2885
|
CButtonToolbar.displayName = 'CButtonToolbar';
|
|
2889
2886
|
|
|
@@ -2893,10 +2890,10 @@ var CButtonGroup = React.forwardRef(function (_a, ref) {
|
|
|
2893
2890
|
return (React.createElement("div", __assign({ className: classNames(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-".concat(size)] = size, _b), className) }, rest, { ref: ref }), children));
|
|
2894
2891
|
});
|
|
2895
2892
|
CButtonGroup.propTypes = {
|
|
2896
|
-
children:
|
|
2897
|
-
className:
|
|
2898
|
-
size:
|
|
2899
|
-
vertical:
|
|
2893
|
+
children: PropTypes.node,
|
|
2894
|
+
className: PropTypes.string,
|
|
2895
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
2896
|
+
vertical: PropTypes.bool,
|
|
2900
2897
|
};
|
|
2901
2898
|
CButtonGroup.displayName = 'CButtonGroup';
|
|
2902
2899
|
|
|
@@ -2908,8 +2905,8 @@ var CCallout = React.forwardRef(function (_a, ref) {
|
|
|
2908
2905
|
_b), className) }, rest, { ref: ref }), children));
|
|
2909
2906
|
});
|
|
2910
2907
|
CCallout.propTypes = {
|
|
2911
|
-
children:
|
|
2912
|
-
className:
|
|
2908
|
+
children: PropTypes.node,
|
|
2909
|
+
className: PropTypes.string,
|
|
2913
2910
|
color: colorPropType,
|
|
2914
2911
|
};
|
|
2915
2912
|
CCallout.displayName = 'CCallout';
|
|
@@ -2923,10 +2920,10 @@ var CCard = React.forwardRef(function (_a, ref) {
|
|
|
2923
2920
|
_b), className) }, rest, { ref: ref }), children));
|
|
2924
2921
|
});
|
|
2925
2922
|
CCard.propTypes = {
|
|
2926
|
-
children:
|
|
2927
|
-
className:
|
|
2923
|
+
children: PropTypes.node,
|
|
2924
|
+
className: PropTypes.string,
|
|
2928
2925
|
color: colorPropType,
|
|
2929
|
-
textColor:
|
|
2926
|
+
textColor: PropTypes.string,
|
|
2930
2927
|
};
|
|
2931
2928
|
CCard.displayName = 'CCard';
|
|
2932
2929
|
|
|
@@ -2935,8 +2932,8 @@ var CCardBody = React.forwardRef(function (_a, ref) {
|
|
|
2935
2932
|
return (React.createElement("div", __assign({ className: classNames('card-body', className) }, rest, { ref: ref }), children));
|
|
2936
2933
|
});
|
|
2937
2934
|
CCardBody.propTypes = {
|
|
2938
|
-
children:
|
|
2939
|
-
className:
|
|
2935
|
+
children: PropTypes.node,
|
|
2936
|
+
className: PropTypes.string,
|
|
2940
2937
|
};
|
|
2941
2938
|
CCardBody.displayName = 'CCardBody';
|
|
2942
2939
|
|
|
@@ -2945,8 +2942,8 @@ var CCardFooter = React.forwardRef(function (_a, ref) {
|
|
|
2945
2942
|
return (React.createElement("div", __assign({ className: classNames('card-footer', className) }, rest, { ref: ref }), children));
|
|
2946
2943
|
});
|
|
2947
2944
|
CCardFooter.propTypes = {
|
|
2948
|
-
children:
|
|
2949
|
-
className:
|
|
2945
|
+
children: PropTypes.node,
|
|
2946
|
+
className: PropTypes.string,
|
|
2950
2947
|
};
|
|
2951
2948
|
CCardFooter.displayName = 'CCardFooter';
|
|
2952
2949
|
|
|
@@ -2955,8 +2952,8 @@ var CCardGroup = React.forwardRef(function (_a, ref) {
|
|
|
2955
2952
|
return (React.createElement("div", __assign({ className: classNames('card-group', className) }, rest, { ref: ref }), children));
|
|
2956
2953
|
});
|
|
2957
2954
|
CCardGroup.propTypes = {
|
|
2958
|
-
children:
|
|
2959
|
-
className:
|
|
2955
|
+
children: PropTypes.node,
|
|
2956
|
+
className: PropTypes.string,
|
|
2960
2957
|
};
|
|
2961
2958
|
CCardGroup.displayName = 'CCardGroup';
|
|
2962
2959
|
|
|
@@ -2965,9 +2962,9 @@ var CCardHeader = React.forwardRef(function (_a, ref) {
|
|
|
2965
2962
|
return (React.createElement(Component, __assign({ className: classNames('card-header', className) }, rest, { ref: ref }), children));
|
|
2966
2963
|
});
|
|
2967
2964
|
CCardHeader.propTypes = {
|
|
2968
|
-
children:
|
|
2969
|
-
className:
|
|
2970
|
-
component:
|
|
2965
|
+
children: PropTypes.node,
|
|
2966
|
+
className: PropTypes.string,
|
|
2967
|
+
component: PropTypes.elementType,
|
|
2971
2968
|
};
|
|
2972
2969
|
CCardHeader.displayName = 'CCardHeader';
|
|
2973
2970
|
|
|
@@ -2976,10 +2973,10 @@ var CCardImage = React.forwardRef(function (_a, ref) {
|
|
|
2976
2973
|
return (React.createElement(Component, __assign({ className: classNames(orientation ? "card-img-".concat(orientation) : 'card-img', className) }, rest, { ref: ref }), children));
|
|
2977
2974
|
});
|
|
2978
2975
|
CCardImage.propTypes = {
|
|
2979
|
-
children:
|
|
2980
|
-
className:
|
|
2981
|
-
component:
|
|
2982
|
-
orientation:
|
|
2976
|
+
children: PropTypes.node,
|
|
2977
|
+
className: PropTypes.string,
|
|
2978
|
+
component: PropTypes.elementType,
|
|
2979
|
+
orientation: PropTypes.oneOf(['top', 'bottom']),
|
|
2983
2980
|
};
|
|
2984
2981
|
CCardImage.displayName = 'CCardImage';
|
|
2985
2982
|
|
|
@@ -2988,8 +2985,8 @@ var CCardImageOverlay = React.forwardRef(function (_a, ref) {
|
|
|
2988
2985
|
return (React.createElement("div", __assign({ className: classNames('card-img-overlay', className) }, rest, { ref: ref }), children));
|
|
2989
2986
|
});
|
|
2990
2987
|
CCardImageOverlay.propTypes = {
|
|
2991
|
-
children:
|
|
2992
|
-
className:
|
|
2988
|
+
children: PropTypes.node,
|
|
2989
|
+
className: PropTypes.string,
|
|
2993
2990
|
};
|
|
2994
2991
|
CCardImageOverlay.displayName = 'CCardImageOverlay';
|
|
2995
2992
|
|
|
@@ -2998,8 +2995,8 @@ var CCardLink = React.forwardRef(function (_a, ref) {
|
|
|
2998
2995
|
return (React.createElement(CLink, __assign({ className: classNames('card-link', className) }, rest, { ref: ref }), children));
|
|
2999
2996
|
});
|
|
3000
2997
|
CCardLink.propTypes = {
|
|
3001
|
-
children:
|
|
3002
|
-
className:
|
|
2998
|
+
children: PropTypes.node,
|
|
2999
|
+
className: PropTypes.string,
|
|
3003
3000
|
};
|
|
3004
3001
|
CCardLink.displayName = 'CCardLink';
|
|
3005
3002
|
|
|
@@ -3008,9 +3005,9 @@ var CCardSubtitle = React.forwardRef(function (_a, ref) {
|
|
|
3008
3005
|
return (React.createElement(Component, __assign({ className: classNames('card-subtitle', className) }, rest, { ref: ref }), children));
|
|
3009
3006
|
});
|
|
3010
3007
|
CCardSubtitle.propTypes = {
|
|
3011
|
-
children:
|
|
3012
|
-
className:
|
|
3013
|
-
component:
|
|
3008
|
+
children: PropTypes.node,
|
|
3009
|
+
className: PropTypes.string,
|
|
3010
|
+
component: PropTypes.elementType,
|
|
3014
3011
|
};
|
|
3015
3012
|
CCardSubtitle.displayName = 'CCardSubtitle';
|
|
3016
3013
|
|
|
@@ -3019,9 +3016,9 @@ var CCardText = React.forwardRef(function (_a, ref) {
|
|
|
3019
3016
|
return (React.createElement(Component, __assign({ className: classNames('card-text', className) }, rest, { ref: ref }), children));
|
|
3020
3017
|
});
|
|
3021
3018
|
CCardText.propTypes = {
|
|
3022
|
-
children:
|
|
3023
|
-
className:
|
|
3024
|
-
component:
|
|
3019
|
+
children: PropTypes.node,
|
|
3020
|
+
className: PropTypes.string,
|
|
3021
|
+
component: PropTypes.elementType,
|
|
3025
3022
|
};
|
|
3026
3023
|
CCardText.displayName = 'CCardText';
|
|
3027
3024
|
|
|
@@ -3030,9 +3027,9 @@ var CCardTitle = React.forwardRef(function (_a, ref) {
|
|
|
3030
3027
|
return (React.createElement(Component, __assign({ className: classNames('card-title', className) }, rest, { ref: ref }), children));
|
|
3031
3028
|
});
|
|
3032
3029
|
CCardTitle.propTypes = {
|
|
3033
|
-
children:
|
|
3034
|
-
className:
|
|
3035
|
-
component:
|
|
3030
|
+
children: PropTypes.node,
|
|
3031
|
+
className: PropTypes.string,
|
|
3032
|
+
component: PropTypes.elementType,
|
|
3036
3033
|
};
|
|
3037
3034
|
CCardTitle.displayName = 'CCardTitle';
|
|
3038
3035
|
|
|
@@ -3177,19 +3174,19 @@ var CCarousel = React.forwardRef(function (_a, ref) {
|
|
|
3177
3174
|
React.createElement("span", { className: "carousel-control-next-icon", "aria-label": "next" })))))));
|
|
3178
3175
|
});
|
|
3179
3176
|
CCarousel.propTypes = {
|
|
3180
|
-
activeIndex:
|
|
3181
|
-
children:
|
|
3182
|
-
className:
|
|
3183
|
-
controls:
|
|
3184
|
-
dark:
|
|
3185
|
-
indicators:
|
|
3186
|
-
interval:
|
|
3187
|
-
onSlid:
|
|
3188
|
-
onSlide:
|
|
3189
|
-
pause:
|
|
3190
|
-
touch:
|
|
3191
|
-
transition:
|
|
3192
|
-
wrap:
|
|
3177
|
+
activeIndex: PropTypes.number,
|
|
3178
|
+
children: PropTypes.node,
|
|
3179
|
+
className: PropTypes.string,
|
|
3180
|
+
controls: PropTypes.bool,
|
|
3181
|
+
dark: PropTypes.bool,
|
|
3182
|
+
indicators: PropTypes.bool,
|
|
3183
|
+
interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
|
|
3184
|
+
onSlid: PropTypes.func,
|
|
3185
|
+
onSlide: PropTypes.func,
|
|
3186
|
+
pause: PropTypes.oneOf([false, 'hover']),
|
|
3187
|
+
touch: PropTypes.bool,
|
|
3188
|
+
transition: PropTypes.oneOf(['slide', 'crossfade']),
|
|
3189
|
+
wrap: PropTypes.bool,
|
|
3193
3190
|
};
|
|
3194
3191
|
CCarousel.displayName = 'CCarousel';
|
|
3195
3192
|
|
|
@@ -3198,7 +3195,7 @@ var CCarouselCaption = React.forwardRef(function (_a, ref) {
|
|
|
3198
3195
|
return React.createElement("div", __assign({ className: classNames('carousel-caption', className) }, rest, { ref: ref }));
|
|
3199
3196
|
});
|
|
3200
3197
|
CCarouselCaption.propTypes = {
|
|
3201
|
-
className:
|
|
3198
|
+
className: PropTypes.string,
|
|
3202
3199
|
};
|
|
3203
3200
|
CCarouselCaption.displayName = 'CCarouselCaption';
|
|
3204
3201
|
|
|
@@ -3273,11 +3270,11 @@ var CCarouselItem = React.forwardRef(function (_a, ref) {
|
|
|
3273
3270
|
return (React.createElement("div", __assign({ className: classNames('carousel-item', activeClassName, directionClassName, orderClassName, className), ref: forkedRef }, rest), children));
|
|
3274
3271
|
});
|
|
3275
3272
|
CCarouselItem.propTypes = {
|
|
3276
|
-
active:
|
|
3277
|
-
children:
|
|
3278
|
-
className:
|
|
3279
|
-
direction:
|
|
3280
|
-
interval:
|
|
3273
|
+
active: PropTypes.bool,
|
|
3274
|
+
children: PropTypes.node,
|
|
3275
|
+
className: PropTypes.string,
|
|
3276
|
+
direction: PropTypes.string,
|
|
3277
|
+
interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
|
|
3281
3278
|
};
|
|
3282
3279
|
CCarouselItem.displayName = 'CCarouselItem';
|
|
3283
3280
|
|
|
@@ -3286,8 +3283,8 @@ var CConditionalPortal = function (_a) {
|
|
|
3286
3283
|
return typeof window !== 'undefined' && portal ? (ReactDOM.createPortal(children, document.body)) : (React.createElement(React.Fragment, null, children));
|
|
3287
3284
|
};
|
|
3288
3285
|
CConditionalPortal.propTypes = {
|
|
3289
|
-
children:
|
|
3290
|
-
portal:
|
|
3286
|
+
children: PropTypes.node,
|
|
3287
|
+
portal: PropTypes.bool.isRequired,
|
|
3291
3288
|
};
|
|
3292
3289
|
CConditionalPortal.displayName = 'CConditionalPortal';
|
|
3293
3290
|
|
|
@@ -3533,7 +3530,7 @@ var round = Math.round;
|
|
|
3533
3530
|
function getUAString() {
|
|
3534
3531
|
var uaData = navigator.userAgentData;
|
|
3535
3532
|
|
|
3536
|
-
if (uaData != null && uaData.brands) {
|
|
3533
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
3537
3534
|
return uaData.brands.map(function (item) {
|
|
3538
3535
|
return item.brand + "/" + item.version;
|
|
3539
3536
|
}).join(' ');
|
|
@@ -3861,10 +3858,9 @@ var unsetSides = {
|
|
|
3861
3858
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
3862
3859
|
// cleanly divide the values into the appropriate subpixels.
|
|
3863
3860
|
|
|
3864
|
-
function roundOffsetsByDPR(_ref) {
|
|
3861
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
3865
3862
|
var x = _ref.x,
|
|
3866
3863
|
y = _ref.y;
|
|
3867
|
-
var win = window;
|
|
3868
3864
|
var dpr = win.devicePixelRatio || 1;
|
|
3869
3865
|
return {
|
|
3870
3866
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -3947,7 +3943,7 @@ function mapToStyles(_ref2) {
|
|
|
3947
3943
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3948
3944
|
x: x,
|
|
3949
3945
|
y: y
|
|
3950
|
-
}) : {
|
|
3946
|
+
}, getWindow(popper)) : {
|
|
3951
3947
|
x: x,
|
|
3952
3948
|
y: y
|
|
3953
3949
|
};
|
|
@@ -5484,6 +5480,8 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
5484
5480
|
}
|
|
5485
5481
|
};
|
|
5486
5482
|
|
|
5483
|
+
var isEqual = /*@__PURE__*/getDefaultExportFromCjs(reactFastCompare);
|
|
5484
|
+
|
|
5487
5485
|
var EMPTY_MODIFIERS$1 = [];
|
|
5488
5486
|
var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
5489
5487
|
if (options === void 0) {
|
|
@@ -5547,7 +5545,7 @@ var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
|
5547
5545
|
}])
|
|
5548
5546
|
};
|
|
5549
5547
|
|
|
5550
|
-
if (
|
|
5548
|
+
if (isEqual(prevOptions.current, newOptions)) {
|
|
5551
5549
|
return prevOptions.current || newOptions;
|
|
5552
5550
|
} else {
|
|
5553
5551
|
prevOptions.current = newOptions;
|
|
@@ -5715,6 +5713,8 @@ if (__DEV__) {
|
|
|
5715
5713
|
|
|
5716
5714
|
var warning_1 = warning;
|
|
5717
5715
|
|
|
5716
|
+
var warning$1 = /*@__PURE__*/getDefaultExportFromCjs(warning_1);
|
|
5717
|
+
|
|
5718
5718
|
function Reference(_ref) {
|
|
5719
5719
|
var children = _ref.children,
|
|
5720
5720
|
innerRef = _ref.innerRef;
|
|
@@ -5731,7 +5731,7 @@ function Reference(_ref) {
|
|
|
5731
5731
|
};
|
|
5732
5732
|
}, []);
|
|
5733
5733
|
React__namespace.useEffect(function () {
|
|
5734
|
-
|
|
5734
|
+
warning$1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');
|
|
5735
5735
|
}, [setReferenceNode]);
|
|
5736
5736
|
return unwrapArray(children)({
|
|
5737
5737
|
ref: refHandler
|
|
@@ -5784,34 +5784,34 @@ var CDropdown = React.forwardRef(function (_a, ref) {
|
|
|
5784
5784
|
_b.show = _visible,
|
|
5785
5785
|
_b), className) }, rest, { ref: forkedRef }), children)))));
|
|
5786
5786
|
});
|
|
5787
|
-
var alignmentDirection =
|
|
5787
|
+
var alignmentDirection = PropTypes.oneOf(['start', 'end']);
|
|
5788
5788
|
CDropdown.propTypes = {
|
|
5789
5789
|
// @ts-expect-error TODO: we have to find a solution
|
|
5790
|
-
alignment:
|
|
5790
|
+
alignment: PropTypes.oneOfType([
|
|
5791
5791
|
alignmentDirection,
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5792
|
+
PropTypes.shape({ xs: alignmentDirection }),
|
|
5793
|
+
PropTypes.shape({ sm: alignmentDirection }),
|
|
5794
|
+
PropTypes.shape({ md: alignmentDirection }),
|
|
5795
|
+
PropTypes.shape({ lg: alignmentDirection }),
|
|
5796
|
+
PropTypes.shape({ xl: alignmentDirection }),
|
|
5797
|
+
PropTypes.shape({ xxl: alignmentDirection }),
|
|
5798
5798
|
]),
|
|
5799
|
-
autoClose:
|
|
5800
|
-
|
|
5801
|
-
|
|
5799
|
+
autoClose: PropTypes.oneOfType([
|
|
5800
|
+
PropTypes.bool,
|
|
5801
|
+
PropTypes.oneOf(['inside', 'outside']),
|
|
5802
5802
|
]),
|
|
5803
|
-
children:
|
|
5804
|
-
className:
|
|
5805
|
-
component:
|
|
5806
|
-
dark:
|
|
5807
|
-
direction:
|
|
5808
|
-
onHide:
|
|
5809
|
-
onShow:
|
|
5803
|
+
children: PropTypes.node,
|
|
5804
|
+
className: PropTypes.string,
|
|
5805
|
+
component: PropTypes.elementType,
|
|
5806
|
+
dark: PropTypes.bool,
|
|
5807
|
+
direction: PropTypes.oneOf(['center', 'dropup', 'dropup-center', 'dropend', 'dropstart']),
|
|
5808
|
+
onHide: PropTypes.func,
|
|
5809
|
+
onShow: PropTypes.func,
|
|
5810
5810
|
placement: placementPropType,
|
|
5811
|
-
popper:
|
|
5812
|
-
portal:
|
|
5813
|
-
variant:
|
|
5814
|
-
visible:
|
|
5811
|
+
popper: PropTypes.bool,
|
|
5812
|
+
portal: PropTypes.bool,
|
|
5813
|
+
variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
|
|
5814
|
+
visible: PropTypes.bool,
|
|
5815
5815
|
};
|
|
5816
5816
|
CDropdown.displayName = 'CDropdown';
|
|
5817
5817
|
|
|
@@ -5820,7 +5820,7 @@ var CDropdownDivider = React.forwardRef(function (_a, ref) {
|
|
|
5820
5820
|
return React.createElement("hr", __assign({ className: classNames('dropdown-divider', className) }, rest, { ref: ref }));
|
|
5821
5821
|
});
|
|
5822
5822
|
CDropdownDivider.propTypes = {
|
|
5823
|
-
className:
|
|
5823
|
+
className: PropTypes.string,
|
|
5824
5824
|
};
|
|
5825
5825
|
CDropdownDivider.displayName = 'CDropdownDivider';
|
|
5826
5826
|
|
|
@@ -5829,9 +5829,9 @@ var CDropdownHeader = React.forwardRef(function (_a, ref) {
|
|
|
5829
5829
|
return (React.createElement(Component, __assign({ className: classNames('dropdown-header', className) }, rest, { ref: ref }), children));
|
|
5830
5830
|
});
|
|
5831
5831
|
CDropdownHeader.propTypes = {
|
|
5832
|
-
children:
|
|
5833
|
-
className:
|
|
5834
|
-
component:
|
|
5832
|
+
children: PropTypes.node,
|
|
5833
|
+
className: PropTypes.string,
|
|
5834
|
+
component: PropTypes.elementType,
|
|
5835
5835
|
};
|
|
5836
5836
|
CDropdownHeader.displayName = 'CDropdownHeader';
|
|
5837
5837
|
|
|
@@ -5840,9 +5840,9 @@ var CDropdownItem = React.forwardRef(function (_a, ref) {
|
|
|
5840
5840
|
return (React.createElement(CLink, __assign({ className: classNames('dropdown-item', className), component: component }, rest, { ref: ref }), children));
|
|
5841
5841
|
});
|
|
5842
5842
|
CDropdownItem.propTypes = {
|
|
5843
|
-
children:
|
|
5844
|
-
className:
|
|
5845
|
-
component:
|
|
5843
|
+
children: PropTypes.node,
|
|
5844
|
+
className: PropTypes.string,
|
|
5845
|
+
component: PropTypes.elementType,
|
|
5846
5846
|
};
|
|
5847
5847
|
CDropdownItem.displayName = 'CDropdownItem';
|
|
5848
5848
|
|
|
@@ -5851,9 +5851,9 @@ var CDropdownItemPlain = React.forwardRef(function (_a, ref) {
|
|
|
5851
5851
|
return (React.createElement(Component, __assign({ className: classNames('dropdown-item-text', className) }, rest, { ref: ref }), children));
|
|
5852
5852
|
});
|
|
5853
5853
|
CDropdownItemPlain.propTypes = {
|
|
5854
|
-
children:
|
|
5855
|
-
className:
|
|
5856
|
-
component:
|
|
5854
|
+
children: PropTypes.node,
|
|
5855
|
+
className: PropTypes.string,
|
|
5856
|
+
component: PropTypes.elementType,
|
|
5857
5857
|
};
|
|
5858
5858
|
CDropdownItemPlain.displayName = 'CDropdownItemPlain';
|
|
5859
5859
|
|
|
@@ -5938,9 +5938,9 @@ var CDropdownMenu = function (_a) {
|
|
|
5938
5938
|
})) : (dropdownMenuComponent());
|
|
5939
5939
|
};
|
|
5940
5940
|
CDropdownMenu.propTypes = {
|
|
5941
|
-
children:
|
|
5942
|
-
className:
|
|
5943
|
-
component:
|
|
5941
|
+
children: PropTypes.node,
|
|
5942
|
+
className: PropTypes.string,
|
|
5943
|
+
component: PropTypes.elementType,
|
|
5944
5944
|
};
|
|
5945
5945
|
CDropdownMenu.displayName = 'CDropdownMenu';
|
|
5946
5946
|
|
|
@@ -5980,11 +5980,11 @@ var CDropdownToggle = function (_a) {
|
|
|
5980
5980
|
}) : Toggler(dropdownToggleRef);
|
|
5981
5981
|
};
|
|
5982
5982
|
CDropdownToggle.propTypes = {
|
|
5983
|
-
caret:
|
|
5984
|
-
children:
|
|
5985
|
-
className:
|
|
5986
|
-
custom:
|
|
5987
|
-
split:
|
|
5983
|
+
caret: PropTypes.bool,
|
|
5984
|
+
children: PropTypes.node,
|
|
5985
|
+
className: PropTypes.string,
|
|
5986
|
+
custom: PropTypes.bool,
|
|
5987
|
+
split: PropTypes.bool,
|
|
5988
5988
|
trigger: triggerPropType,
|
|
5989
5989
|
};
|
|
5990
5990
|
CDropdownToggle.displayName = 'CDropdownToggle';
|
|
@@ -5995,9 +5995,9 @@ var CFooter = React.forwardRef(function (_a, ref) {
|
|
|
5995
5995
|
return (React.createElement("div", __assign({ className: classNames('footer', (_b = {}, _b["footer-".concat(position)] = position, _b), className) }, rest, { ref: ref }), children));
|
|
5996
5996
|
});
|
|
5997
5997
|
CFooter.propTypes = {
|
|
5998
|
-
children:
|
|
5999
|
-
className:
|
|
6000
|
-
position:
|
|
5998
|
+
children: PropTypes.node,
|
|
5999
|
+
className: PropTypes.string,
|
|
6000
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
6001
6001
|
};
|
|
6002
6002
|
CFooter.displayName = 'CFooter';
|
|
6003
6003
|
|
|
@@ -6006,9 +6006,9 @@ var CForm = React.forwardRef(function (_a, ref) {
|
|
|
6006
6006
|
return (React.createElement("form", __assign({ className: classNames({ 'was-validated': validated }, className) || undefined }, rest, { ref: ref }), children));
|
|
6007
6007
|
});
|
|
6008
6008
|
CForm.propTypes = {
|
|
6009
|
-
children:
|
|
6010
|
-
className:
|
|
6011
|
-
validated:
|
|
6009
|
+
children: PropTypes.node,
|
|
6010
|
+
className: PropTypes.string,
|
|
6011
|
+
validated: PropTypes.bool,
|
|
6012
6012
|
};
|
|
6013
6013
|
CForm.displayName = 'CForm';
|
|
6014
6014
|
|
|
@@ -6021,12 +6021,12 @@ var CFormFeedback = React.forwardRef(function (_a, ref) {
|
|
|
6021
6021
|
_b), className) }, rest, { ref: ref }), children));
|
|
6022
6022
|
});
|
|
6023
6023
|
CFormFeedback.propTypes = {
|
|
6024
|
-
children:
|
|
6025
|
-
className:
|
|
6026
|
-
component:
|
|
6027
|
-
invalid:
|
|
6028
|
-
tooltip:
|
|
6029
|
-
valid:
|
|
6024
|
+
children: PropTypes.node,
|
|
6025
|
+
className: PropTypes.string,
|
|
6026
|
+
component: PropTypes.elementType,
|
|
6027
|
+
invalid: PropTypes.bool,
|
|
6028
|
+
tooltip: PropTypes.bool,
|
|
6029
|
+
valid: PropTypes.bool,
|
|
6030
6030
|
};
|
|
6031
6031
|
CFormFeedback.displayName = 'CFormFeedback';
|
|
6032
6032
|
|
|
@@ -6038,13 +6038,13 @@ var CFormControlValidation = function (_a) {
|
|
|
6038
6038
|
feedbackValid && (React.createElement(CFormFeedback, { valid: true, tooltip: tooltipFeedback }, feedbackValid))));
|
|
6039
6039
|
};
|
|
6040
6040
|
CFormControlValidation.propTypes = {
|
|
6041
|
-
describedby:
|
|
6042
|
-
feedback:
|
|
6043
|
-
feedbackValid:
|
|
6044
|
-
feedbackInvalid:
|
|
6045
|
-
invalid:
|
|
6046
|
-
tooltipFeedback:
|
|
6047
|
-
valid:
|
|
6041
|
+
describedby: PropTypes.string,
|
|
6042
|
+
feedback: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6043
|
+
feedbackValid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6044
|
+
feedbackInvalid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6045
|
+
invalid: PropTypes.bool,
|
|
6046
|
+
tooltipFeedback: PropTypes.bool,
|
|
6047
|
+
valid: PropTypes.bool,
|
|
6048
6048
|
};
|
|
6049
6049
|
CFormControlValidation.displayName = 'CFormControlValidation';
|
|
6050
6050
|
|
|
@@ -6053,9 +6053,9 @@ var CFormLabel = React.forwardRef(function (_a, ref) {
|
|
|
6053
6053
|
return (React.createElement("label", __assign({ className: customClassName !== null && customClassName !== void 0 ? customClassName : classNames('form-label', className) }, rest, { ref: ref }), children));
|
|
6054
6054
|
});
|
|
6055
6055
|
CFormLabel.propTypes = {
|
|
6056
|
-
children:
|
|
6057
|
-
className:
|
|
6058
|
-
customClassName:
|
|
6056
|
+
children: PropTypes.node,
|
|
6057
|
+
className: PropTypes.string,
|
|
6058
|
+
customClassName: PropTypes.string,
|
|
6059
6059
|
};
|
|
6060
6060
|
CFormLabel.displayName = 'CFormLabel';
|
|
6061
6061
|
|
|
@@ -6067,7 +6067,7 @@ var CFormCheck = React.forwardRef(function (_a, ref) {
|
|
|
6067
6067
|
if (inputRef.current && indeterminate) {
|
|
6068
6068
|
inputRef.current.indeterminate = indeterminate;
|
|
6069
6069
|
}
|
|
6070
|
-
}, [indeterminate]);
|
|
6070
|
+
}, [indeterminate, inputRef.current]);
|
|
6071
6071
|
var FormControl = function () { return (React.createElement("input", __assign({ type: type, className: classNames(button ? 'btn-check' : 'form-check-input', {
|
|
6072
6072
|
'is-invalid': invalid,
|
|
6073
6073
|
'is-valid': valid,
|
|
@@ -6107,7 +6107,7 @@ var CFormCheck = React.forwardRef(function (_a, ref) {
|
|
|
6107
6107
|
};
|
|
6108
6108
|
return React.createElement(FormCheck, null);
|
|
6109
6109
|
});
|
|
6110
|
-
CFormCheck.propTypes = __assign({ button:
|
|
6110
|
+
CFormCheck.propTypes = __assign({ 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);
|
|
6111
6111
|
CFormCheck.displayName = 'CFormCheck';
|
|
6112
6112
|
|
|
6113
6113
|
var CFormFloating = React.forwardRef(function (_a, ref) {
|
|
@@ -6115,8 +6115,8 @@ var CFormFloating = React.forwardRef(function (_a, ref) {
|
|
|
6115
6115
|
return (React.createElement("div", __assign({ className: classNames('form-floating', className) }, rest, { ref: ref }), children));
|
|
6116
6116
|
});
|
|
6117
6117
|
CFormFloating.propTypes = {
|
|
6118
|
-
children:
|
|
6119
|
-
className:
|
|
6118
|
+
children: PropTypes.node,
|
|
6119
|
+
className: PropTypes.string,
|
|
6120
6120
|
};
|
|
6121
6121
|
CFormFloating.displayName = 'CFormFloating';
|
|
6122
6122
|
|
|
@@ -6125,9 +6125,9 @@ var CFormText = React.forwardRef(function (_a, ref) {
|
|
|
6125
6125
|
return (React.createElement(Component, __assign({ className: classNames('form-text', className) }, rest, { ref: ref }), children));
|
|
6126
6126
|
});
|
|
6127
6127
|
CFormText.propTypes = {
|
|
6128
|
-
children:
|
|
6129
|
-
className:
|
|
6130
|
-
component:
|
|
6128
|
+
children: PropTypes.node,
|
|
6129
|
+
className: PropTypes.string,
|
|
6130
|
+
component: PropTypes.elementType,
|
|
6131
6131
|
};
|
|
6132
6132
|
CFormText.displayName = 'CFormText';
|
|
6133
6133
|
|
|
@@ -6144,7 +6144,7 @@ var CFormControlWrapper = function (_a) {
|
|
|
6144
6144
|
text && React.createElement(CFormText, { id: describedby }, text),
|
|
6145
6145
|
React.createElement(FormControlValidation, null)));
|
|
6146
6146
|
};
|
|
6147
|
-
CFormControlWrapper.propTypes = __assign({ children:
|
|
6147
|
+
CFormControlWrapper.propTypes = __assign({ 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);
|
|
6148
6148
|
CFormControlWrapper.displayName = 'CFormControlWrapper';
|
|
6149
6149
|
|
|
6150
6150
|
var CFormInput = React.forwardRef(function (_a, ref) {
|
|
@@ -6163,7 +6163,7 @@ var CFormInput = React.forwardRef(function (_a, ref) {
|
|
|
6163
6163
|
_b['is-valid'] = valid,
|
|
6164
6164
|
_b), className), id: id, type: type, onChange: function (event) { return (delay ? setValue(event) : onChange && onChange(event)); } }, rest, { ref: ref }), children)));
|
|
6165
6165
|
});
|
|
6166
|
-
CFormInput.propTypes = __assign({ className:
|
|
6166
|
+
CFormInput.propTypes = __assign({ 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);
|
|
6167
6167
|
CFormInput.displayName = 'CFormInput';
|
|
6168
6168
|
|
|
6169
6169
|
var CFormRange = React.forwardRef(function (_a, ref) {
|
|
@@ -6173,8 +6173,8 @@ var CFormRange = React.forwardRef(function (_a, ref) {
|
|
|
6173
6173
|
React.createElement("input", __assign({ type: "range", className: classNames('form-range', className) }, rest, { ref: ref }))));
|
|
6174
6174
|
});
|
|
6175
6175
|
CFormRange.propTypes = {
|
|
6176
|
-
className:
|
|
6177
|
-
label:
|
|
6176
|
+
className: PropTypes.string,
|
|
6177
|
+
label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6178
6178
|
};
|
|
6179
6179
|
CFormRange.displayName = 'CFormRange';
|
|
6180
6180
|
|
|
@@ -6193,7 +6193,7 @@ var CFormSelect = React.forwardRef(function (_a, ref) {
|
|
|
6193
6193
|
})
|
|
6194
6194
|
: children)));
|
|
6195
6195
|
});
|
|
6196
|
-
CFormSelect.propTypes = __assign({ className:
|
|
6196
|
+
CFormSelect.propTypes = __assign({ className: PropTypes.string, htmlSize: PropTypes.number, options: PropTypes.array }, CFormControlWrapper.propTypes);
|
|
6197
6197
|
CFormSelect.displayName = 'CFormSelect';
|
|
6198
6198
|
|
|
6199
6199
|
var CFormSwitch = React.forwardRef(function (_a, ref) {
|
|
@@ -6213,14 +6213,14 @@ var CFormSwitch = React.forwardRef(function (_a, ref) {
|
|
|
6213
6213
|
label && (React.createElement(CFormLabel, __assign({ customClassName: "form-check-label" }, (id && { htmlFor: id })), label))));
|
|
6214
6214
|
});
|
|
6215
6215
|
CFormSwitch.propTypes = {
|
|
6216
|
-
className:
|
|
6217
|
-
id:
|
|
6218
|
-
invalid:
|
|
6219
|
-
label:
|
|
6220
|
-
reverse:
|
|
6221
|
-
size:
|
|
6222
|
-
type:
|
|
6223
|
-
valid:
|
|
6216
|
+
className: PropTypes.string,
|
|
6217
|
+
id: PropTypes.string,
|
|
6218
|
+
invalid: PropTypes.bool,
|
|
6219
|
+
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
6220
|
+
reverse: PropTypes.bool,
|
|
6221
|
+
size: PropTypes.oneOf(['lg', 'xl']),
|
|
6222
|
+
type: PropTypes.oneOf(['checkbox', 'radio']),
|
|
6223
|
+
valid: PropTypes.bool,
|
|
6224
6224
|
};
|
|
6225
6225
|
CFormSwitch.displayName = 'CFormSwitch';
|
|
6226
6226
|
|
|
@@ -6232,7 +6232,7 @@ var CFormTextarea = React.forwardRef(function (_a, ref) {
|
|
|
6232
6232
|
'is-valid': valid,
|
|
6233
6233
|
}, className), id: id }, rest, { ref: ref }), children)));
|
|
6234
6234
|
});
|
|
6235
|
-
CFormTextarea.propTypes = __assign({ className:
|
|
6235
|
+
CFormTextarea.propTypes = __assign({ className: PropTypes.string, id: PropTypes.string, plainText: PropTypes.bool }, CFormControlWrapper.propTypes);
|
|
6236
6236
|
CFormTextarea.displayName = 'CFormTextarea';
|
|
6237
6237
|
|
|
6238
6238
|
var CInputGroup = React.forwardRef(function (_a, ref) {
|
|
@@ -6243,9 +6243,9 @@ var CInputGroup = React.forwardRef(function (_a, ref) {
|
|
|
6243
6243
|
_b), className) }, rest, { ref: ref }), children));
|
|
6244
6244
|
});
|
|
6245
6245
|
CInputGroup.propTypes = {
|
|
6246
|
-
children:
|
|
6247
|
-
className:
|
|
6248
|
-
size:
|
|
6246
|
+
children: PropTypes.node,
|
|
6247
|
+
className: PropTypes.string,
|
|
6248
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6249
6249
|
};
|
|
6250
6250
|
CInputGroup.displayName = 'CInputGroup';
|
|
6251
6251
|
|
|
@@ -6254,9 +6254,9 @@ var CInputGroupText = React.forwardRef(function (_a, ref) {
|
|
|
6254
6254
|
return (React.createElement(Component, __assign({ className: classNames('input-group-text', className) }, rest, { ref: ref }), children));
|
|
6255
6255
|
});
|
|
6256
6256
|
CInputGroupText.propTypes = {
|
|
6257
|
-
children:
|
|
6258
|
-
className:
|
|
6259
|
-
component:
|
|
6257
|
+
children: PropTypes.node,
|
|
6258
|
+
className: PropTypes.string,
|
|
6259
|
+
component: PropTypes.elementType,
|
|
6260
6260
|
};
|
|
6261
6261
|
CInputGroupText.displayName = 'CInputGroupText';
|
|
6262
6262
|
|
|
@@ -6298,27 +6298,27 @@ var CCol = React.forwardRef(function (_a, ref) {
|
|
|
6298
6298
|
});
|
|
6299
6299
|
return (React.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'col', className) }, rest, { ref: ref }), children));
|
|
6300
6300
|
});
|
|
6301
|
-
var span =
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6301
|
+
var span = PropTypes.oneOfType([
|
|
6302
|
+
PropTypes.bool,
|
|
6303
|
+
PropTypes.number,
|
|
6304
|
+
PropTypes.string,
|
|
6305
|
+
PropTypes.oneOf(['auto']),
|
|
6306
6306
|
]);
|
|
6307
|
-
var col =
|
|
6307
|
+
var col = PropTypes.oneOfType([
|
|
6308
6308
|
span,
|
|
6309
|
-
|
|
6309
|
+
PropTypes.shape({
|
|
6310
6310
|
span: span,
|
|
6311
|
-
offset:
|
|
6312
|
-
order:
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6311
|
+
offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
6312
|
+
order: PropTypes.oneOfType([
|
|
6313
|
+
PropTypes.oneOf(['first', 'last']),
|
|
6314
|
+
PropTypes.number,
|
|
6315
|
+
PropTypes.string,
|
|
6316
6316
|
]),
|
|
6317
6317
|
}),
|
|
6318
6318
|
]);
|
|
6319
6319
|
CCol.propTypes = {
|
|
6320
|
-
children:
|
|
6321
|
-
className:
|
|
6320
|
+
children: PropTypes.node,
|
|
6321
|
+
className: PropTypes.string,
|
|
6322
6322
|
xs: col,
|
|
6323
6323
|
sm: col,
|
|
6324
6324
|
md: col,
|
|
@@ -6347,14 +6347,14 @@ var CContainer = React.forwardRef(function (_a, ref) {
|
|
|
6347
6347
|
return (React.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'container', className) }, rest, { ref: ref }), children));
|
|
6348
6348
|
});
|
|
6349
6349
|
CContainer.propTypes = {
|
|
6350
|
-
children:
|
|
6351
|
-
className:
|
|
6352
|
-
sm:
|
|
6353
|
-
md:
|
|
6354
|
-
lg:
|
|
6355
|
-
xl:
|
|
6356
|
-
xxl:
|
|
6357
|
-
fluid:
|
|
6350
|
+
children: PropTypes.node,
|
|
6351
|
+
className: PropTypes.string,
|
|
6352
|
+
sm: PropTypes.bool,
|
|
6353
|
+
md: PropTypes.bool,
|
|
6354
|
+
lg: PropTypes.bool,
|
|
6355
|
+
xl: PropTypes.bool,
|
|
6356
|
+
xxl: PropTypes.bool,
|
|
6357
|
+
fluid: PropTypes.bool,
|
|
6358
6358
|
};
|
|
6359
6359
|
CContainer.displayName = 'CContainer';
|
|
6360
6360
|
|
|
@@ -6390,15 +6390,15 @@ var CRow = React.forwardRef(function (_a, ref) {
|
|
|
6390
6390
|
});
|
|
6391
6391
|
return (React.createElement("div", { className: classNames('row', repsonsiveClassNames, className), ref: ref }, children));
|
|
6392
6392
|
});
|
|
6393
|
-
var bp =
|
|
6394
|
-
cols:
|
|
6395
|
-
gutter:
|
|
6396
|
-
gutterX:
|
|
6397
|
-
gutterY:
|
|
6393
|
+
var bp = PropTypes.shape({
|
|
6394
|
+
cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]),
|
|
6395
|
+
gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6396
|
+
gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6397
|
+
gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6398
6398
|
});
|
|
6399
6399
|
CRow.propTypes = {
|
|
6400
|
-
children:
|
|
6401
|
-
className:
|
|
6400
|
+
children: PropTypes.node,
|
|
6401
|
+
className: PropTypes.string,
|
|
6402
6402
|
xs: bp,
|
|
6403
6403
|
sm: bp,
|
|
6404
6404
|
md: bp,
|
|
@@ -6414,11 +6414,11 @@ var CHeader = React.forwardRef(function (_a, ref) {
|
|
|
6414
6414
|
return (React.createElement("div", __assign({ className: classNames('header', (_b = {}, _b["header-".concat(position)] = position, _b), className) }, rest, { ref: ref }), container ? (React.createElement("div", { className: typeof container === 'string' ? "container-".concat(container) : 'container' }, children)) : (React.createElement(React.Fragment, null, children))));
|
|
6415
6415
|
});
|
|
6416
6416
|
CHeader.propTypes = {
|
|
6417
|
-
children:
|
|
6418
|
-
className:
|
|
6419
|
-
container:
|
|
6420
|
-
|
|
6421
|
-
|
|
6417
|
+
children: PropTypes.node,
|
|
6418
|
+
className: PropTypes.string,
|
|
6419
|
+
container: PropTypes.oneOfType([
|
|
6420
|
+
PropTypes.bool,
|
|
6421
|
+
PropTypes.oneOf([
|
|
6422
6422
|
'sm',
|
|
6423
6423
|
'md',
|
|
6424
6424
|
'lg',
|
|
@@ -6427,7 +6427,7 @@ CHeader.propTypes = {
|
|
|
6427
6427
|
'fluid',
|
|
6428
6428
|
]),
|
|
6429
6429
|
]),
|
|
6430
|
-
position:
|
|
6430
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
6431
6431
|
};
|
|
6432
6432
|
CHeader.displayName = 'CHeader';
|
|
6433
6433
|
|
|
@@ -6436,9 +6436,9 @@ var CHeaderBrand = React.forwardRef(function (_a, ref) {
|
|
|
6436
6436
|
return (React.createElement(Component, __assign({ className: classNames('header-brand', className) }, rest, { ref: ref }), children));
|
|
6437
6437
|
});
|
|
6438
6438
|
CHeaderBrand.propTypes = {
|
|
6439
|
-
children:
|
|
6440
|
-
className:
|
|
6441
|
-
component:
|
|
6439
|
+
children: PropTypes.node,
|
|
6440
|
+
className: PropTypes.string,
|
|
6441
|
+
component: PropTypes.elementType,
|
|
6442
6442
|
};
|
|
6443
6443
|
CHeaderBrand.displayName = 'CHeaderBrand';
|
|
6444
6444
|
|
|
@@ -6447,7 +6447,7 @@ var CHeaderDivider = React.forwardRef(function (_a, ref) {
|
|
|
6447
6447
|
return React.createElement("div", __assign({ className: classNames('header-divider', className) }, rest, { ref: ref }));
|
|
6448
6448
|
});
|
|
6449
6449
|
CHeaderDivider.propTypes = {
|
|
6450
|
-
className:
|
|
6450
|
+
className: PropTypes.string,
|
|
6451
6451
|
};
|
|
6452
6452
|
CHeaderDivider.displayName = 'CHeaderDivider';
|
|
6453
6453
|
|
|
@@ -6456,9 +6456,9 @@ var CHeaderNav = React.forwardRef(function (_a, ref) {
|
|
|
6456
6456
|
return (React.createElement(Component, __assign({ className: classNames('header-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6457
6457
|
});
|
|
6458
6458
|
CHeaderNav.propTypes = {
|
|
6459
|
-
children:
|
|
6460
|
-
className:
|
|
6461
|
-
component:
|
|
6459
|
+
children: PropTypes.node,
|
|
6460
|
+
className: PropTypes.string,
|
|
6461
|
+
component: PropTypes.elementType,
|
|
6462
6462
|
};
|
|
6463
6463
|
CHeaderNav.displayName = 'CHeaderNav';
|
|
6464
6464
|
|
|
@@ -6467,8 +6467,8 @@ var CHeaderText = React.forwardRef(function (_a, ref) {
|
|
|
6467
6467
|
return (React.createElement("span", __assign({ className: classNames('header-text', className) }, rest, { ref: ref }), children));
|
|
6468
6468
|
});
|
|
6469
6469
|
CHeaderText.propTypes = {
|
|
6470
|
-
children:
|
|
6471
|
-
className:
|
|
6470
|
+
children: PropTypes.node,
|
|
6471
|
+
className: PropTypes.string,
|
|
6472
6472
|
};
|
|
6473
6473
|
CHeaderText.displayName = 'CHeaderText';
|
|
6474
6474
|
|
|
@@ -6477,8 +6477,8 @@ var CHeaderToggler = React.forwardRef(function (_a, ref) {
|
|
|
6477
6477
|
return (React.createElement("button", __assign({ type: "button", className: classNames('header-toggler', className) }, rest, { ref: ref }), children !== null && children !== void 0 ? children : React.createElement("span", { className: "header-toggler-icon" })));
|
|
6478
6478
|
});
|
|
6479
6479
|
CHeaderToggler.propTypes = {
|
|
6480
|
-
children:
|
|
6481
|
-
className:
|
|
6480
|
+
children: PropTypes.node,
|
|
6481
|
+
className: PropTypes.string,
|
|
6482
6482
|
};
|
|
6483
6483
|
CHeaderToggler.displayName = 'CHeaderToggler';
|
|
6484
6484
|
|
|
@@ -6494,11 +6494,11 @@ var CImage = React.forwardRef(function (_a, ref) {
|
|
|
6494
6494
|
_b), className) || undefined }, rest, { ref: ref })));
|
|
6495
6495
|
});
|
|
6496
6496
|
CImage.propTypes = {
|
|
6497
|
-
align:
|
|
6498
|
-
className:
|
|
6499
|
-
fluid:
|
|
6500
|
-
rounded:
|
|
6501
|
-
thumbnail:
|
|
6497
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
6498
|
+
className: PropTypes.string,
|
|
6499
|
+
fluid: PropTypes.bool,
|
|
6500
|
+
rounded: PropTypes.bool,
|
|
6501
|
+
thumbnail: PropTypes.bool,
|
|
6502
6502
|
};
|
|
6503
6503
|
CImage.displayName = 'CImage';
|
|
6504
6504
|
|
|
@@ -6512,11 +6512,11 @@ var CListGroup = React.forwardRef(function (_a, ref) {
|
|
|
6512
6512
|
_b), className), ref: ref }, children));
|
|
6513
6513
|
});
|
|
6514
6514
|
CListGroup.propTypes = {
|
|
6515
|
-
children:
|
|
6516
|
-
className:
|
|
6517
|
-
component:
|
|
6518
|
-
flush:
|
|
6519
|
-
layout:
|
|
6515
|
+
children: PropTypes.node,
|
|
6516
|
+
className: PropTypes.string,
|
|
6517
|
+
component: PropTypes.elementType,
|
|
6518
|
+
flush: PropTypes.bool,
|
|
6519
|
+
layout: PropTypes.oneOf([
|
|
6520
6520
|
'horizontal',
|
|
6521
6521
|
'horizontal-sm',
|
|
6522
6522
|
'horizontal-md',
|
|
@@ -6545,12 +6545,12 @@ var CListGroupItem = React.forwardRef(function (_a, ref) {
|
|
|
6545
6545
|
_b), className) }, rest), children));
|
|
6546
6546
|
});
|
|
6547
6547
|
CListGroupItem.propTypes = {
|
|
6548
|
-
active:
|
|
6549
|
-
children:
|
|
6550
|
-
className:
|
|
6548
|
+
active: PropTypes.bool,
|
|
6549
|
+
children: PropTypes.node,
|
|
6550
|
+
className: PropTypes.string,
|
|
6551
6551
|
color: colorPropType,
|
|
6552
|
-
component:
|
|
6553
|
-
disabled:
|
|
6552
|
+
component: PropTypes.elementType,
|
|
6553
|
+
disabled: PropTypes.bool,
|
|
6554
6554
|
};
|
|
6555
6555
|
CListGroupItem.displayName = 'CListGroupItem';
|
|
6556
6556
|
|
|
@@ -6559,8 +6559,8 @@ var CModalContent = React.forwardRef(function (_a, ref) {
|
|
|
6559
6559
|
return (React.createElement("div", __assign({ className: classNames('modal-content', className) }, rest, { ref: ref }), children));
|
|
6560
6560
|
});
|
|
6561
6561
|
CModalContent.propTypes = {
|
|
6562
|
-
children:
|
|
6563
|
-
className:
|
|
6562
|
+
children: PropTypes.node,
|
|
6563
|
+
className: PropTypes.string,
|
|
6564
6564
|
};
|
|
6565
6565
|
CModalContent.displayName = 'CModalContent';
|
|
6566
6566
|
|
|
@@ -6578,15 +6578,15 @@ var CModalDialog = React.forwardRef(function (_a, ref) {
|
|
|
6578
6578
|
_b), className) }, rest, { ref: ref }), children));
|
|
6579
6579
|
});
|
|
6580
6580
|
CModalDialog.propTypes = {
|
|
6581
|
-
alignment:
|
|
6582
|
-
children:
|
|
6583
|
-
className:
|
|
6584
|
-
fullscreen:
|
|
6585
|
-
|
|
6586
|
-
|
|
6581
|
+
alignment: PropTypes.oneOf(['top', 'center']),
|
|
6582
|
+
children: PropTypes.node,
|
|
6583
|
+
className: PropTypes.string,
|
|
6584
|
+
fullscreen: PropTypes.oneOfType([
|
|
6585
|
+
PropTypes.bool,
|
|
6586
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6587
6587
|
]),
|
|
6588
|
-
scrollable:
|
|
6589
|
-
size:
|
|
6588
|
+
scrollable: PropTypes.bool,
|
|
6589
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
6590
6590
|
};
|
|
6591
6591
|
CModalDialog.displayName = 'CModalDialog';
|
|
6592
6592
|
|
|
@@ -6676,25 +6676,25 @@ var CModal = React.forwardRef(function (_a, ref) {
|
|
|
6676
6676
|
React.createElement(CBackdrop, { visible: _visible })))));
|
|
6677
6677
|
});
|
|
6678
6678
|
CModal.propTypes = {
|
|
6679
|
-
alignment:
|
|
6680
|
-
backdrop:
|
|
6681
|
-
children:
|
|
6682
|
-
className:
|
|
6683
|
-
duration:
|
|
6684
|
-
fullscreen:
|
|
6685
|
-
|
|
6686
|
-
|
|
6679
|
+
alignment: PropTypes.oneOf(['top', 'center']),
|
|
6680
|
+
backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),
|
|
6681
|
+
children: PropTypes.node,
|
|
6682
|
+
className: PropTypes.string,
|
|
6683
|
+
duration: PropTypes.number,
|
|
6684
|
+
fullscreen: PropTypes.oneOfType([
|
|
6685
|
+
PropTypes.bool,
|
|
6686
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6687
6687
|
]),
|
|
6688
|
-
keyboard:
|
|
6689
|
-
onClose:
|
|
6690
|
-
onClosePrevented:
|
|
6691
|
-
onShow:
|
|
6692
|
-
portal:
|
|
6693
|
-
scrollable:
|
|
6694
|
-
size:
|
|
6695
|
-
transition:
|
|
6696
|
-
unmountOnClose:
|
|
6697
|
-
visible:
|
|
6688
|
+
keyboard: PropTypes.bool,
|
|
6689
|
+
onClose: PropTypes.func,
|
|
6690
|
+
onClosePrevented: PropTypes.func,
|
|
6691
|
+
onShow: PropTypes.func,
|
|
6692
|
+
portal: PropTypes.bool,
|
|
6693
|
+
scrollable: PropTypes.bool,
|
|
6694
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
6695
|
+
transition: PropTypes.bool,
|
|
6696
|
+
unmountOnClose: PropTypes.bool,
|
|
6697
|
+
visible: PropTypes.bool,
|
|
6698
6698
|
};
|
|
6699
6699
|
CModal.displayName = 'CModal';
|
|
6700
6700
|
|
|
@@ -6703,8 +6703,8 @@ var CModalBody = React.forwardRef(function (_a, ref) {
|
|
|
6703
6703
|
return (React.createElement("div", __assign({ className: classNames('modal-body', className) }, rest, { ref: ref }), children));
|
|
6704
6704
|
});
|
|
6705
6705
|
CModalBody.propTypes = {
|
|
6706
|
-
children:
|
|
6707
|
-
className:
|
|
6706
|
+
children: PropTypes.node,
|
|
6707
|
+
className: PropTypes.string,
|
|
6708
6708
|
};
|
|
6709
6709
|
CModalBody.displayName = 'CModalBody';
|
|
6710
6710
|
|
|
@@ -6713,8 +6713,8 @@ var CModalFooter = React.forwardRef(function (_a, ref) {
|
|
|
6713
6713
|
return (React.createElement("div", __assign({ className: classNames('modal-footer', className) }, rest, { ref: ref }), children));
|
|
6714
6714
|
});
|
|
6715
6715
|
CModalFooter.propTypes = {
|
|
6716
|
-
children:
|
|
6717
|
-
className:
|
|
6716
|
+
children: PropTypes.node,
|
|
6717
|
+
className: PropTypes.string,
|
|
6718
6718
|
};
|
|
6719
6719
|
CModalFooter.displayName = 'CModalFooter';
|
|
6720
6720
|
|
|
@@ -6726,9 +6726,9 @@ var CModalHeader = React.forwardRef(function (_a, ref) {
|
|
|
6726
6726
|
closeButton && React.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })));
|
|
6727
6727
|
});
|
|
6728
6728
|
CModalHeader.propTypes = {
|
|
6729
|
-
children:
|
|
6730
|
-
className:
|
|
6731
|
-
closeButton:
|
|
6729
|
+
children: PropTypes.node,
|
|
6730
|
+
className: PropTypes.string,
|
|
6731
|
+
closeButton: PropTypes.bool,
|
|
6732
6732
|
};
|
|
6733
6733
|
CModalHeader.displayName = 'CModalHeader';
|
|
6734
6734
|
|
|
@@ -6737,9 +6737,9 @@ var CModalTitle = React.forwardRef(function (_a, ref) {
|
|
|
6737
6737
|
return (React.createElement(Component, __assign({ className: classNames('modal-title', className) }, rest, { ref: ref }), children));
|
|
6738
6738
|
});
|
|
6739
6739
|
CModalTitle.propTypes = {
|
|
6740
|
-
children:
|
|
6741
|
-
className:
|
|
6742
|
-
component:
|
|
6740
|
+
children: PropTypes.node,
|
|
6741
|
+
className: PropTypes.string,
|
|
6742
|
+
component: PropTypes.elementType,
|
|
6743
6743
|
};
|
|
6744
6744
|
CModalTitle.displayName = 'CModalTitle';
|
|
6745
6745
|
|
|
@@ -6752,11 +6752,11 @@ var CNav = React.forwardRef(function (_a, ref) {
|
|
|
6752
6752
|
_b), className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6753
6753
|
});
|
|
6754
6754
|
CNav.propTypes = {
|
|
6755
|
-
children:
|
|
6756
|
-
className:
|
|
6757
|
-
component:
|
|
6758
|
-
layout:
|
|
6759
|
-
variant:
|
|
6755
|
+
children: PropTypes.node,
|
|
6756
|
+
className: PropTypes.string,
|
|
6757
|
+
component: PropTypes.elementType,
|
|
6758
|
+
layout: PropTypes.oneOf(['fill', 'justified']),
|
|
6759
|
+
variant: PropTypes.oneOf(['tabs', 'pills']),
|
|
6760
6760
|
};
|
|
6761
6761
|
CNav.displayName = 'CNav';
|
|
6762
6762
|
|
|
@@ -6765,8 +6765,8 @@ var CNavGroupItems = React.forwardRef(function (_a, ref) {
|
|
|
6765
6765
|
return (React.createElement("ul", __assign({ className: classNames('nav-group-items', className) }, rest, { ref: ref }), children));
|
|
6766
6766
|
});
|
|
6767
6767
|
CNavGroupItems.propTypes = {
|
|
6768
|
-
children:
|
|
6769
|
-
className:
|
|
6768
|
+
children: PropTypes.node,
|
|
6769
|
+
className: PropTypes.string,
|
|
6770
6770
|
};
|
|
6771
6771
|
CNavGroupItems.displayName = 'CNavGroupItems';
|
|
6772
6772
|
|
|
@@ -6790,8 +6790,8 @@ var CSidebarNav = React.forwardRef(function (_a, ref) {
|
|
|
6790
6790
|
}))));
|
|
6791
6791
|
});
|
|
6792
6792
|
CSidebarNav.propTypes = {
|
|
6793
|
-
children:
|
|
6794
|
-
className:
|
|
6793
|
+
children: PropTypes.node,
|
|
6794
|
+
className: PropTypes.string,
|
|
6795
6795
|
};
|
|
6796
6796
|
CSidebarNav.displayName = 'CSidebarNav';
|
|
6797
6797
|
|
|
@@ -6852,12 +6852,12 @@ var CNavGroup = React.forwardRef(function (_a, ref) {
|
|
|
6852
6852
|
}))); })));
|
|
6853
6853
|
});
|
|
6854
6854
|
CNavGroup.propTypes = {
|
|
6855
|
-
children:
|
|
6856
|
-
className:
|
|
6857
|
-
compact:
|
|
6858
|
-
idx:
|
|
6859
|
-
toggler:
|
|
6860
|
-
visible:
|
|
6855
|
+
children: PropTypes.node,
|
|
6856
|
+
className: PropTypes.string,
|
|
6857
|
+
compact: PropTypes.bool,
|
|
6858
|
+
idx: PropTypes.string,
|
|
6859
|
+
toggler: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
6860
|
+
visible: PropTypes.bool,
|
|
6861
6861
|
};
|
|
6862
6862
|
CNavGroup.displayName = 'CNavGroup';
|
|
6863
6863
|
|
|
@@ -6874,9 +6874,9 @@ var CNavLink = React.forwardRef(function (_a, ref) {
|
|
|
6874
6874
|
return (React.createElement(CLink, __assign({ className: classNames('nav-link', className) }, rest, { ref: forkedRef }), children));
|
|
6875
6875
|
});
|
|
6876
6876
|
CNavLink.propTypes = {
|
|
6877
|
-
children:
|
|
6878
|
-
className:
|
|
6879
|
-
idx:
|
|
6877
|
+
children: PropTypes.node,
|
|
6878
|
+
className: PropTypes.string,
|
|
6879
|
+
idx: PropTypes.string,
|
|
6880
6880
|
};
|
|
6881
6881
|
CNavLink.displayName = 'CNavLink';
|
|
6882
6882
|
|
|
@@ -6885,8 +6885,8 @@ var CNavItem = React.forwardRef(function (_a, ref) {
|
|
|
6885
6885
|
return (React.createElement("li", { className: classNames('nav-item', className), ref: ref }, rest.href || rest.to ? (React.createElement(CNavLink, __assign({ className: className }, rest), children)) : (children)));
|
|
6886
6886
|
});
|
|
6887
6887
|
CNavItem.propTypes = {
|
|
6888
|
-
children:
|
|
6889
|
-
className:
|
|
6888
|
+
children: PropTypes.node,
|
|
6889
|
+
className: PropTypes.string,
|
|
6890
6890
|
};
|
|
6891
6891
|
CNavItem.displayName = 'CNavItem';
|
|
6892
6892
|
|
|
@@ -6895,8 +6895,8 @@ var CNavTitle = React.forwardRef(function (_a, ref) {
|
|
|
6895
6895
|
return (React.createElement("li", __assign({ className: classNames('nav-title', className) }, rest, { ref: ref }), children));
|
|
6896
6896
|
});
|
|
6897
6897
|
CNavTitle.propTypes = {
|
|
6898
|
-
children:
|
|
6899
|
-
className:
|
|
6898
|
+
children: PropTypes.node,
|
|
6899
|
+
className: PropTypes.string,
|
|
6900
6900
|
};
|
|
6901
6901
|
CNavTitle.displayName = 'CNavTitle';
|
|
6902
6902
|
|
|
@@ -6910,14 +6910,14 @@ var CNavbar = React.forwardRef(function (_a, ref) {
|
|
|
6910
6910
|
_b), placement, className) }, rest, { ref: ref }), container ? (React.createElement("div", { className: typeof container === 'string' ? "container-".concat(container) : 'container' }, children)) : (React.createElement(React.Fragment, null, children))));
|
|
6911
6911
|
});
|
|
6912
6912
|
CNavbar.propTypes = {
|
|
6913
|
-
children:
|
|
6914
|
-
className:
|
|
6913
|
+
children: PropTypes.node,
|
|
6914
|
+
className: PropTypes.string,
|
|
6915
6915
|
color: colorPropType,
|
|
6916
|
-
colorScheme:
|
|
6917
|
-
component:
|
|
6918
|
-
container:
|
|
6919
|
-
|
|
6920
|
-
|
|
6916
|
+
colorScheme: PropTypes.oneOf(['dark', 'light']),
|
|
6917
|
+
component: PropTypes.elementType,
|
|
6918
|
+
container: PropTypes.oneOfType([
|
|
6919
|
+
PropTypes.bool,
|
|
6920
|
+
PropTypes.oneOf([
|
|
6921
6921
|
'sm',
|
|
6922
6922
|
'md',
|
|
6923
6923
|
'lg',
|
|
@@ -6926,11 +6926,11 @@ CNavbar.propTypes = {
|
|
|
6926
6926
|
'fluid',
|
|
6927
6927
|
]),
|
|
6928
6928
|
]),
|
|
6929
|
-
expand:
|
|
6930
|
-
|
|
6931
|
-
|
|
6929
|
+
expand: PropTypes.oneOfType([
|
|
6930
|
+
PropTypes.bool,
|
|
6931
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6932
6932
|
]),
|
|
6933
|
-
placement:
|
|
6933
|
+
placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
|
|
6934
6934
|
};
|
|
6935
6935
|
CNavbar.displayName = 'CNavbar';
|
|
6936
6936
|
|
|
@@ -6940,9 +6940,9 @@ var CNavbarBrand = React.forwardRef(function (_a, ref) {
|
|
|
6940
6940
|
return (React.createElement(Component, __assign({ className: classNames('navbar-brand', className) }, rest, { ref: ref }), children));
|
|
6941
6941
|
});
|
|
6942
6942
|
CNavbarBrand.propTypes = {
|
|
6943
|
-
children:
|
|
6944
|
-
className:
|
|
6945
|
-
component:
|
|
6943
|
+
children: PropTypes.node,
|
|
6944
|
+
className: PropTypes.string,
|
|
6945
|
+
component: PropTypes.elementType,
|
|
6946
6946
|
};
|
|
6947
6947
|
CNavbarBrand.displayName = 'CNavbarBrand';
|
|
6948
6948
|
|
|
@@ -6951,9 +6951,9 @@ var CNavbarNav = React.forwardRef(function (_a, ref) {
|
|
|
6951
6951
|
return (React.createElement(Component, __assign({ className: classNames('navbar-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6952
6952
|
});
|
|
6953
6953
|
CNavbarNav.propTypes = {
|
|
6954
|
-
children:
|
|
6955
|
-
className:
|
|
6956
|
-
component:
|
|
6954
|
+
children: PropTypes.node,
|
|
6955
|
+
className: PropTypes.string,
|
|
6956
|
+
component: PropTypes.elementType,
|
|
6957
6957
|
};
|
|
6958
6958
|
CNavbarNav.displayName = 'CNavbarNav';
|
|
6959
6959
|
|
|
@@ -6962,8 +6962,8 @@ var CNavbarText = React.forwardRef(function (_a, ref) {
|
|
|
6962
6962
|
return (React.createElement("span", __assign({ className: classNames('navbar-text', className) }, rest, { ref: ref }), children));
|
|
6963
6963
|
});
|
|
6964
6964
|
CNavbarText.propTypes = {
|
|
6965
|
-
children:
|
|
6966
|
-
className:
|
|
6965
|
+
children: PropTypes.node,
|
|
6966
|
+
className: PropTypes.string,
|
|
6967
6967
|
};
|
|
6968
6968
|
CNavbarText.displayName = 'CNavbarText';
|
|
6969
6969
|
|
|
@@ -6972,8 +6972,8 @@ var CNavbarToggler = React.forwardRef(function (_a, ref) {
|
|
|
6972
6972
|
return (React.createElement("button", __assign({ type: "button", className: classNames('navbar-toggler', className) }, rest, { ref: ref }), children !== null && children !== void 0 ? children : React.createElement("span", { className: "navbar-toggler-icon" })));
|
|
6973
6973
|
});
|
|
6974
6974
|
CNavbarToggler.propTypes = {
|
|
6975
|
-
children:
|
|
6976
|
-
className:
|
|
6975
|
+
children: PropTypes.node,
|
|
6976
|
+
className: PropTypes.string,
|
|
6977
6977
|
};
|
|
6978
6978
|
CNavbarToggler.displayName = 'CNavbarToggler';
|
|
6979
6979
|
|
|
@@ -7025,21 +7025,21 @@ var COffcanvas = React.forwardRef(function (_a, ref) {
|
|
|
7025
7025
|
React.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleBackdropDismiss, visible: _visible })))));
|
|
7026
7026
|
});
|
|
7027
7027
|
COffcanvas.propTypes = {
|
|
7028
|
-
backdrop:
|
|
7029
|
-
children:
|
|
7030
|
-
className:
|
|
7031
|
-
keyboard:
|
|
7032
|
-
onHide:
|
|
7033
|
-
onShow:
|
|
7034
|
-
placement:
|
|
7028
|
+
backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),
|
|
7029
|
+
children: PropTypes.node,
|
|
7030
|
+
className: PropTypes.string,
|
|
7031
|
+
keyboard: PropTypes.bool,
|
|
7032
|
+
onHide: PropTypes.func,
|
|
7033
|
+
onShow: PropTypes.func,
|
|
7034
|
+
placement: PropTypes.oneOf(['start', 'end', 'top', 'bottom'])
|
|
7035
7035
|
.isRequired,
|
|
7036
|
-
portal:
|
|
7037
|
-
responsive:
|
|
7038
|
-
|
|
7039
|
-
|
|
7036
|
+
portal: PropTypes.bool,
|
|
7037
|
+
responsive: PropTypes.oneOfType([
|
|
7038
|
+
PropTypes.bool,
|
|
7039
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7040
7040
|
]),
|
|
7041
|
-
scroll:
|
|
7042
|
-
visible:
|
|
7041
|
+
scroll: PropTypes.bool,
|
|
7042
|
+
visible: PropTypes.bool,
|
|
7043
7043
|
};
|
|
7044
7044
|
COffcanvas.displayName = 'COffcanvas';
|
|
7045
7045
|
|
|
@@ -7048,8 +7048,8 @@ var COffcanvasBody = React.forwardRef(function (_a, ref) {
|
|
|
7048
7048
|
return (React.createElement("div", __assign({ className: classNames('offcanvas-body', className) }, rest, { ref: ref }), children));
|
|
7049
7049
|
});
|
|
7050
7050
|
COffcanvasBody.propTypes = {
|
|
7051
|
-
children:
|
|
7052
|
-
className:
|
|
7051
|
+
children: PropTypes.node,
|
|
7052
|
+
className: PropTypes.string,
|
|
7053
7053
|
};
|
|
7054
7054
|
COffcanvasBody.displayName = 'COffcanvasBody';
|
|
7055
7055
|
|
|
@@ -7058,8 +7058,8 @@ var COffcanvasHeader = React.forwardRef(function (_a, ref) {
|
|
|
7058
7058
|
return (React.createElement("div", __assign({ className: classNames('offcanvas-header', className) }, rest, { ref: ref }), children));
|
|
7059
7059
|
});
|
|
7060
7060
|
COffcanvasHeader.propTypes = {
|
|
7061
|
-
children:
|
|
7062
|
-
className:
|
|
7061
|
+
children: PropTypes.node,
|
|
7062
|
+
className: PropTypes.string,
|
|
7063
7063
|
};
|
|
7064
7064
|
COffcanvasHeader.displayName = 'COffcanvasHeader';
|
|
7065
7065
|
|
|
@@ -7068,9 +7068,9 @@ var COffcanvasTitle = React.forwardRef(function (_a, ref) {
|
|
|
7068
7068
|
return (React.createElement(Component, __assign({ className: classNames('offcanvas-title', className) }, rest, { ref: ref }), children));
|
|
7069
7069
|
});
|
|
7070
7070
|
COffcanvasTitle.propTypes = {
|
|
7071
|
-
children:
|
|
7072
|
-
className:
|
|
7073
|
-
component:
|
|
7071
|
+
children: PropTypes.node,
|
|
7072
|
+
className: PropTypes.string,
|
|
7073
|
+
component: PropTypes.elementType,
|
|
7074
7074
|
};
|
|
7075
7075
|
COffcanvasTitle.displayName = 'COffcanvasTitle';
|
|
7076
7076
|
|
|
@@ -7084,10 +7084,10 @@ var CPagination = React.forwardRef(function (_a, ref) {
|
|
|
7084
7084
|
_b), className) }, children)));
|
|
7085
7085
|
});
|
|
7086
7086
|
CPagination.propTypes = {
|
|
7087
|
-
align:
|
|
7088
|
-
children:
|
|
7089
|
-
className:
|
|
7090
|
-
size:
|
|
7087
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
7088
|
+
children: PropTypes.node,
|
|
7089
|
+
className: PropTypes.string,
|
|
7090
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
7091
7091
|
};
|
|
7092
7092
|
CPagination.displayName = 'CPagination';
|
|
7093
7093
|
|
|
@@ -7100,9 +7100,9 @@ var CPaginationItem = React.forwardRef(function (_a, ref) {
|
|
|
7100
7100
|
}, className) }, (rest.active && { 'aria-current': 'page' })), Component === 'a' ? (React.createElement(CLink, __assign({ className: "page-link", component: Component }, rest, { ref: ref }), children)) : (React.createElement(Component, { className: "page-link", ref: ref }, children))));
|
|
7101
7101
|
});
|
|
7102
7102
|
CPaginationItem.propTypes = {
|
|
7103
|
-
children:
|
|
7104
|
-
className:
|
|
7105
|
-
component:
|
|
7103
|
+
children: PropTypes.node,
|
|
7104
|
+
className: PropTypes.string,
|
|
7105
|
+
component: PropTypes.elementType,
|
|
7106
7106
|
};
|
|
7107
7107
|
CPaginationItem.displayName = 'CPaginationItem';
|
|
7108
7108
|
|
|
@@ -7135,12 +7135,12 @@ var CPlaceholder = React.forwardRef(function (_a, ref) {
|
|
|
7135
7135
|
_b), repsonsiveClassNames, className) }, rest, { ref: ref }), children));
|
|
7136
7136
|
});
|
|
7137
7137
|
CPlaceholder.propTypes = {
|
|
7138
|
-
animation:
|
|
7139
|
-
children:
|
|
7140
|
-
className:
|
|
7138
|
+
animation: PropTypes.oneOf(['glow', 'wave']),
|
|
7139
|
+
children: PropTypes.node,
|
|
7140
|
+
className: PropTypes.string,
|
|
7141
7141
|
color: colorPropType,
|
|
7142
|
-
component:
|
|
7143
|
-
size:
|
|
7142
|
+
component: PropTypes.elementType,
|
|
7143
|
+
size: PropTypes.oneOf(['xs', 'sm', 'lg']),
|
|
7144
7144
|
};
|
|
7145
7145
|
CPlaceholder.displayName = 'CPlaceholder';
|
|
7146
7146
|
|
|
@@ -7154,12 +7154,12 @@ var CProgressBar = React.forwardRef(function (_a, ref) {
|
|
|
7154
7154
|
_b), className), role: "progressbar", style: { width: "".concat(value, "%") }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
|
|
7155
7155
|
});
|
|
7156
7156
|
CProgressBar.propTypes = {
|
|
7157
|
-
animated:
|
|
7158
|
-
children:
|
|
7159
|
-
className:
|
|
7157
|
+
animated: PropTypes.bool,
|
|
7158
|
+
children: PropTypes.node,
|
|
7159
|
+
className: PropTypes.string,
|
|
7160
7160
|
color: colorPropType,
|
|
7161
|
-
value:
|
|
7162
|
-
variant:
|
|
7161
|
+
value: PropTypes.number,
|
|
7162
|
+
variant: PropTypes.oneOf(['striped']),
|
|
7163
7163
|
};
|
|
7164
7164
|
CProgressBar.displayName = 'CProgressBar';
|
|
7165
7165
|
|
|
@@ -7171,12 +7171,12 @@ var CProgress = React.forwardRef(function (_a, ref) {
|
|
|
7171
7171
|
}, className), style: height ? { height: "".concat(height, "px") } : {}, ref: ref }, value ? (React.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
|
|
7172
7172
|
});
|
|
7173
7173
|
CProgress.propTypes = {
|
|
7174
|
-
children:
|
|
7175
|
-
className:
|
|
7176
|
-
height:
|
|
7177
|
-
thin:
|
|
7178
|
-
value:
|
|
7179
|
-
white:
|
|
7174
|
+
children: PropTypes.node,
|
|
7175
|
+
className: PropTypes.string,
|
|
7176
|
+
height: PropTypes.number,
|
|
7177
|
+
thin: PropTypes.bool,
|
|
7178
|
+
value: PropTypes.number,
|
|
7179
|
+
white: PropTypes.bool,
|
|
7180
7180
|
};
|
|
7181
7181
|
CProgress.displayName = 'CProgress';
|
|
7182
7182
|
|
|
@@ -7224,16 +7224,16 @@ var CPopover = function (_a) {
|
|
|
7224
7224
|
React.createElement("div", { className: "popover-body" }, content))); }), document.body)));
|
|
7225
7225
|
};
|
|
7226
7226
|
CPopover.propTypes = {
|
|
7227
|
-
children:
|
|
7228
|
-
className:
|
|
7229
|
-
content:
|
|
7230
|
-
offset:
|
|
7231
|
-
onHide:
|
|
7232
|
-
onShow:
|
|
7233
|
-
placement:
|
|
7234
|
-
title:
|
|
7227
|
+
children: PropTypes.node,
|
|
7228
|
+
className: PropTypes.string,
|
|
7229
|
+
content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7230
|
+
offset: PropTypes.any,
|
|
7231
|
+
onHide: PropTypes.func,
|
|
7232
|
+
onShow: PropTypes.func,
|
|
7233
|
+
placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
|
|
7234
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7235
7235
|
trigger: triggerPropType,
|
|
7236
|
-
visible:
|
|
7236
|
+
visible: PropTypes.bool,
|
|
7237
7237
|
};
|
|
7238
7238
|
CPopover.displayName = 'CPopover';
|
|
7239
7239
|
|
|
@@ -7327,17 +7327,17 @@ var CSidebar = React.forwardRef(function (_a, ref) {
|
|
|
7327
7327
|
ReactDOM.createPortal(React.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body)));
|
|
7328
7328
|
});
|
|
7329
7329
|
CSidebar.propTypes = {
|
|
7330
|
-
children:
|
|
7331
|
-
className:
|
|
7332
|
-
narrow:
|
|
7333
|
-
onHide:
|
|
7334
|
-
onShow:
|
|
7335
|
-
onVisibleChange:
|
|
7336
|
-
overlaid:
|
|
7337
|
-
position:
|
|
7338
|
-
size:
|
|
7339
|
-
unfoldable:
|
|
7340
|
-
visible:
|
|
7330
|
+
children: PropTypes.node,
|
|
7331
|
+
className: PropTypes.string,
|
|
7332
|
+
narrow: PropTypes.bool,
|
|
7333
|
+
onHide: PropTypes.func,
|
|
7334
|
+
onShow: PropTypes.func,
|
|
7335
|
+
onVisibleChange: PropTypes.func,
|
|
7336
|
+
overlaid: PropTypes.bool,
|
|
7337
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
7338
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
7339
|
+
unfoldable: PropTypes.bool,
|
|
7340
|
+
visible: PropTypes.bool,
|
|
7341
7341
|
};
|
|
7342
7342
|
CSidebar.displayName = 'CSidebar';
|
|
7343
7343
|
|
|
@@ -7346,8 +7346,8 @@ var CSidebarBrand = React.forwardRef(function (_a, ref) {
|
|
|
7346
7346
|
return (React.createElement("div", __assign({ className: classNames('sidebar-brand', className), ref: ref }, rest), children));
|
|
7347
7347
|
});
|
|
7348
7348
|
CSidebarBrand.propTypes = {
|
|
7349
|
-
children:
|
|
7350
|
-
className:
|
|
7349
|
+
children: PropTypes.node,
|
|
7350
|
+
className: PropTypes.string,
|
|
7351
7351
|
};
|
|
7352
7352
|
CSidebarBrand.displayName = 'CSidebarBrand';
|
|
7353
7353
|
|
|
@@ -7356,8 +7356,8 @@ var CSidebarFooter = React.forwardRef(function (_a, ref) {
|
|
|
7356
7356
|
return (React.createElement("div", __assign({ className: classNames('sidebar-footer', className), ref: ref }, rest), children));
|
|
7357
7357
|
});
|
|
7358
7358
|
CSidebarFooter.propTypes = {
|
|
7359
|
-
children:
|
|
7360
|
-
className:
|
|
7359
|
+
children: PropTypes.node,
|
|
7360
|
+
className: PropTypes.string,
|
|
7361
7361
|
};
|
|
7362
7362
|
CSidebarFooter.displayName = 'CSidebarFooter';
|
|
7363
7363
|
|
|
@@ -7366,8 +7366,8 @@ var CSidebarToggler = React.forwardRef(function (_a, ref) {
|
|
|
7366
7366
|
return (React.createElement("button", __assign({ className: classNames('sidebar-toggler', className), ref: ref }, rest), children));
|
|
7367
7367
|
});
|
|
7368
7368
|
CSidebarToggler.propTypes = {
|
|
7369
|
-
children:
|
|
7370
|
-
className:
|
|
7369
|
+
children: PropTypes.node,
|
|
7370
|
+
className: PropTypes.string,
|
|
7371
7371
|
};
|
|
7372
7372
|
CSidebarToggler.displayName = 'CSidebarToggler';
|
|
7373
7373
|
|
|
@@ -7376,8 +7376,8 @@ var CSidebarHeader = React.forwardRef(function (_a, ref) {
|
|
|
7376
7376
|
return (React.createElement("div", __assign({ className: classNames('sidebar-header', className), ref: ref }, rest), children));
|
|
7377
7377
|
});
|
|
7378
7378
|
CSidebarHeader.propTypes = {
|
|
7379
|
-
children:
|
|
7380
|
-
className:
|
|
7379
|
+
children: PropTypes.node,
|
|
7380
|
+
className: PropTypes.string,
|
|
7381
7381
|
};
|
|
7382
7382
|
CSidebarHeader.displayName = 'CSidebarHeader';
|
|
7383
7383
|
|
|
@@ -7387,12 +7387,12 @@ var CSpinner = React.forwardRef(function (_a, ref) {
|
|
|
7387
7387
|
React.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
|
|
7388
7388
|
});
|
|
7389
7389
|
CSpinner.propTypes = {
|
|
7390
|
-
className:
|
|
7390
|
+
className: PropTypes.string,
|
|
7391
7391
|
color: colorPropType,
|
|
7392
|
-
component:
|
|
7393
|
-
size:
|
|
7394
|
-
variant:
|
|
7395
|
-
visuallyHiddenLabel:
|
|
7392
|
+
component: PropTypes.string,
|
|
7393
|
+
size: PropTypes.oneOf(['sm']),
|
|
7394
|
+
variant: PropTypes.oneOf(['border', 'grow']),
|
|
7395
|
+
visuallyHiddenLabel: PropTypes.string,
|
|
7396
7396
|
};
|
|
7397
7397
|
CSpinner.displayName = 'CSpinner';
|
|
7398
7398
|
|
|
@@ -7404,8 +7404,8 @@ var CTableHead = React.forwardRef(function (_a, ref) {
|
|
|
7404
7404
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7405
7405
|
});
|
|
7406
7406
|
CTableHead.propTypes = {
|
|
7407
|
-
children:
|
|
7408
|
-
className:
|
|
7407
|
+
children: PropTypes.node,
|
|
7408
|
+
className: PropTypes.string,
|
|
7409
7409
|
color: colorPropType,
|
|
7410
7410
|
};
|
|
7411
7411
|
CTableHead.displayName = 'CTableHead';
|
|
@@ -7418,8 +7418,8 @@ var CTableHeaderCell = React.forwardRef(function (_a, ref) {
|
|
|
7418
7418
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7419
7419
|
});
|
|
7420
7420
|
CTableHeaderCell.propTypes = {
|
|
7421
|
-
children:
|
|
7422
|
-
className:
|
|
7421
|
+
children: PropTypes.node,
|
|
7422
|
+
className: PropTypes.string,
|
|
7423
7423
|
color: colorPropType,
|
|
7424
7424
|
};
|
|
7425
7425
|
CTableHeaderCell.displayName = 'CTableHeaderCell';
|
|
@@ -7432,8 +7432,8 @@ var CTableBody = React.forwardRef(function (_a, ref) {
|
|
|
7432
7432
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7433
7433
|
});
|
|
7434
7434
|
CTableBody.propTypes = {
|
|
7435
|
-
children:
|
|
7436
|
-
className:
|
|
7435
|
+
children: PropTypes.node,
|
|
7436
|
+
className: PropTypes.string,
|
|
7437
7437
|
color: colorPropType,
|
|
7438
7438
|
};
|
|
7439
7439
|
CTableBody.displayName = 'CTableBody';
|
|
@@ -7449,10 +7449,10 @@ var CTableDataCell = React.forwardRef(function (_a, ref) {
|
|
|
7449
7449
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7450
7450
|
});
|
|
7451
7451
|
CTableDataCell.propTypes = {
|
|
7452
|
-
active:
|
|
7453
|
-
align:
|
|
7454
|
-
children:
|
|
7455
|
-
className:
|
|
7452
|
+
active: PropTypes.bool,
|
|
7453
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7454
|
+
children: PropTypes.node,
|
|
7455
|
+
className: PropTypes.string,
|
|
7456
7456
|
color: colorPropType,
|
|
7457
7457
|
};
|
|
7458
7458
|
CTableDataCell.displayName = 'CTableDataCell';
|
|
@@ -7467,10 +7467,10 @@ var CTableRow = React.forwardRef(function (_a, ref) {
|
|
|
7467
7467
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7468
7468
|
});
|
|
7469
7469
|
CTableRow.propTypes = {
|
|
7470
|
-
active:
|
|
7471
|
-
align:
|
|
7472
|
-
children:
|
|
7473
|
-
className:
|
|
7470
|
+
active: PropTypes.bool,
|
|
7471
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7472
|
+
children: PropTypes.node,
|
|
7473
|
+
className: PropTypes.string,
|
|
7474
7474
|
color: colorPropType,
|
|
7475
7475
|
};
|
|
7476
7476
|
CTableRow.displayName = 'CTableRow';
|
|
@@ -7483,8 +7483,8 @@ var CTableFoot = React.forwardRef(function (_a, ref) {
|
|
|
7483
7483
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7484
7484
|
});
|
|
7485
7485
|
CTableFoot.propTypes = {
|
|
7486
|
-
children:
|
|
7487
|
-
className:
|
|
7486
|
+
children: PropTypes.node,
|
|
7487
|
+
className: PropTypes.string,
|
|
7488
7488
|
color: colorPropType,
|
|
7489
7489
|
};
|
|
7490
7490
|
CTableFoot.displayName = 'CTableFoot';
|
|
@@ -7494,7 +7494,7 @@ var CTableCaption = React.forwardRef(function (_a, ref) {
|
|
|
7494
7494
|
return (React.createElement("caption", __assign({}, props, { ref: ref }), children));
|
|
7495
7495
|
});
|
|
7496
7496
|
CTableCaption.propTypes = {
|
|
7497
|
-
children:
|
|
7497
|
+
children: PropTypes.node,
|
|
7498
7498
|
};
|
|
7499
7499
|
CTableCaption.displayName = 'CTableCaption';
|
|
7500
7500
|
|
|
@@ -7503,10 +7503,10 @@ var CTableResponsiveWrapper = function (_a) {
|
|
|
7503
7503
|
return responsive ? (React.createElement("div", __assign({ className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-".concat(responsive) }, rest), children)) : (React.createElement(React.Fragment, null, children));
|
|
7504
7504
|
};
|
|
7505
7505
|
CTableResponsiveWrapper.propTypes = {
|
|
7506
|
-
children:
|
|
7507
|
-
responsive:
|
|
7508
|
-
|
|
7509
|
-
|
|
7506
|
+
children: PropTypes.node,
|
|
7507
|
+
responsive: PropTypes.oneOfType([
|
|
7508
|
+
PropTypes.bool,
|
|
7509
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7510
7510
|
]),
|
|
7511
7511
|
};
|
|
7512
7512
|
CTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper';
|
|
@@ -7561,28 +7561,28 @@ var CTable = React.forwardRef(function (_a, ref) {
|
|
|
7561
7561
|
React.createElement(CTableRow, null, footer.map(function (item, index) { return (React.createElement(CTableDataCell, __assign({}, (typeof item === 'object' && item._props && __assign({}, item._props)), { key: index }), typeof item === 'object' ? item.label : item)); })))))));
|
|
7562
7562
|
});
|
|
7563
7563
|
CTable.propTypes = {
|
|
7564
|
-
align:
|
|
7565
|
-
borderColor:
|
|
7566
|
-
bordered:
|
|
7567
|
-
borderless:
|
|
7568
|
-
caption:
|
|
7569
|
-
captionTop:
|
|
7570
|
-
children:
|
|
7571
|
-
className:
|
|
7564
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7565
|
+
borderColor: PropTypes.string,
|
|
7566
|
+
bordered: PropTypes.bool,
|
|
7567
|
+
borderless: PropTypes.bool,
|
|
7568
|
+
caption: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(['top'])]),
|
|
7569
|
+
captionTop: PropTypes.string,
|
|
7570
|
+
children: PropTypes.node,
|
|
7571
|
+
className: PropTypes.string,
|
|
7572
7572
|
color: colorPropType,
|
|
7573
|
-
columns:
|
|
7574
|
-
footer:
|
|
7575
|
-
hover:
|
|
7576
|
-
items:
|
|
7577
|
-
responsive:
|
|
7578
|
-
|
|
7579
|
-
|
|
7573
|
+
columns: PropTypes.array,
|
|
7574
|
+
footer: PropTypes.array,
|
|
7575
|
+
hover: PropTypes.bool,
|
|
7576
|
+
items: PropTypes.array,
|
|
7577
|
+
responsive: PropTypes.oneOfType([
|
|
7578
|
+
PropTypes.bool,
|
|
7579
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7580
7580
|
]),
|
|
7581
|
-
small:
|
|
7582
|
-
striped:
|
|
7583
|
-
stripedColumns:
|
|
7584
|
-
tableFootProps:
|
|
7585
|
-
tableHeadProps:
|
|
7581
|
+
small: PropTypes.bool,
|
|
7582
|
+
striped: PropTypes.bool,
|
|
7583
|
+
stripedColumns: PropTypes.bool,
|
|
7584
|
+
tableFootProps: PropTypes.shape(__assign({}, CTableFoot.propTypes)),
|
|
7585
|
+
tableHeadProps: PropTypes.shape(__assign({}, CTableHead.propTypes)),
|
|
7586
7586
|
};
|
|
7587
7587
|
CTable.displayName = 'CTable';
|
|
7588
7588
|
|
|
@@ -7591,8 +7591,8 @@ var CTabContent = React.forwardRef(function (_a, ref) {
|
|
|
7591
7591
|
return (React.createElement("div", __assign({ className: classNames('tab-content', className) }, rest, { ref: ref }), children));
|
|
7592
7592
|
});
|
|
7593
7593
|
CTabContent.propTypes = {
|
|
7594
|
-
children:
|
|
7595
|
-
className:
|
|
7594
|
+
children: PropTypes.node,
|
|
7595
|
+
className: PropTypes.string,
|
|
7596
7596
|
};
|
|
7597
7597
|
CTabContent.displayName = 'CTabContent';
|
|
7598
7598
|
|
|
@@ -7606,11 +7606,11 @@ var CTabPane = React.forwardRef(function (_a, ref) {
|
|
|
7606
7606
|
}, className) }, rest, { ref: forkedRef }), children)); }));
|
|
7607
7607
|
});
|
|
7608
7608
|
CTabPane.propTypes = {
|
|
7609
|
-
children:
|
|
7610
|
-
className:
|
|
7611
|
-
onHide:
|
|
7612
|
-
onShow:
|
|
7613
|
-
visible:
|
|
7609
|
+
children: PropTypes.node,
|
|
7610
|
+
className: PropTypes.string,
|
|
7611
|
+
onHide: PropTypes.func,
|
|
7612
|
+
onShow: PropTypes.func,
|
|
7613
|
+
visible: PropTypes.bool,
|
|
7614
7614
|
};
|
|
7615
7615
|
CTabPane.displayName = 'CTabPane';
|
|
7616
7616
|
|
|
@@ -7655,17 +7655,17 @@ var CToast = React.forwardRef(function (_a, ref) {
|
|
|
7655
7655
|
}));
|
|
7656
7656
|
});
|
|
7657
7657
|
CToast.propTypes = {
|
|
7658
|
-
animation:
|
|
7659
|
-
autohide:
|
|
7660
|
-
children:
|
|
7661
|
-
className:
|
|
7658
|
+
animation: PropTypes.bool,
|
|
7659
|
+
autohide: PropTypes.bool,
|
|
7660
|
+
children: PropTypes.node,
|
|
7661
|
+
className: PropTypes.string,
|
|
7662
7662
|
color: colorPropType,
|
|
7663
|
-
delay:
|
|
7664
|
-
index:
|
|
7665
|
-
key:
|
|
7666
|
-
onClose:
|
|
7667
|
-
onShow:
|
|
7668
|
-
visible:
|
|
7663
|
+
delay: PropTypes.number,
|
|
7664
|
+
index: PropTypes.number,
|
|
7665
|
+
key: PropTypes.number,
|
|
7666
|
+
onClose: PropTypes.func,
|
|
7667
|
+
onShow: PropTypes.func,
|
|
7668
|
+
visible: PropTypes.bool,
|
|
7669
7669
|
};
|
|
7670
7670
|
CToast.displayName = 'CToast';
|
|
7671
7671
|
|
|
@@ -7674,8 +7674,8 @@ var CToastBody = React.forwardRef(function (_a, ref) {
|
|
|
7674
7674
|
return (React.createElement("div", __assign({ className: classNames('toast-body', className) }, rest, { ref: ref }), children));
|
|
7675
7675
|
});
|
|
7676
7676
|
CToastBody.propTypes = {
|
|
7677
|
-
children:
|
|
7678
|
-
className:
|
|
7677
|
+
children: PropTypes.node,
|
|
7678
|
+
className: PropTypes.string,
|
|
7679
7679
|
};
|
|
7680
7680
|
CToastBody.displayName = 'CToastBody';
|
|
7681
7681
|
|
|
@@ -7684,7 +7684,7 @@ var CToastClose = React.forwardRef(function (_a, ref) {
|
|
|
7684
7684
|
var setVisible = React.useContext(CToastContext).setVisible;
|
|
7685
7685
|
return Component ? (React.createElement(Component, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }), children)) : (React.createElement(CCloseButton, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref })));
|
|
7686
7686
|
});
|
|
7687
|
-
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component:
|
|
7687
|
+
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: PropTypes.elementType });
|
|
7688
7688
|
CToastClose.displayName = 'CToastClose';
|
|
7689
7689
|
|
|
7690
7690
|
var CToastHeader = React.forwardRef(function (_a, ref) {
|
|
@@ -7694,9 +7694,9 @@ var CToastHeader = React.forwardRef(function (_a, ref) {
|
|
|
7694
7694
|
closeButton && React.createElement(CToastClose, null)));
|
|
7695
7695
|
});
|
|
7696
7696
|
CToastHeader.propTypes = {
|
|
7697
|
-
children:
|
|
7698
|
-
className:
|
|
7699
|
-
closeButton:
|
|
7697
|
+
children: PropTypes.node,
|
|
7698
|
+
className: PropTypes.string,
|
|
7699
|
+
closeButton: PropTypes.bool,
|
|
7700
7700
|
};
|
|
7701
7701
|
CToastHeader.displayName = 'CToastHeader';
|
|
7702
7702
|
|
|
@@ -7732,11 +7732,11 @@ var CToaster = React.forwardRef(function (_a, ref) {
|
|
|
7732
7732
|
toasts.map(function (toast) { return React.cloneElement(toast, { visible: true }); }))) : null));
|
|
7733
7733
|
});
|
|
7734
7734
|
CToaster.propTypes = {
|
|
7735
|
-
children:
|
|
7736
|
-
className:
|
|
7737
|
-
placement:
|
|
7738
|
-
|
|
7739
|
-
|
|
7735
|
+
children: PropTypes.node,
|
|
7736
|
+
className: PropTypes.string,
|
|
7737
|
+
placement: PropTypes.oneOfType([
|
|
7738
|
+
PropTypes.string,
|
|
7739
|
+
PropTypes.oneOf([
|
|
7740
7740
|
'top-start',
|
|
7741
7741
|
'top-center',
|
|
7742
7742
|
'top-end',
|
|
@@ -7748,7 +7748,7 @@ CToaster.propTypes = {
|
|
|
7748
7748
|
'bottom-end',
|
|
7749
7749
|
]),
|
|
7750
7750
|
]),
|
|
7751
|
-
push:
|
|
7751
|
+
push: PropTypes.any,
|
|
7752
7752
|
};
|
|
7753
7753
|
CToaster.displayName = 'CToaster';
|
|
7754
7754
|
|
|
@@ -7795,14 +7795,14 @@ var CTooltip = function (_a) {
|
|
|
7795
7795
|
React.createElement("div", { className: "tooltip-inner" }, content))); }), document.body)));
|
|
7796
7796
|
};
|
|
7797
7797
|
CTooltip.propTypes = {
|
|
7798
|
-
children:
|
|
7799
|
-
content:
|
|
7800
|
-
offset:
|
|
7801
|
-
onHide:
|
|
7802
|
-
onShow:
|
|
7803
|
-
placement:
|
|
7798
|
+
children: PropTypes.node,
|
|
7799
|
+
content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7800
|
+
offset: PropTypes.any,
|
|
7801
|
+
onHide: PropTypes.func,
|
|
7802
|
+
onShow: PropTypes.func,
|
|
7803
|
+
placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
|
|
7804
7804
|
trigger: triggerPropType,
|
|
7805
|
-
visible:
|
|
7805
|
+
visible: PropTypes.bool,
|
|
7806
7806
|
};
|
|
7807
7807
|
CTooltip.displayName = 'CTooltip';
|
|
7808
7808
|
|
|
@@ -7818,12 +7818,12 @@ var CWidgetStatsA = React.forwardRef(function (_a, ref) {
|
|
|
7818
7818
|
chart));
|
|
7819
7819
|
});
|
|
7820
7820
|
CWidgetStatsA.propTypes = {
|
|
7821
|
-
action:
|
|
7822
|
-
chart:
|
|
7823
|
-
className:
|
|
7821
|
+
action: PropTypes.node,
|
|
7822
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7823
|
+
className: PropTypes.string,
|
|
7824
7824
|
color: colorPropType,
|
|
7825
|
-
title:
|
|
7826
|
-
value:
|
|
7825
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7826
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7827
7827
|
};
|
|
7828
7828
|
CWidgetStatsA.displayName = 'CWidgetStatsA';
|
|
7829
7829
|
|
|
@@ -7837,13 +7837,13 @@ var CWidgetStatsB = React.forwardRef(function (_a, ref) {
|
|
|
7837
7837
|
text && (React.createElement("small", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text)))));
|
|
7838
7838
|
});
|
|
7839
7839
|
CWidgetStatsB.propTypes = {
|
|
7840
|
-
className:
|
|
7840
|
+
className: PropTypes.string,
|
|
7841
7841
|
color: colorPropType,
|
|
7842
|
-
inverse:
|
|
7843
|
-
progress:
|
|
7844
|
-
text:
|
|
7845
|
-
title:
|
|
7846
|
-
value:
|
|
7842
|
+
inverse: PropTypes.bool,
|
|
7843
|
+
progress: PropTypes.object,
|
|
7844
|
+
text: PropTypes.string,
|
|
7845
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7846
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7847
7847
|
};
|
|
7848
7848
|
CWidgetStatsB.displayName = 'CWidgetCWidgetStatsB';
|
|
7849
7849
|
|
|
@@ -7857,13 +7857,13 @@ var CWidgetStatsC = React.forwardRef(function (_a, ref) {
|
|
|
7857
7857
|
React.createElement(CProgress, __assign({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
|
|
7858
7858
|
});
|
|
7859
7859
|
CWidgetStatsC.propTypes = {
|
|
7860
|
-
className:
|
|
7860
|
+
className: PropTypes.string,
|
|
7861
7861
|
color: colorPropType,
|
|
7862
|
-
icon:
|
|
7863
|
-
inverse:
|
|
7864
|
-
progress:
|
|
7865
|
-
title:
|
|
7866
|
-
value:
|
|
7862
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7863
|
+
inverse: PropTypes.bool,
|
|
7864
|
+
progress: PropTypes.object,
|
|
7865
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7866
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7867
7867
|
};
|
|
7868
7868
|
CWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC';
|
|
7869
7869
|
|
|
@@ -7886,11 +7886,11 @@ var CWidgetStatsD = React.forwardRef(function (_a, ref) {
|
|
|
7886
7886
|
}))));
|
|
7887
7887
|
});
|
|
7888
7888
|
CWidgetStatsD.propTypes = {
|
|
7889
|
-
chart:
|
|
7890
|
-
className:
|
|
7889
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7890
|
+
className: PropTypes.string,
|
|
7891
7891
|
color: colorPropType,
|
|
7892
|
-
icon:
|
|
7893
|
-
values:
|
|
7892
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7893
|
+
values: PropTypes.arrayOf(PropTypes.any),
|
|
7894
7894
|
};
|
|
7895
7895
|
CWidgetStatsD.displayName = 'CWidgetStatsD';
|
|
7896
7896
|
|
|
@@ -7903,11 +7903,11 @@ var CWidgetStatsE = React.forwardRef(function (_a, ref) {
|
|
|
7903
7903
|
chart)));
|
|
7904
7904
|
});
|
|
7905
7905
|
CWidgetStatsE.propTypes = {
|
|
7906
|
-
children:
|
|
7907
|
-
chart:
|
|
7908
|
-
className:
|
|
7909
|
-
title:
|
|
7910
|
-
value:
|
|
7906
|
+
children: PropTypes.node,
|
|
7907
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7908
|
+
className: PropTypes.string,
|
|
7909
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7910
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7911
7911
|
};
|
|
7912
7912
|
CWidgetStatsE.displayName = 'CWidgetStatsE';
|
|
7913
7913
|
|
|
@@ -7922,13 +7922,13 @@ var CWidgetStatsF = React.forwardRef(function (_a, ref) {
|
|
|
7922
7922
|
footer && React.createElement(CCardFooter, null, footer)));
|
|
7923
7923
|
});
|
|
7924
7924
|
CWidgetStatsF.propTypes = {
|
|
7925
|
-
className:
|
|
7925
|
+
className: PropTypes.string,
|
|
7926
7926
|
color: colorPropType,
|
|
7927
|
-
footer:
|
|
7928
|
-
icon:
|
|
7929
|
-
padding:
|
|
7930
|
-
title:
|
|
7931
|
-
value:
|
|
7927
|
+
footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7928
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7929
|
+
padding: PropTypes.bool,
|
|
7930
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7931
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7932
7932
|
};
|
|
7933
7933
|
CWidgetStatsF.displayName = 'CWidgetStatsF';
|
|
7934
7934
|
|