@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
|
@@ -22,16 +22,29 @@ declare const CWidgetStatsA: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
24
|
[key: string]: any;
|
|
25
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
26
|
-
color
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
color: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
require: boolean;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
33
|
+
*/
|
|
34
|
+
title: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
require: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
41
|
+
*/
|
|
42
|
+
value: {
|
|
43
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
44
|
+
default: number;
|
|
45
|
+
require: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>>, {
|
|
35
48
|
value: string | number;
|
|
36
49
|
color: string;
|
|
37
50
|
title: string;
|
|
@@ -46,25 +46,53 @@ declare const CWidgetStatsB: import("vue").DefineComponent<{
|
|
|
46
46
|
};
|
|
47
47
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
49
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
/**
|
|
51
|
+
* Sets the color context of the component to one of CoreUI’s themed colors
|
|
52
|
+
*
|
|
53
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
54
|
+
*/
|
|
55
|
+
color: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
validator: (value: string) => boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Colors have been inverted from their default dark shade.
|
|
61
|
+
*/
|
|
62
|
+
inverse: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: undefined;
|
|
65
|
+
require: boolean;
|
|
66
|
+
};
|
|
67
|
+
progress: import("vue-types").VueTypeShape<{
|
|
61
68
|
color: string;
|
|
62
69
|
value: number;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
}>;
|
|
71
|
+
/**
|
|
72
|
+
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
73
|
+
*/
|
|
74
|
+
text: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: undefined;
|
|
77
|
+
require: boolean;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
81
|
+
*/
|
|
82
|
+
title: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: undefined;
|
|
85
|
+
require: boolean;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
89
|
+
*/
|
|
90
|
+
value: {
|
|
91
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
92
|
+
default: number;
|
|
93
|
+
require: boolean;
|
|
94
|
+
};
|
|
95
|
+
}>>, {
|
|
68
96
|
value: string | number;
|
|
69
97
|
title: string;
|
|
70
98
|
text: string;
|
|
@@ -38,23 +38,45 @@ declare const CWidgetStatsC: import("vue").DefineComponent<{
|
|
|
38
38
|
};
|
|
39
39
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
40
40
|
[key: string]: any;
|
|
41
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
41
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
/**
|
|
43
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
44
|
+
*
|
|
45
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
46
|
+
*/
|
|
47
|
+
color: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
validator: (value: string) => boolean;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Colors have been inverted from their default dark shade.
|
|
53
|
+
*/
|
|
54
|
+
inverse: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: undefined;
|
|
57
|
+
require: boolean;
|
|
58
|
+
};
|
|
59
|
+
progress: import("vue-types").VueTypeShape<{
|
|
52
60
|
color: string;
|
|
53
61
|
value: number;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
62
|
+
}>;
|
|
63
|
+
/**
|
|
64
|
+
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
65
|
+
*/
|
|
66
|
+
title: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: undefined;
|
|
69
|
+
require: boolean;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
73
|
+
*/
|
|
74
|
+
value: {
|
|
75
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
76
|
+
default: number;
|
|
77
|
+
require: boolean;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
58
80
|
value: string | number;
|
|
59
81
|
title: string;
|
|
60
82
|
inverse: boolean;
|
|
@@ -23,14 +23,25 @@ declare const CWidgetStatsD: import("vue").DefineComponent<{
|
|
|
23
23
|
};
|
|
24
24
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
25
|
[key: string]: any;
|
|
26
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
color
|
|
33
|
-
|
|
26
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
/**
|
|
28
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
29
|
+
*
|
|
30
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
31
|
+
*/
|
|
32
|
+
color: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
validator: (value: string) => boolean;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Values and titles for your component.
|
|
38
|
+
*/
|
|
39
|
+
values: {
|
|
40
|
+
type: PropType<Value[]>;
|
|
41
|
+
default: () => never[];
|
|
42
|
+
require: boolean;
|
|
43
|
+
};
|
|
44
|
+
}>>, {
|
|
34
45
|
values: Value[];
|
|
35
46
|
}>;
|
|
36
47
|
export { CWidgetStatsD };
|
|
@@ -17,14 +17,24 @@ declare const CWidgetStatsE: import("vue").DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
19
|
[key: string]: any;
|
|
20
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
/**
|
|
22
|
+
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
23
|
+
*/
|
|
24
|
+
title: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: undefined;
|
|
27
|
+
require: boolean;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
31
|
+
*/
|
|
32
|
+
value: {
|
|
33
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
default: number;
|
|
35
|
+
require: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
28
38
|
value: string | number;
|
|
29
39
|
title: string;
|
|
30
40
|
}>;
|
|
@@ -41,20 +41,48 @@ declare const CWidgetStatsF: import("vue").DefineComponent<{
|
|
|
41
41
|
};
|
|
42
42
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
43
|
[key: string]: any;
|
|
44
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
/**
|
|
46
|
+
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
47
|
+
*
|
|
48
|
+
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
49
|
+
*/
|
|
50
|
+
color: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
validator: (value: string) => boolean;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Set padding of your component.
|
|
56
|
+
*/
|
|
57
|
+
padding: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
63
|
+
*/
|
|
64
|
+
title: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: undefined;
|
|
67
|
+
require: boolean;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
71
|
+
*/
|
|
72
|
+
text: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: undefined;
|
|
75
|
+
require: boolean;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
79
|
+
*/
|
|
80
|
+
value: {
|
|
81
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
82
|
+
default: number;
|
|
83
|
+
require: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>>, {
|
|
58
86
|
value: string | number;
|
|
59
87
|
title: string;
|
|
60
88
|
text: string;
|