@coreui/vue-pro 4.8.0 → 4.8.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.
- package/README.md +1 -1
- package/dist/components/accordion/CAccordion.d.ts +2 -11
- package/dist/components/accordion/CAccordionItem.d.ts +3 -13
- package/dist/components/alert/CAlert.d.ts +2 -17
- package/dist/components/alert/CAlertHeading.d.ts +0 -2
- package/dist/components/avatar/CAvatar.d.ts +13 -25
- package/dist/components/backdrop/CBackdrop.d.ts +1 -4
- package/dist/components/badge/CBadge.d.ts +0 -12
- package/dist/components/breadcrumb/CBreadcrumbItem.d.ts +4 -19
- package/dist/components/button/CButton.d.ts +6 -43
- package/dist/components/button-group/CButtonGroup.d.ts +2 -13
- package/dist/components/card/CCardHeader.d.ts +0 -2
- package/dist/components/card/CCardImage.d.ts +0 -7
- package/dist/components/card/CCardLink.d.ts +0 -2
- package/dist/components/card/CCardSubtitle.d.ts +0 -2
- package/dist/components/card/CCardText.d.ts +0 -2
- package/dist/components/card/CCardTitle.d.ts +0 -2
- package/dist/components/carousel/CCarousel.d.ts +0 -10
- package/dist/components/carousel/CCarouselItem.d.ts +0 -4
- package/dist/components/close-button/CCloseButton.d.ts +5 -17
- package/dist/components/collapse/CCollapse.d.ts +4 -16
- package/dist/components/dropdown/CDropdown.d.ts +11 -46
- package/dist/components/dropdown/CDropdownHeader.d.ts +0 -2
- package/dist/components/dropdown/CDropdownItem.d.ts +6 -29
- package/dist/components/dropdown/CDropdownMenu.d.ts +0 -2
- package/dist/components/dropdown/CDropdownToggle.d.ts +7 -43
- package/dist/components/footer/CFooter.d.ts +1 -7
- package/dist/components/form/CForm.d.ts +2 -8
- package/dist/components/form/CFormCheck.d.ts +19 -51
- package/dist/components/form/CFormControlValidation.d.ts +8 -24
- package/dist/components/form/CFormFeedback.d.ts +0 -2
- package/dist/components/form/CFormInput.d.ts +145 -194
- package/dist/components/form/CFormLabel.d.ts +3 -13
- package/dist/components/form/CFormRange.d.ts +16 -64
- package/dist/components/form/CFormSelect.d.ts +20 -82
- package/dist/components/form/CFormSwitch.d.ts +13 -35
- package/dist/components/form/CFormText.d.ts +0 -2
- package/dist/components/form/CFormTextarea.d.ts +22 -69
- package/dist/components/form/CInputGroup.d.ts +1 -7
- package/dist/components/form/CInputGroupText.d.ts +0 -2
- package/dist/components/grid/CCol.d.ts +1 -32
- package/dist/components/grid/CContainer.d.ts +12 -48
- package/dist/components/grid/CRow.d.ts +23 -68
- package/dist/components/header/CHeader.d.ts +1 -12
- package/dist/components/header/CHeaderBrand.d.ts +0 -2
- package/dist/components/header/CHeaderNav.d.ts +0 -2
- package/dist/components/image/CImage.d.ts +6 -29
- package/dist/components/link/CLink.d.ts +6 -29
- package/dist/components/list-group/CListGroup.d.ts +2 -15
- package/dist/components/list-group/CListGroupItem.d.ts +4 -18
- package/dist/components/modal/CModal.d.ts +4 -21
- package/dist/components/modal/CModalHeader.d.ts +0 -2
- package/dist/components/modal/CModalTitle.d.ts +0 -2
- package/dist/components/nav/CNav.d.ts +0 -12
- package/dist/components/nav/CNavLink.d.ts +6 -29
- package/dist/components/navbar/CNavbar.d.ts +0 -22
- package/dist/components/navbar/CNavbarBrand.d.ts +2 -13
- package/dist/components/navbar/CNavbarNav.d.ts +0 -2
- package/dist/components/offcanvas/COffcanvas.d.ts +8 -5
- package/dist/components/offcanvas/COffcanvasTitle.d.ts +0 -2
- package/dist/components/pagination/CPagination.d.ts +1 -12
- package/dist/components/pagination/CPaginationItem.d.ts +8 -38
- package/dist/components/placeholder/CPlaceholder.d.ts +12 -78
- package/dist/components/popover/CPopover.d.ts +4 -28
- package/dist/components/progress/CProgressBar.d.ts +2 -15
- package/dist/components/props.d.ts +5 -6
- package/dist/components/sidebar/CSidebar.d.ts +4 -22
- package/dist/components/spinner/CSpinner.d.ts +0 -16
- package/dist/components/table/CTable.d.ts +17 -110
- package/dist/components/table/CTableDataCell.d.ts +4 -21
- package/dist/components/table/CTableRow.d.ts +2 -13
- package/dist/components/table/types.d.ts +14 -0
- package/dist/components/table/utils.d.ts +5 -0
- package/dist/components/tabs/CTabPane.d.ts +0 -2
- package/dist/components/toast/CToast.d.ts +7 -46
- package/dist/components/toast/CToastHeader.d.ts +2 -8
- package/dist/components/toast/CToaster.d.ts +1 -7
- package/dist/components/tooltip/CTooltip.d.ts +2 -17
- package/dist/components/widgets/CWidgetStatsA.d.ts +4 -24
- package/dist/components/widgets/CWidgetStatsB.d.ts +6 -34
- package/dist/components/widgets/CWidgetStatsC.d.ts +14 -23
- package/dist/components/widgets/CWidgetStatsD.d.ts +0 -2
- package/dist/components/widgets/CWidgetStatsE.d.ts +2 -13
- package/dist/components/widgets/CWidgetStatsF.d.ts +4 -24
- package/dist/index.es.js +356 -999
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +356 -999
- package/dist/index.js.map +1 -1
- package/dist/props.d.ts +19 -0
- package/dist/types.d.ts +5 -0
- package/package.json +13 -5
- package/src/components/accordion/CAccordion.ts +1 -5
- package/src/components/accordion/CAccordionBody.ts +1 -1
- package/src/components/accordion/CAccordionItem.ts +1 -6
- package/src/components/accordion/__tests__/__snapshots__/CAccordion.spec.ts.snap +1 -1
- package/src/components/accordion/__tests__/__snapshots__/CAccordionBody.spec.ts.snap +3 -3
- package/src/components/accordion/__tests__/__snapshots__/CAccordionButton.spec.ts.snap +1 -1
- package/src/components/accordion/__tests__/__snapshots__/CAccordionHeader.spec.ts.snap +1 -1
- package/src/components/accordion/__tests__/__snapshots__/CAccordionItem.spec.ts.snap +1 -1
- package/src/components/alert/CAlert.ts +4 -12
- package/src/components/alert/CAlertHeading.ts +0 -1
- package/src/components/alert/__tests__/CAlert.spec.ts +1 -1
- package/src/components/alert/__tests__/__snapshots__/CAlert.spec.ts.snap +16 -1
- package/src/components/alert/__tests__/__snapshots__/CAlertHeading.spec.ts.snap +2 -2
- package/src/components/alert/__tests__/__snapshots__/CAlertLink.spec.ts.snap +1 -1
- package/src/components/avatar/CAvatar.ts +3 -10
- package/src/components/avatar/__tests__/__snapshots__/CAvatar.spec.ts.snap +2 -2
- package/src/components/backdrop/CBackdrop.ts +7 -29
- package/src/components/backdrop/__tests__/__snapshots__/CBackdrop.spec.ts.snap +2 -2
- package/src/components/badge/CBadge.ts +1 -6
- package/src/components/badge/__tests__/CBadge.spec.ts +1 -1
- package/src/components/breadcrumb/CBreadcrumbItem.ts +2 -9
- package/src/components/breadcrumb/__tests__/__snapshots__/CBreadcrumb.spec.ts.snap +2 -2
- package/src/components/breadcrumb/__tests__/__snapshots__/CBreadcrumbItem.spec.ts.snap +2 -2
- package/src/components/button/CButton.ts +5 -21
- package/src/components/button/__tests__/__snapshots__/CButton.spec.ts.snap +3 -3
- package/src/components/button-group/CButtonGroup.ts +1 -6
- package/src/components/button-group/__tests__/__snapshots__/CButtonGroup.spec.ts.snap +2 -2
- package/src/components/button-group/__tests__/__snapshots__/CButtonToolbar.spec.ts.snap +1 -1
- package/src/components/callout/CCallout.ts +2 -1
- package/src/components/callout/__tests__/__snapshots__/CCallout.spec.ts.snap +2 -2
- package/src/components/card/CCard.ts +2 -1
- package/src/components/card/CCardHeader.ts +0 -1
- package/src/components/card/CCardImage.ts +0 -3
- package/src/components/card/CCardLink.ts +0 -1
- package/src/components/card/CCardSubtitle.ts +0 -1
- package/src/components/card/CCardText.ts +0 -1
- package/src/components/card/CCardTitle.ts +0 -1
- package/src/components/card/__tests__/__snapshots__/CCard.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardBody.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardFooter.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardGroup.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardHeader.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardImage.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardImageOverlay.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardLink.spec.ts.snap +1 -1
- package/src/components/card/__tests__/__snapshots__/CCardSubtitle.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardText.spec.ts.snap +2 -2
- package/src/components/card/__tests__/__snapshots__/CCardTitle.spec.ts.snap +2 -2
- package/src/components/carousel/CCarousel.ts +3 -8
- package/src/components/carousel/CCarouselItem.ts +0 -2
- package/src/components/carousel/__tests__/__snapshots__/CCarousel.spec.ts.snap +5 -5
- package/src/components/carousel/__tests__/__snapshots__/CCarouselCaption.spec.ts.snap +1 -1
- package/src/components/carousel/__tests__/__snapshots__/CCarouselItem.spec.ts.snap +2 -2
- package/src/components/close-button/CCloseButton.ts +2 -8
- package/src/components/close-button/__tests__/__snapshots__/CCloseButton.spec.ts.snap +2 -2
- package/src/components/collapse/CCollapse.ts +3 -9
- package/src/components/collapse/__test__/__snapshots__/CCollapse.spec.ts.snap +4 -4
- package/src/components/dropdown/CDropdown.ts +6 -21
- package/src/components/dropdown/CDropdownHeader.ts +0 -1
- package/src/components/dropdown/CDropdownItem.ts +3 -14
- package/src/components/dropdown/CDropdownMenu.ts +0 -1
- package/src/components/dropdown/CDropdownToggle.ts +8 -23
- package/src/components/dropdown/__tests__/CDropdown.spec.ts +1 -1
- package/src/components/dropdown/__tests__/__snapshots__/CDropdown.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownDivider.spec.ts.snap +1 -1
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownHeader.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownItem.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownMenu.spec.ts.snap +2 -2
- package/src/components/dropdown/__tests__/__snapshots__/CDropdownToggle.spec.ts.snap +2 -2
- package/src/components/footer/CFooter.ts +0 -2
- package/src/components/footer/__tests__/__snapshots__/CFooter.spec.ts.snap +2 -2
- package/src/components/form/CForm.ts +1 -4
- package/src/components/form/CFormCheck.ts +9 -25
- package/src/components/form/CFormControlValidation.ts +4 -12
- package/src/components/form/CFormControlWrapper.ts +4 -12
- package/src/components/form/CFormFeedback.ts +0 -1
- package/src/components/form/CFormInput.ts +11 -37
- package/src/components/form/CFormLabel.ts +1 -5
- package/src/components/form/CFormRange.ts +8 -30
- package/src/components/form/CFormSelect.ts +10 -39
- package/src/components/form/CFormSwitch.ts +6 -17
- package/src/components/form/CFormText.ts +0 -1
- package/src/components/form/CFormTextarea.ts +11 -34
- package/src/components/form/CInputGroup.ts +0 -2
- package/src/components/form/CInputGroupText.ts +0 -1
- package/src/components/form/__tests__/__snapshots__/CForm.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormCheck.spec.ts.snap +5 -5
- package/src/components/form/__tests__/__snapshots__/CFormFeedback.spec.ts.snap +3 -3
- package/src/components/form/__tests__/__snapshots__/CFormFloating.spec.ts.snap +1 -1
- package/src/components/form/__tests__/__snapshots__/CFormInput.spec.ts.snap +3 -3
- package/src/components/form/__tests__/__snapshots__/CFormLabel.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormRange.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormSelect.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormSwitch.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormText.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CFormTextarea.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CInputGroup.spec.ts.snap +2 -2
- package/src/components/form/__tests__/__snapshots__/CInputGroupText.spec.ts.snap +2 -2
- package/src/components/grid/CCol.ts +0 -12
- package/src/components/grid/CContainer.ts +6 -24
- package/src/components/grid/CRow.ts +11 -35
- package/src/components/grid/__tests__/__snapshots__/CCol.spec.ts.snap +2 -2
- package/src/components/grid/__tests__/__snapshots__/CContainer.spec.ts.snap +2 -2
- package/src/components/grid/__tests__/__snapshots__/CRow.spec.ts.snap +2 -2
- package/src/components/header/CHeader.ts +0 -4
- package/src/components/header/CHeaderBrand.ts +0 -1
- package/src/components/header/CHeaderNav.ts +0 -1
- package/src/components/header/__tests__/__snapshots__/CHeader.spec.ts.snap +3 -3
- package/src/components/header/__tests__/__snapshots__/CHeaderBrand.spec.ts.snap +2 -2
- package/src/components/header/__tests__/__snapshots__/CHeaderDivider.spec.ts.snap +1 -1
- package/src/components/header/__tests__/__snapshots__/CHeaderNav.spec.ts.snap +2 -2
- package/src/components/header/__tests__/__snapshots__/CHeaderText.spec.ts.snap +1 -1
- package/src/components/header/__tests__/__snapshots__/CHeaderToggler.spec.ts.snap +2 -2
- package/src/components/image/CImage.ts +3 -14
- package/src/components/image/__tests__/__snapshots__/CImage.spec.ts.snap +3 -3
- package/src/components/link/CLink.ts +3 -14
- package/src/components/link/__tests__/__snapshots__/CLink.spec.ts.snap +2 -2
- package/src/components/list-group/CListGroup.ts +1 -7
- package/src/components/list-group/CListGroupItem.ts +3 -10
- package/src/components/list-group/__tests__/__snapshots__/CListGroup.spec.ts.snap +2 -2
- package/src/components/list-group/__tests__/__snapshots__/CListGroupItem.spec.ts.snap +3 -3
- package/src/components/modal/CModal.ts +4 -11
- package/src/components/modal/CModalHeader.ts +0 -1
- package/src/components/modal/CModalTitle.ts +0 -1
- package/src/components/modal/__tests__/__snapshots__/CModal.spec.ts.snap +10 -10
- package/src/components/modal/__tests__/__snapshots__/CModalBody.spec.ts.snap +1 -1
- package/src/components/modal/__tests__/__snapshots__/CModalFooter.spec.ts.snap +1 -1
- package/src/components/modal/__tests__/__snapshots__/CModalHeader.spec.ts.snap +2 -2
- package/src/components/modal/__tests__/__snapshots__/CModalTitle.spec.ts.snap +2 -2
- package/src/components/nav/CNav.ts +0 -5
- package/src/components/nav/CNavGroup.ts +1 -1
- package/src/components/nav/CNavLink.ts +3 -14
- package/src/components/nav/__tests__/__snapshots__/CNav.spec.ts.snap +2 -2
- package/src/components/nav/__tests__/__snapshots__/CNavGroup.spec.ts.snap +5 -5
- package/src/components/nav/__tests__/__snapshots__/CNavGroupItems.spec.ts.snap +1 -1
- package/src/components/nav/__tests__/__snapshots__/CNavItem.spec.ts.snap +3 -3
- package/src/components/nav/__tests__/__snapshots__/CNavLink.spec.ts.snap +2 -2
- package/src/components/nav/__tests__/__snapshots__/CNavTitle.spec.ts.snap +1 -1
- package/src/components/navbar/CNavbar.ts +1 -10
- package/src/components/navbar/CNavbarBrand.ts +1 -6
- package/src/components/navbar/CNavbarNav.ts +0 -1
- package/src/components/navbar/__tests__/__snapshots__/CNavbar.spec.ts.snap +3 -3
- package/src/components/navbar/__tests__/__snapshots__/CNavbarBrand.spec.ts.snap +3 -3
- package/src/components/navbar/__tests__/__snapshots__/CNavbarNav.spec.ts.snap +2 -2
- package/src/components/navbar/__tests__/__snapshots__/CNavbarText.spec.ts.snap +1 -1
- package/src/components/navbar/__tests__/__snapshots__/CNavbarToggler.spec.ts.snap +2 -2
- package/src/components/offcanvas/COffcanvas.ts +11 -8
- package/src/components/offcanvas/COffcanvasTitle.ts +0 -1
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvas.spec.ts.snap +8 -8
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvasBody.spec.ts.snap +1 -1
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvasHeader.spec.ts.snap +1 -1
- package/src/components/offcanvas/__tests__/__snapshots__/COffcanvasTitle.spec.ts.snap +2 -2
- package/src/components/pagination/CPagination.ts +0 -4
- package/src/components/pagination/CPaginationItem.ts +4 -18
- package/src/components/pagination/__tests__/__snapshots__/CPagination.spec.ts.snap +2 -2
- package/src/components/pagination/__tests__/__snapshots__/CPaginationItem.spec.ts.snap +2 -2
- package/src/components/placeholder/CPlaceholder.ts +7 -36
- package/src/components/placeholder/__tests__/CPlaceholder.spec.ts +1 -1
- package/src/components/popover/CPopover.ts +3 -14
- package/src/components/progress/CProgress.ts +1 -5
- package/src/components/progress/CProgressBar.ts +2 -8
- package/src/components/progress/__tests__/__snapshots__/CProgress.spec.ts.snap +2 -2
- package/src/components/progress/__tests__/__snapshots__/CProgressBar.spec.ts.snap +2 -2
- package/src/components/props.ts +10 -8
- package/src/components/sidebar/CSidebar.ts +3 -11
- package/src/components/sidebar/__tests__/__snapshots__/CSidebar.spec.ts.snap +2 -2
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarBrand.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarFooter.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarHeader.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarNav.spec.ts.snap +1 -1
- package/src/components/sidebar/__tests__/__snapshots__/CSidebarToggler.spec.ts.snap +1 -1
- package/src/components/smart-table/CSmartTable.ts +7 -7
- package/src/components/spinner/CSpinner.ts +0 -7
- package/src/components/spinner/__tests__/__snapshots__/CSpinner.spec.ts.snap +2 -2
- package/src/components/table/CTable.ts +21 -93
- package/src/components/table/CTableBody.ts +1 -1
- package/src/components/table/CTableDataCell.ts +3 -11
- package/src/components/table/CTableFoot.ts +1 -1
- package/src/components/table/CTableHead.ts +1 -1
- package/src/components/table/CTableHeaderCell.ts +1 -1
- package/src/components/table/CTableRow.ts +2 -7
- package/src/components/table/__tests__/__snapshots__/CTable.spec.ts.snap +15 -3
- package/src/components/table/__tests__/__snapshots__/CTableBody.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableDataCell.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableFoot.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableHead.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableHeaderCell.spec.ts.snap +2 -2
- package/src/components/table/__tests__/__snapshots__/CTableRow.spec.ts.snap +2 -2
- package/src/components/table/types.ts +20 -0
- package/src/components/table/utils.ts +24 -0
- package/src/components/tabs/CTabPane.ts +1 -2
- package/src/components/tabs/__tests__/__snapshots__/CTabContent.spec.ts.snap +1 -1
- package/src/components/tabs/__tests__/__snapshots__/CTabPane.spec.ts.snap +4 -4
- package/src/components/toast/CToast.ts +48 -83
- package/src/components/toast/CToastClose.ts +1 -5
- package/src/components/toast/CToastHeader.ts +1 -4
- package/src/components/toast/CToaster.ts +0 -2
- package/src/components/toast/__tests__/CToast.spec.ts +3 -1
- package/src/components/toast/__tests__/__snapshots__/CToast.spec.ts.snap +4 -4
- package/src/components/toast/__tests__/__snapshots__/CToastBody.spec.ts.snap +1 -1
- package/src/components/toast/__tests__/__snapshots__/CToastClose.spec.ts.snap +2 -2
- package/src/components/toast/__tests__/__snapshots__/CToastHeader.spec.ts.snap +2 -2
- package/src/components/toast/__tests__/__snapshots__/CToaster.spec.ts.snap +2 -2
- package/src/components/tooltip/CTooltip.ts +2 -9
- package/src/components/widgets/CWidgetStatsA.ts +3 -12
- package/src/components/widgets/CWidgetStatsB.ts +8 -20
- package/src/components/widgets/CWidgetStatsC.ts +5 -14
- package/src/components/widgets/CWidgetStatsD.ts +4 -4
- package/src/components/widgets/CWidgetStatsE.ts +3 -8
- package/src/components/widgets/CWidgetStatsF.ts +6 -14
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsA.spec.ts.snap +3 -3
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsB.spec.ts.snap +6 -6
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsC.spec.ts.snap +7 -7
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsD.spec.ts.snap +10 -10
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsE.spec.ts.snap +4 -4
- package/src/components/widgets/__tests__/__snapshots__/CWidgetStatsF.spec.ts.snap +6 -6
- package/src/props.ts +88 -0
- package/src/types.ts +54 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Customize CFooter component renders correctly 1`] = `"<div class
|
|
3
|
+
exports[`Customize CFooter component renders correctly 1`] = `"<div class="footer footer-fixed">Default slot</div>"`;
|
|
4
4
|
|
|
5
|
-
exports[`Loads and display CFooter component renders correctly 1`] = `"<div class
|
|
5
|
+
exports[`Loads and display CFooter component renders correctly 1`] = `"<div class="footer">Default slot</div>"`;
|
|
@@ -6,10 +6,7 @@ const CForm = defineComponent({
|
|
|
6
6
|
/**
|
|
7
7
|
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.
|
|
8
8
|
*/
|
|
9
|
-
validated:
|
|
10
|
-
type: Boolean,
|
|
11
|
-
required: false,
|
|
12
|
-
},
|
|
9
|
+
validated: Boolean,
|
|
13
10
|
},
|
|
14
11
|
setup(props, { slots }) {
|
|
15
12
|
return () =>
|
|
@@ -13,33 +13,25 @@ const CFormCheck = defineComponent({
|
|
|
13
13
|
*
|
|
14
14
|
* @see http://coreui.io/vue/docs/components/button.html
|
|
15
15
|
*/
|
|
16
|
-
button:
|
|
17
|
-
type: Object,
|
|
18
|
-
},
|
|
16
|
+
button: Object,
|
|
19
17
|
/**
|
|
20
18
|
* Provide valuable, actionable feedback.
|
|
21
19
|
*
|
|
22
20
|
* @since 4.3.0
|
|
23
21
|
*/
|
|
24
|
-
feedback:
|
|
25
|
-
type: String,
|
|
26
|
-
},
|
|
22
|
+
feedback: String,
|
|
27
23
|
/**
|
|
28
24
|
* Provide valuable, actionable feedback.
|
|
29
25
|
*
|
|
30
26
|
* @since 4.3.0
|
|
31
27
|
*/
|
|
32
|
-
feedbackInvalid:
|
|
33
|
-
type: String,
|
|
34
|
-
},
|
|
28
|
+
feedbackInvalid: String,
|
|
35
29
|
/**
|
|
36
30
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
37
31
|
*
|
|
38
32
|
* @since 4.3.0
|
|
39
33
|
*/
|
|
40
|
-
feedbackValid:
|
|
41
|
-
type: String,
|
|
42
|
-
},
|
|
34
|
+
feedbackValid: String,
|
|
43
35
|
/**
|
|
44
36
|
* Sets hit area to the full area of the component.
|
|
45
37
|
*/
|
|
@@ -53,9 +45,7 @@ const CFormCheck = defineComponent({
|
|
|
53
45
|
/**
|
|
54
46
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
55
47
|
*/
|
|
56
|
-
id:
|
|
57
|
-
type: String,
|
|
58
|
-
},
|
|
48
|
+
id: String,
|
|
59
49
|
/**
|
|
60
50
|
* Input Checkbox indeterminate Property
|
|
61
51
|
*/
|
|
@@ -63,9 +53,7 @@ const CFormCheck = defineComponent({
|
|
|
63
53
|
/**
|
|
64
54
|
* Group checkboxes or radios on the same horizontal row by adding.
|
|
65
55
|
*/
|
|
66
|
-
inline:
|
|
67
|
-
type: Boolean,
|
|
68
|
-
},
|
|
56
|
+
inline: Boolean,
|
|
69
57
|
/**
|
|
70
58
|
* Set component validation state to invalid.
|
|
71
59
|
*/
|
|
@@ -73,9 +61,7 @@ const CFormCheck = defineComponent({
|
|
|
73
61
|
/**
|
|
74
62
|
* The element represents a caption for a component.
|
|
75
63
|
*/
|
|
76
|
-
label:
|
|
77
|
-
type: String,
|
|
78
|
-
},
|
|
64
|
+
label: String,
|
|
79
65
|
/**
|
|
80
66
|
* The default name for a value passed using v-model.
|
|
81
67
|
*/
|
|
@@ -86,7 +72,7 @@ const CFormCheck = defineComponent({
|
|
|
86
72
|
/**
|
|
87
73
|
* Put checkboxes or radios on the opposite side.
|
|
88
74
|
*
|
|
89
|
-
* @
|
|
75
|
+
* @since 4.8.0
|
|
90
76
|
*/
|
|
91
77
|
reverse: Boolean,
|
|
92
78
|
/**
|
|
@@ -107,9 +93,7 @@ const CFormCheck = defineComponent({
|
|
|
107
93
|
/**
|
|
108
94
|
* Set component validation state to valid.
|
|
109
95
|
*/
|
|
110
|
-
valid:
|
|
111
|
-
type: Boolean,
|
|
112
|
-
},
|
|
96
|
+
valid: Boolean,
|
|
113
97
|
},
|
|
114
98
|
emits: [
|
|
115
99
|
/**
|
|
@@ -8,33 +8,25 @@ const CFormControlValidation = defineComponent({
|
|
|
8
8
|
/**
|
|
9
9
|
* @ignore
|
|
10
10
|
*/
|
|
11
|
-
describedby:
|
|
12
|
-
type: String,
|
|
13
|
-
},
|
|
11
|
+
describedby: String,
|
|
14
12
|
/**
|
|
15
13
|
* Provide valuable, actionable feedback.
|
|
16
14
|
*
|
|
17
15
|
* @since 4.3.0
|
|
18
16
|
*/
|
|
19
|
-
feedback:
|
|
20
|
-
type: String,
|
|
21
|
-
},
|
|
17
|
+
feedback: String,
|
|
22
18
|
/**
|
|
23
19
|
* Provide valuable, actionable feedback.
|
|
24
20
|
*
|
|
25
21
|
* @since 4.3.0
|
|
26
22
|
*/
|
|
27
|
-
feedbackInvalid:
|
|
28
|
-
type: String,
|
|
29
|
-
},
|
|
23
|
+
feedbackInvalid: String,
|
|
30
24
|
/**
|
|
31
25
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
32
26
|
*
|
|
33
27
|
* @since 4.3.0
|
|
34
28
|
*/
|
|
35
|
-
feedbackValid:
|
|
36
|
-
type: String,
|
|
37
|
-
},
|
|
29
|
+
feedbackValid: String,
|
|
38
30
|
/**
|
|
39
31
|
* Set component validation state to invalid.
|
|
40
32
|
*/
|
|
@@ -14,31 +14,23 @@ const CFormControlWrapper = defineComponent({
|
|
|
14
14
|
*
|
|
15
15
|
* @since 4.3.0
|
|
16
16
|
*/
|
|
17
|
-
floatingLabel:
|
|
18
|
-
type: String,
|
|
19
|
-
},
|
|
17
|
+
floatingLabel: String,
|
|
20
18
|
/**
|
|
21
19
|
* @ignore
|
|
22
20
|
*/
|
|
23
|
-
id:
|
|
24
|
-
type: String,
|
|
25
|
-
},
|
|
21
|
+
id: String,
|
|
26
22
|
/**
|
|
27
23
|
* Add a caption for a component.
|
|
28
24
|
*
|
|
29
25
|
* @since 4.3.0
|
|
30
26
|
*/
|
|
31
|
-
label:
|
|
32
|
-
type: String,
|
|
33
|
-
},
|
|
27
|
+
label: String,
|
|
34
28
|
/**
|
|
35
29
|
* Add helper text to the component.
|
|
36
30
|
*
|
|
37
31
|
* @since 4.3.0
|
|
38
32
|
*/
|
|
39
|
-
text:
|
|
40
|
-
type: String,
|
|
41
|
-
},
|
|
33
|
+
text: String,
|
|
42
34
|
},
|
|
43
35
|
setup(props, { slots }) {
|
|
44
36
|
const formControlValidation = () =>
|
|
@@ -9,10 +9,7 @@ const CFormInput = defineComponent({
|
|
|
9
9
|
/**
|
|
10
10
|
* Toggle the disabled state for the component.
|
|
11
11
|
*/
|
|
12
|
-
disabled:
|
|
13
|
-
type: Boolean,
|
|
14
|
-
required: false,
|
|
15
|
-
},
|
|
12
|
+
disabled: Boolean,
|
|
16
13
|
|
|
17
14
|
// Inherited Props from CFormControlWrapper
|
|
18
15
|
/**
|
|
@@ -20,39 +17,29 @@ const CFormInput = defineComponent({
|
|
|
20
17
|
*
|
|
21
18
|
* @since 4.3.0
|
|
22
19
|
*/
|
|
23
|
-
feedback:
|
|
24
|
-
type: String,
|
|
25
|
-
},
|
|
20
|
+
feedback: String,
|
|
26
21
|
/**
|
|
27
22
|
* Provide valuable, actionable feedback.
|
|
28
23
|
*
|
|
29
24
|
* @since 4.3.0
|
|
30
25
|
*/
|
|
31
|
-
feedbackInvalid:
|
|
32
|
-
type: String,
|
|
33
|
-
},
|
|
26
|
+
feedbackInvalid: String,
|
|
34
27
|
/**
|
|
35
28
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
36
29
|
*
|
|
37
30
|
* @since 4.3.0
|
|
38
31
|
*/
|
|
39
|
-
feedbackValid:
|
|
40
|
-
type: String,
|
|
41
|
-
},
|
|
32
|
+
feedbackValid: String,
|
|
42
33
|
/**
|
|
43
34
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
44
35
|
*
|
|
45
36
|
* @since 4.3.0
|
|
46
37
|
*/
|
|
47
|
-
floatingLabel:
|
|
48
|
-
type: String,
|
|
49
|
-
},
|
|
38
|
+
floatingLabel: String,
|
|
50
39
|
/**
|
|
51
40
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
52
41
|
*/
|
|
53
|
-
id:
|
|
54
|
-
type: String,
|
|
55
|
-
},
|
|
42
|
+
id: String,
|
|
56
43
|
/**
|
|
57
44
|
* Set component validation state to invalid.
|
|
58
45
|
*/
|
|
@@ -62,30 +49,19 @@ const CFormInput = defineComponent({
|
|
|
62
49
|
*
|
|
63
50
|
* @since 4.3.0
|
|
64
51
|
*/
|
|
65
|
-
label:
|
|
66
|
-
type: String,
|
|
67
|
-
},
|
|
52
|
+
label: String,
|
|
68
53
|
/**
|
|
69
54
|
* The default name for a value passed using v-model.
|
|
70
55
|
*/
|
|
71
|
-
modelValue:
|
|
72
|
-
type: [File, Number, String],
|
|
73
|
-
default: undefined,
|
|
74
|
-
},
|
|
56
|
+
modelValue: [File, Number, String],
|
|
75
57
|
/**
|
|
76
58
|
* 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`.
|
|
77
59
|
*/
|
|
78
|
-
plainText:
|
|
79
|
-
type: Boolean,
|
|
80
|
-
required: false,
|
|
81
|
-
},
|
|
60
|
+
plainText: Boolean,
|
|
82
61
|
/**
|
|
83
62
|
* Toggle the readonly state for the component.
|
|
84
63
|
*/
|
|
85
|
-
readonly:
|
|
86
|
-
type: Boolean,
|
|
87
|
-
required: false,
|
|
88
|
-
},
|
|
64
|
+
readonly: Boolean,
|
|
89
65
|
/**
|
|
90
66
|
* Size the component small or large.
|
|
91
67
|
*
|
|
@@ -102,9 +78,7 @@ const CFormInput = defineComponent({
|
|
|
102
78
|
*
|
|
103
79
|
* @since 4.3.0
|
|
104
80
|
*/
|
|
105
|
-
text:
|
|
106
|
-
type: String,
|
|
107
|
-
},
|
|
81
|
+
text: String,
|
|
108
82
|
/**
|
|
109
83
|
* Display validation feedback in a styled tooltip.
|
|
110
84
|
*
|
|
@@ -6,11 +6,7 @@ const CFormLabel = defineComponent({
|
|
|
6
6
|
/**
|
|
7
7
|
* A string of all className you want to be applied to the component, and override standard className value.
|
|
8
8
|
*/
|
|
9
|
-
customClassName:
|
|
10
|
-
type: [Array, String],
|
|
11
|
-
default: undefined,
|
|
12
|
-
required: false,
|
|
13
|
-
},
|
|
9
|
+
customClassName: [Array, String],
|
|
14
10
|
},
|
|
15
11
|
setup(props, { slots }) {
|
|
16
12
|
return () =>
|
|
@@ -7,61 +7,39 @@ const CFormRange = defineComponent({
|
|
|
7
7
|
/**
|
|
8
8
|
* Toggle the disabled state for the component.
|
|
9
9
|
*/
|
|
10
|
-
disabled:
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: undefined,
|
|
13
|
-
},
|
|
10
|
+
disabled: Boolean,
|
|
14
11
|
/**
|
|
15
12
|
* Add a caption for a component.
|
|
16
13
|
*
|
|
17
14
|
* @since 4.3.0
|
|
18
15
|
*/
|
|
19
|
-
label:
|
|
20
|
-
type: String,
|
|
21
|
-
},
|
|
16
|
+
label: String,
|
|
22
17
|
/**
|
|
23
18
|
* Specifies the maximum value for the component.
|
|
24
19
|
*/
|
|
25
|
-
max:
|
|
26
|
-
type: Number,
|
|
27
|
-
default: undefined,
|
|
28
|
-
},
|
|
20
|
+
max: Number,
|
|
29
21
|
/**
|
|
30
22
|
* Specifies the minimum value for the component.
|
|
31
23
|
*/
|
|
32
|
-
min:
|
|
33
|
-
type: Number,
|
|
34
|
-
default: undefined,
|
|
35
|
-
},
|
|
24
|
+
min: Number,
|
|
36
25
|
/**
|
|
37
26
|
* The default name for a value passed using v-model.
|
|
38
27
|
*/
|
|
39
|
-
modelValue:
|
|
40
|
-
type: String,
|
|
41
|
-
value: undefined,
|
|
42
|
-
},
|
|
28
|
+
modelValue: String,
|
|
43
29
|
/**
|
|
44
30
|
* Toggle the readonly state for the component.
|
|
45
31
|
*/
|
|
46
|
-
readonly:
|
|
47
|
-
type: Boolean,
|
|
48
|
-
},
|
|
32
|
+
readonly: Boolean,
|
|
49
33
|
/**
|
|
50
34
|
* Specifies the interval between legal numbers in the component.
|
|
51
35
|
*/
|
|
52
|
-
steps:
|
|
53
|
-
type: Number,
|
|
54
|
-
default: undefined,
|
|
55
|
-
},
|
|
36
|
+
steps: Number,
|
|
56
37
|
/**
|
|
57
38
|
* The `value` attribute of component.
|
|
58
39
|
*
|
|
59
40
|
* @controllable onChange
|
|
60
41
|
* */
|
|
61
|
-
value:
|
|
62
|
-
type: Number,
|
|
63
|
-
default: undefined,
|
|
64
|
-
},
|
|
42
|
+
value: Number,
|
|
65
43
|
},
|
|
66
44
|
emits: [
|
|
67
45
|
/**
|
|
@@ -16,47 +16,33 @@ const CFormSelect = defineComponent({
|
|
|
16
16
|
*
|
|
17
17
|
* @since 4.3.0
|
|
18
18
|
*/
|
|
19
|
-
feedback:
|
|
20
|
-
type: String,
|
|
21
|
-
},
|
|
19
|
+
feedback: String,
|
|
22
20
|
/**
|
|
23
21
|
* Provide valuable, actionable feedback.
|
|
24
22
|
*
|
|
25
23
|
* @since 4.3.0
|
|
26
24
|
*/
|
|
27
|
-
feedbackInvalid:
|
|
28
|
-
type: String,
|
|
29
|
-
},
|
|
25
|
+
feedbackInvalid: String,
|
|
30
26
|
/**
|
|
31
27
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
32
28
|
*
|
|
33
29
|
* @since 4.3.0
|
|
34
30
|
*/
|
|
35
|
-
feedbackValid:
|
|
36
|
-
type: String,
|
|
37
|
-
},
|
|
31
|
+
feedbackValid: String,
|
|
38
32
|
/**
|
|
39
33
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
40
34
|
*
|
|
41
35
|
* @since 4.3.0
|
|
42
36
|
*/
|
|
43
|
-
floatingLabel:
|
|
44
|
-
type: String,
|
|
45
|
-
},
|
|
37
|
+
floatingLabel: String,
|
|
46
38
|
/**
|
|
47
39
|
* Specifies the number of visible options in a drop-down list.
|
|
48
40
|
*/
|
|
49
|
-
htmlSize:
|
|
50
|
-
type: Number,
|
|
51
|
-
default: undefined,
|
|
52
|
-
required: false,
|
|
53
|
-
},
|
|
41
|
+
htmlSize: Number,
|
|
54
42
|
/**
|
|
55
43
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
56
44
|
*/
|
|
57
|
-
id:
|
|
58
|
-
type: String,
|
|
59
|
-
},
|
|
45
|
+
id: String,
|
|
60
46
|
/**
|
|
61
47
|
* Set component validation state to invalid.
|
|
62
48
|
*/
|
|
@@ -66,32 +52,21 @@ const CFormSelect = defineComponent({
|
|
|
66
52
|
*
|
|
67
53
|
* @since 4.3.0
|
|
68
54
|
*/
|
|
69
|
-
label:
|
|
70
|
-
type: String,
|
|
71
|
-
},
|
|
55
|
+
label: String,
|
|
72
56
|
/**
|
|
73
57
|
* The default name for a value passed using v-model.
|
|
74
58
|
*/
|
|
75
59
|
modelValue: {
|
|
76
60
|
type: [String, Array] as PropType<string | string[]>,
|
|
77
|
-
default: undefined,
|
|
78
|
-
require: false,
|
|
79
|
-
},
|
|
80
|
-
multiple: {
|
|
81
|
-
type: Boolean,
|
|
82
|
-
required: false,
|
|
83
61
|
},
|
|
62
|
+
multiple: Boolean,
|
|
84
63
|
/**
|
|
85
64
|
* Options list of the select component. Available keys: `label`, `value`, `disabled`.
|
|
86
65
|
* Examples:
|
|
87
66
|
* - `:options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"`
|
|
88
67
|
* - `:options="['js', 'html']"`
|
|
89
68
|
*/
|
|
90
|
-
options:
|
|
91
|
-
type: Array as PropType<Option[] | string[]>,
|
|
92
|
-
default: undefined,
|
|
93
|
-
required: false,
|
|
94
|
-
},
|
|
69
|
+
options: Array as PropType<Option[] | string[]>,
|
|
95
70
|
/**
|
|
96
71
|
* Size the component small or large.
|
|
97
72
|
*
|
|
@@ -99,8 +74,6 @@ const CFormSelect = defineComponent({
|
|
|
99
74
|
*/
|
|
100
75
|
size: {
|
|
101
76
|
type: String,
|
|
102
|
-
default: undefined,
|
|
103
|
-
require: false,
|
|
104
77
|
validator: (value: string) => {
|
|
105
78
|
return ['sm', 'lg'].includes(value)
|
|
106
79
|
},
|
|
@@ -110,9 +83,7 @@ const CFormSelect = defineComponent({
|
|
|
110
83
|
*
|
|
111
84
|
* @since 4.3.0
|
|
112
85
|
*/
|
|
113
|
-
text:
|
|
114
|
-
type: String,
|
|
115
|
-
},
|
|
86
|
+
text: String,
|
|
116
87
|
/**
|
|
117
88
|
* Display validation feedback in a styled tooltip.
|
|
118
89
|
*
|
|
@@ -9,32 +9,23 @@ const CFormSwitch = defineComponent({
|
|
|
9
9
|
/**
|
|
10
10
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document
|
|
11
11
|
*/
|
|
12
|
-
id:
|
|
13
|
-
type: String,
|
|
14
|
-
},
|
|
12
|
+
id: String,
|
|
15
13
|
/**
|
|
16
14
|
* Set component validation state to invalid.
|
|
17
15
|
*/
|
|
18
|
-
invalid:
|
|
19
|
-
type: Boolean,
|
|
20
|
-
},
|
|
16
|
+
invalid: Boolean,
|
|
21
17
|
/**
|
|
22
18
|
* The element represents a caption for a component.
|
|
23
19
|
*/
|
|
24
|
-
label:
|
|
25
|
-
type: String,
|
|
26
|
-
},
|
|
20
|
+
label: String,
|
|
27
21
|
/**
|
|
28
22
|
* The default name for a value passed using v-model.
|
|
29
23
|
*/
|
|
30
|
-
modelValue:
|
|
31
|
-
type: [Boolean, String],
|
|
32
|
-
value: undefined,
|
|
33
|
-
},
|
|
24
|
+
modelValue: [Boolean, String],
|
|
34
25
|
/**
|
|
35
26
|
* Put checkboxes or radios on the opposite side.
|
|
36
27
|
*
|
|
37
|
-
* @
|
|
28
|
+
* @since 4.8.0
|
|
38
29
|
*/
|
|
39
30
|
reverse: Boolean,
|
|
40
31
|
/**
|
|
@@ -60,9 +51,7 @@ const CFormSwitch = defineComponent({
|
|
|
60
51
|
/**
|
|
61
52
|
* Set component validation state to valid.
|
|
62
53
|
*/
|
|
63
|
-
valid:
|
|
64
|
-
type: Boolean,
|
|
65
|
-
},
|
|
54
|
+
valid: Boolean,
|
|
66
55
|
},
|
|
67
56
|
emits: [
|
|
68
57
|
/**
|
|
@@ -7,47 +7,35 @@ const CFormTextarea = defineComponent({
|
|
|
7
7
|
/**
|
|
8
8
|
* Toggle the disabled state for the component.
|
|
9
9
|
*/
|
|
10
|
-
disabled:
|
|
11
|
-
type: Boolean,
|
|
12
|
-
},
|
|
10
|
+
disabled: Boolean,
|
|
13
11
|
/**
|
|
14
12
|
* Provide valuable, actionable feedback.
|
|
15
13
|
*
|
|
16
14
|
* @since 4.3.0
|
|
17
15
|
*/
|
|
18
|
-
feedback:
|
|
19
|
-
type: String,
|
|
20
|
-
},
|
|
16
|
+
feedback: String,
|
|
21
17
|
/**
|
|
22
18
|
* Provide valuable, actionable feedback.
|
|
23
19
|
*
|
|
24
20
|
* @since 4.3.0
|
|
25
21
|
*/
|
|
26
|
-
feedbackInvalid:
|
|
27
|
-
type: String,
|
|
28
|
-
},
|
|
22
|
+
feedbackInvalid: String,
|
|
29
23
|
/**
|
|
30
24
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
31
25
|
*
|
|
32
26
|
* @since 4.3.0
|
|
33
27
|
*/
|
|
34
|
-
feedbackValid:
|
|
35
|
-
type: String,
|
|
36
|
-
},
|
|
28
|
+
feedbackValid: String,
|
|
37
29
|
/**
|
|
38
30
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
39
31
|
*
|
|
40
32
|
* @since 4.3.0
|
|
41
33
|
*/
|
|
42
|
-
floatingLabel:
|
|
43
|
-
type: String,
|
|
44
|
-
},
|
|
34
|
+
floatingLabel: String,
|
|
45
35
|
/**
|
|
46
36
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
47
37
|
*/
|
|
48
|
-
id:
|
|
49
|
-
type: String,
|
|
50
|
-
},
|
|
38
|
+
id: String,
|
|
51
39
|
/**
|
|
52
40
|
* Set component validation state to invalid.
|
|
53
41
|
*/
|
|
@@ -57,36 +45,25 @@ const CFormTextarea = defineComponent({
|
|
|
57
45
|
*
|
|
58
46
|
* @since 4.3.0
|
|
59
47
|
*/
|
|
60
|
-
label:
|
|
61
|
-
type: String,
|
|
62
|
-
},
|
|
48
|
+
label: String,
|
|
63
49
|
/**
|
|
64
50
|
* The default name for a value passed using v-model.
|
|
65
51
|
*/
|
|
66
|
-
modelValue:
|
|
67
|
-
type: String,
|
|
68
|
-
default: undefined,
|
|
69
|
-
},
|
|
52
|
+
modelValue: String,
|
|
70
53
|
/**
|
|
71
54
|
* 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`.
|
|
72
55
|
*/
|
|
73
|
-
plainText:
|
|
74
|
-
type: Boolean,
|
|
75
|
-
},
|
|
56
|
+
plainText: Boolean,
|
|
76
57
|
/**
|
|
77
58
|
* Toggle the readonly state for the component.
|
|
78
59
|
*/
|
|
79
|
-
readonly:
|
|
80
|
-
type: Boolean,
|
|
81
|
-
},
|
|
60
|
+
readonly: Boolean,
|
|
82
61
|
/**
|
|
83
62
|
* Add helper text to the component.
|
|
84
63
|
*
|
|
85
64
|
* @since 4.3.0
|
|
86
65
|
*/
|
|
87
|
-
text:
|
|
88
|
-
type: String,
|
|
89
|
-
},
|
|
66
|
+
text: String,
|
|
90
67
|
/**
|
|
91
68
|
* Display validation feedback in a styled tooltip.
|
|
92
69
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Customize CForm component renders correctly 1`] = `"<form class
|
|
3
|
+
exports[`Customize CForm component renders correctly 1`] = `"<form class="was-validated">Default slot</form>"`;
|
|
4
4
|
|
|
5
|
-
exports[`Loads and display CForm component renders correctly 1`] = `"<form class
|
|
5
|
+
exports[`Loads and display CForm component renders correctly 1`] = `"<form class="">Default slot</form>"`;
|