@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.
Files changed (148) hide show
  1. package/README.md +1 -1
  2. package/dist/components/accordion/CAccordion.d.ts +18 -10
  3. package/dist/components/accordion/CAccordionBody.d.ts +1 -1
  4. package/dist/components/accordion/CAccordionButton.d.ts +1 -1
  5. package/dist/components/accordion/CAccordionCollapse.d.ts +9 -5
  6. package/dist/components/accordion/CAccordionHeader.d.ts +1 -1
  7. package/dist/components/accordion/CAccordionItem.d.ts +10 -5
  8. package/dist/components/alert/CAlert.d.ts +38 -12
  9. package/dist/components/alert/CAlertHeading.d.ts +10 -5
  10. package/dist/components/alert/CAlertLink.d.ts +1 -1
  11. package/dist/components/avatar/CAvatar.d.ts +59 -15
  12. package/dist/components/backdrop/CBackdrop.d.ts +10 -5
  13. package/dist/components/badge/CBadge.d.ts +59 -16
  14. package/dist/components/breadcrumb/CBreadcrumb.d.ts +1 -1
  15. package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +17 -8
  16. package/dist/components/button/CButton.d.ts +73 -20
  17. package/dist/components/button-group/CButtonGroup.d.ts +20 -8
  18. package/dist/components/button-group/CButtonToolbar.d.ts +1 -1
  19. package/dist/components/callout/CCallout.d.ts +11 -5
  20. package/dist/components/card/CCard.d.ts +20 -7
  21. package/dist/components/card/CCardBody.d.ts +1 -1
  22. package/dist/components/card/CCardFooter.d.ts +1 -1
  23. package/dist/components/card/CCardGroup.d.ts +1 -1
  24. package/dist/components/card/CCardHeader.d.ts +10 -5
  25. package/dist/components/card/CCardImage.d.ts +21 -8
  26. package/dist/components/card/CCardImageOverlay.d.ts +1 -1
  27. package/dist/components/card/CCardLink.d.ts +10 -5
  28. package/dist/components/card/CCardSubtitle.d.ts +10 -5
  29. package/dist/components/card/CCardText.d.ts +10 -5
  30. package/dist/components/card/CCardTitle.d.ts +10 -5
  31. package/dist/components/carousel/CCarousel.d.ts +58 -19
  32. package/dist/components/carousel/CCarouselCaption.d.ts +1 -1
  33. package/dist/components/carousel/CCarouselItem.d.ts +25 -9
  34. package/dist/components/close-button/CCloseButton.d.ts +16 -7
  35. package/dist/components/collapse/CCollapse.d.ts +16 -7
  36. package/dist/components/dropdown/CDropdown.d.ts +82 -22
  37. package/dist/components/dropdown/CDropdownDivider.d.ts +1 -1
  38. package/dist/components/dropdown/CDropdownHeader.d.ts +10 -5
  39. package/dist/components/dropdown/CDropdownItem.d.ts +32 -12
  40. package/dist/components/dropdown/CDropdownMenu.d.ts +12 -5
  41. package/dist/components/dropdown/CDropdownToggle.d.ts +78 -22
  42. package/dist/components/element-cover/CElementCover.d.ts +22 -7
  43. package/dist/components/footer/CFooter.d.ts +13 -5
  44. package/dist/components/form/CForm.d.ts +9 -5
  45. package/dist/components/form/CFormCheck.d.ts +66 -23
  46. package/dist/components/form/CFormControl.d.ts +61 -20
  47. package/dist/components/form/CFormFeedback.d.ts +22 -11
  48. package/dist/components/form/CFormFloating.d.ts +1 -1
  49. package/dist/components/form/CFormInput.d.ts +66 -20
  50. package/dist/components/form/CFormLabel.d.ts +10 -5
  51. package/dist/components/form/CFormRange.d.ts +59 -18
  52. package/dist/components/form/CFormSelect.d.ts +66 -18
  53. package/dist/components/form/CFormSwitch.d.ts +61 -18
  54. package/dist/components/form/CFormText.d.ts +10 -5
  55. package/dist/components/form/CFormTextarea.d.ts +45 -16
  56. package/dist/components/form/CInputGroup.d.ts +13 -5
  57. package/dist/components/form/CInputGroupText.d.ts +10 -5
  58. package/dist/components/grid/CCol.d.ts +62 -15
  59. package/dist/components/grid/CContainer.d.ts +44 -15
  60. package/dist/components/grid/CRow.d.ts +57 -15
  61. package/dist/components/header/CHeader.d.ts +24 -7
  62. package/dist/components/header/CHeaderBrand.d.ts +10 -5
  63. package/dist/components/header/CHeaderDivider.d.ts +1 -1
  64. package/dist/components/header/CHeaderNav.d.ts +10 -5
  65. package/dist/components/header/CHeaderText.d.ts +1 -1
  66. package/dist/components/header/CHeaderToggler.d.ts +1 -1
  67. package/dist/components/image/CImage.d.ts +34 -12
  68. package/dist/components/link/CLink.d.ts +32 -12
  69. package/dist/components/list-group/CListGroup.d.ts +28 -10
  70. package/dist/components/list-group/CListGroupItem.d.ts +33 -12
  71. package/dist/components/modal/CModal.d.ts +96 -22
  72. package/dist/components/modal/CModalBody.d.ts +1 -1
  73. package/dist/components/modal/CModalFooter.d.ts +1 -1
  74. package/dist/components/modal/CModalHeader.d.ts +10 -5
  75. package/dist/components/modal/CModalTitle.d.ts +10 -5
  76. package/dist/components/multi-select/CMultiSelect.d.ts +131 -30
  77. package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +26 -11
  78. package/dist/components/multi-select/CMultiSelectOptions.d.ts +40 -11
  79. package/dist/components/multi-select/CMultiSelectSelection.d.ts +47 -13
  80. package/dist/components/nav/CNav.d.ts +32 -10
  81. package/dist/components/nav/CNavGroup.d.ts +10 -7
  82. package/dist/components/nav/CNavGroupItems.d.ts +1 -1
  83. package/dist/components/nav/CNavLink.d.ts +32 -12
  84. package/dist/components/nav/CNavTitle.d.ts +1 -1
  85. package/dist/components/navbar/CNavbar.d.ts +63 -16
  86. package/dist/components/navbar/CNavbarBrand.d.ts +19 -8
  87. package/dist/components/navbar/CNavbarNav.d.ts +10 -5
  88. package/dist/components/navbar/CNavbarText.d.ts +1 -1
  89. package/dist/components/navbar/CNavbarToggler.d.ts +1 -1
  90. package/dist/components/offcanvas/COffcanvas.d.ts +44 -14
  91. package/dist/components/offcanvas/COffcanvasBody.d.ts +1 -1
  92. package/dist/components/offcanvas/COffcanvasHeader.d.ts +1 -1
  93. package/dist/components/offcanvas/COffcanvasTitle.d.ts +10 -5
  94. package/dist/components/pagination/CPagination.d.ts +24 -7
  95. package/dist/components/pagination/CPaginationItem.d.ts +32 -12
  96. package/dist/components/pagination/CSmartPagination.d.ts +120 -28
  97. package/dist/components/placeholder/CPlaceholder.d.ts +89 -24
  98. package/dist/components/popover/CPopover.d.ts +50 -16
  99. package/dist/components/progress/CProgressBar.d.ts +37 -12
  100. package/dist/components/sidebar/CSidebar.d.ts +59 -20
  101. package/dist/components/sidebar/CSidebarBrand.d.ts +1 -1
  102. package/dist/components/sidebar/CSidebarFooter.d.ts +1 -1
  103. package/dist/components/sidebar/CSidebarHeader.d.ts +1 -1
  104. package/dist/components/sidebar/CSidebarNav.d.ts +1 -1
  105. package/dist/components/sidebar/CSidebarToggler.d.ts +1 -1
  106. package/dist/components/smart-table/CSmartTable.d.ts +280 -68
  107. package/dist/components/smart-table/CSmartTableBody.d.ts +31 -25
  108. package/dist/components/smart-table/CSmartTableCleaner.d.ts +7 -5
  109. package/dist/components/smart-table/CSmartTableFilter.d.ts +17 -9
  110. package/dist/components/smart-table/CSmartTableHead.d.ts +43 -24
  111. package/dist/components/smart-table/CSmartTableItemsPerPageSelector.d.ts +17 -10
  112. package/dist/components/spinner/CSpinner.d.ts +51 -14
  113. package/dist/components/table/CTable.d.ts +88 -24
  114. package/dist/components/table/CTableBody.d.ts +11 -5
  115. package/dist/components/table/CTableCaption.d.ts +2 -4
  116. package/dist/components/table/CTableDataCell.d.ts +29 -10
  117. package/dist/components/table/CTableFoot.d.ts +11 -5
  118. package/dist/components/table/CTableHead.d.ts +11 -5
  119. package/dist/components/table/CTableHeaderCell.d.ts +11 -5
  120. package/dist/components/table/CTableRow.d.ts +29 -10
  121. package/dist/components/tabs/CTabContent.d.ts +1 -1
  122. package/dist/components/tabs/CTabPane.d.ts +10 -5
  123. package/dist/components/toast/CToast.d.ts +59 -18
  124. package/dist/components/toast/CToastBody.d.ts +1 -1
  125. package/dist/components/toast/CToastHeader.d.ts +9 -5
  126. package/dist/components/toast/CToaster.d.ts +13 -5
  127. package/dist/components/tooltip/CTooltip.d.ts +42 -14
  128. package/dist/components/widgets/CWidgetStatsA.d.ts +23 -10
  129. package/dist/components/widgets/CWidgetStatsB.d.ts +45 -17
  130. package/dist/components/widgets/CWidgetStatsC.d.ts +37 -15
  131. package/dist/components/widgets/CWidgetStatsD.d.ts +19 -8
  132. package/dist/components/widgets/CWidgetStatsE.d.ts +18 -8
  133. package/dist/components/widgets/CWidgetStatsF.d.ts +42 -14
  134. package/dist/index.es.js +118 -71
  135. package/dist/index.es.js.map +1 -1
  136. package/dist/index.js +117 -70
  137. package/dist/index.js.map +1 -1
  138. package/package.json +7 -7
  139. package/src/components/form/CFormSelect.ts +19 -6
  140. package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +8 -2
  141. package/src/components/form/__tests__/__snapshots__/CFormSelect.spec.ts.snap +1 -1
  142. package/src/components/modal/CModal.ts +68 -40
  143. package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +1 -2
  144. package/src/components/offcanvas/COffcanvas.ts +11 -4
  145. package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -8
  146. package/src/components/smart-table/CSmartTable.ts +25 -20
  147. package/src/components/smart-table/CSmartTableBody.ts +0 -5
  148. 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?: unknown;
27
- title?: unknown;
28
- value?: unknown;
29
- } & {
30
- value: string | number;
31
- } & {
32
- color?: string | undefined;
33
- title?: string | undefined;
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
- color?: unknown;
51
- inverse?: unknown;
52
- progress?: unknown;
53
- text?: unknown;
54
- title?: unknown;
55
- value?: unknown;
56
- } & {
57
- value: string | number;
58
- } & {
59
- color?: string | undefined;
60
- progress?: {
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
- } | undefined;
64
- title?: string | undefined;
65
- text?: string | undefined;
66
- inverse?: boolean | undefined;
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
- color?: unknown;
43
- inverse?: unknown;
44
- progress?: unknown;
45
- title?: unknown;
46
- value?: unknown;
47
- } & {
48
- value: string | number;
49
- } & {
50
- color?: string | undefined;
51
- progress?: {
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
- } | undefined;
55
- title?: string | undefined;
56
- inverse?: boolean | undefined;
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
- color?: unknown;
28
- values?: unknown;
29
- } & {
30
- values: Value[];
31
- } & {
32
- color?: string | undefined;
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
- title?: unknown;
22
- value?: unknown;
23
- } & {
24
- value: string | number;
25
- } & {
26
- title?: string | undefined;
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
- color?: unknown;
46
- padding?: unknown;
47
- title?: unknown;
48
- text?: unknown;
49
- value?: unknown;
50
- } & {
51
- value: string | number;
52
- padding: boolean;
53
- } & {
54
- color?: string | undefined;
55
- title?: string | undefined;
56
- text?: string | undefined;
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;