@coreui/vue-pro 4.1.1 → 4.1.2

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 (144) 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 +278 -60
  107. package/dist/components/smart-table/CSmartTableBody.d.ts +37 -20
  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 +37 -22
  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 +81 -39
  135. package/dist/index.es.js.map +1 -1
  136. package/dist/index.js +80 -38
  137. package/dist/index.js.map +1 -1
  138. package/package.json +5 -5
  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 +60 -37
  143. package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +1 -2
  144. package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -8
@@ -77,28 +77,84 @@ declare const CDropdownToggle: import("vue").DefineComponent<{
77
77
  };
78
78
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
79
79
  [key: string]: any;
80
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
81
- active?: unknown;
82
- color?: unknown;
83
- caret?: unknown;
84
- component?: unknown;
85
- disabled?: unknown;
86
- shape?: unknown;
87
- size?: unknown;
88
- split?: unknown;
89
- variant?: unknown;
90
- } & {
91
- split: boolean;
92
- disabled: boolean;
93
- component: string;
94
- active: boolean;
95
- caret: boolean;
96
- } & {
97
- color?: string | undefined;
98
- variant?: string | undefined;
99
- shape?: string | undefined;
100
- size?: string | undefined;
101
- }>, {
80
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
81
+ /**
82
+ * Toggle the active state for the component.
83
+ */
84
+ active: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ required: false;
88
+ };
89
+ /**
90
+ * Sets the color context of the component to one of CoreUI’s themed colors.
91
+ *
92
+ * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
93
+ */
94
+ color: {
95
+ type: StringConstructor;
96
+ validator: (value: string) => boolean;
97
+ };
98
+ /**
99
+ * Enables pseudo element caret on toggler.
100
+ */
101
+ caret: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ required: false;
105
+ };
106
+ /**
107
+ * Component used for the root node. Either a string to use a HTML element or a component.
108
+ */
109
+ component: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ require: boolean;
113
+ };
114
+ /**
115
+ * Toggle the disabled state for the component.
116
+ */
117
+ disabled: {
118
+ type: BooleanConstructor;
119
+ required: false;
120
+ };
121
+ /**
122
+ * @values 'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'
123
+ */
124
+ shape: {
125
+ type: StringConstructor;
126
+ validator: (value: string) => boolean;
127
+ };
128
+ /**
129
+ * Size the component small or large.
130
+ *
131
+ * @values 'sm', 'lg'
132
+ */
133
+ size: {
134
+ type: StringConstructor;
135
+ default: undefined;
136
+ required: false;
137
+ validator: (value: string) => boolean;
138
+ };
139
+ /**
140
+ * Similarly, create split button dropdowns with virtually the same markup as single button dropdowns, but with the addition of `.dropdown-toggle-split` className for proper spacing around the dropdown caret.
141
+ */
142
+ split: {
143
+ type: BooleanConstructor;
144
+ required: false;
145
+ };
146
+ /**
147
+ * Set the button variant to an outlined button or a ghost button.
148
+ *
149
+ * @values 'ghost', 'outline'
150
+ */
151
+ variant: {
152
+ type: StringConstructor;
153
+ default: undefined;
154
+ required: false;
155
+ validator: (value: string) => boolean;
156
+ };
157
+ }>>, {
102
158
  split: boolean;
103
159
  disabled: boolean;
104
160
  variant: string;
@@ -21,11 +21,26 @@ declare const CElementCover: import("vue").DefineComponent<{
21
21
  };
22
22
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
23
  [key: string]: any;
24
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
25
- boundaries?: unknown;
26
- opacity?: unknown;
27
- } & {} & {
28
- boundaries?: unknown[] | undefined;
29
- opacity?: number | undefined;
30
- }>, {}>;
24
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ /**
26
+ * Array of custom boundaries. Use to create custom cover area (instead of parent element area). Area is defined by four sides: 'top', 'bottom', 'right', 'left'. If side is not defined by any custom boundary it is equal to parent element boundary. Each custom boundary is object with keys:
27
+ * - sides (array) - select boundaries of element to define boundaries. Sides names: 'top', 'bottom', 'right', 'left'.
28
+ * - query (string) - query used to get element which define boundaries. Search will be done only inside parent element, by parent.querySelector(query) function. [docs]
29
+ *
30
+ * @type {sides: string[], query: string}[]
31
+ */
32
+ boundaries: {
33
+ type: ArrayConstructor;
34
+ require: boolean;
35
+ };
36
+ /**
37
+ * Opacity of the cover. [docs]
38
+ *
39
+ * @type number
40
+ */
41
+ opacity: {
42
+ type: NumberConstructor;
43
+ require: boolean;
44
+ };
45
+ }>>, {}>;
31
46
  export { CElementCover };
@@ -12,11 +12,19 @@ declare const CFooter: import("vue").DefineComponent<{
12
12
  };
13
13
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
14
14
  [key: string]: any;
15
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
16
- position?: unknown;
17
- } & {} & {
18
- position?: string | undefined;
19
- }>, {
15
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ /**
17
+ * Place footer in non-static positions.
18
+ *
19
+ * @values 'fixed', 'sticky'
20
+ */
21
+ position: {
22
+ type: StringConstructor;
23
+ default: undefined;
24
+ required: false;
25
+ validator: (value: string) => boolean;
26
+ };
27
+ }>>, {
20
28
  position: string;
21
29
  }>;
22
30
  export { CFooter };
@@ -8,11 +8,15 @@ declare const CForm: import("vue").DefineComponent<{
8
8
  };
9
9
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
10
10
  [key: string]: any;
11
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
12
- validated?: unknown;
13
- } & {
14
- validated: boolean;
15
- } & {}>, {
11
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ /**
13
+ * Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.
14
+ */
15
+ validated: {
16
+ type: BooleanConstructor;
17
+ required: false;
18
+ };
19
+ }>>, {
16
20
  validated: boolean;
17
21
  }>;
18
22
  export { CForm };
@@ -71,33 +71,76 @@ declare const CFormCheck: import("vue").DefineComponent<{
71
71
  [key: string]: any;
72
72
  }> | ("" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
73
73
  [key: string]: any;
74
- }> | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
75
- button?: unknown;
76
- id?: unknown;
77
- indeterminate?: unknown;
78
- inline?: unknown;
79
- invalid?: unknown;
80
- label?: unknown;
81
- modelValue?: unknown;
82
- type?: unknown;
83
- valid?: unknown;
84
- } & {
85
- type: string;
86
- invalid: boolean;
87
- indeterminate: boolean;
88
- inline: boolean;
89
- valid: boolean;
90
- } & {
91
- button?: {
74
+ }> | undefined)[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
+ /**
76
+ * Create button-like checkboxes and radio buttons.
77
+ */
78
+ button: import("vue-types").VueTypeShape<{
92
79
  color: string;
93
80
  shape: string;
94
81
  size: string;
95
82
  variant: string;
96
- } | undefined;
97
- id?: string | undefined;
98
- label?: string | undefined;
99
- modelValue?: string | boolean | undefined;
100
- }> & {
83
+ }>;
84
+ /**
85
+ * The id global attribute defines an identifier (ID) that must be unique in the whole document.
86
+ */
87
+ id: {
88
+ type: StringConstructor;
89
+ default: undefined;
90
+ required: false;
91
+ };
92
+ /**
93
+ * Input Checkbox indeterminate Property
94
+ */
95
+ indeterminate: BooleanConstructor;
96
+ /**
97
+ * Group checkboxes or radios on the same horizontal row by adding.
98
+ */
99
+ inline: {
100
+ type: BooleanConstructor;
101
+ required: false;
102
+ };
103
+ /**
104
+ * Set component validation state to invalid.
105
+ */
106
+ invalid: {
107
+ type: BooleanConstructor;
108
+ required: false;
109
+ };
110
+ /**
111
+ * The element represents a caption for a component.
112
+ */
113
+ label: {
114
+ type: StringConstructor;
115
+ default: undefined;
116
+ required: false;
117
+ };
118
+ /**
119
+ * The default name for a value passed using v-model.
120
+ */
121
+ modelValue: {
122
+ type: (StringConstructor | BooleanConstructor)[];
123
+ value: undefined;
124
+ required: false;
125
+ };
126
+ /**
127
+ * Specifies the type of component.
128
+ *
129
+ * @values 'checkbox', 'radio'
130
+ */
131
+ type: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ required: false;
135
+ };
136
+ /**
137
+ * Set component validation state to valid.
138
+ */
139
+ valid: {
140
+ type: BooleanConstructor;
141
+ required: false;
142
+ };
143
+ }>> & {
101
144
  onChange?: ((...args: any[]) => any) | undefined;
102
145
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
103
146
  }, {
@@ -121,26 +121,67 @@ declare const CFormControl: import("vue").DefineComponent<{
121
121
  };
122
122
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
123
123
  [key: string]: any;
124
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
125
- className?: unknown;
126
- classNameParent?: unknown;
127
- component?: unknown;
128
- disabled?: unknown;
129
- plainText?: unknown;
130
- readonly?: unknown;
131
- size?: unknown;
132
- type?: unknown;
133
- } & {
134
- disabled: boolean;
135
- component: string;
136
- plainText: boolean;
137
- readonly: boolean;
138
- } & {
139
- type?: string | undefined;
140
- size?: unknown;
141
- className?: string | undefined;
142
- classNameParent?: string | undefined;
143
- }>, {
124
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
125
+ /**
126
+ * A string of all className you want applied to the base component.
127
+ */
128
+ className: {
129
+ type: StringConstructor;
130
+ required: boolean;
131
+ };
132
+ /**
133
+ * A string of all className you want applied to the component.
134
+ */
135
+ classNameParent: {
136
+ type: StringConstructor;
137
+ required: boolean;
138
+ };
139
+ /**
140
+ * Component used for the root node. Either a string to use a HTML element or a component.
141
+ */
142
+ component: {
143
+ type: StringConstructor;
144
+ required: boolean;
145
+ default: string;
146
+ };
147
+ /**
148
+ * Toggle the disabled state for the component.
149
+ */
150
+ disabled: {
151
+ type: BooleanConstructor;
152
+ required: boolean;
153
+ };
154
+ /**
155
+ * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.
156
+ */
157
+ plainText: {
158
+ type: BooleanConstructor;
159
+ required: boolean;
160
+ };
161
+ /**
162
+ * Toggle the readonly state for the component.
163
+ */
164
+ readonly: {
165
+ type: BooleanConstructor;
166
+ required: boolean;
167
+ };
168
+ /**
169
+ * Size the component small or large.
170
+ *
171
+ * @values 'sm', 'lg'
172
+ */
173
+ size: {
174
+ validator(value: string): boolean;
175
+ required: boolean;
176
+ };
177
+ /**
178
+ * Specifies the type of component.
179
+ */
180
+ type: {
181
+ type: StringConstructor;
182
+ required: boolean;
183
+ };
184
+ }>>, {
144
185
  disabled: boolean;
145
186
  component: string;
146
187
  plainText: boolean;
@@ -21,17 +21,28 @@ declare const CFormFeedback: import("vue").DefineComponent<{
21
21
  valid: BooleanConstructor;
22
22
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
23
  [key: string]: any;
24
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
25
- component?: unknown;
26
- invalid?: unknown;
27
- tooltip?: unknown;
28
- valid?: unknown;
29
- } & {
30
- component: string;
31
- invalid: boolean;
32
- valid: boolean;
33
- tooltip: boolean;
34
- } & {}>, {
24
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ /**
26
+ * Component used for the root node. Either a string to use a HTML element or a component.
27
+ */
28
+ component: {
29
+ type: StringConstructor;
30
+ required: false;
31
+ default: string;
32
+ };
33
+ /**
34
+ * Method called immediately after the `value` prop changes.
35
+ */
36
+ invalid: BooleanConstructor;
37
+ /**
38
+ * If your form layout allows it, you can display validation feedback in a styled tooltip.
39
+ */
40
+ tooltip: BooleanConstructor;
41
+ /**
42
+ * Set component validation state to valid.
43
+ */
44
+ valid: BooleanConstructor;
45
+ }>>, {
35
46
  component: string;
36
47
  invalid: boolean;
37
48
  valid: boolean;
@@ -1,4 +1,4 @@
1
1
  declare const CFormFloating: 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 { CFormFloating };
@@ -65,26 +65,72 @@ declare const CFormInput: import("vue").DefineComponent<{
65
65
  };
66
66
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
67
67
  [key: string]: any;
68
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
69
- disabled?: unknown;
70
- invalid?: unknown;
71
- modelValue?: unknown;
72
- plainText?: unknown;
73
- readonly?: unknown;
74
- size?: unknown;
75
- type?: unknown;
76
- valid?: unknown;
77
- } & {
78
- type: string;
79
- disabled: boolean;
80
- invalid: boolean;
81
- valid: boolean;
82
- plainText: boolean;
83
- readonly: boolean;
84
- } & {
85
- size?: string | undefined;
86
- modelValue?: string | undefined;
87
- }> & {
68
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "change" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
69
+ /**
70
+ * Toggle the disabled state for the component.
71
+ */
72
+ disabled: {
73
+ type: BooleanConstructor;
74
+ required: false;
75
+ };
76
+ /**
77
+ * Set component validation state to invalid.
78
+ */
79
+ invalid: {
80
+ type: BooleanConstructor;
81
+ required: false;
82
+ };
83
+ /**
84
+ * The default name for a value passed using v-model.
85
+ */
86
+ modelValue: {
87
+ type: StringConstructor;
88
+ default: undefined;
89
+ require: boolean;
90
+ };
91
+ /**
92
+ * Render the component styled as plain text. Removes the default form field styling and preserve the correct margin and padding. Recommend to use only along side `readonly`.
93
+ */
94
+ plainText: {
95
+ type: BooleanConstructor;
96
+ required: false;
97
+ };
98
+ /**
99
+ * Toggle the readonly state for the component.
100
+ */
101
+ readonly: {
102
+ type: BooleanConstructor;
103
+ required: false;
104
+ };
105
+ /**
106
+ * Size the component small or large.
107
+ *
108
+ * @values 'sm' | 'lg'
109
+ */
110
+ size: {
111
+ type: StringConstructor;
112
+ default: undefined;
113
+ require: boolean;
114
+ validator: (value: string) => boolean;
115
+ };
116
+ /**
117
+ * Specifies the type of component.
118
+ *
119
+ * @values 'color' | 'file' | 'text' | string
120
+ */
121
+ type: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ require: boolean;
125
+ };
126
+ /**
127
+ * Set component validation state to valid.
128
+ */
129
+ valid: {
130
+ type: BooleanConstructor;
131
+ required: false;
132
+ };
133
+ }>> & {
88
134
  onChange?: ((...args: any[]) => any) | undefined;
89
135
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
136
  onInput?: ((...args: any[]) => any) | undefined;
@@ -9,11 +9,16 @@ declare const CFormLabel: 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
- customClassName?: unknown;
14
- } & {} & {
15
- customClassName?: string | unknown[] | undefined;
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
+ * A string of all className you want to be applied to the component, and override standard className value.
15
+ */
16
+ customClassName: {
17
+ type: (StringConstructor | ArrayConstructor)[];
18
+ default: undefined;
19
+ required: false;
20
+ };
21
+ }>>, {
17
22
  customClassName: string | unknown[];
18
23
  }>;
19
24
  export { CFormLabel };
@@ -58,24 +58,65 @@ declare const CFormRange: import("vue").DefineComponent<{
58
58
  };
59
59
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
60
  [key: string]: any;
61
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
62
- disabled?: unknown;
63
- max?: unknown;
64
- min?: unknown;
65
- modelValue?: unknown;
66
- readonly?: unknown;
67
- steps?: unknown;
68
- value?: unknown;
69
- } & {
70
- readonly: boolean;
71
- } & {
72
- value?: number | undefined;
73
- disabled?: boolean | undefined;
74
- modelValue?: string | undefined;
75
- max?: number | undefined;
76
- min?: number | undefined;
77
- steps?: number | undefined;
78
- }> & {
61
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
+ /**
63
+ * Toggle the disabled state for the component.
64
+ */
65
+ disabled: {
66
+ type: BooleanConstructor;
67
+ default: undefined;
68
+ required: false;
69
+ };
70
+ /**
71
+ * Specifies the maximum value for the component.
72
+ */
73
+ max: {
74
+ type: NumberConstructor;
75
+ default: undefined;
76
+ required: false;
77
+ };
78
+ /**
79
+ * Specifies the minimum value for the component.
80
+ */
81
+ min: {
82
+ type: NumberConstructor;
83
+ default: undefined;
84
+ required: false;
85
+ };
86
+ /**
87
+ * The default name for a value passed using v-model.
88
+ */
89
+ modelValue: {
90
+ type: StringConstructor;
91
+ value: undefined;
92
+ required: false;
93
+ };
94
+ /**
95
+ * Toggle the readonly state for the component.
96
+ */
97
+ readonly: {
98
+ type: BooleanConstructor;
99
+ required: false;
100
+ };
101
+ /**
102
+ * Specifies the interval between legal numbers in the component.
103
+ */
104
+ steps: {
105
+ type: NumberConstructor;
106
+ default: undefined;
107
+ required: false;
108
+ };
109
+ /**
110
+ * The `value` attribute of component.
111
+ *
112
+ * @controllable onChange
113
+ * */
114
+ value: {
115
+ type: NumberConstructor;
116
+ default: undefined;
117
+ required: false;
118
+ };
119
+ }>> & {
79
120
  onChange?: ((...args: any[]) => any) | undefined;
80
121
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
122
  }, {