@coreui/vue-pro 4.1.0 → 4.1.4
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 +18 -10
- package/dist/components/accordion/CAccordionBody.d.ts +1 -1
- package/dist/components/accordion/CAccordionButton.d.ts +1 -1
- package/dist/components/accordion/CAccordionCollapse.d.ts +9 -5
- package/dist/components/accordion/CAccordionHeader.d.ts +1 -1
- package/dist/components/accordion/CAccordionItem.d.ts +10 -5
- package/dist/components/alert/CAlert.d.ts +38 -12
- package/dist/components/alert/CAlertHeading.d.ts +10 -5
- package/dist/components/alert/CAlertLink.d.ts +1 -1
- package/dist/components/avatar/CAvatar.d.ts +59 -15
- package/dist/components/backdrop/CBackdrop.d.ts +10 -5
- package/dist/components/badge/CBadge.d.ts +59 -16
- package/dist/components/breadcrumb/CBreadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +17 -8
- package/dist/components/button/CButton.d.ts +73 -20
- package/dist/components/button-group/CButtonGroup.d.ts +20 -8
- package/dist/components/button-group/CButtonToolbar.d.ts +1 -1
- package/dist/components/callout/CCallout.d.ts +11 -5
- package/dist/components/card/CCard.d.ts +20 -7
- 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 +10 -5
- package/dist/components/card/CCardImage.d.ts +21 -8
- package/dist/components/card/CCardImageOverlay.d.ts +1 -1
- package/dist/components/card/CCardLink.d.ts +10 -5
- package/dist/components/card/CCardSubtitle.d.ts +10 -5
- package/dist/components/card/CCardText.d.ts +10 -5
- package/dist/components/card/CCardTitle.d.ts +10 -5
- package/dist/components/carousel/CCarousel.d.ts +58 -19
- package/dist/components/carousel/CCarouselCaption.d.ts +1 -1
- package/dist/components/carousel/CCarouselItem.d.ts +25 -9
- package/dist/components/close-button/CCloseButton.d.ts +16 -7
- package/dist/components/collapse/CCollapse.d.ts +16 -7
- package/dist/components/dropdown/CDropdown.d.ts +82 -22
- package/dist/components/dropdown/CDropdownDivider.d.ts +1 -1
- package/dist/components/dropdown/CDropdownHeader.d.ts +10 -5
- package/dist/components/dropdown/CDropdownItem.d.ts +32 -12
- package/dist/components/dropdown/CDropdownMenu.d.ts +12 -5
- package/dist/components/dropdown/CDropdownToggle.d.ts +78 -22
- package/dist/components/element-cover/CElementCover.d.ts +22 -7
- package/dist/components/footer/CFooter.d.ts +13 -5
- package/dist/components/form/CForm.d.ts +9 -5
- package/dist/components/form/CFormCheck.d.ts +66 -23
- package/dist/components/form/CFormControl.d.ts +61 -20
- package/dist/components/form/CFormFeedback.d.ts +22 -11
- package/dist/components/form/CFormFloating.d.ts +1 -1
- package/dist/components/form/CFormInput.d.ts +66 -20
- package/dist/components/form/CFormLabel.d.ts +10 -5
- package/dist/components/form/CFormRange.d.ts +59 -18
- package/dist/components/form/CFormSelect.d.ts +66 -18
- package/dist/components/form/CFormSwitch.d.ts +61 -18
- package/dist/components/form/CFormText.d.ts +10 -5
- package/dist/components/form/CFormTextarea.d.ts +45 -16
- package/dist/components/form/CInputGroup.d.ts +13 -5
- package/dist/components/form/CInputGroupText.d.ts +10 -5
- package/dist/components/grid/CCol.d.ts +62 -15
- package/dist/components/grid/CContainer.d.ts +44 -15
- package/dist/components/grid/CRow.d.ts +57 -15
- package/dist/components/header/CHeader.d.ts +24 -7
- package/dist/components/header/CHeaderBrand.d.ts +10 -5
- package/dist/components/header/CHeaderDivider.d.ts +1 -1
- package/dist/components/header/CHeaderNav.d.ts +10 -5
- 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 +34 -12
- package/dist/components/link/CLink.d.ts +32 -12
- package/dist/components/list-group/CListGroup.d.ts +28 -10
- package/dist/components/list-group/CListGroupItem.d.ts +33 -12
- package/dist/components/modal/CModal.d.ts +96 -22
- 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 +10 -5
- package/dist/components/modal/CModalTitle.d.ts +10 -5
- package/dist/components/multi-select/CMultiSelect.d.ts +131 -30
- package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +26 -11
- package/dist/components/multi-select/CMultiSelectOptions.d.ts +40 -11
- package/dist/components/multi-select/CMultiSelectSelection.d.ts +47 -13
- package/dist/components/nav/CNav.d.ts +32 -10
- package/dist/components/nav/CNavGroup.d.ts +10 -7
- package/dist/components/nav/CNavGroupItems.d.ts +1 -1
- package/dist/components/nav/CNavLink.d.ts +32 -12
- package/dist/components/nav/CNavTitle.d.ts +1 -1
- package/dist/components/navbar/CNavbar.d.ts +63 -16
- package/dist/components/navbar/CNavbarBrand.d.ts +19 -8
- package/dist/components/navbar/CNavbarNav.d.ts +10 -5
- 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 +44 -14
- 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 +10 -5
- package/dist/components/pagination/CPagination.d.ts +24 -7
- package/dist/components/pagination/CPaginationItem.d.ts +32 -12
- package/dist/components/pagination/CSmartPagination.d.ts +120 -28
- package/dist/components/placeholder/CPlaceholder.d.ts +89 -24
- package/dist/components/popover/CPopover.d.ts +50 -16
- package/dist/components/progress/CProgressBar.d.ts +37 -12
- package/dist/components/sidebar/CSidebar.d.ts +59 -20
- 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-table/CSmartTable.d.ts +280 -68
- package/dist/components/smart-table/CSmartTableBody.d.ts +31 -25
- package/dist/components/smart-table/CSmartTableCleaner.d.ts +7 -5
- package/dist/components/smart-table/CSmartTableFilter.d.ts +17 -9
- package/dist/components/smart-table/CSmartTableHead.d.ts +43 -24
- package/dist/components/smart-table/CSmartTableItemsPerPageSelector.d.ts +17 -10
- package/dist/components/spinner/CSpinner.d.ts +51 -14
- package/dist/components/table/CTable.d.ts +88 -24
- package/dist/components/table/CTableBody.d.ts +11 -5
- package/dist/components/table/CTableCaption.d.ts +2 -4
- package/dist/components/table/CTableDataCell.d.ts +29 -10
- package/dist/components/table/CTableFoot.d.ts +11 -5
- package/dist/components/table/CTableHead.d.ts +11 -5
- package/dist/components/table/CTableHeaderCell.d.ts +11 -5
- package/dist/components/table/CTableRow.d.ts +29 -10
- package/dist/components/tabs/CTabContent.d.ts +1 -1
- package/dist/components/tabs/CTabPane.d.ts +10 -5
- package/dist/components/toast/CToast.d.ts +59 -18
- package/dist/components/toast/CToastBody.d.ts +1 -1
- package/dist/components/toast/CToastHeader.d.ts +9 -5
- package/dist/components/toast/CToaster.d.ts +13 -5
- package/dist/components/tooltip/CTooltip.d.ts +42 -14
- package/dist/components/widgets/CWidgetStatsA.d.ts +23 -10
- package/dist/components/widgets/CWidgetStatsB.d.ts +45 -17
- package/dist/components/widgets/CWidgetStatsC.d.ts +37 -15
- package/dist/components/widgets/CWidgetStatsD.d.ts +19 -8
- package/dist/components/widgets/CWidgetStatsE.d.ts +18 -8
- package/dist/components/widgets/CWidgetStatsF.d.ts +42 -14
- package/dist/index.es.js +118 -71
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +117 -70
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/components/form/CFormSelect.ts +19 -6
- package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +8 -2
- package/src/components/form/__tests__/__snapshots__/CFormSelect.spec.ts.snap +1 -1
- package/src/components/modal/CModal.ts +68 -40
- package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +1 -2
- package/src/components/offcanvas/COffcanvas.ts +11 -4
- package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -8
- package/src/components/smart-table/CSmartTable.ts +25 -20
- package/src/components/smart-table/CSmartTableBody.ts +0 -5
- package/src/components/smart-table/CSmartTableHead.ts +14 -5
|
@@ -9,11 +9,16 @@ declare const CHeaderNav: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
15
|
+
*/
|
|
16
|
+
component: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
17
22
|
component: string;
|
|
18
23
|
}>;
|
|
19
24
|
export { CHeaderNav };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const CHeaderText: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
4
|
export { CHeaderText };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const CHeaderToggler: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
4
|
export { CHeaderToggler };
|
|
@@ -33,18 +33,40 @@ declare const CImage: import("vue").DefineComponent<{
|
|
|
33
33
|
};
|
|
34
34
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
35
35
|
[key: string]: any;
|
|
36
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
36
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
/**
|
|
38
|
+
* Set the horizontal aligment.
|
|
39
|
+
*
|
|
40
|
+
* @values 'start', 'center', 'end'
|
|
41
|
+
*/
|
|
42
|
+
align: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: undefined;
|
|
45
|
+
required: false;
|
|
46
|
+
validator: (value: string) => boolean;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Make image responsive.
|
|
50
|
+
*/
|
|
51
|
+
fluid: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Make image rounded.
|
|
57
|
+
*/
|
|
58
|
+
rounded: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Give an image a rounded 1px border appearance.
|
|
64
|
+
*/
|
|
65
|
+
thumbnail: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
48
70
|
rounded: boolean;
|
|
49
71
|
fluid: boolean;
|
|
50
72
|
align: string;
|
|
@@ -31,18 +31,38 @@ declare const CLink: import("vue").DefineComponent<{
|
|
|
31
31
|
};
|
|
32
32
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
33
33
|
[key: string]: any;
|
|
34
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
34
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
/**
|
|
36
|
+
* Toggle the active state for the component.
|
|
37
|
+
*/
|
|
38
|
+
active: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
44
|
+
*/
|
|
45
|
+
component: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Toggle the disabled state for the component.
|
|
52
|
+
*/
|
|
53
|
+
disabled: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The href attribute specifies the URL of the page the link goes to.
|
|
59
|
+
*/
|
|
60
|
+
href: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: undefined;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
46
66
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
47
67
|
}, {
|
|
48
68
|
disabled: boolean;
|
|
@@ -27,16 +27,34 @@ declare const CListGroup: import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
29
|
[key: string]: any;
|
|
30
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
/**
|
|
32
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
33
|
+
*/
|
|
34
|
+
component: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: false;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`)
|
|
41
|
+
*/
|
|
42
|
+
flush: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
required: false;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Specify a layout type.
|
|
48
|
+
*
|
|
49
|
+
* @values 'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl',
|
|
50
|
+
*/
|
|
51
|
+
layout: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: undefined;
|
|
54
|
+
required: false;
|
|
55
|
+
validator: (value: string) => boolean;
|
|
56
|
+
};
|
|
57
|
+
}>>, {
|
|
40
58
|
flush: boolean;
|
|
41
59
|
component: string;
|
|
42
60
|
layout: string;
|
|
@@ -32,18 +32,39 @@ declare const CListGroupItem: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
34
|
[key: string]: any;
|
|
35
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
35
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
/**
|
|
37
|
+
* Toggle the active state for the component.
|
|
38
|
+
*/
|
|
39
|
+
active: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
45
|
+
*
|
|
46
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
47
|
+
*/
|
|
48
|
+
color: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
validator: (value: string) => boolean;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Toggle the disabled state for the component.
|
|
54
|
+
*/
|
|
55
|
+
disabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
61
|
+
*/
|
|
62
|
+
component: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
required: false;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>>, {
|
|
47
68
|
disabled: boolean;
|
|
48
69
|
component: string;
|
|
49
70
|
active: boolean;
|
|
@@ -73,34 +73,107 @@ declare const CModal: import("vue").DefineComponent<{
|
|
|
73
73
|
default: boolean;
|
|
74
74
|
required: false;
|
|
75
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.
|
|
78
|
+
*/
|
|
79
|
+
unmountOnClose: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
76
84
|
/**
|
|
77
85
|
* Toggle the visibility of alert component.
|
|
78
86
|
*/
|
|
79
87
|
visible: BooleanConstructor;
|
|
80
88
|
}, () => (false | "" | import("vue").VNode<import("vue").RendererNode, RendererElement, {
|
|
81
89
|
[key: string]: any;
|
|
82
|
-
}>)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("show" | "close" | "close-prevented")[], "show" | "close" | "close-prevented", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
90
|
+
}>)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("show" | "close" | "close-prevented")[], "show" | "close" | "close-prevented", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
/**
|
|
92
|
+
* Align the modal in the center or top of the screen.
|
|
93
|
+
*
|
|
94
|
+
* @values 'top', 'center'
|
|
95
|
+
*/
|
|
96
|
+
alignment: {
|
|
97
|
+
default: string;
|
|
98
|
+
required: false;
|
|
99
|
+
validator: (value: string) => boolean;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Apply a backdrop on body while offcanvas is open.
|
|
103
|
+
*
|
|
104
|
+
* @values 'static'
|
|
105
|
+
*/
|
|
106
|
+
backdrop: {
|
|
107
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
108
|
+
default: boolean;
|
|
109
|
+
require: boolean;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* A string of all className you want applied to the modal content component.
|
|
113
|
+
*/
|
|
114
|
+
contentClassName: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: undefined;
|
|
117
|
+
required: false;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Set modal to covers the entire user viewport
|
|
121
|
+
*
|
|
122
|
+
* @values boolean, 'sm', 'md', 'lg', 'xl', 'xxl'
|
|
123
|
+
*/
|
|
124
|
+
fullscreen: {
|
|
125
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
126
|
+
default: undefined;
|
|
127
|
+
required: false;
|
|
128
|
+
validator: (value: boolean | string) => boolean;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Closes the modal when escape key is pressed.
|
|
132
|
+
*/
|
|
133
|
+
keyboard: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
required: false;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Create a scrollable modal that allows scrolling the modal body.
|
|
140
|
+
*/
|
|
141
|
+
scrollable: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Size the component small, large, or extra large.
|
|
147
|
+
*
|
|
148
|
+
* @values 'sm', 'lg', 'xl'
|
|
149
|
+
*/
|
|
150
|
+
size: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
default: undefined;
|
|
153
|
+
required: false;
|
|
154
|
+
validator: (value: string) => boolean;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Remove animation to create modal that simply appear rather than fade in to view.
|
|
158
|
+
*/
|
|
159
|
+
transition: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
required: false;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false.
|
|
166
|
+
*/
|
|
167
|
+
unmountOnClose: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
required: false;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Toggle the visibility of alert component.
|
|
174
|
+
*/
|
|
175
|
+
visible: BooleanConstructor;
|
|
176
|
+
}>> & {
|
|
104
177
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
105
178
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
106
179
|
"onClose-prevented"?: ((...args: any[]) => any) | undefined;
|
|
@@ -114,5 +187,6 @@ declare const CModal: import("vue").DefineComponent<{
|
|
|
114
187
|
fullscreen: string | boolean;
|
|
115
188
|
keyboard: boolean;
|
|
116
189
|
scrollable: boolean;
|
|
190
|
+
unmountOnClose: boolean;
|
|
117
191
|
}>;
|
|
118
192
|
export { CModal };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const CModalBody: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
4
|
export { CModalBody };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const CModalFooter: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{}
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
4
|
export { CModalFooter };
|
|
@@ -9,11 +9,16 @@ declare const CModalHeader: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* Add a close button component to the header.
|
|
15
|
+
*/
|
|
16
|
+
closeButton: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
17
22
|
closeButton: boolean;
|
|
18
23
|
}>;
|
|
19
24
|
export { CModalHeader };
|
|
@@ -9,11 +9,16 @@ declare const CModalTitle: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
15
|
+
*/
|
|
16
|
+
component: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
required: false;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
17
22
|
component: string;
|
|
18
23
|
}>;
|
|
19
24
|
export { CModalTitle };
|
|
@@ -139,41 +139,142 @@ declare const CMultiSelect: import("vue").DefineComponent<{
|
|
|
139
139
|
};
|
|
140
140
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
141
141
|
[key: string]: any;
|
|
142
|
-
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
142
|
+
}>[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
+
/**
|
|
144
|
+
* Enables selection cleaner element.
|
|
145
|
+
*
|
|
146
|
+
* @default true
|
|
147
|
+
*/
|
|
148
|
+
cleaner: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
required: false;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* It specifies that multiple options can be selected at once.
|
|
155
|
+
*
|
|
156
|
+
* @default true
|
|
157
|
+
*/
|
|
158
|
+
multiple: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
required: false;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* List of option elements.
|
|
165
|
+
*/
|
|
166
|
+
options: {
|
|
167
|
+
type: PropType<Option[]>;
|
|
168
|
+
default: () => never[];
|
|
169
|
+
required: false;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Sets maxHeight of options list.
|
|
173
|
+
*
|
|
174
|
+
* @default 'auto'
|
|
175
|
+
*/
|
|
176
|
+
optionsMaxHeight: {
|
|
177
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
178
|
+
default: string;
|
|
179
|
+
required: false;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Sets option style.
|
|
183
|
+
*
|
|
184
|
+
* @values 'checkbox', 'text'
|
|
185
|
+
* @default 'checkbox'
|
|
186
|
+
*/
|
|
187
|
+
optionsStyle: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
required: false;
|
|
191
|
+
validator: (value: string) => boolean;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Specifies a short hint that is visible in the search input.
|
|
195
|
+
*
|
|
196
|
+
* @default 'Select...''
|
|
197
|
+
*/
|
|
198
|
+
placeholder: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
required: false;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Enables search input element.
|
|
205
|
+
*/
|
|
206
|
+
search: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
required: false;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Sets the label for no results when filtering.
|
|
213
|
+
*/
|
|
214
|
+
searchNoResultsLabel: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
required: false;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Enables select all button.
|
|
221
|
+
*
|
|
222
|
+
* @default true
|
|
223
|
+
*/
|
|
224
|
+
selectAll: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
required: false;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Sets the select all button label.
|
|
231
|
+
*
|
|
232
|
+
* @default 'Select all options'
|
|
233
|
+
*/
|
|
234
|
+
selectAllLabel: {
|
|
235
|
+
type: StringConstructor;
|
|
236
|
+
required: false;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Sets the selection style.
|
|
241
|
+
*
|
|
242
|
+
* @values 'counter', 'tags', 'text'
|
|
243
|
+
* @default 'tags'
|
|
244
|
+
*/
|
|
245
|
+
selectionType: {
|
|
246
|
+
type: StringConstructor;
|
|
247
|
+
default: string;
|
|
248
|
+
required: false;
|
|
249
|
+
validator: (value: string) => boolean;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Sets the counter selection label.
|
|
253
|
+
*
|
|
254
|
+
* @default 'item(s) selected'
|
|
255
|
+
*/
|
|
256
|
+
selectionTypeCounterText: {
|
|
257
|
+
type: StringConstructor;
|
|
258
|
+
default: string;
|
|
259
|
+
required: false;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Toggle the visibility of multi select dropdown.
|
|
263
|
+
*
|
|
264
|
+
* @default false
|
|
265
|
+
*/
|
|
266
|
+
visible: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
required: false;
|
|
270
|
+
};
|
|
271
|
+
}>> & {
|
|
171
272
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
172
273
|
}, {
|
|
173
274
|
search: boolean;
|
|
174
275
|
visible: boolean;
|
|
175
|
-
options: Option[];
|
|
176
276
|
multiple: boolean;
|
|
277
|
+
options: Option[];
|
|
177
278
|
optionsMaxHeight: string | number;
|
|
178
279
|
optionsStyle: string;
|
|
179
280
|
searchNoResultsLabel: string;
|
|
@@ -26,20 +26,35 @@ declare const CMultiSelectNativeSelect: import("vue").DefineComponent<{
|
|
|
26
26
|
};
|
|
27
27
|
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
28
|
[key: string]: any;
|
|
29
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
multiple:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
/**
|
|
31
|
+
* It specifies that multiple options can be selected at once.
|
|
32
|
+
*
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
multiple: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* List of option elements.
|
|
42
|
+
*/
|
|
43
|
+
options: {
|
|
44
|
+
type: PropType<Option[]>;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
value: {
|
|
49
|
+
type: (NumberConstructor | StringConstructor | ArrayConstructor)[];
|
|
50
|
+
default: undefined;
|
|
51
|
+
require: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>> & {
|
|
39
54
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
40
55
|
}, {
|
|
41
56
|
value: string | number | unknown[];
|
|
42
|
-
options: Option[];
|
|
43
57
|
multiple: boolean;
|
|
58
|
+
options: Option[];
|
|
44
59
|
}>;
|
|
45
60
|
export { CMultiSelectNativeSelect };
|