@coreui/vue-pro 4.8.2 → 4.9.0-beta.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.
Files changed (226) hide show
  1. package/README.md +1 -1
  2. package/dist/components/accordion/CAccordion.d.ts +1 -1
  3. package/dist/components/accordion/CAccordionBody.d.ts +1 -1
  4. package/dist/components/accordion/CAccordionButton.d.ts +1 -1
  5. package/dist/components/accordion/CAccordionHeader.d.ts +1 -1
  6. package/dist/components/accordion/CAccordionItem.d.ts +1 -1
  7. package/dist/components/alert/CAlert.d.ts +1 -1
  8. package/dist/components/alert/CAlertHeading.d.ts +1 -1
  9. package/dist/components/alert/CAlertLink.d.ts +1 -1
  10. package/dist/components/avatar/CAvatar.d.ts +1 -1
  11. package/dist/components/backdrop/CBackdrop.d.ts +1 -1
  12. package/dist/components/badge/CBadge.d.ts +1 -1
  13. package/dist/components/breadcrumb/CBreadcrumb.d.ts +1 -1
  14. package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +1 -1
  15. package/dist/components/button/CButton.d.ts +1 -1
  16. package/dist/components/button-group/CButtonGroup.d.ts +1 -1
  17. package/dist/components/button-group/CButtonToolbar.d.ts +1 -1
  18. package/dist/components/calendar/CCalendar.d.ts +33 -1
  19. package/dist/components/callout/CCallout.d.ts +1 -1
  20. package/dist/components/card/CCard.d.ts +1 -1
  21. package/dist/components/card/CCardBody.d.ts +1 -1
  22. package/dist/components/card/CCardFooter.d.ts +1 -1
  23. package/dist/components/card/CCardGroup.d.ts +1 -1
  24. package/dist/components/card/CCardHeader.d.ts +1 -1
  25. package/dist/components/card/CCardImage.d.ts +1 -1
  26. package/dist/components/card/CCardImageOverlay.d.ts +1 -1
  27. package/dist/components/card/CCardLink.d.ts +1 -1
  28. package/dist/components/card/CCardSubtitle.d.ts +1 -1
  29. package/dist/components/card/CCardText.d.ts +1 -1
  30. package/dist/components/card/CCardTitle.d.ts +1 -1
  31. package/dist/components/carousel/CCarousel.d.ts +1 -1
  32. package/dist/components/carousel/CCarouselCaption.d.ts +1 -1
  33. package/dist/components/carousel/CCarouselItem.d.ts +1 -1
  34. package/dist/components/close-button/CCloseButton.d.ts +1 -1
  35. package/dist/components/collapse/CCollapse.d.ts +1 -1
  36. package/dist/components/date-picker/CDatePicker.d.ts +35 -3
  37. package/dist/components/date-range-picker/CDateRangePicker.d.ts +89 -78
  38. package/dist/components/date-range-picker/utils.d.ts +1 -0
  39. package/dist/components/dropdown/CDropdown.d.ts +2 -2
  40. package/dist/components/dropdown/CDropdownDivider.d.ts +1 -1
  41. package/dist/components/dropdown/CDropdownHeader.d.ts +1 -1
  42. package/dist/components/dropdown/CDropdownItem.d.ts +1 -1
  43. package/dist/components/dropdown/CDropdownMenu.d.ts +1 -1
  44. package/dist/components/dropdown/CDropdownToggle.d.ts +1 -1
  45. package/dist/components/element-cover/CElementCover.d.ts +1 -1
  46. package/dist/components/footer/CFooter.d.ts +1 -1
  47. package/dist/components/form/CForm.d.ts +1 -1
  48. package/dist/components/form/CFormCheck.d.ts +10 -2
  49. package/dist/components/form/CFormControl.d.ts +2 -2
  50. package/dist/components/form/CFormControlValidation.d.ts +1 -1
  51. package/dist/components/form/CFormControlWrapper.d.ts +1 -1
  52. package/dist/components/form/CFormFeedback.d.ts +1 -1
  53. package/dist/components/form/CFormFloating.d.ts +1 -1
  54. package/dist/components/form/CFormInput.d.ts +12 -12
  55. package/dist/components/form/CFormLabel.d.ts +1 -1
  56. package/dist/components/form/CFormRange.d.ts +1 -1
  57. package/dist/components/form/CFormSelect.d.ts +1 -1
  58. package/dist/components/form/CFormSwitch.d.ts +1 -1
  59. package/dist/components/form/CFormText.d.ts +1 -1
  60. package/dist/components/form/CFormTextarea.d.ts +3 -3
  61. package/dist/components/form/CInputGroup.d.ts +1 -1
  62. package/dist/components/form/CInputGroupText.d.ts +1 -1
  63. package/dist/components/grid/CCol.d.ts +1 -1
  64. package/dist/components/grid/CContainer.d.ts +1 -1
  65. package/dist/components/grid/CRow.d.ts +1 -1
  66. package/dist/components/header/CHeader.d.ts +1 -1
  67. package/dist/components/header/CHeaderBrand.d.ts +1 -1
  68. package/dist/components/header/CHeaderDivider.d.ts +1 -1
  69. package/dist/components/header/CHeaderNav.d.ts +1 -1
  70. package/dist/components/header/CHeaderText.d.ts +1 -1
  71. package/dist/components/header/CHeaderToggler.d.ts +1 -1
  72. package/dist/components/image/CImage.d.ts +1 -1
  73. package/dist/components/link/CLink.d.ts +1 -1
  74. package/dist/components/list-group/CListGroup.d.ts +1 -1
  75. package/dist/components/list-group/CListGroupItem.d.ts +1 -1
  76. package/dist/components/loading-button/CLoadingButton.d.ts +1 -1
  77. package/dist/components/modal/CModal.d.ts +1 -1
  78. package/dist/components/modal/CModalBody.d.ts +1 -1
  79. package/dist/components/modal/CModalFooter.d.ts +1 -1
  80. package/dist/components/modal/CModalHeader.d.ts +1 -1
  81. package/dist/components/modal/CModalTitle.d.ts +1 -1
  82. package/dist/components/multi-select/CMultiSelect.d.ts +73 -59
  83. package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +9 -33
  84. package/dist/components/multi-select/CMultiSelectOptions.d.ts +12 -41
  85. package/dist/components/multi-select/CMultiSelectSelection.d.ts +6 -59
  86. package/dist/components/multi-select/types.d.ts +8 -3
  87. package/dist/components/multi-select/utils.d.ts +9 -4
  88. package/dist/components/nav/CNav.d.ts +1 -1
  89. package/dist/components/nav/CNavGroup.d.ts +1 -1
  90. package/dist/components/nav/CNavGroupItems.d.ts +1 -1
  91. package/dist/components/nav/CNavItem.d.ts +1 -1
  92. package/dist/components/nav/CNavLink.d.ts +1 -1
  93. package/dist/components/nav/CNavTitle.d.ts +1 -1
  94. package/dist/components/navbar/CNavbar.d.ts +1 -1
  95. package/dist/components/navbar/CNavbarBrand.d.ts +1 -1
  96. package/dist/components/navbar/CNavbarNav.d.ts +1 -1
  97. package/dist/components/navbar/CNavbarText.d.ts +1 -1
  98. package/dist/components/navbar/CNavbarToggler.d.ts +1 -1
  99. package/dist/components/offcanvas/COffcanvas.d.ts +1 -1
  100. package/dist/components/offcanvas/COffcanvasBody.d.ts +1 -1
  101. package/dist/components/offcanvas/COffcanvasHeader.d.ts +1 -1
  102. package/dist/components/offcanvas/COffcanvasTitle.d.ts +1 -1
  103. package/dist/components/pagination/CPagination.d.ts +1 -1
  104. package/dist/components/pagination/CPaginationItem.d.ts +1 -1
  105. package/dist/components/picker/CPicker.d.ts +57 -7
  106. package/dist/components/placeholder/CPlaceholder.d.ts +1 -1
  107. package/dist/components/popover/CPopover.d.ts +2 -2
  108. package/dist/components/progress/CProgress.d.ts +1 -1
  109. package/dist/components/progress/CProgressBar.d.ts +1 -1
  110. package/dist/components/sidebar/CSidebar.d.ts +1 -1
  111. package/dist/components/sidebar/CSidebarBrand.d.ts +1 -1
  112. package/dist/components/sidebar/CSidebarFooter.d.ts +1 -1
  113. package/dist/components/sidebar/CSidebarHeader.d.ts +1 -1
  114. package/dist/components/sidebar/CSidebarNav.d.ts +1 -1
  115. package/dist/components/sidebar/CSidebarToggler.d.ts +1 -1
  116. package/dist/components/smart-pagination/CSmartPagination.d.ts +1 -1
  117. package/dist/components/smart-table/CSmartTable.d.ts +20 -56
  118. package/dist/components/smart-table/CSmartTableBody.d.ts +1 -1
  119. package/dist/components/smart-table/CSmartTableCleaner.d.ts +1 -1
  120. package/dist/components/smart-table/CSmartTableFilter.d.ts +1 -1
  121. package/dist/components/smart-table/CSmartTableHead.d.ts +10 -1
  122. package/dist/components/smart-table/CSmartTableItemsPerPageSelector.d.ts +1 -1
  123. package/dist/components/smart-table/types.d.ts +12 -0
  124. package/dist/components/smart-table/utils.d.ts +12 -2
  125. package/dist/components/spinner/CSpinner.d.ts +1 -1
  126. package/dist/components/table/CTable.d.ts +1 -1
  127. package/dist/components/table/CTableBody.d.ts +1 -1
  128. package/dist/components/table/CTableCaption.d.ts +1 -1
  129. package/dist/components/table/CTableDataCell.d.ts +1 -1
  130. package/dist/components/table/CTableFoot.d.ts +1 -1
  131. package/dist/components/table/CTableHead.d.ts +1 -1
  132. package/dist/components/table/CTableHeaderCell.d.ts +1 -1
  133. package/dist/components/table/CTableRow.d.ts +1 -1
  134. package/dist/components/tabs/CTabContent.d.ts +1 -1
  135. package/dist/components/tabs/CTabPane.d.ts +1 -1
  136. package/dist/components/time-picker/CTimePicker.d.ts +1 -1
  137. package/dist/components/time-picker/CTimePickerRollCol.d.ts +1 -1
  138. package/dist/components/toast/CToast.d.ts +1 -1
  139. package/dist/components/toast/CToastBody.d.ts +1 -1
  140. package/dist/components/toast/CToastClose.d.ts +1 -1
  141. package/dist/components/toast/CToastHeader.d.ts +1 -1
  142. package/dist/components/toast/CToaster.d.ts +1 -1
  143. package/dist/components/tooltip/CTooltip.d.ts +2 -2
  144. package/dist/components/virtual-scroller/CVirtualScroller.d.ts +1 -1
  145. package/dist/components/widgets/CWidgetStatsA.d.ts +1 -1
  146. package/dist/components/widgets/CWidgetStatsB.d.ts +1 -1
  147. package/dist/components/widgets/CWidgetStatsC.d.ts +1 -1
  148. package/dist/components/widgets/CWidgetStatsD.d.ts +1 -1
  149. package/dist/components/widgets/CWidgetStatsE.d.ts +1 -1
  150. package/dist/components/widgets/CWidgetStatsF.d.ts +1 -1
  151. package/dist/composables/index.d.ts +2 -0
  152. package/dist/composables/useColorModes.d.ts +5 -0
  153. package/dist/directives/index.d.ts +1 -1
  154. package/dist/directives/v-c-visible.d.ts +1 -1
  155. package/dist/index.d.ts +2 -1
  156. package/dist/index.es.js +4224 -4159
  157. package/dist/index.es.js.map +1 -1
  158. package/dist/index.js +4226 -4160
  159. package/dist/index.js.map +1 -1
  160. package/dist/utils/getUID.d.ts +2 -0
  161. package/dist/utils/index.d.ts +4 -1
  162. package/dist/utils/isObjectInArray.d.ts +2 -0
  163. package/dist/utils/isRTL.d.ts +2 -0
  164. package/package.json +11 -11
  165. package/src/components/accordion/CAccordionItem.ts +2 -2
  166. package/src/components/backdrop/CBackdrop.ts +1 -1
  167. package/src/components/calendar/CCalendar.ts +111 -49
  168. package/src/components/carousel/CCarousel.ts +7 -7
  169. package/src/components/date-picker/CDatePicker.ts +16 -1
  170. package/src/components/date-range-picker/CDateRangePicker.ts +179 -128
  171. package/src/components/date-range-picker/utils.ts +49 -0
  172. package/src/components/dropdown/CDropdown.ts +34 -31
  173. package/src/components/dropdown/CDropdownMenu.ts +1 -1
  174. package/src/components/dropdown/CDropdownToggle.ts +1 -1
  175. package/src/components/element-cover/CElementCover.ts +1 -0
  176. package/src/components/form/CFormCheck.ts +10 -4
  177. package/src/components/form/CFormInput.ts +2 -2
  178. package/src/components/form/CFormLabel.ts +1 -1
  179. package/src/components/form/CFormSelect.ts +1 -1
  180. package/src/components/grid/CCol.ts +1 -1
  181. package/src/components/grid/CContainer.ts +1 -1
  182. package/src/components/header/CHeader.ts +1 -1
  183. package/src/components/modal/CModal.ts +1 -0
  184. package/src/components/multi-select/CMultiSelect.ts +337 -144
  185. package/src/components/multi-select/CMultiSelectNativeSelect.ts +8 -15
  186. package/src/components/multi-select/CMultiSelectOptions.ts +32 -39
  187. package/src/components/multi-select/CMultiSelectSelection.ts +24 -40
  188. package/src/components/multi-select/types.ts +10 -4
  189. package/src/components/multi-select/utils.ts +71 -37
  190. package/src/components/nav/CNavGroup.ts +4 -0
  191. package/src/components/navbar/CNavbar.ts +1 -1
  192. package/src/components/navbar/CNavbarBrand.ts +1 -1
  193. package/src/components/offcanvas/COffcanvas.ts +3 -2
  194. package/src/components/pagination/CPaginationItem.ts +1 -1
  195. package/src/components/picker/CPicker.ts +106 -157
  196. package/src/components/popover/CPopover.ts +18 -2
  197. package/src/components/props.ts +2 -6
  198. package/src/components/sidebar/CSidebar.ts +3 -2
  199. package/src/components/smart-table/CSmartTable.ts +45 -52
  200. package/src/components/smart-table/CSmartTableBody.ts +5 -3
  201. package/src/components/smart-table/CSmartTableHead.ts +41 -14
  202. package/src/components/smart-table/types.ts +13 -0
  203. package/src/components/smart-table/utils.ts +119 -21
  204. package/src/components/spinner/CSpinner.ts +4 -2
  205. package/src/components/table/CTable.ts +19 -18
  206. package/src/components/table/types.ts +19 -19
  207. package/src/components/time-picker/CTimePicker.ts +216 -125
  208. package/src/components/toast/CToast.ts +1 -1
  209. package/src/components/tooltip/CTooltip.ts +19 -3
  210. package/src/components/virtual-scroller/CVirtualScroller.ts +10 -8
  211. package/src/components/widgets/CWidgetStatsA.ts +1 -1
  212. package/src/components/widgets/CWidgetStatsB.ts +1 -1
  213. package/src/components/widgets/CWidgetStatsC.ts +1 -1
  214. package/src/components/widgets/CWidgetStatsE.ts +1 -1
  215. package/src/components/widgets/CWidgetStatsF.ts +1 -1
  216. package/src/composables/index.ts +3 -0
  217. package/src/composables/useColorModes.ts +57 -0
  218. package/src/directives/index.ts +1 -1
  219. package/src/directives/v-c-popover.ts +9 -13
  220. package/src/directives/v-c-tooltip.ts +8 -12
  221. package/src/directives/v-c-visible.ts +1 -1
  222. package/src/index.ts +8 -29
  223. package/src/utils/getUID.ts +9 -0
  224. package/src/utils/index.ts +4 -1
  225. package/src/utils/isObjectInArray.ts +14 -0
  226. package/src/utils/isRTL.ts +13 -0
@@ -1,106 +1,53 @@
1
1
  import { PropType } from 'vue';
2
2
  import type { Option } from './types';
3
3
  declare const CMultiSelectSelection: import("vue").DefineComponent<{
4
- /**
5
- * It specifies that multiple options can be selected at once.
6
- *
7
- * @default true
8
- */
9
4
  multiple: {
10
5
  type: BooleanConstructor;
11
6
  default: boolean;
12
- required: false;
13
- };
14
- /**
15
- * Enables search input element.
16
- */
17
- search: {
18
- type: (StringConstructor | BooleanConstructor)[];
19
- required: false;
20
- default: boolean;
21
7
  };
8
+ placeholder: StringConstructor;
9
+ search: (StringConstructor | BooleanConstructor)[];
22
10
  selected: {
23
11
  type: PropType<Option[]>;
24
12
  default: () => never[];
25
- required: false;
26
13
  };
27
- /**
28
- * Sets the selection style.
29
- *
30
- * @values 'counter', 'tags', 'text'
31
- * @default 'tags'
32
- */
33
14
  selectionType: {
34
15
  type: StringConstructor;
35
16
  default: string;
36
- required: false;
37
17
  validator: (value: string) => boolean;
38
18
  };
39
- /**
40
- * Sets the counter selection label.
41
- *
42
- * @default 'item(s) selected'
43
- */
44
19
  selectionTypeCounterText: {
45
20
  type: StringConstructor;
46
21
  default: string;
47
- required: false;
48
22
  };
49
23
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
24
  [key: string]: any;
51
25
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
- /**
53
- * It specifies that multiple options can be selected at once.
54
- *
55
- * @default true
56
- */
57
26
  multiple: {
58
27
  type: BooleanConstructor;
59
28
  default: boolean;
60
- required: false;
61
- };
62
- /**
63
- * Enables search input element.
64
- */
65
- search: {
66
- type: (StringConstructor | BooleanConstructor)[];
67
- required: false;
68
- default: boolean;
69
29
  };
30
+ placeholder: StringConstructor;
31
+ search: (StringConstructor | BooleanConstructor)[];
70
32
  selected: {
71
33
  type: PropType<Option[]>;
72
34
  default: () => never[];
73
- required: false;
74
35
  };
75
- /**
76
- * Sets the selection style.
77
- *
78
- * @values 'counter', 'tags', 'text'
79
- * @default 'tags'
80
- */
81
36
  selectionType: {
82
37
  type: StringConstructor;
83
38
  default: string;
84
- required: false;
85
39
  validator: (value: string) => boolean;
86
40
  };
87
- /**
88
- * Sets the counter selection label.
89
- *
90
- * @default 'item(s) selected'
91
- */
92
41
  selectionTypeCounterText: {
93
42
  type: StringConstructor;
94
43
  default: string;
95
- required: false;
96
44
  };
97
45
  }>> & {
98
46
  onRemove?: ((...args: any[]) => any) | undefined;
99
47
  }, {
100
- search: string | boolean;
101
- multiple: boolean;
102
48
  selected: Option[];
49
+ multiple: boolean;
103
50
  selectionType: string;
104
51
  selectionTypeCounterText: string;
105
- }>;
52
+ }, {}>;
106
53
  export { CMultiSelectSelection };
@@ -1,14 +1,19 @@
1
1
  export type Option = {
2
+ custom?: boolean;
2
3
  disabled?: boolean;
3
- label?: string;
4
- options?: Option[];
5
- order?: number;
6
4
  selected?: boolean;
7
5
  text: string;
8
6
  value: number | string;
7
+ [key: string]: number | string | any;
8
+ };
9
+ export type OptionsGroup = {
10
+ label: string;
11
+ options?: Option[];
12
+ [key: string]: number | string | any;
9
13
  };
10
14
  export type SelectedOption = {
11
15
  disabled?: boolean;
12
16
  text: string;
13
17
  value: number | string;
18
+ [key: string]: number | string | any;
14
19
  };
@@ -1,6 +1,11 @@
1
- import type { Option, SelectedOption } from './types';
2
- export declare const filterOptionsList: (search: string, _options: Option[]) => Option[];
3
- export declare const flattenArray: (options: Option[]) => Option[];
1
+ import type { Option, OptionsGroup, SelectedOption } from './types';
2
+ export declare const createOption: (text: string, options: (Option | OptionsGroup)[]) => {
3
+ value: string;
4
+ text: string;
5
+ custom: boolean;
6
+ }[];
7
+ export declare const filterOptionsList: (search: string, _options: (Option | OptionsGroup)[]) => any[];
8
+ export declare const flattenOptionsArray: (options: (Option | OptionsGroup)[], keepGroupLabel?: boolean) => (Option | OptionsGroup)[];
4
9
  export declare const getNextSibling: (elem: HTMLElement, selector?: string) => Element | null | undefined;
5
10
  export declare const getPreviousSibling: (elem: HTMLElement, selector?: string) => Element | null | undefined;
6
- export declare const selectOptions: (options: Option[], selected: SelectedOption[], deselected?: Option[]) => SelectedOption[];
11
+ export declare const selectOptions: (options: (Option | OptionsGroup)[], selected: SelectedOption[], deselected?: Option[]) => SelectedOption[];
@@ -54,5 +54,5 @@ declare const CNav: import("vue").DefineComponent<{
54
54
  };
55
55
  }>>, {
56
56
  component: string;
57
- }>;
57
+ }, {}>;
58
58
  export { CNav };
@@ -24,5 +24,5 @@ declare const CNavGroup: import("vue").DefineComponent<{
24
24
  }, {
25
25
  visible: boolean;
26
26
  compact: boolean;
27
- }>;
27
+ }, {}>;
28
28
  export { CNavGroup };
@@ -1,4 +1,4 @@
1
1
  declare const CNavGroupItems: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CNavGroupItems };
@@ -2,5 +2,5 @@ declare const CNavItem: import("vue").DefineComponent<any, () => import("vue").V
2
2
  [key: string]: any;
3
3
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
4
4
  [x: string]: any;
5
- }>;
5
+ }, {}>;
6
6
  export { CNavItem };
@@ -44,5 +44,5 @@ declare const CNavLink: import("vue").DefineComponent<{
44
44
  disabled: boolean;
45
45
  component: string;
46
46
  active: boolean;
47
- }>;
47
+ }, {}>;
48
48
  export { CNavLink };
@@ -1,4 +1,4 @@
1
1
  declare const CNavTitle: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CNavTitle };
@@ -108,5 +108,5 @@ declare const CNavbar: import("vue").DefineComponent<{
108
108
  };
109
109
  }>>, {
110
110
  component: string;
111
- }>;
111
+ }, {}>;
112
112
  export { CNavbar };
@@ -28,5 +28,5 @@ declare const CNavbarBrand: import("vue").DefineComponent<{
28
28
  href: StringConstructor;
29
29
  }>>, {
30
30
  component: string;
31
- }>;
31
+ }, {}>;
32
32
  export { CNavbarBrand };
@@ -18,5 +18,5 @@ declare const CNavbarNav: import("vue").DefineComponent<{
18
18
  };
19
19
  }>>, {
20
20
  component: string;
21
- }>;
21
+ }, {}>;
22
22
  export { CNavbarNav };
@@ -1,4 +1,4 @@
1
1
  declare const CNavbarText: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CNavbarText };
@@ -1,4 +1,4 @@
1
1
  declare const CNavbarToggler: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CNavbarToggler };
@@ -116,5 +116,5 @@ declare const COffcanvas: import("vue").DefineComponent<{
116
116
  backdrop: string | boolean;
117
117
  keyboard: boolean;
118
118
  responsive: string | boolean;
119
- }>;
119
+ }, {}>;
120
120
  export { COffcanvas };
@@ -1,4 +1,4 @@
1
1
  declare const COffcanvasBody: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { COffcanvasBody };
@@ -1,4 +1,4 @@
1
1
  declare const COffcanvasHeader: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { COffcanvasHeader };
@@ -18,5 +18,5 @@ declare const COffcanvasTitle: import("vue").DefineComponent<{
18
18
  };
19
19
  }>>, {
20
20
  component: string;
21
- }>;
21
+ }, {}>;
22
22
  export { COffcanvasTitle };
@@ -38,5 +38,5 @@ declare const CPagination: import("vue").DefineComponent<{
38
38
  type: StringConstructor;
39
39
  validator: (value: string) => boolean;
40
40
  };
41
- }>>, {}>;
41
+ }>>, {}, {}>;
42
42
  export { CPagination };
@@ -37,5 +37,5 @@ declare const CPaginationItem: import("vue").DefineComponent<{
37
37
  }>>, {
38
38
  disabled: boolean;
39
39
  active: boolean;
40
- }>;
40
+ }, {}>;
41
41
  export { CPaginationItem };
@@ -1,11 +1,61 @@
1
- declare const CPicker: import("vue").DefineComponent<any, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1
+ import { PropType } from 'vue';
2
+ declare const CPicker: import("vue").DefineComponent<{
3
+ /**
4
+ * Set container type for the component.
5
+ */
6
+ container: {
7
+ type: PropType<"dropdown" | "inline">;
8
+ default: string;
9
+ };
10
+ /**
11
+ * Toggle the disabled state for the component.
12
+ */
13
+ disabled: BooleanConstructor;
14
+ /**
15
+ * A string of all className you want applied to the dropdown menu.
16
+ */
17
+ dropdownClassNames: StringConstructor;
18
+ /**
19
+ * Toggle visibility of footer element or set the content of footer.
20
+ */
21
+ footer: BooleanConstructor;
22
+ /**
23
+ * Toggle the visibility of the component.
24
+ */
25
+ visible: BooleanConstructor;
26
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
27
  [key: string]: any;
3
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "hide" | "show" | "confirm")[], "cancel" | "hide" | "show" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any> & {
28
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show")[], "hide" | "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ /**
30
+ * Set container type for the component.
31
+ */
32
+ container: {
33
+ type: PropType<"dropdown" | "inline">;
34
+ default: string;
35
+ };
36
+ /**
37
+ * Toggle the disabled state for the component.
38
+ */
39
+ disabled: BooleanConstructor;
40
+ /**
41
+ * A string of all className you want applied to the dropdown menu.
42
+ */
43
+ dropdownClassNames: StringConstructor;
44
+ /**
45
+ * Toggle visibility of footer element or set the content of footer.
46
+ */
47
+ footer: BooleanConstructor;
48
+ /**
49
+ * Toggle the visibility of the component.
50
+ */
51
+ visible: BooleanConstructor;
52
+ }>> & {
4
53
  onHide?: ((...args: any[]) => any) | undefined;
5
54
  onShow?: ((...args: any[]) => any) | undefined;
6
- onCancel?: ((...args: any[]) => any) | undefined;
7
- onConfirm?: ((...args: any[]) => any) | undefined;
8
- }, {} | {
9
- [x: string]: any;
10
- }>;
55
+ }, {
56
+ visible: boolean;
57
+ disabled: boolean;
58
+ footer: boolean;
59
+ container: "dropdown" | "inline";
60
+ }, {}>;
11
61
  export { CPicker };
@@ -120,4 +120,4 @@ export declare const CPlaceholder: import("vue").DefineComponent<{
120
120
  xxl: NumberConstructor;
121
121
  }>>, {
122
122
  component: string;
123
- }>;
123
+ }, {}>;
@@ -86,7 +86,7 @@ declare const CPopover: import("vue").DefineComponent<{
86
86
  }, {
87
87
  visible: boolean;
88
88
  placement: Placement;
89
- trigger: string | string[];
90
89
  offset: unknown[];
91
- }>;
90
+ trigger: string | string[];
91
+ }, {}>;
92
92
  export { CPopover };
@@ -2,5 +2,5 @@ declare const CProgress: import("vue").DefineComponent<any, () => import("vue").
2
2
  [key: string]: any;
3
3
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
4
4
  [x: string]: any;
5
- }>;
5
+ }, {}>;
6
6
  export { CProgress };
@@ -63,5 +63,5 @@ declare const CProgressBar: import("vue").DefineComponent<{
63
63
  }>>, {
64
64
  value: number;
65
65
  animated: boolean;
66
- }>;
66
+ }, {}>;
67
67
  export { CProgressBar };
@@ -109,5 +109,5 @@ declare const CSidebar: import("vue").DefineComponent<{
109
109
  colorScheme: string;
110
110
  overlaid: boolean;
111
111
  unfoldable: boolean;
112
- }>;
112
+ }, {}>;
113
113
  export { CSidebar };
@@ -1,4 +1,4 @@
1
1
  declare const CSidebarBrand: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CSidebarBrand };
@@ -1,4 +1,4 @@
1
1
  declare const CSidebarFooter: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CSidebarFooter };
@@ -1,4 +1,4 @@
1
1
  declare const CSidebarHeader: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CSidebarHeader };
@@ -1,4 +1,4 @@
1
1
  declare const CSidebarNav: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CSidebarNav };
@@ -1,4 +1,4 @@
1
1
  declare const CSidebarToggler: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
2
  [key: string]: any;
3
- }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
4
  export { CSidebarToggler };
@@ -253,5 +253,5 @@ declare const CSmartPagination: import("vue").DefineComponent<{
253
253
  nextButton: string;
254
254
  pages: number;
255
255
  previousButton: string;
256
- }>;
256
+ }, {}>;
257
257
  export { CSmartPagination };
@@ -13,15 +13,11 @@ declare const CSmartTable: import("vue").DefineComponent<{
13
13
  * Cleaner resets `tableFilterValue`, `columnFilterValue`, `sorterValue`. If clean is possible it is clickable (`tabIndex="0"` `role="button"`, `color="danger"`), otherwise it is not clickable and transparent. Cleaner can be customized through the `cleanerIcon` slot.
14
14
  *
15
15
  */
16
- cleaner: {
17
- type: BooleanConstructor;
18
- };
16
+ cleaner: BooleanConstructor;
19
17
  /**
20
18
  * Style table items as clickable.
21
19
  */
22
- clickableRows: {
23
- type: BooleanConstructor;
24
- };
20
+ clickableRows: BooleanConstructor;
25
21
  /**
26
22
  * When set, displays additional filter row between table header and items, allowing filtering by specific column.
27
23
  * Column filter can be customized, by passing prop as object with additional options as keys. Available options:
@@ -133,9 +129,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
133
129
  /**
134
130
  * When set, table will have loading style: loading spinner and reduced opacity. When 'small' prop is enabled spinner will be also smaller.
135
131
  */
136
- loading: {
137
- type: BooleanConstructor;
138
- };
132
+ loading: BooleanConstructor;
139
133
  /**
140
134
  * ReactNode or string for passing custom noItemsLabel texts.
141
135
  */
@@ -152,9 +146,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
152
146
  /**
153
147
  * Properties to [CSmartPagination](https://coreui.io/vue/docs/components/smart-pagination#csmartpagination) component.
154
148
  */
155
- paginationProps: {
156
- type: ObjectConstructor;
157
- };
149
+ paginationProps: ObjectConstructor;
158
150
  /**
159
151
  * Add checkboxes to make table rows selectable.
160
152
  */
@@ -193,15 +185,11 @@ declare const CSmartTable: import("vue").DefineComponent<{
193
185
  /**
194
186
  * Properties to [CTableBody](https://coreui.io/vue/docs/components/table/#ctablebody) component.
195
187
  */
196
- tableBodyProps: {
197
- type: ObjectConstructor;
198
- };
188
+ tableBodyProps: ObjectConstructor;
199
189
  /**
200
190
  * Properties to [CTableFoot](https://coreui.io/vue/docs/components/table/#ctablefoot) component.
201
191
  */
202
- tableFootProps: {
203
- type: ObjectConstructor;
204
- };
192
+ tableFootProps: ObjectConstructor;
205
193
  /**
206
194
  * When set, displays table filter above table, allowing filtering by specific column.
207
195
  *
@@ -229,21 +217,15 @@ declare const CSmartTable: import("vue").DefineComponent<{
229
217
  /**
230
218
  * Value of table filter.
231
219
  */
232
- tableFilterValue: {
233
- type: StringConstructor;
234
- };
220
+ tableFilterValue: StringConstructor;
235
221
  /**
236
222
  * Properties to [CTableHead](https://coreui.io/vue/docs/components/table/#ctablehead) component.
237
223
  */
238
- tableHeadProps: {
239
- type: ObjectConstructor;
240
- };
224
+ tableHeadProps: ObjectConstructor;
241
225
  /**
242
226
  * Properties to [CTable](https://coreui.io/vue/docs/components/table/#ctable) component.
243
227
  */
244
- tableProps: {
245
- type: ObjectConstructor;
246
- };
228
+ tableProps: ObjectConstructor;
247
229
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
248
230
  [key: string]: any;
249
231
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("selectAll" | "activePageChange" | "rowClick" | "columnFilterChange" | "filteredItemsChange" | "itemsPerPageChange" | "selectedItemsChange" | "sorterChange" | "tableFilterChange")[], "selectAll" | "activePageChange" | "rowClick" | "columnFilterChange" | "filteredItemsChange" | "itemsPerPageChange" | "selectedItemsChange" | "sorterChange" | "tableFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -259,15 +241,11 @@ declare const CSmartTable: import("vue").DefineComponent<{
259
241
  * Cleaner resets `tableFilterValue`, `columnFilterValue`, `sorterValue`. If clean is possible it is clickable (`tabIndex="0"` `role="button"`, `color="danger"`), otherwise it is not clickable and transparent. Cleaner can be customized through the `cleanerIcon` slot.
260
242
  *
261
243
  */
262
- cleaner: {
263
- type: BooleanConstructor;
264
- };
244
+ cleaner: BooleanConstructor;
265
245
  /**
266
246
  * Style table items as clickable.
267
247
  */
268
- clickableRows: {
269
- type: BooleanConstructor;
270
- };
248
+ clickableRows: BooleanConstructor;
271
249
  /**
272
250
  * When set, displays additional filter row between table header and items, allowing filtering by specific column.
273
251
  * Column filter can be customized, by passing prop as object with additional options as keys. Available options:
@@ -379,9 +357,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
379
357
  /**
380
358
  * When set, table will have loading style: loading spinner and reduced opacity. When 'small' prop is enabled spinner will be also smaller.
381
359
  */
382
- loading: {
383
- type: BooleanConstructor;
384
- };
360
+ loading: BooleanConstructor;
385
361
  /**
386
362
  * ReactNode or string for passing custom noItemsLabel texts.
387
363
  */
@@ -398,9 +374,7 @@ declare const CSmartTable: import("vue").DefineComponent<{
398
374
  /**
399
375
  * Properties to [CSmartPagination](https://coreui.io/vue/docs/components/smart-pagination#csmartpagination) component.
400
376
  */
401
- paginationProps: {
402
- type: ObjectConstructor;
403
- };
377
+ paginationProps: ObjectConstructor;
404
378
  /**
405
379
  * Add checkboxes to make table rows selectable.
406
380
  */
@@ -439,15 +413,11 @@ declare const CSmartTable: import("vue").DefineComponent<{
439
413
  /**
440
414
  * Properties to [CTableBody](https://coreui.io/vue/docs/components/table/#ctablebody) component.
441
415
  */
442
- tableBodyProps: {
443
- type: ObjectConstructor;
444
- };
416
+ tableBodyProps: ObjectConstructor;
445
417
  /**
446
418
  * Properties to [CTableFoot](https://coreui.io/vue/docs/components/table/#ctablefoot) component.
447
419
  */
448
- tableFootProps: {
449
- type: ObjectConstructor;
450
- };
420
+ tableFootProps: ObjectConstructor;
451
421
  /**
452
422
  * When set, displays table filter above table, allowing filtering by specific column.
453
423
  *
@@ -475,21 +445,15 @@ declare const CSmartTable: import("vue").DefineComponent<{
475
445
  /**
476
446
  * Value of table filter.
477
447
  */
478
- tableFilterValue: {
479
- type: StringConstructor;
480
- };
448
+ tableFilterValue: StringConstructor;
481
449
  /**
482
450
  * Properties to [CTableHead](https://coreui.io/vue/docs/components/table/#ctablehead) component.
483
451
  */
484
- tableHeadProps: {
485
- type: ObjectConstructor;
486
- };
452
+ tableHeadProps: ObjectConstructor;
487
453
  /**
488
454
  * Properties to [CTable](https://coreui.io/vue/docs/components/table/#ctable) component.
489
455
  */
490
- tableProps: {
491
- type: ObjectConstructor;
492
- };
456
+ tableProps: ObjectConstructor;
493
457
  }>> & {
494
458
  onActivePageChange?: ((...args: any[]) => any) | undefined;
495
459
  onRowClick?: ((...args: any[]) => any) | undefined;
@@ -501,8 +465,8 @@ declare const CSmartTable: import("vue").DefineComponent<{
501
465
  onSorterChange?: ((...args: any[]) => any) | undefined;
502
466
  onTableFilterChange?: ((...args: any[]) => any) | undefined;
503
467
  }, {
504
- selected: Item[];
505
468
  header: boolean;
469
+ selected: Item[];
506
470
  cleaner: boolean;
507
471
  loading: boolean;
508
472
  activePage: number;
@@ -515,5 +479,5 @@ declare const CSmartTable: import("vue").DefineComponent<{
515
479
  itemsPerPageOptions: number[];
516
480
  tableFilterLabel: string;
517
481
  tableFilterPlaceholder: string;
518
- }>;
482
+ }, {}>;
519
483
  export { CSmartTable };
@@ -51,5 +51,5 @@ declare const CSmartTableBody: import("vue").DefineComponent<{
51
51
  currentItems: Item[];
52
52
  firstItemOnActivePageIndex: number;
53
53
  selectable: boolean;
54
- }>;
54
+ }, {}>;
55
55
  export { CSmartTableBody };