@coreui/react 4.7.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/accordion/index.d.ts +1 -2
- package/dist/components/dropdown/CDropdown.d.ts +7 -0
- package/dist/components/popover/CPopover.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +1 -1
- package/dist/index.es.js +664 -669
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +663 -669
- package/dist/index.js.map +1 -1
- package/package.json +11 -10
- package/src/components/accordion/index.ts +0 -2
- package/src/components/dropdown/CDropdown.tsx +38 -30
- package/src/components/dropdown/CDropdownMenu.tsx +45 -41
- package/src/components/form/CFormCheck.tsx +1 -1
- package/src/components/offcanvas/COffcanvas.tsx +3 -5
- package/src/components/popover/CPopover.tsx +1 -1
- package/src/components/tooltip/CTooltip.tsx +1 -1
- package/dist/components/Types.d.ts +0 -12
- package/src/components/accordion/CAccordionCollapse.tsx +0 -20
- package/src/components/accordion/__tests__/CAccordionCollapse.spec.tsx +0 -10
- /package/dist/{Types.d.ts → types.d.ts} +0 -0
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,28 +2617,19 @@ 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
|
|
|
2628
|
-
var CAccordionCollapse = React.forwardRef(function (_a, ref) {
|
|
2629
|
-
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2630
|
-
return (React.createElement(CCollapse, __assign({ className: "accordion-collapse" }, props, { ref: ref }), children));
|
|
2631
|
-
});
|
|
2632
|
-
CAccordionCollapse.propTypes = {
|
|
2633
|
-
children: propTypesExports.node,
|
|
2634
|
-
};
|
|
2635
|
-
CAccordionCollapse.displayName = 'CAccordionCollapse';
|
|
2636
|
-
|
|
2637
2625
|
var CAccordionHeader = React.forwardRef(function (_a, ref) {
|
|
2638
2626
|
var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
|
|
2639
2627
|
return (React.createElement("div", __assign({ className: classNames('accordion-header', className) }, rest, { ref: ref }),
|
|
2640
2628
|
React.createElement(CAccordionButton, null, children)));
|
|
2641
2629
|
});
|
|
2642
2630
|
CAccordionHeader.propTypes = {
|
|
2643
|
-
children:
|
|
2644
|
-
className:
|
|
2631
|
+
children: PropTypes.node,
|
|
2632
|
+
className: PropTypes.string,
|
|
2645
2633
|
};
|
|
2646
2634
|
CAccordionHeader.displayName = 'CAccordionHeader';
|
|
2647
2635
|
|
|
@@ -2652,14 +2640,14 @@ var CCloseButton = React.forwardRef(function (_a, ref) {
|
|
|
2652
2640
|
}, disabled, className), "aria-label": "Close", disabled: disabled }, rest, { ref: ref })));
|
|
2653
2641
|
});
|
|
2654
2642
|
CCloseButton.propTypes = {
|
|
2655
|
-
className:
|
|
2656
|
-
disabled:
|
|
2657
|
-
white:
|
|
2643
|
+
className: PropTypes.string,
|
|
2644
|
+
disabled: PropTypes.bool,
|
|
2645
|
+
white: PropTypes.bool,
|
|
2658
2646
|
};
|
|
2659
2647
|
CCloseButton.displayName = 'CCloseButton';
|
|
2660
2648
|
|
|
2661
|
-
var colorPropType =
|
|
2662
|
-
|
|
2649
|
+
var colorPropType = PropTypes.oneOfType([
|
|
2650
|
+
PropTypes.oneOf([
|
|
2663
2651
|
'primary',
|
|
2664
2652
|
'secondary',
|
|
2665
2653
|
'success',
|
|
@@ -2669,9 +2657,9 @@ var colorPropType = propTypesExports.oneOfType([
|
|
|
2669
2657
|
'dark',
|
|
2670
2658
|
'light',
|
|
2671
2659
|
]),
|
|
2672
|
-
|
|
2660
|
+
PropTypes.string,
|
|
2673
2661
|
]);
|
|
2674
|
-
var placementPropType =
|
|
2662
|
+
var placementPropType = PropTypes.oneOf([
|
|
2675
2663
|
'auto',
|
|
2676
2664
|
'auto-start',
|
|
2677
2665
|
'auto-end',
|
|
@@ -2688,8 +2676,8 @@ var placementPropType = propTypesExports.oneOf([
|
|
|
2688
2676
|
'left',
|
|
2689
2677
|
'left-end',
|
|
2690
2678
|
]);
|
|
2691
|
-
var shapePropType =
|
|
2692
|
-
|
|
2679
|
+
var shapePropType = PropTypes.oneOfType([
|
|
2680
|
+
PropTypes.oneOf([
|
|
2693
2681
|
'rounded',
|
|
2694
2682
|
'rounded-top',
|
|
2695
2683
|
'rounded-end',
|
|
@@ -2702,14 +2690,14 @@ var shapePropType = propTypesExports.oneOfType([
|
|
|
2702
2690
|
'rounded-2',
|
|
2703
2691
|
'rounded-3',
|
|
2704
2692
|
]),
|
|
2705
|
-
|
|
2693
|
+
PropTypes.string,
|
|
2706
2694
|
]);
|
|
2707
|
-
var textColorsPropType =
|
|
2695
|
+
var textColorsPropType = PropTypes.oneOfType([
|
|
2708
2696
|
colorPropType,
|
|
2709
|
-
|
|
2710
|
-
|
|
2697
|
+
PropTypes.oneOf(['white', 'muted']),
|
|
2698
|
+
PropTypes.string,
|
|
2711
2699
|
]);
|
|
2712
|
-
var triggerPropType =
|
|
2700
|
+
var triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click']);
|
|
2713
2701
|
|
|
2714
2702
|
var CAlert = React.forwardRef(function (_a, ref) {
|
|
2715
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"]);
|
|
@@ -2727,13 +2715,13 @@ var CAlert = React.forwardRef(function (_a, ref) {
|
|
|
2727
2715
|
dismissible && React.createElement(CCloseButton, { onClick: function () { return setVisible(false); } }))); }));
|
|
2728
2716
|
});
|
|
2729
2717
|
CAlert.propTypes = {
|
|
2730
|
-
children:
|
|
2731
|
-
className:
|
|
2718
|
+
children: PropTypes.node,
|
|
2719
|
+
className: PropTypes.string,
|
|
2732
2720
|
color: colorPropType.isRequired,
|
|
2733
|
-
dismissible:
|
|
2734
|
-
onClose:
|
|
2735
|
-
variant:
|
|
2736
|
-
visible:
|
|
2721
|
+
dismissible: PropTypes.bool,
|
|
2722
|
+
onClose: PropTypes.func,
|
|
2723
|
+
variant: PropTypes.string,
|
|
2724
|
+
visible: PropTypes.bool,
|
|
2737
2725
|
};
|
|
2738
2726
|
CAlert.displayName = 'CAlert';
|
|
2739
2727
|
|
|
@@ -2742,9 +2730,9 @@ var CAlertHeading = React.forwardRef(function (_a, ref) {
|
|
|
2742
2730
|
return (React.createElement(Component, __assign({ className: classNames('alert-heading', className) }, rest, { ref: ref }), children));
|
|
2743
2731
|
});
|
|
2744
2732
|
CAlertHeading.propTypes = {
|
|
2745
|
-
children:
|
|
2746
|
-
className:
|
|
2747
|
-
component:
|
|
2733
|
+
children: PropTypes.node,
|
|
2734
|
+
className: PropTypes.string,
|
|
2735
|
+
component: PropTypes.elementType,
|
|
2748
2736
|
};
|
|
2749
2737
|
CAlertHeading.displayName = 'CAlertHeading';
|
|
2750
2738
|
|
|
@@ -2762,11 +2750,11 @@ var CLink = React.forwardRef(function (_a, ref) {
|
|
|
2762
2750
|
}), { disabled: disabled }, rest, { ref: ref }), children));
|
|
2763
2751
|
});
|
|
2764
2752
|
CLink.propTypes = {
|
|
2765
|
-
active:
|
|
2766
|
-
children:
|
|
2767
|
-
className:
|
|
2768
|
-
component:
|
|
2769
|
-
disabled:
|
|
2753
|
+
active: PropTypes.bool,
|
|
2754
|
+
children: PropTypes.node,
|
|
2755
|
+
className: PropTypes.string,
|
|
2756
|
+
component: PropTypes.elementType,
|
|
2757
|
+
disabled: PropTypes.bool,
|
|
2770
2758
|
};
|
|
2771
2759
|
CLink.displayName = 'CLink';
|
|
2772
2760
|
|
|
@@ -2775,8 +2763,8 @@ var CAlertLink = React.forwardRef(function (_a, ref) {
|
|
|
2775
2763
|
return (React.createElement(CLink, __assign({ className: classNames('alert-link', className) }, rest, { ref: ref }), children));
|
|
2776
2764
|
});
|
|
2777
2765
|
CAlertLink.propTypes = {
|
|
2778
|
-
children:
|
|
2779
|
-
className:
|
|
2766
|
+
children: PropTypes.node,
|
|
2767
|
+
className: PropTypes.string,
|
|
2780
2768
|
};
|
|
2781
2769
|
CAlertLink.displayName = 'CAlertLink';
|
|
2782
2770
|
|
|
@@ -2793,13 +2781,13 @@ var CAvatar = React.forwardRef(function (_a, ref) {
|
|
|
2793
2781
|
status && React.createElement("span", { className: statusClassName })));
|
|
2794
2782
|
});
|
|
2795
2783
|
CAvatar.propTypes = {
|
|
2796
|
-
children:
|
|
2797
|
-
className:
|
|
2784
|
+
children: PropTypes.node,
|
|
2785
|
+
className: PropTypes.string,
|
|
2798
2786
|
color: colorPropType,
|
|
2799
2787
|
shape: shapePropType,
|
|
2800
|
-
size:
|
|
2801
|
-
src:
|
|
2802
|
-
status:
|
|
2788
|
+
size: PropTypes.string,
|
|
2789
|
+
src: PropTypes.string,
|
|
2790
|
+
status: PropTypes.string,
|
|
2803
2791
|
textColor: textColorsPropType,
|
|
2804
2792
|
};
|
|
2805
2793
|
CAvatar.displayName = 'CAvatar';
|
|
@@ -2813,8 +2801,8 @@ var CBackdrop = React.forwardRef(function (_a, ref) {
|
|
|
2813
2801
|
}) }, rest, { ref: forkedRef }))); }));
|
|
2814
2802
|
});
|
|
2815
2803
|
CBackdrop.propTypes = {
|
|
2816
|
-
className:
|
|
2817
|
-
visible:
|
|
2804
|
+
className: PropTypes.string,
|
|
2805
|
+
visible: PropTypes.bool,
|
|
2818
2806
|
};
|
|
2819
2807
|
CBackdrop.displayName = 'CBackdrop';
|
|
2820
2808
|
|
|
@@ -2833,13 +2821,13 @@ var CBadge = React.forwardRef(function (_a, ref) {
|
|
|
2833
2821
|
_b), shape, className) }, rest, { ref: ref }), children));
|
|
2834
2822
|
});
|
|
2835
2823
|
CBadge.propTypes = {
|
|
2836
|
-
children:
|
|
2837
|
-
className:
|
|
2824
|
+
children: PropTypes.node,
|
|
2825
|
+
className: PropTypes.string,
|
|
2838
2826
|
color: colorPropType,
|
|
2839
|
-
component:
|
|
2840
|
-
position:
|
|
2827
|
+
component: PropTypes.string,
|
|
2828
|
+
position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
|
|
2841
2829
|
shape: shapePropType,
|
|
2842
|
-
size:
|
|
2830
|
+
size: PropTypes.oneOf(['sm']),
|
|
2843
2831
|
textColor: textColorsPropType,
|
|
2844
2832
|
};
|
|
2845
2833
|
CBadge.displayName = 'CBadge';
|
|
@@ -2850,8 +2838,8 @@ var CBreadcrumb = React.forwardRef(function (_a, ref) {
|
|
|
2850
2838
|
React.createElement("ol", __assign({ className: classNames('breadcrumb', className) }, rest, { ref: ref }), children)));
|
|
2851
2839
|
});
|
|
2852
2840
|
CBreadcrumb.propTypes = {
|
|
2853
|
-
children:
|
|
2854
|
-
className:
|
|
2841
|
+
children: PropTypes.node,
|
|
2842
|
+
className: PropTypes.string,
|
|
2855
2843
|
};
|
|
2856
2844
|
CBreadcrumb.displayName = 'CBreadcrumb';
|
|
2857
2845
|
|
|
@@ -2862,10 +2850,10 @@ var CBreadcrumbItem = React.forwardRef(function (_a, ref) {
|
|
|
2862
2850
|
}, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React.createElement(CLink, { href: href }, children) : children));
|
|
2863
2851
|
});
|
|
2864
2852
|
CBreadcrumbItem.propTypes = {
|
|
2865
|
-
active:
|
|
2866
|
-
children:
|
|
2867
|
-
className:
|
|
2868
|
-
href:
|
|
2853
|
+
active: PropTypes.bool,
|
|
2854
|
+
children: PropTypes.node,
|
|
2855
|
+
className: PropTypes.string,
|
|
2856
|
+
href: PropTypes.string,
|
|
2869
2857
|
};
|
|
2870
2858
|
CBreadcrumbItem.displayName = 'CBreadcrumbItem';
|
|
2871
2859
|
|
|
@@ -2875,14 +2863,14 @@ var CButton = React.forwardRef(function (_a, ref) {
|
|
|
2875
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));
|
|
2876
2864
|
});
|
|
2877
2865
|
CButton.propTypes = {
|
|
2878
|
-
children:
|
|
2879
|
-
className:
|
|
2866
|
+
children: PropTypes.node,
|
|
2867
|
+
className: PropTypes.string,
|
|
2880
2868
|
color: colorPropType,
|
|
2881
|
-
component:
|
|
2882
|
-
shape:
|
|
2883
|
-
size:
|
|
2884
|
-
type:
|
|
2885
|
-
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']),
|
|
2886
2874
|
};
|
|
2887
2875
|
CButton.displayName = 'CButton';
|
|
2888
2876
|
|
|
@@ -2891,8 +2879,8 @@ var CButtonToolbar = React.forwardRef(function (_a, ref) {
|
|
|
2891
2879
|
return (React.createElement("div", __assign({ className: classNames('btn-toolbar', className) }, rest, { ref: ref }), children));
|
|
2892
2880
|
});
|
|
2893
2881
|
CButtonToolbar.propTypes = {
|
|
2894
|
-
children:
|
|
2895
|
-
className:
|
|
2882
|
+
children: PropTypes.node,
|
|
2883
|
+
className: PropTypes.string,
|
|
2896
2884
|
};
|
|
2897
2885
|
CButtonToolbar.displayName = 'CButtonToolbar';
|
|
2898
2886
|
|
|
@@ -2902,10 +2890,10 @@ var CButtonGroup = React.forwardRef(function (_a, ref) {
|
|
|
2902
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));
|
|
2903
2891
|
});
|
|
2904
2892
|
CButtonGroup.propTypes = {
|
|
2905
|
-
children:
|
|
2906
|
-
className:
|
|
2907
|
-
size:
|
|
2908
|
-
vertical:
|
|
2893
|
+
children: PropTypes.node,
|
|
2894
|
+
className: PropTypes.string,
|
|
2895
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
2896
|
+
vertical: PropTypes.bool,
|
|
2909
2897
|
};
|
|
2910
2898
|
CButtonGroup.displayName = 'CButtonGroup';
|
|
2911
2899
|
|
|
@@ -2917,8 +2905,8 @@ var CCallout = React.forwardRef(function (_a, ref) {
|
|
|
2917
2905
|
_b), className) }, rest, { ref: ref }), children));
|
|
2918
2906
|
});
|
|
2919
2907
|
CCallout.propTypes = {
|
|
2920
|
-
children:
|
|
2921
|
-
className:
|
|
2908
|
+
children: PropTypes.node,
|
|
2909
|
+
className: PropTypes.string,
|
|
2922
2910
|
color: colorPropType,
|
|
2923
2911
|
};
|
|
2924
2912
|
CCallout.displayName = 'CCallout';
|
|
@@ -2932,10 +2920,10 @@ var CCard = React.forwardRef(function (_a, ref) {
|
|
|
2932
2920
|
_b), className) }, rest, { ref: ref }), children));
|
|
2933
2921
|
});
|
|
2934
2922
|
CCard.propTypes = {
|
|
2935
|
-
children:
|
|
2936
|
-
className:
|
|
2923
|
+
children: PropTypes.node,
|
|
2924
|
+
className: PropTypes.string,
|
|
2937
2925
|
color: colorPropType,
|
|
2938
|
-
textColor:
|
|
2926
|
+
textColor: PropTypes.string,
|
|
2939
2927
|
};
|
|
2940
2928
|
CCard.displayName = 'CCard';
|
|
2941
2929
|
|
|
@@ -2944,8 +2932,8 @@ var CCardBody = React.forwardRef(function (_a, ref) {
|
|
|
2944
2932
|
return (React.createElement("div", __assign({ className: classNames('card-body', className) }, rest, { ref: ref }), children));
|
|
2945
2933
|
});
|
|
2946
2934
|
CCardBody.propTypes = {
|
|
2947
|
-
children:
|
|
2948
|
-
className:
|
|
2935
|
+
children: PropTypes.node,
|
|
2936
|
+
className: PropTypes.string,
|
|
2949
2937
|
};
|
|
2950
2938
|
CCardBody.displayName = 'CCardBody';
|
|
2951
2939
|
|
|
@@ -2954,8 +2942,8 @@ var CCardFooter = React.forwardRef(function (_a, ref) {
|
|
|
2954
2942
|
return (React.createElement("div", __assign({ className: classNames('card-footer', className) }, rest, { ref: ref }), children));
|
|
2955
2943
|
});
|
|
2956
2944
|
CCardFooter.propTypes = {
|
|
2957
|
-
children:
|
|
2958
|
-
className:
|
|
2945
|
+
children: PropTypes.node,
|
|
2946
|
+
className: PropTypes.string,
|
|
2959
2947
|
};
|
|
2960
2948
|
CCardFooter.displayName = 'CCardFooter';
|
|
2961
2949
|
|
|
@@ -2964,8 +2952,8 @@ var CCardGroup = React.forwardRef(function (_a, ref) {
|
|
|
2964
2952
|
return (React.createElement("div", __assign({ className: classNames('card-group', className) }, rest, { ref: ref }), children));
|
|
2965
2953
|
});
|
|
2966
2954
|
CCardGroup.propTypes = {
|
|
2967
|
-
children:
|
|
2968
|
-
className:
|
|
2955
|
+
children: PropTypes.node,
|
|
2956
|
+
className: PropTypes.string,
|
|
2969
2957
|
};
|
|
2970
2958
|
CCardGroup.displayName = 'CCardGroup';
|
|
2971
2959
|
|
|
@@ -2974,9 +2962,9 @@ var CCardHeader = React.forwardRef(function (_a, ref) {
|
|
|
2974
2962
|
return (React.createElement(Component, __assign({ className: classNames('card-header', className) }, rest, { ref: ref }), children));
|
|
2975
2963
|
});
|
|
2976
2964
|
CCardHeader.propTypes = {
|
|
2977
|
-
children:
|
|
2978
|
-
className:
|
|
2979
|
-
component:
|
|
2965
|
+
children: PropTypes.node,
|
|
2966
|
+
className: PropTypes.string,
|
|
2967
|
+
component: PropTypes.elementType,
|
|
2980
2968
|
};
|
|
2981
2969
|
CCardHeader.displayName = 'CCardHeader';
|
|
2982
2970
|
|
|
@@ -2985,10 +2973,10 @@ var CCardImage = React.forwardRef(function (_a, ref) {
|
|
|
2985
2973
|
return (React.createElement(Component, __assign({ className: classNames(orientation ? "card-img-".concat(orientation) : 'card-img', className) }, rest, { ref: ref }), children));
|
|
2986
2974
|
});
|
|
2987
2975
|
CCardImage.propTypes = {
|
|
2988
|
-
children:
|
|
2989
|
-
className:
|
|
2990
|
-
component:
|
|
2991
|
-
orientation:
|
|
2976
|
+
children: PropTypes.node,
|
|
2977
|
+
className: PropTypes.string,
|
|
2978
|
+
component: PropTypes.elementType,
|
|
2979
|
+
orientation: PropTypes.oneOf(['top', 'bottom']),
|
|
2992
2980
|
};
|
|
2993
2981
|
CCardImage.displayName = 'CCardImage';
|
|
2994
2982
|
|
|
@@ -2997,8 +2985,8 @@ var CCardImageOverlay = React.forwardRef(function (_a, ref) {
|
|
|
2997
2985
|
return (React.createElement("div", __assign({ className: classNames('card-img-overlay', className) }, rest, { ref: ref }), children));
|
|
2998
2986
|
});
|
|
2999
2987
|
CCardImageOverlay.propTypes = {
|
|
3000
|
-
children:
|
|
3001
|
-
className:
|
|
2988
|
+
children: PropTypes.node,
|
|
2989
|
+
className: PropTypes.string,
|
|
3002
2990
|
};
|
|
3003
2991
|
CCardImageOverlay.displayName = 'CCardImageOverlay';
|
|
3004
2992
|
|
|
@@ -3007,8 +2995,8 @@ var CCardLink = React.forwardRef(function (_a, ref) {
|
|
|
3007
2995
|
return (React.createElement(CLink, __assign({ className: classNames('card-link', className) }, rest, { ref: ref }), children));
|
|
3008
2996
|
});
|
|
3009
2997
|
CCardLink.propTypes = {
|
|
3010
|
-
children:
|
|
3011
|
-
className:
|
|
2998
|
+
children: PropTypes.node,
|
|
2999
|
+
className: PropTypes.string,
|
|
3012
3000
|
};
|
|
3013
3001
|
CCardLink.displayName = 'CCardLink';
|
|
3014
3002
|
|
|
@@ -3017,9 +3005,9 @@ var CCardSubtitle = React.forwardRef(function (_a, ref) {
|
|
|
3017
3005
|
return (React.createElement(Component, __assign({ className: classNames('card-subtitle', className) }, rest, { ref: ref }), children));
|
|
3018
3006
|
});
|
|
3019
3007
|
CCardSubtitle.propTypes = {
|
|
3020
|
-
children:
|
|
3021
|
-
className:
|
|
3022
|
-
component:
|
|
3008
|
+
children: PropTypes.node,
|
|
3009
|
+
className: PropTypes.string,
|
|
3010
|
+
component: PropTypes.elementType,
|
|
3023
3011
|
};
|
|
3024
3012
|
CCardSubtitle.displayName = 'CCardSubtitle';
|
|
3025
3013
|
|
|
@@ -3028,9 +3016,9 @@ var CCardText = React.forwardRef(function (_a, ref) {
|
|
|
3028
3016
|
return (React.createElement(Component, __assign({ className: classNames('card-text', className) }, rest, { ref: ref }), children));
|
|
3029
3017
|
});
|
|
3030
3018
|
CCardText.propTypes = {
|
|
3031
|
-
children:
|
|
3032
|
-
className:
|
|
3033
|
-
component:
|
|
3019
|
+
children: PropTypes.node,
|
|
3020
|
+
className: PropTypes.string,
|
|
3021
|
+
component: PropTypes.elementType,
|
|
3034
3022
|
};
|
|
3035
3023
|
CCardText.displayName = 'CCardText';
|
|
3036
3024
|
|
|
@@ -3039,9 +3027,9 @@ var CCardTitle = React.forwardRef(function (_a, ref) {
|
|
|
3039
3027
|
return (React.createElement(Component, __assign({ className: classNames('card-title', className) }, rest, { ref: ref }), children));
|
|
3040
3028
|
});
|
|
3041
3029
|
CCardTitle.propTypes = {
|
|
3042
|
-
children:
|
|
3043
|
-
className:
|
|
3044
|
-
component:
|
|
3030
|
+
children: PropTypes.node,
|
|
3031
|
+
className: PropTypes.string,
|
|
3032
|
+
component: PropTypes.elementType,
|
|
3045
3033
|
};
|
|
3046
3034
|
CCardTitle.displayName = 'CCardTitle';
|
|
3047
3035
|
|
|
@@ -3186,19 +3174,19 @@ var CCarousel = React.forwardRef(function (_a, ref) {
|
|
|
3186
3174
|
React.createElement("span", { className: "carousel-control-next-icon", "aria-label": "next" })))))));
|
|
3187
3175
|
});
|
|
3188
3176
|
CCarousel.propTypes = {
|
|
3189
|
-
activeIndex:
|
|
3190
|
-
children:
|
|
3191
|
-
className:
|
|
3192
|
-
controls:
|
|
3193
|
-
dark:
|
|
3194
|
-
indicators:
|
|
3195
|
-
interval:
|
|
3196
|
-
onSlid:
|
|
3197
|
-
onSlide:
|
|
3198
|
-
pause:
|
|
3199
|
-
touch:
|
|
3200
|
-
transition:
|
|
3201
|
-
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,
|
|
3202
3190
|
};
|
|
3203
3191
|
CCarousel.displayName = 'CCarousel';
|
|
3204
3192
|
|
|
@@ -3207,7 +3195,7 @@ var CCarouselCaption = React.forwardRef(function (_a, ref) {
|
|
|
3207
3195
|
return React.createElement("div", __assign({ className: classNames('carousel-caption', className) }, rest, { ref: ref }));
|
|
3208
3196
|
});
|
|
3209
3197
|
CCarouselCaption.propTypes = {
|
|
3210
|
-
className:
|
|
3198
|
+
className: PropTypes.string,
|
|
3211
3199
|
};
|
|
3212
3200
|
CCarouselCaption.displayName = 'CCarouselCaption';
|
|
3213
3201
|
|
|
@@ -3282,11 +3270,11 @@ var CCarouselItem = React.forwardRef(function (_a, ref) {
|
|
|
3282
3270
|
return (React.createElement("div", __assign({ className: classNames('carousel-item', activeClassName, directionClassName, orderClassName, className), ref: forkedRef }, rest), children));
|
|
3283
3271
|
});
|
|
3284
3272
|
CCarouselItem.propTypes = {
|
|
3285
|
-
active:
|
|
3286
|
-
children:
|
|
3287
|
-
className:
|
|
3288
|
-
direction:
|
|
3289
|
-
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]),
|
|
3290
3278
|
};
|
|
3291
3279
|
CCarouselItem.displayName = 'CCarouselItem';
|
|
3292
3280
|
|
|
@@ -3295,8 +3283,8 @@ var CConditionalPortal = function (_a) {
|
|
|
3295
3283
|
return typeof window !== 'undefined' && portal ? (ReactDOM.createPortal(children, document.body)) : (React.createElement(React.Fragment, null, children));
|
|
3296
3284
|
};
|
|
3297
3285
|
CConditionalPortal.propTypes = {
|
|
3298
|
-
children:
|
|
3299
|
-
portal:
|
|
3286
|
+
children: PropTypes.node,
|
|
3287
|
+
portal: PropTypes.bool.isRequired,
|
|
3300
3288
|
};
|
|
3301
3289
|
CConditionalPortal.displayName = 'CConditionalPortal';
|
|
3302
3290
|
|
|
@@ -3542,7 +3530,7 @@ var round = Math.round;
|
|
|
3542
3530
|
function getUAString() {
|
|
3543
3531
|
var uaData = navigator.userAgentData;
|
|
3544
3532
|
|
|
3545
|
-
if (uaData != null && uaData.brands) {
|
|
3533
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
3546
3534
|
return uaData.brands.map(function (item) {
|
|
3547
3535
|
return item.brand + "/" + item.version;
|
|
3548
3536
|
}).join(' ');
|
|
@@ -3870,10 +3858,9 @@ var unsetSides = {
|
|
|
3870
3858
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
3871
3859
|
// cleanly divide the values into the appropriate subpixels.
|
|
3872
3860
|
|
|
3873
|
-
function roundOffsetsByDPR(_ref) {
|
|
3861
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
3874
3862
|
var x = _ref.x,
|
|
3875
3863
|
y = _ref.y;
|
|
3876
|
-
var win = window;
|
|
3877
3864
|
var dpr = win.devicePixelRatio || 1;
|
|
3878
3865
|
return {
|
|
3879
3866
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -3956,7 +3943,7 @@ function mapToStyles(_ref2) {
|
|
|
3956
3943
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3957
3944
|
x: x,
|
|
3958
3945
|
y: y
|
|
3959
|
-
}) : {
|
|
3946
|
+
}, getWindow(popper)) : {
|
|
3960
3947
|
x: x,
|
|
3961
3948
|
y: y
|
|
3962
3949
|
};
|
|
@@ -5493,6 +5480,8 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
5493
5480
|
}
|
|
5494
5481
|
};
|
|
5495
5482
|
|
|
5483
|
+
var isEqual = /*@__PURE__*/getDefaultExportFromCjs(reactFastCompare);
|
|
5484
|
+
|
|
5496
5485
|
var EMPTY_MODIFIERS$1 = [];
|
|
5497
5486
|
var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
5498
5487
|
if (options === void 0) {
|
|
@@ -5556,7 +5545,7 @@ var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
|
5556
5545
|
}])
|
|
5557
5546
|
};
|
|
5558
5547
|
|
|
5559
|
-
if (
|
|
5548
|
+
if (isEqual(prevOptions.current, newOptions)) {
|
|
5560
5549
|
return prevOptions.current || newOptions;
|
|
5561
5550
|
} else {
|
|
5562
5551
|
prevOptions.current = newOptions;
|
|
@@ -5724,6 +5713,8 @@ if (__DEV__) {
|
|
|
5724
5713
|
|
|
5725
5714
|
var warning_1 = warning;
|
|
5726
5715
|
|
|
5716
|
+
var warning$1 = /*@__PURE__*/getDefaultExportFromCjs(warning_1);
|
|
5717
|
+
|
|
5727
5718
|
function Reference(_ref) {
|
|
5728
5719
|
var children = _ref.children,
|
|
5729
5720
|
innerRef = _ref.innerRef;
|
|
@@ -5740,20 +5731,25 @@ function Reference(_ref) {
|
|
|
5740
5731
|
};
|
|
5741
5732
|
}, []);
|
|
5742
5733
|
React__namespace.useEffect(function () {
|
|
5743
|
-
|
|
5734
|
+
warning$1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');
|
|
5744
5735
|
}, [setReferenceNode]);
|
|
5745
5736
|
return unwrapArray(children)({
|
|
5746
5737
|
ref: refHandler
|
|
5747
5738
|
});
|
|
5748
5739
|
}
|
|
5749
5740
|
|
|
5741
|
+
var PopperManagerWrapper = function (_a) {
|
|
5742
|
+
var children = _a.children, popper = _a.popper;
|
|
5743
|
+
return popper ? React.createElement(Manager, null, children) : React.createElement(React.Fragment, null, children);
|
|
5744
|
+
};
|
|
5750
5745
|
var CDropdownContext = React.createContext({});
|
|
5751
5746
|
var CDropdown = React.forwardRef(function (_a, ref) {
|
|
5752
|
-
var
|
|
5747
|
+
var _b;
|
|
5748
|
+
var children = _a.children, alignment = _a.alignment, _c = _a.autoClose, autoClose = _c === void 0 ? true : _c, className = _a.className, dark = _a.dark, direction = _a.direction, onHide = _a.onHide, onShow = _a.onShow, _d = _a.placement, placement = _d === void 0 ? 'bottom-start' : _d, _e = _a.popper, popper = _e === void 0 ? true : _e, _f = _a.portal, portal = _f === void 0 ? false : _f, _g = _a.variant, variant = _g === void 0 ? 'btn-group' : _g, _h = _a.component, component = _h === void 0 ? 'div' : _h, _j = _a.visible, visible = _j === void 0 ? false : _j, rest = __rest(_a, ["children", "alignment", "autoClose", "className", "dark", "direction", "onHide", "onShow", "placement", "popper", "portal", "variant", "component", "visible"]);
|
|
5753
5749
|
var dropdownRef = React.useRef(null);
|
|
5754
5750
|
var dropdownToggleRef = React.useRef(null);
|
|
5755
5751
|
var forkedRef = useForkedRef(ref, dropdownRef);
|
|
5756
|
-
var
|
|
5752
|
+
var _k = React.useState(visible), _visible = _k[0], setVisible = _k[1];
|
|
5757
5753
|
var Component = variant === 'nav-item' ? 'li' : component;
|
|
5758
5754
|
// Disable popper if responsive aligment is set.
|
|
5759
5755
|
if (typeof alignment === 'object') {
|
|
@@ -5767,6 +5763,7 @@ var CDropdown = React.forwardRef(function (_a, ref) {
|
|
|
5767
5763
|
dropdownToggleRef: dropdownToggleRef,
|
|
5768
5764
|
placement: placement,
|
|
5769
5765
|
popper: popper,
|
|
5766
|
+
portal: portal,
|
|
5770
5767
|
variant: variant,
|
|
5771
5768
|
visible: _visible,
|
|
5772
5769
|
setVisible: setVisible,
|
|
@@ -5778,44 +5775,43 @@ var CDropdown = React.forwardRef(function (_a, ref) {
|
|
|
5778
5775
|
_visible && onShow && onShow();
|
|
5779
5776
|
!_visible && onHide && onHide();
|
|
5780
5777
|
}, [_visible]);
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
return (React.createElement(CDropdownContext.Provider, { value: contextValues }, popper ? (React.createElement(Manager, null,
|
|
5790
|
-
React.createElement(DropdownContent, null))) : (React.createElement(DropdownContent, null))));
|
|
5778
|
+
return (React.createElement(CDropdownContext.Provider, { value: contextValues },
|
|
5779
|
+
React.createElement(PopperManagerWrapper, { popper: popper }, variant === 'input-group' ? (React.createElement(React.Fragment, null, children)) : (React.createElement(Component, __assign({ className: classNames(variant === 'nav-item' ? 'nav-item dropdown' : variant, (_b = {
|
|
5780
|
+
'dropdown-center': direction === 'center',
|
|
5781
|
+
'dropup dropup-center': direction === 'dropup-center'
|
|
5782
|
+
},
|
|
5783
|
+
_b["".concat(direction)] = direction && direction !== 'center' && direction !== 'dropup-center',
|
|
5784
|
+
_b.show = _visible,
|
|
5785
|
+
_b), className) }, rest, { ref: forkedRef }), children)))));
|
|
5791
5786
|
});
|
|
5792
|
-
var alignmentDirection =
|
|
5787
|
+
var alignmentDirection = PropTypes.oneOf(['start', 'end']);
|
|
5793
5788
|
CDropdown.propTypes = {
|
|
5794
5789
|
// @ts-expect-error TODO: we have to find a solution
|
|
5795
|
-
alignment:
|
|
5790
|
+
alignment: PropTypes.oneOfType([
|
|
5796
5791
|
alignmentDirection,
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
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 }),
|
|
5803
5798
|
]),
|
|
5804
|
-
autoClose:
|
|
5805
|
-
|
|
5806
|
-
|
|
5799
|
+
autoClose: PropTypes.oneOfType([
|
|
5800
|
+
PropTypes.bool,
|
|
5801
|
+
PropTypes.oneOf(['inside', 'outside']),
|
|
5807
5802
|
]),
|
|
5808
|
-
children:
|
|
5809
|
-
className:
|
|
5810
|
-
component:
|
|
5811
|
-
dark:
|
|
5812
|
-
direction:
|
|
5813
|
-
onHide:
|
|
5814
|
-
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,
|
|
5815
5810
|
placement: placementPropType,
|
|
5816
|
-
popper:
|
|
5817
|
-
|
|
5818
|
-
|
|
5811
|
+
popper: PropTypes.bool,
|
|
5812
|
+
portal: PropTypes.bool,
|
|
5813
|
+
variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
|
|
5814
|
+
visible: PropTypes.bool,
|
|
5819
5815
|
};
|
|
5820
5816
|
CDropdown.displayName = 'CDropdown';
|
|
5821
5817
|
|
|
@@ -5824,7 +5820,7 @@ var CDropdownDivider = React.forwardRef(function (_a, ref) {
|
|
|
5824
5820
|
return React.createElement("hr", __assign({ className: classNames('dropdown-divider', className) }, rest, { ref: ref }));
|
|
5825
5821
|
});
|
|
5826
5822
|
CDropdownDivider.propTypes = {
|
|
5827
|
-
className:
|
|
5823
|
+
className: PropTypes.string,
|
|
5828
5824
|
};
|
|
5829
5825
|
CDropdownDivider.displayName = 'CDropdownDivider';
|
|
5830
5826
|
|
|
@@ -5833,9 +5829,9 @@ var CDropdownHeader = React.forwardRef(function (_a, ref) {
|
|
|
5833
5829
|
return (React.createElement(Component, __assign({ className: classNames('dropdown-header', className) }, rest, { ref: ref }), children));
|
|
5834
5830
|
});
|
|
5835
5831
|
CDropdownHeader.propTypes = {
|
|
5836
|
-
children:
|
|
5837
|
-
className:
|
|
5838
|
-
component:
|
|
5832
|
+
children: PropTypes.node,
|
|
5833
|
+
className: PropTypes.string,
|
|
5834
|
+
component: PropTypes.elementType,
|
|
5839
5835
|
};
|
|
5840
5836
|
CDropdownHeader.displayName = 'CDropdownHeader';
|
|
5841
5837
|
|
|
@@ -5844,9 +5840,9 @@ var CDropdownItem = React.forwardRef(function (_a, ref) {
|
|
|
5844
5840
|
return (React.createElement(CLink, __assign({ className: classNames('dropdown-item', className), component: component }, rest, { ref: ref }), children));
|
|
5845
5841
|
});
|
|
5846
5842
|
CDropdownItem.propTypes = {
|
|
5847
|
-
children:
|
|
5848
|
-
className:
|
|
5849
|
-
component:
|
|
5843
|
+
children: PropTypes.node,
|
|
5844
|
+
className: PropTypes.string,
|
|
5845
|
+
component: PropTypes.elementType,
|
|
5850
5846
|
};
|
|
5851
5847
|
CDropdownItem.displayName = 'CDropdownItem';
|
|
5852
5848
|
|
|
@@ -5855,15 +5851,27 @@ var CDropdownItemPlain = React.forwardRef(function (_a, ref) {
|
|
|
5855
5851
|
return (React.createElement(Component, __assign({ className: classNames('dropdown-item-text', className) }, rest, { ref: ref }), children));
|
|
5856
5852
|
});
|
|
5857
5853
|
CDropdownItemPlain.propTypes = {
|
|
5858
|
-
children:
|
|
5859
|
-
className:
|
|
5860
|
-
component:
|
|
5854
|
+
children: PropTypes.node,
|
|
5855
|
+
className: PropTypes.string,
|
|
5856
|
+
component: PropTypes.elementType,
|
|
5861
5857
|
};
|
|
5862
5858
|
CDropdownItemPlain.displayName = 'CDropdownItemPlain';
|
|
5863
5859
|
|
|
5860
|
+
var alignmentClassNames = function (alignment) {
|
|
5861
|
+
var classNames = [];
|
|
5862
|
+
if (typeof alignment === 'object') {
|
|
5863
|
+
Object.keys(alignment).map(function (key) {
|
|
5864
|
+
classNames.push("dropdown-menu".concat(key === 'xs' ? '' : "-".concat(key), "-").concat(alignment[key]));
|
|
5865
|
+
});
|
|
5866
|
+
}
|
|
5867
|
+
if (typeof alignment === 'string') {
|
|
5868
|
+
classNames.push("dropdown-menu-".concat(alignment));
|
|
5869
|
+
}
|
|
5870
|
+
return classNames;
|
|
5871
|
+
};
|
|
5864
5872
|
var CDropdownMenu = function (_a) {
|
|
5865
5873
|
var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, rest = __rest(_a, ["children", "className", "component"]);
|
|
5866
|
-
var _c = React.useContext(CDropdownContext), alignment = _c.alignment, autoClose = _c.autoClose, dark = _c.dark, direction = _c.direction, dropdownToggleRef = _c.dropdownToggleRef, placement = _c.placement, popper = _c.popper, visible = _c.visible, setVisible = _c.setVisible;
|
|
5874
|
+
var _c = React.useContext(CDropdownContext), alignment = _c.alignment, autoClose = _c.autoClose, dark = _c.dark, direction = _c.direction, dropdownToggleRef = _c.dropdownToggleRef, placement = _c.placement, popper = _c.popper, portal = _c.portal, visible = _c.visible, setVisible = _c.setVisible;
|
|
5867
5875
|
var dropdownMenuRef = React.useRef(null);
|
|
5868
5876
|
React.useEffect(function () {
|
|
5869
5877
|
visible && window.addEventListener('mouseup', handleMouseUp);
|
|
@@ -5912,38 +5920,27 @@ var CDropdownMenu = function (_a) {
|
|
|
5912
5920
|
if (alignment === 'end') {
|
|
5913
5921
|
_placement = 'bottom-end';
|
|
5914
5922
|
}
|
|
5915
|
-
var
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
var dropdownMenuComponent = function (style, ref) { return (React.createElement(Component, __assign({ className: classNames('dropdown-menu', {
|
|
5928
|
-
'dropdown-menu-dark': dark,
|
|
5929
|
-
show: visible,
|
|
5930
|
-
}, alignment && alignmentClassNames(alignment), className), ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul'
|
|
5931
|
-
? React.Children.map(children, function (child, index) {
|
|
5932
|
-
if (React.isValidElement(child)) {
|
|
5933
|
-
return React.createElement("li", { key: index }, React.cloneElement(child));
|
|
5934
|
-
}
|
|
5935
|
-
return;
|
|
5936
|
-
})
|
|
5937
|
-
: children)); };
|
|
5923
|
+
var dropdownMenuComponent = function (style, ref) { return (React.createElement(CConditionalPortal, { portal: portal !== null && portal !== void 0 ? portal : false },
|
|
5924
|
+
React.createElement(Component, __assign({ className: classNames('dropdown-menu', {
|
|
5925
|
+
'dropdown-menu-dark': dark,
|
|
5926
|
+
show: visible,
|
|
5927
|
+
}, alignment && alignmentClassNames(alignment), className), ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul'
|
|
5928
|
+
? React.Children.map(children, function (child, index) {
|
|
5929
|
+
if (React.isValidElement(child)) {
|
|
5930
|
+
return React.createElement("li", { key: index }, React.cloneElement(child));
|
|
5931
|
+
}
|
|
5932
|
+
return;
|
|
5933
|
+
})
|
|
5934
|
+
: children))); };
|
|
5938
5935
|
return popper && visible ? (React.createElement(Popper, { innerRef: dropdownMenuRef, placement: _placement }, function (_a) {
|
|
5939
5936
|
var ref = _a.ref, style = _a.style;
|
|
5940
5937
|
return dropdownMenuComponent(style, ref);
|
|
5941
5938
|
})) : (dropdownMenuComponent());
|
|
5942
5939
|
};
|
|
5943
5940
|
CDropdownMenu.propTypes = {
|
|
5944
|
-
children:
|
|
5945
|
-
className:
|
|
5946
|
-
component:
|
|
5941
|
+
children: PropTypes.node,
|
|
5942
|
+
className: PropTypes.string,
|
|
5943
|
+
component: PropTypes.elementType,
|
|
5947
5944
|
};
|
|
5948
5945
|
CDropdownMenu.displayName = 'CDropdownMenu';
|
|
5949
5946
|
|
|
@@ -5983,11 +5980,11 @@ var CDropdownToggle = function (_a) {
|
|
|
5983
5980
|
}) : Toggler(dropdownToggleRef);
|
|
5984
5981
|
};
|
|
5985
5982
|
CDropdownToggle.propTypes = {
|
|
5986
|
-
caret:
|
|
5987
|
-
children:
|
|
5988
|
-
className:
|
|
5989
|
-
custom:
|
|
5990
|
-
split:
|
|
5983
|
+
caret: PropTypes.bool,
|
|
5984
|
+
children: PropTypes.node,
|
|
5985
|
+
className: PropTypes.string,
|
|
5986
|
+
custom: PropTypes.bool,
|
|
5987
|
+
split: PropTypes.bool,
|
|
5991
5988
|
trigger: triggerPropType,
|
|
5992
5989
|
};
|
|
5993
5990
|
CDropdownToggle.displayName = 'CDropdownToggle';
|
|
@@ -5998,9 +5995,9 @@ var CFooter = React.forwardRef(function (_a, ref) {
|
|
|
5998
5995
|
return (React.createElement("div", __assign({ className: classNames('footer', (_b = {}, _b["footer-".concat(position)] = position, _b), className) }, rest, { ref: ref }), children));
|
|
5999
5996
|
});
|
|
6000
5997
|
CFooter.propTypes = {
|
|
6001
|
-
children:
|
|
6002
|
-
className:
|
|
6003
|
-
position:
|
|
5998
|
+
children: PropTypes.node,
|
|
5999
|
+
className: PropTypes.string,
|
|
6000
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
6004
6001
|
};
|
|
6005
6002
|
CFooter.displayName = 'CFooter';
|
|
6006
6003
|
|
|
@@ -6009,9 +6006,9 @@ var CForm = React.forwardRef(function (_a, ref) {
|
|
|
6009
6006
|
return (React.createElement("form", __assign({ className: classNames({ 'was-validated': validated }, className) || undefined }, rest, { ref: ref }), children));
|
|
6010
6007
|
});
|
|
6011
6008
|
CForm.propTypes = {
|
|
6012
|
-
children:
|
|
6013
|
-
className:
|
|
6014
|
-
validated:
|
|
6009
|
+
children: PropTypes.node,
|
|
6010
|
+
className: PropTypes.string,
|
|
6011
|
+
validated: PropTypes.bool,
|
|
6015
6012
|
};
|
|
6016
6013
|
CForm.displayName = 'CForm';
|
|
6017
6014
|
|
|
@@ -6024,12 +6021,12 @@ var CFormFeedback = React.forwardRef(function (_a, ref) {
|
|
|
6024
6021
|
_b), className) }, rest, { ref: ref }), children));
|
|
6025
6022
|
});
|
|
6026
6023
|
CFormFeedback.propTypes = {
|
|
6027
|
-
children:
|
|
6028
|
-
className:
|
|
6029
|
-
component:
|
|
6030
|
-
invalid:
|
|
6031
|
-
tooltip:
|
|
6032
|
-
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,
|
|
6033
6030
|
};
|
|
6034
6031
|
CFormFeedback.displayName = 'CFormFeedback';
|
|
6035
6032
|
|
|
@@ -6041,13 +6038,13 @@ var CFormControlValidation = function (_a) {
|
|
|
6041
6038
|
feedbackValid && (React.createElement(CFormFeedback, { valid: true, tooltip: tooltipFeedback }, feedbackValid))));
|
|
6042
6039
|
};
|
|
6043
6040
|
CFormControlValidation.propTypes = {
|
|
6044
|
-
describedby:
|
|
6045
|
-
feedback:
|
|
6046
|
-
feedbackValid:
|
|
6047
|
-
feedbackInvalid:
|
|
6048
|
-
invalid:
|
|
6049
|
-
tooltipFeedback:
|
|
6050
|
-
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,
|
|
6051
6048
|
};
|
|
6052
6049
|
CFormControlValidation.displayName = 'CFormControlValidation';
|
|
6053
6050
|
|
|
@@ -6056,9 +6053,9 @@ var CFormLabel = React.forwardRef(function (_a, ref) {
|
|
|
6056
6053
|
return (React.createElement("label", __assign({ className: customClassName !== null && customClassName !== void 0 ? customClassName : classNames('form-label', className) }, rest, { ref: ref }), children));
|
|
6057
6054
|
});
|
|
6058
6055
|
CFormLabel.propTypes = {
|
|
6059
|
-
children:
|
|
6060
|
-
className:
|
|
6061
|
-
customClassName:
|
|
6056
|
+
children: PropTypes.node,
|
|
6057
|
+
className: PropTypes.string,
|
|
6058
|
+
customClassName: PropTypes.string,
|
|
6062
6059
|
};
|
|
6063
6060
|
CFormLabel.displayName = 'CFormLabel';
|
|
6064
6061
|
|
|
@@ -6070,7 +6067,7 @@ var CFormCheck = React.forwardRef(function (_a, ref) {
|
|
|
6070
6067
|
if (inputRef.current && indeterminate) {
|
|
6071
6068
|
inputRef.current.indeterminate = indeterminate;
|
|
6072
6069
|
}
|
|
6073
|
-
}, [indeterminate]);
|
|
6070
|
+
}, [indeterminate, inputRef.current]);
|
|
6074
6071
|
var FormControl = function () { return (React.createElement("input", __assign({ type: type, className: classNames(button ? 'btn-check' : 'form-check-input', {
|
|
6075
6072
|
'is-invalid': invalid,
|
|
6076
6073
|
'is-valid': valid,
|
|
@@ -6110,7 +6107,7 @@ var CFormCheck = React.forwardRef(function (_a, ref) {
|
|
|
6110
6107
|
};
|
|
6111
6108
|
return React.createElement(FormCheck, null);
|
|
6112
6109
|
});
|
|
6113
|
-
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);
|
|
6114
6111
|
CFormCheck.displayName = 'CFormCheck';
|
|
6115
6112
|
|
|
6116
6113
|
var CFormFloating = React.forwardRef(function (_a, ref) {
|
|
@@ -6118,8 +6115,8 @@ var CFormFloating = React.forwardRef(function (_a, ref) {
|
|
|
6118
6115
|
return (React.createElement("div", __assign({ className: classNames('form-floating', className) }, rest, { ref: ref }), children));
|
|
6119
6116
|
});
|
|
6120
6117
|
CFormFloating.propTypes = {
|
|
6121
|
-
children:
|
|
6122
|
-
className:
|
|
6118
|
+
children: PropTypes.node,
|
|
6119
|
+
className: PropTypes.string,
|
|
6123
6120
|
};
|
|
6124
6121
|
CFormFloating.displayName = 'CFormFloating';
|
|
6125
6122
|
|
|
@@ -6128,9 +6125,9 @@ var CFormText = React.forwardRef(function (_a, ref) {
|
|
|
6128
6125
|
return (React.createElement(Component, __assign({ className: classNames('form-text', className) }, rest, { ref: ref }), children));
|
|
6129
6126
|
});
|
|
6130
6127
|
CFormText.propTypes = {
|
|
6131
|
-
children:
|
|
6132
|
-
className:
|
|
6133
|
-
component:
|
|
6128
|
+
children: PropTypes.node,
|
|
6129
|
+
className: PropTypes.string,
|
|
6130
|
+
component: PropTypes.elementType,
|
|
6134
6131
|
};
|
|
6135
6132
|
CFormText.displayName = 'CFormText';
|
|
6136
6133
|
|
|
@@ -6147,7 +6144,7 @@ var CFormControlWrapper = function (_a) {
|
|
|
6147
6144
|
text && React.createElement(CFormText, { id: describedby }, text),
|
|
6148
6145
|
React.createElement(FormControlValidation, null)));
|
|
6149
6146
|
};
|
|
6150
|
-
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);
|
|
6151
6148
|
CFormControlWrapper.displayName = 'CFormControlWrapper';
|
|
6152
6149
|
|
|
6153
6150
|
var CFormInput = React.forwardRef(function (_a, ref) {
|
|
@@ -6166,7 +6163,7 @@ var CFormInput = React.forwardRef(function (_a, ref) {
|
|
|
6166
6163
|
_b['is-valid'] = valid,
|
|
6167
6164
|
_b), className), id: id, type: type, onChange: function (event) { return (delay ? setValue(event) : onChange && onChange(event)); } }, rest, { ref: ref }), children)));
|
|
6168
6165
|
});
|
|
6169
|
-
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);
|
|
6170
6167
|
CFormInput.displayName = 'CFormInput';
|
|
6171
6168
|
|
|
6172
6169
|
var CFormRange = React.forwardRef(function (_a, ref) {
|
|
@@ -6176,8 +6173,8 @@ var CFormRange = React.forwardRef(function (_a, ref) {
|
|
|
6176
6173
|
React.createElement("input", __assign({ type: "range", className: classNames('form-range', className) }, rest, { ref: ref }))));
|
|
6177
6174
|
});
|
|
6178
6175
|
CFormRange.propTypes = {
|
|
6179
|
-
className:
|
|
6180
|
-
label:
|
|
6176
|
+
className: PropTypes.string,
|
|
6177
|
+
label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6181
6178
|
};
|
|
6182
6179
|
CFormRange.displayName = 'CFormRange';
|
|
6183
6180
|
|
|
@@ -6196,7 +6193,7 @@ var CFormSelect = React.forwardRef(function (_a, ref) {
|
|
|
6196
6193
|
})
|
|
6197
6194
|
: children)));
|
|
6198
6195
|
});
|
|
6199
|
-
CFormSelect.propTypes = __assign({ className:
|
|
6196
|
+
CFormSelect.propTypes = __assign({ className: PropTypes.string, htmlSize: PropTypes.number, options: PropTypes.array }, CFormControlWrapper.propTypes);
|
|
6200
6197
|
CFormSelect.displayName = 'CFormSelect';
|
|
6201
6198
|
|
|
6202
6199
|
var CFormSwitch = React.forwardRef(function (_a, ref) {
|
|
@@ -6216,14 +6213,14 @@ var CFormSwitch = React.forwardRef(function (_a, ref) {
|
|
|
6216
6213
|
label && (React.createElement(CFormLabel, __assign({ customClassName: "form-check-label" }, (id && { htmlFor: id })), label))));
|
|
6217
6214
|
});
|
|
6218
6215
|
CFormSwitch.propTypes = {
|
|
6219
|
-
className:
|
|
6220
|
-
id:
|
|
6221
|
-
invalid:
|
|
6222
|
-
label:
|
|
6223
|
-
reverse:
|
|
6224
|
-
size:
|
|
6225
|
-
type:
|
|
6226
|
-
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,
|
|
6227
6224
|
};
|
|
6228
6225
|
CFormSwitch.displayName = 'CFormSwitch';
|
|
6229
6226
|
|
|
@@ -6235,7 +6232,7 @@ var CFormTextarea = React.forwardRef(function (_a, ref) {
|
|
|
6235
6232
|
'is-valid': valid,
|
|
6236
6233
|
}, className), id: id }, rest, { ref: ref }), children)));
|
|
6237
6234
|
});
|
|
6238
|
-
CFormTextarea.propTypes = __assign({ className:
|
|
6235
|
+
CFormTextarea.propTypes = __assign({ className: PropTypes.string, id: PropTypes.string, plainText: PropTypes.bool }, CFormControlWrapper.propTypes);
|
|
6239
6236
|
CFormTextarea.displayName = 'CFormTextarea';
|
|
6240
6237
|
|
|
6241
6238
|
var CInputGroup = React.forwardRef(function (_a, ref) {
|
|
@@ -6246,9 +6243,9 @@ var CInputGroup = React.forwardRef(function (_a, ref) {
|
|
|
6246
6243
|
_b), className) }, rest, { ref: ref }), children));
|
|
6247
6244
|
});
|
|
6248
6245
|
CInputGroup.propTypes = {
|
|
6249
|
-
children:
|
|
6250
|
-
className:
|
|
6251
|
-
size:
|
|
6246
|
+
children: PropTypes.node,
|
|
6247
|
+
className: PropTypes.string,
|
|
6248
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6252
6249
|
};
|
|
6253
6250
|
CInputGroup.displayName = 'CInputGroup';
|
|
6254
6251
|
|
|
@@ -6257,9 +6254,9 @@ var CInputGroupText = React.forwardRef(function (_a, ref) {
|
|
|
6257
6254
|
return (React.createElement(Component, __assign({ className: classNames('input-group-text', className) }, rest, { ref: ref }), children));
|
|
6258
6255
|
});
|
|
6259
6256
|
CInputGroupText.propTypes = {
|
|
6260
|
-
children:
|
|
6261
|
-
className:
|
|
6262
|
-
component:
|
|
6257
|
+
children: PropTypes.node,
|
|
6258
|
+
className: PropTypes.string,
|
|
6259
|
+
component: PropTypes.elementType,
|
|
6263
6260
|
};
|
|
6264
6261
|
CInputGroupText.displayName = 'CInputGroupText';
|
|
6265
6262
|
|
|
@@ -6301,27 +6298,27 @@ var CCol = React.forwardRef(function (_a, ref) {
|
|
|
6301
6298
|
});
|
|
6302
6299
|
return (React.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'col', className) }, rest, { ref: ref }), children));
|
|
6303
6300
|
});
|
|
6304
|
-
var span =
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6301
|
+
var span = PropTypes.oneOfType([
|
|
6302
|
+
PropTypes.bool,
|
|
6303
|
+
PropTypes.number,
|
|
6304
|
+
PropTypes.string,
|
|
6305
|
+
PropTypes.oneOf(['auto']),
|
|
6309
6306
|
]);
|
|
6310
|
-
var col =
|
|
6307
|
+
var col = PropTypes.oneOfType([
|
|
6311
6308
|
span,
|
|
6312
|
-
|
|
6309
|
+
PropTypes.shape({
|
|
6313
6310
|
span: span,
|
|
6314
|
-
offset:
|
|
6315
|
-
order:
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6311
|
+
offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
6312
|
+
order: PropTypes.oneOfType([
|
|
6313
|
+
PropTypes.oneOf(['first', 'last']),
|
|
6314
|
+
PropTypes.number,
|
|
6315
|
+
PropTypes.string,
|
|
6319
6316
|
]),
|
|
6320
6317
|
}),
|
|
6321
6318
|
]);
|
|
6322
6319
|
CCol.propTypes = {
|
|
6323
|
-
children:
|
|
6324
|
-
className:
|
|
6320
|
+
children: PropTypes.node,
|
|
6321
|
+
className: PropTypes.string,
|
|
6325
6322
|
xs: col,
|
|
6326
6323
|
sm: col,
|
|
6327
6324
|
md: col,
|
|
@@ -6350,14 +6347,14 @@ var CContainer = React.forwardRef(function (_a, ref) {
|
|
|
6350
6347
|
return (React.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'container', className) }, rest, { ref: ref }), children));
|
|
6351
6348
|
});
|
|
6352
6349
|
CContainer.propTypes = {
|
|
6353
|
-
children:
|
|
6354
|
-
className:
|
|
6355
|
-
sm:
|
|
6356
|
-
md:
|
|
6357
|
-
lg:
|
|
6358
|
-
xl:
|
|
6359
|
-
xxl:
|
|
6360
|
-
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,
|
|
6361
6358
|
};
|
|
6362
6359
|
CContainer.displayName = 'CContainer';
|
|
6363
6360
|
|
|
@@ -6393,15 +6390,15 @@ var CRow = React.forwardRef(function (_a, ref) {
|
|
|
6393
6390
|
});
|
|
6394
6391
|
return (React.createElement("div", { className: classNames('row', repsonsiveClassNames, className), ref: ref }, children));
|
|
6395
6392
|
});
|
|
6396
|
-
var bp =
|
|
6397
|
-
cols:
|
|
6398
|
-
gutter:
|
|
6399
|
-
gutterX:
|
|
6400
|
-
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]),
|
|
6401
6398
|
});
|
|
6402
6399
|
CRow.propTypes = {
|
|
6403
|
-
children:
|
|
6404
|
-
className:
|
|
6400
|
+
children: PropTypes.node,
|
|
6401
|
+
className: PropTypes.string,
|
|
6405
6402
|
xs: bp,
|
|
6406
6403
|
sm: bp,
|
|
6407
6404
|
md: bp,
|
|
@@ -6417,11 +6414,11 @@ var CHeader = React.forwardRef(function (_a, ref) {
|
|
|
6417
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))));
|
|
6418
6415
|
});
|
|
6419
6416
|
CHeader.propTypes = {
|
|
6420
|
-
children:
|
|
6421
|
-
className:
|
|
6422
|
-
container:
|
|
6423
|
-
|
|
6424
|
-
|
|
6417
|
+
children: PropTypes.node,
|
|
6418
|
+
className: PropTypes.string,
|
|
6419
|
+
container: PropTypes.oneOfType([
|
|
6420
|
+
PropTypes.bool,
|
|
6421
|
+
PropTypes.oneOf([
|
|
6425
6422
|
'sm',
|
|
6426
6423
|
'md',
|
|
6427
6424
|
'lg',
|
|
@@ -6430,7 +6427,7 @@ CHeader.propTypes = {
|
|
|
6430
6427
|
'fluid',
|
|
6431
6428
|
]),
|
|
6432
6429
|
]),
|
|
6433
|
-
position:
|
|
6430
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
6434
6431
|
};
|
|
6435
6432
|
CHeader.displayName = 'CHeader';
|
|
6436
6433
|
|
|
@@ -6439,9 +6436,9 @@ var CHeaderBrand = React.forwardRef(function (_a, ref) {
|
|
|
6439
6436
|
return (React.createElement(Component, __assign({ className: classNames('header-brand', className) }, rest, { ref: ref }), children));
|
|
6440
6437
|
});
|
|
6441
6438
|
CHeaderBrand.propTypes = {
|
|
6442
|
-
children:
|
|
6443
|
-
className:
|
|
6444
|
-
component:
|
|
6439
|
+
children: PropTypes.node,
|
|
6440
|
+
className: PropTypes.string,
|
|
6441
|
+
component: PropTypes.elementType,
|
|
6445
6442
|
};
|
|
6446
6443
|
CHeaderBrand.displayName = 'CHeaderBrand';
|
|
6447
6444
|
|
|
@@ -6450,7 +6447,7 @@ var CHeaderDivider = React.forwardRef(function (_a, ref) {
|
|
|
6450
6447
|
return React.createElement("div", __assign({ className: classNames('header-divider', className) }, rest, { ref: ref }));
|
|
6451
6448
|
});
|
|
6452
6449
|
CHeaderDivider.propTypes = {
|
|
6453
|
-
className:
|
|
6450
|
+
className: PropTypes.string,
|
|
6454
6451
|
};
|
|
6455
6452
|
CHeaderDivider.displayName = 'CHeaderDivider';
|
|
6456
6453
|
|
|
@@ -6459,9 +6456,9 @@ var CHeaderNav = React.forwardRef(function (_a, ref) {
|
|
|
6459
6456
|
return (React.createElement(Component, __assign({ className: classNames('header-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6460
6457
|
});
|
|
6461
6458
|
CHeaderNav.propTypes = {
|
|
6462
|
-
children:
|
|
6463
|
-
className:
|
|
6464
|
-
component:
|
|
6459
|
+
children: PropTypes.node,
|
|
6460
|
+
className: PropTypes.string,
|
|
6461
|
+
component: PropTypes.elementType,
|
|
6465
6462
|
};
|
|
6466
6463
|
CHeaderNav.displayName = 'CHeaderNav';
|
|
6467
6464
|
|
|
@@ -6470,8 +6467,8 @@ var CHeaderText = React.forwardRef(function (_a, ref) {
|
|
|
6470
6467
|
return (React.createElement("span", __assign({ className: classNames('header-text', className) }, rest, { ref: ref }), children));
|
|
6471
6468
|
});
|
|
6472
6469
|
CHeaderText.propTypes = {
|
|
6473
|
-
children:
|
|
6474
|
-
className:
|
|
6470
|
+
children: PropTypes.node,
|
|
6471
|
+
className: PropTypes.string,
|
|
6475
6472
|
};
|
|
6476
6473
|
CHeaderText.displayName = 'CHeaderText';
|
|
6477
6474
|
|
|
@@ -6480,8 +6477,8 @@ var CHeaderToggler = React.forwardRef(function (_a, ref) {
|
|
|
6480
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" })));
|
|
6481
6478
|
});
|
|
6482
6479
|
CHeaderToggler.propTypes = {
|
|
6483
|
-
children:
|
|
6484
|
-
className:
|
|
6480
|
+
children: PropTypes.node,
|
|
6481
|
+
className: PropTypes.string,
|
|
6485
6482
|
};
|
|
6486
6483
|
CHeaderToggler.displayName = 'CHeaderToggler';
|
|
6487
6484
|
|
|
@@ -6497,11 +6494,11 @@ var CImage = React.forwardRef(function (_a, ref) {
|
|
|
6497
6494
|
_b), className) || undefined }, rest, { ref: ref })));
|
|
6498
6495
|
});
|
|
6499
6496
|
CImage.propTypes = {
|
|
6500
|
-
align:
|
|
6501
|
-
className:
|
|
6502
|
-
fluid:
|
|
6503
|
-
rounded:
|
|
6504
|
-
thumbnail:
|
|
6497
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
6498
|
+
className: PropTypes.string,
|
|
6499
|
+
fluid: PropTypes.bool,
|
|
6500
|
+
rounded: PropTypes.bool,
|
|
6501
|
+
thumbnail: PropTypes.bool,
|
|
6505
6502
|
};
|
|
6506
6503
|
CImage.displayName = 'CImage';
|
|
6507
6504
|
|
|
@@ -6515,11 +6512,11 @@ var CListGroup = React.forwardRef(function (_a, ref) {
|
|
|
6515
6512
|
_b), className), ref: ref }, children));
|
|
6516
6513
|
});
|
|
6517
6514
|
CListGroup.propTypes = {
|
|
6518
|
-
children:
|
|
6519
|
-
className:
|
|
6520
|
-
component:
|
|
6521
|
-
flush:
|
|
6522
|
-
layout:
|
|
6515
|
+
children: PropTypes.node,
|
|
6516
|
+
className: PropTypes.string,
|
|
6517
|
+
component: PropTypes.elementType,
|
|
6518
|
+
flush: PropTypes.bool,
|
|
6519
|
+
layout: PropTypes.oneOf([
|
|
6523
6520
|
'horizontal',
|
|
6524
6521
|
'horizontal-sm',
|
|
6525
6522
|
'horizontal-md',
|
|
@@ -6548,12 +6545,12 @@ var CListGroupItem = React.forwardRef(function (_a, ref) {
|
|
|
6548
6545
|
_b), className) }, rest), children));
|
|
6549
6546
|
});
|
|
6550
6547
|
CListGroupItem.propTypes = {
|
|
6551
|
-
active:
|
|
6552
|
-
children:
|
|
6553
|
-
className:
|
|
6548
|
+
active: PropTypes.bool,
|
|
6549
|
+
children: PropTypes.node,
|
|
6550
|
+
className: PropTypes.string,
|
|
6554
6551
|
color: colorPropType,
|
|
6555
|
-
component:
|
|
6556
|
-
disabled:
|
|
6552
|
+
component: PropTypes.elementType,
|
|
6553
|
+
disabled: PropTypes.bool,
|
|
6557
6554
|
};
|
|
6558
6555
|
CListGroupItem.displayName = 'CListGroupItem';
|
|
6559
6556
|
|
|
@@ -6562,8 +6559,8 @@ var CModalContent = React.forwardRef(function (_a, ref) {
|
|
|
6562
6559
|
return (React.createElement("div", __assign({ className: classNames('modal-content', className) }, rest, { ref: ref }), children));
|
|
6563
6560
|
});
|
|
6564
6561
|
CModalContent.propTypes = {
|
|
6565
|
-
children:
|
|
6566
|
-
className:
|
|
6562
|
+
children: PropTypes.node,
|
|
6563
|
+
className: PropTypes.string,
|
|
6567
6564
|
};
|
|
6568
6565
|
CModalContent.displayName = 'CModalContent';
|
|
6569
6566
|
|
|
@@ -6581,15 +6578,15 @@ var CModalDialog = React.forwardRef(function (_a, ref) {
|
|
|
6581
6578
|
_b), className) }, rest, { ref: ref }), children));
|
|
6582
6579
|
});
|
|
6583
6580
|
CModalDialog.propTypes = {
|
|
6584
|
-
alignment:
|
|
6585
|
-
children:
|
|
6586
|
-
className:
|
|
6587
|
-
fullscreen:
|
|
6588
|
-
|
|
6589
|
-
|
|
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']),
|
|
6590
6587
|
]),
|
|
6591
|
-
scrollable:
|
|
6592
|
-
size:
|
|
6588
|
+
scrollable: PropTypes.bool,
|
|
6589
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
6593
6590
|
};
|
|
6594
6591
|
CModalDialog.displayName = 'CModalDialog';
|
|
6595
6592
|
|
|
@@ -6679,25 +6676,25 @@ var CModal = React.forwardRef(function (_a, ref) {
|
|
|
6679
6676
|
React.createElement(CBackdrop, { visible: _visible })))));
|
|
6680
6677
|
});
|
|
6681
6678
|
CModal.propTypes = {
|
|
6682
|
-
alignment:
|
|
6683
|
-
backdrop:
|
|
6684
|
-
children:
|
|
6685
|
-
className:
|
|
6686
|
-
duration:
|
|
6687
|
-
fullscreen:
|
|
6688
|
-
|
|
6689
|
-
|
|
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']),
|
|
6690
6687
|
]),
|
|
6691
|
-
keyboard:
|
|
6692
|
-
onClose:
|
|
6693
|
-
onClosePrevented:
|
|
6694
|
-
onShow:
|
|
6695
|
-
portal:
|
|
6696
|
-
scrollable:
|
|
6697
|
-
size:
|
|
6698
|
-
transition:
|
|
6699
|
-
unmountOnClose:
|
|
6700
|
-
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,
|
|
6701
6698
|
};
|
|
6702
6699
|
CModal.displayName = 'CModal';
|
|
6703
6700
|
|
|
@@ -6706,8 +6703,8 @@ var CModalBody = React.forwardRef(function (_a, ref) {
|
|
|
6706
6703
|
return (React.createElement("div", __assign({ className: classNames('modal-body', className) }, rest, { ref: ref }), children));
|
|
6707
6704
|
});
|
|
6708
6705
|
CModalBody.propTypes = {
|
|
6709
|
-
children:
|
|
6710
|
-
className:
|
|
6706
|
+
children: PropTypes.node,
|
|
6707
|
+
className: PropTypes.string,
|
|
6711
6708
|
};
|
|
6712
6709
|
CModalBody.displayName = 'CModalBody';
|
|
6713
6710
|
|
|
@@ -6716,8 +6713,8 @@ var CModalFooter = React.forwardRef(function (_a, ref) {
|
|
|
6716
6713
|
return (React.createElement("div", __assign({ className: classNames('modal-footer', className) }, rest, { ref: ref }), children));
|
|
6717
6714
|
});
|
|
6718
6715
|
CModalFooter.propTypes = {
|
|
6719
|
-
children:
|
|
6720
|
-
className:
|
|
6716
|
+
children: PropTypes.node,
|
|
6717
|
+
className: PropTypes.string,
|
|
6721
6718
|
};
|
|
6722
6719
|
CModalFooter.displayName = 'CModalFooter';
|
|
6723
6720
|
|
|
@@ -6729,9 +6726,9 @@ var CModalHeader = React.forwardRef(function (_a, ref) {
|
|
|
6729
6726
|
closeButton && React.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })));
|
|
6730
6727
|
});
|
|
6731
6728
|
CModalHeader.propTypes = {
|
|
6732
|
-
children:
|
|
6733
|
-
className:
|
|
6734
|
-
closeButton:
|
|
6729
|
+
children: PropTypes.node,
|
|
6730
|
+
className: PropTypes.string,
|
|
6731
|
+
closeButton: PropTypes.bool,
|
|
6735
6732
|
};
|
|
6736
6733
|
CModalHeader.displayName = 'CModalHeader';
|
|
6737
6734
|
|
|
@@ -6740,9 +6737,9 @@ var CModalTitle = React.forwardRef(function (_a, ref) {
|
|
|
6740
6737
|
return (React.createElement(Component, __assign({ className: classNames('modal-title', className) }, rest, { ref: ref }), children));
|
|
6741
6738
|
});
|
|
6742
6739
|
CModalTitle.propTypes = {
|
|
6743
|
-
children:
|
|
6744
|
-
className:
|
|
6745
|
-
component:
|
|
6740
|
+
children: PropTypes.node,
|
|
6741
|
+
className: PropTypes.string,
|
|
6742
|
+
component: PropTypes.elementType,
|
|
6746
6743
|
};
|
|
6747
6744
|
CModalTitle.displayName = 'CModalTitle';
|
|
6748
6745
|
|
|
@@ -6755,11 +6752,11 @@ var CNav = React.forwardRef(function (_a, ref) {
|
|
|
6755
6752
|
_b), className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6756
6753
|
});
|
|
6757
6754
|
CNav.propTypes = {
|
|
6758
|
-
children:
|
|
6759
|
-
className:
|
|
6760
|
-
component:
|
|
6761
|
-
layout:
|
|
6762
|
-
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']),
|
|
6763
6760
|
};
|
|
6764
6761
|
CNav.displayName = 'CNav';
|
|
6765
6762
|
|
|
@@ -6768,8 +6765,8 @@ var CNavGroupItems = React.forwardRef(function (_a, ref) {
|
|
|
6768
6765
|
return (React.createElement("ul", __assign({ className: classNames('nav-group-items', className) }, rest, { ref: ref }), children));
|
|
6769
6766
|
});
|
|
6770
6767
|
CNavGroupItems.propTypes = {
|
|
6771
|
-
children:
|
|
6772
|
-
className:
|
|
6768
|
+
children: PropTypes.node,
|
|
6769
|
+
className: PropTypes.string,
|
|
6773
6770
|
};
|
|
6774
6771
|
CNavGroupItems.displayName = 'CNavGroupItems';
|
|
6775
6772
|
|
|
@@ -6793,8 +6790,8 @@ var CSidebarNav = React.forwardRef(function (_a, ref) {
|
|
|
6793
6790
|
}))));
|
|
6794
6791
|
});
|
|
6795
6792
|
CSidebarNav.propTypes = {
|
|
6796
|
-
children:
|
|
6797
|
-
className:
|
|
6793
|
+
children: PropTypes.node,
|
|
6794
|
+
className: PropTypes.string,
|
|
6798
6795
|
};
|
|
6799
6796
|
CSidebarNav.displayName = 'CSidebarNav';
|
|
6800
6797
|
|
|
@@ -6855,12 +6852,12 @@ var CNavGroup = React.forwardRef(function (_a, ref) {
|
|
|
6855
6852
|
}))); })));
|
|
6856
6853
|
});
|
|
6857
6854
|
CNavGroup.propTypes = {
|
|
6858
|
-
children:
|
|
6859
|
-
className:
|
|
6860
|
-
compact:
|
|
6861
|
-
idx:
|
|
6862
|
-
toggler:
|
|
6863
|
-
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,
|
|
6864
6861
|
};
|
|
6865
6862
|
CNavGroup.displayName = 'CNavGroup';
|
|
6866
6863
|
|
|
@@ -6877,9 +6874,9 @@ var CNavLink = React.forwardRef(function (_a, ref) {
|
|
|
6877
6874
|
return (React.createElement(CLink, __assign({ className: classNames('nav-link', className) }, rest, { ref: forkedRef }), children));
|
|
6878
6875
|
});
|
|
6879
6876
|
CNavLink.propTypes = {
|
|
6880
|
-
children:
|
|
6881
|
-
className:
|
|
6882
|
-
idx:
|
|
6877
|
+
children: PropTypes.node,
|
|
6878
|
+
className: PropTypes.string,
|
|
6879
|
+
idx: PropTypes.string,
|
|
6883
6880
|
};
|
|
6884
6881
|
CNavLink.displayName = 'CNavLink';
|
|
6885
6882
|
|
|
@@ -6888,8 +6885,8 @@ var CNavItem = React.forwardRef(function (_a, ref) {
|
|
|
6888
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)));
|
|
6889
6886
|
});
|
|
6890
6887
|
CNavItem.propTypes = {
|
|
6891
|
-
children:
|
|
6892
|
-
className:
|
|
6888
|
+
children: PropTypes.node,
|
|
6889
|
+
className: PropTypes.string,
|
|
6893
6890
|
};
|
|
6894
6891
|
CNavItem.displayName = 'CNavItem';
|
|
6895
6892
|
|
|
@@ -6898,8 +6895,8 @@ var CNavTitle = React.forwardRef(function (_a, ref) {
|
|
|
6898
6895
|
return (React.createElement("li", __assign({ className: classNames('nav-title', className) }, rest, { ref: ref }), children));
|
|
6899
6896
|
});
|
|
6900
6897
|
CNavTitle.propTypes = {
|
|
6901
|
-
children:
|
|
6902
|
-
className:
|
|
6898
|
+
children: PropTypes.node,
|
|
6899
|
+
className: PropTypes.string,
|
|
6903
6900
|
};
|
|
6904
6901
|
CNavTitle.displayName = 'CNavTitle';
|
|
6905
6902
|
|
|
@@ -6913,14 +6910,14 @@ var CNavbar = React.forwardRef(function (_a, ref) {
|
|
|
6913
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))));
|
|
6914
6911
|
});
|
|
6915
6912
|
CNavbar.propTypes = {
|
|
6916
|
-
children:
|
|
6917
|
-
className:
|
|
6913
|
+
children: PropTypes.node,
|
|
6914
|
+
className: PropTypes.string,
|
|
6918
6915
|
color: colorPropType,
|
|
6919
|
-
colorScheme:
|
|
6920
|
-
component:
|
|
6921
|
-
container:
|
|
6922
|
-
|
|
6923
|
-
|
|
6916
|
+
colorScheme: PropTypes.oneOf(['dark', 'light']),
|
|
6917
|
+
component: PropTypes.elementType,
|
|
6918
|
+
container: PropTypes.oneOfType([
|
|
6919
|
+
PropTypes.bool,
|
|
6920
|
+
PropTypes.oneOf([
|
|
6924
6921
|
'sm',
|
|
6925
6922
|
'md',
|
|
6926
6923
|
'lg',
|
|
@@ -6929,11 +6926,11 @@ CNavbar.propTypes = {
|
|
|
6929
6926
|
'fluid',
|
|
6930
6927
|
]),
|
|
6931
6928
|
]),
|
|
6932
|
-
expand:
|
|
6933
|
-
|
|
6934
|
-
|
|
6929
|
+
expand: PropTypes.oneOfType([
|
|
6930
|
+
PropTypes.bool,
|
|
6931
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6935
6932
|
]),
|
|
6936
|
-
placement:
|
|
6933
|
+
placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
|
|
6937
6934
|
};
|
|
6938
6935
|
CNavbar.displayName = 'CNavbar';
|
|
6939
6936
|
|
|
@@ -6943,9 +6940,9 @@ var CNavbarBrand = React.forwardRef(function (_a, ref) {
|
|
|
6943
6940
|
return (React.createElement(Component, __assign({ className: classNames('navbar-brand', className) }, rest, { ref: ref }), children));
|
|
6944
6941
|
});
|
|
6945
6942
|
CNavbarBrand.propTypes = {
|
|
6946
|
-
children:
|
|
6947
|
-
className:
|
|
6948
|
-
component:
|
|
6943
|
+
children: PropTypes.node,
|
|
6944
|
+
className: PropTypes.string,
|
|
6945
|
+
component: PropTypes.elementType,
|
|
6949
6946
|
};
|
|
6950
6947
|
CNavbarBrand.displayName = 'CNavbarBrand';
|
|
6951
6948
|
|
|
@@ -6954,9 +6951,9 @@ var CNavbarNav = React.forwardRef(function (_a, ref) {
|
|
|
6954
6951
|
return (React.createElement(Component, __assign({ className: classNames('navbar-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6955
6952
|
});
|
|
6956
6953
|
CNavbarNav.propTypes = {
|
|
6957
|
-
children:
|
|
6958
|
-
className:
|
|
6959
|
-
component:
|
|
6954
|
+
children: PropTypes.node,
|
|
6955
|
+
className: PropTypes.string,
|
|
6956
|
+
component: PropTypes.elementType,
|
|
6960
6957
|
};
|
|
6961
6958
|
CNavbarNav.displayName = 'CNavbarNav';
|
|
6962
6959
|
|
|
@@ -6965,8 +6962,8 @@ var CNavbarText = React.forwardRef(function (_a, ref) {
|
|
|
6965
6962
|
return (React.createElement("span", __assign({ className: classNames('navbar-text', className) }, rest, { ref: ref }), children));
|
|
6966
6963
|
});
|
|
6967
6964
|
CNavbarText.propTypes = {
|
|
6968
|
-
children:
|
|
6969
|
-
className:
|
|
6965
|
+
children: PropTypes.node,
|
|
6966
|
+
className: PropTypes.string,
|
|
6970
6967
|
};
|
|
6971
6968
|
CNavbarText.displayName = 'CNavbarText';
|
|
6972
6969
|
|
|
@@ -6975,8 +6972,8 @@ var CNavbarToggler = React.forwardRef(function (_a, ref) {
|
|
|
6975
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" })));
|
|
6976
6973
|
});
|
|
6977
6974
|
CNavbarToggler.propTypes = {
|
|
6978
|
-
children:
|
|
6979
|
-
className:
|
|
6975
|
+
children: PropTypes.node,
|
|
6976
|
+
className: PropTypes.string,
|
|
6980
6977
|
};
|
|
6981
6978
|
CNavbarToggler.displayName = 'CNavbarToggler';
|
|
6982
6979
|
|
|
@@ -6989,11 +6986,9 @@ var COffcanvas = React.forwardRef(function (_a, ref) {
|
|
|
6989
6986
|
setVisible(visible);
|
|
6990
6987
|
}, [visible]);
|
|
6991
6988
|
React.useEffect(function () {
|
|
6992
|
-
if (_visible) {
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
document.body.style.paddingRight = '0px';
|
|
6996
|
-
}
|
|
6989
|
+
if (_visible && !scroll) {
|
|
6990
|
+
document.body.style.overflow = 'hidden';
|
|
6991
|
+
document.body.style.paddingRight = '0px';
|
|
6997
6992
|
return;
|
|
6998
6993
|
}
|
|
6999
6994
|
if (!scroll) {
|
|
@@ -7030,21 +7025,21 @@ var COffcanvas = React.forwardRef(function (_a, ref) {
|
|
|
7030
7025
|
React.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleBackdropDismiss, visible: _visible })))));
|
|
7031
7026
|
});
|
|
7032
7027
|
COffcanvas.propTypes = {
|
|
7033
|
-
backdrop:
|
|
7034
|
-
children:
|
|
7035
|
-
className:
|
|
7036
|
-
keyboard:
|
|
7037
|
-
onHide:
|
|
7038
|
-
onShow:
|
|
7039
|
-
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'])
|
|
7040
7035
|
.isRequired,
|
|
7041
|
-
portal:
|
|
7042
|
-
responsive:
|
|
7043
|
-
|
|
7044
|
-
|
|
7036
|
+
portal: PropTypes.bool,
|
|
7037
|
+
responsive: PropTypes.oneOfType([
|
|
7038
|
+
PropTypes.bool,
|
|
7039
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7045
7040
|
]),
|
|
7046
|
-
scroll:
|
|
7047
|
-
visible:
|
|
7041
|
+
scroll: PropTypes.bool,
|
|
7042
|
+
visible: PropTypes.bool,
|
|
7048
7043
|
};
|
|
7049
7044
|
COffcanvas.displayName = 'COffcanvas';
|
|
7050
7045
|
|
|
@@ -7053,8 +7048,8 @@ var COffcanvasBody = React.forwardRef(function (_a, ref) {
|
|
|
7053
7048
|
return (React.createElement("div", __assign({ className: classNames('offcanvas-body', className) }, rest, { ref: ref }), children));
|
|
7054
7049
|
});
|
|
7055
7050
|
COffcanvasBody.propTypes = {
|
|
7056
|
-
children:
|
|
7057
|
-
className:
|
|
7051
|
+
children: PropTypes.node,
|
|
7052
|
+
className: PropTypes.string,
|
|
7058
7053
|
};
|
|
7059
7054
|
COffcanvasBody.displayName = 'COffcanvasBody';
|
|
7060
7055
|
|
|
@@ -7063,8 +7058,8 @@ var COffcanvasHeader = React.forwardRef(function (_a, ref) {
|
|
|
7063
7058
|
return (React.createElement("div", __assign({ className: classNames('offcanvas-header', className) }, rest, { ref: ref }), children));
|
|
7064
7059
|
});
|
|
7065
7060
|
COffcanvasHeader.propTypes = {
|
|
7066
|
-
children:
|
|
7067
|
-
className:
|
|
7061
|
+
children: PropTypes.node,
|
|
7062
|
+
className: PropTypes.string,
|
|
7068
7063
|
};
|
|
7069
7064
|
COffcanvasHeader.displayName = 'COffcanvasHeader';
|
|
7070
7065
|
|
|
@@ -7073,9 +7068,9 @@ var COffcanvasTitle = React.forwardRef(function (_a, ref) {
|
|
|
7073
7068
|
return (React.createElement(Component, __assign({ className: classNames('offcanvas-title', className) }, rest, { ref: ref }), children));
|
|
7074
7069
|
});
|
|
7075
7070
|
COffcanvasTitle.propTypes = {
|
|
7076
|
-
children:
|
|
7077
|
-
className:
|
|
7078
|
-
component:
|
|
7071
|
+
children: PropTypes.node,
|
|
7072
|
+
className: PropTypes.string,
|
|
7073
|
+
component: PropTypes.elementType,
|
|
7079
7074
|
};
|
|
7080
7075
|
COffcanvasTitle.displayName = 'COffcanvasTitle';
|
|
7081
7076
|
|
|
@@ -7089,10 +7084,10 @@ var CPagination = React.forwardRef(function (_a, ref) {
|
|
|
7089
7084
|
_b), className) }, children)));
|
|
7090
7085
|
});
|
|
7091
7086
|
CPagination.propTypes = {
|
|
7092
|
-
align:
|
|
7093
|
-
children:
|
|
7094
|
-
className:
|
|
7095
|
-
size:
|
|
7087
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
7088
|
+
children: PropTypes.node,
|
|
7089
|
+
className: PropTypes.string,
|
|
7090
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
7096
7091
|
};
|
|
7097
7092
|
CPagination.displayName = 'CPagination';
|
|
7098
7093
|
|
|
@@ -7105,9 +7100,9 @@ var CPaginationItem = React.forwardRef(function (_a, ref) {
|
|
|
7105
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))));
|
|
7106
7101
|
});
|
|
7107
7102
|
CPaginationItem.propTypes = {
|
|
7108
|
-
children:
|
|
7109
|
-
className:
|
|
7110
|
-
component:
|
|
7103
|
+
children: PropTypes.node,
|
|
7104
|
+
className: PropTypes.string,
|
|
7105
|
+
component: PropTypes.elementType,
|
|
7111
7106
|
};
|
|
7112
7107
|
CPaginationItem.displayName = 'CPaginationItem';
|
|
7113
7108
|
|
|
@@ -7140,12 +7135,12 @@ var CPlaceholder = React.forwardRef(function (_a, ref) {
|
|
|
7140
7135
|
_b), repsonsiveClassNames, className) }, rest, { ref: ref }), children));
|
|
7141
7136
|
});
|
|
7142
7137
|
CPlaceholder.propTypes = {
|
|
7143
|
-
animation:
|
|
7144
|
-
children:
|
|
7145
|
-
className:
|
|
7138
|
+
animation: PropTypes.oneOf(['glow', 'wave']),
|
|
7139
|
+
children: PropTypes.node,
|
|
7140
|
+
className: PropTypes.string,
|
|
7146
7141
|
color: colorPropType,
|
|
7147
|
-
component:
|
|
7148
|
-
size:
|
|
7142
|
+
component: PropTypes.elementType,
|
|
7143
|
+
size: PropTypes.oneOf(['xs', 'sm', 'lg']),
|
|
7149
7144
|
};
|
|
7150
7145
|
CPlaceholder.displayName = 'CPlaceholder';
|
|
7151
7146
|
|
|
@@ -7159,12 +7154,12 @@ var CProgressBar = React.forwardRef(function (_a, ref) {
|
|
|
7159
7154
|
_b), className), role: "progressbar", style: { width: "".concat(value, "%") }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
|
|
7160
7155
|
});
|
|
7161
7156
|
CProgressBar.propTypes = {
|
|
7162
|
-
animated:
|
|
7163
|
-
children:
|
|
7164
|
-
className:
|
|
7157
|
+
animated: PropTypes.bool,
|
|
7158
|
+
children: PropTypes.node,
|
|
7159
|
+
className: PropTypes.string,
|
|
7165
7160
|
color: colorPropType,
|
|
7166
|
-
value:
|
|
7167
|
-
variant:
|
|
7161
|
+
value: PropTypes.number,
|
|
7162
|
+
variant: PropTypes.oneOf(['striped']),
|
|
7168
7163
|
};
|
|
7169
7164
|
CProgressBar.displayName = 'CProgressBar';
|
|
7170
7165
|
|
|
@@ -7176,12 +7171,12 @@ var CProgress = React.forwardRef(function (_a, ref) {
|
|
|
7176
7171
|
}, className), style: height ? { height: "".concat(height, "px") } : {}, ref: ref }, value ? (React.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
|
|
7177
7172
|
});
|
|
7178
7173
|
CProgress.propTypes = {
|
|
7179
|
-
children:
|
|
7180
|
-
className:
|
|
7181
|
-
height:
|
|
7182
|
-
thin:
|
|
7183
|
-
value:
|
|
7184
|
-
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,
|
|
7185
7180
|
};
|
|
7186
7181
|
CProgress.displayName = 'CProgress';
|
|
7187
7182
|
|
|
@@ -7229,16 +7224,16 @@ var CPopover = function (_a) {
|
|
|
7229
7224
|
React.createElement("div", { className: "popover-body" }, content))); }), document.body)));
|
|
7230
7225
|
};
|
|
7231
7226
|
CPopover.propTypes = {
|
|
7232
|
-
children:
|
|
7233
|
-
className:
|
|
7234
|
-
content:
|
|
7235
|
-
offset:
|
|
7236
|
-
onHide:
|
|
7237
|
-
onShow:
|
|
7238
|
-
placement:
|
|
7239
|
-
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]),
|
|
7240
7235
|
trigger: triggerPropType,
|
|
7241
|
-
visible:
|
|
7236
|
+
visible: PropTypes.bool,
|
|
7242
7237
|
};
|
|
7243
7238
|
CPopover.displayName = 'CPopover';
|
|
7244
7239
|
|
|
@@ -7332,17 +7327,17 @@ var CSidebar = React.forwardRef(function (_a, ref) {
|
|
|
7332
7327
|
ReactDOM.createPortal(React.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body)));
|
|
7333
7328
|
});
|
|
7334
7329
|
CSidebar.propTypes = {
|
|
7335
|
-
children:
|
|
7336
|
-
className:
|
|
7337
|
-
narrow:
|
|
7338
|
-
onHide:
|
|
7339
|
-
onShow:
|
|
7340
|
-
onVisibleChange:
|
|
7341
|
-
overlaid:
|
|
7342
|
-
position:
|
|
7343
|
-
size:
|
|
7344
|
-
unfoldable:
|
|
7345
|
-
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,
|
|
7346
7341
|
};
|
|
7347
7342
|
CSidebar.displayName = 'CSidebar';
|
|
7348
7343
|
|
|
@@ -7351,8 +7346,8 @@ var CSidebarBrand = React.forwardRef(function (_a, ref) {
|
|
|
7351
7346
|
return (React.createElement("div", __assign({ className: classNames('sidebar-brand', className), ref: ref }, rest), children));
|
|
7352
7347
|
});
|
|
7353
7348
|
CSidebarBrand.propTypes = {
|
|
7354
|
-
children:
|
|
7355
|
-
className:
|
|
7349
|
+
children: PropTypes.node,
|
|
7350
|
+
className: PropTypes.string,
|
|
7356
7351
|
};
|
|
7357
7352
|
CSidebarBrand.displayName = 'CSidebarBrand';
|
|
7358
7353
|
|
|
@@ -7361,8 +7356,8 @@ var CSidebarFooter = React.forwardRef(function (_a, ref) {
|
|
|
7361
7356
|
return (React.createElement("div", __assign({ className: classNames('sidebar-footer', className), ref: ref }, rest), children));
|
|
7362
7357
|
});
|
|
7363
7358
|
CSidebarFooter.propTypes = {
|
|
7364
|
-
children:
|
|
7365
|
-
className:
|
|
7359
|
+
children: PropTypes.node,
|
|
7360
|
+
className: PropTypes.string,
|
|
7366
7361
|
};
|
|
7367
7362
|
CSidebarFooter.displayName = 'CSidebarFooter';
|
|
7368
7363
|
|
|
@@ -7371,8 +7366,8 @@ var CSidebarToggler = React.forwardRef(function (_a, ref) {
|
|
|
7371
7366
|
return (React.createElement("button", __assign({ className: classNames('sidebar-toggler', className), ref: ref }, rest), children));
|
|
7372
7367
|
});
|
|
7373
7368
|
CSidebarToggler.propTypes = {
|
|
7374
|
-
children:
|
|
7375
|
-
className:
|
|
7369
|
+
children: PropTypes.node,
|
|
7370
|
+
className: PropTypes.string,
|
|
7376
7371
|
};
|
|
7377
7372
|
CSidebarToggler.displayName = 'CSidebarToggler';
|
|
7378
7373
|
|
|
@@ -7381,8 +7376,8 @@ var CSidebarHeader = React.forwardRef(function (_a, ref) {
|
|
|
7381
7376
|
return (React.createElement("div", __assign({ className: classNames('sidebar-header', className), ref: ref }, rest), children));
|
|
7382
7377
|
});
|
|
7383
7378
|
CSidebarHeader.propTypes = {
|
|
7384
|
-
children:
|
|
7385
|
-
className:
|
|
7379
|
+
children: PropTypes.node,
|
|
7380
|
+
className: PropTypes.string,
|
|
7386
7381
|
};
|
|
7387
7382
|
CSidebarHeader.displayName = 'CSidebarHeader';
|
|
7388
7383
|
|
|
@@ -7392,12 +7387,12 @@ var CSpinner = React.forwardRef(function (_a, ref) {
|
|
|
7392
7387
|
React.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
|
|
7393
7388
|
});
|
|
7394
7389
|
CSpinner.propTypes = {
|
|
7395
|
-
className:
|
|
7390
|
+
className: PropTypes.string,
|
|
7396
7391
|
color: colorPropType,
|
|
7397
|
-
component:
|
|
7398
|
-
size:
|
|
7399
|
-
variant:
|
|
7400
|
-
visuallyHiddenLabel:
|
|
7392
|
+
component: PropTypes.string,
|
|
7393
|
+
size: PropTypes.oneOf(['sm']),
|
|
7394
|
+
variant: PropTypes.oneOf(['border', 'grow']),
|
|
7395
|
+
visuallyHiddenLabel: PropTypes.string,
|
|
7401
7396
|
};
|
|
7402
7397
|
CSpinner.displayName = 'CSpinner';
|
|
7403
7398
|
|
|
@@ -7409,8 +7404,8 @@ var CTableHead = React.forwardRef(function (_a, ref) {
|
|
|
7409
7404
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7410
7405
|
});
|
|
7411
7406
|
CTableHead.propTypes = {
|
|
7412
|
-
children:
|
|
7413
|
-
className:
|
|
7407
|
+
children: PropTypes.node,
|
|
7408
|
+
className: PropTypes.string,
|
|
7414
7409
|
color: colorPropType,
|
|
7415
7410
|
};
|
|
7416
7411
|
CTableHead.displayName = 'CTableHead';
|
|
@@ -7423,8 +7418,8 @@ var CTableHeaderCell = React.forwardRef(function (_a, ref) {
|
|
|
7423
7418
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7424
7419
|
});
|
|
7425
7420
|
CTableHeaderCell.propTypes = {
|
|
7426
|
-
children:
|
|
7427
|
-
className:
|
|
7421
|
+
children: PropTypes.node,
|
|
7422
|
+
className: PropTypes.string,
|
|
7428
7423
|
color: colorPropType,
|
|
7429
7424
|
};
|
|
7430
7425
|
CTableHeaderCell.displayName = 'CTableHeaderCell';
|
|
@@ -7437,8 +7432,8 @@ var CTableBody = React.forwardRef(function (_a, ref) {
|
|
|
7437
7432
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7438
7433
|
});
|
|
7439
7434
|
CTableBody.propTypes = {
|
|
7440
|
-
children:
|
|
7441
|
-
className:
|
|
7435
|
+
children: PropTypes.node,
|
|
7436
|
+
className: PropTypes.string,
|
|
7442
7437
|
color: colorPropType,
|
|
7443
7438
|
};
|
|
7444
7439
|
CTableBody.displayName = 'CTableBody';
|
|
@@ -7454,10 +7449,10 @@ var CTableDataCell = React.forwardRef(function (_a, ref) {
|
|
|
7454
7449
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7455
7450
|
});
|
|
7456
7451
|
CTableDataCell.propTypes = {
|
|
7457
|
-
active:
|
|
7458
|
-
align:
|
|
7459
|
-
children:
|
|
7460
|
-
className:
|
|
7452
|
+
active: PropTypes.bool,
|
|
7453
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7454
|
+
children: PropTypes.node,
|
|
7455
|
+
className: PropTypes.string,
|
|
7461
7456
|
color: colorPropType,
|
|
7462
7457
|
};
|
|
7463
7458
|
CTableDataCell.displayName = 'CTableDataCell';
|
|
@@ -7472,10 +7467,10 @@ var CTableRow = React.forwardRef(function (_a, ref) {
|
|
|
7472
7467
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7473
7468
|
});
|
|
7474
7469
|
CTableRow.propTypes = {
|
|
7475
|
-
active:
|
|
7476
|
-
align:
|
|
7477
|
-
children:
|
|
7478
|
-
className:
|
|
7470
|
+
active: PropTypes.bool,
|
|
7471
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7472
|
+
children: PropTypes.node,
|
|
7473
|
+
className: PropTypes.string,
|
|
7479
7474
|
color: colorPropType,
|
|
7480
7475
|
};
|
|
7481
7476
|
CTableRow.displayName = 'CTableRow';
|
|
@@ -7488,8 +7483,8 @@ var CTableFoot = React.forwardRef(function (_a, ref) {
|
|
|
7488
7483
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7489
7484
|
});
|
|
7490
7485
|
CTableFoot.propTypes = {
|
|
7491
|
-
children:
|
|
7492
|
-
className:
|
|
7486
|
+
children: PropTypes.node,
|
|
7487
|
+
className: PropTypes.string,
|
|
7493
7488
|
color: colorPropType,
|
|
7494
7489
|
};
|
|
7495
7490
|
CTableFoot.displayName = 'CTableFoot';
|
|
@@ -7499,7 +7494,7 @@ var CTableCaption = React.forwardRef(function (_a, ref) {
|
|
|
7499
7494
|
return (React.createElement("caption", __assign({}, props, { ref: ref }), children));
|
|
7500
7495
|
});
|
|
7501
7496
|
CTableCaption.propTypes = {
|
|
7502
|
-
children:
|
|
7497
|
+
children: PropTypes.node,
|
|
7503
7498
|
};
|
|
7504
7499
|
CTableCaption.displayName = 'CTableCaption';
|
|
7505
7500
|
|
|
@@ -7508,10 +7503,10 @@ var CTableResponsiveWrapper = function (_a) {
|
|
|
7508
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));
|
|
7509
7504
|
};
|
|
7510
7505
|
CTableResponsiveWrapper.propTypes = {
|
|
7511
|
-
children:
|
|
7512
|
-
responsive:
|
|
7513
|
-
|
|
7514
|
-
|
|
7506
|
+
children: PropTypes.node,
|
|
7507
|
+
responsive: PropTypes.oneOfType([
|
|
7508
|
+
PropTypes.bool,
|
|
7509
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7515
7510
|
]),
|
|
7516
7511
|
};
|
|
7517
7512
|
CTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper';
|
|
@@ -7566,28 +7561,28 @@ var CTable = React.forwardRef(function (_a, ref) {
|
|
|
7566
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)); })))))));
|
|
7567
7562
|
});
|
|
7568
7563
|
CTable.propTypes = {
|
|
7569
|
-
align:
|
|
7570
|
-
borderColor:
|
|
7571
|
-
bordered:
|
|
7572
|
-
borderless:
|
|
7573
|
-
caption:
|
|
7574
|
-
captionTop:
|
|
7575
|
-
children:
|
|
7576
|
-
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,
|
|
7577
7572
|
color: colorPropType,
|
|
7578
|
-
columns:
|
|
7579
|
-
footer:
|
|
7580
|
-
hover:
|
|
7581
|
-
items:
|
|
7582
|
-
responsive:
|
|
7583
|
-
|
|
7584
|
-
|
|
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']),
|
|
7585
7580
|
]),
|
|
7586
|
-
small:
|
|
7587
|
-
striped:
|
|
7588
|
-
stripedColumns:
|
|
7589
|
-
tableFootProps:
|
|
7590
|
-
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)),
|
|
7591
7586
|
};
|
|
7592
7587
|
CTable.displayName = 'CTable';
|
|
7593
7588
|
|
|
@@ -7596,8 +7591,8 @@ var CTabContent = React.forwardRef(function (_a, ref) {
|
|
|
7596
7591
|
return (React.createElement("div", __assign({ className: classNames('tab-content', className) }, rest, { ref: ref }), children));
|
|
7597
7592
|
});
|
|
7598
7593
|
CTabContent.propTypes = {
|
|
7599
|
-
children:
|
|
7600
|
-
className:
|
|
7594
|
+
children: PropTypes.node,
|
|
7595
|
+
className: PropTypes.string,
|
|
7601
7596
|
};
|
|
7602
7597
|
CTabContent.displayName = 'CTabContent';
|
|
7603
7598
|
|
|
@@ -7611,11 +7606,11 @@ var CTabPane = React.forwardRef(function (_a, ref) {
|
|
|
7611
7606
|
}, className) }, rest, { ref: forkedRef }), children)); }));
|
|
7612
7607
|
});
|
|
7613
7608
|
CTabPane.propTypes = {
|
|
7614
|
-
children:
|
|
7615
|
-
className:
|
|
7616
|
-
onHide:
|
|
7617
|
-
onShow:
|
|
7618
|
-
visible:
|
|
7609
|
+
children: PropTypes.node,
|
|
7610
|
+
className: PropTypes.string,
|
|
7611
|
+
onHide: PropTypes.func,
|
|
7612
|
+
onShow: PropTypes.func,
|
|
7613
|
+
visible: PropTypes.bool,
|
|
7619
7614
|
};
|
|
7620
7615
|
CTabPane.displayName = 'CTabPane';
|
|
7621
7616
|
|
|
@@ -7660,17 +7655,17 @@ var CToast = React.forwardRef(function (_a, ref) {
|
|
|
7660
7655
|
}));
|
|
7661
7656
|
});
|
|
7662
7657
|
CToast.propTypes = {
|
|
7663
|
-
animation:
|
|
7664
|
-
autohide:
|
|
7665
|
-
children:
|
|
7666
|
-
className:
|
|
7658
|
+
animation: PropTypes.bool,
|
|
7659
|
+
autohide: PropTypes.bool,
|
|
7660
|
+
children: PropTypes.node,
|
|
7661
|
+
className: PropTypes.string,
|
|
7667
7662
|
color: colorPropType,
|
|
7668
|
-
delay:
|
|
7669
|
-
index:
|
|
7670
|
-
key:
|
|
7671
|
-
onClose:
|
|
7672
|
-
onShow:
|
|
7673
|
-
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,
|
|
7674
7669
|
};
|
|
7675
7670
|
CToast.displayName = 'CToast';
|
|
7676
7671
|
|
|
@@ -7679,8 +7674,8 @@ var CToastBody = React.forwardRef(function (_a, ref) {
|
|
|
7679
7674
|
return (React.createElement("div", __assign({ className: classNames('toast-body', className) }, rest, { ref: ref }), children));
|
|
7680
7675
|
});
|
|
7681
7676
|
CToastBody.propTypes = {
|
|
7682
|
-
children:
|
|
7683
|
-
className:
|
|
7677
|
+
children: PropTypes.node,
|
|
7678
|
+
className: PropTypes.string,
|
|
7684
7679
|
};
|
|
7685
7680
|
CToastBody.displayName = 'CToastBody';
|
|
7686
7681
|
|
|
@@ -7689,7 +7684,7 @@ var CToastClose = React.forwardRef(function (_a, ref) {
|
|
|
7689
7684
|
var setVisible = React.useContext(CToastContext).setVisible;
|
|
7690
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 })));
|
|
7691
7686
|
});
|
|
7692
|
-
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component:
|
|
7687
|
+
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: PropTypes.elementType });
|
|
7693
7688
|
CToastClose.displayName = 'CToastClose';
|
|
7694
7689
|
|
|
7695
7690
|
var CToastHeader = React.forwardRef(function (_a, ref) {
|
|
@@ -7699,9 +7694,9 @@ var CToastHeader = React.forwardRef(function (_a, ref) {
|
|
|
7699
7694
|
closeButton && React.createElement(CToastClose, null)));
|
|
7700
7695
|
});
|
|
7701
7696
|
CToastHeader.propTypes = {
|
|
7702
|
-
children:
|
|
7703
|
-
className:
|
|
7704
|
-
closeButton:
|
|
7697
|
+
children: PropTypes.node,
|
|
7698
|
+
className: PropTypes.string,
|
|
7699
|
+
closeButton: PropTypes.bool,
|
|
7705
7700
|
};
|
|
7706
7701
|
CToastHeader.displayName = 'CToastHeader';
|
|
7707
7702
|
|
|
@@ -7737,11 +7732,11 @@ var CToaster = React.forwardRef(function (_a, ref) {
|
|
|
7737
7732
|
toasts.map(function (toast) { return React.cloneElement(toast, { visible: true }); }))) : null));
|
|
7738
7733
|
});
|
|
7739
7734
|
CToaster.propTypes = {
|
|
7740
|
-
children:
|
|
7741
|
-
className:
|
|
7742
|
-
placement:
|
|
7743
|
-
|
|
7744
|
-
|
|
7735
|
+
children: PropTypes.node,
|
|
7736
|
+
className: PropTypes.string,
|
|
7737
|
+
placement: PropTypes.oneOfType([
|
|
7738
|
+
PropTypes.string,
|
|
7739
|
+
PropTypes.oneOf([
|
|
7745
7740
|
'top-start',
|
|
7746
7741
|
'top-center',
|
|
7747
7742
|
'top-end',
|
|
@@ -7753,7 +7748,7 @@ CToaster.propTypes = {
|
|
|
7753
7748
|
'bottom-end',
|
|
7754
7749
|
]),
|
|
7755
7750
|
]),
|
|
7756
|
-
push:
|
|
7751
|
+
push: PropTypes.any,
|
|
7757
7752
|
};
|
|
7758
7753
|
CToaster.displayName = 'CToaster';
|
|
7759
7754
|
|
|
@@ -7800,14 +7795,14 @@ var CTooltip = function (_a) {
|
|
|
7800
7795
|
React.createElement("div", { className: "tooltip-inner" }, content))); }), document.body)));
|
|
7801
7796
|
};
|
|
7802
7797
|
CTooltip.propTypes = {
|
|
7803
|
-
children:
|
|
7804
|
-
content:
|
|
7805
|
-
offset:
|
|
7806
|
-
onHide:
|
|
7807
|
-
onShow:
|
|
7808
|
-
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']),
|
|
7809
7804
|
trigger: triggerPropType,
|
|
7810
|
-
visible:
|
|
7805
|
+
visible: PropTypes.bool,
|
|
7811
7806
|
};
|
|
7812
7807
|
CTooltip.displayName = 'CTooltip';
|
|
7813
7808
|
|
|
@@ -7823,12 +7818,12 @@ var CWidgetStatsA = React.forwardRef(function (_a, ref) {
|
|
|
7823
7818
|
chart));
|
|
7824
7819
|
});
|
|
7825
7820
|
CWidgetStatsA.propTypes = {
|
|
7826
|
-
action:
|
|
7827
|
-
chart:
|
|
7828
|
-
className:
|
|
7821
|
+
action: PropTypes.node,
|
|
7822
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7823
|
+
className: PropTypes.string,
|
|
7829
7824
|
color: colorPropType,
|
|
7830
|
-
title:
|
|
7831
|
-
value:
|
|
7825
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7826
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7832
7827
|
};
|
|
7833
7828
|
CWidgetStatsA.displayName = 'CWidgetStatsA';
|
|
7834
7829
|
|
|
@@ -7842,13 +7837,13 @@ var CWidgetStatsB = React.forwardRef(function (_a, ref) {
|
|
|
7842
7837
|
text && (React.createElement("small", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text)))));
|
|
7843
7838
|
});
|
|
7844
7839
|
CWidgetStatsB.propTypes = {
|
|
7845
|
-
className:
|
|
7840
|
+
className: PropTypes.string,
|
|
7846
7841
|
color: colorPropType,
|
|
7847
|
-
inverse:
|
|
7848
|
-
progress:
|
|
7849
|
-
text:
|
|
7850
|
-
title:
|
|
7851
|
-
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]),
|
|
7852
7847
|
};
|
|
7853
7848
|
CWidgetStatsB.displayName = 'CWidgetCWidgetStatsB';
|
|
7854
7849
|
|
|
@@ -7862,13 +7857,13 @@ var CWidgetStatsC = React.forwardRef(function (_a, ref) {
|
|
|
7862
7857
|
React.createElement(CProgress, __assign({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
|
|
7863
7858
|
});
|
|
7864
7859
|
CWidgetStatsC.propTypes = {
|
|
7865
|
-
className:
|
|
7860
|
+
className: PropTypes.string,
|
|
7866
7861
|
color: colorPropType,
|
|
7867
|
-
icon:
|
|
7868
|
-
inverse:
|
|
7869
|
-
progress:
|
|
7870
|
-
title:
|
|
7871
|
-
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]),
|
|
7872
7867
|
};
|
|
7873
7868
|
CWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC';
|
|
7874
7869
|
|
|
@@ -7891,11 +7886,11 @@ var CWidgetStatsD = React.forwardRef(function (_a, ref) {
|
|
|
7891
7886
|
}))));
|
|
7892
7887
|
});
|
|
7893
7888
|
CWidgetStatsD.propTypes = {
|
|
7894
|
-
chart:
|
|
7895
|
-
className:
|
|
7889
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7890
|
+
className: PropTypes.string,
|
|
7896
7891
|
color: colorPropType,
|
|
7897
|
-
icon:
|
|
7898
|
-
values:
|
|
7892
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7893
|
+
values: PropTypes.arrayOf(PropTypes.any),
|
|
7899
7894
|
};
|
|
7900
7895
|
CWidgetStatsD.displayName = 'CWidgetStatsD';
|
|
7901
7896
|
|
|
@@ -7908,11 +7903,11 @@ var CWidgetStatsE = React.forwardRef(function (_a, ref) {
|
|
|
7908
7903
|
chart)));
|
|
7909
7904
|
});
|
|
7910
7905
|
CWidgetStatsE.propTypes = {
|
|
7911
|
-
children:
|
|
7912
|
-
chart:
|
|
7913
|
-
className:
|
|
7914
|
-
title:
|
|
7915
|
-
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]),
|
|
7916
7911
|
};
|
|
7917
7912
|
CWidgetStatsE.displayName = 'CWidgetStatsE';
|
|
7918
7913
|
|
|
@@ -7927,20 +7922,19 @@ var CWidgetStatsF = React.forwardRef(function (_a, ref) {
|
|
|
7927
7922
|
footer && React.createElement(CCardFooter, null, footer)));
|
|
7928
7923
|
});
|
|
7929
7924
|
CWidgetStatsF.propTypes = {
|
|
7930
|
-
className:
|
|
7925
|
+
className: PropTypes.string,
|
|
7931
7926
|
color: colorPropType,
|
|
7932
|
-
footer:
|
|
7933
|
-
icon:
|
|
7934
|
-
padding:
|
|
7935
|
-
title:
|
|
7936
|
-
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]),
|
|
7937
7932
|
};
|
|
7938
7933
|
CWidgetStatsF.displayName = 'CWidgetStatsF';
|
|
7939
7934
|
|
|
7940
7935
|
exports.CAccordion = CAccordion;
|
|
7941
7936
|
exports.CAccordionBody = CAccordionBody;
|
|
7942
7937
|
exports.CAccordionButton = CAccordionButton;
|
|
7943
|
-
exports.CAccordionCollapse = CAccordionCollapse;
|
|
7944
7938
|
exports.CAccordionHeader = CAccordionHeader;
|
|
7945
7939
|
exports.CAccordionItem = CAccordionItem;
|
|
7946
7940
|
exports.CAlert = CAlert;
|