@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.
- package/README.md +1 -1
- package/dist/components/accordion/CAccordion.d.ts +1 -1
- package/dist/components/accordion/CAccordionBody.d.ts +1 -1
- package/dist/components/accordion/CAccordionButton.d.ts +1 -1
- package/dist/components/accordion/CAccordionHeader.d.ts +1 -1
- package/dist/components/accordion/CAccordionItem.d.ts +1 -1
- package/dist/components/alert/CAlert.d.ts +1 -1
- package/dist/components/alert/CAlertHeading.d.ts +1 -1
- package/dist/components/alert/CAlertLink.d.ts +1 -1
- package/dist/components/avatar/CAvatar.d.ts +1 -1
- package/dist/components/backdrop/CBackdrop.d.ts +1 -1
- package/dist/components/badge/CBadge.d.ts +1 -1
- package/dist/components/breadcrumb/CBreadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +1 -1
- package/dist/components/button/CButton.d.ts +1 -1
- package/dist/components/button-group/CButtonGroup.d.ts +1 -1
- package/dist/components/button-group/CButtonToolbar.d.ts +1 -1
- package/dist/components/calendar/CCalendar.d.ts +33 -1
- package/dist/components/callout/CCallout.d.ts +1 -1
- package/dist/components/card/CCard.d.ts +1 -1
- package/dist/components/card/CCardBody.d.ts +1 -1
- package/dist/components/card/CCardFooter.d.ts +1 -1
- package/dist/components/card/CCardGroup.d.ts +1 -1
- package/dist/components/card/CCardHeader.d.ts +1 -1
- package/dist/components/card/CCardImage.d.ts +1 -1
- package/dist/components/card/CCardImageOverlay.d.ts +1 -1
- package/dist/components/card/CCardLink.d.ts +1 -1
- package/dist/components/card/CCardSubtitle.d.ts +1 -1
- package/dist/components/card/CCardText.d.ts +1 -1
- package/dist/components/card/CCardTitle.d.ts +1 -1
- package/dist/components/carousel/CCarousel.d.ts +1 -1
- package/dist/components/carousel/CCarouselCaption.d.ts +1 -1
- package/dist/components/carousel/CCarouselItem.d.ts +1 -1
- package/dist/components/close-button/CCloseButton.d.ts +1 -1
- package/dist/components/collapse/CCollapse.d.ts +1 -1
- package/dist/components/date-picker/CDatePicker.d.ts +35 -3
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +89 -78
- package/dist/components/date-range-picker/utils.d.ts +1 -0
- package/dist/components/dropdown/CDropdown.d.ts +2 -2
- package/dist/components/dropdown/CDropdownDivider.d.ts +1 -1
- package/dist/components/dropdown/CDropdownHeader.d.ts +1 -1
- package/dist/components/dropdown/CDropdownItem.d.ts +1 -1
- package/dist/components/dropdown/CDropdownMenu.d.ts +1 -1
- package/dist/components/dropdown/CDropdownToggle.d.ts +1 -1
- package/dist/components/element-cover/CElementCover.d.ts +1 -1
- package/dist/components/footer/CFooter.d.ts +1 -1
- package/dist/components/form/CForm.d.ts +1 -1
- package/dist/components/form/CFormCheck.d.ts +10 -2
- package/dist/components/form/CFormControl.d.ts +2 -2
- package/dist/components/form/CFormControlValidation.d.ts +1 -1
- package/dist/components/form/CFormControlWrapper.d.ts +1 -1
- package/dist/components/form/CFormFeedback.d.ts +1 -1
- package/dist/components/form/CFormFloating.d.ts +1 -1
- package/dist/components/form/CFormInput.d.ts +12 -12
- package/dist/components/form/CFormLabel.d.ts +1 -1
- package/dist/components/form/CFormRange.d.ts +1 -1
- package/dist/components/form/CFormSelect.d.ts +1 -1
- package/dist/components/form/CFormSwitch.d.ts +1 -1
- package/dist/components/form/CFormText.d.ts +1 -1
- package/dist/components/form/CFormTextarea.d.ts +3 -3
- package/dist/components/form/CInputGroup.d.ts +1 -1
- package/dist/components/form/CInputGroupText.d.ts +1 -1
- package/dist/components/grid/CCol.d.ts +1 -1
- package/dist/components/grid/CContainer.d.ts +1 -1
- package/dist/components/grid/CRow.d.ts +1 -1
- package/dist/components/header/CHeader.d.ts +1 -1
- package/dist/components/header/CHeaderBrand.d.ts +1 -1
- package/dist/components/header/CHeaderDivider.d.ts +1 -1
- package/dist/components/header/CHeaderNav.d.ts +1 -1
- package/dist/components/header/CHeaderText.d.ts +1 -1
- package/dist/components/header/CHeaderToggler.d.ts +1 -1
- package/dist/components/image/CImage.d.ts +1 -1
- package/dist/components/link/CLink.d.ts +1 -1
- package/dist/components/list-group/CListGroup.d.ts +1 -1
- package/dist/components/list-group/CListGroupItem.d.ts +1 -1
- package/dist/components/loading-button/CLoadingButton.d.ts +1 -1
- package/dist/components/modal/CModal.d.ts +1 -1
- package/dist/components/modal/CModalBody.d.ts +1 -1
- package/dist/components/modal/CModalFooter.d.ts +1 -1
- package/dist/components/modal/CModalHeader.d.ts +1 -1
- package/dist/components/modal/CModalTitle.d.ts +1 -1
- package/dist/components/multi-select/CMultiSelect.d.ts +73 -59
- package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +9 -33
- package/dist/components/multi-select/CMultiSelectOptions.d.ts +12 -41
- package/dist/components/multi-select/CMultiSelectSelection.d.ts +6 -59
- package/dist/components/multi-select/types.d.ts +8 -3
- package/dist/components/multi-select/utils.d.ts +9 -4
- package/dist/components/nav/CNav.d.ts +1 -1
- package/dist/components/nav/CNavGroup.d.ts +1 -1
- package/dist/components/nav/CNavGroupItems.d.ts +1 -1
- package/dist/components/nav/CNavItem.d.ts +1 -1
- package/dist/components/nav/CNavLink.d.ts +1 -1
- package/dist/components/nav/CNavTitle.d.ts +1 -1
- package/dist/components/navbar/CNavbar.d.ts +1 -1
- package/dist/components/navbar/CNavbarBrand.d.ts +1 -1
- package/dist/components/navbar/CNavbarNav.d.ts +1 -1
- package/dist/components/navbar/CNavbarText.d.ts +1 -1
- package/dist/components/navbar/CNavbarToggler.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvas.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvasBody.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvasHeader.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvasTitle.d.ts +1 -1
- package/dist/components/pagination/CPagination.d.ts +1 -1
- package/dist/components/pagination/CPaginationItem.d.ts +1 -1
- package/dist/components/picker/CPicker.d.ts +57 -7
- package/dist/components/placeholder/CPlaceholder.d.ts +1 -1
- package/dist/components/popover/CPopover.d.ts +2 -2
- package/dist/components/progress/CProgress.d.ts +1 -1
- package/dist/components/progress/CProgressBar.d.ts +1 -1
- package/dist/components/sidebar/CSidebar.d.ts +1 -1
- package/dist/components/sidebar/CSidebarBrand.d.ts +1 -1
- package/dist/components/sidebar/CSidebarFooter.d.ts +1 -1
- package/dist/components/sidebar/CSidebarHeader.d.ts +1 -1
- package/dist/components/sidebar/CSidebarNav.d.ts +1 -1
- package/dist/components/sidebar/CSidebarToggler.d.ts +1 -1
- package/dist/components/smart-pagination/CSmartPagination.d.ts +1 -1
- package/dist/components/smart-table/CSmartTable.d.ts +20 -56
- package/dist/components/smart-table/CSmartTableBody.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableCleaner.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableFilter.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableHead.d.ts +10 -1
- package/dist/components/smart-table/CSmartTableItemsPerPageSelector.d.ts +1 -1
- package/dist/components/smart-table/types.d.ts +12 -0
- package/dist/components/smart-table/utils.d.ts +12 -2
- package/dist/components/spinner/CSpinner.d.ts +1 -1
- package/dist/components/table/CTable.d.ts +1 -1
- package/dist/components/table/CTableBody.d.ts +1 -1
- package/dist/components/table/CTableCaption.d.ts +1 -1
- package/dist/components/table/CTableDataCell.d.ts +1 -1
- package/dist/components/table/CTableFoot.d.ts +1 -1
- package/dist/components/table/CTableHead.d.ts +1 -1
- package/dist/components/table/CTableHeaderCell.d.ts +1 -1
- package/dist/components/table/CTableRow.d.ts +1 -1
- package/dist/components/tabs/CTabContent.d.ts +1 -1
- package/dist/components/tabs/CTabPane.d.ts +1 -1
- package/dist/components/time-picker/CTimePicker.d.ts +1 -1
- package/dist/components/time-picker/CTimePickerRollCol.d.ts +1 -1
- package/dist/components/toast/CToast.d.ts +1 -1
- package/dist/components/toast/CToastBody.d.ts +1 -1
- package/dist/components/toast/CToastClose.d.ts +1 -1
- package/dist/components/toast/CToastHeader.d.ts +1 -1
- package/dist/components/toast/CToaster.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +2 -2
- package/dist/components/virtual-scroller/CVirtualScroller.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsA.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsB.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsC.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsD.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsE.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsF.d.ts +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useColorModes.d.ts +5 -0
- package/dist/directives/index.d.ts +1 -1
- package/dist/directives/v-c-visible.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +4224 -4159
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4226 -4160
- package/dist/index.js.map +1 -1
- package/dist/utils/getUID.d.ts +2 -0
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/isObjectInArray.d.ts +2 -0
- package/dist/utils/isRTL.d.ts +2 -0
- package/package.json +11 -11
- package/src/components/accordion/CAccordionItem.ts +2 -2
- package/src/components/backdrop/CBackdrop.ts +1 -1
- package/src/components/calendar/CCalendar.ts +111 -49
- package/src/components/carousel/CCarousel.ts +7 -7
- package/src/components/date-picker/CDatePicker.ts +16 -1
- package/src/components/date-range-picker/CDateRangePicker.ts +179 -128
- package/src/components/date-range-picker/utils.ts +49 -0
- package/src/components/dropdown/CDropdown.ts +34 -31
- package/src/components/dropdown/CDropdownMenu.ts +1 -1
- package/src/components/dropdown/CDropdownToggle.ts +1 -1
- package/src/components/element-cover/CElementCover.ts +1 -0
- package/src/components/form/CFormCheck.ts +10 -4
- package/src/components/form/CFormInput.ts +2 -2
- package/src/components/form/CFormLabel.ts +1 -1
- package/src/components/form/CFormSelect.ts +1 -1
- package/src/components/grid/CCol.ts +1 -1
- package/src/components/grid/CContainer.ts +1 -1
- package/src/components/header/CHeader.ts +1 -1
- package/src/components/modal/CModal.ts +1 -0
- package/src/components/multi-select/CMultiSelect.ts +337 -144
- package/src/components/multi-select/CMultiSelectNativeSelect.ts +8 -15
- package/src/components/multi-select/CMultiSelectOptions.ts +32 -39
- package/src/components/multi-select/CMultiSelectSelection.ts +24 -40
- package/src/components/multi-select/types.ts +10 -4
- package/src/components/multi-select/utils.ts +71 -37
- package/src/components/nav/CNavGroup.ts +4 -0
- package/src/components/navbar/CNavbar.ts +1 -1
- package/src/components/navbar/CNavbarBrand.ts +1 -1
- package/src/components/offcanvas/COffcanvas.ts +3 -2
- package/src/components/pagination/CPaginationItem.ts +1 -1
- package/src/components/picker/CPicker.ts +106 -157
- package/src/components/popover/CPopover.ts +18 -2
- package/src/components/props.ts +2 -6
- package/src/components/sidebar/CSidebar.ts +3 -2
- package/src/components/smart-table/CSmartTable.ts +45 -52
- package/src/components/smart-table/CSmartTableBody.ts +5 -3
- package/src/components/smart-table/CSmartTableHead.ts +41 -14
- package/src/components/smart-table/types.ts +13 -0
- package/src/components/smart-table/utils.ts +119 -21
- package/src/components/spinner/CSpinner.ts +4 -2
- package/src/components/table/CTable.ts +19 -18
- package/src/components/table/types.ts +19 -19
- package/src/components/time-picker/CTimePicker.ts +216 -125
- package/src/components/toast/CToast.ts +1 -1
- package/src/components/tooltip/CTooltip.ts +19 -3
- package/src/components/virtual-scroller/CVirtualScroller.ts +10 -8
- package/src/components/widgets/CWidgetStatsA.ts +1 -1
- package/src/components/widgets/CWidgetStatsB.ts +1 -1
- package/src/components/widgets/CWidgetStatsC.ts +1 -1
- package/src/components/widgets/CWidgetStatsE.ts +1 -1
- package/src/components/widgets/CWidgetStatsF.ts +1 -1
- package/src/composables/index.ts +3 -0
- package/src/composables/useColorModes.ts +57 -0
- package/src/directives/index.ts +1 -1
- package/src/directives/v-c-popover.ts +9 -13
- package/src/directives/v-c-tooltip.ts +8 -12
- package/src/directives/v-c-visible.ts +1 -1
- package/src/index.ts +8 -29
- package/src/utils/getUID.ts +9 -0
- package/src/utils/index.ts +4 -1
- package/src/utils/isObjectInArray.ts +14 -0
- 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
|
|
3
|
-
|
|
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[];
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -1,11 +1,61 @@
|
|
|
1
|
-
|
|
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, ("
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
55
|
+
}, {
|
|
56
|
+
visible: boolean;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
footer: boolean;
|
|
59
|
+
container: "dropdown" | "inline";
|
|
60
|
+
}, {}>;
|
|
11
61
|
export { CPicker };
|
|
@@ -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 };
|
|
@@ -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 };
|
|
@@ -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 };
|