@coreui/react 4.8.0 → 4.9.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/popover/CPopover.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +1 -1
- package/dist/index.es.js +619 -619
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +619 -619
- package/dist/index.js.map +1 -1
- package/package.json +11 -10
- package/src/components/form/CFormCheck.tsx +1 -1
- package/src/components/popover/CPopover.tsx +1 -1
- package/src/components/tooltip/CTooltip.tsx +1 -1
package/dist/index.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,8 +2597,8 @@ 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
|
|
|
@@ -2611,8 +2608,8 @@ var CAccordionHeader = forwardRef(function (_a, ref) {
|
|
|
2611
2608
|
React__default.createElement(CAccordionButton, null, children)));
|
|
2612
2609
|
});
|
|
2613
2610
|
CAccordionHeader.propTypes = {
|
|
2614
|
-
children:
|
|
2615
|
-
className:
|
|
2611
|
+
children: PropTypes.node,
|
|
2612
|
+
className: PropTypes.string,
|
|
2616
2613
|
};
|
|
2617
2614
|
CAccordionHeader.displayName = 'CAccordionHeader';
|
|
2618
2615
|
|
|
@@ -2623,14 +2620,14 @@ var CCloseButton = forwardRef(function (_a, ref) {
|
|
|
2623
2620
|
}, disabled, className), "aria-label": "Close", disabled: disabled }, rest, { ref: ref })));
|
|
2624
2621
|
});
|
|
2625
2622
|
CCloseButton.propTypes = {
|
|
2626
|
-
className:
|
|
2627
|
-
disabled:
|
|
2628
|
-
white:
|
|
2623
|
+
className: PropTypes.string,
|
|
2624
|
+
disabled: PropTypes.bool,
|
|
2625
|
+
white: PropTypes.bool,
|
|
2629
2626
|
};
|
|
2630
2627
|
CCloseButton.displayName = 'CCloseButton';
|
|
2631
2628
|
|
|
2632
|
-
var colorPropType =
|
|
2633
|
-
|
|
2629
|
+
var colorPropType = PropTypes.oneOfType([
|
|
2630
|
+
PropTypes.oneOf([
|
|
2634
2631
|
'primary',
|
|
2635
2632
|
'secondary',
|
|
2636
2633
|
'success',
|
|
@@ -2640,9 +2637,9 @@ var colorPropType = propTypesExports.oneOfType([
|
|
|
2640
2637
|
'dark',
|
|
2641
2638
|
'light',
|
|
2642
2639
|
]),
|
|
2643
|
-
|
|
2640
|
+
PropTypes.string,
|
|
2644
2641
|
]);
|
|
2645
|
-
var placementPropType =
|
|
2642
|
+
var placementPropType = PropTypes.oneOf([
|
|
2646
2643
|
'auto',
|
|
2647
2644
|
'auto-start',
|
|
2648
2645
|
'auto-end',
|
|
@@ -2659,8 +2656,8 @@ var placementPropType = propTypesExports.oneOf([
|
|
|
2659
2656
|
'left',
|
|
2660
2657
|
'left-end',
|
|
2661
2658
|
]);
|
|
2662
|
-
var shapePropType =
|
|
2663
|
-
|
|
2659
|
+
var shapePropType = PropTypes.oneOfType([
|
|
2660
|
+
PropTypes.oneOf([
|
|
2664
2661
|
'rounded',
|
|
2665
2662
|
'rounded-top',
|
|
2666
2663
|
'rounded-end',
|
|
@@ -2673,14 +2670,14 @@ var shapePropType = propTypesExports.oneOfType([
|
|
|
2673
2670
|
'rounded-2',
|
|
2674
2671
|
'rounded-3',
|
|
2675
2672
|
]),
|
|
2676
|
-
|
|
2673
|
+
PropTypes.string,
|
|
2677
2674
|
]);
|
|
2678
|
-
var textColorsPropType =
|
|
2675
|
+
var textColorsPropType = PropTypes.oneOfType([
|
|
2679
2676
|
colorPropType,
|
|
2680
|
-
|
|
2681
|
-
|
|
2677
|
+
PropTypes.oneOf(['white', 'muted']),
|
|
2678
|
+
PropTypes.string,
|
|
2682
2679
|
]);
|
|
2683
|
-
var triggerPropType =
|
|
2680
|
+
var triggerPropType = PropTypes.oneOf(['hover', 'focus', 'click']);
|
|
2684
2681
|
|
|
2685
2682
|
var CAlert = forwardRef(function (_a, ref) {
|
|
2686
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"]);
|
|
@@ -2698,13 +2695,13 @@ var CAlert = forwardRef(function (_a, ref) {
|
|
|
2698
2695
|
dismissible && React__default.createElement(CCloseButton, { onClick: function () { return setVisible(false); } }))); }));
|
|
2699
2696
|
});
|
|
2700
2697
|
CAlert.propTypes = {
|
|
2701
|
-
children:
|
|
2702
|
-
className:
|
|
2698
|
+
children: PropTypes.node,
|
|
2699
|
+
className: PropTypes.string,
|
|
2703
2700
|
color: colorPropType.isRequired,
|
|
2704
|
-
dismissible:
|
|
2705
|
-
onClose:
|
|
2706
|
-
variant:
|
|
2707
|
-
visible:
|
|
2701
|
+
dismissible: PropTypes.bool,
|
|
2702
|
+
onClose: PropTypes.func,
|
|
2703
|
+
variant: PropTypes.string,
|
|
2704
|
+
visible: PropTypes.bool,
|
|
2708
2705
|
};
|
|
2709
2706
|
CAlert.displayName = 'CAlert';
|
|
2710
2707
|
|
|
@@ -2713,9 +2710,9 @@ var CAlertHeading = forwardRef(function (_a, ref) {
|
|
|
2713
2710
|
return (React__default.createElement(Component, __assign({ className: classNames('alert-heading', className) }, rest, { ref: ref }), children));
|
|
2714
2711
|
});
|
|
2715
2712
|
CAlertHeading.propTypes = {
|
|
2716
|
-
children:
|
|
2717
|
-
className:
|
|
2718
|
-
component:
|
|
2713
|
+
children: PropTypes.node,
|
|
2714
|
+
className: PropTypes.string,
|
|
2715
|
+
component: PropTypes.elementType,
|
|
2719
2716
|
};
|
|
2720
2717
|
CAlertHeading.displayName = 'CAlertHeading';
|
|
2721
2718
|
|
|
@@ -2733,11 +2730,11 @@ var CLink = forwardRef(function (_a, ref) {
|
|
|
2733
2730
|
}), { disabled: disabled }, rest, { ref: ref }), children));
|
|
2734
2731
|
});
|
|
2735
2732
|
CLink.propTypes = {
|
|
2736
|
-
active:
|
|
2737
|
-
children:
|
|
2738
|
-
className:
|
|
2739
|
-
component:
|
|
2740
|
-
disabled:
|
|
2733
|
+
active: PropTypes.bool,
|
|
2734
|
+
children: PropTypes.node,
|
|
2735
|
+
className: PropTypes.string,
|
|
2736
|
+
component: PropTypes.elementType,
|
|
2737
|
+
disabled: PropTypes.bool,
|
|
2741
2738
|
};
|
|
2742
2739
|
CLink.displayName = 'CLink';
|
|
2743
2740
|
|
|
@@ -2746,8 +2743,8 @@ var CAlertLink = forwardRef(function (_a, ref) {
|
|
|
2746
2743
|
return (React__default.createElement(CLink, __assign({ className: classNames('alert-link', className) }, rest, { ref: ref }), children));
|
|
2747
2744
|
});
|
|
2748
2745
|
CAlertLink.propTypes = {
|
|
2749
|
-
children:
|
|
2750
|
-
className:
|
|
2746
|
+
children: PropTypes.node,
|
|
2747
|
+
className: PropTypes.string,
|
|
2751
2748
|
};
|
|
2752
2749
|
CAlertLink.displayName = 'CAlertLink';
|
|
2753
2750
|
|
|
@@ -2764,13 +2761,13 @@ var CAvatar = forwardRef(function (_a, ref) {
|
|
|
2764
2761
|
status && React__default.createElement("span", { className: statusClassName })));
|
|
2765
2762
|
});
|
|
2766
2763
|
CAvatar.propTypes = {
|
|
2767
|
-
children:
|
|
2768
|
-
className:
|
|
2764
|
+
children: PropTypes.node,
|
|
2765
|
+
className: PropTypes.string,
|
|
2769
2766
|
color: colorPropType,
|
|
2770
2767
|
shape: shapePropType,
|
|
2771
|
-
size:
|
|
2772
|
-
src:
|
|
2773
|
-
status:
|
|
2768
|
+
size: PropTypes.string,
|
|
2769
|
+
src: PropTypes.string,
|
|
2770
|
+
status: PropTypes.string,
|
|
2774
2771
|
textColor: textColorsPropType,
|
|
2775
2772
|
};
|
|
2776
2773
|
CAvatar.displayName = 'CAvatar';
|
|
@@ -2784,8 +2781,8 @@ var CBackdrop = forwardRef(function (_a, ref) {
|
|
|
2784
2781
|
}) }, rest, { ref: forkedRef }))); }));
|
|
2785
2782
|
});
|
|
2786
2783
|
CBackdrop.propTypes = {
|
|
2787
|
-
className:
|
|
2788
|
-
visible:
|
|
2784
|
+
className: PropTypes.string,
|
|
2785
|
+
visible: PropTypes.bool,
|
|
2789
2786
|
};
|
|
2790
2787
|
CBackdrop.displayName = 'CBackdrop';
|
|
2791
2788
|
|
|
@@ -2804,13 +2801,13 @@ var CBadge = forwardRef(function (_a, ref) {
|
|
|
2804
2801
|
_b), shape, className) }, rest, { ref: ref }), children));
|
|
2805
2802
|
});
|
|
2806
2803
|
CBadge.propTypes = {
|
|
2807
|
-
children:
|
|
2808
|
-
className:
|
|
2804
|
+
children: PropTypes.node,
|
|
2805
|
+
className: PropTypes.string,
|
|
2809
2806
|
color: colorPropType,
|
|
2810
|
-
component:
|
|
2811
|
-
position:
|
|
2807
|
+
component: PropTypes.string,
|
|
2808
|
+
position: PropTypes.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
|
|
2812
2809
|
shape: shapePropType,
|
|
2813
|
-
size:
|
|
2810
|
+
size: PropTypes.oneOf(['sm']),
|
|
2814
2811
|
textColor: textColorsPropType,
|
|
2815
2812
|
};
|
|
2816
2813
|
CBadge.displayName = 'CBadge';
|
|
@@ -2821,8 +2818,8 @@ var CBreadcrumb = forwardRef(function (_a, ref) {
|
|
|
2821
2818
|
React__default.createElement("ol", __assign({ className: classNames('breadcrumb', className) }, rest, { ref: ref }), children)));
|
|
2822
2819
|
});
|
|
2823
2820
|
CBreadcrumb.propTypes = {
|
|
2824
|
-
children:
|
|
2825
|
-
className:
|
|
2821
|
+
children: PropTypes.node,
|
|
2822
|
+
className: PropTypes.string,
|
|
2826
2823
|
};
|
|
2827
2824
|
CBreadcrumb.displayName = 'CBreadcrumb';
|
|
2828
2825
|
|
|
@@ -2833,10 +2830,10 @@ var CBreadcrumbItem = forwardRef(function (_a, ref) {
|
|
|
2833
2830
|
}, className) }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React__default.createElement(CLink, { href: href }, children) : children));
|
|
2834
2831
|
});
|
|
2835
2832
|
CBreadcrumbItem.propTypes = {
|
|
2836
|
-
active:
|
|
2837
|
-
children:
|
|
2838
|
-
className:
|
|
2839
|
-
href:
|
|
2833
|
+
active: PropTypes.bool,
|
|
2834
|
+
children: PropTypes.node,
|
|
2835
|
+
className: PropTypes.string,
|
|
2836
|
+
href: PropTypes.string,
|
|
2840
2837
|
};
|
|
2841
2838
|
CBreadcrumbItem.displayName = 'CBreadcrumbItem';
|
|
2842
2839
|
|
|
@@ -2846,14 +2843,14 @@ var CButton = forwardRef(function (_a, ref) {
|
|
|
2846
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));
|
|
2847
2844
|
});
|
|
2848
2845
|
CButton.propTypes = {
|
|
2849
|
-
children:
|
|
2850
|
-
className:
|
|
2846
|
+
children: PropTypes.node,
|
|
2847
|
+
className: PropTypes.string,
|
|
2851
2848
|
color: colorPropType,
|
|
2852
|
-
component:
|
|
2853
|
-
shape:
|
|
2854
|
-
size:
|
|
2855
|
-
type:
|
|
2856
|
-
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']),
|
|
2857
2854
|
};
|
|
2858
2855
|
CButton.displayName = 'CButton';
|
|
2859
2856
|
|
|
@@ -2862,8 +2859,8 @@ var CButtonToolbar = forwardRef(function (_a, ref) {
|
|
|
2862
2859
|
return (React__default.createElement("div", __assign({ className: classNames('btn-toolbar', className) }, rest, { ref: ref }), children));
|
|
2863
2860
|
});
|
|
2864
2861
|
CButtonToolbar.propTypes = {
|
|
2865
|
-
children:
|
|
2866
|
-
className:
|
|
2862
|
+
children: PropTypes.node,
|
|
2863
|
+
className: PropTypes.string,
|
|
2867
2864
|
};
|
|
2868
2865
|
CButtonToolbar.displayName = 'CButtonToolbar';
|
|
2869
2866
|
|
|
@@ -2873,10 +2870,10 @@ var CButtonGroup = forwardRef(function (_a, ref) {
|
|
|
2873
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));
|
|
2874
2871
|
});
|
|
2875
2872
|
CButtonGroup.propTypes = {
|
|
2876
|
-
children:
|
|
2877
|
-
className:
|
|
2878
|
-
size:
|
|
2879
|
-
vertical:
|
|
2873
|
+
children: PropTypes.node,
|
|
2874
|
+
className: PropTypes.string,
|
|
2875
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
2876
|
+
vertical: PropTypes.bool,
|
|
2880
2877
|
};
|
|
2881
2878
|
CButtonGroup.displayName = 'CButtonGroup';
|
|
2882
2879
|
|
|
@@ -2888,8 +2885,8 @@ var CCallout = forwardRef(function (_a, ref) {
|
|
|
2888
2885
|
_b), className) }, rest, { ref: ref }), children));
|
|
2889
2886
|
});
|
|
2890
2887
|
CCallout.propTypes = {
|
|
2891
|
-
children:
|
|
2892
|
-
className:
|
|
2888
|
+
children: PropTypes.node,
|
|
2889
|
+
className: PropTypes.string,
|
|
2893
2890
|
color: colorPropType,
|
|
2894
2891
|
};
|
|
2895
2892
|
CCallout.displayName = 'CCallout';
|
|
@@ -2903,10 +2900,10 @@ var CCard = forwardRef(function (_a, ref) {
|
|
|
2903
2900
|
_b), className) }, rest, { ref: ref }), children));
|
|
2904
2901
|
});
|
|
2905
2902
|
CCard.propTypes = {
|
|
2906
|
-
children:
|
|
2907
|
-
className:
|
|
2903
|
+
children: PropTypes.node,
|
|
2904
|
+
className: PropTypes.string,
|
|
2908
2905
|
color: colorPropType,
|
|
2909
|
-
textColor:
|
|
2906
|
+
textColor: PropTypes.string,
|
|
2910
2907
|
};
|
|
2911
2908
|
CCard.displayName = 'CCard';
|
|
2912
2909
|
|
|
@@ -2915,8 +2912,8 @@ var CCardBody = forwardRef(function (_a, ref) {
|
|
|
2915
2912
|
return (React__default.createElement("div", __assign({ className: classNames('card-body', className) }, rest, { ref: ref }), children));
|
|
2916
2913
|
});
|
|
2917
2914
|
CCardBody.propTypes = {
|
|
2918
|
-
children:
|
|
2919
|
-
className:
|
|
2915
|
+
children: PropTypes.node,
|
|
2916
|
+
className: PropTypes.string,
|
|
2920
2917
|
};
|
|
2921
2918
|
CCardBody.displayName = 'CCardBody';
|
|
2922
2919
|
|
|
@@ -2925,8 +2922,8 @@ var CCardFooter = forwardRef(function (_a, ref) {
|
|
|
2925
2922
|
return (React__default.createElement("div", __assign({ className: classNames('card-footer', className) }, rest, { ref: ref }), children));
|
|
2926
2923
|
});
|
|
2927
2924
|
CCardFooter.propTypes = {
|
|
2928
|
-
children:
|
|
2929
|
-
className:
|
|
2925
|
+
children: PropTypes.node,
|
|
2926
|
+
className: PropTypes.string,
|
|
2930
2927
|
};
|
|
2931
2928
|
CCardFooter.displayName = 'CCardFooter';
|
|
2932
2929
|
|
|
@@ -2935,8 +2932,8 @@ var CCardGroup = forwardRef(function (_a, ref) {
|
|
|
2935
2932
|
return (React__default.createElement("div", __assign({ className: classNames('card-group', className) }, rest, { ref: ref }), children));
|
|
2936
2933
|
});
|
|
2937
2934
|
CCardGroup.propTypes = {
|
|
2938
|
-
children:
|
|
2939
|
-
className:
|
|
2935
|
+
children: PropTypes.node,
|
|
2936
|
+
className: PropTypes.string,
|
|
2940
2937
|
};
|
|
2941
2938
|
CCardGroup.displayName = 'CCardGroup';
|
|
2942
2939
|
|
|
@@ -2945,9 +2942,9 @@ var CCardHeader = forwardRef(function (_a, ref) {
|
|
|
2945
2942
|
return (React__default.createElement(Component, __assign({ className: classNames('card-header', className) }, rest, { ref: ref }), children));
|
|
2946
2943
|
});
|
|
2947
2944
|
CCardHeader.propTypes = {
|
|
2948
|
-
children:
|
|
2949
|
-
className:
|
|
2950
|
-
component:
|
|
2945
|
+
children: PropTypes.node,
|
|
2946
|
+
className: PropTypes.string,
|
|
2947
|
+
component: PropTypes.elementType,
|
|
2951
2948
|
};
|
|
2952
2949
|
CCardHeader.displayName = 'CCardHeader';
|
|
2953
2950
|
|
|
@@ -2956,10 +2953,10 @@ var CCardImage = forwardRef(function (_a, ref) {
|
|
|
2956
2953
|
return (React__default.createElement(Component, __assign({ className: classNames(orientation ? "card-img-".concat(orientation) : 'card-img', className) }, rest, { ref: ref }), children));
|
|
2957
2954
|
});
|
|
2958
2955
|
CCardImage.propTypes = {
|
|
2959
|
-
children:
|
|
2960
|
-
className:
|
|
2961
|
-
component:
|
|
2962
|
-
orientation:
|
|
2956
|
+
children: PropTypes.node,
|
|
2957
|
+
className: PropTypes.string,
|
|
2958
|
+
component: PropTypes.elementType,
|
|
2959
|
+
orientation: PropTypes.oneOf(['top', 'bottom']),
|
|
2963
2960
|
};
|
|
2964
2961
|
CCardImage.displayName = 'CCardImage';
|
|
2965
2962
|
|
|
@@ -2968,8 +2965,8 @@ var CCardImageOverlay = forwardRef(function (_a, ref) {
|
|
|
2968
2965
|
return (React__default.createElement("div", __assign({ className: classNames('card-img-overlay', className) }, rest, { ref: ref }), children));
|
|
2969
2966
|
});
|
|
2970
2967
|
CCardImageOverlay.propTypes = {
|
|
2971
|
-
children:
|
|
2972
|
-
className:
|
|
2968
|
+
children: PropTypes.node,
|
|
2969
|
+
className: PropTypes.string,
|
|
2973
2970
|
};
|
|
2974
2971
|
CCardImageOverlay.displayName = 'CCardImageOverlay';
|
|
2975
2972
|
|
|
@@ -2978,8 +2975,8 @@ var CCardLink = forwardRef(function (_a, ref) {
|
|
|
2978
2975
|
return (React__default.createElement(CLink, __assign({ className: classNames('card-link', className) }, rest, { ref: ref }), children));
|
|
2979
2976
|
});
|
|
2980
2977
|
CCardLink.propTypes = {
|
|
2981
|
-
children:
|
|
2982
|
-
className:
|
|
2978
|
+
children: PropTypes.node,
|
|
2979
|
+
className: PropTypes.string,
|
|
2983
2980
|
};
|
|
2984
2981
|
CCardLink.displayName = 'CCardLink';
|
|
2985
2982
|
|
|
@@ -2988,9 +2985,9 @@ var CCardSubtitle = forwardRef(function (_a, ref) {
|
|
|
2988
2985
|
return (React__default.createElement(Component, __assign({ className: classNames('card-subtitle', className) }, rest, { ref: ref }), children));
|
|
2989
2986
|
});
|
|
2990
2987
|
CCardSubtitle.propTypes = {
|
|
2991
|
-
children:
|
|
2992
|
-
className:
|
|
2993
|
-
component:
|
|
2988
|
+
children: PropTypes.node,
|
|
2989
|
+
className: PropTypes.string,
|
|
2990
|
+
component: PropTypes.elementType,
|
|
2994
2991
|
};
|
|
2995
2992
|
CCardSubtitle.displayName = 'CCardSubtitle';
|
|
2996
2993
|
|
|
@@ -2999,9 +2996,9 @@ var CCardText = forwardRef(function (_a, ref) {
|
|
|
2999
2996
|
return (React__default.createElement(Component, __assign({ className: classNames('card-text', className) }, rest, { ref: ref }), children));
|
|
3000
2997
|
});
|
|
3001
2998
|
CCardText.propTypes = {
|
|
3002
|
-
children:
|
|
3003
|
-
className:
|
|
3004
|
-
component:
|
|
2999
|
+
children: PropTypes.node,
|
|
3000
|
+
className: PropTypes.string,
|
|
3001
|
+
component: PropTypes.elementType,
|
|
3005
3002
|
};
|
|
3006
3003
|
CCardText.displayName = 'CCardText';
|
|
3007
3004
|
|
|
@@ -3010,9 +3007,9 @@ var CCardTitle = forwardRef(function (_a, ref) {
|
|
|
3010
3007
|
return (React__default.createElement(Component, __assign({ className: classNames('card-title', className) }, rest, { ref: ref }), children));
|
|
3011
3008
|
});
|
|
3012
3009
|
CCardTitle.propTypes = {
|
|
3013
|
-
children:
|
|
3014
|
-
className:
|
|
3015
|
-
component:
|
|
3010
|
+
children: PropTypes.node,
|
|
3011
|
+
className: PropTypes.string,
|
|
3012
|
+
component: PropTypes.elementType,
|
|
3016
3013
|
};
|
|
3017
3014
|
CCardTitle.displayName = 'CCardTitle';
|
|
3018
3015
|
|
|
@@ -3157,19 +3154,19 @@ var CCarousel = forwardRef(function (_a, ref) {
|
|
|
3157
3154
|
React__default.createElement("span", { className: "carousel-control-next-icon", "aria-label": "next" })))))));
|
|
3158
3155
|
});
|
|
3159
3156
|
CCarousel.propTypes = {
|
|
3160
|
-
activeIndex:
|
|
3161
|
-
children:
|
|
3162
|
-
className:
|
|
3163
|
-
controls:
|
|
3164
|
-
dark:
|
|
3165
|
-
indicators:
|
|
3166
|
-
interval:
|
|
3167
|
-
onSlid:
|
|
3168
|
-
onSlide:
|
|
3169
|
-
pause:
|
|
3170
|
-
touch:
|
|
3171
|
-
transition:
|
|
3172
|
-
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,
|
|
3173
3170
|
};
|
|
3174
3171
|
CCarousel.displayName = 'CCarousel';
|
|
3175
3172
|
|
|
@@ -3178,7 +3175,7 @@ var CCarouselCaption = forwardRef(function (_a, ref) {
|
|
|
3178
3175
|
return React__default.createElement("div", __assign({ className: classNames('carousel-caption', className) }, rest, { ref: ref }));
|
|
3179
3176
|
});
|
|
3180
3177
|
CCarouselCaption.propTypes = {
|
|
3181
|
-
className:
|
|
3178
|
+
className: PropTypes.string,
|
|
3182
3179
|
};
|
|
3183
3180
|
CCarouselCaption.displayName = 'CCarouselCaption';
|
|
3184
3181
|
|
|
@@ -3253,11 +3250,11 @@ var CCarouselItem = forwardRef(function (_a, ref) {
|
|
|
3253
3250
|
return (React__default.createElement("div", __assign({ className: classNames('carousel-item', activeClassName, directionClassName, orderClassName, className), ref: forkedRef }, rest), children));
|
|
3254
3251
|
});
|
|
3255
3252
|
CCarouselItem.propTypes = {
|
|
3256
|
-
active:
|
|
3257
|
-
children:
|
|
3258
|
-
className:
|
|
3259
|
-
direction:
|
|
3260
|
-
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]),
|
|
3261
3258
|
};
|
|
3262
3259
|
CCarouselItem.displayName = 'CCarouselItem';
|
|
3263
3260
|
|
|
@@ -3266,8 +3263,8 @@ var CConditionalPortal = function (_a) {
|
|
|
3266
3263
|
return typeof window !== 'undefined' && portal ? (createPortal(children, document.body)) : (React__default.createElement(React__default.Fragment, null, children));
|
|
3267
3264
|
};
|
|
3268
3265
|
CConditionalPortal.propTypes = {
|
|
3269
|
-
children:
|
|
3270
|
-
portal:
|
|
3266
|
+
children: PropTypes.node,
|
|
3267
|
+
portal: PropTypes.bool.isRequired,
|
|
3271
3268
|
};
|
|
3272
3269
|
CConditionalPortal.displayName = 'CConditionalPortal';
|
|
3273
3270
|
|
|
@@ -3513,7 +3510,7 @@ var round = Math.round;
|
|
|
3513
3510
|
function getUAString() {
|
|
3514
3511
|
var uaData = navigator.userAgentData;
|
|
3515
3512
|
|
|
3516
|
-
if (uaData != null && uaData.brands) {
|
|
3513
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
3517
3514
|
return uaData.brands.map(function (item) {
|
|
3518
3515
|
return item.brand + "/" + item.version;
|
|
3519
3516
|
}).join(' ');
|
|
@@ -3841,10 +3838,9 @@ var unsetSides = {
|
|
|
3841
3838
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
3842
3839
|
// cleanly divide the values into the appropriate subpixels.
|
|
3843
3840
|
|
|
3844
|
-
function roundOffsetsByDPR(_ref) {
|
|
3841
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
3845
3842
|
var x = _ref.x,
|
|
3846
3843
|
y = _ref.y;
|
|
3847
|
-
var win = window;
|
|
3848
3844
|
var dpr = win.devicePixelRatio || 1;
|
|
3849
3845
|
return {
|
|
3850
3846
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -3927,7 +3923,7 @@ function mapToStyles(_ref2) {
|
|
|
3927
3923
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3928
3924
|
x: x,
|
|
3929
3925
|
y: y
|
|
3930
|
-
}) : {
|
|
3926
|
+
}, getWindow(popper)) : {
|
|
3931
3927
|
x: x,
|
|
3932
3928
|
y: y
|
|
3933
3929
|
};
|
|
@@ -5464,6 +5460,8 @@ var reactFastCompare = function isEqual(a, b) {
|
|
|
5464
5460
|
}
|
|
5465
5461
|
};
|
|
5466
5462
|
|
|
5463
|
+
var isEqual = /*@__PURE__*/getDefaultExportFromCjs(reactFastCompare);
|
|
5464
|
+
|
|
5467
5465
|
var EMPTY_MODIFIERS$1 = [];
|
|
5468
5466
|
var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
5469
5467
|
if (options === void 0) {
|
|
@@ -5527,7 +5525,7 @@ var usePopper = function usePopper(referenceElement, popperElement, options) {
|
|
|
5527
5525
|
}])
|
|
5528
5526
|
};
|
|
5529
5527
|
|
|
5530
|
-
if (
|
|
5528
|
+
if (isEqual(prevOptions.current, newOptions)) {
|
|
5531
5529
|
return prevOptions.current || newOptions;
|
|
5532
5530
|
} else {
|
|
5533
5531
|
prevOptions.current = newOptions;
|
|
@@ -5695,6 +5693,8 @@ if (__DEV__) {
|
|
|
5695
5693
|
|
|
5696
5694
|
var warning_1 = warning;
|
|
5697
5695
|
|
|
5696
|
+
var warning$1 = /*@__PURE__*/getDefaultExportFromCjs(warning_1);
|
|
5697
|
+
|
|
5698
5698
|
function Reference(_ref) {
|
|
5699
5699
|
var children = _ref.children,
|
|
5700
5700
|
innerRef = _ref.innerRef;
|
|
@@ -5711,7 +5711,7 @@ function Reference(_ref) {
|
|
|
5711
5711
|
};
|
|
5712
5712
|
}, []);
|
|
5713
5713
|
React.useEffect(function () {
|
|
5714
|
-
|
|
5714
|
+
warning$1(Boolean(setReferenceNode), '`Reference` should not be used outside of a `Manager` component.');
|
|
5715
5715
|
}, [setReferenceNode]);
|
|
5716
5716
|
return unwrapArray(children)({
|
|
5717
5717
|
ref: refHandler
|
|
@@ -5764,34 +5764,34 @@ var CDropdown = forwardRef(function (_a, ref) {
|
|
|
5764
5764
|
_b.show = _visible,
|
|
5765
5765
|
_b), className) }, rest, { ref: forkedRef }), children)))));
|
|
5766
5766
|
});
|
|
5767
|
-
var alignmentDirection =
|
|
5767
|
+
var alignmentDirection = PropTypes.oneOf(['start', 'end']);
|
|
5768
5768
|
CDropdown.propTypes = {
|
|
5769
5769
|
// @ts-expect-error TODO: we have to find a solution
|
|
5770
|
-
alignment:
|
|
5770
|
+
alignment: PropTypes.oneOfType([
|
|
5771
5771
|
alignmentDirection,
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
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 }),
|
|
5778
5778
|
]),
|
|
5779
|
-
autoClose:
|
|
5780
|
-
|
|
5781
|
-
|
|
5779
|
+
autoClose: PropTypes.oneOfType([
|
|
5780
|
+
PropTypes.bool,
|
|
5781
|
+
PropTypes.oneOf(['inside', 'outside']),
|
|
5782
5782
|
]),
|
|
5783
|
-
children:
|
|
5784
|
-
className:
|
|
5785
|
-
component:
|
|
5786
|
-
dark:
|
|
5787
|
-
direction:
|
|
5788
|
-
onHide:
|
|
5789
|
-
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,
|
|
5790
5790
|
placement: placementPropType,
|
|
5791
|
-
popper:
|
|
5792
|
-
portal:
|
|
5793
|
-
variant:
|
|
5794
|
-
visible:
|
|
5791
|
+
popper: PropTypes.bool,
|
|
5792
|
+
portal: PropTypes.bool,
|
|
5793
|
+
variant: PropTypes.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
|
|
5794
|
+
visible: PropTypes.bool,
|
|
5795
5795
|
};
|
|
5796
5796
|
CDropdown.displayName = 'CDropdown';
|
|
5797
5797
|
|
|
@@ -5800,7 +5800,7 @@ var CDropdownDivider = forwardRef(function (_a, ref) {
|
|
|
5800
5800
|
return React__default.createElement("hr", __assign({ className: classNames('dropdown-divider', className) }, rest, { ref: ref }));
|
|
5801
5801
|
});
|
|
5802
5802
|
CDropdownDivider.propTypes = {
|
|
5803
|
-
className:
|
|
5803
|
+
className: PropTypes.string,
|
|
5804
5804
|
};
|
|
5805
5805
|
CDropdownDivider.displayName = 'CDropdownDivider';
|
|
5806
5806
|
|
|
@@ -5809,9 +5809,9 @@ var CDropdownHeader = forwardRef(function (_a, ref) {
|
|
|
5809
5809
|
return (React__default.createElement(Component, __assign({ className: classNames('dropdown-header', className) }, rest, { ref: ref }), children));
|
|
5810
5810
|
});
|
|
5811
5811
|
CDropdownHeader.propTypes = {
|
|
5812
|
-
children:
|
|
5813
|
-
className:
|
|
5814
|
-
component:
|
|
5812
|
+
children: PropTypes.node,
|
|
5813
|
+
className: PropTypes.string,
|
|
5814
|
+
component: PropTypes.elementType,
|
|
5815
5815
|
};
|
|
5816
5816
|
CDropdownHeader.displayName = 'CDropdownHeader';
|
|
5817
5817
|
|
|
@@ -5820,9 +5820,9 @@ var CDropdownItem = forwardRef(function (_a, ref) {
|
|
|
5820
5820
|
return (React__default.createElement(CLink, __assign({ className: classNames('dropdown-item', className), component: component }, rest, { ref: ref }), children));
|
|
5821
5821
|
});
|
|
5822
5822
|
CDropdownItem.propTypes = {
|
|
5823
|
-
children:
|
|
5824
|
-
className:
|
|
5825
|
-
component:
|
|
5823
|
+
children: PropTypes.node,
|
|
5824
|
+
className: PropTypes.string,
|
|
5825
|
+
component: PropTypes.elementType,
|
|
5826
5826
|
};
|
|
5827
5827
|
CDropdownItem.displayName = 'CDropdownItem';
|
|
5828
5828
|
|
|
@@ -5831,9 +5831,9 @@ var CDropdownItemPlain = forwardRef(function (_a, ref) {
|
|
|
5831
5831
|
return (React__default.createElement(Component, __assign({ className: classNames('dropdown-item-text', className) }, rest, { ref: ref }), children));
|
|
5832
5832
|
});
|
|
5833
5833
|
CDropdownItemPlain.propTypes = {
|
|
5834
|
-
children:
|
|
5835
|
-
className:
|
|
5836
|
-
component:
|
|
5834
|
+
children: PropTypes.node,
|
|
5835
|
+
className: PropTypes.string,
|
|
5836
|
+
component: PropTypes.elementType,
|
|
5837
5837
|
};
|
|
5838
5838
|
CDropdownItemPlain.displayName = 'CDropdownItemPlain';
|
|
5839
5839
|
|
|
@@ -5918,9 +5918,9 @@ var CDropdownMenu = function (_a) {
|
|
|
5918
5918
|
})) : (dropdownMenuComponent());
|
|
5919
5919
|
};
|
|
5920
5920
|
CDropdownMenu.propTypes = {
|
|
5921
|
-
children:
|
|
5922
|
-
className:
|
|
5923
|
-
component:
|
|
5921
|
+
children: PropTypes.node,
|
|
5922
|
+
className: PropTypes.string,
|
|
5923
|
+
component: PropTypes.elementType,
|
|
5924
5924
|
};
|
|
5925
5925
|
CDropdownMenu.displayName = 'CDropdownMenu';
|
|
5926
5926
|
|
|
@@ -5960,11 +5960,11 @@ var CDropdownToggle = function (_a) {
|
|
|
5960
5960
|
}) : Toggler(dropdownToggleRef);
|
|
5961
5961
|
};
|
|
5962
5962
|
CDropdownToggle.propTypes = {
|
|
5963
|
-
caret:
|
|
5964
|
-
children:
|
|
5965
|
-
className:
|
|
5966
|
-
custom:
|
|
5967
|
-
split:
|
|
5963
|
+
caret: PropTypes.bool,
|
|
5964
|
+
children: PropTypes.node,
|
|
5965
|
+
className: PropTypes.string,
|
|
5966
|
+
custom: PropTypes.bool,
|
|
5967
|
+
split: PropTypes.bool,
|
|
5968
5968
|
trigger: triggerPropType,
|
|
5969
5969
|
};
|
|
5970
5970
|
CDropdownToggle.displayName = 'CDropdownToggle';
|
|
@@ -5975,9 +5975,9 @@ var CFooter = forwardRef(function (_a, ref) {
|
|
|
5975
5975
|
return (React__default.createElement("div", __assign({ className: classNames('footer', (_b = {}, _b["footer-".concat(position)] = position, _b), className) }, rest, { ref: ref }), children));
|
|
5976
5976
|
});
|
|
5977
5977
|
CFooter.propTypes = {
|
|
5978
|
-
children:
|
|
5979
|
-
className:
|
|
5980
|
-
position:
|
|
5978
|
+
children: PropTypes.node,
|
|
5979
|
+
className: PropTypes.string,
|
|
5980
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
5981
5981
|
};
|
|
5982
5982
|
CFooter.displayName = 'CFooter';
|
|
5983
5983
|
|
|
@@ -5986,9 +5986,9 @@ var CForm = forwardRef(function (_a, ref) {
|
|
|
5986
5986
|
return (React__default.createElement("form", __assign({ className: classNames({ 'was-validated': validated }, className) || undefined }, rest, { ref: ref }), children));
|
|
5987
5987
|
});
|
|
5988
5988
|
CForm.propTypes = {
|
|
5989
|
-
children:
|
|
5990
|
-
className:
|
|
5991
|
-
validated:
|
|
5989
|
+
children: PropTypes.node,
|
|
5990
|
+
className: PropTypes.string,
|
|
5991
|
+
validated: PropTypes.bool,
|
|
5992
5992
|
};
|
|
5993
5993
|
CForm.displayName = 'CForm';
|
|
5994
5994
|
|
|
@@ -6001,12 +6001,12 @@ var CFormFeedback = forwardRef(function (_a, ref) {
|
|
|
6001
6001
|
_b), className) }, rest, { ref: ref }), children));
|
|
6002
6002
|
});
|
|
6003
6003
|
CFormFeedback.propTypes = {
|
|
6004
|
-
children:
|
|
6005
|
-
className:
|
|
6006
|
-
component:
|
|
6007
|
-
invalid:
|
|
6008
|
-
tooltip:
|
|
6009
|
-
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,
|
|
6010
6010
|
};
|
|
6011
6011
|
CFormFeedback.displayName = 'CFormFeedback';
|
|
6012
6012
|
|
|
@@ -6018,13 +6018,13 @@ var CFormControlValidation = function (_a) {
|
|
|
6018
6018
|
feedbackValid && (React__default.createElement(CFormFeedback, { valid: true, tooltip: tooltipFeedback }, feedbackValid))));
|
|
6019
6019
|
};
|
|
6020
6020
|
CFormControlValidation.propTypes = {
|
|
6021
|
-
describedby:
|
|
6022
|
-
feedback:
|
|
6023
|
-
feedbackValid:
|
|
6024
|
-
feedbackInvalid:
|
|
6025
|
-
invalid:
|
|
6026
|
-
tooltipFeedback:
|
|
6027
|
-
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,
|
|
6028
6028
|
};
|
|
6029
6029
|
CFormControlValidation.displayName = 'CFormControlValidation';
|
|
6030
6030
|
|
|
@@ -6033,9 +6033,9 @@ var CFormLabel = forwardRef(function (_a, ref) {
|
|
|
6033
6033
|
return (React__default.createElement("label", __assign({ className: customClassName !== null && customClassName !== void 0 ? customClassName : classNames('form-label', className) }, rest, { ref: ref }), children));
|
|
6034
6034
|
});
|
|
6035
6035
|
CFormLabel.propTypes = {
|
|
6036
|
-
children:
|
|
6037
|
-
className:
|
|
6038
|
-
customClassName:
|
|
6036
|
+
children: PropTypes.node,
|
|
6037
|
+
className: PropTypes.string,
|
|
6038
|
+
customClassName: PropTypes.string,
|
|
6039
6039
|
};
|
|
6040
6040
|
CFormLabel.displayName = 'CFormLabel';
|
|
6041
6041
|
|
|
@@ -6047,7 +6047,7 @@ var CFormCheck = forwardRef(function (_a, ref) {
|
|
|
6047
6047
|
if (inputRef.current && indeterminate) {
|
|
6048
6048
|
inputRef.current.indeterminate = indeterminate;
|
|
6049
6049
|
}
|
|
6050
|
-
}, [indeterminate]);
|
|
6050
|
+
}, [indeterminate, inputRef.current]);
|
|
6051
6051
|
var FormControl = function () { return (React__default.createElement("input", __assign({ type: type, className: classNames(button ? 'btn-check' : 'form-check-input', {
|
|
6052
6052
|
'is-invalid': invalid,
|
|
6053
6053
|
'is-valid': valid,
|
|
@@ -6087,7 +6087,7 @@ var CFormCheck = forwardRef(function (_a, ref) {
|
|
|
6087
6087
|
};
|
|
6088
6088
|
return React__default.createElement(FormCheck, null);
|
|
6089
6089
|
});
|
|
6090
|
-
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);
|
|
6091
6091
|
CFormCheck.displayName = 'CFormCheck';
|
|
6092
6092
|
|
|
6093
6093
|
var CFormFloating = forwardRef(function (_a, ref) {
|
|
@@ -6095,8 +6095,8 @@ var CFormFloating = forwardRef(function (_a, ref) {
|
|
|
6095
6095
|
return (React__default.createElement("div", __assign({ className: classNames('form-floating', className) }, rest, { ref: ref }), children));
|
|
6096
6096
|
});
|
|
6097
6097
|
CFormFloating.propTypes = {
|
|
6098
|
-
children:
|
|
6099
|
-
className:
|
|
6098
|
+
children: PropTypes.node,
|
|
6099
|
+
className: PropTypes.string,
|
|
6100
6100
|
};
|
|
6101
6101
|
CFormFloating.displayName = 'CFormFloating';
|
|
6102
6102
|
|
|
@@ -6105,9 +6105,9 @@ var CFormText = forwardRef(function (_a, ref) {
|
|
|
6105
6105
|
return (React__default.createElement(Component, __assign({ className: classNames('form-text', className) }, rest, { ref: ref }), children));
|
|
6106
6106
|
});
|
|
6107
6107
|
CFormText.propTypes = {
|
|
6108
|
-
children:
|
|
6109
|
-
className:
|
|
6110
|
-
component:
|
|
6108
|
+
children: PropTypes.node,
|
|
6109
|
+
className: PropTypes.string,
|
|
6110
|
+
component: PropTypes.elementType,
|
|
6111
6111
|
};
|
|
6112
6112
|
CFormText.displayName = 'CFormText';
|
|
6113
6113
|
|
|
@@ -6124,7 +6124,7 @@ var CFormControlWrapper = function (_a) {
|
|
|
6124
6124
|
text && React__default.createElement(CFormText, { id: describedby }, text),
|
|
6125
6125
|
React__default.createElement(FormControlValidation, null)));
|
|
6126
6126
|
};
|
|
6127
|
-
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);
|
|
6128
6128
|
CFormControlWrapper.displayName = 'CFormControlWrapper';
|
|
6129
6129
|
|
|
6130
6130
|
var CFormInput = forwardRef(function (_a, ref) {
|
|
@@ -6143,7 +6143,7 @@ var CFormInput = forwardRef(function (_a, ref) {
|
|
|
6143
6143
|
_b['is-valid'] = valid,
|
|
6144
6144
|
_b), className), id: id, type: type, onChange: function (event) { return (delay ? setValue(event) : onChange && onChange(event)); } }, rest, { ref: ref }), children)));
|
|
6145
6145
|
});
|
|
6146
|
-
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);
|
|
6147
6147
|
CFormInput.displayName = 'CFormInput';
|
|
6148
6148
|
|
|
6149
6149
|
var CFormRange = forwardRef(function (_a, ref) {
|
|
@@ -6153,8 +6153,8 @@ var CFormRange = forwardRef(function (_a, ref) {
|
|
|
6153
6153
|
React__default.createElement("input", __assign({ type: "range", className: classNames('form-range', className) }, rest, { ref: ref }))));
|
|
6154
6154
|
});
|
|
6155
6155
|
CFormRange.propTypes = {
|
|
6156
|
-
className:
|
|
6157
|
-
label:
|
|
6156
|
+
className: PropTypes.string,
|
|
6157
|
+
label: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),
|
|
6158
6158
|
};
|
|
6159
6159
|
CFormRange.displayName = 'CFormRange';
|
|
6160
6160
|
|
|
@@ -6173,7 +6173,7 @@ var CFormSelect = forwardRef(function (_a, ref) {
|
|
|
6173
6173
|
})
|
|
6174
6174
|
: children)));
|
|
6175
6175
|
});
|
|
6176
|
-
CFormSelect.propTypes = __assign({ className:
|
|
6176
|
+
CFormSelect.propTypes = __assign({ className: PropTypes.string, htmlSize: PropTypes.number, options: PropTypes.array }, CFormControlWrapper.propTypes);
|
|
6177
6177
|
CFormSelect.displayName = 'CFormSelect';
|
|
6178
6178
|
|
|
6179
6179
|
var CFormSwitch = forwardRef(function (_a, ref) {
|
|
@@ -6193,14 +6193,14 @@ var CFormSwitch = forwardRef(function (_a, ref) {
|
|
|
6193
6193
|
label && (React__default.createElement(CFormLabel, __assign({ customClassName: "form-check-label" }, (id && { htmlFor: id })), label))));
|
|
6194
6194
|
});
|
|
6195
6195
|
CFormSwitch.propTypes = {
|
|
6196
|
-
className:
|
|
6197
|
-
id:
|
|
6198
|
-
invalid:
|
|
6199
|
-
label:
|
|
6200
|
-
reverse:
|
|
6201
|
-
size:
|
|
6202
|
-
type:
|
|
6203
|
-
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,
|
|
6204
6204
|
};
|
|
6205
6205
|
CFormSwitch.displayName = 'CFormSwitch';
|
|
6206
6206
|
|
|
@@ -6212,7 +6212,7 @@ var CFormTextarea = forwardRef(function (_a, ref) {
|
|
|
6212
6212
|
'is-valid': valid,
|
|
6213
6213
|
}, className), id: id }, rest, { ref: ref }), children)));
|
|
6214
6214
|
});
|
|
6215
|
-
CFormTextarea.propTypes = __assign({ className:
|
|
6215
|
+
CFormTextarea.propTypes = __assign({ className: PropTypes.string, id: PropTypes.string, plainText: PropTypes.bool }, CFormControlWrapper.propTypes);
|
|
6216
6216
|
CFormTextarea.displayName = 'CFormTextarea';
|
|
6217
6217
|
|
|
6218
6218
|
var CInputGroup = forwardRef(function (_a, ref) {
|
|
@@ -6223,9 +6223,9 @@ var CInputGroup = forwardRef(function (_a, ref) {
|
|
|
6223
6223
|
_b), className) }, rest, { ref: ref }), children));
|
|
6224
6224
|
});
|
|
6225
6225
|
CInputGroup.propTypes = {
|
|
6226
|
-
children:
|
|
6227
|
-
className:
|
|
6228
|
-
size:
|
|
6226
|
+
children: PropTypes.node,
|
|
6227
|
+
className: PropTypes.string,
|
|
6228
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
6229
6229
|
};
|
|
6230
6230
|
CInputGroup.displayName = 'CInputGroup';
|
|
6231
6231
|
|
|
@@ -6234,9 +6234,9 @@ var CInputGroupText = forwardRef(function (_a, ref) {
|
|
|
6234
6234
|
return (React__default.createElement(Component, __assign({ className: classNames('input-group-text', className) }, rest, { ref: ref }), children));
|
|
6235
6235
|
});
|
|
6236
6236
|
CInputGroupText.propTypes = {
|
|
6237
|
-
children:
|
|
6238
|
-
className:
|
|
6239
|
-
component:
|
|
6237
|
+
children: PropTypes.node,
|
|
6238
|
+
className: PropTypes.string,
|
|
6239
|
+
component: PropTypes.elementType,
|
|
6240
6240
|
};
|
|
6241
6241
|
CInputGroupText.displayName = 'CInputGroupText';
|
|
6242
6242
|
|
|
@@ -6278,27 +6278,27 @@ var CCol = forwardRef(function (_a, ref) {
|
|
|
6278
6278
|
});
|
|
6279
6279
|
return (React__default.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'col', className) }, rest, { ref: ref }), children));
|
|
6280
6280
|
});
|
|
6281
|
-
var span =
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6281
|
+
var span = PropTypes.oneOfType([
|
|
6282
|
+
PropTypes.bool,
|
|
6283
|
+
PropTypes.number,
|
|
6284
|
+
PropTypes.string,
|
|
6285
|
+
PropTypes.oneOf(['auto']),
|
|
6286
6286
|
]);
|
|
6287
|
-
var col =
|
|
6287
|
+
var col = PropTypes.oneOfType([
|
|
6288
6288
|
span,
|
|
6289
|
-
|
|
6289
|
+
PropTypes.shape({
|
|
6290
6290
|
span: span,
|
|
6291
|
-
offset:
|
|
6292
|
-
order:
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6291
|
+
offset: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
6292
|
+
order: PropTypes.oneOfType([
|
|
6293
|
+
PropTypes.oneOf(['first', 'last']),
|
|
6294
|
+
PropTypes.number,
|
|
6295
|
+
PropTypes.string,
|
|
6296
6296
|
]),
|
|
6297
6297
|
}),
|
|
6298
6298
|
]);
|
|
6299
6299
|
CCol.propTypes = {
|
|
6300
|
-
children:
|
|
6301
|
-
className:
|
|
6300
|
+
children: PropTypes.node,
|
|
6301
|
+
className: PropTypes.string,
|
|
6302
6302
|
xs: col,
|
|
6303
6303
|
sm: col,
|
|
6304
6304
|
md: col,
|
|
@@ -6327,14 +6327,14 @@ var CContainer = forwardRef(function (_a, ref) {
|
|
|
6327
6327
|
return (React__default.createElement("div", __assign({ className: classNames(repsonsiveClassNames.length > 0 ? repsonsiveClassNames : 'container', className) }, rest, { ref: ref }), children));
|
|
6328
6328
|
});
|
|
6329
6329
|
CContainer.propTypes = {
|
|
6330
|
-
children:
|
|
6331
|
-
className:
|
|
6332
|
-
sm:
|
|
6333
|
-
md:
|
|
6334
|
-
lg:
|
|
6335
|
-
xl:
|
|
6336
|
-
xxl:
|
|
6337
|
-
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,
|
|
6338
6338
|
};
|
|
6339
6339
|
CContainer.displayName = 'CContainer';
|
|
6340
6340
|
|
|
@@ -6370,15 +6370,15 @@ var CRow = forwardRef(function (_a, ref) {
|
|
|
6370
6370
|
});
|
|
6371
6371
|
return (React__default.createElement("div", { className: classNames('row', repsonsiveClassNames, className), ref: ref }, children));
|
|
6372
6372
|
});
|
|
6373
|
-
var bp =
|
|
6374
|
-
cols:
|
|
6375
|
-
gutter:
|
|
6376
|
-
gutterX:
|
|
6377
|
-
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]),
|
|
6378
6378
|
});
|
|
6379
6379
|
CRow.propTypes = {
|
|
6380
|
-
children:
|
|
6381
|
-
className:
|
|
6380
|
+
children: PropTypes.node,
|
|
6381
|
+
className: PropTypes.string,
|
|
6382
6382
|
xs: bp,
|
|
6383
6383
|
sm: bp,
|
|
6384
6384
|
md: bp,
|
|
@@ -6394,11 +6394,11 @@ var CHeader = forwardRef(function (_a, ref) {
|
|
|
6394
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))));
|
|
6395
6395
|
});
|
|
6396
6396
|
CHeader.propTypes = {
|
|
6397
|
-
children:
|
|
6398
|
-
className:
|
|
6399
|
-
container:
|
|
6400
|
-
|
|
6401
|
-
|
|
6397
|
+
children: PropTypes.node,
|
|
6398
|
+
className: PropTypes.string,
|
|
6399
|
+
container: PropTypes.oneOfType([
|
|
6400
|
+
PropTypes.bool,
|
|
6401
|
+
PropTypes.oneOf([
|
|
6402
6402
|
'sm',
|
|
6403
6403
|
'md',
|
|
6404
6404
|
'lg',
|
|
@@ -6407,7 +6407,7 @@ CHeader.propTypes = {
|
|
|
6407
6407
|
'fluid',
|
|
6408
6408
|
]),
|
|
6409
6409
|
]),
|
|
6410
|
-
position:
|
|
6410
|
+
position: PropTypes.oneOf(['fixed', 'sticky']),
|
|
6411
6411
|
};
|
|
6412
6412
|
CHeader.displayName = 'CHeader';
|
|
6413
6413
|
|
|
@@ -6416,9 +6416,9 @@ var CHeaderBrand = forwardRef(function (_a, ref) {
|
|
|
6416
6416
|
return (React__default.createElement(Component, __assign({ className: classNames('header-brand', className) }, rest, { ref: ref }), children));
|
|
6417
6417
|
});
|
|
6418
6418
|
CHeaderBrand.propTypes = {
|
|
6419
|
-
children:
|
|
6420
|
-
className:
|
|
6421
|
-
component:
|
|
6419
|
+
children: PropTypes.node,
|
|
6420
|
+
className: PropTypes.string,
|
|
6421
|
+
component: PropTypes.elementType,
|
|
6422
6422
|
};
|
|
6423
6423
|
CHeaderBrand.displayName = 'CHeaderBrand';
|
|
6424
6424
|
|
|
@@ -6427,7 +6427,7 @@ var CHeaderDivider = forwardRef(function (_a, ref) {
|
|
|
6427
6427
|
return React__default.createElement("div", __assign({ className: classNames('header-divider', className) }, rest, { ref: ref }));
|
|
6428
6428
|
});
|
|
6429
6429
|
CHeaderDivider.propTypes = {
|
|
6430
|
-
className:
|
|
6430
|
+
className: PropTypes.string,
|
|
6431
6431
|
};
|
|
6432
6432
|
CHeaderDivider.displayName = 'CHeaderDivider';
|
|
6433
6433
|
|
|
@@ -6436,9 +6436,9 @@ var CHeaderNav = forwardRef(function (_a, ref) {
|
|
|
6436
6436
|
return (React__default.createElement(Component, __assign({ className: classNames('header-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6437
6437
|
});
|
|
6438
6438
|
CHeaderNav.propTypes = {
|
|
6439
|
-
children:
|
|
6440
|
-
className:
|
|
6441
|
-
component:
|
|
6439
|
+
children: PropTypes.node,
|
|
6440
|
+
className: PropTypes.string,
|
|
6441
|
+
component: PropTypes.elementType,
|
|
6442
6442
|
};
|
|
6443
6443
|
CHeaderNav.displayName = 'CHeaderNav';
|
|
6444
6444
|
|
|
@@ -6447,8 +6447,8 @@ var CHeaderText = forwardRef(function (_a, ref) {
|
|
|
6447
6447
|
return (React__default.createElement("span", __assign({ className: classNames('header-text', className) }, rest, { ref: ref }), children));
|
|
6448
6448
|
});
|
|
6449
6449
|
CHeaderText.propTypes = {
|
|
6450
|
-
children:
|
|
6451
|
-
className:
|
|
6450
|
+
children: PropTypes.node,
|
|
6451
|
+
className: PropTypes.string,
|
|
6452
6452
|
};
|
|
6453
6453
|
CHeaderText.displayName = 'CHeaderText';
|
|
6454
6454
|
|
|
@@ -6457,8 +6457,8 @@ var CHeaderToggler = forwardRef(function (_a, ref) {
|
|
|
6457
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" })));
|
|
6458
6458
|
});
|
|
6459
6459
|
CHeaderToggler.propTypes = {
|
|
6460
|
-
children:
|
|
6461
|
-
className:
|
|
6460
|
+
children: PropTypes.node,
|
|
6461
|
+
className: PropTypes.string,
|
|
6462
6462
|
};
|
|
6463
6463
|
CHeaderToggler.displayName = 'CHeaderToggler';
|
|
6464
6464
|
|
|
@@ -6474,11 +6474,11 @@ var CImage = forwardRef(function (_a, ref) {
|
|
|
6474
6474
|
_b), className) || undefined }, rest, { ref: ref })));
|
|
6475
6475
|
});
|
|
6476
6476
|
CImage.propTypes = {
|
|
6477
|
-
align:
|
|
6478
|
-
className:
|
|
6479
|
-
fluid:
|
|
6480
|
-
rounded:
|
|
6481
|
-
thumbnail:
|
|
6477
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
6478
|
+
className: PropTypes.string,
|
|
6479
|
+
fluid: PropTypes.bool,
|
|
6480
|
+
rounded: PropTypes.bool,
|
|
6481
|
+
thumbnail: PropTypes.bool,
|
|
6482
6482
|
};
|
|
6483
6483
|
CImage.displayName = 'CImage';
|
|
6484
6484
|
|
|
@@ -6492,11 +6492,11 @@ var CListGroup = forwardRef(function (_a, ref) {
|
|
|
6492
6492
|
_b), className), ref: ref }, children));
|
|
6493
6493
|
});
|
|
6494
6494
|
CListGroup.propTypes = {
|
|
6495
|
-
children:
|
|
6496
|
-
className:
|
|
6497
|
-
component:
|
|
6498
|
-
flush:
|
|
6499
|
-
layout:
|
|
6495
|
+
children: PropTypes.node,
|
|
6496
|
+
className: PropTypes.string,
|
|
6497
|
+
component: PropTypes.elementType,
|
|
6498
|
+
flush: PropTypes.bool,
|
|
6499
|
+
layout: PropTypes.oneOf([
|
|
6500
6500
|
'horizontal',
|
|
6501
6501
|
'horizontal-sm',
|
|
6502
6502
|
'horizontal-md',
|
|
@@ -6525,12 +6525,12 @@ var CListGroupItem = forwardRef(function (_a, ref) {
|
|
|
6525
6525
|
_b), className) }, rest), children));
|
|
6526
6526
|
});
|
|
6527
6527
|
CListGroupItem.propTypes = {
|
|
6528
|
-
active:
|
|
6529
|
-
children:
|
|
6530
|
-
className:
|
|
6528
|
+
active: PropTypes.bool,
|
|
6529
|
+
children: PropTypes.node,
|
|
6530
|
+
className: PropTypes.string,
|
|
6531
6531
|
color: colorPropType,
|
|
6532
|
-
component:
|
|
6533
|
-
disabled:
|
|
6532
|
+
component: PropTypes.elementType,
|
|
6533
|
+
disabled: PropTypes.bool,
|
|
6534
6534
|
};
|
|
6535
6535
|
CListGroupItem.displayName = 'CListGroupItem';
|
|
6536
6536
|
|
|
@@ -6539,8 +6539,8 @@ var CModalContent = forwardRef(function (_a, ref) {
|
|
|
6539
6539
|
return (React__default.createElement("div", __assign({ className: classNames('modal-content', className) }, rest, { ref: ref }), children));
|
|
6540
6540
|
});
|
|
6541
6541
|
CModalContent.propTypes = {
|
|
6542
|
-
children:
|
|
6543
|
-
className:
|
|
6542
|
+
children: PropTypes.node,
|
|
6543
|
+
className: PropTypes.string,
|
|
6544
6544
|
};
|
|
6545
6545
|
CModalContent.displayName = 'CModalContent';
|
|
6546
6546
|
|
|
@@ -6558,15 +6558,15 @@ var CModalDialog = forwardRef(function (_a, ref) {
|
|
|
6558
6558
|
_b), className) }, rest, { ref: ref }), children));
|
|
6559
6559
|
});
|
|
6560
6560
|
CModalDialog.propTypes = {
|
|
6561
|
-
alignment:
|
|
6562
|
-
children:
|
|
6563
|
-
className:
|
|
6564
|
-
fullscreen:
|
|
6565
|
-
|
|
6566
|
-
|
|
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']),
|
|
6567
6567
|
]),
|
|
6568
|
-
scrollable:
|
|
6569
|
-
size:
|
|
6568
|
+
scrollable: PropTypes.bool,
|
|
6569
|
+
size: PropTypes.oneOf(['sm', 'lg', 'xl']),
|
|
6570
6570
|
};
|
|
6571
6571
|
CModalDialog.displayName = 'CModalDialog';
|
|
6572
6572
|
|
|
@@ -6656,25 +6656,25 @@ var CModal = forwardRef(function (_a, ref) {
|
|
|
6656
6656
|
React__default.createElement(CBackdrop, { visible: _visible })))));
|
|
6657
6657
|
});
|
|
6658
6658
|
CModal.propTypes = {
|
|
6659
|
-
alignment:
|
|
6660
|
-
backdrop:
|
|
6661
|
-
children:
|
|
6662
|
-
className:
|
|
6663
|
-
duration:
|
|
6664
|
-
fullscreen:
|
|
6665
|
-
|
|
6666
|
-
|
|
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']),
|
|
6667
6667
|
]),
|
|
6668
|
-
keyboard:
|
|
6669
|
-
onClose:
|
|
6670
|
-
onClosePrevented:
|
|
6671
|
-
onShow:
|
|
6672
|
-
portal:
|
|
6673
|
-
scrollable:
|
|
6674
|
-
size:
|
|
6675
|
-
transition:
|
|
6676
|
-
unmountOnClose:
|
|
6677
|
-
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,
|
|
6678
6678
|
};
|
|
6679
6679
|
CModal.displayName = 'CModal';
|
|
6680
6680
|
|
|
@@ -6683,8 +6683,8 @@ var CModalBody = forwardRef(function (_a, ref) {
|
|
|
6683
6683
|
return (React__default.createElement("div", __assign({ className: classNames('modal-body', className) }, rest, { ref: ref }), children));
|
|
6684
6684
|
});
|
|
6685
6685
|
CModalBody.propTypes = {
|
|
6686
|
-
children:
|
|
6687
|
-
className:
|
|
6686
|
+
children: PropTypes.node,
|
|
6687
|
+
className: PropTypes.string,
|
|
6688
6688
|
};
|
|
6689
6689
|
CModalBody.displayName = 'CModalBody';
|
|
6690
6690
|
|
|
@@ -6693,8 +6693,8 @@ var CModalFooter = forwardRef(function (_a, ref) {
|
|
|
6693
6693
|
return (React__default.createElement("div", __assign({ className: classNames('modal-footer', className) }, rest, { ref: ref }), children));
|
|
6694
6694
|
});
|
|
6695
6695
|
CModalFooter.propTypes = {
|
|
6696
|
-
children:
|
|
6697
|
-
className:
|
|
6696
|
+
children: PropTypes.node,
|
|
6697
|
+
className: PropTypes.string,
|
|
6698
6698
|
};
|
|
6699
6699
|
CModalFooter.displayName = 'CModalFooter';
|
|
6700
6700
|
|
|
@@ -6706,9 +6706,9 @@ var CModalHeader = forwardRef(function (_a, ref) {
|
|
|
6706
6706
|
closeButton && React__default.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })));
|
|
6707
6707
|
});
|
|
6708
6708
|
CModalHeader.propTypes = {
|
|
6709
|
-
children:
|
|
6710
|
-
className:
|
|
6711
|
-
closeButton:
|
|
6709
|
+
children: PropTypes.node,
|
|
6710
|
+
className: PropTypes.string,
|
|
6711
|
+
closeButton: PropTypes.bool,
|
|
6712
6712
|
};
|
|
6713
6713
|
CModalHeader.displayName = 'CModalHeader';
|
|
6714
6714
|
|
|
@@ -6717,9 +6717,9 @@ var CModalTitle = forwardRef(function (_a, ref) {
|
|
|
6717
6717
|
return (React__default.createElement(Component, __assign({ className: classNames('modal-title', className) }, rest, { ref: ref }), children));
|
|
6718
6718
|
});
|
|
6719
6719
|
CModalTitle.propTypes = {
|
|
6720
|
-
children:
|
|
6721
|
-
className:
|
|
6722
|
-
component:
|
|
6720
|
+
children: PropTypes.node,
|
|
6721
|
+
className: PropTypes.string,
|
|
6722
|
+
component: PropTypes.elementType,
|
|
6723
6723
|
};
|
|
6724
6724
|
CModalTitle.displayName = 'CModalTitle';
|
|
6725
6725
|
|
|
@@ -6732,11 +6732,11 @@ var CNav = forwardRef(function (_a, ref) {
|
|
|
6732
6732
|
_b), className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6733
6733
|
});
|
|
6734
6734
|
CNav.propTypes = {
|
|
6735
|
-
children:
|
|
6736
|
-
className:
|
|
6737
|
-
component:
|
|
6738
|
-
layout:
|
|
6739
|
-
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']),
|
|
6740
6740
|
};
|
|
6741
6741
|
CNav.displayName = 'CNav';
|
|
6742
6742
|
|
|
@@ -6745,8 +6745,8 @@ var CNavGroupItems = forwardRef(function (_a, ref) {
|
|
|
6745
6745
|
return (React__default.createElement("ul", __assign({ className: classNames('nav-group-items', className) }, rest, { ref: ref }), children));
|
|
6746
6746
|
});
|
|
6747
6747
|
CNavGroupItems.propTypes = {
|
|
6748
|
-
children:
|
|
6749
|
-
className:
|
|
6748
|
+
children: PropTypes.node,
|
|
6749
|
+
className: PropTypes.string,
|
|
6750
6750
|
};
|
|
6751
6751
|
CNavGroupItems.displayName = 'CNavGroupItems';
|
|
6752
6752
|
|
|
@@ -6770,8 +6770,8 @@ var CSidebarNav = forwardRef(function (_a, ref) {
|
|
|
6770
6770
|
}))));
|
|
6771
6771
|
});
|
|
6772
6772
|
CSidebarNav.propTypes = {
|
|
6773
|
-
children:
|
|
6774
|
-
className:
|
|
6773
|
+
children: PropTypes.node,
|
|
6774
|
+
className: PropTypes.string,
|
|
6775
6775
|
};
|
|
6776
6776
|
CSidebarNav.displayName = 'CSidebarNav';
|
|
6777
6777
|
|
|
@@ -6832,12 +6832,12 @@ var CNavGroup = forwardRef(function (_a, ref) {
|
|
|
6832
6832
|
}))); })));
|
|
6833
6833
|
});
|
|
6834
6834
|
CNavGroup.propTypes = {
|
|
6835
|
-
children:
|
|
6836
|
-
className:
|
|
6837
|
-
compact:
|
|
6838
|
-
idx:
|
|
6839
|
-
toggler:
|
|
6840
|
-
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,
|
|
6841
6841
|
};
|
|
6842
6842
|
CNavGroup.displayName = 'CNavGroup';
|
|
6843
6843
|
|
|
@@ -6854,9 +6854,9 @@ var CNavLink = forwardRef(function (_a, ref) {
|
|
|
6854
6854
|
return (React__default.createElement(CLink, __assign({ className: classNames('nav-link', className) }, rest, { ref: forkedRef }), children));
|
|
6855
6855
|
});
|
|
6856
6856
|
CNavLink.propTypes = {
|
|
6857
|
-
children:
|
|
6858
|
-
className:
|
|
6859
|
-
idx:
|
|
6857
|
+
children: PropTypes.node,
|
|
6858
|
+
className: PropTypes.string,
|
|
6859
|
+
idx: PropTypes.string,
|
|
6860
6860
|
};
|
|
6861
6861
|
CNavLink.displayName = 'CNavLink';
|
|
6862
6862
|
|
|
@@ -6865,8 +6865,8 @@ var CNavItem = forwardRef(function (_a, ref) {
|
|
|
6865
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)));
|
|
6866
6866
|
});
|
|
6867
6867
|
CNavItem.propTypes = {
|
|
6868
|
-
children:
|
|
6869
|
-
className:
|
|
6868
|
+
children: PropTypes.node,
|
|
6869
|
+
className: PropTypes.string,
|
|
6870
6870
|
};
|
|
6871
6871
|
CNavItem.displayName = 'CNavItem';
|
|
6872
6872
|
|
|
@@ -6875,8 +6875,8 @@ var CNavTitle = forwardRef(function (_a, ref) {
|
|
|
6875
6875
|
return (React__default.createElement("li", __assign({ className: classNames('nav-title', className) }, rest, { ref: ref }), children));
|
|
6876
6876
|
});
|
|
6877
6877
|
CNavTitle.propTypes = {
|
|
6878
|
-
children:
|
|
6879
|
-
className:
|
|
6878
|
+
children: PropTypes.node,
|
|
6879
|
+
className: PropTypes.string,
|
|
6880
6880
|
};
|
|
6881
6881
|
CNavTitle.displayName = 'CNavTitle';
|
|
6882
6882
|
|
|
@@ -6890,14 +6890,14 @@ var CNavbar = forwardRef(function (_a, ref) {
|
|
|
6890
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))));
|
|
6891
6891
|
});
|
|
6892
6892
|
CNavbar.propTypes = {
|
|
6893
|
-
children:
|
|
6894
|
-
className:
|
|
6893
|
+
children: PropTypes.node,
|
|
6894
|
+
className: PropTypes.string,
|
|
6895
6895
|
color: colorPropType,
|
|
6896
|
-
colorScheme:
|
|
6897
|
-
component:
|
|
6898
|
-
container:
|
|
6899
|
-
|
|
6900
|
-
|
|
6896
|
+
colorScheme: PropTypes.oneOf(['dark', 'light']),
|
|
6897
|
+
component: PropTypes.elementType,
|
|
6898
|
+
container: PropTypes.oneOfType([
|
|
6899
|
+
PropTypes.bool,
|
|
6900
|
+
PropTypes.oneOf([
|
|
6901
6901
|
'sm',
|
|
6902
6902
|
'md',
|
|
6903
6903
|
'lg',
|
|
@@ -6906,11 +6906,11 @@ CNavbar.propTypes = {
|
|
|
6906
6906
|
'fluid',
|
|
6907
6907
|
]),
|
|
6908
6908
|
]),
|
|
6909
|
-
expand:
|
|
6910
|
-
|
|
6911
|
-
|
|
6909
|
+
expand: PropTypes.oneOfType([
|
|
6910
|
+
PropTypes.bool,
|
|
6911
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
6912
6912
|
]),
|
|
6913
|
-
placement:
|
|
6913
|
+
placement: PropTypes.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
|
|
6914
6914
|
};
|
|
6915
6915
|
CNavbar.displayName = 'CNavbar';
|
|
6916
6916
|
|
|
@@ -6920,9 +6920,9 @@ var CNavbarBrand = forwardRef(function (_a, ref) {
|
|
|
6920
6920
|
return (React__default.createElement(Component, __assign({ className: classNames('navbar-brand', className) }, rest, { ref: ref }), children));
|
|
6921
6921
|
});
|
|
6922
6922
|
CNavbarBrand.propTypes = {
|
|
6923
|
-
children:
|
|
6924
|
-
className:
|
|
6925
|
-
component:
|
|
6923
|
+
children: PropTypes.node,
|
|
6924
|
+
className: PropTypes.string,
|
|
6925
|
+
component: PropTypes.elementType,
|
|
6926
6926
|
};
|
|
6927
6927
|
CNavbarBrand.displayName = 'CNavbarBrand';
|
|
6928
6928
|
|
|
@@ -6931,9 +6931,9 @@ var CNavbarNav = forwardRef(function (_a, ref) {
|
|
|
6931
6931
|
return (React__default.createElement(Component, __assign({ className: classNames('navbar-nav', className), role: "navigation" }, rest, { ref: ref }), children));
|
|
6932
6932
|
});
|
|
6933
6933
|
CNavbarNav.propTypes = {
|
|
6934
|
-
children:
|
|
6935
|
-
className:
|
|
6936
|
-
component:
|
|
6934
|
+
children: PropTypes.node,
|
|
6935
|
+
className: PropTypes.string,
|
|
6936
|
+
component: PropTypes.elementType,
|
|
6937
6937
|
};
|
|
6938
6938
|
CNavbarNav.displayName = 'CNavbarNav';
|
|
6939
6939
|
|
|
@@ -6942,8 +6942,8 @@ var CNavbarText = forwardRef(function (_a, ref) {
|
|
|
6942
6942
|
return (React__default.createElement("span", __assign({ className: classNames('navbar-text', className) }, rest, { ref: ref }), children));
|
|
6943
6943
|
});
|
|
6944
6944
|
CNavbarText.propTypes = {
|
|
6945
|
-
children:
|
|
6946
|
-
className:
|
|
6945
|
+
children: PropTypes.node,
|
|
6946
|
+
className: PropTypes.string,
|
|
6947
6947
|
};
|
|
6948
6948
|
CNavbarText.displayName = 'CNavbarText';
|
|
6949
6949
|
|
|
@@ -6952,8 +6952,8 @@ var CNavbarToggler = forwardRef(function (_a, ref) {
|
|
|
6952
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" })));
|
|
6953
6953
|
});
|
|
6954
6954
|
CNavbarToggler.propTypes = {
|
|
6955
|
-
children:
|
|
6956
|
-
className:
|
|
6955
|
+
children: PropTypes.node,
|
|
6956
|
+
className: PropTypes.string,
|
|
6957
6957
|
};
|
|
6958
6958
|
CNavbarToggler.displayName = 'CNavbarToggler';
|
|
6959
6959
|
|
|
@@ -7005,21 +7005,21 @@ var COffcanvas = forwardRef(function (_a, ref) {
|
|
|
7005
7005
|
React__default.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleBackdropDismiss, visible: _visible })))));
|
|
7006
7006
|
});
|
|
7007
7007
|
COffcanvas.propTypes = {
|
|
7008
|
-
backdrop:
|
|
7009
|
-
children:
|
|
7010
|
-
className:
|
|
7011
|
-
keyboard:
|
|
7012
|
-
onHide:
|
|
7013
|
-
onShow:
|
|
7014
|
-
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'])
|
|
7015
7015
|
.isRequired,
|
|
7016
|
-
portal:
|
|
7017
|
-
responsive:
|
|
7018
|
-
|
|
7019
|
-
|
|
7016
|
+
portal: PropTypes.bool,
|
|
7017
|
+
responsive: PropTypes.oneOfType([
|
|
7018
|
+
PropTypes.bool,
|
|
7019
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7020
7020
|
]),
|
|
7021
|
-
scroll:
|
|
7022
|
-
visible:
|
|
7021
|
+
scroll: PropTypes.bool,
|
|
7022
|
+
visible: PropTypes.bool,
|
|
7023
7023
|
};
|
|
7024
7024
|
COffcanvas.displayName = 'COffcanvas';
|
|
7025
7025
|
|
|
@@ -7028,8 +7028,8 @@ var COffcanvasBody = forwardRef(function (_a, ref) {
|
|
|
7028
7028
|
return (React__default.createElement("div", __assign({ className: classNames('offcanvas-body', className) }, rest, { ref: ref }), children));
|
|
7029
7029
|
});
|
|
7030
7030
|
COffcanvasBody.propTypes = {
|
|
7031
|
-
children:
|
|
7032
|
-
className:
|
|
7031
|
+
children: PropTypes.node,
|
|
7032
|
+
className: PropTypes.string,
|
|
7033
7033
|
};
|
|
7034
7034
|
COffcanvasBody.displayName = 'COffcanvasBody';
|
|
7035
7035
|
|
|
@@ -7038,8 +7038,8 @@ var COffcanvasHeader = forwardRef(function (_a, ref) {
|
|
|
7038
7038
|
return (React__default.createElement("div", __assign({ className: classNames('offcanvas-header', className) }, rest, { ref: ref }), children));
|
|
7039
7039
|
});
|
|
7040
7040
|
COffcanvasHeader.propTypes = {
|
|
7041
|
-
children:
|
|
7042
|
-
className:
|
|
7041
|
+
children: PropTypes.node,
|
|
7042
|
+
className: PropTypes.string,
|
|
7043
7043
|
};
|
|
7044
7044
|
COffcanvasHeader.displayName = 'COffcanvasHeader';
|
|
7045
7045
|
|
|
@@ -7048,9 +7048,9 @@ var COffcanvasTitle = forwardRef(function (_a, ref) {
|
|
|
7048
7048
|
return (React__default.createElement(Component, __assign({ className: classNames('offcanvas-title', className) }, rest, { ref: ref }), children));
|
|
7049
7049
|
});
|
|
7050
7050
|
COffcanvasTitle.propTypes = {
|
|
7051
|
-
children:
|
|
7052
|
-
className:
|
|
7053
|
-
component:
|
|
7051
|
+
children: PropTypes.node,
|
|
7052
|
+
className: PropTypes.string,
|
|
7053
|
+
component: PropTypes.elementType,
|
|
7054
7054
|
};
|
|
7055
7055
|
COffcanvasTitle.displayName = 'COffcanvasTitle';
|
|
7056
7056
|
|
|
@@ -7064,10 +7064,10 @@ var CPagination = forwardRef(function (_a, ref) {
|
|
|
7064
7064
|
_b), className) }, children)));
|
|
7065
7065
|
});
|
|
7066
7066
|
CPagination.propTypes = {
|
|
7067
|
-
align:
|
|
7068
|
-
children:
|
|
7069
|
-
className:
|
|
7070
|
-
size:
|
|
7067
|
+
align: PropTypes.oneOf(['start', 'center', 'end']),
|
|
7068
|
+
children: PropTypes.node,
|
|
7069
|
+
className: PropTypes.string,
|
|
7070
|
+
size: PropTypes.oneOf(['sm', 'lg']),
|
|
7071
7071
|
};
|
|
7072
7072
|
CPagination.displayName = 'CPagination';
|
|
7073
7073
|
|
|
@@ -7080,9 +7080,9 @@ var CPaginationItem = forwardRef(function (_a, ref) {
|
|
|
7080
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))));
|
|
7081
7081
|
});
|
|
7082
7082
|
CPaginationItem.propTypes = {
|
|
7083
|
-
children:
|
|
7084
|
-
className:
|
|
7085
|
-
component:
|
|
7083
|
+
children: PropTypes.node,
|
|
7084
|
+
className: PropTypes.string,
|
|
7085
|
+
component: PropTypes.elementType,
|
|
7086
7086
|
};
|
|
7087
7087
|
CPaginationItem.displayName = 'CPaginationItem';
|
|
7088
7088
|
|
|
@@ -7115,12 +7115,12 @@ var CPlaceholder = forwardRef(function (_a, ref) {
|
|
|
7115
7115
|
_b), repsonsiveClassNames, className) }, rest, { ref: ref }), children));
|
|
7116
7116
|
});
|
|
7117
7117
|
CPlaceholder.propTypes = {
|
|
7118
|
-
animation:
|
|
7119
|
-
children:
|
|
7120
|
-
className:
|
|
7118
|
+
animation: PropTypes.oneOf(['glow', 'wave']),
|
|
7119
|
+
children: PropTypes.node,
|
|
7120
|
+
className: PropTypes.string,
|
|
7121
7121
|
color: colorPropType,
|
|
7122
|
-
component:
|
|
7123
|
-
size:
|
|
7122
|
+
component: PropTypes.elementType,
|
|
7123
|
+
size: PropTypes.oneOf(['xs', 'sm', 'lg']),
|
|
7124
7124
|
};
|
|
7125
7125
|
CPlaceholder.displayName = 'CPlaceholder';
|
|
7126
7126
|
|
|
@@ -7134,12 +7134,12 @@ var CProgressBar = forwardRef(function (_a, ref) {
|
|
|
7134
7134
|
_b), className), role: "progressbar", style: { width: "".concat(value, "%") }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
|
|
7135
7135
|
});
|
|
7136
7136
|
CProgressBar.propTypes = {
|
|
7137
|
-
animated:
|
|
7138
|
-
children:
|
|
7139
|
-
className:
|
|
7137
|
+
animated: PropTypes.bool,
|
|
7138
|
+
children: PropTypes.node,
|
|
7139
|
+
className: PropTypes.string,
|
|
7140
7140
|
color: colorPropType,
|
|
7141
|
-
value:
|
|
7142
|
-
variant:
|
|
7141
|
+
value: PropTypes.number,
|
|
7142
|
+
variant: PropTypes.oneOf(['striped']),
|
|
7143
7143
|
};
|
|
7144
7144
|
CProgressBar.displayName = 'CProgressBar';
|
|
7145
7145
|
|
|
@@ -7151,12 +7151,12 @@ var CProgress = forwardRef(function (_a, ref) {
|
|
|
7151
7151
|
}, className), style: height ? { height: "".concat(height, "px") } : {}, ref: ref }, value ? (React__default.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
|
|
7152
7152
|
});
|
|
7153
7153
|
CProgress.propTypes = {
|
|
7154
|
-
children:
|
|
7155
|
-
className:
|
|
7156
|
-
height:
|
|
7157
|
-
thin:
|
|
7158
|
-
value:
|
|
7159
|
-
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,
|
|
7160
7160
|
};
|
|
7161
7161
|
CProgress.displayName = 'CProgress';
|
|
7162
7162
|
|
|
@@ -7204,16 +7204,16 @@ var CPopover = function (_a) {
|
|
|
7204
7204
|
React__default.createElement("div", { className: "popover-body" }, content))); }), document.body)));
|
|
7205
7205
|
};
|
|
7206
7206
|
CPopover.propTypes = {
|
|
7207
|
-
children:
|
|
7208
|
-
className:
|
|
7209
|
-
content:
|
|
7210
|
-
offset:
|
|
7211
|
-
onHide:
|
|
7212
|
-
onShow:
|
|
7213
|
-
placement:
|
|
7214
|
-
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]),
|
|
7215
7215
|
trigger: triggerPropType,
|
|
7216
|
-
visible:
|
|
7216
|
+
visible: PropTypes.bool,
|
|
7217
7217
|
};
|
|
7218
7218
|
CPopover.displayName = 'CPopover';
|
|
7219
7219
|
|
|
@@ -7307,17 +7307,17 @@ var CSidebar = forwardRef(function (_a, ref) {
|
|
|
7307
7307
|
createPortal(React__default.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body)));
|
|
7308
7308
|
});
|
|
7309
7309
|
CSidebar.propTypes = {
|
|
7310
|
-
children:
|
|
7311
|
-
className:
|
|
7312
|
-
narrow:
|
|
7313
|
-
onHide:
|
|
7314
|
-
onShow:
|
|
7315
|
-
onVisibleChange:
|
|
7316
|
-
overlaid:
|
|
7317
|
-
position:
|
|
7318
|
-
size:
|
|
7319
|
-
unfoldable:
|
|
7320
|
-
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,
|
|
7321
7321
|
};
|
|
7322
7322
|
CSidebar.displayName = 'CSidebar';
|
|
7323
7323
|
|
|
@@ -7326,8 +7326,8 @@ var CSidebarBrand = forwardRef(function (_a, ref) {
|
|
|
7326
7326
|
return (React__default.createElement("div", __assign({ className: classNames('sidebar-brand', className), ref: ref }, rest), children));
|
|
7327
7327
|
});
|
|
7328
7328
|
CSidebarBrand.propTypes = {
|
|
7329
|
-
children:
|
|
7330
|
-
className:
|
|
7329
|
+
children: PropTypes.node,
|
|
7330
|
+
className: PropTypes.string,
|
|
7331
7331
|
};
|
|
7332
7332
|
CSidebarBrand.displayName = 'CSidebarBrand';
|
|
7333
7333
|
|
|
@@ -7336,8 +7336,8 @@ var CSidebarFooter = forwardRef(function (_a, ref) {
|
|
|
7336
7336
|
return (React__default.createElement("div", __assign({ className: classNames('sidebar-footer', className), ref: ref }, rest), children));
|
|
7337
7337
|
});
|
|
7338
7338
|
CSidebarFooter.propTypes = {
|
|
7339
|
-
children:
|
|
7340
|
-
className:
|
|
7339
|
+
children: PropTypes.node,
|
|
7340
|
+
className: PropTypes.string,
|
|
7341
7341
|
};
|
|
7342
7342
|
CSidebarFooter.displayName = 'CSidebarFooter';
|
|
7343
7343
|
|
|
@@ -7346,8 +7346,8 @@ var CSidebarToggler = forwardRef(function (_a, ref) {
|
|
|
7346
7346
|
return (React__default.createElement("button", __assign({ className: classNames('sidebar-toggler', className), ref: ref }, rest), children));
|
|
7347
7347
|
});
|
|
7348
7348
|
CSidebarToggler.propTypes = {
|
|
7349
|
-
children:
|
|
7350
|
-
className:
|
|
7349
|
+
children: PropTypes.node,
|
|
7350
|
+
className: PropTypes.string,
|
|
7351
7351
|
};
|
|
7352
7352
|
CSidebarToggler.displayName = 'CSidebarToggler';
|
|
7353
7353
|
|
|
@@ -7356,8 +7356,8 @@ var CSidebarHeader = forwardRef(function (_a, ref) {
|
|
|
7356
7356
|
return (React__default.createElement("div", __assign({ className: classNames('sidebar-header', className), ref: ref }, rest), children));
|
|
7357
7357
|
});
|
|
7358
7358
|
CSidebarHeader.propTypes = {
|
|
7359
|
-
children:
|
|
7360
|
-
className:
|
|
7359
|
+
children: PropTypes.node,
|
|
7360
|
+
className: PropTypes.string,
|
|
7361
7361
|
};
|
|
7362
7362
|
CSidebarHeader.displayName = 'CSidebarHeader';
|
|
7363
7363
|
|
|
@@ -7367,12 +7367,12 @@ var CSpinner = forwardRef(function (_a, ref) {
|
|
|
7367
7367
|
React__default.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
|
|
7368
7368
|
});
|
|
7369
7369
|
CSpinner.propTypes = {
|
|
7370
|
-
className:
|
|
7370
|
+
className: PropTypes.string,
|
|
7371
7371
|
color: colorPropType,
|
|
7372
|
-
component:
|
|
7373
|
-
size:
|
|
7374
|
-
variant:
|
|
7375
|
-
visuallyHiddenLabel:
|
|
7372
|
+
component: PropTypes.string,
|
|
7373
|
+
size: PropTypes.oneOf(['sm']),
|
|
7374
|
+
variant: PropTypes.oneOf(['border', 'grow']),
|
|
7375
|
+
visuallyHiddenLabel: PropTypes.string,
|
|
7376
7376
|
};
|
|
7377
7377
|
CSpinner.displayName = 'CSpinner';
|
|
7378
7378
|
|
|
@@ -7384,8 +7384,8 @@ var CTableHead = forwardRef(function (_a, ref) {
|
|
|
7384
7384
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7385
7385
|
});
|
|
7386
7386
|
CTableHead.propTypes = {
|
|
7387
|
-
children:
|
|
7388
|
-
className:
|
|
7387
|
+
children: PropTypes.node,
|
|
7388
|
+
className: PropTypes.string,
|
|
7389
7389
|
color: colorPropType,
|
|
7390
7390
|
};
|
|
7391
7391
|
CTableHead.displayName = 'CTableHead';
|
|
@@ -7398,8 +7398,8 @@ var CTableHeaderCell = forwardRef(function (_a, ref) {
|
|
|
7398
7398
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7399
7399
|
});
|
|
7400
7400
|
CTableHeaderCell.propTypes = {
|
|
7401
|
-
children:
|
|
7402
|
-
className:
|
|
7401
|
+
children: PropTypes.node,
|
|
7402
|
+
className: PropTypes.string,
|
|
7403
7403
|
color: colorPropType,
|
|
7404
7404
|
};
|
|
7405
7405
|
CTableHeaderCell.displayName = 'CTableHeaderCell';
|
|
@@ -7412,8 +7412,8 @@ var CTableBody = forwardRef(function (_a, ref) {
|
|
|
7412
7412
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7413
7413
|
});
|
|
7414
7414
|
CTableBody.propTypes = {
|
|
7415
|
-
children:
|
|
7416
|
-
className:
|
|
7415
|
+
children: PropTypes.node,
|
|
7416
|
+
className: PropTypes.string,
|
|
7417
7417
|
color: colorPropType,
|
|
7418
7418
|
};
|
|
7419
7419
|
CTableBody.displayName = 'CTableBody';
|
|
@@ -7429,10 +7429,10 @@ var CTableDataCell = forwardRef(function (_a, ref) {
|
|
|
7429
7429
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7430
7430
|
});
|
|
7431
7431
|
CTableDataCell.propTypes = {
|
|
7432
|
-
active:
|
|
7433
|
-
align:
|
|
7434
|
-
children:
|
|
7435
|
-
className:
|
|
7432
|
+
active: PropTypes.bool,
|
|
7433
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7434
|
+
children: PropTypes.node,
|
|
7435
|
+
className: PropTypes.string,
|
|
7436
7436
|
color: colorPropType,
|
|
7437
7437
|
};
|
|
7438
7438
|
CTableDataCell.displayName = 'CTableDataCell';
|
|
@@ -7447,10 +7447,10 @@ var CTableRow = forwardRef(function (_a, ref) {
|
|
|
7447
7447
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7448
7448
|
});
|
|
7449
7449
|
CTableRow.propTypes = {
|
|
7450
|
-
active:
|
|
7451
|
-
align:
|
|
7452
|
-
children:
|
|
7453
|
-
className:
|
|
7450
|
+
active: PropTypes.bool,
|
|
7451
|
+
align: PropTypes.oneOf(['bottom', 'middle', 'top']),
|
|
7452
|
+
children: PropTypes.node,
|
|
7453
|
+
className: PropTypes.string,
|
|
7454
7454
|
color: colorPropType,
|
|
7455
7455
|
};
|
|
7456
7456
|
CTableRow.displayName = 'CTableRow';
|
|
@@ -7463,8 +7463,8 @@ var CTableFoot = forwardRef(function (_a, ref) {
|
|
|
7463
7463
|
_b), className) || undefined }, rest, { ref: ref }), children));
|
|
7464
7464
|
});
|
|
7465
7465
|
CTableFoot.propTypes = {
|
|
7466
|
-
children:
|
|
7467
|
-
className:
|
|
7466
|
+
children: PropTypes.node,
|
|
7467
|
+
className: PropTypes.string,
|
|
7468
7468
|
color: colorPropType,
|
|
7469
7469
|
};
|
|
7470
7470
|
CTableFoot.displayName = 'CTableFoot';
|
|
@@ -7474,7 +7474,7 @@ var CTableCaption = forwardRef(function (_a, ref) {
|
|
|
7474
7474
|
return (React__default.createElement("caption", __assign({}, props, { ref: ref }), children));
|
|
7475
7475
|
});
|
|
7476
7476
|
CTableCaption.propTypes = {
|
|
7477
|
-
children:
|
|
7477
|
+
children: PropTypes.node,
|
|
7478
7478
|
};
|
|
7479
7479
|
CTableCaption.displayName = 'CTableCaption';
|
|
7480
7480
|
|
|
@@ -7483,10 +7483,10 @@ var CTableResponsiveWrapper = function (_a) {
|
|
|
7483
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));
|
|
7484
7484
|
};
|
|
7485
7485
|
CTableResponsiveWrapper.propTypes = {
|
|
7486
|
-
children:
|
|
7487
|
-
responsive:
|
|
7488
|
-
|
|
7489
|
-
|
|
7486
|
+
children: PropTypes.node,
|
|
7487
|
+
responsive: PropTypes.oneOfType([
|
|
7488
|
+
PropTypes.bool,
|
|
7489
|
+
PropTypes.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7490
7490
|
]),
|
|
7491
7491
|
};
|
|
7492
7492
|
CTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper';
|
|
@@ -7541,28 +7541,28 @@ var CTable = forwardRef(function (_a, ref) {
|
|
|
7541
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)); })))))));
|
|
7542
7542
|
});
|
|
7543
7543
|
CTable.propTypes = {
|
|
7544
|
-
align:
|
|
7545
|
-
borderColor:
|
|
7546
|
-
bordered:
|
|
7547
|
-
borderless:
|
|
7548
|
-
caption:
|
|
7549
|
-
captionTop:
|
|
7550
|
-
children:
|
|
7551
|
-
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,
|
|
7552
7552
|
color: colorPropType,
|
|
7553
|
-
columns:
|
|
7554
|
-
footer:
|
|
7555
|
-
hover:
|
|
7556
|
-
items:
|
|
7557
|
-
responsive:
|
|
7558
|
-
|
|
7559
|
-
|
|
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']),
|
|
7560
7560
|
]),
|
|
7561
|
-
small:
|
|
7562
|
-
striped:
|
|
7563
|
-
stripedColumns:
|
|
7564
|
-
tableFootProps:
|
|
7565
|
-
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)),
|
|
7566
7566
|
};
|
|
7567
7567
|
CTable.displayName = 'CTable';
|
|
7568
7568
|
|
|
@@ -7571,8 +7571,8 @@ var CTabContent = forwardRef(function (_a, ref) {
|
|
|
7571
7571
|
return (React__default.createElement("div", __assign({ className: classNames('tab-content', className) }, rest, { ref: ref }), children));
|
|
7572
7572
|
});
|
|
7573
7573
|
CTabContent.propTypes = {
|
|
7574
|
-
children:
|
|
7575
|
-
className:
|
|
7574
|
+
children: PropTypes.node,
|
|
7575
|
+
className: PropTypes.string,
|
|
7576
7576
|
};
|
|
7577
7577
|
CTabContent.displayName = 'CTabContent';
|
|
7578
7578
|
|
|
@@ -7586,11 +7586,11 @@ var CTabPane = forwardRef(function (_a, ref) {
|
|
|
7586
7586
|
}, className) }, rest, { ref: forkedRef }), children)); }));
|
|
7587
7587
|
});
|
|
7588
7588
|
CTabPane.propTypes = {
|
|
7589
|
-
children:
|
|
7590
|
-
className:
|
|
7591
|
-
onHide:
|
|
7592
|
-
onShow:
|
|
7593
|
-
visible:
|
|
7589
|
+
children: PropTypes.node,
|
|
7590
|
+
className: PropTypes.string,
|
|
7591
|
+
onHide: PropTypes.func,
|
|
7592
|
+
onShow: PropTypes.func,
|
|
7593
|
+
visible: PropTypes.bool,
|
|
7594
7594
|
};
|
|
7595
7595
|
CTabPane.displayName = 'CTabPane';
|
|
7596
7596
|
|
|
@@ -7635,17 +7635,17 @@ var CToast = forwardRef(function (_a, ref) {
|
|
|
7635
7635
|
}));
|
|
7636
7636
|
});
|
|
7637
7637
|
CToast.propTypes = {
|
|
7638
|
-
animation:
|
|
7639
|
-
autohide:
|
|
7640
|
-
children:
|
|
7641
|
-
className:
|
|
7638
|
+
animation: PropTypes.bool,
|
|
7639
|
+
autohide: PropTypes.bool,
|
|
7640
|
+
children: PropTypes.node,
|
|
7641
|
+
className: PropTypes.string,
|
|
7642
7642
|
color: colorPropType,
|
|
7643
|
-
delay:
|
|
7644
|
-
index:
|
|
7645
|
-
key:
|
|
7646
|
-
onClose:
|
|
7647
|
-
onShow:
|
|
7648
|
-
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,
|
|
7649
7649
|
};
|
|
7650
7650
|
CToast.displayName = 'CToast';
|
|
7651
7651
|
|
|
@@ -7654,8 +7654,8 @@ var CToastBody = forwardRef(function (_a, ref) {
|
|
|
7654
7654
|
return (React__default.createElement("div", __assign({ className: classNames('toast-body', className) }, rest, { ref: ref }), children));
|
|
7655
7655
|
});
|
|
7656
7656
|
CToastBody.propTypes = {
|
|
7657
|
-
children:
|
|
7658
|
-
className:
|
|
7657
|
+
children: PropTypes.node,
|
|
7658
|
+
className: PropTypes.string,
|
|
7659
7659
|
};
|
|
7660
7660
|
CToastBody.displayName = 'CToastBody';
|
|
7661
7661
|
|
|
@@ -7664,7 +7664,7 @@ var CToastClose = forwardRef(function (_a, ref) {
|
|
|
7664
7664
|
var setVisible = useContext(CToastContext).setVisible;
|
|
7665
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 })));
|
|
7666
7666
|
});
|
|
7667
|
-
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component:
|
|
7667
|
+
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: PropTypes.elementType });
|
|
7668
7668
|
CToastClose.displayName = 'CToastClose';
|
|
7669
7669
|
|
|
7670
7670
|
var CToastHeader = forwardRef(function (_a, ref) {
|
|
@@ -7674,9 +7674,9 @@ var CToastHeader = forwardRef(function (_a, ref) {
|
|
|
7674
7674
|
closeButton && React__default.createElement(CToastClose, null)));
|
|
7675
7675
|
});
|
|
7676
7676
|
CToastHeader.propTypes = {
|
|
7677
|
-
children:
|
|
7678
|
-
className:
|
|
7679
|
-
closeButton:
|
|
7677
|
+
children: PropTypes.node,
|
|
7678
|
+
className: PropTypes.string,
|
|
7679
|
+
closeButton: PropTypes.bool,
|
|
7680
7680
|
};
|
|
7681
7681
|
CToastHeader.displayName = 'CToastHeader';
|
|
7682
7682
|
|
|
@@ -7712,11 +7712,11 @@ var CToaster = forwardRef(function (_a, ref) {
|
|
|
7712
7712
|
toasts.map(function (toast) { return React__default.cloneElement(toast, { visible: true }); }))) : null));
|
|
7713
7713
|
});
|
|
7714
7714
|
CToaster.propTypes = {
|
|
7715
|
-
children:
|
|
7716
|
-
className:
|
|
7717
|
-
placement:
|
|
7718
|
-
|
|
7719
|
-
|
|
7715
|
+
children: PropTypes.node,
|
|
7716
|
+
className: PropTypes.string,
|
|
7717
|
+
placement: PropTypes.oneOfType([
|
|
7718
|
+
PropTypes.string,
|
|
7719
|
+
PropTypes.oneOf([
|
|
7720
7720
|
'top-start',
|
|
7721
7721
|
'top-center',
|
|
7722
7722
|
'top-end',
|
|
@@ -7728,7 +7728,7 @@ CToaster.propTypes = {
|
|
|
7728
7728
|
'bottom-end',
|
|
7729
7729
|
]),
|
|
7730
7730
|
]),
|
|
7731
|
-
push:
|
|
7731
|
+
push: PropTypes.any,
|
|
7732
7732
|
};
|
|
7733
7733
|
CToaster.displayName = 'CToaster';
|
|
7734
7734
|
|
|
@@ -7775,14 +7775,14 @@ var CTooltip = function (_a) {
|
|
|
7775
7775
|
React__default.createElement("div", { className: "tooltip-inner" }, content))); }), document.body)));
|
|
7776
7776
|
};
|
|
7777
7777
|
CTooltip.propTypes = {
|
|
7778
|
-
children:
|
|
7779
|
-
content:
|
|
7780
|
-
offset:
|
|
7781
|
-
onHide:
|
|
7782
|
-
onShow:
|
|
7783
|
-
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']),
|
|
7784
7784
|
trigger: triggerPropType,
|
|
7785
|
-
visible:
|
|
7785
|
+
visible: PropTypes.bool,
|
|
7786
7786
|
};
|
|
7787
7787
|
CTooltip.displayName = 'CTooltip';
|
|
7788
7788
|
|
|
@@ -7798,12 +7798,12 @@ var CWidgetStatsA = forwardRef(function (_a, ref) {
|
|
|
7798
7798
|
chart));
|
|
7799
7799
|
});
|
|
7800
7800
|
CWidgetStatsA.propTypes = {
|
|
7801
|
-
action:
|
|
7802
|
-
chart:
|
|
7803
|
-
className:
|
|
7801
|
+
action: PropTypes.node,
|
|
7802
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7803
|
+
className: PropTypes.string,
|
|
7804
7804
|
color: colorPropType,
|
|
7805
|
-
title:
|
|
7806
|
-
value:
|
|
7805
|
+
title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7806
|
+
value: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.number]),
|
|
7807
7807
|
};
|
|
7808
7808
|
CWidgetStatsA.displayName = 'CWidgetStatsA';
|
|
7809
7809
|
|
|
@@ -7817,13 +7817,13 @@ var CWidgetStatsB = forwardRef(function (_a, ref) {
|
|
|
7817
7817
|
text && (React__default.createElement("small", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text)))));
|
|
7818
7818
|
});
|
|
7819
7819
|
CWidgetStatsB.propTypes = {
|
|
7820
|
-
className:
|
|
7820
|
+
className: PropTypes.string,
|
|
7821
7821
|
color: colorPropType,
|
|
7822
|
-
inverse:
|
|
7823
|
-
progress:
|
|
7824
|
-
text:
|
|
7825
|
-
title:
|
|
7826
|
-
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]),
|
|
7827
7827
|
};
|
|
7828
7828
|
CWidgetStatsB.displayName = 'CWidgetCWidgetStatsB';
|
|
7829
7829
|
|
|
@@ -7837,13 +7837,13 @@ var CWidgetStatsC = forwardRef(function (_a, ref) {
|
|
|
7837
7837
|
React__default.createElement(CProgress, __assign({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
|
|
7838
7838
|
});
|
|
7839
7839
|
CWidgetStatsC.propTypes = {
|
|
7840
|
-
className:
|
|
7840
|
+
className: PropTypes.string,
|
|
7841
7841
|
color: colorPropType,
|
|
7842
|
-
icon:
|
|
7843
|
-
inverse:
|
|
7844
|
-
progress:
|
|
7845
|
-
title:
|
|
7846
|
-
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]),
|
|
7847
7847
|
};
|
|
7848
7848
|
CWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC';
|
|
7849
7849
|
|
|
@@ -7866,11 +7866,11 @@ var CWidgetStatsD = forwardRef(function (_a, ref) {
|
|
|
7866
7866
|
}))));
|
|
7867
7867
|
});
|
|
7868
7868
|
CWidgetStatsD.propTypes = {
|
|
7869
|
-
chart:
|
|
7870
|
-
className:
|
|
7869
|
+
chart: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7870
|
+
className: PropTypes.string,
|
|
7871
7871
|
color: colorPropType,
|
|
7872
|
-
icon:
|
|
7873
|
-
values:
|
|
7872
|
+
icon: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|
|
7873
|
+
values: PropTypes.arrayOf(PropTypes.any),
|
|
7874
7874
|
};
|
|
7875
7875
|
CWidgetStatsD.displayName = 'CWidgetStatsD';
|
|
7876
7876
|
|
|
@@ -7883,11 +7883,11 @@ var CWidgetStatsE = forwardRef(function (_a, ref) {
|
|
|
7883
7883
|
chart)));
|
|
7884
7884
|
});
|
|
7885
7885
|
CWidgetStatsE.propTypes = {
|
|
7886
|
-
children:
|
|
7887
|
-
chart:
|
|
7888
|
-
className:
|
|
7889
|
-
title:
|
|
7890
|
-
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]),
|
|
7891
7891
|
};
|
|
7892
7892
|
CWidgetStatsE.displayName = 'CWidgetStatsE';
|
|
7893
7893
|
|
|
@@ -7902,13 +7902,13 @@ var CWidgetStatsF = forwardRef(function (_a, ref) {
|
|
|
7902
7902
|
footer && React__default.createElement(CCardFooter, null, footer)));
|
|
7903
7903
|
});
|
|
7904
7904
|
CWidgetStatsF.propTypes = {
|
|
7905
|
-
className:
|
|
7905
|
+
className: PropTypes.string,
|
|
7906
7906
|
color: colorPropType,
|
|
7907
|
-
footer:
|
|
7908
|
-
icon:
|
|
7909
|
-
padding:
|
|
7910
|
-
title:
|
|
7911
|
-
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]),
|
|
7912
7912
|
};
|
|
7913
7913
|
CWidgetStatsF.displayName = 'CWidgetStatsF';
|
|
7914
7914
|
|