@coreui/react-pro 4.11.0-next.0 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  Several quick start options are available:
44
44
 
45
- - [Download the latest release](https://github.com/coreui/coreui-react-pro/archive/v4.11.0-next.0.zip)
45
+ - [Download the latest release](https://github.com/coreui/coreui-react-pro/archive/v4.11.0.zip)
46
46
  - Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
47
47
  - Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
48
48
  - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
@@ -1,7 +1,6 @@
1
1
  import { CAccordion } from './CAccordion';
2
2
  import { CAccordionBody } from './CAccordionBody';
3
3
  import { CAccordionButton } from './CAccordionButton';
4
- import { CAccordionCollapse } from './CAccordionCollapse';
5
4
  import { CAccordionHeader } from './CAccordionHeader';
6
5
  import { CAccordionItem } from './CAccordionItem';
7
- export { CAccordion, CAccordionBody, CAccordionButton, CAccordionCollapse, CAccordionHeader, CAccordionItem, };
6
+ export { CAccordion, CAccordionBody, CAccordionButton, CAccordionHeader, CAccordionItem, };
@@ -83,13 +83,13 @@ export interface CCalendarProps {
83
83
  /**
84
84
  * Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacementDays` option is set to true.
85
85
  *
86
- * @since 4.11.0-next.0
86
+ * @since 4.11.0
87
87
  */
88
88
  selectAdjacementDays?: boolean;
89
89
  /**
90
90
  * Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
91
91
  *
92
- * @since 4.11.0-next.0
92
+ * @since 4.11.0
93
93
  */
94
94
  showAdjacementDays?: boolean;
95
95
  /**
@@ -64,6 +64,12 @@ export interface CDropdownProps extends HTMLAttributes<HTMLDivElement | HTMLLIEl
64
64
  * If you want to disable dynamic positioning set this property to `true`.
65
65
  */
66
66
  popper?: boolean;
67
+ /**
68
+ * Generates dropdown menu using createPortal.
69
+ *
70
+ * @since 4.8.0
71
+ */
72
+ portal?: boolean;
67
73
  /**
68
74
  * Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item.
69
75
  */
@@ -76,6 +82,7 @@ export interface CDropdownProps extends HTMLAttributes<HTMLDivElement | HTMLLIEl
76
82
  interface ContextProps extends CDropdownProps {
77
83
  dropdownToggleRef: RefObject<any> | undefined;
78
84
  setVisible: React.Dispatch<React.SetStateAction<boolean | undefined>>;
85
+ portal: boolean;
79
86
  }
80
87
  export declare const CDropdownContext: React.Context<ContextProps>;
81
88
  export declare const CDropdown: React.ForwardRefExoticComponent<CDropdownProps & React.RefAttributes<HTMLDivElement | HTMLLIElement>>;
@@ -5,7 +5,7 @@ export interface CMultiSelectProps extends Omit<CFormControlWrapperProps, 'float
5
5
  /**
6
6
  * Allow users to create options if they are not in the list of options.
7
7
  *
8
- * @since 4.11.0-next.0
8
+ * @since 4.11.0
9
9
  */
10
10
  allowCreateOptions?: boolean;
11
11
  /**
@@ -19,7 +19,7 @@ export interface CMultiSelectProps extends Omit<CFormControlWrapperProps, 'float
19
19
  /**
20
20
  * Clear current search on selecting an item.
21
21
  *
22
- * @since 4.11.0-next.0
22
+ * @since 4.11.0
23
23
  */
24
24
  clearSearchOnSelect?: boolean;
25
25
  /**
@@ -29,7 +29,7 @@ export interface CMultiSelectProps extends Omit<CFormControlWrapperProps, 'float
29
29
  /**
30
30
  * When set, the options list will have a loading style: loading spinner and reduced opacity.
31
31
  *
32
- * @since 4.11.0-next.0
32
+ * @since 4.11.0
33
33
  */
34
34
  loading?: boolean;
35
35
  /**
@@ -18,6 +18,7 @@ export interface CSmartTableHeadProps extends CTableHeadProps {
18
18
  external?: boolean;
19
19
  };
20
20
  selectedAll?: boolean | string;
21
+ showGroups?: boolean;
21
22
  sorterState?: SorterValue;
22
23
  sortingIcon?: ReactNode;
23
24
  sortingIconAscending?: ReactNode;
@@ -3,7 +3,9 @@ import { CTableDataCellProps } from '../table/CTableDataCell';
3
3
  import { CTableHeaderCellProps } from '../table/CTableHeaderCell';
4
4
  import { CTableRowProps } from '../table/CTableRow';
5
5
  export type Column = {
6
+ children?: Column[];
6
7
  filter?: boolean | ((values: any[], onChange: (value: any) => void) => ReactNode);
8
+ group?: string;
7
9
  key: string;
8
10
  label?: string;
9
11
  sorter?: boolean;
@@ -21,6 +23,16 @@ export type FooterItem = {
21
23
  label?: string;
22
24
  _props?: CTableDataCellProps;
23
25
  };
26
+ export type Group = {
27
+ children?: Group[] | Column[];
28
+ colspan?: number;
29
+ deep?: number;
30
+ group?: string;
31
+ key: string;
32
+ label?: string;
33
+ _style?: any;
34
+ _props?: CTableHeaderCellProps;
35
+ };
24
36
  export type Item = {
25
37
  [key: string]: number | string | any;
26
38
  _cellProps?: any;
@@ -1,10 +1,21 @@
1
- import type { Column, ColumnFilter, ColumnFilterValue, Item, Sorter, SorterValue, TableFilter } from './types';
1
+ import type { Column, ColumnFilter, ColumnFilterValue, Group, Item, Sorter, SorterValue, TableFilter } from './types';
2
2
  export declare const filterColumns: (items: Item[], columnFilter: boolean | ColumnFilter | undefined, columnFilterState: ColumnFilterValue, itemsDataColumns: string[]) => Item[];
3
3
  export declare const filterTable: (items: Item[], tableFilter: boolean | TableFilter | undefined, tableFilterState: string, itemsDataColumns: string[]) => Item[];
4
4
  export declare const getClickedColumnName: (target: HTMLTextAreaElement, columnNames: string[]) => string;
5
5
  export declare const getColumnKey: (column: Column | string) => string;
6
6
  export declare const getColumnLabel: (column: Column | string) => string;
7
7
  export declare const getColumnNames: (columns: (string | Column)[] | undefined, items: Item[]) => string[];
8
+ export declare const getColumns: (_columns: (Column | Group | string)[]) => (Column | string)[];
9
+ export declare const countColumns: (columns: Column[], counter?: number) => number;
10
+ export declare const getColumnGroups: (columns: (string | Column)[] | undefined) => {
11
+ children?: Column[] | Group[] | undefined;
12
+ colspan?: number | undefined;
13
+ group?: string | undefined;
14
+ key: string;
15
+ label?: string | undefined;
16
+ _style?: any;
17
+ _props?: import("../table/CTableHeaderCell").CTableHeaderCellProps | undefined;
18
+ }[][];
8
19
  export declare const getColumnNamesFromItems: (items: Item[]) => string[];
9
20
  export declare const getColumnSorterState: (key: string, sorterState: SorterValue | undefined) => string | number;
10
21
  export declare const getColumnValues: (items: Item[], key: string) => any[];
package/dist/index.es.js CHANGED
@@ -2616,15 +2616,6 @@ CAccordionButton.propTypes = {
2616
2616
  };
2617
2617
  CAccordionButton.displayName = 'CAccordionButton';
2618
2618
 
2619
- var CAccordionCollapse = forwardRef(function (_a, ref) {
2620
- var children = _a.children, props = __rest$1(_a, ["children"]);
2621
- return (React__default$1.createElement(CCollapse, __assign$1({ className: "accordion-collapse" }, props, { ref: ref }), children));
2622
- });
2623
- CAccordionCollapse.propTypes = {
2624
- children: propTypesExports.node,
2625
- };
2626
- CAccordionCollapse.displayName = 'CAccordionCollapse';
2627
-
2628
2619
  var CAccordionHeader = forwardRef(function (_a, ref) {
2629
2620
  var children = _a.children, className = _a.className, rest = __rest$1(_a, ["children", "className"]);
2630
2621
  return (React__default$1.createElement("div", __assign$1({ className: classNames$1('accordion-header', className) }, rest, { ref: ref }),
@@ -6921,7 +6912,7 @@ var isToday = function (date) {
6921
6912
  };
6922
6913
 
6923
6914
  var Calendar = function (props) {
6924
- var addMonths = props.addMonths, calendarDate = props.calendarDate, dayFormat = props.dayFormat, disabledDates = props.disabledDates, endDate = props.endDate, firstDayOfWeek = props.firstDayOfWeek, hoverDate = props.hoverDate, locale = props.locale, maxDate = props.maxDate, minDate = props.minDate, onCellClick = props.onCellClick, onCellKeyDown = props.onCellKeyDown, onCellMouseEnter = props.onCellMouseEnter, onCellMouseLeave = props.onCellMouseLeave, onMonthClick = props.onMonthClick, onYearClick = props.onYearClick, selectAdjacementDays = props.selectAdjacementDays, selectEndDate = props.selectEndDate, showAdjacementDays = props.showAdjacementDays, startDate = props.startDate, view = props.view, weekdayFormat = props.weekdayFormat;
6915
+ var addMonths = props.addMonths, calendarDate = props.calendarDate, dayFormat = props.dayFormat, disabledDates = props.disabledDates, endDate = props.endDate, firstDayOfWeek = props.firstDayOfWeek, hoverDate = props.hoverDate, locale = props.locale, maxDate = props.maxDate, minDate = props.minDate, onCellClick = props.onCellClick, onCellKeyDown = props.onCellKeyDown, onCellMouseEnter = props.onCellMouseEnter, onCellMouseLeave = props.onCellMouseLeave, onMonthClick = props.onMonthClick, onMonthKeyDown = props.onMonthKeyDown, onYearClick = props.onYearClick, onYearKeyDown = props.onYearKeyDown, selectAdjacementDays = props.selectAdjacementDays, selectEndDate = props.selectEndDate, showAdjacementDays = props.showAdjacementDays, startDate = props.startDate, view = props.view, weekdayFormat = props.weekdayFormat;
6925
6916
  var _a = useState(calendarDate), date = _a[0], setDate = _a[1];
6926
6917
  var _b = useState([]), listOfMonths = _b[0], setListOfMonths = _b[1];
6927
6918
  useEffect(function () {
@@ -6959,6 +6950,7 @@ var Calendar = function (props) {
6959
6950
  disabled: isDateDisabled(date, minDate, maxDate, disabledDates)
6960
6951
  },
6961
6952
  _b[month] = true,
6953
+ _b.clickable = month !== 'current' && selectAdjacementDays,
6962
6954
  _b.last = isLastDayOfMonth(date),
6963
6955
  _b['range-hover'] = month === 'current' &&
6964
6956
  (hoverDate && selectEndDate
@@ -6968,7 +6960,10 @@ var Calendar = function (props) {
6968
6960
  _b.selected = isDateSelected(date, startDate, endDate),
6969
6961
  _b.start = isStartDate(date, startDate, endDate),
6970
6962
  _b.end = isEndDate(date, startDate, endDate),
6971
- _b)), key: idx, tabIndex: 0, title: date.toLocaleDateString(locale) }, ((month === 'current' || selectAdjacementDays) && {
6963
+ _b)), key: idx, tabIndex: (month === 'current' || selectAdjacementDays) &&
6964
+ !isDateDisabled(date, minDate, maxDate, disabledDates)
6965
+ ? 0
6966
+ : -1, title: date.toLocaleDateString(locale) }, ((month === 'current' || selectAdjacementDays) && {
6972
6967
  onBlur: function () { return onCellMouseLeave(); },
6973
6968
  onClick: function () { return onCellClick(date); },
6974
6969
  onFocus: function () { return onCellMouseEnter(date); },
@@ -6987,16 +6982,18 @@ var Calendar = function (props) {
6987
6982
  view === 'months' &&
6988
6983
  listOfMonths.map(function (row, index) {
6989
6984
  return (React__default$1.createElement("tr", { key: index }, row.map(function (month, idx) {
6990
- return (React__default$1.createElement("td", { key: idx, className: "calendar-cell month", onClick: function () { return onMonthClick(index * 3 + idx - addMonths, 'days'); } },
6985
+ return (React__default$1.createElement("td", { className: "calendar-cell month", key: idx, onClick: function () { return onMonthClick(index * 3 + idx - addMonths); }, onKeyDown: function (event) { return onMonthKeyDown(event, index * 3 + idx - addMonths); }, tabIndex: 0 },
6991
6986
  React__default$1.createElement("div", { className: "calendar-cell-inner" }, month)));
6992
6987
  })));
6993
6988
  }),
6994
6989
  view === 'years' &&
6995
6990
  listOfYears.map(function (row, index) {
6996
6991
  return (React__default$1.createElement("tr", { key: index }, row.map(function (year, idx) {
6997
- return (React__default$1.createElement("td", { key: idx, className: "calendar-cell year", onClick: function () {
6998
- return onYearClick(new Date(year, date.getMonth() - addMonths, date.getDate()), 'months');
6999
- } },
6992
+ return (React__default$1.createElement("td", { className: "calendar-cell year", key: idx, onClick: function () {
6993
+ return onYearClick(new Date(year, date.getMonth() - addMonths, date.getDate()));
6994
+ }, onKeyDown: function (event) {
6995
+ return onYearKeyDown(event, new Date(year, date.getMonth() - addMonths, date.getDate()));
6996
+ }, tabIndex: 0 },
7000
6997
  React__default$1.createElement("div", { className: "calendar-cell-inner" }, new Date(year, 0, 1).toLocaleDateString(locale, { year: 'numeric' }))));
7001
6998
  })));
7002
6999
  }))));
@@ -7143,6 +7140,16 @@ var CCalendar = forwardRef(function (_a, ref) {
7143
7140
  return;
7144
7141
  }
7145
7142
  };
7143
+ var handleMonthClick = function (month) {
7144
+ setCalendarPage(0, 0, month);
7145
+ setView('days');
7146
+ };
7147
+ var handleMonthKeyDown = function (event, month) {
7148
+ if (event.code === 'Space' || event.key === 'Enter') {
7149
+ setCalendarPage(0, 0, month);
7150
+ setView('days');
7151
+ }
7152
+ };
7146
7153
  var handleNavigationOnClick = function (direction, double) {
7147
7154
  if (double === void 0) { double = false; }
7148
7155
  if (direction === 'prev') {
@@ -7170,16 +7177,20 @@ var CCalendar = forwardRef(function (_a, ref) {
7170
7177
  return;
7171
7178
  }
7172
7179
  };
7180
+ var handleYearClick = function (date) {
7181
+ setCalendarDate(date);
7182
+ setView('months');
7183
+ };
7184
+ var handleYearKeyDown = function (event, date) {
7185
+ if (event.code === 'Space' || event.key === 'Enter') {
7186
+ setCalendarDate(date);
7187
+ setView('months');
7188
+ }
7189
+ };
7173
7190
  return (React__default$1.createElement("div", { className: classNames$1('calendars', className) }, _calendarDate &&
7174
7191
  Array.from({ length: calendars }, function (_, index) { return (React__default$1.createElement("div", { className: classNames$1('calendar', view), key: index, ref: ref },
7175
7192
  React__default$1.createElement(Navigation, { addMonths: index, calendarDate: _calendarDate, locale: locale, navigation: navigation, navNextDoubleIcon: navNextDoubleIcon, navNextIcon: navNextIcon, navPrevDoubleIcon: navPrevDoubleIcon, navPrevIcon: navPrevIcon, navYearFirst: navYearFirst, onMonthClick: function () { return setView('months'); }, onNavigationClick: handleNavigationOnClick, onYearClick: function () { return setView('years'); }, view: view }),
7176
- React__default$1.createElement(Calendar, { addMonths: index, calendarDate: _calendarDate, dayFormat: dayFormat, disabledDates: disabledDates, endDate: _endDate, firstDayOfWeek: firstDayOfWeek, hoverDate: _hoverDate, locale: locale, maxDate: _maxDate, minDate: _minDate, onCellClick: function (date) { return handleCellOnClick(date, index); }, onCellKeyDown: function (event, date) { return handleCellKeyDown(event, date, index); }, onCellMouseEnter: handleCellMouseEnter, onCellMouseLeave: handleCellMouseLeave, onMonthClick: function (month, view) {
7177
- setCalendarPage(0, 0, month);
7178
- setView(view);
7179
- }, onYearClick: function (date, view) {
7180
- setCalendarDate(date);
7181
- setView(view);
7182
- }, selectEndDate: _selectEndDate, selectAdjacementDays: selectAdjacementDays, showAdjacementDays: showAdjacementDays, startDate: _startDate, view: view, weekdayFormat: weekdayFormat }))); })));
7193
+ React__default$1.createElement(Calendar, { addMonths: index, calendarDate: _calendarDate, dayFormat: dayFormat, disabledDates: disabledDates, endDate: _endDate, firstDayOfWeek: firstDayOfWeek, hoverDate: _hoverDate, locale: locale, maxDate: _maxDate, minDate: _minDate, onCellClick: function (date) { return handleCellOnClick(date, index); }, onCellKeyDown: function (event, date) { return handleCellKeyDown(event, date, index); }, onCellMouseEnter: handleCellMouseEnter, onCellMouseLeave: handleCellMouseLeave, onMonthClick: handleMonthClick, onMonthKeyDown: handleMonthKeyDown, onYearClick: handleYearClick, onYearKeyDown: handleYearKeyDown, selectEndDate: _selectEndDate, selectAdjacementDays: selectAdjacementDays, showAdjacementDays: showAdjacementDays, startDate: _startDate, view: view, weekdayFormat: weekdayFormat }))); })));
7183
7194
  });
7184
7195
  CCalendar.propTypes = {
7185
7196
  className: propTypesExports.string,
@@ -9927,11 +9938,12 @@ var PopperManagerWrapper = function (_a) {
9927
9938
  };
9928
9939
  var CDropdownContext = createContext({});
9929
9940
  var CDropdown = forwardRef(function (_a, ref) {
9930
- var children = _a.children, alignment = _a.alignment, _b = _a.autoClose, autoClose = _b === void 0 ? true : _b, className = _a.className, dark = _a.dark, direction = _a.direction, onHide = _a.onHide, onShow = _a.onShow, _c = _a.placement, placement = _c === void 0 ? 'bottom-start' : _c, _d = _a.popper, popper = _d === void 0 ? true : _d, _e = _a.variant, variant = _e === void 0 ? 'btn-group' : _e, _f = _a.component, component = _f === void 0 ? 'div' : _f, _g = _a.visible, visible = _g === void 0 ? false : _g, rest = __rest$1(_a, ["children", "alignment", "autoClose", "className", "dark", "direction", "onHide", "onShow", "placement", "popper", "variant", "component", "visible"]);
9941
+ var _b;
9942
+ var children = _a.children, alignment = _a.alignment, _c = _a.autoClose, autoClose = _c === void 0 ? true : _c, className = _a.className, dark = _a.dark, direction = _a.direction, onHide = _a.onHide, onShow = _a.onShow, _d = _a.placement, placement = _d === void 0 ? 'bottom-start' : _d, _e = _a.popper, popper = _e === void 0 ? true : _e, _f = _a.portal, portal = _f === void 0 ? false : _f, _g = _a.variant, variant = _g === void 0 ? 'btn-group' : _g, _h = _a.component, component = _h === void 0 ? 'div' : _h, _j = _a.visible, visible = _j === void 0 ? false : _j, rest = __rest$1(_a, ["children", "alignment", "autoClose", "className", "dark", "direction", "onHide", "onShow", "placement", "popper", "portal", "variant", "component", "visible"]);
9931
9943
  var dropdownRef = useRef(null);
9932
9944
  var dropdownToggleRef = useRef(null);
9933
9945
  var forkedRef = useForkedRef(ref, dropdownRef);
9934
- var _h = useState(visible), _visible = _h[0], setVisible = _h[1];
9946
+ var _k = useState(visible), _visible = _k[0], setVisible = _k[1];
9935
9947
  var Component = variant === 'nav-item' ? 'li' : component;
9936
9948
  // Disable popper if responsive aligment is set.
9937
9949
  if (typeof alignment === 'object') {
@@ -9945,6 +9957,7 @@ var CDropdown = forwardRef(function (_a, ref) {
9945
9957
  dropdownToggleRef: dropdownToggleRef,
9946
9958
  placement: placement,
9947
9959
  popper: popper,
9960
+ portal: portal,
9948
9961
  variant: variant,
9949
9962
  visible: _visible,
9950
9963
  setVisible: setVisible,
@@ -9957,12 +9970,13 @@ var CDropdown = forwardRef(function (_a, ref) {
9957
9970
  !_visible && onHide && onHide();
9958
9971
  }, [_visible]);
9959
9972
  return (React__default$1.createElement(CDropdownContext.Provider, { value: contextValues },
9960
- React__default$1.createElement(PopperManagerWrapper, { popper: popper }, variant === 'input-group' ? (React__default$1.createElement(React__default$1.Fragment, null, children)) : (React__default$1.createElement(Component, __assign$1({ className: classNames$1(variant === 'nav-item' ? 'nav-item dropdown' : variant, {
9961
- 'dropdown-center': direction === 'center',
9962
- 'dropup dropup-center': direction === 'dropup-center',
9963
- direction: direction && direction !== 'center' && direction !== 'dropup-center',
9964
- show: _visible,
9965
- }, className) }, rest, { ref: forkedRef }), children)))));
9973
+ React__default$1.createElement(PopperManagerWrapper, { popper: popper }, variant === 'input-group' ? (React__default$1.createElement(React__default$1.Fragment, null, children)) : (React__default$1.createElement(Component, __assign$1({ className: classNames$1(variant === 'nav-item' ? 'nav-item dropdown' : variant, (_b = {
9974
+ 'dropdown-center': direction === 'center',
9975
+ 'dropup dropup-center': direction === 'dropup-center'
9976
+ },
9977
+ _b["".concat(direction)] = direction && direction !== 'center' && direction !== 'dropup-center',
9978
+ _b.show = _visible,
9979
+ _b), className) }, rest, { ref: forkedRef }), children)))));
9966
9980
  });
9967
9981
  var alignmentDirection = propTypesExports.oneOf(['start', 'end']);
9968
9982
  CDropdown.propTypes = {
@@ -9989,14 +10003,27 @@ CDropdown.propTypes = {
9989
10003
  onShow: propTypesExports.func,
9990
10004
  placement: placementPropType,
9991
10005
  popper: propTypesExports.bool,
10006
+ portal: propTypesExports.bool,
9992
10007
  variant: propTypesExports.oneOf(['btn-group', 'dropdown', 'input-group', 'nav-item']),
9993
10008
  visible: propTypesExports.bool,
9994
10009
  };
9995
10010
  CDropdown.displayName = 'CDropdown';
9996
10011
 
10012
+ var alignmentClassNames = function (alignment) {
10013
+ var classNames = [];
10014
+ if (typeof alignment === 'object') {
10015
+ Object.keys(alignment).map(function (key) {
10016
+ classNames.push("dropdown-menu".concat(key === 'xs' ? '' : "-".concat(key), "-").concat(alignment[key]));
10017
+ });
10018
+ }
10019
+ if (typeof alignment === 'string') {
10020
+ classNames.push("dropdown-menu-".concat(alignment));
10021
+ }
10022
+ return classNames;
10023
+ };
9997
10024
  var CDropdownMenu = function (_a) {
9998
10025
  var children = _a.children, className = _a.className, _b = _a.component, Component = _b === void 0 ? 'ul' : _b, rest = __rest$1(_a, ["children", "className", "component"]);
9999
- var _c = useContext(CDropdownContext), alignment = _c.alignment, autoClose = _c.autoClose, dark = _c.dark, direction = _c.direction, dropdownToggleRef = _c.dropdownToggleRef, placement = _c.placement, popper = _c.popper, visible = _c.visible, setVisible = _c.setVisible;
10026
+ var _c = useContext(CDropdownContext), alignment = _c.alignment, autoClose = _c.autoClose, dark = _c.dark, direction = _c.direction, dropdownToggleRef = _c.dropdownToggleRef, placement = _c.placement, popper = _c.popper, portal = _c.portal, visible = _c.visible, setVisible = _c.setVisible;
10000
10027
  var dropdownMenuRef = useRef(null);
10001
10028
  useEffect(function () {
10002
10029
  visible && window.addEventListener('mouseup', handleMouseUp);
@@ -10045,29 +10072,18 @@ var CDropdownMenu = function (_a) {
10045
10072
  if (alignment === 'end') {
10046
10073
  _placement = 'bottom-end';
10047
10074
  }
10048
- var alignmentClassNames = function (alignment) {
10049
- var classNames = [];
10050
- if (typeof alignment === 'object') {
10051
- Object.keys(alignment).map(function (key) {
10052
- classNames.push("dropdown-menu".concat(key === 'xs' ? '' : "-".concat(key), "-").concat(alignment[key]));
10053
- });
10054
- }
10055
- if (typeof alignment === 'string') {
10056
- classNames.push("dropdown-menu-".concat(alignment));
10057
- }
10058
- return classNames;
10059
- };
10060
- var dropdownMenuComponent = function (style, ref) { return (React__default$1.createElement(Component, __assign$1({ className: classNames$1('dropdown-menu', {
10061
- 'dropdown-menu-dark': dark,
10062
- show: visible,
10063
- }, alignment && alignmentClassNames(alignment), className), ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul'
10064
- ? React__default$1.Children.map(children, function (child, index) {
10065
- if (React__default$1.isValidElement(child)) {
10066
- return React__default$1.createElement("li", { key: index }, React__default$1.cloneElement(child));
10067
- }
10068
- return;
10069
- })
10070
- : children)); };
10075
+ var dropdownMenuComponent = function (style, ref) { return (React__default$1.createElement(CConditionalPortal, { portal: portal !== null && portal !== void 0 ? portal : false },
10076
+ React__default$1.createElement(Component, __assign$1({ className: classNames$1('dropdown-menu', {
10077
+ 'dropdown-menu-dark': dark,
10078
+ show: visible,
10079
+ }, alignment && alignmentClassNames(alignment), className), ref: ref, style: style, role: "menu", "aria-hidden": !visible }, (!popper && { 'data-coreui-popper': 'static' }), rest), Component === 'ul'
10080
+ ? React__default$1.Children.map(children, function (child, index) {
10081
+ if (React__default$1.isValidElement(child)) {
10082
+ return React__default$1.createElement("li", { key: index }, React__default$1.cloneElement(child));
10083
+ }
10084
+ return;
10085
+ })
10086
+ : children))); };
10071
10087
  return popper && visible ? (React__default$1.createElement(Popper, { innerRef: dropdownMenuRef, placement: _placement }, function (_a) {
10072
10088
  var ref = _a.ref, style = _a.style;
10073
10089
  return dropdownMenuComponent(style, ref);
@@ -11559,6 +11575,7 @@ var CMultiSelect = forwardRef(function (_a, ref) {
11559
11575
  };
11560
11576
  var handleSearchKeyDown = function (event) {
11561
11577
  if (event.key === 'Enter' && searchValue && allowCreateOptions) {
11578
+ event.preventDefault();
11562
11579
  if (userOption) {
11563
11580
  setSelected(__spreadArray(__spreadArray([], selected, true), userOption, true));
11564
11581
  setUserOptions(__spreadArray(__spreadArray([], userOptions, true), userOption, true));
@@ -11893,11 +11910,9 @@ var COffcanvas = forwardRef(function (_a, ref) {
11893
11910
  setVisible(visible);
11894
11911
  }, [visible]);
11895
11912
  useEffect(function () {
11896
- if (_visible) {
11897
- if (!scroll) {
11898
- document.body.style.overflow = 'hidden';
11899
- document.body.style.paddingRight = '0px';
11900
- }
11913
+ if (_visible && !scroll) {
11914
+ document.body.style.overflow = 'hidden';
11915
+ document.body.style.paddingRight = '0px';
11901
11916
  return;
11902
11917
  }
11903
11918
  if (!scroll) {
@@ -13829,12 +13844,104 @@ var getColumnLabel = function (column) {
13829
13844
  : pretifyName(column.key)
13830
13845
  : pretifyName(column);
13831
13846
  };
13847
+ // export const getColumnNames = (columns: (string | Column)[] | undefined, items: Item[]) =>
13848
+ // columns
13849
+ // ? columns.map((column: Column | string) => {
13850
+ // return typeof column === 'object' ? column.key : column
13851
+ // })
13852
+ // : getColumnNamesFromItems(items)
13832
13853
  var getColumnNames = function (columns, items) {
13833
- return columns
13834
- ? columns.map(function (column) {
13835
- return typeof column === 'object' ? column.key : column;
13836
- })
13837
- : getColumnNamesFromItems(items);
13854
+ if (columns) {
13855
+ var _columns = [];
13856
+ for (var _i = 0, columns_1 = columns; _i < columns_1.length; _i++) {
13857
+ var column = columns_1[_i];
13858
+ if (typeof column === 'object' && column.children) {
13859
+ _columns.push.apply(_columns, getColumnNames(column.children, []));
13860
+ continue;
13861
+ }
13862
+ typeof column === 'object' ? _columns.push(column.key) : _columns.push(column);
13863
+ }
13864
+ return _columns;
13865
+ }
13866
+ return getColumnNamesFromItems(items);
13867
+ };
13868
+ var getColumns = function (_columns) {
13869
+ var columns = [];
13870
+ for (var _i = 0, _columns_1 = _columns; _i < _columns_1.length; _i++) {
13871
+ var column = _columns_1[_i];
13872
+ if (typeof column === 'object' && column.group && column.children) {
13873
+ columns.push.apply(columns, getColumns(column.children));
13874
+ continue;
13875
+ }
13876
+ if (typeof column === 'object' && column.children) {
13877
+ columns.push.apply(columns, getColumns(column.children));
13878
+ }
13879
+ columns.push(column);
13880
+ }
13881
+ return columns;
13882
+ };
13883
+ var countColumns = function (columns, counter) {
13884
+ if (counter === void 0) { counter = 0; }
13885
+ var _counter = counter;
13886
+ for (var _i = 0, columns_2 = columns; _i < columns_2.length; _i++) {
13887
+ var column = columns_2[_i];
13888
+ if (!column.children) {
13889
+ _counter++;
13890
+ }
13891
+ if (column.children) {
13892
+ _counter = countColumns(column.children, _counter);
13893
+ }
13894
+ }
13895
+ return _counter;
13896
+ };
13897
+ var getColumnGroups = function (columns) {
13898
+ var groups = [];
13899
+ var traverseColumns = function (column, deep, colSpan) {
13900
+ if (deep === void 0) { deep = 0; }
13901
+ var groups = [];
13902
+ if (column.children) {
13903
+ for (var _i = 0, _a = column.children; _i < _a.length; _i++) {
13904
+ var _column = _a[_i];
13905
+ if (!_column.group) ;
13906
+ groups.push.apply(groups, traverseColumns(_column, deep + 1));
13907
+ }
13908
+ }
13909
+ if (typeof column === 'object' && column.group) {
13910
+ var children = column.children, group = column.group, rest = __rest$1(column, ["children", "group"]);
13911
+ groups.push(__assign$1(__assign$1({ deep: deep, label: group }, (children && { colspan: countColumns(children) })), rest));
13912
+ }
13913
+ return groups;
13914
+ };
13915
+ if (columns) {
13916
+ for (var _i = 0, columns_3 = columns; _i < columns_3.length; _i++) {
13917
+ var column = columns_3[_i];
13918
+ if (typeof column === 'object' && column.group) {
13919
+ var objects = traverseColumns(column);
13920
+ if (objects) {
13921
+ for (var _a = 0, objects_1 = objects; _a < objects_1.length; _a++) {
13922
+ var object = objects_1[_a];
13923
+ var deep = object.deep, rest = __rest$1(object, ["deep"]);
13924
+ if (deep === undefined) {
13925
+ continue;
13926
+ }
13927
+ for (var i = 0; i < deep; i++) {
13928
+ if (groups[i]) {
13929
+ continue;
13930
+ }
13931
+ groups.push([]);
13932
+ }
13933
+ if (groups[deep]) {
13934
+ groups[deep].push(rest);
13935
+ }
13936
+ else {
13937
+ groups.push([rest]);
13938
+ }
13939
+ }
13940
+ }
13941
+ }
13942
+ }
13943
+ }
13944
+ return groups;
13838
13945
  };
13839
13946
  var getColumnNamesFromItems = function (items) {
13840
13947
  return Object.keys(items[0] || {}).filter(function (el) { return el.charAt(0) !== '_'; });
@@ -13916,7 +14023,7 @@ var CSmartTableBody = forwardRef(function (_a, ref) {
13916
14023
  var colspan = selectable ? columnNames.length + 1 : columnNames.length;
13917
14024
  return (React__default$1.createElement(CTableBody, __assign$1({}, (clickableRows && {
13918
14025
  style: { cursor: 'pointer' },
13919
- }), rest, { ref: ref }), currentItems.length ? (currentItems.map(function (item, trIndex) {
14026
+ }), rest, { ref: ref }), currentItems.length > 0 ? (currentItems.map(function (item, trIndex) {
13920
14027
  return (React__default$1.createElement(React__default$1.Fragment, { key: trIndex },
13921
14028
  React__default$1.createElement(CTableRow, __assign$1({}, (item._props && __assign$1({}, item._props)), (clickableRows && { tabIndex: 0 }), { onClick: function (event) {
13922
14029
  return onRowClick &&
@@ -13936,7 +14043,8 @@ var CSmartTableBody = forwardRef(function (_a, ref) {
13936
14043
  scopedColumns[colName] &&
13937
14044
  React__default$1.cloneElement(scopedColumns[colName](item, trIndex + firstItemOnActivePageIndex), {
13938
14045
  key: index,
13939
- })) || (React__default$1.createElement(CTableDataCell, __assign$1({}, getTableDataCellProps(item, colName), { key: index }), String(item[colName]))));
14046
+ })) ||
14047
+ (item[colName] && (React__default$1.createElement(CTableDataCell, __assign$1({}, getTableDataCellProps(item, colName), { key: index }), String(item[colName])))));
13940
14048
  })),
13941
14049
  scopedColumns && scopedColumns.details && (React__default$1.createElement(React__default$1.Fragment, null,
13942
14050
  React__default$1.createElement(CTableRow, null,
@@ -13977,9 +14085,11 @@ CSmartTableCleaner.propTypes = {
13977
14085
  CSmartTableCleaner.displayName = 'CSmartTableCleaner';
13978
14086
 
13979
14087
  var CSmartTableHead = forwardRef(function (_a, ref) {
13980
- var columnFilter = _a.columnFilter, columnFilterState = _a.columnFilterState, columnSorter = _a.columnSorter, _b = _a.component, Component = _b === void 0 ? CTableHead : _b, columns = _a.columns, handleOnCustomFilterChange = _a.handleOnCustomFilterChange, handleFilterOnChange = _a.handleFilterOnChange, handleFilterOnInput = _a.handleFilterOnInput, handleSelectAllChecked = _a.handleSelectAllChecked, handleSort = _a.handleSort, items = _a.items, selectable = _a.selectable, selectAll = _a.selectAll, selectedAll = _a.selectedAll, sorterState = _a.sorterState, sortingIcon = _a.sortingIcon, sortingIconAscending = _a.sortingIconAscending, sortingIconDescending = _a.sortingIconDescending, rest = __rest$1(_a, ["columnFilter", "columnFilterState", "columnSorter", "component", "columns", "handleOnCustomFilterChange", "handleFilterOnChange", "handleFilterOnInput", "handleSelectAllChecked", "handleSort", "items", "selectable", "selectAll", "selectedAll", "sorterState", "sortingIcon", "sortingIconAscending", "sortingIconDescending"]);
14088
+ var columnFilter = _a.columnFilter, columnFilterState = _a.columnFilterState, columnSorter = _a.columnSorter, _b = _a.component, Component = _b === void 0 ? CTableHead : _b, columns = _a.columns, handleOnCustomFilterChange = _a.handleOnCustomFilterChange, handleFilterOnChange = _a.handleFilterOnChange, handleFilterOnInput = _a.handleFilterOnInput, handleSelectAllChecked = _a.handleSelectAllChecked, handleSort = _a.handleSort, items = _a.items, selectable = _a.selectable, selectAll = _a.selectAll, selectedAll = _a.selectedAll, _c = _a.showGroups, showGroups = _c === void 0 ? true : _c, sorterState = _a.sorterState, sortingIcon = _a.sortingIcon, sortingIconAscending = _a.sortingIconAscending, sortingIconDescending = _a.sortingIconDescending, rest = __rest$1(_a, ["columnFilter", "columnFilterState", "columnSorter", "component", "columns", "handleOnCustomFilterChange", "handleFilterOnChange", "handleFilterOnInput", "handleSelectAllChecked", "handleSort", "items", "selectable", "selectAll", "selectedAll", "showGroups", "sorterState", "sortingIcon", "sortingIconAscending", "sortingIconDescending"]);
13981
14089
  var selectAllcheckboxRef = useRef(null);
13982
- var _c = useState(false), refresh = _c[0], setRefresh = _c[1];
14090
+ var _d = useState(false), refresh = _d[0], setRefresh = _d[1];
14091
+ var _columns = useMemo(function () { return getColumns(columns); }, [columns]);
14092
+ var groups = useMemo(function () { return getColumnGroups(columns); }, [columns]);
13983
14093
  useEffect(function () {
13984
14094
  if (selectedAll === 'indeterminate') {
13985
14095
  if (selectAllcheckboxRef.current)
@@ -14016,27 +14126,33 @@ var CSmartTableHead = forwardRef(function (_a, ref) {
14016
14126
  return;
14017
14127
  };
14018
14128
  return (React__default$1.createElement(Component, __assign$1({}, rest, { ref: ref }),
14129
+ showGroups &&
14130
+ groups &&
14131
+ groups.length > 0 &&
14132
+ groups.map(function (row, index) { return (React__default$1.createElement(CTableRow, { key: index },
14133
+ selectable && React__default$1.createElement(CTableHeaderCell, null),
14134
+ row.map(function (cell, index) { return (React__default$1.createElement(CTableHeaderCell, __assign$1({ colSpan: cell.colspan }, getTableHeaderCellProps(cell), { key: index }), cell.label)); }))); }),
14019
14135
  React__default$1.createElement(CTableRow, null,
14020
14136
  selectable && (React__default$1.createElement(CTableHeaderCell, null, selectAll && (React__default$1.createElement(CFormCheck, { checked: typeof selectedAll === 'boolean' ? selectedAll : false, onChange: function () { return handleSelectAllChecked && handleSelectAllChecked(); }, ref: selectAllcheckboxRef })))),
14021
- columns.map(function (column, index) {
14137
+ _columns.map(function (column, index) {
14022
14138
  return (React__default$1.createElement(CTableHeaderCell, __assign$1({}, getTableHeaderCellProps(column), { onClick: function () { return handleSort && handleSort(getColumnKey(column), index); }, style: getTableHeaderCellStyles(column, columnSorter), key: index }),
14023
14139
  React__default$1.createElement("div", { className: "d-inline" }, getColumnLabel(column)),
14024
14140
  columnSorter &&
14025
- (typeof column !== 'object'
14026
- ? true
14027
- : typeof column.sorter === 'undefined'
14141
+ (typeof column === 'object'
14142
+ ? typeof column.sorter === 'undefined'
14028
14143
  ? true
14029
- : column.sorter) &&
14144
+ : column.sorter
14145
+ : true) &&
14030
14146
  columnSorterIcon(column)));
14031
14147
  })),
14032
14148
  columnFilter && (React__default$1.createElement(CTableRow, null,
14033
14149
  selectable && React__default$1.createElement(CTableHeaderCell, null),
14034
- columns.map(function (column, index) {
14035
- return (React__default$1.createElement(CTableHeaderCell, __assign$1({}, getTableHeaderCellProps(column), { key: index }), (typeof column !== 'object'
14036
- ? true
14037
- : typeof column.filter === 'undefined'
14150
+ _columns.map(function (column, index) {
14151
+ return (React__default$1.createElement(CTableHeaderCell, __assign$1({}, getTableHeaderCellProps(column), { key: index }), (typeof column === 'object'
14152
+ ? column.filter === undefined
14038
14153
  ? true
14039
- : column.filter) ? (typeof column !== 'string' && typeof column.filter === 'function' ? (!refresh &&
14154
+ : column.filter
14155
+ : true) ? (typeof column !== 'string' && typeof column.filter === 'function' ? (!refresh &&
14040
14156
  column.filter(getColumnValues(items, getColumnKey(column)), function (value) {
14041
14157
  return handleOnCustomFilterChange &&
14042
14158
  handleOnCustomFilterChange(getColumnKey(column), value);
@@ -14085,7 +14201,7 @@ var CSmartTable = forwardRef(function (_a, ref) {
14085
14201
  var _u = useState({}), columnFilterState = _u[0], setColumnFilterState = _u[1];
14086
14202
  var _v = useState(), selectedAll = _v[0], setSelectedAll = _v[1];
14087
14203
  var _w = useState({}), sorterState = _w[0], setSorterState = _w[1];
14088
- var _x = useState(tableFilterValue ? tableFilterValue : ''), tableFilterState = _x[0], setTableFilterState = _x[1];
14204
+ var _x = useState(tableFilterValue !== null && tableFilterValue !== void 0 ? tableFilterValue : ''), tableFilterState = _x[0], setTableFilterState = _x[1];
14089
14205
  useEffect(function () {
14090
14206
  setActivePage(activePage);
14091
14207
  }, [activePage]);
@@ -14148,7 +14264,7 @@ var CSmartTable = forwardRef(function (_a, ref) {
14148
14264
  setSelectedAll(false);
14149
14265
  return;
14150
14266
  }
14151
- if (_selected.length !== 0 && _selected.length !== _itemsNumber) {
14267
+ if (_selected.length > 0 && _selected.length !== _itemsNumber) {
14152
14268
  setSelectedAll('indeterminate');
14153
14269
  }
14154
14270
  }
@@ -14274,7 +14390,7 @@ var CSmartTable = forwardRef(function (_a, ref) {
14274
14390
  React__default$1.createElement(CSmartTableBody, __assign$1({ clickableRows: clickableRows, currentItems: currentItems, firstItemOnActivePageIndex: firstItemOnActivePageIndex, noItemsLabel: noItemsLabel, onRowClick: function (item, index, columnName, event) {
14275
14391
  return clickableRows && onRowClick && onRowClick(item, index, columnName, event);
14276
14392
  }, onRowChecked: function (item, value) { return handleRowChecked(item, value); }, columnNames: columnNames, scopedColumns: scopedColumns, selectable: selectable, selected: _selected }, tableBodyProps)),
14277
- typeof footer === 'boolean' && footer && (React__default$1.createElement(CSmartTableHead, __assign$1({ component: CTableFoot }, tableFootProps, { columnFilter: false, columnSorter: false, columns: columns !== null && columns !== void 0 ? columns : columnNames, items: _items, handleSelectAllChecked: function () { return handleSelectAllChecked(); }, selectable: selectable, selectAll: selectAll, selectedAll: selectedAll }))),
14393
+ typeof footer === 'boolean' && footer && (React__default$1.createElement(CSmartTableHead, __assign$1({ component: CTableFoot }, tableFootProps, { columnFilter: false, columnSorter: false, columns: columns !== null && columns !== void 0 ? columns : columnNames, items: _items, handleSelectAllChecked: function () { return handleSelectAllChecked(); }, selectable: selectable, selectAll: selectAll, selectedAll: selectedAll, showGroups: false }))),
14278
14394
  Array.isArray(footer) && (React__default$1.createElement(CTableFoot, __assign$1({}, tableFootProps),
14279
14395
  React__default$1.createElement(CTableRow, null, footer.map(function (item, index) { return (React__default$1.createElement(CTableDataCell, __assign$1({}, (typeof item === 'object' && item._props && __assign$1({}, item._props)), { key: index }), typeof item === 'object' ? item.label : item)); }))))),
14280
14396
  loading && (React__default$1.createElement(CElementCover, { boundaries: [
@@ -14839,5 +14955,5 @@ CWidgetStatsF.propTypes = {
14839
14955
  };
14840
14956
  CWidgetStatsF.displayName = 'CWidgetStatsF';
14841
14957
 
14842
- export { CAccordion, CAccordionBody, CAccordionButton, CAccordionCollapse, CAccordionHeader, CAccordionItem, CAlert, CAlertHeading, CAlertLink, CAvatar, CBackdrop, CBadge, CBreadcrumb, CBreadcrumbItem, CButton, CButtonGroup, CButtonToolbar, CCallout, CCard, CCardBody, CCardFooter, CCardGroup, CCardHeader, CCardImage, CCardImageOverlay, CCardLink, CCardSubtitle, CCardText, CCardTitle, CCarousel, CCarouselCaption, CCarouselItem, CCloseButton, CCol, CCollapse, CConditionalPortal, CContainer, CDatePicker, CDateRangePicker, CDropdown, CDropdownDivider, CDropdownHeader, CDropdownItem, CDropdownItemPlain, CDropdownMenu, CDropdownToggle, CElementCover, CFooter, CForm, CFormCheck, CFormControlValidation, CFormControlWrapper, CFormFeedback, CFormFloating, CFormInput, CFormLabel, CFormRange, CFormSelect, CFormSwitch, CFormText, CFormTextarea, CHeader, CHeaderBrand, CHeaderDivider, CHeaderNav, CHeaderText, CHeaderToggler, CImage, CInputGroup, CInputGroupText, CLink, CListGroup, CListGroupItem, CLoadingButton, CModal, CModalBody, CModalContent, CModalDialog, CModalFooter, CModalHeader, CModalTitle, CMultiSelect, CNav, CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle, CNavbar, CNavbarBrand, CNavbarNav, CNavbarText, CNavbarToggler, COffcanvas, COffcanvasBody, COffcanvasHeader, COffcanvasTitle, CPagination, CPaginationItem, CPlaceholder, CPopover, CProgress, CProgressBar, CRow, CSidebar, CSidebarBrand, CSidebarFooter, CSidebarHeader, CSidebarNav, CSidebarToggler, CSmartPagination, CSmartTable, CSpinner, CTabContent, CTabPane, CTable, CTableBody, CTableCaption, CTableDataCell, CTableFoot, CTableHead, CTableHeaderCell, CTableRow, CTimePicker, CToast, CToastBody, CToastClose, CToastHeader, CToaster, CTooltip, CVirtualScroller, CWidgetStatsA, CWidgetStatsB, CWidgetStatsC, CWidgetStatsD, CWidgetStatsE, CWidgetStatsF };
14958
+ export { CAccordion, CAccordionBody, CAccordionButton, CAccordionHeader, CAccordionItem, CAlert, CAlertHeading, CAlertLink, CAvatar, CBackdrop, CBadge, CBreadcrumb, CBreadcrumbItem, CButton, CButtonGroup, CButtonToolbar, CCallout, CCard, CCardBody, CCardFooter, CCardGroup, CCardHeader, CCardImage, CCardImageOverlay, CCardLink, CCardSubtitle, CCardText, CCardTitle, CCarousel, CCarouselCaption, CCarouselItem, CCloseButton, CCol, CCollapse, CConditionalPortal, CContainer, CDatePicker, CDateRangePicker, CDropdown, CDropdownDivider, CDropdownHeader, CDropdownItem, CDropdownItemPlain, CDropdownMenu, CDropdownToggle, CElementCover, CFooter, CForm, CFormCheck, CFormControlValidation, CFormControlWrapper, CFormFeedback, CFormFloating, CFormInput, CFormLabel, CFormRange, CFormSelect, CFormSwitch, CFormText, CFormTextarea, CHeader, CHeaderBrand, CHeaderDivider, CHeaderNav, CHeaderText, CHeaderToggler, CImage, CInputGroup, CInputGroupText, CLink, CListGroup, CListGroupItem, CLoadingButton, CModal, CModalBody, CModalContent, CModalDialog, CModalFooter, CModalHeader, CModalTitle, CMultiSelect, CNav, CNavGroup, CNavGroupItems, CNavItem, CNavLink, CNavTitle, CNavbar, CNavbarBrand, CNavbarNav, CNavbarText, CNavbarToggler, COffcanvas, COffcanvasBody, COffcanvasHeader, COffcanvasTitle, CPagination, CPaginationItem, CPlaceholder, CPopover, CProgress, CProgressBar, CRow, CSidebar, CSidebarBrand, CSidebarFooter, CSidebarHeader, CSidebarNav, CSidebarToggler, CSmartPagination, CSmartTable, CSpinner, CTabContent, CTabPane, CTable, CTableBody, CTableCaption, CTableDataCell, CTableFoot, CTableHead, CTableHeaderCell, CTableRow, CTimePicker, CToast, CToastBody, CToastClose, CToastHeader, CToaster, CTooltip, CVirtualScroller, CWidgetStatsA, CWidgetStatsB, CWidgetStatsC, CWidgetStatsD, CWidgetStatsE, CWidgetStatsF };
14843
14959
  //# sourceMappingURL=index.es.js.map