@coreui/react 4.4.1 → 4.5.1
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/carousel/CCarousel.d.ts +6 -0
- package/dist/components/form/CFormControlWrapper.d.ts +6 -0
- package/dist/components/popover/CPopover.d.ts +6 -3
- package/dist/components/tooltip/CTooltip.d.ts +6 -3
- package/dist/index.es.js +659 -626
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +659 -626
- package/dist/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/isVisible.d.ts +2 -0
- package/package.json +3 -3
- package/src/components/carousel/CCarousel.tsx +38 -10
- package/src/components/form/CFormControlWrapper.tsx +20 -1
- package/src/components/form/CFormInput.tsx +2 -0
- package/src/components/form/CFormSelect.tsx +2 -0
- package/src/components/form/CFormTextarea.tsx +2 -0
- package/src/components/modal/CModal.tsx +4 -1
- package/src/components/popover/CPopover.tsx +12 -9
- package/src/components/sidebar/CSidebar.tsx +1 -10
- package/src/components/tooltip/CTooltip.tsx +14 -7
- package/src/utils/index.ts +3 -0
- package/src/utils/isVisible.ts +11 -0
package/dist/index.js
CHANGED
|
@@ -71,9 +71,17 @@ function __spreadArray(to, from, pack) {
|
|
|
71
71
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
var
|
|
74
|
+
var propTypesExports = {};
|
|
75
|
+
var propTypes = {
|
|
76
|
+
get exports(){ return propTypesExports; },
|
|
77
|
+
set exports(v){ propTypesExports = v; },
|
|
78
|
+
};
|
|
75
79
|
|
|
76
|
-
var
|
|
80
|
+
var reactIsExports = {};
|
|
81
|
+
var reactIs = {
|
|
82
|
+
get exports(){ return reactIsExports; },
|
|
83
|
+
set exports(v){ reactIsExports = v; },
|
|
84
|
+
};
|
|
77
85
|
|
|
78
86
|
var reactIs_production_min = {};
|
|
79
87
|
|
|
@@ -292,7 +300,7 @@ function requireReactIs_development () {
|
|
|
292
300
|
var hasRequiredReactIs;
|
|
293
301
|
|
|
294
302
|
function requireReactIs () {
|
|
295
|
-
if (hasRequiredReactIs) return
|
|
303
|
+
if (hasRequiredReactIs) return reactIsExports;
|
|
296
304
|
hasRequiredReactIs = 1;
|
|
297
305
|
(function (module) {
|
|
298
306
|
|
|
@@ -302,7 +310,7 @@ function requireReactIs () {
|
|
|
302
310
|
module.exports = requireReactIs_development();
|
|
303
311
|
}
|
|
304
312
|
} (reactIs));
|
|
305
|
-
return
|
|
313
|
+
return reactIsExports;
|
|
306
314
|
}
|
|
307
315
|
|
|
308
316
|
/*
|
|
@@ -1253,7 +1261,11 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1253
1261
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1254
1262
|
}
|
|
1255
1263
|
|
|
1256
|
-
var
|
|
1264
|
+
var classnamesExports = {};
|
|
1265
|
+
var classnames = {
|
|
1266
|
+
get exports(){ return classnamesExports; },
|
|
1267
|
+
set exports(v){ classnamesExports = v; },
|
|
1268
|
+
};
|
|
1257
1269
|
|
|
1258
1270
|
/*!
|
|
1259
1271
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -1312,7 +1324,7 @@ var classnames = {exports: {}};
|
|
|
1312
1324
|
}());
|
|
1313
1325
|
} (classnames));
|
|
1314
1326
|
|
|
1315
|
-
var classNames =
|
|
1327
|
+
var classNames = classnamesExports;
|
|
1316
1328
|
|
|
1317
1329
|
var CAccordionContext = React.createContext({});
|
|
1318
1330
|
var CAccordion = React.forwardRef(function (_a, ref) {
|
|
@@ -1323,11 +1335,11 @@ var CAccordion = React.forwardRef(function (_a, ref) {
|
|
|
1323
1335
|
React.createElement(CAccordionContext.Provider, { value: { _activeItemKey: _activeItemKey, alwaysOpen: alwaysOpen, setActiveKey: setActiveKey } }, children)));
|
|
1324
1336
|
});
|
|
1325
1337
|
CAccordion.propTypes = {
|
|
1326
|
-
alwaysOpen:
|
|
1327
|
-
activeItemKey:
|
|
1328
|
-
children:
|
|
1329
|
-
className:
|
|
1330
|
-
flush:
|
|
1338
|
+
alwaysOpen: propTypesExports.bool,
|
|
1339
|
+
activeItemKey: propTypesExports.oneOfType([propTypesExports.number, propTypesExports.string]),
|
|
1340
|
+
children: propTypesExports.node,
|
|
1341
|
+
className: propTypesExports.string,
|
|
1342
|
+
flush: propTypesExports.bool,
|
|
1331
1343
|
};
|
|
1332
1344
|
CAccordion.displayName = 'CAccordion';
|
|
1333
1345
|
|
|
@@ -1348,9 +1360,9 @@ var CAccordionItem = React.forwardRef(function (_a, ref) {
|
|
|
1348
1360
|
React.createElement(CAccordionItemContext.Provider, { value: { setVisible: setVisible, visible: visible } }, children)));
|
|
1349
1361
|
});
|
|
1350
1362
|
CAccordionItem.propTypes = {
|
|
1351
|
-
children:
|
|
1352
|
-
className:
|
|
1353
|
-
itemKey:
|
|
1363
|
+
children: propTypesExports.node,
|
|
1364
|
+
className: propTypesExports.string,
|
|
1365
|
+
itemKey: propTypesExports.oneOfType([propTypesExports.number, propTypesExports.string]),
|
|
1354
1366
|
};
|
|
1355
1367
|
CAccordionItem.displayName = 'CAccordionItem';
|
|
1356
1368
|
|
|
@@ -1443,22 +1455,22 @@ var config = {
|
|
|
1443
1455
|
disabled: false
|
|
1444
1456
|
};
|
|
1445
1457
|
|
|
1446
|
-
var timeoutsShape = process.env.NODE_ENV !== 'production' ?
|
|
1447
|
-
enter:
|
|
1448
|
-
exit:
|
|
1449
|
-
appear:
|
|
1458
|
+
var timeoutsShape = process.env.NODE_ENV !== 'production' ? propTypesExports.oneOfType([propTypesExports.number, propTypesExports.shape({
|
|
1459
|
+
enter: propTypesExports.number,
|
|
1460
|
+
exit: propTypesExports.number,
|
|
1461
|
+
appear: propTypesExports.number
|
|
1450
1462
|
}).isRequired]) : null;
|
|
1451
|
-
var classNamesShape = process.env.NODE_ENV !== 'production' ?
|
|
1452
|
-
enter:
|
|
1453
|
-
exit:
|
|
1454
|
-
active:
|
|
1455
|
-
}),
|
|
1456
|
-
enter:
|
|
1457
|
-
enterDone:
|
|
1458
|
-
enterActive:
|
|
1459
|
-
exit:
|
|
1460
|
-
exitDone:
|
|
1461
|
-
exitActive:
|
|
1463
|
+
var classNamesShape = process.env.NODE_ENV !== 'production' ? propTypesExports.oneOfType([propTypesExports.string, propTypesExports.shape({
|
|
1464
|
+
enter: propTypesExports.string,
|
|
1465
|
+
exit: propTypesExports.string,
|
|
1466
|
+
active: propTypesExports.string
|
|
1467
|
+
}), propTypesExports.shape({
|
|
1468
|
+
enter: propTypesExports.string,
|
|
1469
|
+
enterDone: propTypesExports.string,
|
|
1470
|
+
enterActive: propTypesExports.string,
|
|
1471
|
+
exit: propTypesExports.string,
|
|
1472
|
+
exitDone: propTypesExports.string,
|
|
1473
|
+
exitActive: propTypesExports.string
|
|
1462
1474
|
})]) : null;
|
|
1463
1475
|
|
|
1464
1476
|
var TransitionGroupContext = React.createContext(null);
|
|
@@ -1885,10 +1897,10 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1885
1897
|
* (see
|
|
1886
1898
|
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
1887
1899
|
*/
|
|
1888
|
-
nodeRef:
|
|
1889
|
-
current: typeof Element === 'undefined' ?
|
|
1900
|
+
nodeRef: propTypesExports.shape({
|
|
1901
|
+
current: typeof Element === 'undefined' ? propTypesExports.any : function (propValue, key, componentName, location, propFullName, secret) {
|
|
1890
1902
|
var value = propValue[key];
|
|
1891
|
-
return
|
|
1903
|
+
return propTypesExports.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
1892
1904
|
}
|
|
1893
1905
|
}),
|
|
1894
1906
|
|
|
@@ -1906,12 +1918,12 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1906
1918
|
* </Transition>
|
|
1907
1919
|
* ```
|
|
1908
1920
|
*/
|
|
1909
|
-
children:
|
|
1921
|
+
children: propTypesExports.oneOfType([propTypesExports.func.isRequired, propTypesExports.element.isRequired]).isRequired,
|
|
1910
1922
|
|
|
1911
1923
|
/**
|
|
1912
1924
|
* Show the component; triggers the enter or exit states
|
|
1913
1925
|
*/
|
|
1914
|
-
in:
|
|
1926
|
+
in: propTypesExports.bool,
|
|
1915
1927
|
|
|
1916
1928
|
/**
|
|
1917
1929
|
* By default the child component is mounted immediately along with
|
|
@@ -1919,13 +1931,13 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1919
1931
|
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
1920
1932
|
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
1921
1933
|
*/
|
|
1922
|
-
mountOnEnter:
|
|
1934
|
+
mountOnEnter: propTypesExports.bool,
|
|
1923
1935
|
|
|
1924
1936
|
/**
|
|
1925
1937
|
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
1926
1938
|
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
1927
1939
|
*/
|
|
1928
|
-
unmountOnExit:
|
|
1940
|
+
unmountOnExit: propTypesExports.bool,
|
|
1929
1941
|
|
|
1930
1942
|
/**
|
|
1931
1943
|
* By default the child component does not perform the enter transition when
|
|
@@ -1938,17 +1950,17 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1938
1950
|
* > additional `.appear-*` classes, that way you can choose to style it
|
|
1939
1951
|
* > differently.
|
|
1940
1952
|
*/
|
|
1941
|
-
appear:
|
|
1953
|
+
appear: propTypesExports.bool,
|
|
1942
1954
|
|
|
1943
1955
|
/**
|
|
1944
1956
|
* Enable or disable enter transitions.
|
|
1945
1957
|
*/
|
|
1946
|
-
enter:
|
|
1958
|
+
enter: propTypesExports.bool,
|
|
1947
1959
|
|
|
1948
1960
|
/**
|
|
1949
1961
|
* Enable or disable exit transitions.
|
|
1950
1962
|
*/
|
|
1951
|
-
exit:
|
|
1963
|
+
exit: propTypesExports.bool,
|
|
1952
1964
|
|
|
1953
1965
|
/**
|
|
1954
1966
|
* The duration of the transition, in milliseconds.
|
|
@@ -2001,7 +2013,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2001
2013
|
* }}
|
|
2002
2014
|
* ```
|
|
2003
2015
|
*/
|
|
2004
|
-
addEndListener:
|
|
2016
|
+
addEndListener: propTypesExports.func,
|
|
2005
2017
|
|
|
2006
2018
|
/**
|
|
2007
2019
|
* Callback fired before the "entering" status is applied. An extra parameter
|
|
@@ -2011,7 +2023,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2011
2023
|
*
|
|
2012
2024
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2013
2025
|
*/
|
|
2014
|
-
onEnter:
|
|
2026
|
+
onEnter: propTypesExports.func,
|
|
2015
2027
|
|
|
2016
2028
|
/**
|
|
2017
2029
|
* Callback fired after the "entering" status is applied. An extra parameter
|
|
@@ -2021,7 +2033,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2021
2033
|
*
|
|
2022
2034
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2023
2035
|
*/
|
|
2024
|
-
onEntering:
|
|
2036
|
+
onEntering: propTypesExports.func,
|
|
2025
2037
|
|
|
2026
2038
|
/**
|
|
2027
2039
|
* Callback fired after the "entered" status is applied. An extra parameter
|
|
@@ -2031,7 +2043,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2031
2043
|
*
|
|
2032
2044
|
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
2033
2045
|
*/
|
|
2034
|
-
onEntered:
|
|
2046
|
+
onEntered: propTypesExports.func,
|
|
2035
2047
|
|
|
2036
2048
|
/**
|
|
2037
2049
|
* Callback fired before the "exiting" status is applied.
|
|
@@ -2040,7 +2052,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2040
2052
|
*
|
|
2041
2053
|
* @type Function(node: HtmlElement) -> void
|
|
2042
2054
|
*/
|
|
2043
|
-
onExit:
|
|
2055
|
+
onExit: propTypesExports.func,
|
|
2044
2056
|
|
|
2045
2057
|
/**
|
|
2046
2058
|
* Callback fired after the "exiting" status is applied.
|
|
@@ -2049,7 +2061,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2049
2061
|
*
|
|
2050
2062
|
* @type Function(node: HtmlElement) -> void
|
|
2051
2063
|
*/
|
|
2052
|
-
onExiting:
|
|
2064
|
+
onExiting: propTypesExports.func,
|
|
2053
2065
|
|
|
2054
2066
|
/**
|
|
2055
2067
|
* Callback fired after the "exited" status is applied.
|
|
@@ -2058,7 +2070,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2058
2070
|
*
|
|
2059
2071
|
* @type Function(node: HtmlElement) -> void
|
|
2060
2072
|
*/
|
|
2061
|
-
onExited:
|
|
2073
|
+
onExited: propTypesExports.func
|
|
2062
2074
|
} : {}; // Name the function so it is clearer in the documentation
|
|
2063
2075
|
|
|
2064
2076
|
function noop() {}
|
|
@@ -2432,7 +2444,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2432
2444
|
*
|
|
2433
2445
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2434
2446
|
*/
|
|
2435
|
-
onEnter:
|
|
2447
|
+
onEnter: propTypesExports.func,
|
|
2436
2448
|
|
|
2437
2449
|
/**
|
|
2438
2450
|
* A `<Transition>` callback fired immediately after the 'enter-active' or
|
|
@@ -2442,7 +2454,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2442
2454
|
*
|
|
2443
2455
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2444
2456
|
*/
|
|
2445
|
-
onEntering:
|
|
2457
|
+
onEntering: propTypesExports.func,
|
|
2446
2458
|
|
|
2447
2459
|
/**
|
|
2448
2460
|
* A `<Transition>` callback fired immediately after the 'enter' or
|
|
@@ -2452,7 +2464,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2452
2464
|
*
|
|
2453
2465
|
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
2454
2466
|
*/
|
|
2455
|
-
onEntered:
|
|
2467
|
+
onEntered: propTypesExports.func,
|
|
2456
2468
|
|
|
2457
2469
|
/**
|
|
2458
2470
|
* A `<Transition>` callback fired immediately after the 'exit' class is
|
|
@@ -2462,7 +2474,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2462
2474
|
*
|
|
2463
2475
|
* @type Function(node: HtmlElement)
|
|
2464
2476
|
*/
|
|
2465
|
-
onExit:
|
|
2477
|
+
onExit: propTypesExports.func,
|
|
2466
2478
|
|
|
2467
2479
|
/**
|
|
2468
2480
|
* A `<Transition>` callback fired immediately after the 'exit-active' is applied.
|
|
@@ -2471,7 +2483,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2471
2483
|
*
|
|
2472
2484
|
* @type Function(node: HtmlElement)
|
|
2473
2485
|
*/
|
|
2474
|
-
onExiting:
|
|
2486
|
+
onExiting: propTypesExports.func,
|
|
2475
2487
|
|
|
2476
2488
|
/**
|
|
2477
2489
|
* A `<Transition>` callback fired immediately after the 'exit' classes
|
|
@@ -2481,7 +2493,7 @@ CSSTransition.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, T
|
|
|
2481
2493
|
*
|
|
2482
2494
|
* @type Function(node: HtmlElement)
|
|
2483
2495
|
*/
|
|
2484
|
-
onExited:
|
|
2496
|
+
onExited: propTypesExports.func
|
|
2485
2497
|
}) : {};
|
|
2486
2498
|
|
|
2487
2499
|
function _assertThisInitialized(self) {
|
|
@@ -2759,7 +2771,7 @@ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2759
2771
|
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
2760
2772
|
* borks your css styles.
|
|
2761
2773
|
*/
|
|
2762
|
-
component:
|
|
2774
|
+
component: propTypesExports.any,
|
|
2763
2775
|
|
|
2764
2776
|
/**
|
|
2765
2777
|
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
@@ -2774,28 +2786,28 @@ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2774
2786
|
* the transition child as you change its content, this will cause
|
|
2775
2787
|
* `TransitionGroup` to transition the child out and back in.
|
|
2776
2788
|
*/
|
|
2777
|
-
children:
|
|
2789
|
+
children: propTypesExports.node,
|
|
2778
2790
|
|
|
2779
2791
|
/**
|
|
2780
2792
|
* A convenience prop that enables or disables appear animations
|
|
2781
2793
|
* for all children. Note that specifying this will override any defaults set
|
|
2782
2794
|
* on individual children Transitions.
|
|
2783
2795
|
*/
|
|
2784
|
-
appear:
|
|
2796
|
+
appear: propTypesExports.bool,
|
|
2785
2797
|
|
|
2786
2798
|
/**
|
|
2787
2799
|
* A convenience prop that enables or disables enter animations
|
|
2788
2800
|
* for all children. Note that specifying this will override any defaults set
|
|
2789
2801
|
* on individual children Transitions.
|
|
2790
2802
|
*/
|
|
2791
|
-
enter:
|
|
2803
|
+
enter: propTypesExports.bool,
|
|
2792
2804
|
|
|
2793
2805
|
/**
|
|
2794
2806
|
* A convenience prop that enables or disables exit animations
|
|
2795
2807
|
* for all children. Note that specifying this will override any defaults set
|
|
2796
2808
|
* on individual children Transitions.
|
|
2797
2809
|
*/
|
|
2798
|
-
exit:
|
|
2810
|
+
exit: propTypesExports.bool,
|
|
2799
2811
|
|
|
2800
2812
|
/**
|
|
2801
2813
|
* You may need to apply reactive updates to a child as it is exiting.
|
|
@@ -2807,7 +2819,7 @@ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
2807
2819
|
*
|
|
2808
2820
|
* @type Function(child: ReactElement) -> ReactElement
|
|
2809
2821
|
*/
|
|
2810
|
-
childFactory:
|
|
2822
|
+
childFactory: propTypesExports.func
|
|
2811
2823
|
} : {};
|
|
2812
2824
|
TransitionGroup.defaultProps = defaultProps;
|
|
2813
2825
|
|
|
@@ -2934,7 +2946,7 @@ var ReplaceTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
2934
2946
|
}(React.Component);
|
|
2935
2947
|
|
|
2936
2948
|
ReplaceTransition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2937
|
-
in:
|
|
2949
|
+
in: propTypesExports.bool.isRequired,
|
|
2938
2950
|
children: function children(props, propName) {
|
|
2939
2951
|
if (React.Children.count(props[propName]) !== 2) return new Error("\"" + propName + "\" must be exactly two transition components.");
|
|
2940
2952
|
return null;
|
|
@@ -3180,12 +3192,12 @@ SwitchTransition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3180
3192
|
*
|
|
3181
3193
|
* @type {'out-in'|'in-out'}
|
|
3182
3194
|
*/
|
|
3183
|
-
mode:
|
|
3195
|
+
mode: propTypesExports.oneOf([modes.in, modes.out]),
|
|
3184
3196
|
|
|
3185
3197
|
/**
|
|
3186
3198
|
* Any `Transition` or `CSSTransition` component.
|
|
3187
3199
|
*/
|
|
3188
|
-
children:
|
|
3200
|
+
children: propTypesExports.oneOfType([propTypesExports.element.isRequired])
|
|
3189
3201
|
} : {};
|
|
3190
3202
|
SwitchTransition.defaultProps = {
|
|
3191
3203
|
mode: modes.out
|
|
@@ -3296,12 +3308,12 @@ var CCollapse = React.forwardRef(function (_a, ref) {
|
|
|
3296
3308
|
}));
|
|
3297
3309
|
});
|
|
3298
3310
|
CCollapse.propTypes = {
|
|
3299
|
-
children:
|
|
3300
|
-
className:
|
|
3301
|
-
horizontal:
|
|
3302
|
-
onHide:
|
|
3303
|
-
onShow:
|
|
3304
|
-
visible:
|
|
3311
|
+
children: propTypesExports.node,
|
|
3312
|
+
className: propTypesExports.string,
|
|
3313
|
+
horizontal: propTypesExports.bool,
|
|
3314
|
+
onHide: propTypesExports.func,
|
|
3315
|
+
onShow: propTypesExports.func,
|
|
3316
|
+
visible: propTypesExports.bool,
|
|
3305
3317
|
};
|
|
3306
3318
|
CCollapse.displayName = 'CCollapse';
|
|
3307
3319
|
|
|
@@ -3313,8 +3325,8 @@ var CAccordionBody = React.forwardRef(function (_a, ref) {
|
|
|
3313
3325
|
React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children)));
|
|
3314
3326
|
});
|
|
3315
3327
|
CAccordionBody.propTypes = {
|
|
3316
|
-
children:
|
|
3317
|
-
className:
|
|
3328
|
+
children: propTypesExports.node,
|
|
3329
|
+
className: propTypesExports.string,
|
|
3318
3330
|
};
|
|
3319
3331
|
CAccordionBody.displayName = 'CAccordionBody';
|
|
3320
3332
|
|
|
@@ -3325,8 +3337,8 @@ var CAccordionButton = React.forwardRef(function (_a, ref) {
|
|
|
3325
3337
|
return (React.createElement("button", __assign({ type: "button", className: _className, "aria-expanded": !visible, onClick: function () { return setVisible(!visible); } }, rest, { ref: ref }), children));
|
|
3326
3338
|
});
|
|
3327
3339
|
CAccordionButton.propTypes = {
|
|
3328
|
-
children:
|
|
3329
|
-
className:
|
|
3340
|
+
children: propTypesExports.node,
|
|
3341
|
+
className: propTypesExports.string,
|
|
3330
3342
|
};
|
|
3331
3343
|
CAccordionButton.displayName = 'CAccordionButton';
|
|
3332
3344
|
|
|
@@ -3335,7 +3347,7 @@ var CAccordionCollapse = React.forwardRef(function (_a, ref) {
|
|
|
3335
3347
|
return (React.createElement(CCollapse, __assign({ className: "accordion-collapse" }, props, { ref: ref }), children));
|
|
3336
3348
|
});
|
|
3337
3349
|
CAccordionCollapse.propTypes = {
|
|
3338
|
-
children:
|
|
3350
|
+
children: propTypesExports.node,
|
|
3339
3351
|
};
|
|
3340
3352
|
CAccordionCollapse.displayName = 'CAccordionCollapse';
|
|
3341
3353
|
|
|
@@ -3346,13 +3358,13 @@ var CAccordionHeader = React.forwardRef(function (_a, ref) {
|
|
|
3346
3358
|
React.createElement(CAccordionButton, null, children)));
|
|
3347
3359
|
});
|
|
3348
3360
|
CAccordionHeader.propTypes = {
|
|
3349
|
-
children:
|
|
3350
|
-
className:
|
|
3361
|
+
children: propTypesExports.node,
|
|
3362
|
+
className: propTypesExports.string,
|
|
3351
3363
|
};
|
|
3352
3364
|
CAccordionHeader.displayName = 'CAccordionHeader';
|
|
3353
3365
|
|
|
3354
|
-
var colorPropType =
|
|
3355
|
-
|
|
3366
|
+
var colorPropType = propTypesExports.oneOfType([
|
|
3367
|
+
propTypesExports.oneOf([
|
|
3356
3368
|
'primary',
|
|
3357
3369
|
'secondary',
|
|
3358
3370
|
'success',
|
|
@@ -3362,9 +3374,9 @@ var colorPropType = propTypes.exports.oneOfType([
|
|
|
3362
3374
|
'dark',
|
|
3363
3375
|
'light',
|
|
3364
3376
|
]),
|
|
3365
|
-
|
|
3377
|
+
propTypesExports.string,
|
|
3366
3378
|
]);
|
|
3367
|
-
var placementPropType =
|
|
3379
|
+
var placementPropType = propTypesExports.oneOf([
|
|
3368
3380
|
'auto',
|
|
3369
3381
|
'auto-start',
|
|
3370
3382
|
'auto-end',
|
|
@@ -3381,8 +3393,8 @@ var placementPropType = propTypes.exports.oneOf([
|
|
|
3381
3393
|
'left',
|
|
3382
3394
|
'left-end',
|
|
3383
3395
|
]);
|
|
3384
|
-
var shapePropType =
|
|
3385
|
-
|
|
3396
|
+
var shapePropType = propTypesExports.oneOfType([
|
|
3397
|
+
propTypesExports.oneOf([
|
|
3386
3398
|
'rounded',
|
|
3387
3399
|
'rounded-top',
|
|
3388
3400
|
'rounded-end',
|
|
@@ -3395,14 +3407,14 @@ var shapePropType = propTypes.exports.oneOfType([
|
|
|
3395
3407
|
'rounded-2',
|
|
3396
3408
|
'rounded-3',
|
|
3397
3409
|
]),
|
|
3398
|
-
|
|
3410
|
+
propTypesExports.string,
|
|
3399
3411
|
]);
|
|
3400
|
-
var textColorsPropType =
|
|
3412
|
+
var textColorsPropType = propTypesExports.oneOfType([
|
|
3401
3413
|
colorPropType,
|
|
3402
|
-
|
|
3403
|
-
|
|
3414
|
+
propTypesExports.oneOf(['white', 'muted']),
|
|
3415
|
+
propTypesExports.string,
|
|
3404
3416
|
]);
|
|
3405
|
-
var triggerPropType =
|
|
3417
|
+
var triggerPropType = propTypesExports.oneOf(['hover', 'focus', 'click']);
|
|
3406
3418
|
|
|
3407
3419
|
var CCloseButton = React.forwardRef(function (_a, ref) {
|
|
3408
3420
|
var className = _a.className, disabled = _a.disabled, white = _a.white, rest = __rest(_a, ["className", "disabled", "white"]);
|
|
@@ -3412,9 +3424,9 @@ var CCloseButton = React.forwardRef(function (_a, ref) {
|
|
|
3412
3424
|
return (React.createElement("button", __assign({ type: "button", className: _className, "aria-label": "Close", disabled: disabled }, rest, { ref: ref })));
|
|
3413
3425
|
});
|
|
3414
3426
|
CCloseButton.propTypes = {
|
|
3415
|
-
className:
|
|
3416
|
-
disabled:
|
|
3417
|
-
white:
|
|
3427
|
+
className: propTypesExports.string,
|
|
3428
|
+
disabled: propTypesExports.bool,
|
|
3429
|
+
white: propTypesExports.bool,
|
|
3418
3430
|
};
|
|
3419
3431
|
CCloseButton.displayName = 'CCloseButton';
|
|
3420
3432
|
|
|
@@ -3440,13 +3452,13 @@ var CAlert = React.forwardRef(function (_a, ref) {
|
|
|
3440
3452
|
}));
|
|
3441
3453
|
});
|
|
3442
3454
|
CAlert.propTypes = {
|
|
3443
|
-
children:
|
|
3444
|
-
className:
|
|
3455
|
+
children: propTypesExports.node,
|
|
3456
|
+
className: propTypesExports.string,
|
|
3445
3457
|
color: colorPropType.isRequired,
|
|
3446
|
-
dismissible:
|
|
3447
|
-
onClose:
|
|
3448
|
-
variant:
|
|
3449
|
-
visible:
|
|
3458
|
+
dismissible: propTypesExports.bool,
|
|
3459
|
+
onClose: propTypesExports.func,
|
|
3460
|
+
variant: propTypesExports.string,
|
|
3461
|
+
visible: propTypesExports.bool,
|
|
3450
3462
|
};
|
|
3451
3463
|
CAlert.displayName = 'CAlert';
|
|
3452
3464
|
|
|
@@ -3456,9 +3468,9 @@ var CAlertHeading = React.forwardRef(function (_a, ref) {
|
|
|
3456
3468
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3457
3469
|
});
|
|
3458
3470
|
CAlertHeading.propTypes = {
|
|
3459
|
-
children:
|
|
3460
|
-
className:
|
|
3461
|
-
component:
|
|
3471
|
+
children: propTypesExports.node,
|
|
3472
|
+
className: propTypesExports.string,
|
|
3473
|
+
component: propTypesExports.elementType,
|
|
3462
3474
|
};
|
|
3463
3475
|
CAlertHeading.displayName = 'CAlertHeading';
|
|
3464
3476
|
|
|
@@ -3474,11 +3486,11 @@ var CLink = React.forwardRef(function (_a, ref) {
|
|
|
3474
3486
|
}), { disabled: disabled }, rest, { ref: ref }), children));
|
|
3475
3487
|
});
|
|
3476
3488
|
CLink.propTypes = {
|
|
3477
|
-
active:
|
|
3478
|
-
children:
|
|
3479
|
-
className:
|
|
3480
|
-
component:
|
|
3481
|
-
disabled:
|
|
3489
|
+
active: propTypesExports.bool,
|
|
3490
|
+
children: propTypesExports.node,
|
|
3491
|
+
className: propTypesExports.string,
|
|
3492
|
+
component: propTypesExports.elementType,
|
|
3493
|
+
disabled: propTypesExports.bool,
|
|
3482
3494
|
};
|
|
3483
3495
|
CLink.displayName = 'CLink';
|
|
3484
3496
|
|
|
@@ -3488,8 +3500,8 @@ var CAlertLink = React.forwardRef(function (_a, ref) {
|
|
|
3488
3500
|
return (React.createElement(CLink, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3489
3501
|
});
|
|
3490
3502
|
CAlertLink.propTypes = {
|
|
3491
|
-
children:
|
|
3492
|
-
className:
|
|
3503
|
+
children: propTypesExports.node,
|
|
3504
|
+
className: propTypesExports.string,
|
|
3493
3505
|
};
|
|
3494
3506
|
CAlertLink.displayName = 'CAlertLink';
|
|
3495
3507
|
|
|
@@ -3507,13 +3519,13 @@ var CAvatar = React.forwardRef(function (_a, ref) {
|
|
|
3507
3519
|
status && React.createElement("span", { className: statusClassName })));
|
|
3508
3520
|
});
|
|
3509
3521
|
CAvatar.propTypes = {
|
|
3510
|
-
children:
|
|
3511
|
-
className:
|
|
3522
|
+
children: propTypesExports.node,
|
|
3523
|
+
className: propTypesExports.string,
|
|
3512
3524
|
color: colorPropType,
|
|
3513
3525
|
shape: shapePropType,
|
|
3514
|
-
size:
|
|
3515
|
-
src:
|
|
3516
|
-
status:
|
|
3526
|
+
size: propTypesExports.string,
|
|
3527
|
+
src: propTypesExports.string,
|
|
3528
|
+
status: propTypesExports.string,
|
|
3517
3529
|
textColor: textColorsPropType,
|
|
3518
3530
|
};
|
|
3519
3531
|
CAvatar.displayName = 'CAvatar';
|
|
@@ -3532,8 +3544,8 @@ var CBackdrop = React.forwardRef(function (_a, ref) {
|
|
|
3532
3544
|
}));
|
|
3533
3545
|
});
|
|
3534
3546
|
CBackdrop.propTypes = {
|
|
3535
|
-
className:
|
|
3536
|
-
visible:
|
|
3547
|
+
className: propTypesExports.string,
|
|
3548
|
+
visible: propTypesExports.bool,
|
|
3537
3549
|
};
|
|
3538
3550
|
CBackdrop.displayName = 'CBackdrop';
|
|
3539
3551
|
|
|
@@ -3553,13 +3565,13 @@ var CBadge = React.forwardRef(function (_a, ref) {
|
|
|
3553
3565
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3554
3566
|
});
|
|
3555
3567
|
CBadge.propTypes = {
|
|
3556
|
-
children:
|
|
3557
|
-
className:
|
|
3568
|
+
children: propTypesExports.node,
|
|
3569
|
+
className: propTypesExports.string,
|
|
3558
3570
|
color: colorPropType,
|
|
3559
|
-
component:
|
|
3560
|
-
position:
|
|
3571
|
+
component: propTypesExports.string,
|
|
3572
|
+
position: propTypesExports.oneOf(['top-start', 'top-end', 'bottom-end', 'bottom-start']),
|
|
3561
3573
|
shape: shapePropType,
|
|
3562
|
-
size:
|
|
3574
|
+
size: propTypesExports.oneOf(['sm']),
|
|
3563
3575
|
textColor: textColorsPropType,
|
|
3564
3576
|
};
|
|
3565
3577
|
CBadge.displayName = 'CBadge';
|
|
@@ -3571,8 +3583,8 @@ var CBreadcrumb = React.forwardRef(function (_a, ref) {
|
|
|
3571
3583
|
React.createElement("ol", __assign({ className: _className }, rest, { ref: ref }), children)));
|
|
3572
3584
|
});
|
|
3573
3585
|
CBreadcrumb.propTypes = {
|
|
3574
|
-
children:
|
|
3575
|
-
className:
|
|
3586
|
+
children: propTypesExports.node,
|
|
3587
|
+
className: propTypesExports.string,
|
|
3576
3588
|
};
|
|
3577
3589
|
CBreadcrumb.displayName = 'CBreadcrumb';
|
|
3578
3590
|
|
|
@@ -3584,10 +3596,10 @@ var CBreadcrumbItem = React.forwardRef(function (_a, ref) {
|
|
|
3584
3596
|
return (React.createElement("li", __assign({ className: _className }, (active && { 'aria-current': 'page' }), rest, { ref: ref }), href ? React.createElement(CLink, { href: href }, children) : children));
|
|
3585
3597
|
});
|
|
3586
3598
|
CBreadcrumbItem.propTypes = {
|
|
3587
|
-
active:
|
|
3588
|
-
children:
|
|
3589
|
-
className:
|
|
3590
|
-
href:
|
|
3599
|
+
active: propTypesExports.bool,
|
|
3600
|
+
children: propTypesExports.node,
|
|
3601
|
+
className: propTypesExports.string,
|
|
3602
|
+
href: propTypesExports.string,
|
|
3591
3603
|
};
|
|
3592
3604
|
CBreadcrumbItem.displayName = 'CBreadcrumbItem';
|
|
3593
3605
|
|
|
@@ -3598,14 +3610,14 @@ var CButton = React.forwardRef(function (_a, ref) {
|
|
|
3598
3610
|
return (React.createElement(CLink, __assign({ component: rest.href ? 'a' : component, type: type, className: _className }, rest, { ref: ref }), children));
|
|
3599
3611
|
});
|
|
3600
3612
|
CButton.propTypes = {
|
|
3601
|
-
children:
|
|
3602
|
-
className:
|
|
3613
|
+
children: propTypesExports.node,
|
|
3614
|
+
className: propTypesExports.string,
|
|
3603
3615
|
color: colorPropType,
|
|
3604
|
-
component:
|
|
3605
|
-
shape:
|
|
3606
|
-
size:
|
|
3607
|
-
type:
|
|
3608
|
-
variant:
|
|
3616
|
+
component: propTypesExports.elementType,
|
|
3617
|
+
shape: propTypesExports.string,
|
|
3618
|
+
size: propTypesExports.oneOf(['sm', 'lg']),
|
|
3619
|
+
type: propTypesExports.oneOf(['button', 'submit', 'reset']),
|
|
3620
|
+
variant: propTypesExports.oneOf(['outline', 'ghost']),
|
|
3609
3621
|
};
|
|
3610
3622
|
CButton.displayName = 'CButton';
|
|
3611
3623
|
|
|
@@ -3615,8 +3627,8 @@ var CButtonToolbar = React.forwardRef(function (_a, ref) {
|
|
|
3615
3627
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3616
3628
|
});
|
|
3617
3629
|
CButtonToolbar.propTypes = {
|
|
3618
|
-
children:
|
|
3619
|
-
className:
|
|
3630
|
+
children: propTypesExports.node,
|
|
3631
|
+
className: propTypesExports.string,
|
|
3620
3632
|
};
|
|
3621
3633
|
CButtonToolbar.displayName = 'CButtonToolbar';
|
|
3622
3634
|
|
|
@@ -3627,10 +3639,10 @@ var CButtonGroup = React.forwardRef(function (_a, ref) {
|
|
|
3627
3639
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3628
3640
|
});
|
|
3629
3641
|
CButtonGroup.propTypes = {
|
|
3630
|
-
children:
|
|
3631
|
-
className:
|
|
3632
|
-
size:
|
|
3633
|
-
vertical:
|
|
3642
|
+
children: propTypesExports.node,
|
|
3643
|
+
className: propTypesExports.string,
|
|
3644
|
+
size: propTypesExports.oneOf(['sm', 'lg']),
|
|
3645
|
+
vertical: propTypesExports.bool,
|
|
3634
3646
|
};
|
|
3635
3647
|
CButtonGroup.displayName = 'CButtonGroup';
|
|
3636
3648
|
|
|
@@ -3643,8 +3655,8 @@ var CCallout = React.forwardRef(function (_a, ref) {
|
|
|
3643
3655
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3644
3656
|
});
|
|
3645
3657
|
CCallout.propTypes = {
|
|
3646
|
-
children:
|
|
3647
|
-
className:
|
|
3658
|
+
children: propTypesExports.node,
|
|
3659
|
+
className: propTypesExports.string,
|
|
3648
3660
|
color: colorPropType,
|
|
3649
3661
|
};
|
|
3650
3662
|
CCallout.displayName = 'CCallout';
|
|
@@ -3659,10 +3671,10 @@ var CCard = React.forwardRef(function (_a, ref) {
|
|
|
3659
3671
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3660
3672
|
});
|
|
3661
3673
|
CCard.propTypes = {
|
|
3662
|
-
children:
|
|
3663
|
-
className:
|
|
3674
|
+
children: propTypesExports.node,
|
|
3675
|
+
className: propTypesExports.string,
|
|
3664
3676
|
color: colorPropType,
|
|
3665
|
-
textColor:
|
|
3677
|
+
textColor: propTypesExports.string,
|
|
3666
3678
|
};
|
|
3667
3679
|
CCard.displayName = 'CCard';
|
|
3668
3680
|
|
|
@@ -3672,8 +3684,8 @@ var CCardBody = React.forwardRef(function (_a, ref) {
|
|
|
3672
3684
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3673
3685
|
});
|
|
3674
3686
|
CCardBody.propTypes = {
|
|
3675
|
-
children:
|
|
3676
|
-
className:
|
|
3687
|
+
children: propTypesExports.node,
|
|
3688
|
+
className: propTypesExports.string,
|
|
3677
3689
|
};
|
|
3678
3690
|
CCardBody.displayName = 'CCardBody';
|
|
3679
3691
|
|
|
@@ -3683,8 +3695,8 @@ var CCardFooter = React.forwardRef(function (_a, ref) {
|
|
|
3683
3695
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3684
3696
|
});
|
|
3685
3697
|
CCardFooter.propTypes = {
|
|
3686
|
-
children:
|
|
3687
|
-
className:
|
|
3698
|
+
children: propTypesExports.node,
|
|
3699
|
+
className: propTypesExports.string,
|
|
3688
3700
|
};
|
|
3689
3701
|
CCardFooter.displayName = 'CCardFooter';
|
|
3690
3702
|
|
|
@@ -3694,8 +3706,8 @@ var CCardGroup = React.forwardRef(function (_a, ref) {
|
|
|
3694
3706
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3695
3707
|
});
|
|
3696
3708
|
CCardGroup.propTypes = {
|
|
3697
|
-
children:
|
|
3698
|
-
className:
|
|
3709
|
+
children: propTypesExports.node,
|
|
3710
|
+
className: propTypesExports.string,
|
|
3699
3711
|
};
|
|
3700
3712
|
CCardGroup.displayName = 'CCardGroup';
|
|
3701
3713
|
|
|
@@ -3705,9 +3717,9 @@ var CCardHeader = React.forwardRef(function (_a, ref) {
|
|
|
3705
3717
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3706
3718
|
});
|
|
3707
3719
|
CCardHeader.propTypes = {
|
|
3708
|
-
children:
|
|
3709
|
-
className:
|
|
3710
|
-
component:
|
|
3720
|
+
children: propTypesExports.node,
|
|
3721
|
+
className: propTypesExports.string,
|
|
3722
|
+
component: propTypesExports.elementType,
|
|
3711
3723
|
};
|
|
3712
3724
|
CCardHeader.displayName = 'CCardHeader';
|
|
3713
3725
|
|
|
@@ -3717,10 +3729,10 @@ var CCardImage = React.forwardRef(function (_a, ref) {
|
|
|
3717
3729
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3718
3730
|
});
|
|
3719
3731
|
CCardImage.propTypes = {
|
|
3720
|
-
children:
|
|
3721
|
-
className:
|
|
3722
|
-
component:
|
|
3723
|
-
orientation:
|
|
3732
|
+
children: propTypesExports.node,
|
|
3733
|
+
className: propTypesExports.string,
|
|
3734
|
+
component: propTypesExports.elementType,
|
|
3735
|
+
orientation: propTypesExports.oneOf(['top', 'bottom']),
|
|
3724
3736
|
};
|
|
3725
3737
|
CCardImage.displayName = 'CCardImage';
|
|
3726
3738
|
|
|
@@ -3730,8 +3742,8 @@ var CCardImageOverlay = React.forwardRef(function (_a, ref) {
|
|
|
3730
3742
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3731
3743
|
});
|
|
3732
3744
|
CCardImageOverlay.propTypes = {
|
|
3733
|
-
children:
|
|
3734
|
-
className:
|
|
3745
|
+
children: propTypesExports.node,
|
|
3746
|
+
className: propTypesExports.string,
|
|
3735
3747
|
};
|
|
3736
3748
|
CCardImageOverlay.displayName = 'CCardImageOverlay';
|
|
3737
3749
|
|
|
@@ -3741,8 +3753,8 @@ var CCardLink = React.forwardRef(function (_a, ref) {
|
|
|
3741
3753
|
return (React.createElement(CLink, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3742
3754
|
});
|
|
3743
3755
|
CCardLink.propTypes = {
|
|
3744
|
-
children:
|
|
3745
|
-
className:
|
|
3756
|
+
children: propTypesExports.node,
|
|
3757
|
+
className: propTypesExports.string,
|
|
3746
3758
|
};
|
|
3747
3759
|
CCardLink.displayName = 'CCardLink';
|
|
3748
3760
|
|
|
@@ -3752,9 +3764,9 @@ var CCardSubtitle = React.forwardRef(function (_a, ref) {
|
|
|
3752
3764
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3753
3765
|
});
|
|
3754
3766
|
CCardSubtitle.propTypes = {
|
|
3755
|
-
children:
|
|
3756
|
-
className:
|
|
3757
|
-
component:
|
|
3767
|
+
children: propTypesExports.node,
|
|
3768
|
+
className: propTypesExports.string,
|
|
3769
|
+
component: propTypesExports.elementType,
|
|
3758
3770
|
};
|
|
3759
3771
|
CCardSubtitle.displayName = 'CCardSubtitle';
|
|
3760
3772
|
|
|
@@ -3764,9 +3776,9 @@ var CCardText = React.forwardRef(function (_a, ref) {
|
|
|
3764
3776
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3765
3777
|
});
|
|
3766
3778
|
CCardText.propTypes = {
|
|
3767
|
-
children:
|
|
3768
|
-
className:
|
|
3769
|
-
component:
|
|
3779
|
+
children: propTypesExports.node,
|
|
3780
|
+
className: propTypesExports.string,
|
|
3781
|
+
component: propTypesExports.elementType,
|
|
3770
3782
|
};
|
|
3771
3783
|
CCardText.displayName = 'CCardText';
|
|
3772
3784
|
|
|
@@ -3776,31 +3788,33 @@ var CCardTitle = React.forwardRef(function (_a, ref) {
|
|
|
3776
3788
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
3777
3789
|
});
|
|
3778
3790
|
CCardTitle.propTypes = {
|
|
3779
|
-
children:
|
|
3780
|
-
className:
|
|
3781
|
-
component:
|
|
3791
|
+
children: propTypesExports.node,
|
|
3792
|
+
className: propTypesExports.string,
|
|
3793
|
+
component: propTypesExports.elementType,
|
|
3782
3794
|
};
|
|
3783
3795
|
CCardTitle.displayName = 'CCardTitle';
|
|
3784
3796
|
|
|
3785
|
-
var isVisible
|
|
3797
|
+
var isVisible = function (element) {
|
|
3786
3798
|
var rect = element.getBoundingClientRect();
|
|
3787
3799
|
return (rect.top >= 0 &&
|
|
3788
3800
|
rect.left >= 0 &&
|
|
3789
3801
|
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
|
|
3790
3802
|
rect.right <= (window.innerWidth || document.documentElement.clientWidth));
|
|
3791
3803
|
};
|
|
3804
|
+
|
|
3792
3805
|
var CCarouselContext = React.createContext({});
|
|
3793
3806
|
var CCarousel = React.forwardRef(function (_a, ref) {
|
|
3794
|
-
var children = _a.children, _b = _a.activeIndex, activeIndex = _b === void 0 ? 0 : _b, className = _a.className, controls = _a.controls, dark = _a.dark, indicators = _a.indicators, _c = _a.interval, interval = _c === void 0 ? 5000 : _c, onSlid = _a.onSlid, onSlide = _a.onSlide, _d = _a.pause, pause = _d === void 0 ? 'hover' : _d, transition = _a.transition,
|
|
3807
|
+
var children = _a.children, _b = _a.activeIndex, activeIndex = _b === void 0 ? 0 : _b, className = _a.className, controls = _a.controls, dark = _a.dark, indicators = _a.indicators, _c = _a.interval, interval = _c === void 0 ? 5000 : _c, onSlid = _a.onSlid, onSlide = _a.onSlide, _d = _a.pause, pause = _d === void 0 ? 'hover' : _d, _e = _a.touch, touch = _e === void 0 ? true : _e, transition = _a.transition, _f = _a.wrap, wrap = _f === void 0 ? true : _f, rest = __rest(_a, ["children", "activeIndex", "className", "controls", "dark", "indicators", "interval", "onSlid", "onSlide", "pause", "touch", "transition", "wrap"]);
|
|
3795
3808
|
var carouselRef = React.useRef(null);
|
|
3796
3809
|
var forkedRef = useForkedRef(ref, carouselRef);
|
|
3797
3810
|
var data = React.useRef({}).current;
|
|
3798
|
-
var
|
|
3799
|
-
var
|
|
3800
|
-
var
|
|
3801
|
-
var
|
|
3802
|
-
var
|
|
3803
|
-
var
|
|
3811
|
+
var _g = React.useState(activeIndex), active = _g[0], setActive = _g[1];
|
|
3812
|
+
var _h = React.useState(false), animating = _h[0], setAnimating = _h[1];
|
|
3813
|
+
var _j = React.useState(), customInterval = _j[0], setCustomInterval = _j[1];
|
|
3814
|
+
var _k = React.useState('next'), direction = _k[0], setDirection = _k[1];
|
|
3815
|
+
var _l = React.useState(0), itemsNumber = _l[0], setItemsNumber = _l[1];
|
|
3816
|
+
var _m = React.useState(null), touchPosition = _m[0], setTouchPosition = _m[1];
|
|
3817
|
+
var _o = React.useState(), visible = _o[0], setVisible = _o[1];
|
|
3804
3818
|
React.useEffect(function () {
|
|
3805
3819
|
setItemsNumber(React.Children.toArray(children).length);
|
|
3806
3820
|
});
|
|
@@ -3832,7 +3846,7 @@ var CCarousel = React.forwardRef(function (_a, ref) {
|
|
|
3832
3846
|
var nextItemWhenVisible = function () {
|
|
3833
3847
|
// Don't call next when the page isn't visible
|
|
3834
3848
|
// or the carousel or its parent isn't visible
|
|
3835
|
-
if (!document.hidden && carouselRef.current && isVisible
|
|
3849
|
+
if (!document.hidden && carouselRef.current && isVisible(carouselRef.current)) {
|
|
3836
3850
|
if (animating) {
|
|
3837
3851
|
return;
|
|
3838
3852
|
}
|
|
@@ -3866,14 +3880,33 @@ var CCarousel = React.forwardRef(function (_a, ref) {
|
|
|
3866
3880
|
}
|
|
3867
3881
|
};
|
|
3868
3882
|
var handleScroll = function () {
|
|
3869
|
-
if (!document.hidden && carouselRef.current && isVisible
|
|
3883
|
+
if (!document.hidden && carouselRef.current && isVisible(carouselRef.current)) {
|
|
3870
3884
|
setVisible(true);
|
|
3871
3885
|
}
|
|
3872
3886
|
else {
|
|
3873
3887
|
setVisible(false);
|
|
3874
3888
|
}
|
|
3875
3889
|
};
|
|
3876
|
-
|
|
3890
|
+
var handleTouchMove = function (e) {
|
|
3891
|
+
var touchDown = touchPosition;
|
|
3892
|
+
if (touchDown === null) {
|
|
3893
|
+
return;
|
|
3894
|
+
}
|
|
3895
|
+
var currentTouch = e.touches[0].clientX;
|
|
3896
|
+
var diff = touchDown - currentTouch;
|
|
3897
|
+
if (diff > 5) {
|
|
3898
|
+
handleControlClick('next');
|
|
3899
|
+
}
|
|
3900
|
+
if (diff < -5) {
|
|
3901
|
+
handleControlClick('prev');
|
|
3902
|
+
}
|
|
3903
|
+
setTouchPosition(null);
|
|
3904
|
+
};
|
|
3905
|
+
var handleTouchStart = function (e) {
|
|
3906
|
+
var touchDown = e.touches[0].clientX;
|
|
3907
|
+
setTouchPosition(touchDown);
|
|
3908
|
+
};
|
|
3909
|
+
return (React.createElement("div", __assign({ className: _className, onMouseEnter: _pause, onMouseLeave: cycle }, (touch && { onTouchStart: handleTouchStart, onTouchMove: handleTouchMove }), rest, { ref: forkedRef }),
|
|
3877
3910
|
React.createElement(CCarouselContext.Provider, { value: {
|
|
3878
3911
|
setAnimating: setAnimating,
|
|
3879
3912
|
setCustomInterval: setCustomInterval,
|
|
@@ -3900,18 +3933,19 @@ var CCarousel = React.forwardRef(function (_a, ref) {
|
|
|
3900
3933
|
React.createElement("span", { className: "carousel-control-next-icon", "aria-label": "next" })))))));
|
|
3901
3934
|
});
|
|
3902
3935
|
CCarousel.propTypes = {
|
|
3903
|
-
activeIndex:
|
|
3904
|
-
children:
|
|
3905
|
-
className:
|
|
3906
|
-
controls:
|
|
3907
|
-
dark:
|
|
3908
|
-
indicators:
|
|
3909
|
-
interval:
|
|
3910
|
-
onSlid:
|
|
3911
|
-
onSlide:
|
|
3912
|
-
pause:
|
|
3913
|
-
|
|
3914
|
-
|
|
3936
|
+
activeIndex: propTypesExports.number,
|
|
3937
|
+
children: propTypesExports.node,
|
|
3938
|
+
className: propTypesExports.string,
|
|
3939
|
+
controls: propTypesExports.bool,
|
|
3940
|
+
dark: propTypesExports.bool,
|
|
3941
|
+
indicators: propTypesExports.bool,
|
|
3942
|
+
interval: propTypesExports.oneOfType([propTypesExports.bool, propTypesExports.number]),
|
|
3943
|
+
onSlid: propTypesExports.func,
|
|
3944
|
+
onSlide: propTypesExports.func,
|
|
3945
|
+
pause: propTypesExports.oneOf([false, 'hover']),
|
|
3946
|
+
touch: propTypesExports.bool,
|
|
3947
|
+
transition: propTypesExports.oneOf(['slide', 'crossfade']),
|
|
3948
|
+
wrap: propTypesExports.bool,
|
|
3915
3949
|
};
|
|
3916
3950
|
CCarousel.displayName = 'CCarousel';
|
|
3917
3951
|
|
|
@@ -3921,7 +3955,7 @@ var CCarouselCaption = React.forwardRef(function (_a, ref) {
|
|
|
3921
3955
|
return React.createElement("div", __assign({ className: _className }, rest, { ref: ref }));
|
|
3922
3956
|
});
|
|
3923
3957
|
CCarouselCaption.propTypes = {
|
|
3924
|
-
className:
|
|
3958
|
+
className: propTypesExports.string,
|
|
3925
3959
|
};
|
|
3926
3960
|
CCarouselCaption.displayName = 'CCarouselCaption';
|
|
3927
3961
|
|
|
@@ -3997,11 +4031,11 @@ var CCarouselItem = React.forwardRef(function (_a, ref) {
|
|
|
3997
4031
|
return (React.createElement("div", __assign({ className: _className, ref: forkedRef }, rest), children));
|
|
3998
4032
|
});
|
|
3999
4033
|
CCarouselItem.propTypes = {
|
|
4000
|
-
active:
|
|
4001
|
-
children:
|
|
4002
|
-
className:
|
|
4003
|
-
direction:
|
|
4004
|
-
interval:
|
|
4034
|
+
active: propTypesExports.bool,
|
|
4035
|
+
children: propTypesExports.node,
|
|
4036
|
+
className: propTypesExports.string,
|
|
4037
|
+
direction: propTypesExports.string,
|
|
4038
|
+
interval: propTypesExports.oneOfType([propTypesExports.bool, propTypesExports.number]),
|
|
4005
4039
|
};
|
|
4006
4040
|
CCarouselItem.displayName = 'CCarouselItem';
|
|
4007
4041
|
|
|
@@ -6491,33 +6525,33 @@ var CDropdown = React.forwardRef(function (_a, ref) {
|
|
|
6491
6525
|
return popper ? (React.createElement(CDropdownContext.Provider, { value: contextValues },
|
|
6492
6526
|
React.createElement(Manager, null, dropdownContent()))) : (React.createElement(CDropdownContext.Provider, { value: contextValues }, dropdownContent()));
|
|
6493
6527
|
});
|
|
6494
|
-
var alignmentDirection =
|
|
6528
|
+
var alignmentDirection = propTypesExports.oneOf(['start', 'end']);
|
|
6495
6529
|
CDropdown.propTypes = {
|
|
6496
6530
|
// @ts-expect-error TODO: we have to find a solution
|
|
6497
|
-
alignment:
|
|
6531
|
+
alignment: propTypesExports.oneOfType([
|
|
6498
6532
|
alignmentDirection,
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6533
|
+
propTypesExports.shape({ xs: alignmentDirection }),
|
|
6534
|
+
propTypesExports.shape({ sm: alignmentDirection }),
|
|
6535
|
+
propTypesExports.shape({ md: alignmentDirection }),
|
|
6536
|
+
propTypesExports.shape({ lg: alignmentDirection }),
|
|
6537
|
+
propTypesExports.shape({ xl: alignmentDirection }),
|
|
6538
|
+
propTypesExports.shape({ xxl: alignmentDirection }),
|
|
6505
6539
|
]),
|
|
6506
|
-
autoClose:
|
|
6507
|
-
|
|
6508
|
-
|
|
6540
|
+
autoClose: propTypesExports.oneOfType([
|
|
6541
|
+
propTypesExports.bool,
|
|
6542
|
+
propTypesExports.oneOf(['inside', 'outside']),
|
|
6509
6543
|
]),
|
|
6510
|
-
children:
|
|
6511
|
-
className:
|
|
6512
|
-
component:
|
|
6513
|
-
dark:
|
|
6514
|
-
direction:
|
|
6515
|
-
onHide:
|
|
6516
|
-
onShow:
|
|
6544
|
+
children: propTypesExports.node,
|
|
6545
|
+
className: propTypesExports.string,
|
|
6546
|
+
component: propTypesExports.elementType,
|
|
6547
|
+
dark: propTypesExports.bool,
|
|
6548
|
+
direction: propTypesExports.oneOf(['center', 'dropup', 'dropup-center', 'dropend', 'dropstart']),
|
|
6549
|
+
onHide: propTypesExports.func,
|
|
6550
|
+
onShow: propTypesExports.func,
|
|
6517
6551
|
placement: placementPropType,
|
|
6518
|
-
popper:
|
|
6519
|
-
variant:
|
|
6520
|
-
visible:
|
|
6552
|
+
popper: propTypesExports.bool,
|
|
6553
|
+
variant: propTypesExports.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
|
|
6554
|
+
visible: propTypesExports.bool,
|
|
6521
6555
|
};
|
|
6522
6556
|
CDropdown.displayName = 'CDropdown';
|
|
6523
6557
|
|
|
@@ -6527,7 +6561,7 @@ var CDropdownDivider = React.forwardRef(function (_a, ref) {
|
|
|
6527
6561
|
return React.createElement("hr", __assign({ className: _className }, rest, { ref: ref }));
|
|
6528
6562
|
});
|
|
6529
6563
|
CDropdownDivider.propTypes = {
|
|
6530
|
-
className:
|
|
6564
|
+
className: propTypesExports.string,
|
|
6531
6565
|
};
|
|
6532
6566
|
CDropdownDivider.displayName = 'CDropdownDivider';
|
|
6533
6567
|
|
|
@@ -6537,9 +6571,9 @@ var CDropdownHeader = React.forwardRef(function (_a, ref) {
|
|
|
6537
6571
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6538
6572
|
});
|
|
6539
6573
|
CDropdownHeader.propTypes = {
|
|
6540
|
-
children:
|
|
6541
|
-
className:
|
|
6542
|
-
component:
|
|
6574
|
+
children: propTypesExports.node,
|
|
6575
|
+
className: propTypesExports.string,
|
|
6576
|
+
component: propTypesExports.elementType,
|
|
6543
6577
|
};
|
|
6544
6578
|
CDropdownHeader.displayName = 'CDropdownHeader';
|
|
6545
6579
|
|
|
@@ -6549,9 +6583,9 @@ var CDropdownItem = React.forwardRef(function (_a, ref) {
|
|
|
6549
6583
|
return (React.createElement(CLink, __assign({ className: _className, component: component }, rest, { ref: ref }), children));
|
|
6550
6584
|
});
|
|
6551
6585
|
CDropdownItem.propTypes = {
|
|
6552
|
-
children:
|
|
6553
|
-
className:
|
|
6554
|
-
component:
|
|
6586
|
+
children: propTypesExports.node,
|
|
6587
|
+
className: propTypesExports.string,
|
|
6588
|
+
component: propTypesExports.elementType,
|
|
6555
6589
|
};
|
|
6556
6590
|
CDropdownItem.displayName = 'CDropdownItem';
|
|
6557
6591
|
|
|
@@ -6561,9 +6595,9 @@ var CDropdownItemPlain = React.forwardRef(function (_a, ref) {
|
|
|
6561
6595
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6562
6596
|
});
|
|
6563
6597
|
CDropdownItemPlain.propTypes = {
|
|
6564
|
-
children:
|
|
6565
|
-
className:
|
|
6566
|
-
component:
|
|
6598
|
+
children: propTypesExports.node,
|
|
6599
|
+
className: propTypesExports.string,
|
|
6600
|
+
component: propTypesExports.elementType,
|
|
6567
6601
|
};
|
|
6568
6602
|
CDropdownItemPlain.displayName = 'CDropdownItemPlain';
|
|
6569
6603
|
|
|
@@ -6650,9 +6684,9 @@ var CDropdownMenu = function (_a) {
|
|
|
6650
6684
|
})) : (dropdownMenuComponent());
|
|
6651
6685
|
};
|
|
6652
6686
|
CDropdownMenu.propTypes = {
|
|
6653
|
-
children:
|
|
6654
|
-
className:
|
|
6655
|
-
component:
|
|
6687
|
+
children: propTypesExports.node,
|
|
6688
|
+
className: propTypesExports.string,
|
|
6689
|
+
component: propTypesExports.elementType,
|
|
6656
6690
|
};
|
|
6657
6691
|
CDropdownMenu.displayName = 'CDropdownMenu';
|
|
6658
6692
|
|
|
@@ -6687,11 +6721,11 @@ var CDropdownToggle = function (_a) {
|
|
|
6687
6721
|
}) : Toggler(dropdownToggleRef);
|
|
6688
6722
|
};
|
|
6689
6723
|
CDropdownToggle.propTypes = {
|
|
6690
|
-
caret:
|
|
6691
|
-
children:
|
|
6692
|
-
className:
|
|
6693
|
-
custom:
|
|
6694
|
-
split:
|
|
6724
|
+
caret: propTypesExports.bool,
|
|
6725
|
+
children: propTypesExports.node,
|
|
6726
|
+
className: propTypesExports.string,
|
|
6727
|
+
custom: propTypesExports.bool,
|
|
6728
|
+
split: propTypesExports.bool,
|
|
6695
6729
|
trigger: triggerPropType,
|
|
6696
6730
|
};
|
|
6697
6731
|
CDropdownToggle.displayName = 'CDropdownToggle';
|
|
@@ -6703,9 +6737,9 @@ var CFooter = React.forwardRef(function (_a, ref) {
|
|
|
6703
6737
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6704
6738
|
});
|
|
6705
6739
|
CFooter.propTypes = {
|
|
6706
|
-
children:
|
|
6707
|
-
className:
|
|
6708
|
-
position:
|
|
6740
|
+
children: propTypesExports.node,
|
|
6741
|
+
className: propTypesExports.string,
|
|
6742
|
+
position: propTypesExports.oneOf(['fixed', 'sticky']),
|
|
6709
6743
|
};
|
|
6710
6744
|
CFooter.displayName = 'CFooter';
|
|
6711
6745
|
|
|
@@ -6715,9 +6749,9 @@ var CForm = React.forwardRef(function (_a, ref) {
|
|
|
6715
6749
|
return (React.createElement("form", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6716
6750
|
});
|
|
6717
6751
|
CForm.propTypes = {
|
|
6718
|
-
children:
|
|
6719
|
-
className:
|
|
6720
|
-
validated:
|
|
6752
|
+
children: propTypesExports.node,
|
|
6753
|
+
className: propTypesExports.string,
|
|
6754
|
+
validated: propTypesExports.bool,
|
|
6721
6755
|
};
|
|
6722
6756
|
CForm.displayName = 'CForm';
|
|
6723
6757
|
|
|
@@ -6731,12 +6765,12 @@ var CFormFeedback = React.forwardRef(function (_a, ref) {
|
|
|
6731
6765
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6732
6766
|
});
|
|
6733
6767
|
CFormFeedback.propTypes = {
|
|
6734
|
-
children:
|
|
6735
|
-
className:
|
|
6736
|
-
component:
|
|
6737
|
-
invalid:
|
|
6738
|
-
tooltip:
|
|
6739
|
-
valid:
|
|
6768
|
+
children: propTypesExports.node,
|
|
6769
|
+
className: propTypesExports.string,
|
|
6770
|
+
component: propTypesExports.elementType,
|
|
6771
|
+
invalid: propTypesExports.bool,
|
|
6772
|
+
tooltip: propTypesExports.bool,
|
|
6773
|
+
valid: propTypesExports.bool,
|
|
6740
6774
|
};
|
|
6741
6775
|
CFormFeedback.displayName = 'CFormFeedback';
|
|
6742
6776
|
|
|
@@ -6748,13 +6782,13 @@ var CFormControlValidation = function (_a) {
|
|
|
6748
6782
|
feedbackValid && (React.createElement(CFormFeedback, { valid: true, tooltip: tooltipFeedback }, feedbackValid))));
|
|
6749
6783
|
};
|
|
6750
6784
|
CFormControlValidation.propTypes = {
|
|
6751
|
-
describedby:
|
|
6752
|
-
feedback:
|
|
6753
|
-
feedbackValid:
|
|
6754
|
-
feedbackInvalid:
|
|
6755
|
-
invalid:
|
|
6756
|
-
tooltipFeedback:
|
|
6757
|
-
valid:
|
|
6785
|
+
describedby: propTypesExports.string,
|
|
6786
|
+
feedback: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]),
|
|
6787
|
+
feedbackValid: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]),
|
|
6788
|
+
feedbackInvalid: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]),
|
|
6789
|
+
invalid: propTypesExports.bool,
|
|
6790
|
+
tooltipFeedback: propTypesExports.bool,
|
|
6791
|
+
valid: propTypesExports.bool,
|
|
6758
6792
|
};
|
|
6759
6793
|
CFormControlValidation.displayName = 'CFormControlValidation';
|
|
6760
6794
|
|
|
@@ -6764,9 +6798,9 @@ var CFormLabel = React.forwardRef(function (_a, ref) {
|
|
|
6764
6798
|
return (React.createElement("label", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6765
6799
|
});
|
|
6766
6800
|
CFormLabel.propTypes = {
|
|
6767
|
-
children:
|
|
6768
|
-
className:
|
|
6769
|
-
customClassName:
|
|
6801
|
+
children: propTypesExports.node,
|
|
6802
|
+
className: propTypesExports.string,
|
|
6803
|
+
customClassName: propTypesExports.string,
|
|
6770
6804
|
};
|
|
6771
6805
|
CFormLabel.displayName = 'CFormLabel';
|
|
6772
6806
|
|
|
@@ -6814,7 +6848,7 @@ var CFormCheck = React.forwardRef(function (_a, ref) {
|
|
|
6814
6848
|
formLabel(),
|
|
6815
6849
|
formValidation()))) : (formControl());
|
|
6816
6850
|
});
|
|
6817
|
-
CFormCheck.propTypes = __assign({ button:
|
|
6851
|
+
CFormCheck.propTypes = __assign({ button: propTypesExports.object, className: propTypesExports.string, hitArea: propTypesExports.oneOf(['full']), id: propTypesExports.string, indeterminate: propTypesExports.bool, inline: propTypesExports.bool, label: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]), type: propTypesExports.oneOf(['checkbox', 'radio']) }, CFormControlValidation.propTypes);
|
|
6818
6852
|
CFormCheck.displayName = 'CFormCheck';
|
|
6819
6853
|
|
|
6820
6854
|
var CFormFloating = React.forwardRef(function (_a, ref) {
|
|
@@ -6823,8 +6857,8 @@ var CFormFloating = React.forwardRef(function (_a, ref) {
|
|
|
6823
6857
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6824
6858
|
});
|
|
6825
6859
|
CFormFloating.propTypes = {
|
|
6826
|
-
children:
|
|
6827
|
-
className:
|
|
6860
|
+
children: propTypesExports.node,
|
|
6861
|
+
className: propTypesExports.string,
|
|
6828
6862
|
};
|
|
6829
6863
|
CFormFloating.displayName = 'CFormFloating';
|
|
6830
6864
|
|
|
@@ -6834,28 +6868,30 @@ var CFormText = React.forwardRef(function (_a, ref) {
|
|
|
6834
6868
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6835
6869
|
});
|
|
6836
6870
|
CFormText.propTypes = {
|
|
6837
|
-
children:
|
|
6838
|
-
className:
|
|
6839
|
-
component:
|
|
6871
|
+
children: propTypesExports.node,
|
|
6872
|
+
className: propTypesExports.string,
|
|
6873
|
+
component: propTypesExports.elementType,
|
|
6840
6874
|
};
|
|
6841
6875
|
CFormText.displayName = 'CFormText';
|
|
6842
6876
|
|
|
6843
6877
|
var CFormControlWrapper = function (_a) {
|
|
6844
|
-
var children = _a.children, describedby = _a.describedby, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingLabel = _a.floatingLabel, id = _a.id, invalid = _a.invalid, label = _a.label, text = _a.text, tooltipFeedback = _a.tooltipFeedback, valid = _a.valid;
|
|
6845
|
-
return floatingLabel ? (React.createElement(CFormFloating,
|
|
6878
|
+
var children = _a.children, describedby = _a.describedby, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingClassName = _a.floatingClassName, floatingLabel = _a.floatingLabel, id = _a.id, invalid = _a.invalid, label = _a.label, text = _a.text, tooltipFeedback = _a.tooltipFeedback, valid = _a.valid;
|
|
6879
|
+
return floatingLabel ? (React.createElement(CFormFloating, { className: floatingClassName },
|
|
6846
6880
|
children,
|
|
6847
|
-
React.createElement(CFormLabel, { htmlFor: id }, label || floatingLabel)
|
|
6881
|
+
React.createElement(CFormLabel, { htmlFor: id }, label || floatingLabel),
|
|
6882
|
+
text && React.createElement(CFormText, { id: describedby }, text),
|
|
6883
|
+
React.createElement(CFormControlValidation, { describedby: describedby, feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingLabel: floatingLabel, invalid: invalid, tooltipFeedback: tooltipFeedback, valid: valid }))) : (React.createElement(React.Fragment, null,
|
|
6848
6884
|
label && React.createElement(CFormLabel, { htmlFor: id }, label),
|
|
6849
6885
|
children,
|
|
6850
6886
|
text && React.createElement(CFormText, { id: describedby }, text),
|
|
6851
6887
|
React.createElement(CFormControlValidation, { describedby: describedby, feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingLabel: floatingLabel, invalid: invalid, tooltipFeedback: tooltipFeedback, valid: valid })));
|
|
6852
6888
|
};
|
|
6853
|
-
CFormControlWrapper.propTypes = __assign({ children:
|
|
6889
|
+
CFormControlWrapper.propTypes = __assign({ children: propTypesExports.node, floatingClassName: propTypesExports.string, floatingLabel: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]), label: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]), text: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]) }, CFormControlValidation.propTypes);
|
|
6854
6890
|
CFormControlWrapper.displayName = 'CFormControlWrapper';
|
|
6855
6891
|
|
|
6856
6892
|
var CFormInput = React.forwardRef(function (_a, ref) {
|
|
6857
6893
|
var _b;
|
|
6858
|
-
var children = _a.children, className = _a.className, _c = _a.delay, delay = _c === void 0 ? false : _c, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingLabel = _a.floatingLabel, id = _a.id, invalid = _a.invalid, label = _a.label, onChange = _a.onChange, plainText = _a.plainText, size = _a.size, text = _a.text, tooltipFeedback = _a.tooltipFeedback, _d = _a.type, type = _d === void 0 ? 'text' : _d, valid = _a.valid, rest = __rest(_a, ["children", "className", "delay", "feedback", "feedbackInvalid", "feedbackValid", "floatingLabel", "id", "invalid", "label", "onChange", "plainText", "size", "text", "tooltipFeedback", "type", "valid"]);
|
|
6894
|
+
var children = _a.children, className = _a.className, _c = _a.delay, delay = _c === void 0 ? false : _c, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingClassName = _a.floatingClassName, floatingLabel = _a.floatingLabel, id = _a.id, invalid = _a.invalid, label = _a.label, onChange = _a.onChange, plainText = _a.plainText, size = _a.size, text = _a.text, tooltipFeedback = _a.tooltipFeedback, _d = _a.type, type = _d === void 0 ? 'text' : _d, valid = _a.valid, rest = __rest(_a, ["children", "className", "delay", "feedback", "feedbackInvalid", "feedbackValid", "floatingClassName", "floatingLabel", "id", "invalid", "label", "onChange", "plainText", "size", "text", "tooltipFeedback", "type", "valid"]);
|
|
6859
6895
|
var _e = React.useState(), value = _e[0], setValue = _e[1];
|
|
6860
6896
|
React.useEffect(function () {
|
|
6861
6897
|
var timeOutId = setTimeout(function () { return value && onChange && onChange(value); }, typeof delay === 'number' ? delay : 500);
|
|
@@ -6867,10 +6903,10 @@ var CFormInput = React.forwardRef(function (_a, ref) {
|
|
|
6867
6903
|
_b['is-invalid'] = invalid,
|
|
6868
6904
|
_b['is-valid'] = valid,
|
|
6869
6905
|
_b), className);
|
|
6870
|
-
return (React.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
|
|
6906
|
+
return (React.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingClassName: floatingClassName, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
|
|
6871
6907
|
React.createElement("input", __assign({ className: _className, id: id, type: type, onChange: function (event) { return (delay ? setValue(event) : onChange && onChange(event)); } }, rest, { ref: ref }), children)));
|
|
6872
6908
|
});
|
|
6873
|
-
CFormInput.propTypes = __assign({ className:
|
|
6909
|
+
CFormInput.propTypes = __assign({ className: propTypesExports.string, id: propTypesExports.string, delay: propTypesExports.oneOfType([propTypesExports.bool, propTypesExports.number]), plainText: propTypesExports.bool, size: propTypesExports.oneOf(['sm', 'lg']), type: propTypesExports.oneOfType([propTypesExports.oneOf(['color', 'file', 'text']), propTypesExports.string]) }, CFormControlWrapper.propTypes);
|
|
6874
6910
|
CFormInput.displayName = 'CFormInput';
|
|
6875
6911
|
|
|
6876
6912
|
var CFormRange = React.forwardRef(function (_a, ref) {
|
|
@@ -6881,20 +6917,20 @@ var CFormRange = React.forwardRef(function (_a, ref) {
|
|
|
6881
6917
|
React.createElement("input", __assign({ type: "range", className: _className }, rest, { ref: ref }))));
|
|
6882
6918
|
});
|
|
6883
6919
|
CFormRange.propTypes = {
|
|
6884
|
-
className:
|
|
6885
|
-
label:
|
|
6920
|
+
className: propTypesExports.string,
|
|
6921
|
+
label: propTypesExports.oneOfType([propTypesExports.node, propTypesExports.string]),
|
|
6886
6922
|
};
|
|
6887
6923
|
CFormRange.displayName = 'CFormRange';
|
|
6888
6924
|
|
|
6889
6925
|
var CFormSelect = React.forwardRef(function (_a, ref) {
|
|
6890
6926
|
var _b;
|
|
6891
|
-
var children = _a.children, className = _a.className, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingLabel = _a.floatingLabel, htmlSize = _a.htmlSize, id = _a.id, invalid = _a.invalid, label = _a.label, options = _a.options, size = _a.size, text = _a.text, tooltipFeedback = _a.tooltipFeedback, valid = _a.valid, rest = __rest(_a, ["children", "className", "feedback", "feedbackInvalid", "feedbackValid", "floatingLabel", "htmlSize", "id", "invalid", "label", "options", "size", "text", "tooltipFeedback", "valid"]);
|
|
6927
|
+
var children = _a.children, className = _a.className, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingClassName = _a.floatingClassName, floatingLabel = _a.floatingLabel, htmlSize = _a.htmlSize, id = _a.id, invalid = _a.invalid, label = _a.label, options = _a.options, size = _a.size, text = _a.text, tooltipFeedback = _a.tooltipFeedback, valid = _a.valid, rest = __rest(_a, ["children", "className", "feedback", "feedbackInvalid", "feedbackValid", "floatingClassName", "floatingLabel", "htmlSize", "id", "invalid", "label", "options", "size", "text", "tooltipFeedback", "valid"]);
|
|
6892
6928
|
var _className = classNames('form-select', (_b = {},
|
|
6893
6929
|
_b["form-select-".concat(size)] = size,
|
|
6894
6930
|
_b['is-invalid'] = invalid,
|
|
6895
6931
|
_b['is-valid'] = valid,
|
|
6896
6932
|
_b), className);
|
|
6897
|
-
return (React.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
|
|
6933
|
+
return (React.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingClassName: floatingClassName, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
|
|
6898
6934
|
React.createElement("select", __assign({ id: id, className: _className, size: htmlSize }, rest, { ref: ref }), options
|
|
6899
6935
|
? options.map(function (option, index) {
|
|
6900
6936
|
return (React.createElement("option", __assign({}, (typeof option === 'object' &&
|
|
@@ -6902,7 +6938,7 @@ var CFormSelect = React.forwardRef(function (_a, ref) {
|
|
|
6902
6938
|
})
|
|
6903
6939
|
: children)));
|
|
6904
6940
|
});
|
|
6905
|
-
CFormSelect.propTypes = __assign({ className:
|
|
6941
|
+
CFormSelect.propTypes = __assign({ className: propTypesExports.string, htmlSize: propTypesExports.number, options: propTypesExports.array }, CFormControlWrapper.propTypes);
|
|
6906
6942
|
CFormSelect.displayName = 'CFormSelect';
|
|
6907
6943
|
|
|
6908
6944
|
var CFormSwitch = React.forwardRef(function (_a, ref) {
|
|
@@ -6923,26 +6959,26 @@ var CFormSwitch = React.forwardRef(function (_a, ref) {
|
|
|
6923
6959
|
label && (React.createElement(CFormLabel, __assign({ customClassName: labelClassName }, (id && { htmlFor: id })), label))));
|
|
6924
6960
|
});
|
|
6925
6961
|
CFormSwitch.propTypes = {
|
|
6926
|
-
className:
|
|
6927
|
-
id:
|
|
6928
|
-
invalid:
|
|
6929
|
-
label:
|
|
6930
|
-
size:
|
|
6931
|
-
type:
|
|
6932
|
-
valid:
|
|
6962
|
+
className: propTypesExports.string,
|
|
6963
|
+
id: propTypesExports.string,
|
|
6964
|
+
invalid: propTypesExports.bool,
|
|
6965
|
+
label: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
6966
|
+
size: propTypesExports.oneOf(['lg', 'xl']),
|
|
6967
|
+
type: propTypesExports.oneOf(['checkbox', 'radio']),
|
|
6968
|
+
valid: propTypesExports.bool,
|
|
6933
6969
|
};
|
|
6934
6970
|
CFormSwitch.displayName = 'CFormSwitch';
|
|
6935
6971
|
|
|
6936
6972
|
var CFormTextarea = React.forwardRef(function (_a, ref) {
|
|
6937
|
-
var children = _a.children, className = _a.className, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingLabel = _a.floatingLabel, id = _a.id, invalid = _a.invalid, label = _a.label, plainText = _a.plainText, text = _a.text, tooltipFeedback = _a.tooltipFeedback, valid = _a.valid, rest = __rest(_a, ["children", "className", "feedback", "feedbackInvalid", "feedbackValid", "floatingLabel", "id", "invalid", "label", "plainText", "text", "tooltipFeedback", "valid"]);
|
|
6973
|
+
var children = _a.children, className = _a.className, feedback = _a.feedback, feedbackInvalid = _a.feedbackInvalid, feedbackValid = _a.feedbackValid, floatingClassName = _a.floatingClassName, floatingLabel = _a.floatingLabel, id = _a.id, invalid = _a.invalid, label = _a.label, plainText = _a.plainText, text = _a.text, tooltipFeedback = _a.tooltipFeedback, valid = _a.valid, rest = __rest(_a, ["children", "className", "feedback", "feedbackInvalid", "feedbackValid", "floatingClassName", "floatingLabel", "id", "invalid", "label", "plainText", "text", "tooltipFeedback", "valid"]);
|
|
6938
6974
|
var _className = classNames(plainText ? 'form-control-plaintext' : 'form-control', {
|
|
6939
6975
|
'is-invalid': invalid,
|
|
6940
6976
|
'is-valid': valid,
|
|
6941
6977
|
}, className);
|
|
6942
|
-
return (React.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
|
|
6978
|
+
return (React.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingClassName: floatingClassName, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
|
|
6943
6979
|
React.createElement("textarea", __assign({ className: _className, id: id }, rest, { ref: ref }), children)));
|
|
6944
6980
|
});
|
|
6945
|
-
CFormTextarea.propTypes = __assign({ className:
|
|
6981
|
+
CFormTextarea.propTypes = __assign({ className: propTypesExports.string, id: propTypesExports.string, plainText: propTypesExports.bool }, CFormControlWrapper.propTypes);
|
|
6946
6982
|
CFormTextarea.displayName = 'CFormTextarea';
|
|
6947
6983
|
|
|
6948
6984
|
var CInputGroup = React.forwardRef(function (_a, ref) {
|
|
@@ -6954,9 +6990,9 @@ var CInputGroup = React.forwardRef(function (_a, ref) {
|
|
|
6954
6990
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6955
6991
|
});
|
|
6956
6992
|
CInputGroup.propTypes = {
|
|
6957
|
-
children:
|
|
6958
|
-
className:
|
|
6959
|
-
size:
|
|
6993
|
+
children: propTypesExports.node,
|
|
6994
|
+
className: propTypesExports.string,
|
|
6995
|
+
size: propTypesExports.oneOf(['sm', 'lg']),
|
|
6960
6996
|
};
|
|
6961
6997
|
CInputGroup.displayName = 'CInputGroup';
|
|
6962
6998
|
|
|
@@ -6966,9 +7002,9 @@ var CInputGroupText = React.forwardRef(function (_a, ref) {
|
|
|
6966
7002
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
6967
7003
|
});
|
|
6968
7004
|
CInputGroupText.propTypes = {
|
|
6969
|
-
children:
|
|
6970
|
-
className:
|
|
6971
|
-
component:
|
|
7005
|
+
children: propTypesExports.node,
|
|
7006
|
+
className: propTypesExports.string,
|
|
7007
|
+
component: propTypesExports.elementType,
|
|
6972
7008
|
};
|
|
6973
7009
|
CInputGroupText.displayName = 'CInputGroupText';
|
|
6974
7010
|
|
|
@@ -7011,27 +7047,27 @@ var CCol = React.forwardRef(function (_a, ref) {
|
|
|
7011
7047
|
var _className = classNames(repsonsiveClassNames.length ? repsonsiveClassNames : 'col', className);
|
|
7012
7048
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7013
7049
|
});
|
|
7014
|
-
var span =
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7050
|
+
var span = propTypesExports.oneOfType([
|
|
7051
|
+
propTypesExports.bool,
|
|
7052
|
+
propTypesExports.number,
|
|
7053
|
+
propTypesExports.string,
|
|
7054
|
+
propTypesExports.oneOf(['auto']),
|
|
7019
7055
|
]);
|
|
7020
|
-
var col =
|
|
7056
|
+
var col = propTypesExports.oneOfType([
|
|
7021
7057
|
span,
|
|
7022
|
-
|
|
7058
|
+
propTypesExports.shape({
|
|
7023
7059
|
span: span,
|
|
7024
|
-
offset:
|
|
7025
|
-
order:
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7060
|
+
offset: propTypesExports.oneOfType([propTypesExports.number, propTypesExports.string]),
|
|
7061
|
+
order: propTypesExports.oneOfType([
|
|
7062
|
+
propTypesExports.oneOf(['first', 'last']),
|
|
7063
|
+
propTypesExports.number,
|
|
7064
|
+
propTypesExports.string,
|
|
7029
7065
|
]),
|
|
7030
7066
|
}),
|
|
7031
7067
|
]);
|
|
7032
7068
|
CCol.propTypes = {
|
|
7033
|
-
children:
|
|
7034
|
-
className:
|
|
7069
|
+
children: propTypesExports.node,
|
|
7070
|
+
className: propTypesExports.string,
|
|
7035
7071
|
xs: col,
|
|
7036
7072
|
sm: col,
|
|
7037
7073
|
};
|
|
@@ -7057,14 +7093,14 @@ var CContainer = React.forwardRef(function (_a, ref) {
|
|
|
7057
7093
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7058
7094
|
});
|
|
7059
7095
|
CContainer.propTypes = {
|
|
7060
|
-
children:
|
|
7061
|
-
className:
|
|
7062
|
-
sm:
|
|
7063
|
-
md:
|
|
7064
|
-
lg:
|
|
7065
|
-
xl:
|
|
7066
|
-
xxl:
|
|
7067
|
-
fluid:
|
|
7096
|
+
children: propTypesExports.node,
|
|
7097
|
+
className: propTypesExports.string,
|
|
7098
|
+
sm: propTypesExports.bool,
|
|
7099
|
+
md: propTypesExports.bool,
|
|
7100
|
+
lg: propTypesExports.bool,
|
|
7101
|
+
xl: propTypesExports.bool,
|
|
7102
|
+
xxl: propTypesExports.bool,
|
|
7103
|
+
fluid: propTypesExports.bool,
|
|
7068
7104
|
};
|
|
7069
7105
|
CContainer.displayName = 'CContainer';
|
|
7070
7106
|
|
|
@@ -7101,15 +7137,15 @@ var CRow = React.forwardRef(function (_a, ref) {
|
|
|
7101
7137
|
var _className = classNames('row', repsonsiveClassNames, className);
|
|
7102
7138
|
return (React.createElement("div", { className: _className, ref: ref }, children));
|
|
7103
7139
|
});
|
|
7104
|
-
var bp =
|
|
7105
|
-
cols:
|
|
7106
|
-
gutter:
|
|
7107
|
-
gutterX:
|
|
7108
|
-
gutterY:
|
|
7140
|
+
var bp = propTypesExports.shape({
|
|
7141
|
+
cols: propTypesExports.oneOfType([propTypesExports.oneOf(['auto']), propTypesExports.number, propTypesExports.string]),
|
|
7142
|
+
gutter: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.number]),
|
|
7143
|
+
gutterX: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.number]),
|
|
7144
|
+
gutterY: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.number]),
|
|
7109
7145
|
});
|
|
7110
7146
|
CRow.propTypes = {
|
|
7111
|
-
children:
|
|
7112
|
-
className:
|
|
7147
|
+
children: propTypesExports.node,
|
|
7148
|
+
className: propTypesExports.string,
|
|
7113
7149
|
xs: bp,
|
|
7114
7150
|
sm: bp,
|
|
7115
7151
|
md: bp,
|
|
@@ -7133,11 +7169,11 @@ var CHeader = React.forwardRef(function (_a, ref) {
|
|
|
7133
7169
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), content));
|
|
7134
7170
|
});
|
|
7135
7171
|
CHeader.propTypes = {
|
|
7136
|
-
children:
|
|
7137
|
-
className:
|
|
7138
|
-
container:
|
|
7139
|
-
|
|
7140
|
-
|
|
7172
|
+
children: propTypesExports.node,
|
|
7173
|
+
className: propTypesExports.string,
|
|
7174
|
+
container: propTypesExports.oneOfType([
|
|
7175
|
+
propTypesExports.bool,
|
|
7176
|
+
propTypesExports.oneOf([
|
|
7141
7177
|
'sm',
|
|
7142
7178
|
'md',
|
|
7143
7179
|
'lg',
|
|
@@ -7146,7 +7182,7 @@ CHeader.propTypes = {
|
|
|
7146
7182
|
'fluid',
|
|
7147
7183
|
]),
|
|
7148
7184
|
]),
|
|
7149
|
-
position:
|
|
7185
|
+
position: propTypesExports.oneOf(['fixed', 'sticky']),
|
|
7150
7186
|
};
|
|
7151
7187
|
CHeader.displayName = 'CHeader';
|
|
7152
7188
|
|
|
@@ -7156,9 +7192,9 @@ var CHeaderBrand = React.forwardRef(function (_a, ref) {
|
|
|
7156
7192
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7157
7193
|
});
|
|
7158
7194
|
CHeaderBrand.propTypes = {
|
|
7159
|
-
children:
|
|
7160
|
-
className:
|
|
7161
|
-
component:
|
|
7195
|
+
children: propTypesExports.node,
|
|
7196
|
+
className: propTypesExports.string,
|
|
7197
|
+
component: propTypesExports.elementType,
|
|
7162
7198
|
};
|
|
7163
7199
|
CHeaderBrand.displayName = 'CHeaderBrand';
|
|
7164
7200
|
|
|
@@ -7168,7 +7204,7 @@ var CHeaderDivider = React.forwardRef(function (_a, ref) {
|
|
|
7168
7204
|
return React.createElement("div", __assign({ className: _className }, rest, { ref: ref }));
|
|
7169
7205
|
});
|
|
7170
7206
|
CHeaderDivider.propTypes = {
|
|
7171
|
-
className:
|
|
7207
|
+
className: propTypesExports.string,
|
|
7172
7208
|
};
|
|
7173
7209
|
CHeaderDivider.displayName = 'CHeaderDivider';
|
|
7174
7210
|
|
|
@@ -7178,9 +7214,9 @@ var CHeaderNav = React.forwardRef(function (_a, ref) {
|
|
|
7178
7214
|
return (React.createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children));
|
|
7179
7215
|
});
|
|
7180
7216
|
CHeaderNav.propTypes = {
|
|
7181
|
-
children:
|
|
7182
|
-
className:
|
|
7183
|
-
component:
|
|
7217
|
+
children: propTypesExports.node,
|
|
7218
|
+
className: propTypesExports.string,
|
|
7219
|
+
component: propTypesExports.elementType,
|
|
7184
7220
|
};
|
|
7185
7221
|
CHeaderNav.displayName = 'CHeaderNav';
|
|
7186
7222
|
|
|
@@ -7190,8 +7226,8 @@ var CHeaderText = React.forwardRef(function (_a, ref) {
|
|
|
7190
7226
|
return (React.createElement("span", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7191
7227
|
});
|
|
7192
7228
|
CHeaderText.propTypes = {
|
|
7193
|
-
children:
|
|
7194
|
-
className:
|
|
7229
|
+
children: propTypesExports.node,
|
|
7230
|
+
className: propTypesExports.string,
|
|
7195
7231
|
};
|
|
7196
7232
|
CHeaderText.displayName = 'CHeaderText';
|
|
7197
7233
|
|
|
@@ -7201,8 +7237,8 @@ var CHeaderToggler = React.forwardRef(function (_a, ref) {
|
|
|
7201
7237
|
return (React.createElement("button", __assign({ type: "button", className: _className }, rest, { ref: ref }), children ? children : React.createElement("span", { className: "header-toggler-icon" })));
|
|
7202
7238
|
});
|
|
7203
7239
|
CHeaderToggler.propTypes = {
|
|
7204
|
-
children:
|
|
7205
|
-
className:
|
|
7240
|
+
children: propTypesExports.node,
|
|
7241
|
+
className: propTypesExports.string,
|
|
7206
7242
|
};
|
|
7207
7243
|
CHeaderToggler.displayName = 'CHeaderToggler';
|
|
7208
7244
|
|
|
@@ -7219,11 +7255,11 @@ var CImage = React.forwardRef(function (_a, ref) {
|
|
|
7219
7255
|
return React.createElement("img", __assign({ className: _className }, rest, { ref: ref }));
|
|
7220
7256
|
});
|
|
7221
7257
|
CImage.propTypes = {
|
|
7222
|
-
align:
|
|
7223
|
-
className:
|
|
7224
|
-
fluid:
|
|
7225
|
-
rounded:
|
|
7226
|
-
thumbnail:
|
|
7258
|
+
align: propTypesExports.oneOf(['start', 'center', 'end']),
|
|
7259
|
+
className: propTypesExports.string,
|
|
7260
|
+
fluid: propTypesExports.bool,
|
|
7261
|
+
rounded: propTypesExports.bool,
|
|
7262
|
+
thumbnail: propTypesExports.bool,
|
|
7227
7263
|
};
|
|
7228
7264
|
CImage.displayName = 'CImage';
|
|
7229
7265
|
|
|
@@ -7238,11 +7274,11 @@ var CListGroup = React.forwardRef(function (_a, ref) {
|
|
|
7238
7274
|
return (React.createElement(Component, { className: _className, ref: ref }, children));
|
|
7239
7275
|
});
|
|
7240
7276
|
CListGroup.propTypes = {
|
|
7241
|
-
children:
|
|
7242
|
-
className:
|
|
7243
|
-
component:
|
|
7244
|
-
flush:
|
|
7245
|
-
layout:
|
|
7277
|
+
children: propTypesExports.node,
|
|
7278
|
+
className: propTypesExports.string,
|
|
7279
|
+
component: propTypesExports.elementType,
|
|
7280
|
+
flush: propTypesExports.bool,
|
|
7281
|
+
layout: propTypesExports.oneOf([
|
|
7246
7282
|
'horizontal',
|
|
7247
7283
|
'horizontal-sm',
|
|
7248
7284
|
'horizontal-md',
|
|
@@ -7272,12 +7308,12 @@ var CListGroupItem = React.forwardRef(function (_a, ref) {
|
|
|
7272
7308
|
return (React.createElement(Component, __assign({ className: _className }, rest), children));
|
|
7273
7309
|
});
|
|
7274
7310
|
CListGroupItem.propTypes = {
|
|
7275
|
-
active:
|
|
7276
|
-
children:
|
|
7277
|
-
className:
|
|
7311
|
+
active: propTypesExports.bool,
|
|
7312
|
+
children: propTypesExports.node,
|
|
7313
|
+
className: propTypesExports.string,
|
|
7278
7314
|
color: colorPropType,
|
|
7279
|
-
component:
|
|
7280
|
-
disabled:
|
|
7315
|
+
component: propTypesExports.elementType,
|
|
7316
|
+
disabled: propTypesExports.bool,
|
|
7281
7317
|
};
|
|
7282
7318
|
CListGroupItem.displayName = 'CListGroupItem';
|
|
7283
7319
|
|
|
@@ -7287,8 +7323,8 @@ var CModalContent = React.forwardRef(function (_a, ref) {
|
|
|
7287
7323
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7288
7324
|
});
|
|
7289
7325
|
CModalContent.propTypes = {
|
|
7290
|
-
children:
|
|
7291
|
-
className:
|
|
7326
|
+
children: propTypesExports.node,
|
|
7327
|
+
className: propTypesExports.string,
|
|
7292
7328
|
};
|
|
7293
7329
|
CModalContent.displayName = 'CModalContent';
|
|
7294
7330
|
|
|
@@ -7307,21 +7343,21 @@ var CModalDialog = React.forwardRef(function (_a, ref) {
|
|
|
7307
7343
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7308
7344
|
});
|
|
7309
7345
|
CModalDialog.propTypes = {
|
|
7310
|
-
alignment:
|
|
7311
|
-
children:
|
|
7312
|
-
className:
|
|
7313
|
-
fullscreen:
|
|
7314
|
-
|
|
7315
|
-
|
|
7346
|
+
alignment: propTypesExports.oneOf(['top', 'center']),
|
|
7347
|
+
children: propTypesExports.node,
|
|
7348
|
+
className: propTypesExports.string,
|
|
7349
|
+
fullscreen: propTypesExports.oneOfType([
|
|
7350
|
+
propTypesExports.bool,
|
|
7351
|
+
propTypesExports.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7316
7352
|
]),
|
|
7317
|
-
scrollable:
|
|
7318
|
-
size:
|
|
7353
|
+
scrollable: propTypesExports.bool,
|
|
7354
|
+
size: propTypesExports.oneOf(['sm', 'lg', 'xl']),
|
|
7319
7355
|
};
|
|
7320
7356
|
CModalDialog.displayName = 'CModalDialog';
|
|
7321
7357
|
|
|
7322
7358
|
var CModalContext = React.createContext({});
|
|
7323
7359
|
var CModal = React.forwardRef(function (_a, ref) {
|
|
7324
|
-
var children = _a.children, alignment = _a.alignment, _b = _a.backdrop, backdrop = _b === void 0 ? true : _b, className = _a.className, _c = _a.duration, duration = _c === void 0 ? 150 : _c, fullscreen = _a.fullscreen, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onClose = _a.onClose, onClosePrevented = _a.onClosePrevented, onShow = _a.onShow, _e = _a.portal, portal = _e === void 0 ? true : _e, scrollable = _a.scrollable, size = _a.size, _f = _a.transition, transition = _f === void 0 ? true : _f, _g = _a.unmountOnClose, unmountOnClose = _g === void 0 ? true : _g, visible = _a.visible;
|
|
7360
|
+
var children = _a.children, alignment = _a.alignment, _b = _a.backdrop, backdrop = _b === void 0 ? true : _b, className = _a.className, _c = _a.duration, duration = _c === void 0 ? 150 : _c, fullscreen = _a.fullscreen, _d = _a.keyboard, keyboard = _d === void 0 ? true : _d, onClose = _a.onClose, onClosePrevented = _a.onClosePrevented, onShow = _a.onShow, _e = _a.portal, portal = _e === void 0 ? true : _e, scrollable = _a.scrollable, size = _a.size, _f = _a.transition, transition = _f === void 0 ? true : _f, _g = _a.unmountOnClose, unmountOnClose = _g === void 0 ? true : _g, visible = _a.visible, rest = __rest(_a, ["children", "alignment", "backdrop", "className", "duration", "fullscreen", "keyboard", "onClose", "onClosePrevented", "onShow", "portal", "scrollable", "size", "transition", "unmountOnClose", "visible"]);
|
|
7325
7361
|
var modalRef = React.useRef(null);
|
|
7326
7362
|
var modalContentRef = React.useRef(null);
|
|
7327
7363
|
var forkedRef = useForkedRef(ref, modalRef);
|
|
@@ -7408,7 +7444,7 @@ var CModal = React.forwardRef(function (_a, ref) {
|
|
|
7408
7444
|
return (React.createElement(CModalContext.Provider, { value: contextValues },
|
|
7409
7445
|
React.createElement("div", { className: classNames(_className, transitionClass), tabIndex: -1, role: "dialog", ref: ref },
|
|
7410
7446
|
React.createElement(CModalDialog, { alignment: alignment, fullscreen: fullscreen, scrollable: scrollable, size: size },
|
|
7411
|
-
React.createElement(CModalContent, { ref: modalContentRef }, children)))));
|
|
7447
|
+
React.createElement(CModalContent, __assign({}, rest, { ref: modalContentRef }), children)))));
|
|
7412
7448
|
};
|
|
7413
7449
|
return (React.createElement(React.Fragment, null,
|
|
7414
7450
|
React.createElement(Transition, { in: _visible, mountOnEnter: true, nodeRef: modalRef, onEnter: onShow, onExit: onClose, unmountOnExit: unmountOnClose, timeout: !transition ? 0 : duration }, function (state) {
|
|
@@ -7422,25 +7458,25 @@ var CModal = React.forwardRef(function (_a, ref) {
|
|
|
7422
7458
|
: backdrop && React.createElement(CBackdrop, { visible: _visible })));
|
|
7423
7459
|
});
|
|
7424
7460
|
CModal.propTypes = {
|
|
7425
|
-
alignment:
|
|
7426
|
-
backdrop:
|
|
7427
|
-
children:
|
|
7428
|
-
className:
|
|
7429
|
-
duration:
|
|
7430
|
-
fullscreen:
|
|
7431
|
-
|
|
7432
|
-
|
|
7461
|
+
alignment: propTypesExports.oneOf(['top', 'center']),
|
|
7462
|
+
backdrop: propTypesExports.oneOfType([propTypesExports.bool, propTypesExports.oneOf(['static'])]),
|
|
7463
|
+
children: propTypesExports.node,
|
|
7464
|
+
className: propTypesExports.string,
|
|
7465
|
+
duration: propTypesExports.number,
|
|
7466
|
+
fullscreen: propTypesExports.oneOfType([
|
|
7467
|
+
propTypesExports.bool,
|
|
7468
|
+
propTypesExports.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7433
7469
|
]),
|
|
7434
|
-
keyboard:
|
|
7435
|
-
onClose:
|
|
7436
|
-
onClosePrevented:
|
|
7437
|
-
onShow:
|
|
7438
|
-
portal:
|
|
7439
|
-
scrollable:
|
|
7440
|
-
size:
|
|
7441
|
-
transition:
|
|
7442
|
-
unmountOnClose:
|
|
7443
|
-
visible:
|
|
7470
|
+
keyboard: propTypesExports.bool,
|
|
7471
|
+
onClose: propTypesExports.func,
|
|
7472
|
+
onClosePrevented: propTypesExports.func,
|
|
7473
|
+
onShow: propTypesExports.func,
|
|
7474
|
+
portal: propTypesExports.bool,
|
|
7475
|
+
scrollable: propTypesExports.bool,
|
|
7476
|
+
size: propTypesExports.oneOf(['sm', 'lg', 'xl']),
|
|
7477
|
+
transition: propTypesExports.bool,
|
|
7478
|
+
unmountOnClose: propTypesExports.bool,
|
|
7479
|
+
visible: propTypesExports.bool,
|
|
7444
7480
|
};
|
|
7445
7481
|
CModal.displayName = 'CModal';
|
|
7446
7482
|
|
|
@@ -7450,8 +7486,8 @@ var CModalBody = React.forwardRef(function (_a, ref) {
|
|
|
7450
7486
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7451
7487
|
});
|
|
7452
7488
|
CModalBody.propTypes = {
|
|
7453
|
-
children:
|
|
7454
|
-
className:
|
|
7489
|
+
children: propTypesExports.node,
|
|
7490
|
+
className: propTypesExports.string,
|
|
7455
7491
|
};
|
|
7456
7492
|
CModalBody.displayName = 'CModalBody';
|
|
7457
7493
|
|
|
@@ -7461,8 +7497,8 @@ var CModalFooter = React.forwardRef(function (_a, ref) {
|
|
|
7461
7497
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7462
7498
|
});
|
|
7463
7499
|
CModalFooter.propTypes = {
|
|
7464
|
-
children:
|
|
7465
|
-
className:
|
|
7500
|
+
children: propTypesExports.node,
|
|
7501
|
+
className: propTypesExports.string,
|
|
7466
7502
|
};
|
|
7467
7503
|
CModalFooter.displayName = 'CModalFooter';
|
|
7468
7504
|
|
|
@@ -7475,9 +7511,9 @@ var CModalHeader = React.forwardRef(function (_a, ref) {
|
|
|
7475
7511
|
closeButton && React.createElement(CCloseButton, { onClick: function () { return setVisible(false); } })));
|
|
7476
7512
|
});
|
|
7477
7513
|
CModalHeader.propTypes = {
|
|
7478
|
-
children:
|
|
7479
|
-
className:
|
|
7480
|
-
closeButton:
|
|
7514
|
+
children: propTypesExports.node,
|
|
7515
|
+
className: propTypesExports.string,
|
|
7516
|
+
closeButton: propTypesExports.bool,
|
|
7481
7517
|
};
|
|
7482
7518
|
CModalHeader.displayName = 'CModalHeader';
|
|
7483
7519
|
|
|
@@ -7487,9 +7523,9 @@ var CModalTitle = React.forwardRef(function (_a, ref) {
|
|
|
7487
7523
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7488
7524
|
});
|
|
7489
7525
|
CModalTitle.propTypes = {
|
|
7490
|
-
children:
|
|
7491
|
-
className:
|
|
7492
|
-
component:
|
|
7526
|
+
children: propTypesExports.node,
|
|
7527
|
+
className: propTypesExports.string,
|
|
7528
|
+
component: propTypesExports.elementType,
|
|
7493
7529
|
};
|
|
7494
7530
|
CModalTitle.displayName = 'CModalTitle';
|
|
7495
7531
|
|
|
@@ -7503,11 +7539,11 @@ var CNav = React.forwardRef(function (_a, ref) {
|
|
|
7503
7539
|
return (React.createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children));
|
|
7504
7540
|
});
|
|
7505
7541
|
CNav.propTypes = {
|
|
7506
|
-
children:
|
|
7507
|
-
className:
|
|
7508
|
-
component:
|
|
7509
|
-
layout:
|
|
7510
|
-
variant:
|
|
7542
|
+
children: propTypesExports.node,
|
|
7543
|
+
className: propTypesExports.string,
|
|
7544
|
+
component: propTypesExports.elementType,
|
|
7545
|
+
layout: propTypesExports.oneOf(['fill', 'justified']),
|
|
7546
|
+
variant: propTypesExports.oneOf(['tabs', 'pills']),
|
|
7511
7547
|
};
|
|
7512
7548
|
CNav.displayName = 'CNav';
|
|
7513
7549
|
|
|
@@ -7517,8 +7553,8 @@ var CNavGroupItems = React.forwardRef(function (_a, ref) {
|
|
|
7517
7553
|
return (React.createElement("ul", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7518
7554
|
});
|
|
7519
7555
|
CNavGroupItems.propTypes = {
|
|
7520
|
-
children:
|
|
7521
|
-
className:
|
|
7556
|
+
children: propTypesExports.node,
|
|
7557
|
+
className: propTypesExports.string,
|
|
7522
7558
|
};
|
|
7523
7559
|
CNavGroupItems.displayName = 'CNavGroupItems';
|
|
7524
7560
|
|
|
@@ -7543,8 +7579,8 @@ var CSidebarNav = React.forwardRef(function (_a, ref) {
|
|
|
7543
7579
|
}))));
|
|
7544
7580
|
});
|
|
7545
7581
|
CSidebarNav.propTypes = {
|
|
7546
|
-
children:
|
|
7547
|
-
className:
|
|
7582
|
+
children: propTypesExports.node,
|
|
7583
|
+
className: propTypesExports.string,
|
|
7548
7584
|
};
|
|
7549
7585
|
CSidebarNav.displayName = 'CSidebarNav';
|
|
7550
7586
|
|
|
@@ -7606,12 +7642,12 @@ var CNavGroup = React.forwardRef(function (_a, ref) {
|
|
|
7606
7642
|
}))); })));
|
|
7607
7643
|
});
|
|
7608
7644
|
CNavGroup.propTypes = {
|
|
7609
|
-
children:
|
|
7610
|
-
className:
|
|
7611
|
-
compact:
|
|
7612
|
-
idx:
|
|
7613
|
-
toggler:
|
|
7614
|
-
visible:
|
|
7645
|
+
children: propTypesExports.node,
|
|
7646
|
+
className: propTypesExports.string,
|
|
7647
|
+
compact: propTypesExports.bool,
|
|
7648
|
+
idx: propTypesExports.string,
|
|
7649
|
+
toggler: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
7650
|
+
visible: propTypesExports.bool,
|
|
7615
7651
|
};
|
|
7616
7652
|
CNavGroup.displayName = 'CNavGroup';
|
|
7617
7653
|
|
|
@@ -7629,9 +7665,9 @@ var CNavLink = React.forwardRef(function (_a, ref) {
|
|
|
7629
7665
|
return (React.createElement(CLink, __assign({ className: _className }, rest, { ref: forkedRef }), children));
|
|
7630
7666
|
});
|
|
7631
7667
|
CNavLink.propTypes = {
|
|
7632
|
-
children:
|
|
7633
|
-
className:
|
|
7634
|
-
idx:
|
|
7668
|
+
children: propTypesExports.node,
|
|
7669
|
+
className: propTypesExports.string,
|
|
7670
|
+
idx: propTypesExports.string,
|
|
7635
7671
|
};
|
|
7636
7672
|
CNavLink.displayName = 'CNavLink';
|
|
7637
7673
|
|
|
@@ -7644,8 +7680,8 @@ var CNavItem = React.forwardRef(function (_a, ref) {
|
|
|
7644
7680
|
return (React.createElement("li", { className: _className, ref: ref }, children));
|
|
7645
7681
|
});
|
|
7646
7682
|
CNavItem.propTypes = {
|
|
7647
|
-
children:
|
|
7648
|
-
className:
|
|
7683
|
+
children: propTypesExports.node,
|
|
7684
|
+
className: propTypesExports.string,
|
|
7649
7685
|
};
|
|
7650
7686
|
CNavItem.displayName = 'CNavItem';
|
|
7651
7687
|
|
|
@@ -7655,8 +7691,8 @@ var CNavTitle = React.forwardRef(function (_a, ref) {
|
|
|
7655
7691
|
return (React.createElement("li", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7656
7692
|
});
|
|
7657
7693
|
CNavTitle.propTypes = {
|
|
7658
|
-
children:
|
|
7659
|
-
className:
|
|
7694
|
+
children: propTypesExports.node,
|
|
7695
|
+
className: propTypesExports.string,
|
|
7660
7696
|
};
|
|
7661
7697
|
CNavTitle.displayName = 'CNavTitle';
|
|
7662
7698
|
|
|
@@ -7678,14 +7714,14 @@ var CNavbar = React.forwardRef(function (_a, ref) {
|
|
|
7678
7714
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), content));
|
|
7679
7715
|
});
|
|
7680
7716
|
CNavbar.propTypes = {
|
|
7681
|
-
children:
|
|
7682
|
-
className:
|
|
7717
|
+
children: propTypesExports.node,
|
|
7718
|
+
className: propTypesExports.string,
|
|
7683
7719
|
color: colorPropType,
|
|
7684
|
-
colorScheme:
|
|
7685
|
-
component:
|
|
7686
|
-
container:
|
|
7687
|
-
|
|
7688
|
-
|
|
7720
|
+
colorScheme: propTypesExports.oneOf(['dark', 'light']),
|
|
7721
|
+
component: propTypesExports.elementType,
|
|
7722
|
+
container: propTypesExports.oneOfType([
|
|
7723
|
+
propTypesExports.bool,
|
|
7724
|
+
propTypesExports.oneOf([
|
|
7689
7725
|
'sm',
|
|
7690
7726
|
'md',
|
|
7691
7727
|
'lg',
|
|
@@ -7694,11 +7730,11 @@ CNavbar.propTypes = {
|
|
|
7694
7730
|
'fluid',
|
|
7695
7731
|
]),
|
|
7696
7732
|
]),
|
|
7697
|
-
expand:
|
|
7698
|
-
|
|
7699
|
-
|
|
7733
|
+
expand: propTypesExports.oneOfType([
|
|
7734
|
+
propTypesExports.bool,
|
|
7735
|
+
propTypesExports.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
7700
7736
|
]),
|
|
7701
|
-
placement:
|
|
7737
|
+
placement: propTypesExports.oneOf(['fixed-top', 'fixed-bottom', 'sticky-top']),
|
|
7702
7738
|
};
|
|
7703
7739
|
CNavbar.displayName = 'CNavbar';
|
|
7704
7740
|
|
|
@@ -7709,9 +7745,9 @@ var CNavbarBrand = React.forwardRef(function (_a, ref) {
|
|
|
7709
7745
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7710
7746
|
});
|
|
7711
7747
|
CNavbarBrand.propTypes = {
|
|
7712
|
-
children:
|
|
7713
|
-
className:
|
|
7714
|
-
component:
|
|
7748
|
+
children: propTypesExports.node,
|
|
7749
|
+
className: propTypesExports.string,
|
|
7750
|
+
component: propTypesExports.elementType,
|
|
7715
7751
|
};
|
|
7716
7752
|
CNavbarBrand.displayName = 'CNavbarBrand';
|
|
7717
7753
|
|
|
@@ -7721,9 +7757,9 @@ var CNavbarNav = React.forwardRef(function (_a, ref) {
|
|
|
7721
7757
|
return (React.createElement(Component, __assign({ className: _className, role: "navigation" }, rest, { ref: ref }), children));
|
|
7722
7758
|
});
|
|
7723
7759
|
CNavbarNav.propTypes = {
|
|
7724
|
-
children:
|
|
7725
|
-
className:
|
|
7726
|
-
component:
|
|
7760
|
+
children: propTypesExports.node,
|
|
7761
|
+
className: propTypesExports.string,
|
|
7762
|
+
component: propTypesExports.elementType,
|
|
7727
7763
|
};
|
|
7728
7764
|
CNavbarNav.displayName = 'CNavbarNav';
|
|
7729
7765
|
|
|
@@ -7733,8 +7769,8 @@ var CNavbarText = React.forwardRef(function (_a, ref) {
|
|
|
7733
7769
|
return (React.createElement("span", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7734
7770
|
});
|
|
7735
7771
|
CNavbarText.propTypes = {
|
|
7736
|
-
children:
|
|
7737
|
-
className:
|
|
7772
|
+
children: propTypesExports.node,
|
|
7773
|
+
className: propTypesExports.string,
|
|
7738
7774
|
};
|
|
7739
7775
|
CNavbarText.displayName = 'CNavbarText';
|
|
7740
7776
|
|
|
@@ -7744,8 +7780,8 @@ var CNavbarToggler = React.forwardRef(function (_a, ref) {
|
|
|
7744
7780
|
return (React.createElement("button", __assign({ type: "button", className: _className }, rest, { ref: ref }), children ? children : React.createElement("span", { className: "navbar-toggler-icon" })));
|
|
7745
7781
|
});
|
|
7746
7782
|
CNavbarToggler.propTypes = {
|
|
7747
|
-
children:
|
|
7748
|
-
className:
|
|
7783
|
+
children: propTypesExports.node,
|
|
7784
|
+
className: propTypesExports.string,
|
|
7749
7785
|
};
|
|
7750
7786
|
CNavbarToggler.displayName = 'CNavbarToggler';
|
|
7751
7787
|
|
|
@@ -7805,17 +7841,17 @@ var COffcanvas = React.forwardRef(function (_a, ref) {
|
|
|
7805
7841
|
: backdrop && (React.createElement(CBackdrop, { className: "offcanvas-backdrop", onClick: handleDismiss, visible: _visible }))));
|
|
7806
7842
|
});
|
|
7807
7843
|
COffcanvas.propTypes = {
|
|
7808
|
-
backdrop:
|
|
7809
|
-
children:
|
|
7810
|
-
className:
|
|
7811
|
-
keyboard:
|
|
7812
|
-
onHide:
|
|
7813
|
-
onShow:
|
|
7814
|
-
placement:
|
|
7844
|
+
backdrop: propTypesExports.bool,
|
|
7845
|
+
children: propTypesExports.node,
|
|
7846
|
+
className: propTypesExports.string,
|
|
7847
|
+
keyboard: propTypesExports.bool,
|
|
7848
|
+
onHide: propTypesExports.func,
|
|
7849
|
+
onShow: propTypesExports.func,
|
|
7850
|
+
placement: propTypesExports.oneOf(['start', 'end', 'top', 'bottom'])
|
|
7815
7851
|
.isRequired,
|
|
7816
|
-
portal:
|
|
7817
|
-
scroll:
|
|
7818
|
-
visible:
|
|
7852
|
+
portal: propTypesExports.bool,
|
|
7853
|
+
scroll: propTypesExports.bool,
|
|
7854
|
+
visible: propTypesExports.bool,
|
|
7819
7855
|
};
|
|
7820
7856
|
COffcanvas.displayName = 'COffcanvas';
|
|
7821
7857
|
|
|
@@ -7825,8 +7861,8 @@ var COffcanvasBody = React.forwardRef(function (_a, ref) {
|
|
|
7825
7861
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7826
7862
|
});
|
|
7827
7863
|
COffcanvasBody.propTypes = {
|
|
7828
|
-
children:
|
|
7829
|
-
className:
|
|
7864
|
+
children: propTypesExports.node,
|
|
7865
|
+
className: propTypesExports.string,
|
|
7830
7866
|
};
|
|
7831
7867
|
COffcanvasBody.displayName = 'COffcanvasBody';
|
|
7832
7868
|
|
|
@@ -7836,8 +7872,8 @@ var COffcanvasHeader = React.forwardRef(function (_a, ref) {
|
|
|
7836
7872
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7837
7873
|
});
|
|
7838
7874
|
COffcanvasHeader.propTypes = {
|
|
7839
|
-
children:
|
|
7840
|
-
className:
|
|
7875
|
+
children: propTypesExports.node,
|
|
7876
|
+
className: propTypesExports.string,
|
|
7841
7877
|
};
|
|
7842
7878
|
COffcanvasHeader.displayName = 'COffcanvasHeader';
|
|
7843
7879
|
|
|
@@ -7847,9 +7883,9 @@ var COffcanvasTitle = React.forwardRef(function (_a, ref) {
|
|
|
7847
7883
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7848
7884
|
});
|
|
7849
7885
|
COffcanvasTitle.propTypes = {
|
|
7850
|
-
children:
|
|
7851
|
-
className:
|
|
7852
|
-
component:
|
|
7886
|
+
children: propTypesExports.node,
|
|
7887
|
+
className: propTypesExports.string,
|
|
7888
|
+
component: propTypesExports.elementType,
|
|
7853
7889
|
};
|
|
7854
7890
|
COffcanvasTitle.displayName = 'COffcanvasTitle';
|
|
7855
7891
|
|
|
@@ -7864,10 +7900,10 @@ var CPagination = React.forwardRef(function (_a, ref) {
|
|
|
7864
7900
|
React.createElement("ul", { className: _className }, children)));
|
|
7865
7901
|
});
|
|
7866
7902
|
CPagination.propTypes = {
|
|
7867
|
-
align:
|
|
7868
|
-
children:
|
|
7869
|
-
className:
|
|
7870
|
-
size:
|
|
7903
|
+
align: propTypesExports.oneOf(['start', 'center', 'end']),
|
|
7904
|
+
children: propTypesExports.node,
|
|
7905
|
+
className: propTypesExports.string,
|
|
7906
|
+
size: propTypesExports.oneOf(['sm', 'lg']),
|
|
7871
7907
|
};
|
|
7872
7908
|
CPagination.displayName = 'CPagination';
|
|
7873
7909
|
|
|
@@ -7881,9 +7917,9 @@ var CPaginationItem = React.forwardRef(function (_a, ref) {
|
|
|
7881
7917
|
return (React.createElement("li", __assign({ className: _className }, (rest.active && { 'aria-current': 'page' })), Component === 'a' ? (React.createElement(CLink, __assign({ className: "page-link", component: Component }, rest, { ref: ref }), children)) : (React.createElement(Component, { className: "page-link", ref: ref }, children))));
|
|
7882
7918
|
});
|
|
7883
7919
|
CPaginationItem.propTypes = {
|
|
7884
|
-
children:
|
|
7885
|
-
className:
|
|
7886
|
-
component:
|
|
7920
|
+
children: propTypesExports.node,
|
|
7921
|
+
className: propTypesExports.string,
|
|
7922
|
+
component: propTypesExports.elementType,
|
|
7887
7923
|
};
|
|
7888
7924
|
CPaginationItem.displayName = 'CPaginationItem';
|
|
7889
7925
|
|
|
@@ -7917,12 +7953,12 @@ var CPlaceholder = React.forwardRef(function (_a, ref) {
|
|
|
7917
7953
|
return (React.createElement(Component, __assign({ className: _className }, rest, { ref: ref }), children));
|
|
7918
7954
|
});
|
|
7919
7955
|
CPlaceholder.propTypes = {
|
|
7920
|
-
animation:
|
|
7921
|
-
children:
|
|
7922
|
-
className:
|
|
7956
|
+
animation: propTypesExports.oneOf(['glow', 'wave']),
|
|
7957
|
+
children: propTypesExports.node,
|
|
7958
|
+
className: propTypesExports.string,
|
|
7923
7959
|
color: colorPropType,
|
|
7924
|
-
component:
|
|
7925
|
-
size:
|
|
7960
|
+
component: propTypesExports.elementType,
|
|
7961
|
+
size: propTypesExports.oneOf(['xs', 'sm', 'lg']),
|
|
7926
7962
|
};
|
|
7927
7963
|
CPlaceholder.displayName = 'CPlaceholder';
|
|
7928
7964
|
|
|
@@ -7937,12 +7973,12 @@ var CProgressBar = React.forwardRef(function (_a, ref) {
|
|
|
7937
7973
|
return (React.createElement("div", __assign({ className: _className, role: "progressbar", style: { width: "".concat(value, "%") }, "aria-valuenow": value, "aria-valuemin": 0, "aria-valuemax": 100 }, rest, { ref: ref }), children));
|
|
7938
7974
|
});
|
|
7939
7975
|
CProgressBar.propTypes = {
|
|
7940
|
-
animated:
|
|
7941
|
-
children:
|
|
7942
|
-
className:
|
|
7976
|
+
animated: propTypesExports.bool,
|
|
7977
|
+
children: propTypesExports.node,
|
|
7978
|
+
className: propTypesExports.string,
|
|
7943
7979
|
color: colorPropType,
|
|
7944
|
-
value:
|
|
7945
|
-
variant:
|
|
7980
|
+
value: propTypesExports.number,
|
|
7981
|
+
variant: propTypesExports.oneOf(['striped']),
|
|
7946
7982
|
};
|
|
7947
7983
|
CProgressBar.displayName = 'CProgressBar';
|
|
7948
7984
|
|
|
@@ -7955,17 +7991,17 @@ var CProgress = React.forwardRef(function (_a, ref) {
|
|
|
7955
7991
|
return (React.createElement("div", { className: _className, style: height ? { height: "".concat(height, "px") } : {}, ref: ref }, value ? (React.createElement(CProgressBar, __assign({ value: value }, rest), children)) : (children)));
|
|
7956
7992
|
});
|
|
7957
7993
|
CProgress.propTypes = {
|
|
7958
|
-
children:
|
|
7959
|
-
className:
|
|
7960
|
-
height:
|
|
7961
|
-
thin:
|
|
7962
|
-
value:
|
|
7963
|
-
white:
|
|
7994
|
+
children: propTypesExports.node,
|
|
7995
|
+
className: propTypesExports.string,
|
|
7996
|
+
height: propTypesExports.number,
|
|
7997
|
+
thin: propTypesExports.bool,
|
|
7998
|
+
value: propTypesExports.number,
|
|
7999
|
+
white: propTypesExports.bool,
|
|
7964
8000
|
};
|
|
7965
8001
|
CProgress.displayName = 'CProgress';
|
|
7966
8002
|
|
|
7967
8003
|
var CPopover = function (_a) {
|
|
7968
|
-
var children = _a.children, content = _a.content, _b = _a.offset, offset = _b === void 0 ? [0, 8] : _b, onHide = _a.onHide, onShow = _a.onShow, _c = _a.placement, placement = _c === void 0 ? 'top' : _c, title = _a.title, _d = _a.trigger, trigger = _d === void 0 ? 'click' : _d, visible = _a.visible, rest = __rest(_a, ["children", "content", "offset", "onHide", "onShow", "placement", "title", "trigger", "visible"]);
|
|
8004
|
+
var children = _a.children, className = _a.className, content = _a.content, _b = _a.offset, offset = _b === void 0 ? [0, 8] : _b, onHide = _a.onHide, onShow = _a.onShow, _c = _a.placement, placement = _c === void 0 ? 'top' : _c, title = _a.title, _d = _a.trigger, trigger = _d === void 0 ? 'click' : _d, visible = _a.visible, rest = __rest(_a, ["children", "className", "content", "offset", "onHide", "onShow", "placement", "title", "trigger", "visible"]);
|
|
7969
8005
|
var _e = React.useState(visible), _visible = _e[0], setVisible = _e[1];
|
|
7970
8006
|
var popoverRef = React.useRef();
|
|
7971
8007
|
var _f = React.useState(null), referenceElement = _f[0], setReferenceElement = _f[1];
|
|
@@ -8011,35 +8047,29 @@ var CPopover = function (_a) {
|
|
|
8011
8047
|
exit: 200,
|
|
8012
8048
|
}, unmountOnExit: true }, function (state) {
|
|
8013
8049
|
var transitionClass = getTransitionClass(state);
|
|
8014
|
-
return (React.createElement("div", __assign({ className: classNames("popover bs-popover-".concat(placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), transitionClass), ref: setPopperElement, role: "tooltip", style: styles.popper }, attributes.popper, rest),
|
|
8050
|
+
return (React.createElement("div", __assign({ className: classNames("popover bs-popover-".concat(placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), className, transitionClass), ref: setPopperElement, role: "tooltip", style: styles.popper }, attributes.popper, rest),
|
|
8015
8051
|
React.createElement("div", { className: "popover-arrow", style: styles.arrow, ref: setArrowElement }),
|
|
8016
8052
|
React.createElement("div", { className: "popover-header" }, title),
|
|
8017
8053
|
React.createElement("div", { className: "popover-body" }, content)));
|
|
8018
8054
|
}), document.body)));
|
|
8019
8055
|
};
|
|
8020
8056
|
CPopover.propTypes = {
|
|
8021
|
-
children:
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8057
|
+
children: propTypesExports.node,
|
|
8058
|
+
className: propTypesExports.string,
|
|
8059
|
+
content: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8060
|
+
offset: propTypesExports.any,
|
|
8061
|
+
onHide: propTypesExports.func,
|
|
8062
|
+
onShow: propTypesExports.func,
|
|
8063
|
+
placement: propTypesExports.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
|
|
8064
|
+
title: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8028
8065
|
trigger: triggerPropType,
|
|
8029
|
-
visible:
|
|
8066
|
+
visible: propTypesExports.bool,
|
|
8030
8067
|
};
|
|
8031
8068
|
CPopover.displayName = 'CPopover';
|
|
8032
8069
|
|
|
8033
8070
|
var isOnMobile = function (element) {
|
|
8034
8071
|
return Boolean(getComputedStyle(element).getPropertyValue('--cui-is-mobile'));
|
|
8035
8072
|
};
|
|
8036
|
-
var isVisible = function (element) {
|
|
8037
|
-
var rect = element.getBoundingClientRect();
|
|
8038
|
-
return (rect.top >= 0 &&
|
|
8039
|
-
rect.left >= 0 &&
|
|
8040
|
-
rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
|
|
8041
|
-
rect.right <= (window.innerWidth || document.documentElement.clientWidth));
|
|
8042
|
-
};
|
|
8043
8073
|
var CSidebar = React.forwardRef(function (_a, ref) {
|
|
8044
8074
|
var _b;
|
|
8045
8075
|
var children = _a.children, className = _a.className, narrow = _a.narrow, onHide = _a.onHide, onShow = _a.onShow, onVisibleChange = _a.onVisibleChange, overlaid = _a.overlaid, position = _a.position, size = _a.size, unfoldable = _a.unfoldable, visible = _a.visible, rest = __rest(_a, ["children", "className", "narrow", "onHide", "onShow", "onVisibleChange", "overlaid", "position", "size", "unfoldable", "visible"]);
|
|
@@ -8128,17 +8158,17 @@ var CSidebar = React.forwardRef(function (_a, ref) {
|
|
|
8128
8158
|
ReactDOM.createPortal(React.createElement(CBackdrop, { className: "sidebar-backdrop", visible: _visible }), document.body)));
|
|
8129
8159
|
});
|
|
8130
8160
|
CSidebar.propTypes = {
|
|
8131
|
-
children:
|
|
8132
|
-
className:
|
|
8133
|
-
narrow:
|
|
8134
|
-
onHide:
|
|
8135
|
-
onShow:
|
|
8136
|
-
onVisibleChange:
|
|
8137
|
-
overlaid:
|
|
8138
|
-
position:
|
|
8139
|
-
size:
|
|
8140
|
-
unfoldable:
|
|
8141
|
-
visible:
|
|
8161
|
+
children: propTypesExports.node,
|
|
8162
|
+
className: propTypesExports.string,
|
|
8163
|
+
narrow: propTypesExports.bool,
|
|
8164
|
+
onHide: propTypesExports.func,
|
|
8165
|
+
onShow: propTypesExports.func,
|
|
8166
|
+
onVisibleChange: propTypesExports.func,
|
|
8167
|
+
overlaid: propTypesExports.bool,
|
|
8168
|
+
position: propTypesExports.oneOf(['fixed', 'sticky']),
|
|
8169
|
+
size: propTypesExports.oneOf(['sm', 'lg', 'xl']),
|
|
8170
|
+
unfoldable: propTypesExports.bool,
|
|
8171
|
+
visible: propTypesExports.bool,
|
|
8142
8172
|
};
|
|
8143
8173
|
CSidebar.displayName = 'CSidebar';
|
|
8144
8174
|
|
|
@@ -8148,8 +8178,8 @@ var CSidebarBrand = React.forwardRef(function (_a, ref) {
|
|
|
8148
8178
|
return (React.createElement("div", __assign({ className: _className, ref: ref }, rest), children));
|
|
8149
8179
|
});
|
|
8150
8180
|
CSidebarBrand.propTypes = {
|
|
8151
|
-
children:
|
|
8152
|
-
className:
|
|
8181
|
+
children: propTypesExports.node,
|
|
8182
|
+
className: propTypesExports.string,
|
|
8153
8183
|
};
|
|
8154
8184
|
CSidebarBrand.displayName = 'CSidebarBrand';
|
|
8155
8185
|
|
|
@@ -8159,8 +8189,8 @@ var CSidebarFooter = React.forwardRef(function (_a, ref) {
|
|
|
8159
8189
|
return (React.createElement("div", __assign({ className: _className, ref: ref }, rest), children));
|
|
8160
8190
|
});
|
|
8161
8191
|
CSidebarFooter.propTypes = {
|
|
8162
|
-
children:
|
|
8163
|
-
className:
|
|
8192
|
+
children: propTypesExports.node,
|
|
8193
|
+
className: propTypesExports.string,
|
|
8164
8194
|
};
|
|
8165
8195
|
CSidebarFooter.displayName = 'CSidebarFooter';
|
|
8166
8196
|
|
|
@@ -8170,8 +8200,8 @@ var CSidebarToggler = React.forwardRef(function (_a, ref) {
|
|
|
8170
8200
|
return (React.createElement("button", __assign({ className: _className, ref: ref }, rest), children));
|
|
8171
8201
|
});
|
|
8172
8202
|
CSidebarToggler.propTypes = {
|
|
8173
|
-
children:
|
|
8174
|
-
className:
|
|
8203
|
+
children: propTypesExports.node,
|
|
8204
|
+
className: propTypesExports.string,
|
|
8175
8205
|
};
|
|
8176
8206
|
CSidebarToggler.displayName = 'CSidebarToggler';
|
|
8177
8207
|
|
|
@@ -8181,8 +8211,8 @@ var CSidebarHeader = React.forwardRef(function (_a, ref) {
|
|
|
8181
8211
|
return (React.createElement("div", __assign({ className: _className, ref: ref }, rest), children));
|
|
8182
8212
|
});
|
|
8183
8213
|
CSidebarHeader.propTypes = {
|
|
8184
|
-
children:
|
|
8185
|
-
className:
|
|
8214
|
+
children: propTypesExports.node,
|
|
8215
|
+
className: propTypesExports.string,
|
|
8186
8216
|
};
|
|
8187
8217
|
CSidebarHeader.displayName = 'CSidebarHeader';
|
|
8188
8218
|
|
|
@@ -8193,12 +8223,12 @@ var CSpinner = React.forwardRef(function (_a, ref) {
|
|
|
8193
8223
|
React.createElement("span", { className: "visually-hidden" }, visuallyHiddenLabel)));
|
|
8194
8224
|
});
|
|
8195
8225
|
CSpinner.propTypes = {
|
|
8196
|
-
className:
|
|
8226
|
+
className: propTypesExports.string,
|
|
8197
8227
|
color: colorPropType,
|
|
8198
|
-
component:
|
|
8199
|
-
size:
|
|
8200
|
-
variant:
|
|
8201
|
-
visuallyHiddenLabel:
|
|
8228
|
+
component: propTypesExports.string,
|
|
8229
|
+
size: propTypesExports.oneOf(['sm']),
|
|
8230
|
+
variant: propTypesExports.oneOf(['border', 'grow']),
|
|
8231
|
+
visuallyHiddenLabel: propTypesExports.string,
|
|
8202
8232
|
};
|
|
8203
8233
|
CSpinner.displayName = 'CSpinner';
|
|
8204
8234
|
|
|
@@ -8211,8 +8241,8 @@ var CTableHead = React.forwardRef(function (_a, ref) {
|
|
|
8211
8241
|
return (React.createElement("thead", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
|
|
8212
8242
|
});
|
|
8213
8243
|
CTableHead.propTypes = {
|
|
8214
|
-
children:
|
|
8215
|
-
className:
|
|
8244
|
+
children: propTypesExports.node,
|
|
8245
|
+
className: propTypesExports.string,
|
|
8216
8246
|
color: colorPropType,
|
|
8217
8247
|
};
|
|
8218
8248
|
CTableHead.displayName = 'CTableHead';
|
|
@@ -8226,8 +8256,8 @@ var CTableHeaderCell = React.forwardRef(function (_a, ref) {
|
|
|
8226
8256
|
return (React.createElement("th", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
|
|
8227
8257
|
});
|
|
8228
8258
|
CTableHeaderCell.propTypes = {
|
|
8229
|
-
children:
|
|
8230
|
-
className:
|
|
8259
|
+
children: propTypesExports.node,
|
|
8260
|
+
className: propTypesExports.string,
|
|
8231
8261
|
color: colorPropType,
|
|
8232
8262
|
};
|
|
8233
8263
|
CTableHeaderCell.displayName = 'CTableHeaderCell';
|
|
@@ -8241,8 +8271,8 @@ var CTableBody = React.forwardRef(function (_a, ref) {
|
|
|
8241
8271
|
return (React.createElement("tbody", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
|
|
8242
8272
|
});
|
|
8243
8273
|
CTableBody.propTypes = {
|
|
8244
|
-
children:
|
|
8245
|
-
className:
|
|
8274
|
+
children: propTypesExports.node,
|
|
8275
|
+
className: propTypesExports.string,
|
|
8246
8276
|
color: colorPropType,
|
|
8247
8277
|
};
|
|
8248
8278
|
CTableBody.displayName = 'CTableBody';
|
|
@@ -8259,10 +8289,10 @@ var CTableDataCell = React.forwardRef(function (_a, ref) {
|
|
|
8259
8289
|
return (React.createElement(Component, __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
|
|
8260
8290
|
});
|
|
8261
8291
|
CTableDataCell.propTypes = {
|
|
8262
|
-
active:
|
|
8263
|
-
align:
|
|
8264
|
-
children:
|
|
8265
|
-
className:
|
|
8292
|
+
active: propTypesExports.bool,
|
|
8293
|
+
align: propTypesExports.oneOf(['bottom', 'middle', 'top']),
|
|
8294
|
+
children: propTypesExports.node,
|
|
8295
|
+
className: propTypesExports.string,
|
|
8266
8296
|
color: colorPropType,
|
|
8267
8297
|
};
|
|
8268
8298
|
CTableDataCell.displayName = 'CTableDataCell';
|
|
@@ -8278,10 +8308,10 @@ var CTableRow = React.forwardRef(function (_a, ref) {
|
|
|
8278
8308
|
return (React.createElement("tr", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
|
|
8279
8309
|
});
|
|
8280
8310
|
CTableRow.propTypes = {
|
|
8281
|
-
active:
|
|
8282
|
-
align:
|
|
8283
|
-
children:
|
|
8284
|
-
className:
|
|
8311
|
+
active: propTypesExports.bool,
|
|
8312
|
+
align: propTypesExports.oneOf(['bottom', 'middle', 'top']),
|
|
8313
|
+
children: propTypesExports.node,
|
|
8314
|
+
className: propTypesExports.string,
|
|
8285
8315
|
color: colorPropType,
|
|
8286
8316
|
};
|
|
8287
8317
|
CTableRow.displayName = 'CTableRow';
|
|
@@ -8295,8 +8325,8 @@ var CTableFoot = React.forwardRef(function (_a, ref) {
|
|
|
8295
8325
|
return (React.createElement("tfoot", __assign({ className: _className ? _className : undefined }, rest, { ref: ref }), children));
|
|
8296
8326
|
});
|
|
8297
8327
|
CTableFoot.propTypes = {
|
|
8298
|
-
children:
|
|
8299
|
-
className:
|
|
8328
|
+
children: propTypesExports.node,
|
|
8329
|
+
className: propTypesExports.string,
|
|
8300
8330
|
color: colorPropType,
|
|
8301
8331
|
};
|
|
8302
8332
|
CTableFoot.displayName = 'CTableFoot';
|
|
@@ -8306,7 +8336,7 @@ var CTableCaption = React.forwardRef(function (_a, ref) {
|
|
|
8306
8336
|
return (React.createElement("caption", __assign({}, props, { ref: ref }), children));
|
|
8307
8337
|
});
|
|
8308
8338
|
CTableCaption.propTypes = {
|
|
8309
|
-
children:
|
|
8339
|
+
children: propTypesExports.node,
|
|
8310
8340
|
};
|
|
8311
8341
|
CTableCaption.displayName = 'CTableCaption';
|
|
8312
8342
|
|
|
@@ -8315,10 +8345,10 @@ var CTableResponsiveWrapper = function (_a) {
|
|
|
8315
8345
|
return responsive ? (React.createElement("div", __assign({ className: typeof responsive === 'boolean' ? 'table-responsive' : "table-responsive-".concat(responsive) }, rest), children)) : (children);
|
|
8316
8346
|
};
|
|
8317
8347
|
CTableResponsiveWrapper.propTypes = {
|
|
8318
|
-
children:
|
|
8319
|
-
responsive:
|
|
8320
|
-
|
|
8321
|
-
|
|
8348
|
+
children: propTypesExports.any,
|
|
8349
|
+
responsive: propTypesExports.oneOfType([
|
|
8350
|
+
propTypesExports.bool,
|
|
8351
|
+
propTypesExports.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
8322
8352
|
]),
|
|
8323
8353
|
};
|
|
8324
8354
|
CTableResponsiveWrapper.displayName = 'CTableResponsiveWrapper';
|
|
@@ -8375,28 +8405,28 @@ var CTable = React.forwardRef(function (_a, ref) {
|
|
|
8375
8405
|
React.createElement(CTableRow, null, footer.map(function (item, index) { return (React.createElement(CTableDataCell, __assign({}, (item._props && __assign({}, item._props)), { key: index }), typeof item === 'object' ? item.label : item)); })))))));
|
|
8376
8406
|
});
|
|
8377
8407
|
CTable.propTypes = {
|
|
8378
|
-
align:
|
|
8379
|
-
borderColor:
|
|
8380
|
-
bordered:
|
|
8381
|
-
borderless:
|
|
8382
|
-
caption:
|
|
8383
|
-
captionTop:
|
|
8384
|
-
children:
|
|
8385
|
-
className:
|
|
8408
|
+
align: propTypesExports.oneOf(['bottom', 'middle', 'top']),
|
|
8409
|
+
borderColor: propTypesExports.string,
|
|
8410
|
+
bordered: propTypesExports.bool,
|
|
8411
|
+
borderless: propTypesExports.bool,
|
|
8412
|
+
caption: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.oneOf(['top'])]),
|
|
8413
|
+
captionTop: propTypesExports.string,
|
|
8414
|
+
children: propTypesExports.node,
|
|
8415
|
+
className: propTypesExports.string,
|
|
8386
8416
|
color: colorPropType,
|
|
8387
|
-
columns:
|
|
8388
|
-
footer:
|
|
8389
|
-
hover:
|
|
8390
|
-
items:
|
|
8391
|
-
responsive:
|
|
8392
|
-
|
|
8393
|
-
|
|
8417
|
+
columns: propTypesExports.array,
|
|
8418
|
+
footer: propTypesExports.array,
|
|
8419
|
+
hover: propTypesExports.bool,
|
|
8420
|
+
items: propTypesExports.array,
|
|
8421
|
+
responsive: propTypesExports.oneOfType([
|
|
8422
|
+
propTypesExports.bool,
|
|
8423
|
+
propTypesExports.oneOf(['sm', 'md', 'lg', 'xl', 'xxl']),
|
|
8394
8424
|
]),
|
|
8395
|
-
small:
|
|
8396
|
-
striped:
|
|
8397
|
-
stripedColumns:
|
|
8398
|
-
tableFootProps:
|
|
8399
|
-
tableHeadProps:
|
|
8425
|
+
small: propTypesExports.bool,
|
|
8426
|
+
striped: propTypesExports.bool,
|
|
8427
|
+
stripedColumns: propTypesExports.bool,
|
|
8428
|
+
tableFootProps: propTypesExports.shape(__assign({}, CTableFoot.propTypes)),
|
|
8429
|
+
tableHeadProps: propTypesExports.shape(__assign({}, CTableHead.propTypes)),
|
|
8400
8430
|
};
|
|
8401
8431
|
CTable.displayName = 'CTable';
|
|
8402
8432
|
|
|
@@ -8406,8 +8436,8 @@ var CTabContent = React.forwardRef(function (_a, ref) {
|
|
|
8406
8436
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
8407
8437
|
});
|
|
8408
8438
|
CTabContent.propTypes = {
|
|
8409
|
-
children:
|
|
8410
|
-
className:
|
|
8439
|
+
children: propTypesExports.node,
|
|
8440
|
+
className: propTypesExports.string,
|
|
8411
8441
|
};
|
|
8412
8442
|
CTabContent.displayName = 'CTabContent';
|
|
8413
8443
|
|
|
@@ -8427,11 +8457,11 @@ var CTabPane = React.forwardRef(function (_a, ref) {
|
|
|
8427
8457
|
}));
|
|
8428
8458
|
});
|
|
8429
8459
|
CTabPane.propTypes = {
|
|
8430
|
-
children:
|
|
8431
|
-
className:
|
|
8432
|
-
onHide:
|
|
8433
|
-
onShow:
|
|
8434
|
-
visible:
|
|
8460
|
+
children: propTypesExports.node,
|
|
8461
|
+
className: propTypesExports.string,
|
|
8462
|
+
onHide: propTypesExports.func,
|
|
8463
|
+
onShow: propTypesExports.func,
|
|
8464
|
+
visible: propTypesExports.bool,
|
|
8435
8465
|
};
|
|
8436
8466
|
CTabPane.displayName = 'CTabPane';
|
|
8437
8467
|
|
|
@@ -8485,17 +8515,17 @@ var CToast = React.forwardRef(function (_a, ref) {
|
|
|
8485
8515
|
}));
|
|
8486
8516
|
});
|
|
8487
8517
|
CToast.propTypes = {
|
|
8488
|
-
animation:
|
|
8489
|
-
autohide:
|
|
8490
|
-
children:
|
|
8491
|
-
className:
|
|
8518
|
+
animation: propTypesExports.bool,
|
|
8519
|
+
autohide: propTypesExports.bool,
|
|
8520
|
+
children: propTypesExports.node,
|
|
8521
|
+
className: propTypesExports.string,
|
|
8492
8522
|
color: colorPropType,
|
|
8493
|
-
delay:
|
|
8494
|
-
index:
|
|
8495
|
-
key:
|
|
8496
|
-
onClose:
|
|
8497
|
-
onShow:
|
|
8498
|
-
visible:
|
|
8523
|
+
delay: propTypesExports.number,
|
|
8524
|
+
index: propTypesExports.number,
|
|
8525
|
+
key: propTypesExports.number,
|
|
8526
|
+
onClose: propTypesExports.func,
|
|
8527
|
+
onShow: propTypesExports.func,
|
|
8528
|
+
visible: propTypesExports.bool,
|
|
8499
8529
|
};
|
|
8500
8530
|
CToast.displayName = 'CToast';
|
|
8501
8531
|
|
|
@@ -8505,8 +8535,8 @@ var CToastBody = React.forwardRef(function (_a, ref) {
|
|
|
8505
8535
|
return (React.createElement("div", __assign({ className: _className }, rest, { ref: ref }), children));
|
|
8506
8536
|
});
|
|
8507
8537
|
CToastBody.propTypes = {
|
|
8508
|
-
children:
|
|
8509
|
-
className:
|
|
8538
|
+
children: propTypesExports.node,
|
|
8539
|
+
className: propTypesExports.string,
|
|
8510
8540
|
};
|
|
8511
8541
|
CToastBody.displayName = 'CToastBody';
|
|
8512
8542
|
|
|
@@ -8515,7 +8545,7 @@ var CToastClose = React.forwardRef(function (_a, ref) {
|
|
|
8515
8545
|
var setVisible = React.useContext(CToastContext).setVisible;
|
|
8516
8546
|
return Component ? (React.createElement(Component, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref }), children)) : (React.createElement(CCloseButton, __assign({ onClick: function () { return setVisible(false); } }, rest, { ref: ref })));
|
|
8517
8547
|
});
|
|
8518
|
-
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component:
|
|
8548
|
+
CToastClose.propTypes = __assign(__assign({}, CCloseButton.propTypes), { component: propTypesExports.elementType });
|
|
8519
8549
|
CToastClose.displayName = 'CToastClose';
|
|
8520
8550
|
|
|
8521
8551
|
var CToastHeader = React.forwardRef(function (_a, ref) {
|
|
@@ -8526,9 +8556,9 @@ var CToastHeader = React.forwardRef(function (_a, ref) {
|
|
|
8526
8556
|
closeButton && React.createElement(CToastClose, null)));
|
|
8527
8557
|
});
|
|
8528
8558
|
CToastHeader.propTypes = {
|
|
8529
|
-
children:
|
|
8530
|
-
className:
|
|
8531
|
-
closeButton:
|
|
8559
|
+
children: propTypesExports.node,
|
|
8560
|
+
className: propTypesExports.string,
|
|
8561
|
+
closeButton: propTypesExports.bool,
|
|
8532
8562
|
};
|
|
8533
8563
|
CToastHeader.displayName = 'CToastHeader';
|
|
8534
8564
|
|
|
@@ -8570,11 +8600,11 @@ var CToaster = React.forwardRef(function (_a, ref) {
|
|
|
8570
8600
|
: toaster(ref);
|
|
8571
8601
|
});
|
|
8572
8602
|
CToaster.propTypes = {
|
|
8573
|
-
children:
|
|
8574
|
-
className:
|
|
8575
|
-
placement:
|
|
8576
|
-
|
|
8577
|
-
|
|
8603
|
+
children: propTypesExports.node,
|
|
8604
|
+
className: propTypesExports.string,
|
|
8605
|
+
placement: propTypesExports.oneOfType([
|
|
8606
|
+
propTypesExports.string,
|
|
8607
|
+
propTypesExports.oneOf([
|
|
8578
8608
|
'top-start',
|
|
8579
8609
|
'top-center',
|
|
8580
8610
|
'top-end',
|
|
@@ -8586,12 +8616,12 @@ CToaster.propTypes = {
|
|
|
8586
8616
|
'bottom-end',
|
|
8587
8617
|
]),
|
|
8588
8618
|
]),
|
|
8589
|
-
push:
|
|
8619
|
+
push: propTypesExports.any,
|
|
8590
8620
|
};
|
|
8591
8621
|
CToaster.displayName = 'CToaster';
|
|
8592
8622
|
|
|
8593
8623
|
var CTooltip = function (_a) {
|
|
8594
|
-
var children = _a.children, content = _a.content, _b = _a.offset, offset = _b === void 0 ? [0, 0] : _b, onHide = _a.onHide, onShow = _a.onShow, _c = _a.placement, placement = _c === void 0 ? 'top' : _c, _d = _a.trigger, trigger = _d === void 0 ? 'hover' : _d, visible = _a.visible, rest = __rest(_a, ["children", "content", "offset", "onHide", "onShow", "placement", "trigger", "visible"]);
|
|
8624
|
+
var children = _a.children, className = _a.className, content = _a.content, _b = _a.offset, offset = _b === void 0 ? [0, 0] : _b, onHide = _a.onHide, onShow = _a.onShow, _c = _a.placement, placement = _c === void 0 ? 'top' : _c, _d = _a.trigger, trigger = _d === void 0 ? 'hover' : _d, visible = _a.visible, rest = __rest(_a, ["children", "className", "content", "offset", "onHide", "onShow", "placement", "trigger", "visible"]);
|
|
8595
8625
|
var tooltipRef = React.useRef();
|
|
8596
8626
|
var _e = React.useState(visible), _visible = _e[0], setVisible = _e[1];
|
|
8597
8627
|
var _f = React.useState(null), referenceElement = _f[0], setReferenceElement = _f[1];
|
|
@@ -8609,6 +8639,9 @@ var CTooltip = function (_a) {
|
|
|
8609
8639
|
],
|
|
8610
8640
|
placement: placement,
|
|
8611
8641
|
}), styles = _j.styles, attributes = _j.attributes;
|
|
8642
|
+
React.useEffect(function () {
|
|
8643
|
+
setVisible(visible);
|
|
8644
|
+
}, [visible]);
|
|
8612
8645
|
var getTransitionClass = function (state) {
|
|
8613
8646
|
return state === 'entering'
|
|
8614
8647
|
? 'fade'
|
|
@@ -8634,20 +8667,20 @@ var CTooltip = function (_a) {
|
|
|
8634
8667
|
exit: 200,
|
|
8635
8668
|
}, unmountOnExit: true }, function (state) {
|
|
8636
8669
|
var transitionClass = getTransitionClass(state);
|
|
8637
|
-
return (React.createElement("div", __assign({ className: classNames("tooltip bs-tooltip-".concat(placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), transitionClass), ref: setPopperElement, role: "tooltip", style: styles.popper }, attributes.popper, rest),
|
|
8670
|
+
return (React.createElement("div", __assign({ className: classNames("tooltip bs-tooltip-".concat(placement === 'left' ? 'start' : placement === 'right' ? 'end' : placement), className, transitionClass), ref: setPopperElement, role: "tooltip", style: styles.popper }, attributes.popper, rest),
|
|
8638
8671
|
React.createElement("div", { className: "tooltip-arrow", style: styles.arrow, ref: setArrowElement }),
|
|
8639
8672
|
React.createElement("div", { className: "tooltip-inner" }, content)));
|
|
8640
8673
|
}), document.body)));
|
|
8641
8674
|
};
|
|
8642
8675
|
CTooltip.propTypes = {
|
|
8643
|
-
children:
|
|
8644
|
-
content:
|
|
8645
|
-
offset:
|
|
8646
|
-
onHide:
|
|
8647
|
-
onShow:
|
|
8648
|
-
placement:
|
|
8676
|
+
children: propTypesExports.node,
|
|
8677
|
+
content: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8678
|
+
offset: propTypesExports.any,
|
|
8679
|
+
onHide: propTypesExports.func,
|
|
8680
|
+
onShow: propTypesExports.func,
|
|
8681
|
+
placement: propTypesExports.oneOf(['auto', 'top', 'right', 'bottom', 'left']),
|
|
8649
8682
|
trigger: triggerPropType,
|
|
8650
|
-
visible:
|
|
8683
|
+
visible: propTypesExports.bool,
|
|
8651
8684
|
};
|
|
8652
8685
|
CTooltip.displayName = 'CTooltip';
|
|
8653
8686
|
|
|
@@ -8664,12 +8697,12 @@ var CWidgetStatsA = React.forwardRef(function (_a, ref) {
|
|
|
8664
8697
|
chart));
|
|
8665
8698
|
});
|
|
8666
8699
|
CWidgetStatsA.propTypes = {
|
|
8667
|
-
action:
|
|
8668
|
-
chart:
|
|
8669
|
-
className:
|
|
8700
|
+
action: propTypesExports.node,
|
|
8701
|
+
chart: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8702
|
+
className: propTypesExports.string,
|
|
8670
8703
|
color: colorPropType,
|
|
8671
|
-
title:
|
|
8672
|
-
value:
|
|
8704
|
+
title: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8705
|
+
value: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node, propTypesExports.number]),
|
|
8673
8706
|
};
|
|
8674
8707
|
CWidgetStatsA.displayName = 'CWidgetStatsA';
|
|
8675
8708
|
|
|
@@ -8683,13 +8716,13 @@ var CWidgetStatsB = React.forwardRef(function (_a, ref) {
|
|
|
8683
8716
|
text && (React.createElement("small", { className: inverse ? 'text-medium-emphasis-inverse' : 'text-medium-emphasis' }, text)))));
|
|
8684
8717
|
});
|
|
8685
8718
|
CWidgetStatsB.propTypes = {
|
|
8686
|
-
className:
|
|
8719
|
+
className: propTypesExports.string,
|
|
8687
8720
|
color: colorPropType,
|
|
8688
|
-
inverse:
|
|
8689
|
-
progress:
|
|
8690
|
-
text:
|
|
8691
|
-
title:
|
|
8692
|
-
value:
|
|
8721
|
+
inverse: propTypesExports.bool,
|
|
8722
|
+
progress: propTypesExports.object,
|
|
8723
|
+
text: propTypesExports.string,
|
|
8724
|
+
title: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8725
|
+
value: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node, propTypesExports.number]),
|
|
8693
8726
|
};
|
|
8694
8727
|
CWidgetStatsB.displayName = 'CWidgetCWidgetStatsB';
|
|
8695
8728
|
|
|
@@ -8703,13 +8736,13 @@ var CWidgetStatsC = React.forwardRef(function (_a, ref) {
|
|
|
8703
8736
|
React.createElement(CProgress, __assign({ className: "mt-3 mb-0", height: 4 }, (inverse && { white: true }), progress)))));
|
|
8704
8737
|
});
|
|
8705
8738
|
CWidgetStatsC.propTypes = {
|
|
8706
|
-
className:
|
|
8739
|
+
className: propTypesExports.string,
|
|
8707
8740
|
color: colorPropType,
|
|
8708
|
-
icon:
|
|
8709
|
-
inverse:
|
|
8710
|
-
progress:
|
|
8711
|
-
title:
|
|
8712
|
-
value:
|
|
8741
|
+
icon: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8742
|
+
inverse: propTypesExports.bool,
|
|
8743
|
+
progress: propTypesExports.object,
|
|
8744
|
+
title: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8745
|
+
value: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node, propTypesExports.number]),
|
|
8713
8746
|
};
|
|
8714
8747
|
CWidgetStatsC.displayName = 'CWidgetStatsCWidgetStatsC';
|
|
8715
8748
|
|
|
@@ -8734,11 +8767,11 @@ var CWidgetStatsD = React.forwardRef(function (_a, ref) {
|
|
|
8734
8767
|
}))));
|
|
8735
8768
|
});
|
|
8736
8769
|
CWidgetStatsD.propTypes = {
|
|
8737
|
-
chart:
|
|
8738
|
-
className:
|
|
8770
|
+
chart: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8771
|
+
className: propTypesExports.string,
|
|
8739
8772
|
color: colorPropType,
|
|
8740
|
-
icon:
|
|
8741
|
-
values:
|
|
8773
|
+
icon: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8774
|
+
values: propTypesExports.arrayOf(propTypesExports.any),
|
|
8742
8775
|
};
|
|
8743
8776
|
CWidgetStatsD.displayName = 'CWidgetStatsD';
|
|
8744
8777
|
|
|
@@ -8752,11 +8785,11 @@ var CWidgetStatsE = React.forwardRef(function (_a, ref) {
|
|
|
8752
8785
|
chart)));
|
|
8753
8786
|
});
|
|
8754
8787
|
CWidgetStatsE.propTypes = {
|
|
8755
|
-
children:
|
|
8756
|
-
chart:
|
|
8757
|
-
className:
|
|
8758
|
-
title:
|
|
8759
|
-
value:
|
|
8788
|
+
children: propTypesExports.node,
|
|
8789
|
+
chart: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8790
|
+
className: propTypesExports.string,
|
|
8791
|
+
title: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8792
|
+
value: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node, propTypesExports.number]),
|
|
8760
8793
|
};
|
|
8761
8794
|
CWidgetStatsE.displayName = 'CWidgetStatsE';
|
|
8762
8795
|
|
|
@@ -8772,13 +8805,13 @@ var CWidgetStatsF = React.forwardRef(function (_a, ref) {
|
|
|
8772
8805
|
footer && React.createElement(CCardFooter, null, footer)));
|
|
8773
8806
|
});
|
|
8774
8807
|
CWidgetStatsF.propTypes = {
|
|
8775
|
-
className:
|
|
8808
|
+
className: propTypesExports.string,
|
|
8776
8809
|
color: colorPropType,
|
|
8777
|
-
footer:
|
|
8778
|
-
icon:
|
|
8779
|
-
padding:
|
|
8780
|
-
title:
|
|
8781
|
-
value:
|
|
8810
|
+
footer: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8811
|
+
icon: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8812
|
+
padding: propTypesExports.bool,
|
|
8813
|
+
title: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node]),
|
|
8814
|
+
value: propTypesExports.oneOfType([propTypesExports.string, propTypesExports.node, propTypesExports.number]),
|
|
8782
8815
|
};
|
|
8783
8816
|
CWidgetStatsF.displayName = 'CWidgetStatsF';
|
|
8784
8817
|
|