@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.es.js
CHANGED
|
@@ -17,6 +17,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
+
/* global Reflect, Promise */
|
|
21
|
+
|
|
20
22
|
|
|
21
23
|
var __assign = function() {
|
|
22
24
|
__assign = Object.assign || function __assign(t) {
|
|
@@ -51,17 +53,13 @@ function __spreadArray(to, from, pack) {
|
|
|
51
53
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
52
54
|
}
|
|
53
55
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
set exports(v){ propTypesExports = v; },
|
|
58
|
-
};
|
|
56
|
+
function getDefaultExportFromCjs (x) {
|
|
57
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
58
|
+
}
|
|
59
59
|
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
set exports(v){ reactIsExports = v; },
|
|
64
|
-
};
|
|
60
|
+
var propTypes = {exports: {}};
|
|
61
|
+
|
|
62
|
+
var reactIs = {exports: {}};
|
|
65
63
|
|
|
66
64
|
var reactIs_production_min = {};
|
|
67
65
|
|
|
@@ -280,17 +278,15 @@ function requireReactIs_development () {
|
|
|
280
278
|
var hasRequiredReactIs;
|
|
281
279
|
|
|
282
280
|
function requireReactIs () {
|
|
283
|
-
if (hasRequiredReactIs) return
|
|
281
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
284
282
|
hasRequiredReactIs = 1;
|
|
285
|
-
(function (module) {
|
|
286
283
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
return reactIsExports;
|
|
284
|
+
if (process.env.NODE_ENV === 'production') {
|
|
285
|
+
reactIs.exports = requireReactIs_production_min();
|
|
286
|
+
} else {
|
|
287
|
+
reactIs.exports = requireReactIs_development();
|
|
288
|
+
}
|
|
289
|
+
return reactIs.exports;
|
|
294
290
|
}
|
|
295
291
|
|
|
296
292
|
/*
|
|
@@ -1241,11 +1237,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1241
1237
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1242
1238
|
}
|
|
1243
1239
|
|
|
1244
|
-
var
|
|
1245
|
-
var
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
};
|
|
1240
|
+
var propTypesExports = propTypes.exports;
|
|
1241
|
+
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
1242
|
+
|
|
1243
|
+
var classnames = {exports: {}};
|
|
1249
1244
|
|
|
1250
1245
|
/*!
|
|
1251
1246
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -1301,10 +1296,11 @@ var classnames = {
|
|
|
1301
1296
|
} else {
|
|
1302
1297
|
window.classNames = classNames;
|
|
1303
1298
|
}
|
|
1304
|
-
}());
|
|
1299
|
+
}());
|
|
1305
1300
|
} (classnames));
|
|
1306
1301
|
|
|
1307
|
-
var
|
|
1302
|
+
var classnamesExports = classnames.exports;
|
|
1303
|
+
var classNames = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
1308
1304
|
|
|
1309
1305
|
var CAccordionContext = createContext({});
|
|
1310
1306
|
var CAccordion = forwardRef(function (_a, ref) {
|
|
@@ -1314,11 +1310,11 @@ var CAccordion = forwardRef(function (_a, ref) {
|
|
|
1314
1310
|
React__default.createElement(CAccordionContext.Provider, { value: { _activeItemKey: _activeItemKey, alwaysOpen: alwaysOpen, setActiveKey: setActiveKey } }, children)));
|
|
1315
1311
|
});
|
|
1316
1312
|
CAccordion.propTypes = {
|
|
1317
|
-
alwaysOpen:
|
|
1318
|
-
activeItemKey:
|
|
1319
|
-
children:
|
|
1320
|
-
className:
|
|
1321
|
-
flush:
|
|
1313
|
+
alwaysOpen: PropTypes.bool,
|
|
1314
|
+
activeItemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
1315
|
+
children: PropTypes.node,
|
|
1316
|
+
className: PropTypes.string,
|
|
1317
|
+
flush: PropTypes.bool,
|
|
1322
1318
|
};
|
|
1323
1319
|
CAccordion.displayName = 'CAccordion';
|
|
1324
1320
|
|
|
@@ -1338,9 +1334,9 @@ var CAccordionItem = forwardRef(function (_a, ref) {
|
|
|
1338
1334
|
React__default.createElement(CAccordionItemContext.Provider, { value: { setVisible: setVisible, visible: visible } }, children)));
|
|
1339
1335
|
});
|
|
1340
1336
|
CAccordionItem.propTypes = {
|
|
1341
|
-
children:
|
|
1342
|
-
className:
|
|
1343
|
-
itemKey:
|
|
1337
|
+
children: PropTypes.node,
|
|
1338
|
+
className: PropTypes.string,
|
|
1339
|
+
itemKey: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
1344
1340
|
};
|
|
1345
1341
|
CAccordionItem.displayName = 'CAccordionItem';
|
|
1346
1342
|
|
|
@@ -1433,22 +1429,22 @@ var config = {
|
|
|
1433
1429
|
disabled: false
|
|
1434
1430
|
};
|
|
1435
1431
|
|
|
1436
|
-
var timeoutsShape = process.env.NODE_ENV !== 'production' ?
|
|
1437
|
-
enter:
|
|
1438
|
-
exit:
|
|
1439
|
-
appear:
|
|
1432
|
+
var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
1433
|
+
enter: PropTypes.number,
|
|
1434
|
+
exit: PropTypes.number,
|
|
1435
|
+
appear: PropTypes.number
|
|
1440
1436
|
}).isRequired]) : null;
|
|
1441
|
-
var classNamesShape = process.env.NODE_ENV !== 'production' ?
|
|
1442
|
-
enter:
|
|
1443
|
-
exit:
|
|
1444
|
-
active:
|
|
1445
|
-
}),
|
|
1446
|
-
enter:
|
|
1447
|
-
enterDone:
|
|
1448
|
-
enterActive:
|
|
1449
|
-
exit:
|
|
1450
|
-
exitDone:
|
|
1451
|
-
exitActive:
|
|
1437
|
+
var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
1438
|
+
enter: PropTypes.string,
|
|
1439
|
+
exit: PropTypes.string,
|
|
1440
|
+
active: PropTypes.string
|
|
1441
|
+
}), PropTypes.shape({
|
|
1442
|
+
enter: PropTypes.string,
|
|
1443
|
+
enterDone: PropTypes.string,
|
|
1444
|
+
enterActive: PropTypes.string,
|
|
1445
|
+
exit: PropTypes.string,
|
|
1446
|
+
exitDone: PropTypes.string,
|
|
1447
|
+
exitActive: PropTypes.string
|
|
1452
1448
|
})]) : null;
|
|
1453
1449
|
|
|
1454
1450
|
var TransitionGroupContext = React__default.createContext(null);
|
|
@@ -1875,10 +1871,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1875
1871
|
* (see
|
|
1876
1872
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
1877
1873
|
*/
|
|
1878
|
-
nodeRef:
|
|
1879
|
-
current: typeof Element === 'undefined' ?
|
|
1874
|
+
nodeRef: PropTypes.shape({
|
|
1875
|
+
current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {
|
|
1880
1876
|
var value = propValue[key];
|
|
1881
|
-
return
|
|
1877
|
+
return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
1882
1878
|
}
|
|
1883
1879
|
}),
|
|
1884
1880
|
|
|
@@ -1896,12 +1892,12 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1896
1892
|
* </Transition>
|
|
1897
1893
|
* ```
|
|
1898
1894
|
*/
|
|
1899
|
-
children:
|
|
1895
|
+
children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,
|
|
1900
1896
|
|
|
1901
1897
|
/**
|
|
1902
1898
|
* Show the component; triggers the enter or exit states
|
|
1903
1899
|
*/
|
|
1904
|
-
in:
|
|
1900
|
+
in: PropTypes.bool,
|
|
1905
1901
|
|
|
1906
1902
|
/**
|
|
1907
1903
|
* By default the child component is mounted immediately along with
|
|
@@ -1909,13 +1905,13 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1909
1905
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
1910
1906
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
1911
1907
|
*/
|
|
1912
|
-
mountOnEnter:
|
|
1908
|
+
mountOnEnter: PropTypes.bool,
|
|
1913
1909
|
|
|
1914
1910
|
/**
|
|
1915
1911
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
1916
1912
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
1917
1913
|
*/
|
|
1918
|
-
unmountOnExit:
|
|
1914
|
+
unmountOnExit: PropTypes.bool,
|
|
1919
1915
|
|
|
1920
1916
|
/**
|
|
1921
1917
|
* By default the child component does not perform the enter transition when
|
|
@@ -1928,17 +1924,17 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1928
1924
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
1929
1925
|
* > differently.
|
|
1930
1926
|
*/
|
|
1931
|
-
appear:
|
|
1927
|
+
appear: PropTypes.bool,
|
|
1932
1928
|
|
|
1933
1929
|
/**
|
|
1934
1930
|
* Enable or disable enter transitions.
|
|
1935
1931
|
*/
|
|
1936
|
-
enter:
|
|
1932
|
+
enter: PropTypes.bool,
|
|
1937
1933
|
|
|
1938
1934
|
/**
|
|
1939
1935
|
* Enable or disable exit transitions.
|
|
1940
1936
|
*/
|
|
1941
|
-
exit:
|
|
1937
|
+
exit: PropTypes.bool,
|
|
1942
1938
|
|
|
1943
1939
|
/**
|
|
1944
1940
|
* The duration of the transition, in milliseconds.
|
|
@@ -1991,7 +1987,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1991
1987
|
* }}
|
|
1992
1988
|
* ```
|
|
1993
1989
|
*/
|
|
1994
|
-
addEndListener:
|
|
1990
|
+
addEndListener: PropTypes.func,
|
|
1995
1991
|
|
|
1996
1992
|
/**
|
|
1997
1993
|
* Callback fired before the "entering" status is applied. An extra parameter
|
|
@@ -2001,7 +1997,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2001
1997
|
*
|
|
2002
1998
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2003
1999
|
*/
|
|
2004
|
-
onEnter:
|
|
2000
|
+
onEnter: PropTypes.func,
|
|
2005
2001
|
|
|
2006
2002
|
/**
|
|
2007
2003
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
@@ -2011,7 +2007,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2011
2007
|
*
|
|
2012
2008
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2013
2009
|
*/
|
|
2014
|
-
onEntering:
|
|
2010
|
+
onEntering: PropTypes.func,
|
|
2015
2011
|
|
|
2016
2012
|
/**
|
|
2017
2013
|
* Callback fired after the "entered" 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
|
-
onEntered:
|
|
2020
|
+
onEntered: PropTypes.func,
|
|
2025
2021
|
|
|
2026
2022
|
/**
|
|
2027
2023
|
* Callback fired before the "exiting" status is applied.
|
|
@@ -2030,7 +2026,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2030
2026
|
*
|
|
2031
2027
|
* @type Function(node: HtmlElement) -> void
|
|
2032
2028
|
*/
|
|
2033
|
-
onExit:
|
|
2029
|
+
onExit: PropTypes.func,
|
|
2034
2030
|
|
|
2035
2031
|
/**
|
|
2036
2032
|
* Callback fired after the "exiting" status is applied.
|
|
@@ -2039,7 +2035,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2039
2035
|
*
|
|
2040
2036
|
* @type Function(node: HtmlElement) -> void
|
|
2041
2037
|
*/
|
|
2042
|
-
onExiting:
|
|
2038
|
+
onExiting: PropTypes.func,
|
|
2043
2039
|
|
|
2044
2040
|
/**
|
|
2045
2041
|
* Callback fired after the "exited" status is applied.
|
|
@@ -2048,7 +2044,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2048
2044
|
*
|
|
2049
2045
|
* @type Function(node: HtmlElement) -> void
|
|
2050
2046
|
*/
|
|
2051
|
-
onExited:
|
|
2047
|
+
onExited: PropTypes.func
|
|
2052
2048
|
} : {}; // Name the function so it is clearer in the documentation
|
|
2053
2049
|
|
|
2054
2050
|
function noop() {}
|
|
@@ -2423,7 +2419,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2423
2419
|
*
|
|
2424
2420
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2425
2421
|
*/
|
|
2426
|
-
onEnter:
|
|
2422
|
+
onEnter: PropTypes.func,
|
|
2427
2423
|
|
|
2428
2424
|
/**
|
|
2429
2425
|
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
@@ -2433,7 +2429,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2433
2429
|
*
|
|
2434
2430
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2435
2431
|
*/
|
|
2436
|
-
onEntering:
|
|
2432
|
+
onEntering: PropTypes.func,
|
|
2437
2433
|
|
|
2438
2434
|
/**
|
|
2439
2435
|
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
@@ -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
|
-
onEntered:
|
|
2442
|
+
onEntered: PropTypes.func,
|
|
2447
2443
|
|
|
2448
2444
|
/**
|
|
2449
2445
|
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
@@ -2453,7 +2449,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2453
2449
|
*
|
|
2454
2450
|
* @type Function(node: HtmlElement)
|
|
2455
2451
|
*/
|
|
2456
|
-
onExit:
|
|
2452
|
+
onExit: PropTypes.func,
|
|
2457
2453
|
|
|
2458
2454
|
/**
|
|
2459
2455
|
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
@@ -2462,7 +2458,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2462
2458
|
*
|
|
2463
2459
|
* @type Function(node: HtmlElement)
|
|
2464
2460
|
*/
|
|
2465
|
-
onExiting:
|
|
2461
|
+
onExiting: PropTypes.func,
|
|
2466
2462
|
|
|
2467
2463
|
/**
|
|
2468
2464
|
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
@@ -2472,11 +2468,12 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2472
2468
|
*
|
|
2473
2469
|
* @type Function(node: HtmlElement)
|
|
2474
2470
|
*/
|
|
2475
|
-
onExited:
|
|
2471
|
+
onExited: PropTypes.func
|
|
2476
2472
|
}) : {};
|
|
2477
2473
|
var CSSTransition$1 = CSSTransition;
|
|
2478
2474
|
|
|
2479
2475
|
// code borrowed from https://github.com/reach/reach-ui
|
|
2476
|
+
// problem described https://github.com/facebook/react/issues/13029
|
|
2480
2477
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
2481
2478
|
function useForkedRef() {
|
|
2482
2479
|
var refs = [];
|
|
@@ -2573,12 +2570,12 @@ var CCollapse = forwardRef(function (_a, ref) {
|
|
|
2573
2570
|
}));
|
|
2574
2571
|
});
|
|
2575
2572
|
CCollapse.propTypes = {
|
|
2576
|
-
children:
|
|
2577
|
-
className:
|
|
2578
|
-
horizontal:
|
|
2579
|
-
onHide:
|
|
2580
|
-
onShow:
|
|
2581
|
-
visible:
|
|
2573
|
+
children: PropTypes.node,
|
|
2574
|
+
className: PropTypes.string,
|
|
2575
|
+
horizontal: PropTypes.bool,
|
|
2576
|
+
onHide: PropTypes.func,
|
|
2577
|
+
onShow: PropTypes.func,
|
|
2578
|
+
visible: PropTypes.bool,
|
|
2582
2579
|
};
|
|
2583
2580
|
CCollapse.displayName = 'CCollapse';
|
|
2584
2581
|
|
|
@@ -2589,8 +2586,8 @@ var CAccordionBody = forwardRef(function (_a, ref) {
|
|
|
2589
2586
|
React__default.createElement("div", __assign({ className: classNames('accordion-body', className) }, rest, { ref: ref }), children)));
|
|
2590
2587
|
});
|
|
2591
2588
|
CAccordionBody.propTypes = {
|
|
2592
|
-
children:
|
|
2593
|
-
className:
|
|
2589
|
+
children: PropTypes.node,
|
|
2590
|
+
className: PropTypes.string,
|
|
2594
2591
|
};
|
|
2595
2592
|
CAccordionBody.displayName = 'CAccordionBody';
|
|
2596
2593
|
|
|
@@ -2600,28 +2597,19 @@ var CAccordionButton = forwardRef(function (_a, ref) {
|
|
|
2600
2597
|
return (React__default.createElement("button", __assign({ type: "button", className: classNames('accordion-button', { collapsed: !visible }, className), "aria-expanded": !visible, onClick: function () { return setVisible(!visible); } }, rest, { ref: ref }), children));
|
|
2601
2598
|
});
|
|
2602
2599
|
CAccordionButton.propTypes = {
|
|
2603
|
-
children:
|
|
2604
|
-
className:
|
|
2600
|
+
children: PropTypes.node,
|
|
2601
|
+
className: PropTypes.string,
|
|
2605
2602
|
};
|
|
2606
2603
|
CAccordionButton.displayName = 'CAccordionButton';
|
|
2607
2604
|
|
|
2608
|
-
var CAccordionCollapse = forwardRef(function (_a, ref) {
|
|
2609
|
-
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2610
|
-
return (React__default.createElement(CCollapse, __assign({ className: "accordion-collapse" }, props, { ref: ref }), children));
|
|
2611
|
-
});
|
|
2612
|
-
CAccordionCollapse.propTypes = {
|
|
2613
|
-
children: propTypesExports.node,
|
|
2614
|
-
};
|
|
2615
|
-
CAccordionCollapse.displayName = 'CAccordionCollapse';
|
|
2616
|
-
|
|
2617
2605
|
var CAccordionHeader = forwardRef(function (_a, ref) {
|
|
2618
2606
|
var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
|
|
2619
2607
|
return (React__default.createElement("div", __assign({ className: classNames('accordion-header', className) }, rest, { ref: ref }),
|
|
2620
2608
|
React__default.createElement(CAccordionButton, null, children)));
|
|
2621
2609
|
});
|
|
2622
2610
|
CAccordionHeader.propTypes = {
|
|
2623
|
-
children:
|
|
2624
|
-
className:
|
|
2611
|
+
children: PropTypes.node,
|
|
2612
|
+
className: PropTypes.string,
|
|
2625
2613
|
};
|
|
2626
2614
|
CAccordionHeader.displayName = 'CAccordionHeader';
|
|
2627
2615
|
|
|
@@ -2632,14 +2620,14 @@ var CCloseButton = forwardRef(function (_a, ref) {
|
|
|
2632
2620
|
}, disabled, className), "aria-label": "Close", disabled: disabled }, rest, { ref: ref })));
|
|
2633
2621
|
});
|
|
2634
2622
|
CCloseButton.propTypes = {
|
|
2635
|
-
className:
|
|
2636
|
-
disabled:
|
|
2637
|
-
white:
|
|
2623
|
+
className: PropTypes.string,
|
|
2624
|
+
disabled: PropTypes.bool,
|
|
2625
|
+
white: PropTypes.bool,
|
|
2638
2626
|
};
|
|
2639
2627
|
CCloseButton.displayName = 'CCloseButton';
|
|
2640
2628
|
|
|
2641
|
-
var colorPropType =
|
|
2642
|
-
|
|
2629
|
+
var colorPropType = PropTypes.oneOfType([
|
|
2630
|
+
PropTypes.oneOf([
|
|
2643
2631
|
'primary',
|
|
2644
2632
|
'secondary',
|
|
2645
2633
|
'success',
|
|
@@ -2649,9 +2637,9 @@ var colorPropType = propTypesExports.oneOfType([
|
|
|
2649
2637
|
'dark',
|
|
2650
2638
|
'light',
|
|
2651
2639
|
]),
|
|
2652
|
-
|
|
2640
|
+
PropTypes.string,
|
|
2653
2641
|
]);
|
|
2654
|
-
var placementPropType =
|
|
2642
|
+
var placementPropType = PropTypes.oneOf([
|
|
2655
2643
|
'auto',
|
|
2656
2644
|
'auto-start',
|
|
2657
2645
|
'auto-end',
|
|
@@ -2668,8 +2656,8 @@ var placementPropType = propTypesExports.oneOf([
|
|
|
2668
2656
|
'left',
|
|
2669
2657
|
'left-end',
|
|
2670
2658
|
]);
|
|
2671
|
-
var shapePropType =
|
|
2672
|
-
|
|
2659
|
+
var shapePropType = PropTypes.oneOfType([
|
|
2660
|
+
PropTypes.oneOf([
|
|
2673
2661
|
'rounded',
|
|
2674
2662
|
'rounded-top',
|
|
2675
2663
|
'rounded-end',
|
|
@@ -2682,14 +2670,14 @@ var shapePropType = propTypesExports.oneOfType([
|
|
|
2682
2670
|
'rounded-2',
|
|
2683
2671
|
'rounded-3',
|
|
2684
2672
|
]),
|
|
2685
|
-
|
|
2673
|
+
PropTypes.string,
|
|
2686
2674
|
]);
|
|
2687
|
-
var textColorsPropType =
|
|
2675
|
+
var textColorsPropType = PropTypes.oneOfType([
|
|
2688
2676
|
colorPropType,
|
|
2689
|
-
|
|
2690
|
-
|
|
2677
|
+
PropTypes.oneOf(['white', 'muted']),
|
|
2678
|
+
PropTypes.string,
|
|
2691
2679
|
]);
|
|
2692
|
-
var triggerPropType =
|
|
2680
|
+
var triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click']);
|
|
2693
2681
|
|
|
2694
2682
|
var CAlert = forwardRef(function (_a, ref) {
|
|
2695
2683
|
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"]);
|
|
@@ -2707,13 +2695,13 @@ var CAlert = forwardRef(function (_a, ref) {
|
|
|
2707
2695
|
dismissible && React__default.createElement(CCloseButton, { onClick: function () { return setVisible(false); } }))); }));
|
|
2708
2696
|
});
|
|
2709
2697
|
CAlert.propTypes = {
|
|
2710
|
-
children:
|
|
2711
|
-
className:
|
|
2698
|
+
children: PropTypes.node,
|
|
2699
|
+
className: PropTypes.string,
|
|
2712
2700
|
color: colorPropType.isRequired,
|
|
2713
|
-
dismissible:
|
|
2714
|
-
onClose:
|
|
2715
|
-
variant:
|
|
2716
|
-
visible:
|
|
2701
|
+
dismissible: PropTypes.bool,
|
|
2702
|
+
onClose: PropTypes.func,
|
|
2703
|
+
variant: PropTypes.string,
|
|
2704
|
+
visible: PropTypes.bool,
|
|
2717
2705
|
};
|
|
2718
2706
|
CAlert.displayName = 'CAlert';
|
|
2719
2707
|
|
|
@@ -2722,9 +2710,9 @@ var CAlertHeading = forwardRef(function (_a, ref) {
|
|
|
2722
2710
|
return (React__default.createElement(Component, __assign({ className: classNames('alert-heading', className) }, rest, { ref: ref }), children));
|
|
2723
2711
|
});
|
|
2724
2712
|
CAlertHeading.propTypes = {
|
|
2725
|
-
children:
|
|
2726
|
-
className:
|
|
2727
|
-
component:
|
|
2713
|
+
children: PropTypes.node,
|
|
2714
|
+
className: PropTypes.string,
|
|
2715
|
+
component: PropTypes.elementType,
|
|
2728
2716
|
};
|
|
2729
2717
|
CAlertHeading.displayName = 'CAlertHeading';
|
|
2730
2718
|
|
|
@@ -2742,11 +2730,11 @@ var CLink = forwardRef(function (_a, ref) {
|
|
|
2742
2730
|
}), { disabled: disabled }, rest, { ref: ref }), children));
|
|
2743
2731
|
});
|
|
2744
2732
|
CLink.propTypes = {
|
|
2745
|
-
active:
|
|
2746
|
-
children:
|
|
2747
|
-
className:
|
|
2748
|
-
component:
|
|
2749
|
-
disabled:
|
|
2733
|
+
active: PropTypes.bool,
|
|
2734
|
+
children: PropTypes.node,
|
|
2735
|
+
className: PropTypes.string,
|
|
2736
|
+
component: PropTypes.elementType,
|
|
2737
|
+
disabled: PropTypes.bool,
|
|
2750
2738
|
};
|
|
2751
2739
|
CLink.displayName = 'CLink';
|
|
2752
2740
|
|
|
@@ -2755,8 +2743,8 @@ var CAlertLink = forwardRef(function (_a, ref) {
|
|
|
2755
2743
|
return (React__default.createElement(CLink, __assign({ className: classNames('alert-link', className) }, rest, { ref: ref }), children));
|
|
2756
2744
|
});
|
|
2757
2745
|
CAlertLink.propTypes = {
|
|
2758
|
-
children:
|
|
2759
|
-
className:
|
|
2746
|
+
children: PropTypes.node,
|
|
2747
|
+
className: PropTypes.string,
|
|
2760
2748
|
};
|
|
2761
2749
|
CAlertLink.displayName = 'CAlertLink';
|
|
2762
2750
|
|
|
@@ -2773,13 +2761,13 @@ var CAvatar = forwardRef(function (_a, ref) {
|
|
|
2773
2761
|
status && React__default.createElement("span", { className: statusClassName })));
|
|
2774
2762
|
});
|
|
2775
2763
|
CAvatar.propTypes = {
|
|
2776
|
-
children:
|
|
2777
|
-
className:
|
|
2764
|
+
children: PropTypes.node,
|
|
2765
|
+
className: PropTypes.string,
|
|
2778
2766
|
color: colorPropType,
|
|
2779
2767
|
shape: shapePropType,
|
|
2780
|
-
size:
|
|
2781
|
-
src:
|
|
2782
|
-
status:
|
|
2768
|
+
size: PropTypes.string,
|
|
2769
|
+
src: PropTypes.string,
|
|
2770
|
+
status: PropTypes.string,
|
|
2783
2771
|
textColor: textColorsPropType,
|
|
2784
2772
|
};
|
|
2785
2773
|
CAvatar.displayName = 'CAvatar';
|
|
@@ -2793,8 +2781,8 @@ var CBackdrop = forwardRef(function (_a, ref) {
|
|
|
2793
2781
|
}) }, rest, { ref: forkedRef }))); }));
|
|
2794
2782
|
});
|
|
2795
2783
|
CBackdrop.propTypes = {
|
|
2796
|
-
className:
|
|
2797
|
-
visible:
|
|
2784
|
+
className: PropTypes.string,
|
|
2785
|
+
visible: PropTypes.bool,
|
|
2798
2786
|
};
|
|
2799
2787
|
CBackdrop.displayName = 'CBackdrop';
|
|
2800
2788
|
|
|
@@ -2813,13 +2801,13 @@ var CBadge = forwardRef(function (_a, ref) {
|
|
|
2813
2801
|
_b), shape, className) }, rest, { ref: ref }), children));
|
|
2814
2802
|
});
|
|
2815
2803
|
CBadge.propTypes = {
|
|
2816
|
-
children:
|
|
2817
|
-
className:
|
|
2804
|
+
children: PropTypes.node,
|
|
2805
|
+
className: PropTypes.string,
|
|
2818
2806
|
color: colorPropType,
|
|
2819
|
-
component:
|
|
2820
|
-
position:
|
|
2807
|
+
component: PropTypes.string,
|
|
2808
|
+
position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
|
|
2821
2809
|
shape: shapePropType,
|
|
2822
|
-
size:
|
|
2810
|
+
size: PropTypes.oneOf(['sm']),
|
|
2823
2811
|
textColor: textColorsPropType,
|
|
2824
2812
|
};
|
|
2825
2813
|
CBadge.displayName = 'CBadge';
|
|
@@ -2830,8 +2818,8 @@ var CBreadcrumb = forwardRef(function (_a, ref) {
|
|
|
2830
2818
|
React__default.createElement("ol", __assign({ className: classNames('breadcrumb', className) }, rest, { ref: ref }), children)));
|
|
2831
2819
|
});
|
|
2832
2820
|
CBreadcrumb.propTypes = {
|
|
2833
|
-
children:
|
|
2834
|
-
className:
|
|
2821
|
+
children: PropTypes.node,
|
|
2822
|
+
className: PropTypes.string,
|
|
2835
2823
|
};
|
|
2836
2824
|
CBreadcrumb.displayName = 'CBreadcrumb';
|
|
2837
2825
|
|
|
@@ -2842,10 +2830,10 @@ var CBreadcrumbItem = forwardRef(function (_a, ref) {
|
|
|
2842
2830
|
}, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React__default.createElement(CLink, { href: href }, children) : children));
|
|
2843
2831
|
});
|
|
2844
2832
|
CBreadcrumbItem.propTypes = {
|
|
2845
|
-
active:
|
|
2846
|
-
children:
|
|
2847
|
-
className:
|
|
2848
|
-
href:
|
|
2833
|
+
active: PropTypes.bool,
|
|
2834
|
+
children: PropTypes.node,
|
|
2835
|
+
className: PropTypes.string,
|
|
2836
|
+
href: PropTypes.string,
|
|
2849
2837
|
};
|
|
2850
2838
|
CBreadcrumbItem.displayName = 'CBreadcrumbItem';
|
|
2851
2839
|
|
|
@@ -2855,14 +2843,14 @@ var CButton = forwardRef(function (_a, ref) {
|
|
|
2855
2843
|
return (React__default.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));
|
|
2856
2844
|
});
|
|
2857
2845
|
CButton.propTypes = {
|
|
2858
|
-
children:
|
|
2859
|
-
className:
|
|
2846
|
+
children: PropTypes.node,
|
|
2847
|
+
className: PropTypes.string,
|
|
2860
2848
|
color: colorPropType,
|
|
2861
|
-
component:
|
|
2862
|
-
shape:
|
|
2863
|
-
size:
|
|
2864
|
-
type:
|
|
2865
|
-
variant:
|
|
2849
|
+
component: PropTypes.elementType,
|
|
2850
|
+
shape: PropTypes.string,
|
|
2851
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
2852
|
+
type: PropTypes.oneOf(['button', 'submit', 'reset']),
|
|
2853
|
+
variant: PropTypes.oneOf(['outline', 'ghost']),
|
|
2866
2854
|
};
|
|
2867
2855
|
CButton.displayName = 'CButton';
|
|
2868
2856
|
|
|
@@ -2871,8 +2859,8 @@ var CButtonToolbar = forwardRef(function (_a, ref) {
|
|
|
2871
2859
|
return (React__default.createElement("div", __assign({ className: classNames('btn-toolbar', className) }, rest, { ref: ref }), children));
|
|
2872
2860
|
});
|
|
2873
2861
|
CButtonToolbar.propTypes = {
|
|
2874
|
-
children:
|
|
2875
|
-
className:
|
|
2862
|
+
children: PropTypes.node,
|
|
2863
|
+
className: PropTypes.string,
|
|
2876
2864
|
};
|
|
2877
2865
|
CButtonToolbar.displayName = 'CButtonToolbar';
|
|
2878
2866
|
|
|
@@ -2882,10 +2870,10 @@ var CButtonGroup = forwardRef(function (_a, ref) {
|
|
|
2882
2870
|
return (React__default.createElement("div", __assign({ className: classNames(vertical ? 'btn-group-vertical' : 'btn-group', (_b = {}, _b["btn-group-".concat(size)] = size, _b), className) }, rest, { ref: ref }), children));
|
|
2883
2871
|
});
|
|
2884
2872
|
CButtonGroup.propTypes = {
|
|
2885
|
-
children:
|
|
2886
|
-
className:
|
|
2887
|
-
size:
|
|
2888
|
-
vertical:
|
|
2873
|
+
children: PropTypes.node,
|
|
2874
|
+
className: PropTypes.string,
|
|
2875
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
2876
|
+
vertical: PropTypes.bool,
|
|
2889
2877
|
};
|
|
2890
2878
|
CButtonGroup.displayName = 'CButtonGroup';
|
|
2891
2879
|
|
|
@@ -2897,8 +2885,8 @@ var CCallout = forwardRef(function (_a, ref) {
|
|
|
2897
2885
|
_b), className) }, rest, { ref: ref }), children));
|
|
2898
2886
|
});
|
|
2899
2887
|
CCallout.propTypes = {
|
|
2900
|
-
children:
|
|
2901
|
-
className:
|
|
2888
|
+
children: PropTypes.node,
|
|
2889
|
+
className: PropTypes.string,
|
|
2902
2890
|
color: colorPropType,
|
|
2903
2891
|
};
|
|
2904
2892
|
CCallout.displayName = 'CCallout';
|
|
@@ -2912,10 +2900,10 @@ var CCard = forwardRef(function (_a, ref) {
|
|
|
2912
2900
|
_b), className) }, rest, { ref: ref }), children));
|
|
2913
2901
|
});
|
|
2914
2902
|
CCard.propTypes = {
|
|
2915
|
-
children:
|
|
2916
|
-
className:
|
|
2903
|
+
children: PropTypes.node,
|
|
2904
|
+
className: PropTypes.string,
|
|
2917
2905
|
color: colorPropType,
|
|
2918
|
-
textColor:
|
|
2906
|
+
textColor: PropTypes.string,
|
|
2919
2907
|
};
|
|
2920
2908
|
CCard.displayName = 'CCard';
|
|
2921
2909
|
|
|
@@ -2924,8 +2912,8 @@ var CCardBody = forwardRef(function (_a, ref) {
|
|
|
2924
2912
|
return (React__default.createElement("div", __assign({ className: classNames('card-body', className) }, rest, { ref: ref }), children));
|
|
2925
2913
|
});
|
|
2926
2914
|
CCardBody.propTypes = {
|
|
2927
|
-
children:
|
|
2928
|
-
className:
|
|
2915
|
+
children: PropTypes.node,
|
|
2916
|
+
className: PropTypes.string,
|
|
2929
2917
|
};
|
|
2930
2918
|
CCardBody.displayName = 'CCardBody';
|
|
2931
2919
|
|
|
@@ -2934,8 +2922,8 @@ var CCardFooter = forwardRef(function (_a, ref) {
|
|
|
2934
2922
|
return (React__default.createElement("div", __assign({ className: classNames('card-footer', className) }, rest, { ref: ref }), children));
|
|
2935
2923
|
});
|
|
2936
2924
|
CCardFooter.propTypes = {
|
|
2937
|
-
children:
|
|
2938
|
-
className:
|
|
2925
|
+
children: PropTypes.node,
|
|
2926
|
+
className: PropTypes.string,
|
|
2939
2927
|
};
|
|
2940
2928
|
CCardFooter.displayName = 'CCardFooter';
|
|
2941
2929
|
|
|
@@ -2944,8 +2932,8 @@ var CCardGroup = forwardRef(function (_a, ref) {
|
|
|
2944
2932
|
return (React__default.createElement("div", __assign({ className: classNames('card-group', className) }, rest, { ref: ref }), children));
|
|
2945
2933
|
});
|
|
2946
2934
|
CCardGroup.propTypes = {
|
|
2947
|
-
children:
|
|
2948
|
-
className:
|
|
2935
|
+
children: PropTypes.node,
|
|
2936
|
+
className: PropTypes.string,
|
|
2949
2937
|
};
|
|
2950
2938
|
CCardGroup.displayName = 'CCardGroup';
|
|
2951
2939
|
|
|
@@ -2954,9 +2942,9 @@ var CCardHeader = forwardRef(function (_a, ref) {
|
|
|
2954
2942
|
return (React__default.createElement(Component, __assign({ className: classNames('card-header', className) }, rest, { ref: ref }), children));
|
|
2955
2943
|
});
|
|
2956
2944
|
CCardHeader.propTypes = {
|
|
2957
|
-
children:
|
|
2958
|
-
className:
|
|
2959
|
-
component:
|
|
2945
|
+
children: PropTypes.node,
|
|
2946
|
+
className: PropTypes.string,
|
|
2947
|
+
component: PropTypes.elementType,
|
|
2960
2948
|
};
|
|
2961
2949
|
CCardHeader.displayName = 'CCardHeader';
|
|
2962
2950
|
|
|
@@ -2965,10 +2953,10 @@ var CCardImage = forwardRef(function (_a, ref) {
|
|
|
2965
2953
|
return (React__default.createElement(Component, __assign({ className: classNames(orientation ? "card-img-".concat(orientation) : 'card-img', className) }, rest, { ref: ref }), children));
|
|
2966
2954
|
});
|
|
2967
2955
|
CCardImage.propTypes = {
|
|
2968
|
-
children:
|
|
2969
|
-
className:
|
|
2970
|
-
component:
|
|
2971
|
-
orientation:
|
|
2956
|
+
children: PropTypes.node,
|
|
2957
|
+
className: PropTypes.string,
|
|
2958
|
+
component: PropTypes.elementType,
|
|
2959
|
+
orientation: PropTypes.oneOf(['top', 'bottom']),
|
|
2972
2960
|
};
|
|
2973
2961
|
CCardImage.displayName = 'CCardImage';
|
|
2974
2962
|
|
|
@@ -2977,8 +2965,8 @@ var CCardImageOverlay = forwardRef(function (_a, ref) {
|
|
|
2977
2965
|
return (React__default.createElement("div", __assign({ className: classNames('card-img-overlay', className) }, rest, { ref: ref }), children));
|
|
2978
2966
|
});
|
|
2979
2967
|
CCardImageOverlay.propTypes = {
|
|
2980
|
-
children:
|
|
2981
|
-
className:
|
|
2968
|
+
children: PropTypes.node,
|
|
2969
|
+
className: PropTypes.string,
|
|
2982
2970
|
};
|
|
2983
2971
|
CCardImageOverlay.displayName = 'CCardImageOverlay';
|
|
2984
2972
|
|
|
@@ -2987,8 +2975,8 @@ var CCardLink = forwardRef(function (_a, ref) {
|
|
|
2987
2975
|
return (React__default.createElement(CLink, __assign({ className: classNames('card-link', className) }, rest, { ref: ref }), children));
|
|
2988
2976
|
});
|
|
2989
2977
|
CCardLink.propTypes = {
|
|
2990
|
-
children:
|
|
2991
|
-
className:
|
|
2978
|
+
children: PropTypes.node,
|
|
2979
|
+
className: PropTypes.string,
|
|
2992
2980
|
};
|
|
2993
2981
|
CCardLink.displayName = 'CCardLink';
|
|
2994
2982
|
|
|
@@ -2997,9 +2985,9 @@ var CCardSubtitle = forwardRef(function (_a, ref) {
|
|
|
2997
2985
|
return (React__default.createElement(Component, __assign({ className: classNames('card-subtitle', className) }, rest, { ref: ref }), children));
|
|
2998
2986
|
});
|
|
2999
2987
|
CCardSubtitle.propTypes = {
|
|
3000
|
-
children:
|
|
3001
|
-
className:
|
|
3002
|
-
component:
|
|
2988
|
+
children: PropTypes.node,
|
|
2989
|
+
className: PropTypes.string,
|
|
2990
|
+
component: PropTypes.elementType,
|
|
3003
2991
|
};
|
|
3004
2992
|
CCardSubtitle.displayName = 'CCardSubtitle';
|
|
3005
2993
|
|
|
@@ -3008,9 +2996,9 @@ var CCardText = forwardRef(function (_a, ref) {
|
|
|
3008
2996
|
return (React__default.createElement(Component, __assign({ className: classNames('card-text', className) }, rest, { ref: ref }), children));
|
|
3009
2997
|
});
|
|
3010
2998
|
CCardText.propTypes = {
|
|
3011
|
-
children:
|
|
3012
|
-
className:
|
|
3013
|
-
component:
|
|
2999
|
+
children: PropTypes.node,
|
|
3000
|
+
className: PropTypes.string,
|
|
3001
|
+
component: PropTypes.elementType,
|
|
3014
3002
|
};
|
|
3015
3003
|
CCardText.displayName = 'CCardText';
|
|
3016
3004
|
|
|
@@ -3019,9 +3007,9 @@ var CCardTitle = forwardRef(function (_a, ref) {
|
|
|
3019
3007
|
return (React__default.createElement(Component, __assign({ className: classNames('card-title', className) }, rest, { ref: ref }), children));
|
|
3020
3008
|
});
|
|
3021
3009
|
CCardTitle.propTypes = {
|
|
3022
|
-
children:
|
|
3023
|
-
className:
|
|
3024
|
-
component:
|
|
3010
|
+
children: PropTypes.node,
|
|
3011
|
+
className: PropTypes.string,
|
|
3012
|
+
component: PropTypes.elementType,
|
|
3025
3013
|
};
|
|
3026
3014
|
CCardTitle.displayName = 'CCardTitle';
|
|
3027
3015
|
|
|
@@ -3166,19 +3154,19 @@ var CCarousel = forwardRef(function (_a, ref) {
|
|
|
3166
3154
|
React__default.createElement("span", { className: "carousel-control-next-icon", "aria-label": "next" })))))));
|
|
3167
3155
|
});
|
|
3168
3156
|
CCarousel.propTypes = {
|
|
3169
|
-
activeIndex:
|
|
3170
|
-
children:
|
|
3171
|
-
className:
|
|
3172
|
-
controls:
|
|
3173
|
-
dark:
|
|
3174
|
-
indicators:
|
|
3175
|
-
interval:
|
|
3176
|
-
onSlid:
|
|
3177
|
-
onSlide:
|
|
3178
|
-
pause:
|
|
3179
|
-
touch:
|
|
3180
|
-
transition:
|
|
3181
|
-
wrap:
|
|
3157
|
+
activeIndex: PropTypes.number,
|
|
3158
|
+
children: PropTypes.node,
|
|
3159
|
+
className: PropTypes.string,
|
|
3160
|
+
controls: PropTypes.bool,
|
|
3161
|
+
dark: PropTypes.bool,
|
|
3162
|
+
indicators: PropTypes.bool,
|
|
3163
|
+
interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
|
|
3164
|
+
onSlid: PropTypes.func,
|
|
3165
|
+
onSlide: PropTypes.func,
|
|
3166
|
+
pause: PropTypes.oneOf([false, 'hover']),
|
|
3167
|
+
touch: PropTypes.bool,
|
|
3168
|
+
transition: PropTypes.oneOf(['slide', 'crossfade']),
|
|
3169
|
+
wrap: PropTypes.bool,
|
|
3182
3170
|
};
|
|
3183
3171
|
CCarousel.displayName = 'CCarousel';
|
|
3184
3172
|
|
|
@@ -3187,7 +3175,7 @@ var CCarouselCaption = forwardRef(function (_a, ref) {
|
|
|
3187
3175
|
return React__default.createElement("div", __assign({ className: classNames('carousel-caption', className) }, rest, { ref: ref }));
|
|
3188
3176
|
});
|
|
3189
3177
|
CCarouselCaption.propTypes = {
|
|
3190
|
-
className:
|
|
3178
|
+
className: PropTypes.string,
|
|
3191
3179
|
};
|
|
3192
3180
|
CCarouselCaption.displayName = 'CCarouselCaption';
|
|
3193
3181
|
|
|
@@ -3262,11 +3250,11 @@ var CCarouselItem = forwardRef(function (_a, ref) {
|
|
|
3262
3250
|
return (React__default.createElement("div", __assign({ className: classNames('carousel-item', activeClassName, directionClassName, orderClassName, className), ref: forkedRef }, rest), children));
|
|
3263
3251
|
});
|
|
3264
3252
|
CCarouselItem.propTypes = {
|
|
3265
|
-
active:
|
|
3266
|
-
children:
|
|
3267
|
-
className:
|
|
3268
|
-
direction:
|
|
3269
|
-
interval:
|
|
3253
|
+
active: PropTypes.bool,
|
|
3254
|
+
children: PropTypes.node,
|
|
3255
|
+
className: PropTypes.string,
|
|
3256
|
+
direction: PropTypes.string,
|
|
3257
|
+
interval: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),
|
|
3270
3258
|
};
|
|
3271
3259
|
CCarouselItem.displayName = 'CCarouselItem';
|
|
3272
3260
|
|
|
@@ -3275,8 +3263,8 @@ var CConditionalPortal = function (_a) {
|
|
|
3275
3263
|
return typeof window !== 'undefined' && portal ? (createPortal(children, document.body)) : (React__default.createElement(React__default.Fragment, null, children));
|
|
3276
3264
|
};
|
|
3277
3265
|
CConditionalPortal.propTypes = {
|
|
3278
|
-
children:
|
|
3279
|
-
portal:
|
|
3266
|
+
children: PropTypes.node,
|
|
3267
|
+
portal: PropTypes.bool.isRequired,
|
|
3280
3268
|
};
|
|
3281
3269
|
CConditionalPortal.displayName = 'CConditionalPortal';
|
|
3282
3270
|
|
|
@@ -3522,7 +3510,7 @@ var round = Math.round;
|
|
|
3522
3510
|
function getUAString() {
|
|
3523
3511
|
var uaData = navigator.userAgentData;
|
|
3524
3512
|
|
|
3525
|
-
if (uaData != null && uaData.brands) {
|
|
3513
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
3526
3514
|
return uaData.brands.map(function (item) {
|
|
3527
3515
|
return item.brand + "/" + item.version;
|
|
3528
3516
|
}).join(' ');
|
|
@@ -3850,10 +3838,9 @@ var unsetSides = {
|
|
|
3850
3838
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
3851
3839
|
// cleanly divide the values into the appropriate subpixels.
|
|
3852
3840
|
|
|
3853
|
-
function roundOffsetsByDPR(_ref) {
|
|
3841
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
3854
3842
|
var x = _ref.x,
|
|
3855
3843
|
y = _ref.y;
|
|
3856
|
-
var win = window;
|
|
3857
3844
|
var dpr = win.devicePixelRatio || 1;
|
|
3858
3845
|
return {
|
|
3859
3846
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -3936,7 +3923,7 @@ function mapToStyles(_ref2) {
|
|
|
3936
3923
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3937
3924
|
x: x,
|
|
3938
3925
|
y: y
|
|
3939
|
-
}) : {
|
|
3926
|
+
}, getWindow(popper)) : {
|
|
3940
3927
|
x: x,
|
|
3941
3928
|
y: y
|
|
3942
3929
|
};
|
|
@@ -5473,6 +5460,8 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
5473
5460
|
}
|
|
5474
5461
|
};
|
|
5475
5462
|
|
|
5463
|
+
var isEqual = /*@__PURE__*/getDefaultExportFromCjs(reactFastCompare);
|
|
5464
|
+
|
|
5476
5465
|
var EMPTY_MODIFIERS$1 = [];
|
|
5477
5466
|
var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
5478
5467
|
if (options === void 0) {
|
|
@@ -5536,7 +5525,7 @@ var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
|
5536
5525
|
}])
|
|
5537
5526
|
};
|
|
5538
5527
|
|
|
5539
|
-
if (
|
|
5528
|
+
if (isEqual(prevOptions.current, newOptions)) {
|
|
5540
5529
|
return prevOptions.current || newOptions;
|
|
5541
5530
|
} else {
|
|
5542
5531
|
prevOptions.current = newOptions;
|
|
@@ -5704,6 +5693,8 @@ if (__DEV__) {
|
|
|
5704
5693
|
|
|
5705
5694
|
var warning_1 = warning;
|
|
5706
5695
|
|
|
5696
|
+
var warning$1 = /*@__PURE__*/getDefaultExportFromCjs(warning_1);
|
|
5697
|
+
|
|
5707
5698
|
function Reference(_ref) {
|
|
5708
5699
|
var children = _ref.children,
|
|
5709
5700
|
innerRef = _ref.innerRef;
|
|
@@ -5720,20 +5711,25 @@ function Reference(_ref) {
|
|
|
5720
5711
|
};
|
|
5721
5712
|
}, []);
|
|
5722
5713
|
React.useEffect(function () {
|
|
5723
|
-
|
|
5714
|
+
warning$1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');
|
|
5724
5715
|
}, [setReferenceNode]);
|
|
5725
5716
|
return unwrapArray(children)({
|
|
5726
5717
|
ref: refHandler
|
|
5727
5718
|
});
|
|
5728
5719
|
}
|
|
5729
5720
|
|
|
5721
|
+
var PopperManagerWrapper = function (_a) {
|
|
5722
|
+
var children = _a.children, popper = _a.popper;
|
|
5723
|
+
return popper ? React__default.createElement(Manager, null, children) : React__default.createElement(React__default.Fragment, null, children);
|
|
5724
|
+
};
|
|
5730
5725
|
var CDropdownContext = createContext({});
|
|
5731
5726
|
var CDropdown = forwardRef(function (_a, ref) {
|
|
5732
|
-
var
|
|
5727
|
+
var _b;
|
|
5728
|
+
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"]);
|
|
5733
5729
|
var dropdownRef = useRef(null);
|
|
5734
5730
|
var dropdownToggleRef = useRef(null);
|
|
5735
5731
|
var forkedRef = useForkedRef(ref, dropdownRef);
|
|
5736
|
-
var
|
|
5732
|
+
var _k = useState(visible), _visible = _k[0], setVisible = _k[1];
|
|
5737
5733
|
var Component = variant === 'nav-item' ? 'li' : component;
|
|
5738
5734
|
// Disable popper if responsive aligment is set.
|
|
5739
5735
|
if (typeof alignment === 'object') {
|
|
@@ -5747,6 +5743,7 @@ var CDropdown = forwardRef(function (_a, ref) {
|
|
|
5747
5743
|
dropdownToggleRef: dropdownToggleRef,
|
|
5748
5744
|
placement: placement,
|
|
5749
5745
|
popper: popper,
|
|
5746
|
+
portal: portal,
|
|
5750
5747
|
variant: variant,
|
|
5751
5748
|
visible: _visible,
|
|
5752
5749
|
setVisible: setVisible,
|
|
@@ -5758,44 +5755,43 @@ var CDropdown = forwardRef(function (_a, ref) {
|
|
|
5758
5755
|
_visible && onShow && onShow();
|
|
5759
5756
|
!_visible && onHide && onHide();
|
|
5760
5757
|
}, [_visible]);
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
return (React__default.createElement(CDropdownContext.Provider, { value: contextValues }, popper ? (React__default.createElement(Manager, null,
|
|
5770
|
-
React__default.createElement(DropdownContent, null))) : (React__default.createElement(DropdownContent, null))));
|
|
5758
|
+
return (React__default.createElement(CDropdownContext.Provider, { value: contextValues },
|
|
5759
|
+
React__default.createElement(PopperManagerWrapper, { popper: popper }, variant === 'input-group' ? (React__default.createElement(React__default.Fragment, null, children)) : (React__default.createElement(Component, __assign({ className: classNames(variant === 'nav-item' ? 'nav-item dropdown' : variant, (_b = {
|
|
5760
|
+
'dropdown-center': direction === 'center',
|
|
5761
|
+
'dropup dropup-center': direction === 'dropup-center'
|
|
5762
|
+
},
|
|
5763
|
+
_b["".concat(direction)] = direction && direction !== 'center' && direction !== 'dropup-center',
|
|
5764
|
+
_b.show = _visible,
|
|
5765
|
+
_b), className) }, rest, { ref: forkedRef }), children)))));
|
|
5771
5766
|
});
|
|
5772
|
-
var alignmentDirection =
|
|
5767
|
+
var alignmentDirection = PropTypes.oneOf(['start', 'end']);
|
|
5773
5768
|
CDropdown.propTypes = {
|
|
5774
5769
|
// @ts-expect-error TODO: we have to find a solution
|
|
5775
|
-
alignment:
|
|
5770
|
+
alignment: PropTypes.oneOfType([
|
|
5776
5771
|
alignmentDirection,
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5772
|
+
PropTypes.shape({ xs: alignmentDirection }),
|
|
5773
|
+
PropTypes.shape({ sm: alignmentDirection }),
|
|
5774
|
+
PropTypes.shape({ md: alignmentDirection }),
|
|
5775
|
+
PropTypes.shape({ lg: alignmentDirection }),
|
|
5776
|
+
PropTypes.shape({ xl: alignmentDirection }),
|
|
5777
|
+
PropTypes.shape({ xxl: alignmentDirection }),
|
|
5783
5778
|
]),
|
|
5784
|
-
autoClose:
|
|
5785
|
-
|
|
5786
|
-
|
|
5779
|
+
autoClose: PropTypes.oneOfType([
|
|
5780
|
+
PropTypes.bool,
|
|
5781
|
+
PropTypes.oneOf(['inside', 'outside']),
|
|
5787
5782
|
]),
|
|
5788
|
-
children:
|
|
5789
|
-
className:
|
|
5790
|
-
component:
|
|
5791
|
-
dark:
|
|
5792
|
-
direction:
|
|
5793
|
-
onHide:
|
|
5794
|
-
onShow:
|
|
5783
|
+
children: PropTypes.node,
|
|
5784
|
+
className: PropTypes.string,
|
|
5785
|
+
component: PropTypes.elementType,
|
|
5786
|
+
dark: PropTypes.bool,
|
|
5787
|
+
direction: PropTypes.oneOf(['center', 'dropup', 'dropup-center', 'dropend', 'dropstart']),
|
|
5788
|
+
onHide: PropTypes.func,
|
|
5789
|
+
onShow: PropTypes.func,
|
|
5795
5790
|
placement: placementPropType,
|
|
5796
|
-
popper:
|
|
5797
|
-
|
|
5798
|
-
|
|
5791
|
+
popper: PropTypes.bool,
|
|
5792
|
+
portal: PropTypes.bool,
|
|
5793
|
+
variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
|
|
5794
|
+
visible: PropTypes.bool,
|
|
5799
5795
|
};
|
|
5800
5796
|
CDropdown.displayName = 'CDropdown';
|
|
5801
5797
|
|
|
@@ -5804,7 +5800,7 @@ var CDropdownDivider = forwardRef(function (_a, ref) {
|
|
|
5804
5800
|
return React__default.createElement("hr", __assign({ className: classNames('dropdown-divider', className) }, rest, { ref: ref }));
|
|
5805
5801
|
});
|
|
5806
5802
|
CDropdownDivider.propTypes = {
|
|
5807
|
-
className:
|
|
5803
|
+
className: PropTypes.string,
|
|
5808
5804
|
};
|
|
5809
5805
|
CDropdownDivider.displayName = 'CDropdownDivider';
|
|
5810
5806
|
|
|
@@ -5813,9 +5809,9 @@ var CDropdownHeader = forwardRef(function (_a, ref) {
|
|
|
5813
5809
|
return (React__default.createElement(Component, __assign({ className: classNames('dropdown-header', className) }, rest, { ref: ref }), children));
|
|
5814
5810
|
});
|
|
5815
5811
|
CDropdownHeader.propTypes = {
|
|
5816
|
-
children:
|
|
5817
|
-
className:
|
|
5818
|
-
component:
|
|
5812
|
+
children: PropTypes.node,
|
|
5813
|
+
className: PropTypes.string,
|
|
5814
|
+
component: PropTypes.elementType,
|
|
5819
5815
|
};
|
|
5820
5816
|
CDropdownHeader.displayName = 'CDropdownHeader';
|
|
5821
5817
|
|
|
@@ -5824,9 +5820,9 @@ var CDropdownItem = forwardRef(function (_a, ref) {
|
|
|
5824
5820
|
return (React__default.createElement(CLink, __assign({ className: classNames('dropdown-item', className), component: component }, rest, { ref: ref }), children));
|
|
5825
5821
|
});
|
|
5826
5822
|
CDropdownItem.propTypes = {
|
|
5827
|
-
children:
|
|
5828
|
-
className:
|
|
5829
|
-
component:
|
|
5823
|
+
children: PropTypes.node,
|
|
5824
|
+
className: PropTypes.string,
|
|
5825
|
+
component: PropTypes.elementType,
|
|
5830
5826
|
};
|
|
5831
5827
|
CDropdownItem.displayName = 'CDropdownItem';
|
|
5832
5828
|
|
|
@@ -5835,15 +5831,27 @@ var CDropdownItemPlain = forwardRef(function (_a, ref) {
|
|
|
5835
5831
|
return (React__default.createElement(Component, __assign({ className: classNames('dropdown-item-text', className) }, rest, { ref: ref }), children));
|
|
5836
5832
|
});
|
|
5837
5833
|
CDropdownItemPlain.propTypes = {
|
|
5838
|
-
children:
|
|
5839
|
-
className:
|
|
5840
|
-
component:
|
|
5834
|
+
children: PropTypes.node,
|
|
5835
|
+
className: PropTypes.string,
|
|
5836
|
+
component: PropTypes.elementType,
|
|
5841
5837
|
};
|
|
5842
5838
|
CDropdownItemPlain.displayName = 'CDropdownItemPlain';
|
|
5843
5839
|
|
|
5840
|
+
var alignmentClassNames = function (alignment) {
|
|
5841
|
+
var classNames = [];
|
|
5842
|
+
if (typeof alignment === 'object') {
|
|
5843
|
+
Object.keys(alignment).map(function (key) {
|
|
5844
|
+
classNames.push("dropdown-menu".concat(key === 'xs' ? '' : "-".concat(key), "-").concat(alignment[key]));
|
|
5845
|
+
});
|
|
5846
|
+
}
|
|
5847
|
+
if (typeof alignment === 'string') {
|
|
5848
|
+
classNames.push("dropdown-menu-".concat(alignment));
|
|
5849
|
+
}
|
|
5850
|
+
return classNames;
|
|
5851
|
+
};
|
|
5844
5852
|
var CDropdownMenu = function (_a) {
|
|
5845
5853
|
var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, rest = __rest(_a, ["children", "className", "component"]);
|
|
5846
|
-
var _c = 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;
|
|
5854
|
+
var _c = 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;
|
|
5847
5855
|
var dropdownMenuRef = useRef(null);
|
|
5848
5856
|
useEffect(function () {
|
|
5849
5857
|
visible && window.addEventListener('mouseup', handleMouseUp);
|
|
@@ -5892,38 +5900,27 @@ var CDropdownMenu = function (_a) {
|
|
|
5892
5900
|
if (alignment === 'end') {
|
|
5893
5901
|
_placement = 'bottom-end';
|
|
5894
5902
|
}
|
|
5895
|
-
var
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
var dropdownMenuComponent = function (style, ref) { return (React__default.createElement(Component, __assign({ className: classNames('dropdown-menu', {
|
|
5908
|
-
'dropdown-menu-dark': dark,
|
|
5909
|
-
show: visible,
|
|
5910
|
-
}, alignment && alignmentClassNames(alignment), className), ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul'
|
|
5911
|
-
? React__default.Children.map(children, function (child, index) {
|
|
5912
|
-
if (React__default.isValidElement(child)) {
|
|
5913
|
-
return React__default.createElement("li", { key: index }, React__default.cloneElement(child));
|
|
5914
|
-
}
|
|
5915
|
-
return;
|
|
5916
|
-
})
|
|
5917
|
-
: children)); };
|
|
5903
|
+
var dropdownMenuComponent = function (style, ref) { return (React__default.createElement(CConditionalPortal, { portal: portal !== null && portal !== void 0 ? portal : false },
|
|
5904
|
+
React__default.createElement(Component, __assign({ className: classNames('dropdown-menu', {
|
|
5905
|
+
'dropdown-menu-dark': dark,
|
|
5906
|
+
show: visible,
|
|
5907
|
+
}, alignment && alignmentClassNames(alignment), className), ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul'
|
|
5908
|
+
? React__default.Children.map(children, function (child, index) {
|
|
5909
|
+
if (React__default.isValidElement(child)) {
|
|
5910
|
+
return React__default.createElement("li", { key: index }, React__default.cloneElement(child));
|
|
5911
|
+
}
|
|
5912
|
+
return;
|
|
5913
|
+
})
|
|
5914
|
+
: children))); };
|
|
5918
5915
|
return popper && visible ? (React__default.createElement(Popper, { innerRef: dropdownMenuRef, placement: _placement }, function (_a) {
|
|
5919
5916
|
var ref = _a.ref, style = _a.style;
|
|
5920
5917
|
return dropdownMenuComponent(style, ref);
|
|
5921
5918
|
})) : (dropdownMenuComponent());
|
|
5922
5919
|
};
|
|
5923
5920
|
CDropdownMenu.propTypes = {
|
|
5924
|
-
children:
|
|
5925
|
-
className:
|
|
5926
|
-
component:
|
|
5921
|
+
children: PropTypes.node,
|
|
5922
|
+
className: PropTypes.string,
|
|
5923
|
+
component: PropTypes.elementType,
|
|
5927
5924
|
};
|
|
5928
5925
|
CDropdownMenu.displayName = 'CDropdownMenu';
|
|
5929
5926
|
|
|
@@ -5963,11 +5960,11 @@ var CDropdownToggle = function (_a) {
|
|
|
5963
5960
|
}) : Toggler(dropdownToggleRef);
|
|
5964
5961
|
};
|
|
5965
5962
|
CDropdownToggle.propTypes = {
|
|
5966
|
-
caret:
|
|
5967
|
-
children:
|
|
5968
|
-
className:
|
|
5969
|
-
custom:
|
|
5970
|
-
split:
|
|
5963
|
+
caret: PropTypes.bool,
|
|
5964
|
+
children: PropTypes.node,
|
|
5965
|
+
className: PropTypes.string,
|
|
5966
|
+
custom: PropTypes.bool,
|
|
5967
|
+
split: PropTypes.bool,
|
|
5971
5968
|
trigger: triggerPropType,
|
|
5972
5969
|
};
|
|
5973
5970
|
CDropdownToggle.displayName = 'CDropdownToggle';
|
|
@@ -5978,9 +5975,9 @@ var CFooter = forwardRef(function (_a, ref) {
|
|
|
5978
5975
|
return (React__default.createElement("div", __assign({ className: classNames('footer', (_b = {}, _b["footer-".concat(position)] = position, _b), className) }, rest, { ref: ref }), children));
|
|
5979
5976
|
});
|
|
5980
5977
|
CFooter.propTypes = {
|
|
5981
|
-
children:
|
|
5982
|
-
className:
|
|
5983
|
-
position:
|
|
5978
|
+
children: PropTypes.node,
|
|
5979
|
+
className: PropTypes.string,
|
|
5980
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
5984
5981
|
};
|
|
5985
5982
|
CFooter.displayName = 'CFooter';
|
|
5986
5983
|
|
|
@@ -5989,9 +5986,9 @@ var CForm = forwardRef(function (_a, ref) {
|
|
|
5989
5986
|
return (React__default.createElement("form", __assign({ className: classNames({ 'was-validated': validated }, className) || undefined }, rest, { ref: ref }), children));
|
|
5990
5987
|
});
|
|
5991
5988
|
CForm.propTypes = {
|
|
5992
|
-
children:
|
|
5993
|
-
className:
|
|
5994
|
-
validated:
|
|
5989
|
+
children: PropTypes.node,
|
|
5990
|
+
className: PropTypes.string,
|
|
5991
|
+
validated: PropTypes.bool,
|
|
5995
5992
|
};
|
|
5996
5993
|
CForm.displayName = 'CForm';
|
|
5997
5994
|
|
|
@@ -6004,12 +6001,12 @@ var CFormFeedback = forwardRef(function (_a, ref) {
|
|
|
6004
6001
|
_b), className) }, rest, { ref: ref }), children));
|
|
6005
6002
|
});
|
|
6006
6003
|
CFormFeedback.propTypes = {
|
|
6007
|
-
children:
|
|
6008
|
-
className:
|
|
6009
|
-
component:
|
|
6010
|
-
invalid:
|
|
6011
|
-
tooltip:
|
|
6012
|
-
valid:
|
|
6004
|
+
children: PropTypes.node,
|
|
6005
|
+
className: PropTypes.string,
|
|
6006
|
+
component: PropTypes.elementType,
|
|
6007
|
+
invalid: PropTypes.bool,
|
|
6008
|
+
tooltip: PropTypes.bool,
|
|
6009
|
+
valid: PropTypes.bool,
|
|
6013
6010
|
};
|
|
6014
6011
|
CFormFeedback.displayName = 'CFormFeedback';
|
|
6015
6012
|
|
|
@@ -6021,13 +6018,13 @@ var CFormControlValidation = function (_a) {
|
|
|
6021
6018
|
feedbackValid && (React__default.createElement(CFormFeedback, { valid: true, tooltip: tooltipFeedback }, feedbackValid))));
|
|
6022
6019
|
};
|
|
6023
6020
|
CFormControlValidation.propTypes = {
|
|
6024
|
-
describedby:
|
|
6025
|
-
feedback:
|
|
6026
|
-
feedbackValid:
|
|
6027
|
-
feedbackInvalid:
|
|
6028
|
-
invalid:
|
|
6029
|
-
tooltipFeedback:
|
|
6030
|
-
valid:
|
|
6021
|
+
describedby: PropTypes.string,
|
|
6022
|
+
feedback: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6023
|
+
feedbackValid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6024
|
+
feedbackInvalid: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6025
|
+
invalid: PropTypes.bool,
|
|
6026
|
+
tooltipFeedback: PropTypes.bool,
|
|
6027
|
+
valid: PropTypes.bool,
|
|
6031
6028
|
};
|
|
6032
6029
|
CFormControlValidation.displayName = 'CFormControlValidation';
|
|
6033
6030
|
|
|
@@ -6036,9 +6033,9 @@ var CFormLabel = forwardRef(function (_a, ref) {
|
|
|
6036
6033
|
return (React__default.createElement("label", __assign({ className: customClassName !== null && customClassName !== void 0 ? customClassName : classNames('form-label', className) }, rest, { ref: ref }), children));
|
|
6037
6034
|
});
|
|
6038
6035
|
CFormLabel.propTypes = {
|
|
6039
|
-
children:
|
|
6040
|
-
className:
|
|
6041
|
-
customClassName:
|
|
6036
|
+
children: PropTypes.node,
|
|
6037
|
+
className: PropTypes.string,
|
|
6038
|
+
customClassName: PropTypes.string,
|
|
6042
6039
|
};
|
|
6043
6040
|
CFormLabel.displayName = 'CFormLabel';
|
|
6044
6041
|
|
|
@@ -6050,7 +6047,7 @@ var CFormCheck = forwardRef(function (_a, ref) {
|
|
|
6050
6047
|
if (inputRef.current && indeterminate) {
|
|
6051
6048
|
inputRef.current.indeterminate = indeterminate;
|
|
6052
6049
|
}
|
|
6053
|
-
}, [indeterminate]);
|
|
6050
|
+
}, [indeterminate, inputRef.current]);
|
|
6054
6051
|
var FormControl = function () { return (React__default.createElement("input", __assign({ type: type, className: classNames(button ? 'btn-check' : 'form-check-input', {
|
|
6055
6052
|
'is-invalid': invalid,
|
|
6056
6053
|
'is-valid': valid,
|
|
@@ -6090,7 +6087,7 @@ var CFormCheck = forwardRef(function (_a, ref) {
|
|
|
6090
6087
|
};
|
|
6091
6088
|
return React__default.createElement(FormCheck, null);
|
|
6092
6089
|
});
|
|
6093
|
-
CFormCheck.propTypes = __assign({ button:
|
|
6090
|
+
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);
|
|
6094
6091
|
CFormCheck.displayName = 'CFormCheck';
|
|
6095
6092
|
|
|
6096
6093
|
var CFormFloating = forwardRef(function (_a, ref) {
|
|
@@ -6098,8 +6095,8 @@ var CFormFloating = forwardRef(function (_a, ref) {
|
|
|
6098
6095
|
return (React__default.createElement("div", __assign({ className: classNames('form-floating', className) }, rest, { ref: ref }), children));
|
|
6099
6096
|
});
|
|
6100
6097
|
CFormFloating.propTypes = {
|
|
6101
|
-
children:
|
|
6102
|
-
className:
|
|
6098
|
+
children: PropTypes.node,
|
|
6099
|
+
className: PropTypes.string,
|
|
6103
6100
|
};
|
|
6104
6101
|
CFormFloating.displayName = 'CFormFloating';
|
|
6105
6102
|
|
|
@@ -6108,9 +6105,9 @@ var CFormText = forwardRef(function (_a, ref) {
|
|
|
6108
6105
|
return (React__default.createElement(Component, __assign({ className: classNames('form-text', className) }, rest, { ref: ref }), children));
|
|
6109
6106
|
});
|
|
6110
6107
|
CFormText.propTypes = {
|
|
6111
|
-
children:
|
|
6112
|
-
className:
|
|
6113
|
-
component:
|
|
6108
|
+
children: PropTypes.node,
|
|
6109
|
+
className: PropTypes.string,
|
|
6110
|
+
component: PropTypes.elementType,
|
|
6114
6111
|
};
|
|
6115
6112
|
CFormText.displayName = 'CFormText';
|
|
6116
6113
|
|
|
@@ -6127,7 +6124,7 @@ var CFormControlWrapper = function (_a) {
|
|
|
6127
6124
|
text && React__default.createElement(CFormText, { id: describedby }, text),
|
|
6128
6125
|
React__default.createElement(FormControlValidation, null)));
|
|
6129
6126
|
};
|
|
6130
|
-
CFormControlWrapper.propTypes = __assign({ children:
|
|
6127
|
+
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);
|
|
6131
6128
|
CFormControlWrapper.displayName = 'CFormControlWrapper';
|
|
6132
6129
|
|
|
6133
6130
|
var CFormInput = forwardRef(function (_a, ref) {
|
|
@@ -6146,7 +6143,7 @@ var CFormInput = forwardRef(function (_a, ref) {
|
|
|
6146
6143
|
_b['is-valid'] = valid,
|
|
6147
6144
|
_b), className), id: id, type: type, onChange: function (event) { return (delay ? setValue(event) : onChange && onChange(event)); } }, rest, { ref: ref }), children)));
|
|
6148
6145
|
});
|
|
6149
|
-
CFormInput.propTypes = __assign({ className:
|
|
6146
|
+
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);
|
|
6150
6147
|
CFormInput.displayName = 'CFormInput';
|
|
6151
6148
|
|
|
6152
6149
|
var CFormRange = forwardRef(function (_a, ref) {
|
|
@@ -6156,8 +6153,8 @@ var CFormRange = forwardRef(function (_a, ref) {
|
|
|
6156
6153
|
React__default.createElement("input", __assign({ type: "range", className: classNames('form-range', className) }, rest, { ref: ref }))));
|
|
6157
6154
|
});
|
|
6158
6155
|
CFormRange.propTypes = {
|
|
6159
|
-
className:
|
|
6160
|
-
label:
|
|
6156
|
+
className: PropTypes.string,
|
|
6157
|
+
label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6161
6158
|
};
|
|
6162
6159
|
CFormRange.displayName = 'CFormRange';
|
|
6163
6160
|
|
|
@@ -6176,7 +6173,7 @@ var CFormSelect = forwardRef(function (_a, ref) {
|
|
|
6176
6173
|
})
|
|
6177
6174
|
: children)));
|
|
6178
6175
|
});
|
|
6179
|
-
CFormSelect.propTypes = __assign({ className:
|
|
6176
|
+
CFormSelect.propTypes = __assign({ className: PropTypes.string, htmlSize: PropTypes.number, options: PropTypes.array }, CFormControlWrapper.propTypes);
|
|
6180
6177
|
CFormSelect.displayName = 'CFormSelect';
|
|
6181
6178
|
|
|
6182
6179
|
var CFormSwitch = forwardRef(function (_a, ref) {
|
|
@@ -6196,14 +6193,14 @@ var CFormSwitch = forwardRef(function (_a, ref) {
|
|
|
6196
6193
|
label && (React__default.createElement(CFormLabel, __assign({ customClassName: "form-check-label" }, (id && { htmlFor: id })), label))));
|
|
6197
6194
|
});
|
|
6198
6195
|
CFormSwitch.propTypes = {
|
|
6199
|
-
className:
|
|
6200
|
-
id:
|
|
6201
|
-
invalid:
|
|
6202
|
-
label:
|
|
6203
|
-
reverse:
|
|
6204
|
-
size:
|
|
6205
|
-
type:
|
|
6206
|
-
valid:
|
|
6196
|
+
className: PropTypes.string,
|
|
6197
|
+
id: PropTypes.string,
|
|
6198
|
+
invalid: PropTypes.bool,
|
|
6199
|
+
label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
6200
|
+
reverse: PropTypes.bool,
|
|
6201
|
+
size: PropTypes.oneOf(['lg', 'xl']),
|
|
6202
|
+
type: PropTypes.oneOf(['checkbox', 'radio']),
|
|
6203
|
+
valid: PropTypes.bool,
|
|
6207
6204
|
};
|
|
6208
6205
|
CFormSwitch.displayName = 'CFormSwitch';
|
|
6209
6206
|
|
|
@@ -6215,7 +6212,7 @@ var CFormTextarea = forwardRef(function (_a, ref) {
|
|
|
6215
6212
|
'is-valid': valid,
|
|
6216
6213
|
}, className), id: id }, rest, { ref: ref }), children)));
|
|
6217
6214
|
});
|
|
6218
|
-
CFormTextarea.propTypes = __assign({ className:
|
|
6215
|
+
CFormTextarea.propTypes = __assign({ className: PropTypes.string, id: PropTypes.string, plainText: PropTypes.bool }, CFormControlWrapper.propTypes);
|
|
6219
6216
|
CFormTextarea.displayName = 'CFormTextarea';
|
|
6220
6217
|
|
|
6221
6218
|
var CInputGroup = forwardRef(function (_a, ref) {
|
|
@@ -6226,9 +6223,9 @@ var CInputGroup = forwardRef(function (_a, ref) {
|
|
|
6226
6223
|
_b), className) }, rest, { ref: ref }), children));
|
|
6227
6224
|
});
|
|
6228
6225
|
CInputGroup.propTypes = {
|
|
6229
|
-
children:
|
|
6230
|
-
className:
|
|
6231
|
-
size:
|
|
6226
|
+
children: PropTypes.node,
|
|
6227
|
+
className: PropTypes.string,
|
|
6228
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6232
6229
|
};
|
|
6233
6230
|
CInputGroup.displayName = 'CInputGroup';
|
|
6234
6231
|
|
|
@@ -6237,9 +6234,9 @@ var CInputGroupText = forwardRef(function (_a, ref) {
|
|
|
6237
6234
|
return (React__default.createElement(Component, __assign({ className: classNames('input-group-text', className) }, rest, { ref: ref }), children));
|
|
6238
6235
|
});
|
|
6239
6236
|
CInputGroupText.propTypes = {
|
|
6240
|
-
children:
|
|
6241
|
-
className:
|
|
6242
|
-
component:
|
|
6237
|
+
children: PropTypes.node,
|
|
6238
|
+
className: PropTypes.string,
|
|
6239
|
+
component: PropTypes.elementType,
|
|
6243
6240
|
};
|
|
6244
6241
|
CInputGroupText.displayName = 'CInputGroupText';
|
|
6245
6242
|
|
|
@@ -6281,27 +6278,27 @@ var CCol = forwardRef(function (_a, ref) {
|
|
|
6281
6278
|
});
|
|
6282
6279
|
return (React__default.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'col', className) }, rest, { ref: ref }), children));
|
|
6283
6280
|
});
|
|
6284
|
-
var span =
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6281
|
+
var span = PropTypes.oneOfType([
|
|
6282
|
+
PropTypes.bool,
|
|
6283
|
+
PropTypes.number,
|
|
6284
|
+
PropTypes.string,
|
|
6285
|
+
PropTypes.oneOf(['auto']),
|
|
6289
6286
|
]);
|
|
6290
|
-
var col =
|
|
6287
|
+
var col = PropTypes.oneOfType([
|
|
6291
6288
|
span,
|
|
6292
|
-
|
|
6289
|
+
PropTypes.shape({
|
|
6293
6290
|
span: span,
|
|
6294
|
-
offset:
|
|
6295
|
-
order:
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6291
|
+
offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
6292
|
+
order: PropTypes.oneOfType([
|
|
6293
|
+
PropTypes.oneOf(['first', 'last']),
|
|
6294
|
+
PropTypes.number,
|
|
6295
|
+
PropTypes.string,
|
|
6299
6296
|
]),
|
|
6300
6297
|
}),
|
|
6301
6298
|
]);
|
|
6302
6299
|
CCol.propTypes = {
|
|
6303
|
-
children:
|
|
6304
|
-
className:
|
|
6300
|
+
children: PropTypes.node,
|
|
6301
|
+
className: PropTypes.string,
|
|
6305
6302
|
xs: col,
|
|
6306
6303
|
sm: col,
|
|
6307
6304
|
md: col,
|
|
@@ -6330,14 +6327,14 @@ var CContainer = forwardRef(function (_a, ref) {
|
|
|
6330
6327
|
return (React__default.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'container', className) }, rest, { ref: ref }), children));
|
|
6331
6328
|
});
|
|
6332
6329
|
CContainer.propTypes = {
|
|
6333
|
-
children:
|
|
6334
|
-
className:
|
|
6335
|
-
sm:
|
|
6336
|
-
md:
|
|
6337
|
-
lg:
|
|
6338
|
-
xl:
|
|
6339
|
-
xxl:
|
|
6340
|
-
fluid:
|
|
6330
|
+
children: PropTypes.node,
|
|
6331
|
+
className: PropTypes.string,
|
|
6332
|
+
sm: PropTypes.bool,
|
|
6333
|
+
md: PropTypes.bool,
|
|
6334
|
+
lg: PropTypes.bool,
|
|
6335
|
+
xl: PropTypes.bool,
|
|
6336
|
+
xxl: PropTypes.bool,
|
|
6337
|
+
fluid: PropTypes.bool,
|
|
6341
6338
|
};
|
|
6342
6339
|
CContainer.displayName = 'CContainer';
|
|
6343
6340
|
|
|
@@ -6373,15 +6370,15 @@ var CRow = forwardRef(function (_a, ref) {
|
|
|
6373
6370
|
});
|
|
6374
6371
|
return (React__default.createElement("div", { className: classNames('row', repsonsiveClassNames, className), ref: ref }, children));
|
|
6375
6372
|
});
|
|
6376
|
-
var bp =
|
|
6377
|
-
cols:
|
|
6378
|
-
gutter:
|
|
6379
|
-
gutterX:
|
|
6380
|
-
gutterY:
|
|
6373
|
+
var bp = PropTypes.shape({
|
|
6374
|
+
cols: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.string]),
|
|
6375
|
+
gutter: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6376
|
+
gutterX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6377
|
+
gutterY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
6381
6378
|
});
|
|
6382
6379
|
CRow.propTypes = {
|
|
6383
|
-
children:
|
|
6384
|
-
className:
|
|
6380
|
+
children: PropTypes.node,
|
|
6381
|
+
className: PropTypes.string,
|
|
6385
6382
|
xs: bp,
|
|
6386
6383
|
sm: bp,
|
|
6387
6384
|
md: bp,
|
|
@@ -6397,11 +6394,11 @@ var CHeader = forwardRef(function (_a, ref) {
|
|
|
6397
6394
|
return (React__default.createElement("div", __assign({ className: classNames('header', (_b = {}, _b["header-".concat(position)] = position, _b), className) }, rest, { ref: ref }), container ? (React__default.createElement("div", { className: typeof container === 'string' ? "container-".concat(container) : 'container' }, children)) : (React__default.createElement(React__default.Fragment, null, children))));
|
|
6398
6395
|
});
|
|
6399
6396
|
CHeader.propTypes = {
|
|
6400
|
-
children:
|
|
6401
|
-
className:
|
|
6402
|
-
container:
|
|
6403
|
-
|
|
6404
|
-
|
|
6397
|
+
children: PropTypes.node,
|
|
6398
|
+
className: PropTypes.string,
|
|
6399
|
+
container: PropTypes.oneOfType([
|
|
6400
|
+
PropTypes.bool,
|
|
6401
|
+
PropTypes.oneOf([
|
|
6405
6402
|
'sm',
|
|
6406
6403
|
'md',
|
|
6407
6404
|
'lg',
|
|
@@ -6410,7 +6407,7 @@ CHeader.propTypes = {
|
|
|
6410
6407
|
'fluid',
|
|
6411
6408
|
]),
|
|
6412
6409
|
]),
|
|
6413
|
-
position:
|
|
6410
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
6414
6411
|
};
|
|
6415
6412
|
CHeader.displayName = 'CHeader';
|
|
6416
6413
|
|
|
@@ -6419,9 +6416,9 @@ var CHeaderBrand = forwardRef(function (_a, ref) {
|
|
|
6419
6416
|
return (React__default.createElement(Component, __assign({ className: classNames('header-brand', className) }, rest, { ref: ref }), children));
|
|
6420
6417
|
});
|
|
6421
6418
|
CHeaderBrand.propTypes = {
|
|
6422
|
-
children:
|
|
6423
|
-
className:
|
|
6424
|
-
component:
|
|
6419
|
+
children: PropTypes.node,
|
|
6420
|
+
className: PropTypes.string,
|
|
6421
|
+
component: PropTypes.elementType,
|
|
6425
6422
|
};
|
|
6426
6423
|
CHeaderBrand.displayName = 'CHeaderBrand';
|
|
6427
6424
|
|
|
@@ -6430,7 +6427,7 @@ var CHeaderDivider = forwardRef(function (_a, ref) {
|
|
|
6430
6427
|
return React__default.createElement("div", __assign({ className: classNames('header-divider', className) }, rest, { ref: ref }));
|
|
6431
6428
|
});
|
|
6432
6429
|
CHeaderDivider.propTypes = {
|
|
6433
|
-
className:
|
|
6430
|
+
className: PropTypes.string,
|
|
6434
6431
|
};
|
|
6435
6432
|
CHeaderDivider.displayName = 'CHeaderDivider';
|
|
6436
6433
|
|
|
@@ -6439,9 +6436,9 @@ var CHeaderNav = forwardRef(function (_a, ref) {
|
|
|
6439
6436
|
return (React__default.createElement(Component, __assign({ className: classNames('header-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6440
6437
|
});
|
|
6441
6438
|
CHeaderNav.propTypes = {
|
|
6442
|
-
children:
|
|
6443
|
-
className:
|
|
6444
|
-
component:
|
|
6439
|
+
children: PropTypes.node,
|
|
6440
|
+
className: PropTypes.string,
|
|
6441
|
+
component: PropTypes.elementType,
|
|
6445
6442
|
};
|
|
6446
6443
|
CHeaderNav.displayName = 'CHeaderNav';
|
|
6447
6444
|
|
|
@@ -6450,8 +6447,8 @@ var CHeaderText = forwardRef(function (_a, ref) {
|
|
|
6450
6447
|
return (React__default.createElement("span", __assign({ className: classNames('header-text', className) }, rest, { ref: ref }), children));
|
|
6451
6448
|
});
|
|
6452
6449
|
CHeaderText.propTypes = {
|
|
6453
|
-
children:
|
|
6454
|
-
className:
|
|
6450
|
+
children: PropTypes.node,
|
|
6451
|
+
className: PropTypes.string,
|
|
6455
6452
|
};
|
|
6456
6453
|
CHeaderText.displayName = 'CHeaderText';
|
|
6457
6454
|
|
|
@@ -6460,8 +6457,8 @@ var CHeaderToggler = forwardRef(function (_a, ref) {
|
|
|
6460
6457
|
return (React__default.createElement("button", __assign({ type: "button", className: classNames('header-toggler', className) }, rest, { ref: ref }), children !== null && children !== void 0 ? children : React__default.createElement("span", { className: "header-toggler-icon" })));
|
|
6461
6458
|
});
|
|
6462
6459
|
CHeaderToggler.propTypes = {
|
|
6463
|
-
children:
|
|
6464
|
-
className:
|
|
6460
|
+
children: PropTypes.node,
|
|
6461
|
+
className: PropTypes.string,
|
|
6465
6462
|
};
|
|
6466
6463
|
CHeaderToggler.displayName = 'CHeaderToggler';
|
|
6467
6464
|
|
|
@@ -6477,11 +6474,11 @@ var CImage = forwardRef(function (_a, ref) {
|
|
|
6477
6474
|
_b), className) || undefined }, rest, { ref: ref })));
|
|
6478
6475
|
});
|
|
6479
6476
|
CImage.propTypes = {
|
|
6480
|
-
align:
|
|
6481
|
-
className:
|
|
6482
|
-
fluid:
|
|
6483
|
-
rounded:
|
|
6484
|
-
thumbnail:
|
|
6477
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
6478
|
+
className: PropTypes.string,
|
|
6479
|
+
fluid: PropTypes.bool,
|
|
6480
|
+
rounded: PropTypes.bool,
|
|
6481
|
+
thumbnail: PropTypes.bool,
|
|
6485
6482
|
};
|
|
6486
6483
|
CImage.displayName = 'CImage';
|
|
6487
6484
|
|
|
@@ -6495,11 +6492,11 @@ var CListGroup = forwardRef(function (_a, ref) {
|
|
|
6495
6492
|
_b), className), ref: ref }, children));
|
|
6496
6493
|
});
|
|
6497
6494
|
CListGroup.propTypes = {
|
|
6498
|
-
children:
|
|
6499
|
-
className:
|
|
6500
|
-
component:
|
|
6501
|
-
flush:
|
|
6502
|
-
layout:
|
|
6495
|
+
children: PropTypes.node,
|
|
6496
|
+
className: PropTypes.string,
|
|
6497
|
+
component: PropTypes.elementType,
|
|
6498
|
+
flush: PropTypes.bool,
|
|
6499
|
+
layout: PropTypes.oneOf([
|
|
6503
6500
|
'horizontal',
|
|
6504
6501
|
'horizontal-sm',
|
|
6505
6502
|
'horizontal-md',
|
|
@@ -6528,12 +6525,12 @@ var CListGroupItem = forwardRef(function (_a, ref) {
|
|
|
6528
6525
|
_b), className) }, rest), children));
|
|
6529
6526
|
});
|
|
6530
6527
|
CListGroupItem.propTypes = {
|
|
6531
|
-
active:
|
|
6532
|
-
children:
|
|
6533
|
-
className:
|
|
6528
|
+
active: PropTypes.bool,
|
|
6529
|
+
children: PropTypes.node,
|
|
6530
|
+
className: PropTypes.string,
|
|
6534
6531
|
color: colorPropType,
|
|
6535
|
-
component:
|
|
6536
|
-
disabled:
|
|
6532
|
+
component: PropTypes.elementType,
|
|
6533
|
+
disabled: PropTypes.bool,
|
|
6537
6534
|
};
|
|
6538
6535
|
CListGroupItem.displayName = 'CListGroupItem';
|
|
6539
6536
|
|
|
@@ -6542,8 +6539,8 @@ var CModalContent = forwardRef(function (_a, ref) {
|
|
|
6542
6539
|
return (React__default.createElement("div", __assign({ className: classNames('modal-content', className) }, rest, { ref: ref }), children));
|
|
6543
6540
|
});
|
|
6544
6541
|
CModalContent.propTypes = {
|
|
6545
|
-
children:
|
|
6546
|
-
className:
|
|
6542
|
+
children: PropTypes.node,
|
|
6543
|
+
className: PropTypes.string,
|
|
6547
6544
|
};
|
|
6548
6545
|
CModalContent.displayName = 'CModalContent';
|
|
6549
6546
|
|
|
@@ -6561,15 +6558,15 @@ var CModalDialog = forwardRef(function (_a, ref) {
|
|
|
6561
6558
|
_b), className) }, rest, { ref: ref }), children));
|
|
6562
6559
|
});
|
|
6563
6560
|
CModalDialog.propTypes = {
|
|
6564
|
-
alignment:
|
|
6565
|
-
children:
|
|
6566
|
-
className:
|
|
6567
|
-
fullscreen:
|
|
6568
|
-
|
|
6569
|
-
|
|
6561
|
+
alignment: PropTypes.oneOf(['top', 'center']),
|
|
6562
|
+
children: PropTypes.node,
|
|
6563
|
+
className: PropTypes.string,
|
|
6564
|
+
fullscreen: PropTypes.oneOfType([
|
|
6565
|
+
PropTypes.bool,
|
|
6566
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6570
6567
|
]),
|
|
6571
|
-
scrollable:
|
|
6572
|
-
size:
|
|
6568
|
+
scrollable: PropTypes.bool,
|
|
6569
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
6573
6570
|
};
|
|
6574
6571
|
CModalDialog.displayName = 'CModalDialog';
|
|
6575
6572
|
|
|
@@ -6659,25 +6656,25 @@ var CModal = forwardRef(function (_a, ref) {
|
|
|
6659
6656
|
React__default.createElement(CBackdrop, { visible: _visible })))));
|
|
6660
6657
|
});
|
|
6661
6658
|
CModal.propTypes = {
|
|
6662
|
-
alignment:
|
|
6663
|
-
backdrop:
|
|
6664
|
-
children:
|
|
6665
|
-
className:
|
|
6666
|
-
duration:
|
|
6667
|
-
fullscreen:
|
|
6668
|
-
|
|
6669
|
-
|
|
6659
|
+
alignment: PropTypes.oneOf(['top', 'center']),
|
|
6660
|
+
backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),
|
|
6661
|
+
children: PropTypes.node,
|
|
6662
|
+
className: PropTypes.string,
|
|
6663
|
+
duration: PropTypes.number,
|
|
6664
|
+
fullscreen: PropTypes.oneOfType([
|
|
6665
|
+
PropTypes.bool,
|
|
6666
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6670
6667
|
]),
|
|
6671
|
-
keyboard:
|
|
6672
|
-
onClose:
|
|
6673
|
-
onClosePrevented:
|
|
6674
|
-
onShow:
|
|
6675
|
-
portal:
|
|
6676
|
-
scrollable:
|
|
6677
|
-
size:
|
|
6678
|
-
transition:
|
|
6679
|
-
unmountOnClose:
|
|
6680
|
-
visible:
|
|
6668
|
+
keyboard: PropTypes.bool,
|
|
6669
|
+
onClose: PropTypes.func,
|
|
6670
|
+
onClosePrevented: PropTypes.func,
|
|
6671
|
+
onShow: PropTypes.func,
|
|
6672
|
+
portal: PropTypes.bool,
|
|
6673
|
+
scrollable: PropTypes.bool,
|
|
6674
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
6675
|
+
transition: PropTypes.bool,
|
|
6676
|
+
unmountOnClose: PropTypes.bool,
|
|
6677
|
+
visible: PropTypes.bool,
|
|
6681
6678
|
};
|
|
6682
6679
|
CModal.displayName = 'CModal';
|
|
6683
6680
|
|
|
@@ -6686,8 +6683,8 @@ var CModalBody = forwardRef(function (_a, ref) {
|
|
|
6686
6683
|
return (React__default.createElement("div", __assign({ className: classNames('modal-body', className) }, rest, { ref: ref }), children));
|
|
6687
6684
|
});
|
|
6688
6685
|
CModalBody.propTypes = {
|
|
6689
|
-
children:
|
|
6690
|
-
className:
|
|
6686
|
+
children: PropTypes.node,
|
|
6687
|
+
className: PropTypes.string,
|
|
6691
6688
|
};
|
|
6692
6689
|
CModalBody.displayName = 'CModalBody';
|
|
6693
6690
|
|
|
@@ -6696,8 +6693,8 @@ var CModalFooter = forwardRef(function (_a, ref) {
|
|
|
6696
6693
|
return (React__default.createElement("div", __assign({ className: classNames('modal-footer', className) }, rest, { ref: ref }), children));
|
|
6697
6694
|
});
|
|
6698
6695
|
CModalFooter.propTypes = {
|
|
6699
|
-
children:
|
|
6700
|
-
className:
|
|
6696
|
+
children: PropTypes.node,
|
|
6697
|
+
className: PropTypes.string,
|
|
6701
6698
|
};
|
|
6702
6699
|
CModalFooter.displayName = 'CModalFooter';
|
|
6703
6700
|
|
|
@@ -6709,9 +6706,9 @@ var CModalHeader = forwardRef(function (_a, ref) {
|
|
|
6709
6706
|
closeButton && React__default.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })));
|
|
6710
6707
|
});
|
|
6711
6708
|
CModalHeader.propTypes = {
|
|
6712
|
-
children:
|
|
6713
|
-
className:
|
|
6714
|
-
closeButton:
|
|
6709
|
+
children: PropTypes.node,
|
|
6710
|
+
className: PropTypes.string,
|
|
6711
|
+
closeButton: PropTypes.bool,
|
|
6715
6712
|
};
|
|
6716
6713
|
CModalHeader.displayName = 'CModalHeader';
|
|
6717
6714
|
|
|
@@ -6720,9 +6717,9 @@ var CModalTitle = forwardRef(function (_a, ref) {
|
|
|
6720
6717
|
return (React__default.createElement(Component, __assign({ className: classNames('modal-title', className) }, rest, { ref: ref }), children));
|
|
6721
6718
|
});
|
|
6722
6719
|
CModalTitle.propTypes = {
|
|
6723
|
-
children:
|
|
6724
|
-
className:
|
|
6725
|
-
component:
|
|
6720
|
+
children: PropTypes.node,
|
|
6721
|
+
className: PropTypes.string,
|
|
6722
|
+
component: PropTypes.elementType,
|
|
6726
6723
|
};
|
|
6727
6724
|
CModalTitle.displayName = 'CModalTitle';
|
|
6728
6725
|
|
|
@@ -6735,11 +6732,11 @@ var CNav = forwardRef(function (_a, ref) {
|
|
|
6735
6732
|
_b), className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6736
6733
|
});
|
|
6737
6734
|
CNav.propTypes = {
|
|
6738
|
-
children:
|
|
6739
|
-
className:
|
|
6740
|
-
component:
|
|
6741
|
-
layout:
|
|
6742
|
-
variant:
|
|
6735
|
+
children: PropTypes.node,
|
|
6736
|
+
className: PropTypes.string,
|
|
6737
|
+
component: PropTypes.elementType,
|
|
6738
|
+
layout: PropTypes.oneOf(['fill', 'justified']),
|
|
6739
|
+
variant: PropTypes.oneOf(['tabs', 'pills']),
|
|
6743
6740
|
};
|
|
6744
6741
|
CNav.displayName = 'CNav';
|
|
6745
6742
|
|
|
@@ -6748,8 +6745,8 @@ var CNavGroupItems = forwardRef(function (_a, ref) {
|
|
|
6748
6745
|
return (React__default.createElement("ul", __assign({ className: classNames('nav-group-items', className) }, rest, { ref: ref }), children));
|
|
6749
6746
|
});
|
|
6750
6747
|
CNavGroupItems.propTypes = {
|
|
6751
|
-
children:
|
|
6752
|
-
className:
|
|
6748
|
+
children: PropTypes.node,
|
|
6749
|
+
className: PropTypes.string,
|
|
6753
6750
|
};
|
|
6754
6751
|
CNavGroupItems.displayName = 'CNavGroupItems';
|
|
6755
6752
|
|
|
@@ -6773,8 +6770,8 @@ var CSidebarNav = forwardRef(function (_a, ref) {
|
|
|
6773
6770
|
}))));
|
|
6774
6771
|
});
|
|
6775
6772
|
CSidebarNav.propTypes = {
|
|
6776
|
-
children:
|
|
6777
|
-
className:
|
|
6773
|
+
children: PropTypes.node,
|
|
6774
|
+
className: PropTypes.string,
|
|
6778
6775
|
};
|
|
6779
6776
|
CSidebarNav.displayName = 'CSidebarNav';
|
|
6780
6777
|
|
|
@@ -6835,12 +6832,12 @@ var CNavGroup = forwardRef(function (_a, ref) {
|
|
|
6835
6832
|
}))); })));
|
|
6836
6833
|
});
|
|
6837
6834
|
CNavGroup.propTypes = {
|
|
6838
|
-
children:
|
|
6839
|
-
className:
|
|
6840
|
-
compact:
|
|
6841
|
-
idx:
|
|
6842
|
-
toggler:
|
|
6843
|
-
visible:
|
|
6835
|
+
children: PropTypes.node,
|
|
6836
|
+
className: PropTypes.string,
|
|
6837
|
+
compact: PropTypes.bool,
|
|
6838
|
+
idx: PropTypes.string,
|
|
6839
|
+
toggler: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
6840
|
+
visible: PropTypes.bool,
|
|
6844
6841
|
};
|
|
6845
6842
|
CNavGroup.displayName = 'CNavGroup';
|
|
6846
6843
|
|
|
@@ -6857,9 +6854,9 @@ var CNavLink = forwardRef(function (_a, ref) {
|
|
|
6857
6854
|
return (React__default.createElement(CLink, __assign({ className: classNames('nav-link', className) }, rest, { ref: forkedRef }), children));
|
|
6858
6855
|
});
|
|
6859
6856
|
CNavLink.propTypes = {
|
|
6860
|
-
children:
|
|
6861
|
-
className:
|
|
6862
|
-
idx:
|
|
6857
|
+
children: PropTypes.node,
|
|
6858
|
+
className: PropTypes.string,
|
|
6859
|
+
idx: PropTypes.string,
|
|
6863
6860
|
};
|
|
6864
6861
|
CNavLink.displayName = 'CNavLink';
|
|
6865
6862
|
|
|
@@ -6868,8 +6865,8 @@ var CNavItem = forwardRef(function (_a, ref) {
|
|
|
6868
6865
|
return (React__default.createElement("li", { className: classNames('nav-item', className), ref: ref }, rest.href || rest.to ? (React__default.createElement(CNavLink, __assign({ className: className }, rest), children)) : (children)));
|
|
6869
6866
|
});
|
|
6870
6867
|
CNavItem.propTypes = {
|
|
6871
|
-
children:
|
|
6872
|
-
className:
|
|
6868
|
+
children: PropTypes.node,
|
|
6869
|
+
className: PropTypes.string,
|
|
6873
6870
|
};
|
|
6874
6871
|
CNavItem.displayName = 'CNavItem';
|
|
6875
6872
|
|
|
@@ -6878,8 +6875,8 @@ var CNavTitle = forwardRef(function (_a, ref) {
|
|
|
6878
6875
|
return (React__default.createElement("li", __assign({ className: classNames('nav-title', className) }, rest, { ref: ref }), children));
|
|
6879
6876
|
});
|
|
6880
6877
|
CNavTitle.propTypes = {
|
|
6881
|
-
children:
|
|
6882
|
-
className:
|
|
6878
|
+
children: PropTypes.node,
|
|
6879
|
+
className: PropTypes.string,
|
|
6883
6880
|
};
|
|
6884
6881
|
CNavTitle.displayName = 'CNavTitle';
|
|
6885
6882
|
|
|
@@ -6893,14 +6890,14 @@ var CNavbar = forwardRef(function (_a, ref) {
|
|
|
6893
6890
|
_b), placement, className) }, rest, { ref: ref }), container ? (React__default.createElement("div", { className: typeof container === 'string' ? "container-".concat(container) : 'container' }, children)) : (React__default.createElement(React__default.Fragment, null, children))));
|
|
6894
6891
|
});
|
|
6895
6892
|
CNavbar.propTypes = {
|
|
6896
|
-
children:
|
|
6897
|
-
className:
|
|
6893
|
+
children: PropTypes.node,
|
|
6894
|
+
className: PropTypes.string,
|
|
6898
6895
|
color: colorPropType,
|
|
6899
|
-
colorScheme:
|
|
6900
|
-
component:
|
|
6901
|
-
container:
|
|
6902
|
-
|
|
6903
|
-
|
|
6896
|
+
colorScheme: PropTypes.oneOf(['dark', 'light']),
|
|
6897
|
+
component: PropTypes.elementType,
|
|
6898
|
+
container: PropTypes.oneOfType([
|
|
6899
|
+
PropTypes.bool,
|
|
6900
|
+
PropTypes.oneOf([
|
|
6904
6901
|
'sm',
|
|
6905
6902
|
'md',
|
|
6906
6903
|
'lg',
|
|
@@ -6909,11 +6906,11 @@ CNavbar.propTypes = {
|
|
|
6909
6906
|
'fluid',
|
|
6910
6907
|
]),
|
|
6911
6908
|
]),
|
|
6912
|
-
expand:
|
|
6913
|
-
|
|
6914
|
-
|
|
6909
|
+
expand: PropTypes.oneOfType([
|
|
6910
|
+
PropTypes.bool,
|
|
6911
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6915
6912
|
]),
|
|
6916
|
-
placement:
|
|
6913
|
+
placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
|
|
6917
6914
|
};
|
|
6918
6915
|
CNavbar.displayName = 'CNavbar';
|
|
6919
6916
|
|
|
@@ -6923,9 +6920,9 @@ var CNavbarBrand = forwardRef(function (_a, ref) {
|
|
|
6923
6920
|
return (React__default.createElement(Component, __assign({ className: classNames('navbar-brand', className) }, rest, { ref: ref }), children));
|
|
6924
6921
|
});
|
|
6925
6922
|
CNavbarBrand.propTypes = {
|
|
6926
|
-
children:
|
|
6927
|
-
className:
|
|
6928
|
-
component:
|
|
6923
|
+
children: PropTypes.node,
|
|
6924
|
+
className: PropTypes.string,
|
|
6925
|
+
component: PropTypes.elementType,
|
|
6929
6926
|
};
|
|
6930
6927
|
CNavbarBrand.displayName = 'CNavbarBrand';
|
|
6931
6928
|
|
|
@@ -6934,9 +6931,9 @@ var CNavbarNav = forwardRef(function (_a, ref) {
|
|
|
6934
6931
|
return (React__default.createElement(Component, __assign({ className: classNames('navbar-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6935
6932
|
});
|
|
6936
6933
|
CNavbarNav.propTypes = {
|
|
6937
|
-
children:
|
|
6938
|
-
className:
|
|
6939
|
-
component:
|
|
6934
|
+
children: PropTypes.node,
|
|
6935
|
+
className: PropTypes.string,
|
|
6936
|
+
component: PropTypes.elementType,
|
|
6940
6937
|
};
|
|
6941
6938
|
CNavbarNav.displayName = 'CNavbarNav';
|
|
6942
6939
|
|
|
@@ -6945,8 +6942,8 @@ var CNavbarText = forwardRef(function (_a, ref) {
|
|
|
6945
6942
|
return (React__default.createElement("span", __assign({ className: classNames('navbar-text', className) }, rest, { ref: ref }), children));
|
|
6946
6943
|
});
|
|
6947
6944
|
CNavbarText.propTypes = {
|
|
6948
|
-
children:
|
|
6949
|
-
className:
|
|
6945
|
+
children: PropTypes.node,
|
|
6946
|
+
className: PropTypes.string,
|
|
6950
6947
|
};
|
|
6951
6948
|
CNavbarText.displayName = 'CNavbarText';
|
|
6952
6949
|
|
|
@@ -6955,8 +6952,8 @@ var CNavbarToggler = forwardRef(function (_a, ref) {
|
|
|
6955
6952
|
return (React__default.createElement("button", __assign({ type: "button", className: classNames('navbar-toggler', className) }, rest, { ref: ref }), children !== null && children !== void 0 ? children : React__default.createElement("span", { className: "navbar-toggler-icon" })));
|
|
6956
6953
|
});
|
|
6957
6954
|
CNavbarToggler.propTypes = {
|
|
6958
|
-
children:
|
|
6959
|
-
className:
|
|
6955
|
+
children: PropTypes.node,
|
|
6956
|
+
className: PropTypes.string,
|
|
6960
6957
|
};
|
|
6961
6958
|
CNavbarToggler.displayName = 'CNavbarToggler';
|
|
6962
6959
|
|
|
@@ -6969,11 +6966,9 @@ var COffcanvas = forwardRef(function (_a, ref) {
|
|
|
6969
6966
|
setVisible(visible);
|
|
6970
6967
|
}, [visible]);
|
|
6971
6968
|
useEffect(function () {
|
|
6972
|
-
if (_visible) {
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
document.body.style.paddingRight = '0px';
|
|
6976
|
-
}
|
|
6969
|
+
if (_visible && !scroll) {
|
|
6970
|
+
document.body.style.overflow = 'hidden';
|
|
6971
|
+
document.body.style.paddingRight = '0px';
|
|
6977
6972
|
return;
|
|
6978
6973
|
}
|
|
6979
6974
|
if (!scroll) {
|
|
@@ -7010,21 +7005,21 @@ var COffcanvas = forwardRef(function (_a, ref) {
|
|
|
7010
7005
|
React__default.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleBackdropDismiss, visible: _visible })))));
|
|
7011
7006
|
});
|
|
7012
7007
|
COffcanvas.propTypes = {
|
|
7013
|
-
backdrop:
|
|
7014
|
-
children:
|
|
7015
|
-
className:
|
|
7016
|
-
keyboard:
|
|
7017
|
-
onHide:
|
|
7018
|
-
onShow:
|
|
7019
|
-
placement:
|
|
7008
|
+
backdrop: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['static'])]),
|
|
7009
|
+
children: PropTypes.node,
|
|
7010
|
+
className: PropTypes.string,
|
|
7011
|
+
keyboard: PropTypes.bool,
|
|
7012
|
+
onHide: PropTypes.func,
|
|
7013
|
+
onShow: PropTypes.func,
|
|
7014
|
+
placement: PropTypes.oneOf(['start', 'end', 'top', 'bottom'])
|
|
7020
7015
|
.isRequired,
|
|
7021
|
-
portal:
|
|
7022
|
-
responsive:
|
|
7023
|
-
|
|
7024
|
-
|
|
7016
|
+
portal: PropTypes.bool,
|
|
7017
|
+
responsive: PropTypes.oneOfType([
|
|
7018
|
+
PropTypes.bool,
|
|
7019
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7025
7020
|
]),
|
|
7026
|
-
scroll:
|
|
7027
|
-
visible:
|
|
7021
|
+
scroll: PropTypes.bool,
|
|
7022
|
+
visible: PropTypes.bool,
|
|
7028
7023
|
};
|
|
7029
7024
|
COffcanvas.displayName = 'COffcanvas';
|
|
7030
7025
|
|
|
@@ -7033,8 +7028,8 @@ var COffcanvasBody = forwardRef(function (_a, ref) {
|
|
|
7033
7028
|
return (React__default.createElement("div", __assign({ className: classNames('offcanvas-body', className) }, rest, { ref: ref }), children));
|
|
7034
7029
|
});
|
|
7035
7030
|
COffcanvasBody.propTypes = {
|
|
7036
|
-
children:
|
|
7037
|
-
className:
|
|
7031
|
+
children: PropTypes.node,
|
|
7032
|
+
className: PropTypes.string,
|
|
7038
7033
|
};
|
|
7039
7034
|
COffcanvasBody.displayName = 'COffcanvasBody';
|
|
7040
7035
|
|
|
@@ -7043,8 +7038,8 @@ var COffcanvasHeader = forwardRef(function (_a, ref) {
|
|
|
7043
7038
|
return (React__default.createElement("div", __assign({ className: classNames('offcanvas-header', className) }, rest, { ref: ref }), children));
|
|
7044
7039
|
});
|
|
7045
7040
|
COffcanvasHeader.propTypes = {
|
|
7046
|
-
children:
|
|
7047
|
-
className:
|
|
7041
|
+
children: PropTypes.node,
|
|
7042
|
+
className: PropTypes.string,
|
|
7048
7043
|
};
|
|
7049
7044
|
COffcanvasHeader.displayName = 'COffcanvasHeader';
|
|
7050
7045
|
|
|
@@ -7053,9 +7048,9 @@ var COffcanvasTitle = forwardRef(function (_a, ref) {
|
|
|
7053
7048
|
return (React__default.createElement(Component, __assign({ className: classNames('offcanvas-title', className) }, rest, { ref: ref }), children));
|
|
7054
7049
|
});
|
|
7055
7050
|
COffcanvasTitle.propTypes = {
|
|
7056
|
-
children:
|
|
7057
|
-
className:
|
|
7058
|
-
component:
|
|
7051
|
+
children: PropTypes.node,
|
|
7052
|
+
className: PropTypes.string,
|
|
7053
|
+
component: PropTypes.elementType,
|
|
7059
7054
|
};
|
|
7060
7055
|
COffcanvasTitle.displayName = 'COffcanvasTitle';
|
|
7061
7056
|
|
|
@@ -7069,10 +7064,10 @@ var CPagination = forwardRef(function (_a, ref) {
|
|
|
7069
7064
|
_b), className) }, children)));
|
|
7070
7065
|
});
|
|
7071
7066
|
CPagination.propTypes = {
|
|
7072
|
-
align:
|
|
7073
|
-
children:
|
|
7074
|
-
className:
|
|
7075
|
-
size:
|
|
7067
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
7068
|
+
children: PropTypes.node,
|
|
7069
|
+
className: PropTypes.string,
|
|
7070
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
7076
7071
|
};
|
|
7077
7072
|
CPagination.displayName = 'CPagination';
|
|
7078
7073
|
|
|
@@ -7085,9 +7080,9 @@ var CPaginationItem = forwardRef(function (_a, ref) {
|
|
|
7085
7080
|
}, className) }, (rest.active && { 'aria-current': 'page' })), Component === 'a' ? (React__default.createElement(CLink, __assign({ className: "page-link", component: Component }, rest, { ref: ref }), children)) : (React__default.createElement(Component, { className: "page-link", ref: ref }, children))));
|
|
7086
7081
|
});
|
|
7087
7082
|
CPaginationItem.propTypes = {
|
|
7088
|
-
children:
|
|
7089
|
-
className:
|
|
7090
|
-
component:
|
|
7083
|
+
children: PropTypes.node,
|
|
7084
|
+
className: PropTypes.string,
|
|
7085
|
+
component: PropTypes.elementType,
|
|
7091
7086
|
};
|
|
7092
7087
|
CPaginationItem.displayName = 'CPaginationItem';
|
|
7093
7088
|
|
|
@@ -7120,12 +7115,12 @@ var CPlaceholder = forwardRef(function (_a, ref) {
|
|
|
7120
7115
|
_b), repsonsiveClassNames, className) }, rest, { ref: ref }), children));
|
|
7121
7116
|
});
|
|
7122
7117
|
CPlaceholder.propTypes = {
|
|
7123
|
-
animation:
|
|
7124
|
-
children:
|
|
7125
|
-
className:
|
|
7118
|
+
animation: PropTypes.oneOf(['glow', 'wave']),
|
|
7119
|
+
children: PropTypes.node,
|
|
7120
|
+
className: PropTypes.string,
|
|
7126
7121
|
color: colorPropType,
|
|
7127
|
-
component:
|
|
7128
|
-
size:
|
|
7122
|
+
component: PropTypes.elementType,
|
|
7123
|
+
size: PropTypes.oneOf(['xs', 'sm', 'lg']),
|
|
7129
7124
|
};
|
|
7130
7125
|
CPlaceholder.displayName = 'CPlaceholder';
|
|
7131
7126
|
|
|
@@ -7139,12 +7134,12 @@ var CProgressBar = forwardRef(function (_a, ref) {
|
|
|
7139
7134
|
_b), className), role: "progressbar", style: { width: "".concat(value, "%") }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
|
|
7140
7135
|
});
|
|
7141
7136
|
CProgressBar.propTypes = {
|
|
7142
|
-
animated:
|
|
7143
|
-
children:
|
|
7144
|
-
className:
|
|
7137
|
+
animated: PropTypes.bool,
|
|
7138
|
+
children: PropTypes.node,
|
|
7139
|
+
className: PropTypes.string,
|
|
7145
7140
|
color: colorPropType,
|
|
7146
|
-
value:
|
|
7147
|
-
variant:
|
|
7141
|
+
value: PropTypes.number,
|
|
7142
|
+
variant: PropTypes.oneOf(['striped']),
|
|
7148
7143
|
};
|
|
7149
7144
|
CProgressBar.displayName = 'CProgressBar';
|
|
7150
7145
|
|
|
@@ -7156,12 +7151,12 @@ var CProgress = forwardRef(function (_a, ref) {
|
|
|
7156
7151
|
}, className), style: height ? { height: "".concat(height, "px") } : {}, ref: ref }, value ? (React__default.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
|
|
7157
7152
|
});
|
|
7158
7153
|
CProgress.propTypes = {
|
|
7159
|
-
children:
|
|
7160
|
-
className:
|
|
7161
|
-
height:
|
|
7162
|
-
thin:
|
|
7163
|
-
value:
|
|
7164
|
-
white:
|
|
7154
|
+
children: PropTypes.node,
|
|
7155
|
+
className: PropTypes.string,
|
|
7156
|
+
height: PropTypes.number,
|
|
7157
|
+
thin: PropTypes.bool,
|
|
7158
|
+
value: PropTypes.number,
|
|
7159
|
+
white: PropTypes.bool,
|
|
7165
7160
|
};
|
|
7166
7161
|
CProgress.displayName = 'CProgress';
|
|
7167
7162
|
|
|
@@ -7209,16 +7204,16 @@ var CPopover = function (_a) {
|
|
|
7209
7204
|
React__default.createElement("div", { className: "popover-body" }, content))); }), document.body)));
|
|
7210
7205
|
};
|
|
7211
7206
|
CPopover.propTypes = {
|
|
7212
|
-
children:
|
|
7213
|
-
className:
|
|
7214
|
-
content:
|
|
7215
|
-
offset:
|
|
7216
|
-
onHide:
|
|
7217
|
-
onShow:
|
|
7218
|
-
placement:
|
|
7219
|
-
title:
|
|
7207
|
+
children: PropTypes.node,
|
|
7208
|
+
className: PropTypes.string,
|
|
7209
|
+
content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7210
|
+
offset: PropTypes.any,
|
|
7211
|
+
onHide: PropTypes.func,
|
|
7212
|
+
onShow: PropTypes.func,
|
|
7213
|
+
placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
|
|
7214
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7220
7215
|
trigger: triggerPropType,
|
|
7221
|
-
visible:
|
|
7216
|
+
visible: PropTypes.bool,
|
|
7222
7217
|
};
|
|
7223
7218
|
CPopover.displayName = 'CPopover';
|
|
7224
7219
|
|
|
@@ -7312,17 +7307,17 @@ var CSidebar = forwardRef(function (_a, ref) {
|
|
|
7312
7307
|
createPortal(React__default.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body)));
|
|
7313
7308
|
});
|
|
7314
7309
|
CSidebar.propTypes = {
|
|
7315
|
-
children:
|
|
7316
|
-
className:
|
|
7317
|
-
narrow:
|
|
7318
|
-
onHide:
|
|
7319
|
-
onShow:
|
|
7320
|
-
onVisibleChange:
|
|
7321
|
-
overlaid:
|
|
7322
|
-
position:
|
|
7323
|
-
size:
|
|
7324
|
-
unfoldable:
|
|
7325
|
-
visible:
|
|
7310
|
+
children: PropTypes.node,
|
|
7311
|
+
className: PropTypes.string,
|
|
7312
|
+
narrow: PropTypes.bool,
|
|
7313
|
+
onHide: PropTypes.func,
|
|
7314
|
+
onShow: PropTypes.func,
|
|
7315
|
+
onVisibleChange: PropTypes.func,
|
|
7316
|
+
overlaid: PropTypes.bool,
|
|
7317
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
7318
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
7319
|
+
unfoldable: PropTypes.bool,
|
|
7320
|
+
visible: PropTypes.bool,
|
|
7326
7321
|
};
|
|
7327
7322
|
CSidebar.displayName = 'CSidebar';
|
|
7328
7323
|
|
|
@@ -7331,8 +7326,8 @@ var CSidebarBrand = forwardRef(function (_a, ref) {
|
|
|
7331
7326
|
return (React__default.createElement("div", __assign({ className: classNames('sidebar-brand', className), ref: ref }, rest), children));
|
|
7332
7327
|
});
|
|
7333
7328
|
CSidebarBrand.propTypes = {
|
|
7334
|
-
children:
|
|
7335
|
-
className:
|
|
7329
|
+
children: PropTypes.node,
|
|
7330
|
+
className: PropTypes.string,
|
|
7336
7331
|
};
|
|
7337
7332
|
CSidebarBrand.displayName = 'CSidebarBrand';
|
|
7338
7333
|
|
|
@@ -7341,8 +7336,8 @@ var CSidebarFooter = forwardRef(function (_a, ref) {
|
|
|
7341
7336
|
return (React__default.createElement("div", __assign({ className: classNames('sidebar-footer', className), ref: ref }, rest), children));
|
|
7342
7337
|
});
|
|
7343
7338
|
CSidebarFooter.propTypes = {
|
|
7344
|
-
children:
|
|
7345
|
-
className:
|
|
7339
|
+
children: PropTypes.node,
|
|
7340
|
+
className: PropTypes.string,
|
|
7346
7341
|
};
|
|
7347
7342
|
CSidebarFooter.displayName = 'CSidebarFooter';
|
|
7348
7343
|
|
|
@@ -7351,8 +7346,8 @@ var CSidebarToggler = forwardRef(function (_a, ref) {
|
|
|
7351
7346
|
return (React__default.createElement("button", __assign({ className: classNames('sidebar-toggler', className), ref: ref }, rest), children));
|
|
7352
7347
|
});
|
|
7353
7348
|
CSidebarToggler.propTypes = {
|
|
7354
|
-
children:
|
|
7355
|
-
className:
|
|
7349
|
+
children: PropTypes.node,
|
|
7350
|
+
className: PropTypes.string,
|
|
7356
7351
|
};
|
|
7357
7352
|
CSidebarToggler.displayName = 'CSidebarToggler';
|
|
7358
7353
|
|
|
@@ -7361,8 +7356,8 @@ var CSidebarHeader = forwardRef(function (_a, ref) {
|
|
|
7361
7356
|
return (React__default.createElement("div", __assign({ className: classNames('sidebar-header', className), ref: ref }, rest), children));
|
|
7362
7357
|
});
|
|
7363
7358
|
CSidebarHeader.propTypes = {
|
|
7364
|
-
children:
|
|
7365
|
-
className:
|
|
7359
|
+
children: PropTypes.node,
|
|
7360
|
+
className: PropTypes.string,
|
|
7366
7361
|
};
|
|
7367
7362
|
CSidebarHeader.displayName = 'CSidebarHeader';
|
|
7368
7363
|
|
|
@@ -7372,12 +7367,12 @@ var CSpinner = forwardRef(function (_a, ref) {
|
|
|
7372
7367
|
React__default.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
|
|
7373
7368
|
});
|
|
7374
7369
|
CSpinner.propTypes = {
|
|
7375
|
-
className:
|
|
7370
|
+
className: PropTypes.string,
|
|
7376
7371
|
color: colorPropType,
|
|
7377
|
-
component:
|
|
7378
|
-
size:
|
|
7379
|
-
variant:
|
|
7380
|
-
visuallyHiddenLabel:
|
|
7372
|
+
component: PropTypes.string,
|
|
7373
|
+
size: PropTypes.oneOf(['sm']),
|
|
7374
|
+
variant: PropTypes.oneOf(['border', 'grow']),
|
|
7375
|
+
visuallyHiddenLabel: PropTypes.string,
|
|
7381
7376
|
};
|
|
7382
7377
|
CSpinner.displayName = 'CSpinner';
|
|
7383
7378
|
|
|
@@ -7389,8 +7384,8 @@ var CTableHead = forwardRef(function (_a, ref) {
|
|
|
7389
7384
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7390
7385
|
});
|
|
7391
7386
|
CTableHead.propTypes = {
|
|
7392
|
-
children:
|
|
7393
|
-
className:
|
|
7387
|
+
children: PropTypes.node,
|
|
7388
|
+
className: PropTypes.string,
|
|
7394
7389
|
color: colorPropType,
|
|
7395
7390
|
};
|
|
7396
7391
|
CTableHead.displayName = 'CTableHead';
|
|
@@ -7403,8 +7398,8 @@ var CTableHeaderCell = forwardRef(function (_a, ref) {
|
|
|
7403
7398
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7404
7399
|
});
|
|
7405
7400
|
CTableHeaderCell.propTypes = {
|
|
7406
|
-
children:
|
|
7407
|
-
className:
|
|
7401
|
+
children: PropTypes.node,
|
|
7402
|
+
className: PropTypes.string,
|
|
7408
7403
|
color: colorPropType,
|
|
7409
7404
|
};
|
|
7410
7405
|
CTableHeaderCell.displayName = 'CTableHeaderCell';
|
|
@@ -7417,8 +7412,8 @@ var CTableBody = forwardRef(function (_a, ref) {
|
|
|
7417
7412
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7418
7413
|
});
|
|
7419
7414
|
CTableBody.propTypes = {
|
|
7420
|
-
children:
|
|
7421
|
-
className:
|
|
7415
|
+
children: PropTypes.node,
|
|
7416
|
+
className: PropTypes.string,
|
|
7422
7417
|
color: colorPropType,
|
|
7423
7418
|
};
|
|
7424
7419
|
CTableBody.displayName = 'CTableBody';
|
|
@@ -7434,10 +7429,10 @@ var CTableDataCell = forwardRef(function (_a, ref) {
|
|
|
7434
7429
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7435
7430
|
});
|
|
7436
7431
|
CTableDataCell.propTypes = {
|
|
7437
|
-
active:
|
|
7438
|
-
align:
|
|
7439
|
-
children:
|
|
7440
|
-
className:
|
|
7432
|
+
active: PropTypes.bool,
|
|
7433
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7434
|
+
children: PropTypes.node,
|
|
7435
|
+
className: PropTypes.string,
|
|
7441
7436
|
color: colorPropType,
|
|
7442
7437
|
};
|
|
7443
7438
|
CTableDataCell.displayName = 'CTableDataCell';
|
|
@@ -7452,10 +7447,10 @@ var CTableRow = forwardRef(function (_a, ref) {
|
|
|
7452
7447
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7453
7448
|
});
|
|
7454
7449
|
CTableRow.propTypes = {
|
|
7455
|
-
active:
|
|
7456
|
-
align:
|
|
7457
|
-
children:
|
|
7458
|
-
className:
|
|
7450
|
+
active: PropTypes.bool,
|
|
7451
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7452
|
+
children: PropTypes.node,
|
|
7453
|
+
className: PropTypes.string,
|
|
7459
7454
|
color: colorPropType,
|
|
7460
7455
|
};
|
|
7461
7456
|
CTableRow.displayName = 'CTableRow';
|
|
@@ -7468,8 +7463,8 @@ var CTableFoot = forwardRef(function (_a, ref) {
|
|
|
7468
7463
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7469
7464
|
});
|
|
7470
7465
|
CTableFoot.propTypes = {
|
|
7471
|
-
children:
|
|
7472
|
-
className:
|
|
7466
|
+
children: PropTypes.node,
|
|
7467
|
+
className: PropTypes.string,
|
|
7473
7468
|
color: colorPropType,
|
|
7474
7469
|
};
|
|
7475
7470
|
CTableFoot.displayName = 'CTableFoot';
|
|
@@ -7479,7 +7474,7 @@ var CTableCaption = forwardRef(function (_a, ref) {
|
|
|
7479
7474
|
return (React__default.createElement("caption", __assign({}, props, { ref: ref }), children));
|
|
7480
7475
|
});
|
|
7481
7476
|
CTableCaption.propTypes = {
|
|
7482
|
-
children:
|
|
7477
|
+
children: PropTypes.node,
|
|
7483
7478
|
};
|
|
7484
7479
|
CTableCaption.displayName = 'CTableCaption';
|
|
7485
7480
|
|
|
@@ -7488,10 +7483,10 @@ var CTableResponsiveWrapper = function (_a) {
|
|
|
7488
7483
|
return responsive ? (React__default.createElement("div", __assign({ className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-".concat(responsive) }, rest), children)) : (React__default.createElement(React__default.Fragment, null, children));
|
|
7489
7484
|
};
|
|
7490
7485
|
CTableResponsiveWrapper.propTypes = {
|
|
7491
|
-
children:
|
|
7492
|
-
responsive:
|
|
7493
|
-
|
|
7494
|
-
|
|
7486
|
+
children: PropTypes.node,
|
|
7487
|
+
responsive: PropTypes.oneOfType([
|
|
7488
|
+
PropTypes.bool,
|
|
7489
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7495
7490
|
]),
|
|
7496
7491
|
};
|
|
7497
7492
|
CTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper';
|
|
@@ -7546,28 +7541,28 @@ var CTable = forwardRef(function (_a, ref) {
|
|
|
7546
7541
|
React__default.createElement(CTableRow, null, footer.map(function (item, index) { return (React__default.createElement(CTableDataCell, __assign({}, (typeof item === 'object' && item._props && __assign({}, item._props)), { key: index }), typeof item === 'object' ? item.label : item)); })))))));
|
|
7547
7542
|
});
|
|
7548
7543
|
CTable.propTypes = {
|
|
7549
|
-
align:
|
|
7550
|
-
borderColor:
|
|
7551
|
-
bordered:
|
|
7552
|
-
borderless:
|
|
7553
|
-
caption:
|
|
7554
|
-
captionTop:
|
|
7555
|
-
children:
|
|
7556
|
-
className:
|
|
7544
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7545
|
+
borderColor: PropTypes.string,
|
|
7546
|
+
bordered: PropTypes.bool,
|
|
7547
|
+
borderless: PropTypes.bool,
|
|
7548
|
+
caption: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(['top'])]),
|
|
7549
|
+
captionTop: PropTypes.string,
|
|
7550
|
+
children: PropTypes.node,
|
|
7551
|
+
className: PropTypes.string,
|
|
7557
7552
|
color: colorPropType,
|
|
7558
|
-
columns:
|
|
7559
|
-
footer:
|
|
7560
|
-
hover:
|
|
7561
|
-
items:
|
|
7562
|
-
responsive:
|
|
7563
|
-
|
|
7564
|
-
|
|
7553
|
+
columns: PropTypes.array,
|
|
7554
|
+
footer: PropTypes.array,
|
|
7555
|
+
hover: PropTypes.bool,
|
|
7556
|
+
items: PropTypes.array,
|
|
7557
|
+
responsive: PropTypes.oneOfType([
|
|
7558
|
+
PropTypes.bool,
|
|
7559
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7565
7560
|
]),
|
|
7566
|
-
small:
|
|
7567
|
-
striped:
|
|
7568
|
-
stripedColumns:
|
|
7569
|
-
tableFootProps:
|
|
7570
|
-
tableHeadProps:
|
|
7561
|
+
small: PropTypes.bool,
|
|
7562
|
+
striped: PropTypes.bool,
|
|
7563
|
+
stripedColumns: PropTypes.bool,
|
|
7564
|
+
tableFootProps: PropTypes.shape(__assign({}, CTableFoot.propTypes)),
|
|
7565
|
+
tableHeadProps: PropTypes.shape(__assign({}, CTableHead.propTypes)),
|
|
7571
7566
|
};
|
|
7572
7567
|
CTable.displayName = 'CTable';
|
|
7573
7568
|
|
|
@@ -7576,8 +7571,8 @@ var CTabContent = forwardRef(function (_a, ref) {
|
|
|
7576
7571
|
return (React__default.createElement("div", __assign({ className: classNames('tab-content', className) }, rest, { ref: ref }), children));
|
|
7577
7572
|
});
|
|
7578
7573
|
CTabContent.propTypes = {
|
|
7579
|
-
children:
|
|
7580
|
-
className:
|
|
7574
|
+
children: PropTypes.node,
|
|
7575
|
+
className: PropTypes.string,
|
|
7581
7576
|
};
|
|
7582
7577
|
CTabContent.displayName = 'CTabContent';
|
|
7583
7578
|
|
|
@@ -7591,11 +7586,11 @@ var CTabPane = forwardRef(function (_a, ref) {
|
|
|
7591
7586
|
}, className) }, rest, { ref: forkedRef }), children)); }));
|
|
7592
7587
|
});
|
|
7593
7588
|
CTabPane.propTypes = {
|
|
7594
|
-
children:
|
|
7595
|
-
className:
|
|
7596
|
-
onHide:
|
|
7597
|
-
onShow:
|
|
7598
|
-
visible:
|
|
7589
|
+
children: PropTypes.node,
|
|
7590
|
+
className: PropTypes.string,
|
|
7591
|
+
onHide: PropTypes.func,
|
|
7592
|
+
onShow: PropTypes.func,
|
|
7593
|
+
visible: PropTypes.bool,
|
|
7599
7594
|
};
|
|
7600
7595
|
CTabPane.displayName = 'CTabPane';
|
|
7601
7596
|
|
|
@@ -7640,17 +7635,17 @@ var CToast = forwardRef(function (_a, ref) {
|
|
|
7640
7635
|
}));
|
|
7641
7636
|
});
|
|
7642
7637
|
CToast.propTypes = {
|
|
7643
|
-
animation:
|
|
7644
|
-
autohide:
|
|
7645
|
-
children:
|
|
7646
|
-
className:
|
|
7638
|
+
animation: PropTypes.bool,
|
|
7639
|
+
autohide: PropTypes.bool,
|
|
7640
|
+
children: PropTypes.node,
|
|
7641
|
+
className: PropTypes.string,
|
|
7647
7642
|
color: colorPropType,
|
|
7648
|
-
delay:
|
|
7649
|
-
index:
|
|
7650
|
-
key:
|
|
7651
|
-
onClose:
|
|
7652
|
-
onShow:
|
|
7653
|
-
visible:
|
|
7643
|
+
delay: PropTypes.number,
|
|
7644
|
+
index: PropTypes.number,
|
|
7645
|
+
key: PropTypes.number,
|
|
7646
|
+
onClose: PropTypes.func,
|
|
7647
|
+
onShow: PropTypes.func,
|
|
7648
|
+
visible: PropTypes.bool,
|
|
7654
7649
|
};
|
|
7655
7650
|
CToast.displayName = 'CToast';
|
|
7656
7651
|
|
|
@@ -7659,8 +7654,8 @@ var CToastBody = forwardRef(function (_a, ref) {
|
|
|
7659
7654
|
return (React__default.createElement("div", __assign({ className: classNames('toast-body', className) }, rest, { ref: ref }), children));
|
|
7660
7655
|
});
|
|
7661
7656
|
CToastBody.propTypes = {
|
|
7662
|
-
children:
|
|
7663
|
-
className:
|
|
7657
|
+
children: PropTypes.node,
|
|
7658
|
+
className: PropTypes.string,
|
|
7664
7659
|
};
|
|
7665
7660
|
CToastBody.displayName = 'CToastBody';
|
|
7666
7661
|
|
|
@@ -7669,7 +7664,7 @@ var CToastClose = forwardRef(function (_a, ref) {
|
|
|
7669
7664
|
var setVisible = useContext(CToastContext).setVisible;
|
|
7670
7665
|
return Component ? (React__default.createElement(Component, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }), children)) : (React__default.createElement(CCloseButton, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref })));
|
|
7671
7666
|
});
|
|
7672
|
-
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component:
|
|
7667
|
+
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: PropTypes.elementType });
|
|
7673
7668
|
CToastClose.displayName = 'CToastClose';
|
|
7674
7669
|
|
|
7675
7670
|
var CToastHeader = forwardRef(function (_a, ref) {
|
|
@@ -7679,9 +7674,9 @@ var CToastHeader = forwardRef(function (_a, ref) {
|
|
|
7679
7674
|
closeButton && React__default.createElement(CToastClose, null)));
|
|
7680
7675
|
});
|
|
7681
7676
|
CToastHeader.propTypes = {
|
|
7682
|
-
children:
|
|
7683
|
-
className:
|
|
7684
|
-
closeButton:
|
|
7677
|
+
children: PropTypes.node,
|
|
7678
|
+
className: PropTypes.string,
|
|
7679
|
+
closeButton: PropTypes.bool,
|
|
7685
7680
|
};
|
|
7686
7681
|
CToastHeader.displayName = 'CToastHeader';
|
|
7687
7682
|
|
|
@@ -7717,11 +7712,11 @@ var CToaster = forwardRef(function (_a, ref) {
|
|
|
7717
7712
|
toasts.map(function (toast) { return React__default.cloneElement(toast, { visible: true }); }))) : null));
|
|
7718
7713
|
});
|
|
7719
7714
|
CToaster.propTypes = {
|
|
7720
|
-
children:
|
|
7721
|
-
className:
|
|
7722
|
-
placement:
|
|
7723
|
-
|
|
7724
|
-
|
|
7715
|
+
children: PropTypes.node,
|
|
7716
|
+
className: PropTypes.string,
|
|
7717
|
+
placement: PropTypes.oneOfType([
|
|
7718
|
+
PropTypes.string,
|
|
7719
|
+
PropTypes.oneOf([
|
|
7725
7720
|
'top-start',
|
|
7726
7721
|
'top-center',
|
|
7727
7722
|
'top-end',
|
|
@@ -7733,7 +7728,7 @@ CToaster.propTypes = {
|
|
|
7733
7728
|
'bottom-end',
|
|
7734
7729
|
]),
|
|
7735
7730
|
]),
|
|
7736
|
-
push:
|
|
7731
|
+
push: PropTypes.any,
|
|
7737
7732
|
};
|
|
7738
7733
|
CToaster.displayName = 'CToaster';
|
|
7739
7734
|
|
|
@@ -7780,14 +7775,14 @@ var CTooltip = function (_a) {
|
|
|
7780
7775
|
React__default.createElement("div", { className: "tooltip-inner" }, content))); }), document.body)));
|
|
7781
7776
|
};
|
|
7782
7777
|
CTooltip.propTypes = {
|
|
7783
|
-
children:
|
|
7784
|
-
content:
|
|
7785
|
-
offset:
|
|
7786
|
-
onHide:
|
|
7787
|
-
onShow:
|
|
7788
|
-
placement:
|
|
7778
|
+
children: PropTypes.node,
|
|
7779
|
+
content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7780
|
+
offset: PropTypes.any,
|
|
7781
|
+
onHide: PropTypes.func,
|
|
7782
|
+
onShow: PropTypes.func,
|
|
7783
|
+
placement: PropTypes.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
|
|
7789
7784
|
trigger: triggerPropType,
|
|
7790
|
-
visible:
|
|
7785
|
+
visible: PropTypes.bool,
|
|
7791
7786
|
};
|
|
7792
7787
|
CTooltip.displayName = 'CTooltip';
|
|
7793
7788
|
|
|
@@ -7803,12 +7798,12 @@ var CWidgetStatsA = forwardRef(function (_a, ref) {
|
|
|
7803
7798
|
chart));
|
|
7804
7799
|
});
|
|
7805
7800
|
CWidgetStatsA.propTypes = {
|
|
7806
|
-
action:
|
|
7807
|
-
chart:
|
|
7808
|
-
className:
|
|
7801
|
+
action: PropTypes.node,
|
|
7802
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7803
|
+
className: PropTypes.string,
|
|
7809
7804
|
color: colorPropType,
|
|
7810
|
-
title:
|
|
7811
|
-
value:
|
|
7805
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7806
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7812
7807
|
};
|
|
7813
7808
|
CWidgetStatsA.displayName = 'CWidgetStatsA';
|
|
7814
7809
|
|
|
@@ -7822,13 +7817,13 @@ var CWidgetStatsB = forwardRef(function (_a, ref) {
|
|
|
7822
7817
|
text && (React__default.createElement("small", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text)))));
|
|
7823
7818
|
});
|
|
7824
7819
|
CWidgetStatsB.propTypes = {
|
|
7825
|
-
className:
|
|
7820
|
+
className: PropTypes.string,
|
|
7826
7821
|
color: colorPropType,
|
|
7827
|
-
inverse:
|
|
7828
|
-
progress:
|
|
7829
|
-
text:
|
|
7830
|
-
title:
|
|
7831
|
-
value:
|
|
7822
|
+
inverse: PropTypes.bool,
|
|
7823
|
+
progress: PropTypes.object,
|
|
7824
|
+
text: PropTypes.string,
|
|
7825
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7826
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7832
7827
|
};
|
|
7833
7828
|
CWidgetStatsB.displayName = 'CWidgetCWidgetStatsB';
|
|
7834
7829
|
|
|
@@ -7842,13 +7837,13 @@ var CWidgetStatsC = forwardRef(function (_a, ref) {
|
|
|
7842
7837
|
React__default.createElement(CProgress, __assign({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
|
|
7843
7838
|
});
|
|
7844
7839
|
CWidgetStatsC.propTypes = {
|
|
7845
|
-
className:
|
|
7840
|
+
className: PropTypes.string,
|
|
7846
7841
|
color: colorPropType,
|
|
7847
|
-
icon:
|
|
7848
|
-
inverse:
|
|
7849
|
-
progress:
|
|
7850
|
-
title:
|
|
7851
|
-
value:
|
|
7842
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7843
|
+
inverse: PropTypes.bool,
|
|
7844
|
+
progress: PropTypes.object,
|
|
7845
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7846
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7852
7847
|
};
|
|
7853
7848
|
CWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC';
|
|
7854
7849
|
|
|
@@ -7871,11 +7866,11 @@ var CWidgetStatsD = forwardRef(function (_a, ref) {
|
|
|
7871
7866
|
}))));
|
|
7872
7867
|
});
|
|
7873
7868
|
CWidgetStatsD.propTypes = {
|
|
7874
|
-
chart:
|
|
7875
|
-
className:
|
|
7869
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7870
|
+
className: PropTypes.string,
|
|
7876
7871
|
color: colorPropType,
|
|
7877
|
-
icon:
|
|
7878
|
-
values:
|
|
7872
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7873
|
+
values: PropTypes.arrayOf(PropTypes.any),
|
|
7879
7874
|
};
|
|
7880
7875
|
CWidgetStatsD.displayName = 'CWidgetStatsD';
|
|
7881
7876
|
|
|
@@ -7888,11 +7883,11 @@ var CWidgetStatsE = forwardRef(function (_a, ref) {
|
|
|
7888
7883
|
chart)));
|
|
7889
7884
|
});
|
|
7890
7885
|
CWidgetStatsE.propTypes = {
|
|
7891
|
-
children:
|
|
7892
|
-
chart:
|
|
7893
|
-
className:
|
|
7894
|
-
title:
|
|
7895
|
-
value:
|
|
7886
|
+
children: PropTypes.node,
|
|
7887
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7888
|
+
className: PropTypes.string,
|
|
7889
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7890
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7896
7891
|
};
|
|
7897
7892
|
CWidgetStatsE.displayName = 'CWidgetStatsE';
|
|
7898
7893
|
|
|
@@ -7907,15 +7902,15 @@ var CWidgetStatsF = forwardRef(function (_a, ref) {
|
|
|
7907
7902
|
footer && React__default.createElement(CCardFooter, null, footer)));
|
|
7908
7903
|
});
|
|
7909
7904
|
CWidgetStatsF.propTypes = {
|
|
7910
|
-
className:
|
|
7905
|
+
className: PropTypes.string,
|
|
7911
7906
|
color: colorPropType,
|
|
7912
|
-
footer:
|
|
7913
|
-
icon:
|
|
7914
|
-
padding:
|
|
7915
|
-
title:
|
|
7916
|
-
value:
|
|
7907
|
+
footer: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7908
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7909
|
+
padding: PropTypes.bool,
|
|
7910
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7911
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7917
7912
|
};
|
|
7918
7913
|
CWidgetStatsF.displayName = 'CWidgetStatsF';
|
|
7919
7914
|
|
|
7920
|
-
export { CAccordion, CAccordionBody, CAccordionButton,
|
|
7915
|
+
export { CAccordion, CAccordionBody, CAccordionButton, CAccordionHeader, CAccordionItem, CAlert, CAlertHeading, CAlertLink, CAvatar, CBackdrop, CBadge, CBreadcrumb, CBreadcrumbItem, CButton, CButtonGroup, CButtonToolbar, CCallout, CCard, CCardBody, CCardFooter, CCardGroup, CCardHeader, CCardImage, CCardImageOverlay, CCardLink, CCardSubtitle, CCardText, CCardTitle, CCarousel, CCarouselCaption, CCarouselItem, CCloseButton, CCol, CCollapse, CConditionalPortal, CContainer, CDropdown, CDropdownDivider, CDropdownHeader, CDropdownItem, CDropdownItemPlain, CDropdownMenu, CDropdownToggle, CFooter, CForm, CFormCheck, CFormControlValidation, CFormControlWrapper, CFormFeedback, CFormFloating, CFormInput, CFormLabel, CFormRange, CFormSelect, CFormSwitch, CFormText, CFormTextarea, CHeader, CHeaderBrand, CHeaderDivider, CHeaderNav, CHeaderText, CHeaderToggler, CImage, CInputGroup, CInputGroupText, CLink, CListGroup, CListGroupItem, CModal, CModalBody, CModalContent, CModalDialog, CModalFooter, CModalHeader, CModalTitle, CNav, CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle, CNavbar, CNavbarBrand, CNavbarNav, CNavbarText, CNavbarToggler, COffcanvas, COffcanvasBody, COffcanvasHeader, COffcanvasTitle, CPagination, CPaginationItem, CPlaceholder, CPopover, CProgress, CProgressBar, CRow, CSidebar, CSidebarBrand, CSidebarFooter, CSidebarHeader, CSidebarNav, CSidebarToggler, CSpinner, CTabContent, CTabPane, CTable, CTableBody, CTableCaption, CTableDataCell, CTableFoot, CTableHead, CTableHeaderCell, CTableRow, CToast, CToastBody, CToastClose, CToastHeader, CToaster, CTooltip, CWidgetStatsA, CWidgetStatsB, CWidgetStatsC, CWidgetStatsD, CWidgetStatsE, CWidgetStatsF };
|
|
7921
7916
|
//# sourceMappingURL=index.es.js.map
|