@coreui/vue-pro 4.8.2 → 4.9.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/accordion/CAccordion.d.ts +1 -1
- package/dist/components/accordion/CAccordionBody.d.ts +1 -1
- package/dist/components/accordion/CAccordionButton.d.ts +1 -1
- package/dist/components/accordion/CAccordionHeader.d.ts +1 -1
- package/dist/components/accordion/CAccordionItem.d.ts +1 -1
- package/dist/components/alert/CAlert.d.ts +1 -1
- package/dist/components/alert/CAlertHeading.d.ts +1 -1
- package/dist/components/alert/CAlertLink.d.ts +1 -1
- package/dist/components/avatar/CAvatar.d.ts +1 -1
- package/dist/components/backdrop/CBackdrop.d.ts +1 -1
- package/dist/components/badge/CBadge.d.ts +1 -1
- package/dist/components/breadcrumb/CBreadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +1 -1
- package/dist/components/button/CButton.d.ts +1 -1
- package/dist/components/button-group/CButtonGroup.d.ts +1 -1
- package/dist/components/button-group/CButtonToolbar.d.ts +1 -1
- package/dist/components/calendar/CCalendar.d.ts +33 -1
- package/dist/components/callout/CCallout.d.ts +1 -1
- package/dist/components/card/CCard.d.ts +1 -1
- package/dist/components/card/CCardBody.d.ts +1 -1
- package/dist/components/card/CCardFooter.d.ts +1 -1
- package/dist/components/card/CCardGroup.d.ts +1 -1
- package/dist/components/card/CCardHeader.d.ts +1 -1
- package/dist/components/card/CCardImage.d.ts +1 -1
- package/dist/components/card/CCardImageOverlay.d.ts +1 -1
- package/dist/components/card/CCardLink.d.ts +1 -1
- package/dist/components/card/CCardSubtitle.d.ts +1 -1
- package/dist/components/card/CCardText.d.ts +1 -1
- package/dist/components/card/CCardTitle.d.ts +1 -1
- package/dist/components/carousel/CCarousel.d.ts +1 -1
- package/dist/components/carousel/CCarouselCaption.d.ts +1 -1
- package/dist/components/carousel/CCarouselItem.d.ts +1 -1
- package/dist/components/close-button/CCloseButton.d.ts +1 -1
- package/dist/components/collapse/CCollapse.d.ts +1 -1
- package/dist/components/date-picker/CDatePicker.d.ts +35 -3
- package/dist/components/date-range-picker/CDateRangePicker.d.ts +89 -78
- package/dist/components/date-range-picker/utils.d.ts +1 -0
- package/dist/components/dropdown/CDropdown.d.ts +2 -2
- package/dist/components/dropdown/CDropdownDivider.d.ts +1 -1
- package/dist/components/dropdown/CDropdownHeader.d.ts +1 -1
- package/dist/components/dropdown/CDropdownItem.d.ts +1 -1
- package/dist/components/dropdown/CDropdownMenu.d.ts +1 -1
- package/dist/components/dropdown/CDropdownToggle.d.ts +1 -1
- package/dist/components/element-cover/CElementCover.d.ts +1 -1
- package/dist/components/footer/CFooter.d.ts +1 -1
- package/dist/components/form/CForm.d.ts +1 -1
- package/dist/components/form/CFormCheck.d.ts +10 -2
- package/dist/components/form/CFormControl.d.ts +2 -2
- package/dist/components/form/CFormControlValidation.d.ts +1 -1
- package/dist/components/form/CFormControlWrapper.d.ts +1 -1
- package/dist/components/form/CFormFeedback.d.ts +1 -1
- package/dist/components/form/CFormFloating.d.ts +1 -1
- package/dist/components/form/CFormInput.d.ts +12 -12
- package/dist/components/form/CFormLabel.d.ts +1 -1
- package/dist/components/form/CFormRange.d.ts +1 -1
- package/dist/components/form/CFormSelect.d.ts +1 -1
- package/dist/components/form/CFormSwitch.d.ts +1 -1
- package/dist/components/form/CFormText.d.ts +1 -1
- package/dist/components/form/CFormTextarea.d.ts +3 -3
- package/dist/components/form/CInputGroup.d.ts +1 -1
- package/dist/components/form/CInputGroupText.d.ts +1 -1
- package/dist/components/grid/CCol.d.ts +1 -1
- package/dist/components/grid/CContainer.d.ts +1 -1
- package/dist/components/grid/CRow.d.ts +1 -1
- package/dist/components/header/CHeader.d.ts +1 -1
- package/dist/components/header/CHeaderBrand.d.ts +1 -1
- package/dist/components/header/CHeaderDivider.d.ts +1 -1
- package/dist/components/header/CHeaderNav.d.ts +1 -1
- package/dist/components/header/CHeaderText.d.ts +1 -1
- package/dist/components/header/CHeaderToggler.d.ts +1 -1
- package/dist/components/image/CImage.d.ts +1 -1
- package/dist/components/link/CLink.d.ts +1 -1
- package/dist/components/list-group/CListGroup.d.ts +1 -1
- package/dist/components/list-group/CListGroupItem.d.ts +1 -1
- package/dist/components/loading-button/CLoadingButton.d.ts +1 -1
- package/dist/components/modal/CModal.d.ts +1 -1
- package/dist/components/modal/CModalBody.d.ts +1 -1
- package/dist/components/modal/CModalFooter.d.ts +1 -1
- package/dist/components/modal/CModalHeader.d.ts +1 -1
- package/dist/components/modal/CModalTitle.d.ts +1 -1
- package/dist/components/multi-select/CMultiSelect.d.ts +73 -59
- package/dist/components/multi-select/CMultiSelectNativeSelect.d.ts +9 -33
- package/dist/components/multi-select/CMultiSelectOptions.d.ts +12 -41
- package/dist/components/multi-select/CMultiSelectSelection.d.ts +6 -59
- package/dist/components/multi-select/types.d.ts +8 -3
- package/dist/components/multi-select/utils.d.ts +9 -4
- package/dist/components/nav/CNav.d.ts +1 -1
- package/dist/components/nav/CNavGroup.d.ts +1 -1
- package/dist/components/nav/CNavGroupItems.d.ts +1 -1
- package/dist/components/nav/CNavItem.d.ts +1 -1
- package/dist/components/nav/CNavLink.d.ts +1 -1
- package/dist/components/nav/CNavTitle.d.ts +1 -1
- package/dist/components/navbar/CNavbar.d.ts +1 -1
- package/dist/components/navbar/CNavbarBrand.d.ts +1 -1
- package/dist/components/navbar/CNavbarNav.d.ts +1 -1
- package/dist/components/navbar/CNavbarText.d.ts +1 -1
- package/dist/components/navbar/CNavbarToggler.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvas.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvasBody.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvasHeader.d.ts +1 -1
- package/dist/components/offcanvas/COffcanvasTitle.d.ts +1 -1
- package/dist/components/pagination/CPagination.d.ts +1 -1
- package/dist/components/pagination/CPaginationItem.d.ts +1 -1
- package/dist/components/picker/CPicker.d.ts +57 -7
- package/dist/components/placeholder/CPlaceholder.d.ts +1 -1
- package/dist/components/popover/CPopover.d.ts +2 -2
- package/dist/components/progress/CProgress.d.ts +1 -1
- package/dist/components/progress/CProgressBar.d.ts +1 -1
- package/dist/components/sidebar/CSidebar.d.ts +1 -1
- package/dist/components/sidebar/CSidebarBrand.d.ts +1 -1
- package/dist/components/sidebar/CSidebarFooter.d.ts +1 -1
- package/dist/components/sidebar/CSidebarHeader.d.ts +1 -1
- package/dist/components/sidebar/CSidebarNav.d.ts +1 -1
- package/dist/components/sidebar/CSidebarToggler.d.ts +1 -1
- package/dist/components/smart-pagination/CSmartPagination.d.ts +1 -1
- package/dist/components/smart-table/CSmartTable.d.ts +20 -56
- package/dist/components/smart-table/CSmartTableBody.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableCleaner.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableFilter.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableHead.d.ts +10 -1
- package/dist/components/smart-table/CSmartTableItemsPerPageSelector.d.ts +1 -1
- package/dist/components/smart-table/types.d.ts +12 -0
- package/dist/components/smart-table/utils.d.ts +12 -2
- package/dist/components/spinner/CSpinner.d.ts +1 -1
- package/dist/components/table/CTable.d.ts +1 -1
- package/dist/components/table/CTableBody.d.ts +1 -1
- package/dist/components/table/CTableCaption.d.ts +1 -1
- package/dist/components/table/CTableDataCell.d.ts +1 -1
- package/dist/components/table/CTableFoot.d.ts +1 -1
- package/dist/components/table/CTableHead.d.ts +1 -1
- package/dist/components/table/CTableHeaderCell.d.ts +1 -1
- package/dist/components/table/CTableRow.d.ts +1 -1
- package/dist/components/tabs/CTabContent.d.ts +1 -1
- package/dist/components/tabs/CTabPane.d.ts +1 -1
- package/dist/components/time-picker/CTimePicker.d.ts +1 -1
- package/dist/components/time-picker/CTimePickerRollCol.d.ts +1 -1
- package/dist/components/toast/CToast.d.ts +1 -1
- package/dist/components/toast/CToastBody.d.ts +1 -1
- package/dist/components/toast/CToastClose.d.ts +1 -1
- package/dist/components/toast/CToastHeader.d.ts +1 -1
- package/dist/components/toast/CToaster.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +2 -2
- package/dist/components/virtual-scroller/CVirtualScroller.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsA.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsB.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsC.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsD.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsE.d.ts +1 -1
- package/dist/components/widgets/CWidgetStatsF.d.ts +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useColorModes.d.ts +5 -0
- package/dist/directives/index.d.ts +1 -1
- package/dist/directives/v-c-visible.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +4224 -4159
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4226 -4160
- package/dist/index.js.map +1 -1
- package/dist/utils/getUID.d.ts +2 -0
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/isObjectInArray.d.ts +2 -0
- package/dist/utils/isRTL.d.ts +2 -0
- package/package.json +11 -11
- package/src/components/accordion/CAccordionItem.ts +2 -2
- package/src/components/backdrop/CBackdrop.ts +1 -1
- package/src/components/calendar/CCalendar.ts +111 -49
- package/src/components/carousel/CCarousel.ts +7 -7
- package/src/components/date-picker/CDatePicker.ts +16 -1
- package/src/components/date-range-picker/CDateRangePicker.ts +179 -128
- package/src/components/date-range-picker/utils.ts +49 -0
- package/src/components/dropdown/CDropdown.ts +34 -31
- package/src/components/dropdown/CDropdownMenu.ts +1 -1
- package/src/components/dropdown/CDropdownToggle.ts +1 -1
- package/src/components/element-cover/CElementCover.ts +1 -0
- package/src/components/form/CFormCheck.ts +10 -4
- package/src/components/form/CFormInput.ts +2 -2
- package/src/components/form/CFormLabel.ts +1 -1
- package/src/components/form/CFormSelect.ts +1 -1
- package/src/components/grid/CCol.ts +1 -1
- package/src/components/grid/CContainer.ts +1 -1
- package/src/components/header/CHeader.ts +1 -1
- package/src/components/modal/CModal.ts +1 -0
- package/src/components/multi-select/CMultiSelect.ts +337 -144
- package/src/components/multi-select/CMultiSelectNativeSelect.ts +8 -15
- package/src/components/multi-select/CMultiSelectOptions.ts +32 -39
- package/src/components/multi-select/CMultiSelectSelection.ts +24 -40
- package/src/components/multi-select/types.ts +10 -4
- package/src/components/multi-select/utils.ts +71 -37
- package/src/components/nav/CNavGroup.ts +4 -0
- package/src/components/navbar/CNavbar.ts +1 -1
- package/src/components/navbar/CNavbarBrand.ts +1 -1
- package/src/components/offcanvas/COffcanvas.ts +3 -2
- package/src/components/pagination/CPaginationItem.ts +1 -1
- package/src/components/picker/CPicker.ts +106 -157
- package/src/components/popover/CPopover.ts +18 -2
- package/src/components/props.ts +2 -6
- package/src/components/sidebar/CSidebar.ts +3 -2
- package/src/components/smart-table/CSmartTable.ts +45 -52
- package/src/components/smart-table/CSmartTableBody.ts +5 -3
- package/src/components/smart-table/CSmartTableHead.ts +41 -14
- package/src/components/smart-table/types.ts +13 -0
- package/src/components/smart-table/utils.ts +119 -21
- package/src/components/spinner/CSpinner.ts +4 -2
- package/src/components/table/CTable.ts +19 -18
- package/src/components/table/types.ts +19 -19
- package/src/components/time-picker/CTimePicker.ts +216 -125
- package/src/components/toast/CToast.ts +1 -1
- package/src/components/tooltip/CTooltip.ts +19 -3
- package/src/components/virtual-scroller/CVirtualScroller.ts +10 -8
- package/src/components/widgets/CWidgetStatsA.ts +1 -1
- package/src/components/widgets/CWidgetStatsB.ts +1 -1
- package/src/components/widgets/CWidgetStatsC.ts +1 -1
- package/src/components/widgets/CWidgetStatsE.ts +1 -1
- package/src/components/widgets/CWidgetStatsF.ts +1 -1
- package/src/composables/index.ts +3 -0
- package/src/composables/useColorModes.ts +57 -0
- package/src/directives/index.ts +1 -1
- package/src/directives/v-c-popover.ts +9 -13
- package/src/directives/v-c-tooltip.ts +8 -12
- package/src/directives/v-c-visible.ts +1 -1
- package/src/index.ts +8 -29
- package/src/utils/getUID.ts +9 -0
- package/src/utils/index.ts +4 -1
- package/src/utils/isObjectInArray.ts +14 -0
- package/src/utils/isRTL.ts +13 -0
|
@@ -10,9 +10,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
10
10
|
/**
|
|
11
11
|
* Default date of the component
|
|
12
12
|
*/
|
|
13
|
-
calendarDate:
|
|
14
|
-
type: (StringConstructor | DateConstructor)[];
|
|
15
|
-
};
|
|
13
|
+
calendarDate: (StringConstructor | DateConstructor)[];
|
|
16
14
|
/**
|
|
17
15
|
* Toggle visibility or set the content of cancel button.
|
|
18
16
|
*/
|
|
@@ -121,40 +119,29 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
121
119
|
/**
|
|
122
120
|
* Specify the list of dates that cannot be selected.
|
|
123
121
|
*/
|
|
124
|
-
disabledDates:
|
|
125
|
-
type: PropType<Date[] | Date[][]>;
|
|
126
|
-
};
|
|
122
|
+
disabledDates: PropType<Date[] | Date[][]>;
|
|
127
123
|
/**
|
|
128
124
|
* Initial selected to date (range).
|
|
129
125
|
*/
|
|
130
|
-
endDate:
|
|
131
|
-
type: (StringConstructor | DateConstructor)[];
|
|
132
|
-
required: false;
|
|
133
|
-
};
|
|
126
|
+
endDate: (StringConstructor | DateConstructor)[];
|
|
134
127
|
/**
|
|
135
128
|
* Provide valuable, actionable feedback.
|
|
136
129
|
*
|
|
137
130
|
* @since 4.6.0
|
|
138
131
|
*/
|
|
139
|
-
feedback:
|
|
140
|
-
type: StringConstructor;
|
|
141
|
-
};
|
|
132
|
+
feedback: StringConstructor;
|
|
142
133
|
/**
|
|
143
134
|
* Provide valuable, actionable feedback.
|
|
144
135
|
*
|
|
145
136
|
* @since 4.6.0
|
|
146
137
|
*/
|
|
147
|
-
feedbackInvalid:
|
|
148
|
-
type: StringConstructor;
|
|
149
|
-
};
|
|
138
|
+
feedbackInvalid: StringConstructor;
|
|
150
139
|
/**
|
|
151
140
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
152
141
|
*
|
|
153
142
|
* @since 4.6.0
|
|
154
143
|
*/
|
|
155
|
-
feedbackValid:
|
|
156
|
-
type: StringConstructor;
|
|
157
|
-
};
|
|
144
|
+
feedbackValid: StringConstructor;
|
|
158
145
|
/**
|
|
159
146
|
* Sets the day of start week.
|
|
160
147
|
* - 0 - Sunday,
|
|
@@ -202,15 +189,16 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
202
189
|
*
|
|
203
190
|
* @since 4.6.0
|
|
204
191
|
*/
|
|
205
|
-
invalid:
|
|
192
|
+
invalid: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: undefined;
|
|
195
|
+
};
|
|
206
196
|
/**
|
|
207
197
|
* Add a caption for a component.
|
|
208
198
|
*
|
|
209
199
|
* @since 4.6.0
|
|
210
200
|
*/
|
|
211
|
-
label:
|
|
212
|
-
type: StringConstructor;
|
|
213
|
-
};
|
|
201
|
+
label: StringConstructor;
|
|
214
202
|
/**
|
|
215
203
|
* Sets the default locale for components. If not set, it is inherited from the navigator.language.
|
|
216
204
|
*/
|
|
@@ -221,15 +209,11 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
221
209
|
/**
|
|
222
210
|
* Max selectable date.
|
|
223
211
|
*/
|
|
224
|
-
maxDate:
|
|
225
|
-
type: (StringConstructor | DateConstructor)[];
|
|
226
|
-
};
|
|
212
|
+
maxDate: (StringConstructor | DateConstructor)[];
|
|
227
213
|
/**
|
|
228
214
|
* Min selectable date.
|
|
229
215
|
*/
|
|
230
|
-
minDate:
|
|
231
|
-
type: (StringConstructor | DateConstructor)[];
|
|
232
|
-
};
|
|
216
|
+
minDate: (StringConstructor | DateConstructor)[];
|
|
233
217
|
/**
|
|
234
218
|
* Show arrows navigation.
|
|
235
219
|
*/
|
|
@@ -247,7 +231,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
247
231
|
* Specifies a short hint that is visible in the input.
|
|
248
232
|
*/
|
|
249
233
|
placeholder: {
|
|
250
|
-
type: PropType<
|
|
234
|
+
type: PropType<string | string[]>;
|
|
251
235
|
default: () => string[];
|
|
252
236
|
};
|
|
253
237
|
/**
|
|
@@ -261,10 +245,31 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
261
245
|
* Predefined date ranges the user can select from.
|
|
262
246
|
*/
|
|
263
247
|
ranges: ObjectConstructor;
|
|
248
|
+
/**
|
|
249
|
+
* When present, it specifies that must be filled out before submitting the form.
|
|
250
|
+
*
|
|
251
|
+
* @since 4.9.0
|
|
252
|
+
*/
|
|
253
|
+
required: BooleanConstructor;
|
|
264
254
|
/**
|
|
265
255
|
* Toggle select mode between start and end date.
|
|
266
256
|
*/
|
|
267
257
|
selectEndDate: BooleanConstructor;
|
|
258
|
+
/**
|
|
259
|
+
* Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacementDays` option is set to true.
|
|
260
|
+
*
|
|
261
|
+
* @since 4.9.0
|
|
262
|
+
*/
|
|
263
|
+
selectAdjacementDays: BooleanConstructor;
|
|
264
|
+
/**
|
|
265
|
+
* Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
|
|
266
|
+
*
|
|
267
|
+
* @since 4.9.0
|
|
268
|
+
*/
|
|
269
|
+
showAdjacementDays: {
|
|
270
|
+
type: BooleanConstructor;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
268
273
|
/**
|
|
269
274
|
* Default icon or character character that separates two dates.
|
|
270
275
|
*/
|
|
@@ -285,17 +290,13 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
285
290
|
/**
|
|
286
291
|
* Initial selected date.
|
|
287
292
|
*/
|
|
288
|
-
startDate:
|
|
289
|
-
type: (StringConstructor | DateConstructor)[];
|
|
290
|
-
};
|
|
293
|
+
startDate: (StringConstructor | DateConstructor)[];
|
|
291
294
|
/**
|
|
292
295
|
* Add helper text to the component.
|
|
293
296
|
*
|
|
294
297
|
* @since 4.6.0
|
|
295
298
|
*/
|
|
296
|
-
text:
|
|
297
|
-
type: StringConstructor;
|
|
298
|
-
};
|
|
299
|
+
text: StringConstructor;
|
|
299
300
|
/**
|
|
300
301
|
* Provide an additional time selection by adding select boxes to choose times.
|
|
301
302
|
*/
|
|
@@ -347,7 +348,10 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
347
348
|
*
|
|
348
349
|
* @since 4.6.0
|
|
349
350
|
*/
|
|
350
|
-
valid:
|
|
351
|
+
valid: {
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
default: undefined;
|
|
354
|
+
};
|
|
351
355
|
/**
|
|
352
356
|
* Toggle the visibility of the component.
|
|
353
357
|
*/
|
|
@@ -375,9 +379,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
375
379
|
/**
|
|
376
380
|
* Default date of the component
|
|
377
381
|
*/
|
|
378
|
-
calendarDate:
|
|
379
|
-
type: (StringConstructor | DateConstructor)[];
|
|
380
|
-
};
|
|
382
|
+
calendarDate: (StringConstructor | DateConstructor)[];
|
|
381
383
|
/**
|
|
382
384
|
* Toggle visibility or set the content of cancel button.
|
|
383
385
|
*/
|
|
@@ -486,40 +488,29 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
486
488
|
/**
|
|
487
489
|
* Specify the list of dates that cannot be selected.
|
|
488
490
|
*/
|
|
489
|
-
disabledDates:
|
|
490
|
-
type: PropType<Date[] | Date[][]>;
|
|
491
|
-
};
|
|
491
|
+
disabledDates: PropType<Date[] | Date[][]>;
|
|
492
492
|
/**
|
|
493
493
|
* Initial selected to date (range).
|
|
494
494
|
*/
|
|
495
|
-
endDate:
|
|
496
|
-
type: (StringConstructor | DateConstructor)[];
|
|
497
|
-
required: false;
|
|
498
|
-
};
|
|
495
|
+
endDate: (StringConstructor | DateConstructor)[];
|
|
499
496
|
/**
|
|
500
497
|
* Provide valuable, actionable feedback.
|
|
501
498
|
*
|
|
502
499
|
* @since 4.6.0
|
|
503
500
|
*/
|
|
504
|
-
feedback:
|
|
505
|
-
type: StringConstructor;
|
|
506
|
-
};
|
|
501
|
+
feedback: StringConstructor;
|
|
507
502
|
/**
|
|
508
503
|
* Provide valuable, actionable feedback.
|
|
509
504
|
*
|
|
510
505
|
* @since 4.6.0
|
|
511
506
|
*/
|
|
512
|
-
feedbackInvalid:
|
|
513
|
-
type: StringConstructor;
|
|
514
|
-
};
|
|
507
|
+
feedbackInvalid: StringConstructor;
|
|
515
508
|
/**
|
|
516
509
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
517
510
|
*
|
|
518
511
|
* @since 4.6.0
|
|
519
512
|
*/
|
|
520
|
-
feedbackValid:
|
|
521
|
-
type: StringConstructor;
|
|
522
|
-
};
|
|
513
|
+
feedbackValid: StringConstructor;
|
|
523
514
|
/**
|
|
524
515
|
* Sets the day of start week.
|
|
525
516
|
* - 0 - Sunday,
|
|
@@ -567,15 +558,16 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
567
558
|
*
|
|
568
559
|
* @since 4.6.0
|
|
569
560
|
*/
|
|
570
|
-
invalid:
|
|
561
|
+
invalid: {
|
|
562
|
+
type: BooleanConstructor;
|
|
563
|
+
default: undefined;
|
|
564
|
+
};
|
|
571
565
|
/**
|
|
572
566
|
* Add a caption for a component.
|
|
573
567
|
*
|
|
574
568
|
* @since 4.6.0
|
|
575
569
|
*/
|
|
576
|
-
label:
|
|
577
|
-
type: StringConstructor;
|
|
578
|
-
};
|
|
570
|
+
label: StringConstructor;
|
|
579
571
|
/**
|
|
580
572
|
* Sets the default locale for components. If not set, it is inherited from the navigator.language.
|
|
581
573
|
*/
|
|
@@ -586,15 +578,11 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
586
578
|
/**
|
|
587
579
|
* Max selectable date.
|
|
588
580
|
*/
|
|
589
|
-
maxDate:
|
|
590
|
-
type: (StringConstructor | DateConstructor)[];
|
|
591
|
-
};
|
|
581
|
+
maxDate: (StringConstructor | DateConstructor)[];
|
|
592
582
|
/**
|
|
593
583
|
* Min selectable date.
|
|
594
584
|
*/
|
|
595
|
-
minDate:
|
|
596
|
-
type: (StringConstructor | DateConstructor)[];
|
|
597
|
-
};
|
|
585
|
+
minDate: (StringConstructor | DateConstructor)[];
|
|
598
586
|
/**
|
|
599
587
|
* Show arrows navigation.
|
|
600
588
|
*/
|
|
@@ -612,7 +600,7 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
612
600
|
* Specifies a short hint that is visible in the input.
|
|
613
601
|
*/
|
|
614
602
|
placeholder: {
|
|
615
|
-
type: PropType<
|
|
603
|
+
type: PropType<string | string[]>;
|
|
616
604
|
default: () => string[];
|
|
617
605
|
};
|
|
618
606
|
/**
|
|
@@ -626,10 +614,31 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
626
614
|
* Predefined date ranges the user can select from.
|
|
627
615
|
*/
|
|
628
616
|
ranges: ObjectConstructor;
|
|
617
|
+
/**
|
|
618
|
+
* When present, it specifies that must be filled out before submitting the form.
|
|
619
|
+
*
|
|
620
|
+
* @since 4.9.0
|
|
621
|
+
*/
|
|
622
|
+
required: BooleanConstructor;
|
|
629
623
|
/**
|
|
630
624
|
* Toggle select mode between start and end date.
|
|
631
625
|
*/
|
|
632
626
|
selectEndDate: BooleanConstructor;
|
|
627
|
+
/**
|
|
628
|
+
* Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacementDays` option is set to true.
|
|
629
|
+
*
|
|
630
|
+
* @since 4.9.0
|
|
631
|
+
*/
|
|
632
|
+
selectAdjacementDays: BooleanConstructor;
|
|
633
|
+
/**
|
|
634
|
+
* Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month.
|
|
635
|
+
*
|
|
636
|
+
* @since 4.9.0
|
|
637
|
+
*/
|
|
638
|
+
showAdjacementDays: {
|
|
639
|
+
type: BooleanConstructor;
|
|
640
|
+
default: boolean;
|
|
641
|
+
};
|
|
633
642
|
/**
|
|
634
643
|
* Default icon or character character that separates two dates.
|
|
635
644
|
*/
|
|
@@ -650,17 +659,13 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
650
659
|
/**
|
|
651
660
|
* Initial selected date.
|
|
652
661
|
*/
|
|
653
|
-
startDate:
|
|
654
|
-
type: (StringConstructor | DateConstructor)[];
|
|
655
|
-
};
|
|
662
|
+
startDate: (StringConstructor | DateConstructor)[];
|
|
656
663
|
/**
|
|
657
664
|
* Add helper text to the component.
|
|
658
665
|
*
|
|
659
666
|
* @since 4.6.0
|
|
660
667
|
*/
|
|
661
|
-
text:
|
|
662
|
-
type: StringConstructor;
|
|
663
|
-
};
|
|
668
|
+
text: StringConstructor;
|
|
664
669
|
/**
|
|
665
670
|
* Provide an additional time selection by adding select boxes to choose times.
|
|
666
671
|
*/
|
|
@@ -712,7 +717,10 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
712
717
|
*
|
|
713
718
|
* @since 4.6.0
|
|
714
719
|
*/
|
|
715
|
-
valid:
|
|
720
|
+
valid: {
|
|
721
|
+
type: BooleanConstructor;
|
|
722
|
+
default: undefined;
|
|
723
|
+
};
|
|
716
724
|
/**
|
|
717
725
|
* Toggle the visibility of the component.
|
|
718
726
|
*/
|
|
@@ -746,26 +754,29 @@ declare const CDateRangePicker: import("vue").DefineComponent<{
|
|
|
746
754
|
navYearFirst: boolean;
|
|
747
755
|
range: boolean;
|
|
748
756
|
selectEndDate: boolean;
|
|
757
|
+
selectAdjacementDays: boolean;
|
|
758
|
+
showAdjacementDays: boolean;
|
|
749
759
|
weekdayFormat: string | number | Function;
|
|
760
|
+
required: boolean;
|
|
761
|
+
footer: boolean;
|
|
750
762
|
valid: boolean;
|
|
751
763
|
tooltipFeedback: boolean;
|
|
752
764
|
cancelButton: string | boolean;
|
|
753
765
|
cancelButtonColor: string;
|
|
754
766
|
cancelButtonSize: string;
|
|
755
767
|
cancelButtonVariant: string;
|
|
768
|
+
cleaner: boolean;
|
|
756
769
|
confirmButton: string | boolean;
|
|
757
770
|
confirmButtonColor: string;
|
|
758
771
|
confirmButtonSize: string;
|
|
759
|
-
footer: boolean;
|
|
760
|
-
cleaner: boolean;
|
|
761
772
|
indicator: boolean;
|
|
762
773
|
inputReadOnly: boolean;
|
|
763
|
-
placeholder:
|
|
774
|
+
placeholder: string | string[];
|
|
764
775
|
closeOnSelect: boolean;
|
|
765
776
|
separator: boolean;
|
|
766
777
|
timepicker: boolean;
|
|
767
778
|
todayButton: string | boolean;
|
|
768
779
|
todayButtonColor: string;
|
|
769
780
|
todayButtonSize: string;
|
|
770
|
-
}>;
|
|
781
|
+
}, {}>;
|
|
771
782
|
export { CDateRangePicker };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLocalDateFromString: (string: string, locale: string, time?: boolean) => Date | undefined;
|
|
@@ -165,9 +165,9 @@ declare const CDropdown: import("vue").DefineComponent<{
|
|
|
165
165
|
disabled: boolean;
|
|
166
166
|
dark: boolean;
|
|
167
167
|
variant: string;
|
|
168
|
-
autoClose: string | boolean;
|
|
169
168
|
placement: Placement;
|
|
169
|
+
autoClose: string | boolean;
|
|
170
170
|
popper: boolean;
|
|
171
171
|
trigger: Triggers;
|
|
172
|
-
}>;
|
|
172
|
+
}, {}>;
|
|
173
173
|
export { CDropdown };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const CDropdownDivider: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
4
|
export { CDropdownDivider };
|
|
@@ -82,6 +82,10 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
82
82
|
* Set component validation state to valid.
|
|
83
83
|
*/
|
|
84
84
|
valid: BooleanConstructor;
|
|
85
|
+
/**
|
|
86
|
+
* The value attribute of component.
|
|
87
|
+
*/
|
|
88
|
+
value: StringConstructor;
|
|
85
89
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
86
90
|
[key: string]: any;
|
|
87
91
|
}> | ("" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -170,6 +174,10 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
170
174
|
* Set component validation state to valid.
|
|
171
175
|
*/
|
|
172
176
|
valid: BooleanConstructor;
|
|
177
|
+
/**
|
|
178
|
+
* The value attribute of component.
|
|
179
|
+
*/
|
|
180
|
+
value: StringConstructor;
|
|
173
181
|
}>> & {
|
|
174
182
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
175
183
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
@@ -179,7 +187,7 @@ declare const CFormCheck: import("vue").DefineComponent<{
|
|
|
179
187
|
type: string;
|
|
180
188
|
valid: boolean;
|
|
181
189
|
tooltipFeedback: boolean;
|
|
182
|
-
indeterminate: boolean;
|
|
183
190
|
inline: boolean;
|
|
184
|
-
|
|
191
|
+
indeterminate: boolean;
|
|
192
|
+
}, {}>;
|
|
185
193
|
export { CFormCheck };
|
|
@@ -184,7 +184,7 @@ declare const CFormControl: import("vue").DefineComponent<{
|
|
|
184
184
|
}>>, {
|
|
185
185
|
disabled: boolean;
|
|
186
186
|
component: string;
|
|
187
|
-
plainText: boolean;
|
|
188
187
|
readonly: boolean;
|
|
189
|
-
|
|
188
|
+
plainText: boolean;
|
|
189
|
+
}, {}>;
|
|
190
190
|
export { CFormControl, CFormControlProps };
|
|
@@ -2,5 +2,5 @@ declare const CFormControlWrapper: import("vue").DefineComponent<any, () => any[
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
}>;
|
|
5
|
+
}, {}>;
|
|
6
6
|
export { CFormControlWrapper };
|
|
@@ -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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
4
|
export { CFormFloating };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
export declare const File: {
|
|
2
|
-
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
3
|
-
prototype: File;
|
|
4
|
-
} | {
|
|
5
2
|
new (value?: any): {
|
|
6
3
|
constructor: Function;
|
|
7
4
|
toString(): string;
|
|
@@ -56,6 +53,9 @@ export declare const File: {
|
|
|
56
53
|
fromEntries(entries: Iterable<readonly any[]>): any; /**
|
|
57
54
|
* Set component validation state to invalid.
|
|
58
55
|
*/
|
|
56
|
+
} | {
|
|
57
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
58
|
+
prototype: File;
|
|
59
59
|
};
|
|
60
60
|
declare const CFormInput: import("vue").DefineComponent<{
|
|
61
61
|
/**
|
|
@@ -104,9 +104,6 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
104
104
|
* The default name for a value passed using v-model.
|
|
105
105
|
*/
|
|
106
106
|
modelValue: (NumberConstructor | StringConstructor | {
|
|
107
|
-
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
108
|
-
prototype: File;
|
|
109
|
-
} | {
|
|
110
107
|
new (value?: any): {
|
|
111
108
|
constructor: Function;
|
|
112
109
|
toString(): string;
|
|
@@ -161,6 +158,9 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
161
158
|
fromEntries(entries: Iterable<readonly any[]>): any; /**
|
|
162
159
|
* Set component validation state to invalid.
|
|
163
160
|
*/
|
|
161
|
+
} | {
|
|
162
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
163
|
+
prototype: File;
|
|
164
164
|
})[];
|
|
165
165
|
/**
|
|
166
166
|
* 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`.
|
|
@@ -253,9 +253,6 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
253
253
|
* The default name for a value passed using v-model.
|
|
254
254
|
*/
|
|
255
255
|
modelValue: (NumberConstructor | StringConstructor | {
|
|
256
|
-
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
257
|
-
prototype: File;
|
|
258
|
-
} | {
|
|
259
256
|
new (value?: any): {
|
|
260
257
|
constructor: Function;
|
|
261
258
|
toString(): string;
|
|
@@ -310,6 +307,9 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
310
307
|
fromEntries(entries: Iterable<readonly any[]>): any; /**
|
|
311
308
|
* Set component validation state to invalid.
|
|
312
309
|
*/
|
|
310
|
+
} | {
|
|
311
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
312
|
+
prototype: File;
|
|
313
313
|
})[];
|
|
314
314
|
/**
|
|
315
315
|
* 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`.
|
|
@@ -355,15 +355,15 @@ declare const CFormInput: import("vue").DefineComponent<{
|
|
|
355
355
|
valid: BooleanConstructor;
|
|
356
356
|
}>> & {
|
|
357
357
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
358
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
359
358
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
359
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
360
360
|
}, {
|
|
361
361
|
invalid: boolean;
|
|
362
362
|
type: string;
|
|
363
363
|
disabled: boolean;
|
|
364
364
|
valid: boolean;
|
|
365
365
|
tooltipFeedback: boolean;
|
|
366
|
-
plainText: boolean;
|
|
367
366
|
readonly: boolean;
|
|
368
|
-
|
|
367
|
+
plainText: boolean;
|
|
368
|
+
}, {}>;
|
|
369
369
|
export { CFormInput };
|
|
@@ -10,5 +10,5 @@ declare const CFormLabel: import("vue").DefineComponent<{
|
|
|
10
10
|
* A string of all className you want to be applied to the component, and override standard className value.
|
|
11
11
|
*/
|
|
12
12
|
customClassName: (StringConstructor | ArrayConstructor)[];
|
|
13
|
-
}>>, {}>;
|
|
13
|
+
}>>, {}, {}>;
|
|
14
14
|
export { CFormLabel };
|
|
@@ -144,14 +144,14 @@ declare const CFormTextarea: import("vue").DefineComponent<{
|
|
|
144
144
|
valid: BooleanConstructor;
|
|
145
145
|
}>> & {
|
|
146
146
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
147
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
148
147
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
}, {
|
|
150
150
|
invalid: boolean;
|
|
151
151
|
disabled: boolean;
|
|
152
152
|
valid: boolean;
|
|
153
153
|
tooltipFeedback: boolean;
|
|
154
|
-
plainText: boolean;
|
|
155
154
|
readonly: boolean;
|
|
156
|
-
|
|
155
|
+
plainText: boolean;
|
|
156
|
+
}, {}>;
|
|
157
157
|
export { CFormTextarea };
|