@coreui/vue-pro 4.8.0-next.1 → 4.8.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 +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 +30 -49
- 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 +24 -33
- 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/smart-table/CSmartTable.d.ts +1 -1
- package/dist/components/smart-table/CSmartTableHead.d.ts +1 -1
- 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 +385 -1012
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +384 -1011
- package/dist/index.js.map +1 -1
- package/dist/props.d.ts +19 -0
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
- 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 +37 -40
- 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__/__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 +15 -24
- 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 +12 -16
- 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
- package/dist/components/accordion/CAccordionCollapse.d.ts +0 -22
- package/dist/components/multi-select/CMultiSelect copy.d.ts +0 -305
- package/dist/components/pagination/CSmartPagination.d.ts +0 -257
- package/dist/utils/calendar.d.ts +0 -23
- package/dist/utils/getNextSibling.d.ts +0 -2
- package/dist/utils/getPreviousSibling.d.ts +0 -2
- package/dist/utils/isObjectInArray.d.ts +0 -2
- package/dist/utils/isVisible.d.ts +0 -2
- package/dist/utils/time.d.ts +0 -21
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, provide, h as h$1, Transition, withDirectives, inject, watch,
|
|
1
|
+
import { defineComponent, ref, provide, h as h$1, Transition, withDirectives, inject, watch, onBeforeMount, onMounted, onUpdated, toRefs, onUnmounted, cloneVNode, nextTick, vShow, computed, Teleport, onBeforeUnmount } from 'vue';
|
|
2
2
|
|
|
3
3
|
const CAccordion = defineComponent({
|
|
4
4
|
name: 'CAccordion',
|
|
@@ -6,11 +6,7 @@ const CAccordion = defineComponent({
|
|
|
6
6
|
/**
|
|
7
7
|
* The active item key.
|
|
8
8
|
*/
|
|
9
|
-
activeItemKey:
|
|
10
|
-
type: [Number, String],
|
|
11
|
-
default: undefined,
|
|
12
|
-
require: false,
|
|
13
|
-
},
|
|
9
|
+
activeItemKey: [Number, String],
|
|
14
10
|
/**
|
|
15
11
|
* Make accordion items stay open when another item is opened
|
|
16
12
|
*/
|
|
@@ -116,17 +112,11 @@ const CCollapse = defineComponent({
|
|
|
116
112
|
/**
|
|
117
113
|
* Set horizontal collapsing to transition the width instead of height.
|
|
118
114
|
*/
|
|
119
|
-
horizontal:
|
|
120
|
-
type: Boolean,
|
|
121
|
-
required: false,
|
|
122
|
-
},
|
|
115
|
+
horizontal: Boolean,
|
|
123
116
|
/**
|
|
124
117
|
* Toggle the visibility of component.
|
|
125
118
|
*/
|
|
126
|
-
visible:
|
|
127
|
-
type: Boolean,
|
|
128
|
-
required: false,
|
|
129
|
-
},
|
|
119
|
+
visible: Boolean,
|
|
130
120
|
},
|
|
131
121
|
emits: [
|
|
132
122
|
/**
|
|
@@ -241,16 +231,11 @@ const CAccordionItem = defineComponent({
|
|
|
241
231
|
/**
|
|
242
232
|
* The item key.
|
|
243
233
|
*/
|
|
244
|
-
itemKey:
|
|
245
|
-
type: [Number, String],
|
|
246
|
-
default: undefined,
|
|
247
|
-
require: false,
|
|
248
|
-
},
|
|
234
|
+
itemKey: [Number, String]
|
|
249
235
|
},
|
|
250
236
|
setup(props, { slots }) {
|
|
251
237
|
const activeItemKey = inject('activeItemKey');
|
|
252
238
|
const alwaysOpen = inject('alwaysOpen');
|
|
253
|
-
// eslint-disable-next-line no-unused-vars
|
|
254
239
|
const setActiveItemKey = inject('setActiveItemKey');
|
|
255
240
|
const itemKey = ref(props.itemKey ? props.itemKey : Math.random().toString(36).substr(2, 9));
|
|
256
241
|
const visible = ref(Boolean(activeItemKey.value === itemKey.value));
|
|
@@ -275,6 +260,54 @@ const CAccordionPlugin = {
|
|
|
275
260
|
},
|
|
276
261
|
};
|
|
277
262
|
|
|
263
|
+
const CCloseButton = defineComponent({
|
|
264
|
+
name: 'CCloseButton',
|
|
265
|
+
props: {
|
|
266
|
+
/**
|
|
267
|
+
* Toggle the disabled state for the component.
|
|
268
|
+
*/
|
|
269
|
+
disabled: Boolean,
|
|
270
|
+
/**
|
|
271
|
+
* Change the default color to white.
|
|
272
|
+
*/
|
|
273
|
+
white: Boolean,
|
|
274
|
+
},
|
|
275
|
+
emits: [
|
|
276
|
+
/**
|
|
277
|
+
* Event called when the user clicks on the component.
|
|
278
|
+
*/
|
|
279
|
+
'click',
|
|
280
|
+
],
|
|
281
|
+
setup(props, { emit }) {
|
|
282
|
+
const handleClick = () => {
|
|
283
|
+
if (props.disabled) {
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
emit('click');
|
|
287
|
+
};
|
|
288
|
+
return () => h$1('button', {
|
|
289
|
+
type: 'button',
|
|
290
|
+
class: [
|
|
291
|
+
'btn',
|
|
292
|
+
'btn-close',
|
|
293
|
+
{
|
|
294
|
+
['btn-close-white']: props.white,
|
|
295
|
+
},
|
|
296
|
+
props.disabled,
|
|
297
|
+
],
|
|
298
|
+
'aria-label': 'Close',
|
|
299
|
+
disabled: props.disabled,
|
|
300
|
+
onClick: handleClick,
|
|
301
|
+
});
|
|
302
|
+
},
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
const CCloseButtonPlugin = {
|
|
306
|
+
install: (app) => {
|
|
307
|
+
app.component(CCloseButton.name, CCloseButton);
|
|
308
|
+
},
|
|
309
|
+
};
|
|
310
|
+
|
|
278
311
|
const Shape = {
|
|
279
312
|
type: String,
|
|
280
313
|
validator: (value) => {
|
|
@@ -294,7 +327,7 @@ const Shape = {
|
|
|
294
327
|
].includes(value);
|
|
295
328
|
},
|
|
296
329
|
};
|
|
297
|
-
const Color = {
|
|
330
|
+
const Color$1 = {
|
|
298
331
|
type: String,
|
|
299
332
|
validator: (value) => {
|
|
300
333
|
// The value must match one of these strings
|
|
@@ -344,54 +377,6 @@ const TextColor = {
|
|
|
344
377
|
},
|
|
345
378
|
};
|
|
346
379
|
|
|
347
|
-
const CCloseButton = defineComponent({
|
|
348
|
-
name: 'CCloseButton',
|
|
349
|
-
props: {
|
|
350
|
-
/**
|
|
351
|
-
* Toggle the disabled state for the component.
|
|
352
|
-
*/
|
|
353
|
-
disabled: {
|
|
354
|
-
type: Boolean,
|
|
355
|
-
required: false,
|
|
356
|
-
},
|
|
357
|
-
/**
|
|
358
|
-
* Change the default color to white.
|
|
359
|
-
*/
|
|
360
|
-
white: {
|
|
361
|
-
type: Boolean,
|
|
362
|
-
required: false,
|
|
363
|
-
},
|
|
364
|
-
},
|
|
365
|
-
emits: [
|
|
366
|
-
/**
|
|
367
|
-
* Event called when the user clicks on the component.
|
|
368
|
-
*/
|
|
369
|
-
'click',
|
|
370
|
-
],
|
|
371
|
-
setup(props, { emit }) {
|
|
372
|
-
const handleClick = () => {
|
|
373
|
-
if (props.disabled) {
|
|
374
|
-
return;
|
|
375
|
-
}
|
|
376
|
-
emit('click');
|
|
377
|
-
};
|
|
378
|
-
return () => h$1('button', {
|
|
379
|
-
type: 'button',
|
|
380
|
-
class: [
|
|
381
|
-
'btn',
|
|
382
|
-
'btn-close',
|
|
383
|
-
{
|
|
384
|
-
['btn-close-white']: props.white,
|
|
385
|
-
},
|
|
386
|
-
props.disabled,
|
|
387
|
-
],
|
|
388
|
-
'aria-label': 'Close',
|
|
389
|
-
disabled: props.disabled,
|
|
390
|
-
onClick: handleClick,
|
|
391
|
-
});
|
|
392
|
-
},
|
|
393
|
-
});
|
|
394
|
-
|
|
395
380
|
const CAlert = defineComponent({
|
|
396
381
|
name: 'CAlert',
|
|
397
382
|
props: {
|
|
@@ -400,15 +385,11 @@ const CAlert = defineComponent({
|
|
|
400
385
|
*
|
|
401
386
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
402
387
|
*/
|
|
403
|
-
color: Color,
|
|
388
|
+
color: Color$1,
|
|
404
389
|
/**
|
|
405
390
|
* Optionally add a close button to alert and allow it to self dismisss.
|
|
406
391
|
*/
|
|
407
|
-
dismissible:
|
|
408
|
-
type: Boolean,
|
|
409
|
-
default: false,
|
|
410
|
-
required: false,
|
|
411
|
-
},
|
|
392
|
+
dismissible: Boolean,
|
|
412
393
|
/**
|
|
413
394
|
* Set the alert variant to a solid.
|
|
414
395
|
*
|
|
@@ -416,8 +397,6 @@ const CAlert = defineComponent({
|
|
|
416
397
|
*/
|
|
417
398
|
variant: {
|
|
418
399
|
type: String,
|
|
419
|
-
default: undefined,
|
|
420
|
-
required: false,
|
|
421
400
|
validator: (value) => {
|
|
422
401
|
return value === 'solid';
|
|
423
402
|
},
|
|
@@ -428,7 +407,6 @@ const CAlert = defineComponent({
|
|
|
428
407
|
visible: {
|
|
429
408
|
type: Boolean,
|
|
430
409
|
default: true,
|
|
431
|
-
required: false,
|
|
432
410
|
},
|
|
433
411
|
},
|
|
434
412
|
emits: [
|
|
@@ -447,8 +425,6 @@ const CAlert = defineComponent({
|
|
|
447
425
|
emit('close');
|
|
448
426
|
};
|
|
449
427
|
return () => h$1(Transition, {
|
|
450
|
-
name: 'fade',
|
|
451
|
-
duration: 350,
|
|
452
428
|
enterFromClass: '',
|
|
453
429
|
enterActiveClass: 'fade',
|
|
454
430
|
enterToClass: 'fade show',
|
|
@@ -488,7 +464,6 @@ const CAlertHeading = defineComponent({
|
|
|
488
464
|
component: {
|
|
489
465
|
type: String,
|
|
490
466
|
default: 'h4',
|
|
491
|
-
required: false,
|
|
492
467
|
},
|
|
493
468
|
},
|
|
494
469
|
setup(props, { slots }) {
|
|
@@ -523,7 +498,7 @@ const CAvatar = defineComponent({
|
|
|
523
498
|
*
|
|
524
499
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
525
500
|
*/
|
|
526
|
-
color: Color,
|
|
501
|
+
color: Color$1,
|
|
527
502
|
/**
|
|
528
503
|
* Select the shape of the component.
|
|
529
504
|
*
|
|
@@ -537,8 +512,6 @@ const CAvatar = defineComponent({
|
|
|
537
512
|
*/
|
|
538
513
|
size: {
|
|
539
514
|
type: String,
|
|
540
|
-
default: undefined,
|
|
541
|
-
required: false,
|
|
542
515
|
validator: (value) => {
|
|
543
516
|
return ['sm', 'md', 'lg', 'xl'].includes(value);
|
|
544
517
|
},
|
|
@@ -546,11 +519,7 @@ const CAvatar = defineComponent({
|
|
|
546
519
|
/**
|
|
547
520
|
* The src attribute for the img element.
|
|
548
521
|
*/
|
|
549
|
-
src:
|
|
550
|
-
type: String,
|
|
551
|
-
default: undefined,
|
|
552
|
-
required: false,
|
|
553
|
-
},
|
|
522
|
+
src: String,
|
|
554
523
|
/**
|
|
555
524
|
* Sets the color context of the status indicator to one of CoreUI’s themed colors.
|
|
556
525
|
*
|
|
@@ -558,8 +527,6 @@ const CAvatar = defineComponent({
|
|
|
558
527
|
*/
|
|
559
528
|
status: {
|
|
560
529
|
type: String,
|
|
561
|
-
default: undefined,
|
|
562
|
-
required: false,
|
|
563
530
|
validator: (value) => {
|
|
564
531
|
return [
|
|
565
532
|
'primary',
|
|
@@ -615,32 +582,16 @@ const CBackdrop = defineComponent({
|
|
|
615
582
|
visible: {
|
|
616
583
|
type: Boolean,
|
|
617
584
|
default: false,
|
|
618
|
-
required: false,
|
|
619
585
|
},
|
|
620
586
|
},
|
|
621
587
|
setup(props) {
|
|
622
|
-
const handleBeforeEnter = (el) => {
|
|
623
|
-
el.classList.remove('d-none');
|
|
624
|
-
};
|
|
625
|
-
const handleEnter = (el, done) => {
|
|
626
|
-
executeAfterTransition(() => done(), el);
|
|
627
|
-
setTimeout(() => {
|
|
628
|
-
el.style.visibility = 'visible';
|
|
629
|
-
el.classList.add('show');
|
|
630
|
-
}, 1);
|
|
631
|
-
};
|
|
632
|
-
const handleLeave = (el, done) => {
|
|
633
|
-
executeAfterTransition(() => done(), el);
|
|
634
|
-
el.classList.remove('show');
|
|
635
|
-
};
|
|
636
|
-
const handleAfterLeave = (el) => {
|
|
637
|
-
el.classList.add('d-none');
|
|
638
|
-
};
|
|
639
588
|
return () => h$1(Transition, {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
589
|
+
onEnter: (el) => {
|
|
590
|
+
el.classList.add('show');
|
|
591
|
+
},
|
|
592
|
+
onLeave: (el) => {
|
|
593
|
+
el.classList.remove('show');
|
|
594
|
+
}
|
|
644
595
|
}, () => props.visible &&
|
|
645
596
|
h$1('div', {
|
|
646
597
|
class: 'fade',
|
|
@@ -662,13 +613,12 @@ const CBadge = defineComponent({
|
|
|
662
613
|
*
|
|
663
614
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
664
615
|
*/
|
|
665
|
-
color: Color,
|
|
616
|
+
color: Color$1,
|
|
666
617
|
/**
|
|
667
618
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
668
619
|
*/
|
|
669
620
|
component: {
|
|
670
621
|
type: String,
|
|
671
|
-
required: false,
|
|
672
622
|
default: 'span',
|
|
673
623
|
},
|
|
674
624
|
/**
|
|
@@ -678,8 +628,6 @@ const CBadge = defineComponent({
|
|
|
678
628
|
*/
|
|
679
629
|
position: {
|
|
680
630
|
type: String,
|
|
681
|
-
default: undefined,
|
|
682
|
-
required: false,
|
|
683
631
|
validator: (value) => {
|
|
684
632
|
return ['top-start', 'top-end', 'bottom-end', 'bottom-start'].includes(value);
|
|
685
633
|
},
|
|
@@ -697,8 +645,6 @@ const CBadge = defineComponent({
|
|
|
697
645
|
*/
|
|
698
646
|
size: {
|
|
699
647
|
type: String,
|
|
700
|
-
default: undefined,
|
|
701
|
-
required: false,
|
|
702
648
|
validator: (value) => {
|
|
703
649
|
return value === 'sm';
|
|
704
650
|
},
|
|
@@ -742,18 +688,11 @@ const CBreadcrumbItem = defineComponent({
|
|
|
742
688
|
/**
|
|
743
689
|
* Toggle the active state for the component.
|
|
744
690
|
*/
|
|
745
|
-
active:
|
|
746
|
-
type: Boolean,
|
|
747
|
-
required: false,
|
|
748
|
-
},
|
|
691
|
+
active: Boolean,
|
|
749
692
|
/**
|
|
750
693
|
* The `href` attribute for the inner link component.
|
|
751
694
|
*/
|
|
752
|
-
href:
|
|
753
|
-
type: String,
|
|
754
|
-
default: undefined,
|
|
755
|
-
required: false,
|
|
756
|
-
},
|
|
695
|
+
href: String,
|
|
757
696
|
},
|
|
758
697
|
setup(props, { slots }) {
|
|
759
698
|
return () => h$1('li', {
|
|
@@ -792,40 +731,28 @@ const CButton = defineComponent({
|
|
|
792
731
|
/**
|
|
793
732
|
* Toggle the active state for the component.
|
|
794
733
|
*/
|
|
795
|
-
active:
|
|
796
|
-
type: Boolean,
|
|
797
|
-
default: false,
|
|
798
|
-
required: false,
|
|
799
|
-
},
|
|
734
|
+
active: Boolean,
|
|
800
735
|
/**
|
|
801
736
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
802
737
|
*
|
|
803
738
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
804
739
|
*/
|
|
805
|
-
color: Color,
|
|
740
|
+
color: Color$1,
|
|
806
741
|
/**
|
|
807
742
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
808
743
|
*/
|
|
809
744
|
component: {
|
|
810
745
|
type: String,
|
|
811
746
|
default: 'button',
|
|
812
|
-
required: false,
|
|
813
747
|
},
|
|
814
748
|
/**
|
|
815
749
|
* Toggle the disabled state for the component.
|
|
816
750
|
*/
|
|
817
|
-
disabled:
|
|
818
|
-
type: Boolean,
|
|
819
|
-
required: false,
|
|
820
|
-
},
|
|
751
|
+
disabled: Boolean,
|
|
821
752
|
/**
|
|
822
753
|
* The href attribute specifies the URL of the page the link goes to.
|
|
823
754
|
*/
|
|
824
|
-
href:
|
|
825
|
-
type: String,
|
|
826
|
-
default: undefined,
|
|
827
|
-
required: false,
|
|
828
|
-
},
|
|
755
|
+
href: String,
|
|
829
756
|
/**
|
|
830
757
|
* Select the shape of the component.
|
|
831
758
|
*
|
|
@@ -839,8 +766,6 @@ const CButton = defineComponent({
|
|
|
839
766
|
*/
|
|
840
767
|
size: {
|
|
841
768
|
type: String,
|
|
842
|
-
default: undefined,
|
|
843
|
-
required: false,
|
|
844
769
|
validator: (value) => {
|
|
845
770
|
return ['sm', 'lg'].includes(value);
|
|
846
771
|
},
|
|
@@ -854,7 +779,6 @@ const CButton = defineComponent({
|
|
|
854
779
|
type: {
|
|
855
780
|
type: String,
|
|
856
781
|
default: 'button',
|
|
857
|
-
required: false,
|
|
858
782
|
validator: (value) => {
|
|
859
783
|
return ['button', 'submit', 'reset'].includes(value);
|
|
860
784
|
},
|
|
@@ -866,8 +790,6 @@ const CButton = defineComponent({
|
|
|
866
790
|
*/
|
|
867
791
|
variant: {
|
|
868
792
|
type: String,
|
|
869
|
-
default: undefined,
|
|
870
|
-
required: false,
|
|
871
793
|
validator: (value) => {
|
|
872
794
|
return ['ghost', 'outline'].includes(value);
|
|
873
795
|
},
|
|
@@ -929,8 +851,6 @@ const CButtonGroup = defineComponent({
|
|
|
929
851
|
*/
|
|
930
852
|
size: {
|
|
931
853
|
type: String,
|
|
932
|
-
default: undefined,
|
|
933
|
-
required: false,
|
|
934
854
|
validator: (value) => {
|
|
935
855
|
return ['sm', 'lg'].includes(value);
|
|
936
856
|
},
|
|
@@ -938,10 +858,7 @@ const CButtonGroup = defineComponent({
|
|
|
938
858
|
/**
|
|
939
859
|
* Create a set of buttons that appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.
|
|
940
860
|
*/
|
|
941
|
-
vertical:
|
|
942
|
-
type: Boolean,
|
|
943
|
-
required: false,
|
|
944
|
-
},
|
|
861
|
+
vertical: Boolean,
|
|
945
862
|
},
|
|
946
863
|
setup(props, { slots }) {
|
|
947
864
|
return () => h$1('div', {
|
|
@@ -1633,7 +1550,7 @@ const CCallout = defineComponent({
|
|
|
1633
1550
|
*
|
|
1634
1551
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
1635
1552
|
*/
|
|
1636
|
-
color: Color,
|
|
1553
|
+
color: Color$1,
|
|
1637
1554
|
},
|
|
1638
1555
|
setup(props, { slots }) {
|
|
1639
1556
|
return () => h$1('div', {
|
|
@@ -1661,7 +1578,7 @@ const CCard = defineComponent({
|
|
|
1661
1578
|
*
|
|
1662
1579
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
1663
1580
|
*/
|
|
1664
|
-
color: Color,
|
|
1581
|
+
color: Color$1,
|
|
1665
1582
|
/**
|
|
1666
1583
|
* Sets the text color context of the component to one of CoreUI’s themed colors.
|
|
1667
1584
|
*
|
|
@@ -1711,7 +1628,6 @@ const CCardHeader = defineComponent({
|
|
|
1711
1628
|
*/
|
|
1712
1629
|
component: {
|
|
1713
1630
|
type: String,
|
|
1714
|
-
required: false,
|
|
1715
1631
|
default: 'div',
|
|
1716
1632
|
},
|
|
1717
1633
|
},
|
|
@@ -1728,7 +1644,6 @@ const CCardImage = defineComponent({
|
|
|
1728
1644
|
*/
|
|
1729
1645
|
component: {
|
|
1730
1646
|
type: String,
|
|
1731
|
-
required: false,
|
|
1732
1647
|
default: 'img',
|
|
1733
1648
|
},
|
|
1734
1649
|
/**
|
|
@@ -1738,8 +1653,6 @@ const CCardImage = defineComponent({
|
|
|
1738
1653
|
*/
|
|
1739
1654
|
orientation: {
|
|
1740
1655
|
type: String,
|
|
1741
|
-
default: undefined,
|
|
1742
|
-
required: false,
|
|
1743
1656
|
validator: (value) => {
|
|
1744
1657
|
return ['top', 'bottom'].includes(value);
|
|
1745
1658
|
},
|
|
@@ -1765,33 +1678,22 @@ const CLink = defineComponent({
|
|
|
1765
1678
|
/**
|
|
1766
1679
|
* Toggle the active state for the component.
|
|
1767
1680
|
*/
|
|
1768
|
-
active:
|
|
1769
|
-
type: Boolean,
|
|
1770
|
-
required: false,
|
|
1771
|
-
},
|
|
1681
|
+
active: Boolean,
|
|
1772
1682
|
/**
|
|
1773
1683
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
1774
1684
|
*/
|
|
1775
1685
|
component: {
|
|
1776
1686
|
type: String,
|
|
1777
|
-
required: false,
|
|
1778
1687
|
default: 'a',
|
|
1779
1688
|
},
|
|
1780
1689
|
/**
|
|
1781
1690
|
* Toggle the disabled state for the component.
|
|
1782
1691
|
*/
|
|
1783
|
-
disabled:
|
|
1784
|
-
type: Boolean,
|
|
1785
|
-
required: false,
|
|
1786
|
-
},
|
|
1692
|
+
disabled: Boolean,
|
|
1787
1693
|
/**
|
|
1788
1694
|
* The href attribute specifies the URL of the page the link goes to.
|
|
1789
1695
|
*/
|
|
1790
|
-
href:
|
|
1791
|
-
type: String,
|
|
1792
|
-
default: undefined,
|
|
1793
|
-
required: false,
|
|
1794
|
-
},
|
|
1696
|
+
href: String,
|
|
1795
1697
|
},
|
|
1796
1698
|
emits: [
|
|
1797
1699
|
/**
|
|
@@ -1830,7 +1732,6 @@ const CCardLink = defineComponent({
|
|
|
1830
1732
|
href: {
|
|
1831
1733
|
type: String,
|
|
1832
1734
|
default: '#',
|
|
1833
|
-
required: false,
|
|
1834
1735
|
},
|
|
1835
1736
|
},
|
|
1836
1737
|
setup(props, { slots }) {
|
|
@@ -1846,7 +1747,6 @@ const CCardSubtitle = defineComponent({
|
|
|
1846
1747
|
*/
|
|
1847
1748
|
component: {
|
|
1848
1749
|
type: String,
|
|
1849
|
-
required: false,
|
|
1850
1750
|
default: 'h6',
|
|
1851
1751
|
},
|
|
1852
1752
|
},
|
|
@@ -1863,7 +1763,6 @@ const CCardText = defineComponent({
|
|
|
1863
1763
|
*/
|
|
1864
1764
|
component: {
|
|
1865
1765
|
type: String,
|
|
1866
|
-
required: false,
|
|
1867
1766
|
default: 'p',
|
|
1868
1767
|
},
|
|
1869
1768
|
},
|
|
@@ -1880,7 +1779,6 @@ const CCardTitle = defineComponent({
|
|
|
1880
1779
|
*/
|
|
1881
1780
|
component: {
|
|
1882
1781
|
type: String,
|
|
1883
|
-
required: false,
|
|
1884
1782
|
default: 'h5',
|
|
1885
1783
|
},
|
|
1886
1784
|
},
|
|
@@ -1930,7 +1828,6 @@ const CCarousel = defineComponent({
|
|
|
1930
1828
|
index: {
|
|
1931
1829
|
type: Number,
|
|
1932
1830
|
default: 0,
|
|
1933
|
-
required: false,
|
|
1934
1831
|
},
|
|
1935
1832
|
/**
|
|
1936
1833
|
* Adding indicators at the bottom of the carousel for each item.
|
|
@@ -1942,7 +1839,6 @@ const CCarousel = defineComponent({
|
|
|
1942
1839
|
interval: {
|
|
1943
1840
|
type: [Boolean, Number],
|
|
1944
1841
|
default: 5000,
|
|
1945
|
-
required: false,
|
|
1946
1842
|
},
|
|
1947
1843
|
/**
|
|
1948
1844
|
* If set to 'hover', pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleave. If set to false, hovering over the carousel won't pause it.
|
|
@@ -1950,7 +1846,6 @@ const CCarousel = defineComponent({
|
|
|
1950
1846
|
pause: {
|
|
1951
1847
|
type: [Boolean, String],
|
|
1952
1848
|
default: 'hover',
|
|
1953
|
-
required: false,
|
|
1954
1849
|
validator: (value) => {
|
|
1955
1850
|
return typeof value === 'boolean' || value === 'hover';
|
|
1956
1851
|
},
|
|
@@ -1963,7 +1858,6 @@ const CCarousel = defineComponent({
|
|
|
1963
1858
|
transition: {
|
|
1964
1859
|
type: String,
|
|
1965
1860
|
default: 'slide',
|
|
1966
|
-
required: false,
|
|
1967
1861
|
validator: (value) => {
|
|
1968
1862
|
return ['crossfade', 'slide'].includes(value);
|
|
1969
1863
|
},
|
|
@@ -1974,15 +1868,17 @@ const CCarousel = defineComponent({
|
|
|
1974
1868
|
wrap: {
|
|
1975
1869
|
type: Boolean,
|
|
1976
1870
|
default: true,
|
|
1977
|
-
required: false,
|
|
1978
1871
|
},
|
|
1979
1872
|
},
|
|
1980
1873
|
setup(props, { slots }) {
|
|
1981
1874
|
const carouselRef = ref();
|
|
1982
|
-
const
|
|
1875
|
+
const active = ref(props.index);
|
|
1983
1876
|
const animating = ref(false);
|
|
1984
|
-
const visible = ref();
|
|
1985
1877
|
const customInterval = ref(props.interval);
|
|
1878
|
+
const direction = ref('next');
|
|
1879
|
+
const items = ref([]);
|
|
1880
|
+
const timeout = ref();
|
|
1881
|
+
const visible = ref();
|
|
1986
1882
|
const setAnimating = (value) => {
|
|
1987
1883
|
animating.value = value;
|
|
1988
1884
|
};
|
|
@@ -1998,27 +1894,16 @@ const CCarousel = defineComponent({
|
|
|
1998
1894
|
timeout.value = setTimeout(() => nextItemWhenVisible(), typeof customInterval.value === 'number' ? customInterval.value : props.interval);
|
|
1999
1895
|
}
|
|
2000
1896
|
};
|
|
2001
|
-
const
|
|
2002
|
-
items: [],
|
|
2003
|
-
active: props.index,
|
|
2004
|
-
direction: 'next',
|
|
2005
|
-
});
|
|
2006
|
-
onBeforeMount(() => {
|
|
2007
|
-
if (slots.default) {
|
|
2008
|
-
// @ts-expect-error TODO: fix types
|
|
2009
|
-
state.items = slots.default().filter((child) => child.type.name === 'CCarouselItem');
|
|
2010
|
-
}
|
|
2011
|
-
});
|
|
2012
|
-
const handleControlClick = (direction) => {
|
|
1897
|
+
const handleControlClick = (_direction) => {
|
|
2013
1898
|
if (animating.value) {
|
|
2014
1899
|
return;
|
|
2015
1900
|
}
|
|
2016
|
-
|
|
2017
|
-
if (
|
|
2018
|
-
|
|
1901
|
+
direction.value = _direction;
|
|
1902
|
+
if (_direction === 'next') {
|
|
1903
|
+
active.value === items.value.length - 1 ? (active.value = 0) : active.value++;
|
|
2019
1904
|
}
|
|
2020
1905
|
else {
|
|
2021
|
-
|
|
1906
|
+
active.value === 0 ? (active.value = items.value.length - 1) : active.value--;
|
|
2022
1907
|
}
|
|
2023
1908
|
};
|
|
2024
1909
|
const nextItemWhenVisible = () => {
|
|
@@ -2029,17 +1914,17 @@ const CCarousel = defineComponent({
|
|
|
2029
1914
|
}
|
|
2030
1915
|
};
|
|
2031
1916
|
const handleIndicatorClick = (index) => {
|
|
2032
|
-
if (
|
|
1917
|
+
if (active.value === index) {
|
|
2033
1918
|
return;
|
|
2034
1919
|
}
|
|
2035
|
-
if (
|
|
2036
|
-
|
|
2037
|
-
|
|
1920
|
+
if (active.value < index) {
|
|
1921
|
+
direction.value = 'next';
|
|
1922
|
+
active.value = index;
|
|
2038
1923
|
return;
|
|
2039
1924
|
}
|
|
2040
|
-
if (
|
|
2041
|
-
|
|
2042
|
-
|
|
1925
|
+
if (active.value > index) {
|
|
1926
|
+
direction.value = 'prev';
|
|
1927
|
+
active.value = index;
|
|
2043
1928
|
}
|
|
2044
1929
|
};
|
|
2045
1930
|
const handleScroll = () => {
|
|
@@ -2050,6 +1935,15 @@ const CCarousel = defineComponent({
|
|
|
2050
1935
|
visible.value = false;
|
|
2051
1936
|
}
|
|
2052
1937
|
};
|
|
1938
|
+
onBeforeMount(() => {
|
|
1939
|
+
if (slots.default) {
|
|
1940
|
+
const children = typeof slots.default()[0].type === 'symbol' ? slots.default()[0].children : slots.default();
|
|
1941
|
+
if (children && Array.isArray(children)) {
|
|
1942
|
+
// @ts-expect-error TODO: fix types
|
|
1943
|
+
items.value = children.filter((child) => child.type.name === 'CCarouselItem');
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
});
|
|
2053
1947
|
onMounted(() => {
|
|
2054
1948
|
window.addEventListener('scroll', handleScroll);
|
|
2055
1949
|
});
|
|
@@ -2059,7 +1953,7 @@ const CCarousel = defineComponent({
|
|
|
2059
1953
|
!animating.value && cycle();
|
|
2060
1954
|
return;
|
|
2061
1955
|
}
|
|
2062
|
-
if (!props.wrap &&
|
|
1956
|
+
if (!props.wrap && active.value < items.value.length - 1) {
|
|
2063
1957
|
!animating.value && cycle();
|
|
2064
1958
|
}
|
|
2065
1959
|
});
|
|
@@ -2080,19 +1974,19 @@ const CCarousel = defineComponent({
|
|
|
2080
1974
|
props.indicators &&
|
|
2081
1975
|
h$1('div', {
|
|
2082
1976
|
class: 'carousel-indicators',
|
|
2083
|
-
},
|
|
1977
|
+
}, items.value.map((_, index) => {
|
|
2084
1978
|
return h$1('button', {
|
|
2085
1979
|
type: 'button',
|
|
2086
1980
|
id: index,
|
|
2087
1981
|
'data-coreui-target': '',
|
|
2088
|
-
...(
|
|
1982
|
+
...(active.value === index && { class: 'active' }),
|
|
2089
1983
|
onClick: () => handleIndicatorClick(index),
|
|
2090
1984
|
});
|
|
2091
1985
|
})),
|
|
2092
|
-
h$1('div', { class: 'carousel-inner' },
|
|
1986
|
+
h$1('div', { class: 'carousel-inner' }, items.value.map((item, index) => {
|
|
2093
1987
|
return h$1(item, {
|
|
2094
|
-
active:
|
|
2095
|
-
direction:
|
|
1988
|
+
active: active.value === index ? true : false,
|
|
1989
|
+
direction: direction.value,
|
|
2096
1990
|
});
|
|
2097
1991
|
})),
|
|
2098
1992
|
props.controls && [
|
|
@@ -2144,7 +2038,6 @@ const CCarouselItem = defineComponent({
|
|
|
2144
2038
|
direction: {
|
|
2145
2039
|
type: String,
|
|
2146
2040
|
default: 'next',
|
|
2147
|
-
required: false,
|
|
2148
2041
|
},
|
|
2149
2042
|
/**
|
|
2150
2043
|
* The amount of time to delay between automatically cycling an item.
|
|
@@ -2152,7 +2045,6 @@ const CCarouselItem = defineComponent({
|
|
|
2152
2045
|
interval: {
|
|
2153
2046
|
type: [Boolean, Number],
|
|
2154
2047
|
default: false,
|
|
2155
|
-
required: false,
|
|
2156
2048
|
},
|
|
2157
2049
|
},
|
|
2158
2050
|
setup(props, { slots }) {
|
|
@@ -2214,12 +2106,6 @@ const CCarouselPlugin = {
|
|
|
2214
2106
|
},
|
|
2215
2107
|
};
|
|
2216
2108
|
|
|
2217
|
-
const CCloseButtonPlugin = {
|
|
2218
|
-
install: (app) => {
|
|
2219
|
-
app.component(CCloseButton.name, CCloseButton);
|
|
2220
|
-
},
|
|
2221
|
-
};
|
|
2222
|
-
|
|
2223
2109
|
const CCollapsePlugin = {
|
|
2224
2110
|
install: (app) => {
|
|
2225
2111
|
app.component(CCollapse.name, CCollapse);
|
|
@@ -4587,10 +4473,7 @@ const CForm = defineComponent({
|
|
|
4587
4473
|
/**
|
|
4588
4474
|
* Mark a form as validated. If you set it `true`, all validation styles will be applied to the forms component.
|
|
4589
4475
|
*/
|
|
4590
|
-
validated:
|
|
4591
|
-
type: Boolean,
|
|
4592
|
-
required: false,
|
|
4593
|
-
},
|
|
4476
|
+
validated: Boolean,
|
|
4594
4477
|
},
|
|
4595
4478
|
setup(props, { slots }) {
|
|
4596
4479
|
return () => h$1('form', { class: [{ ['was-validated']: props.validated }] }, slots.default && slots.default());
|
|
@@ -4605,7 +4488,6 @@ const CFormFeedback = defineComponent({
|
|
|
4605
4488
|
*/
|
|
4606
4489
|
component: {
|
|
4607
4490
|
type: String,
|
|
4608
|
-
required: false,
|
|
4609
4491
|
default: 'div',
|
|
4610
4492
|
},
|
|
4611
4493
|
/**
|
|
@@ -4640,33 +4522,25 @@ const CFormControlValidation = defineComponent({
|
|
|
4640
4522
|
/**
|
|
4641
4523
|
* @ignore
|
|
4642
4524
|
*/
|
|
4643
|
-
describedby:
|
|
4644
|
-
type: String,
|
|
4645
|
-
},
|
|
4525
|
+
describedby: String,
|
|
4646
4526
|
/**
|
|
4647
4527
|
* Provide valuable, actionable feedback.
|
|
4648
4528
|
*
|
|
4649
4529
|
* @since 4.3.0
|
|
4650
4530
|
*/
|
|
4651
|
-
feedback:
|
|
4652
|
-
type: String,
|
|
4653
|
-
},
|
|
4531
|
+
feedback: String,
|
|
4654
4532
|
/**
|
|
4655
4533
|
* Provide valuable, actionable feedback.
|
|
4656
4534
|
*
|
|
4657
4535
|
* @since 4.3.0
|
|
4658
4536
|
*/
|
|
4659
|
-
feedbackInvalid:
|
|
4660
|
-
type: String,
|
|
4661
|
-
},
|
|
4537
|
+
feedbackInvalid: String,
|
|
4662
4538
|
/**
|
|
4663
4539
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
4664
4540
|
*
|
|
4665
4541
|
* @since 4.3.0
|
|
4666
4542
|
*/
|
|
4667
|
-
feedbackValid:
|
|
4668
|
-
type: String,
|
|
4669
|
-
},
|
|
4543
|
+
feedbackValid: String,
|
|
4670
4544
|
/**
|
|
4671
4545
|
* Set component validation state to invalid.
|
|
4672
4546
|
*/
|
|
@@ -4719,11 +4593,7 @@ const CFormLabel = defineComponent({
|
|
|
4719
4593
|
/**
|
|
4720
4594
|
* A string of all className you want to be applied to the component, and override standard className value.
|
|
4721
4595
|
*/
|
|
4722
|
-
customClassName:
|
|
4723
|
-
type: [Array, String],
|
|
4724
|
-
default: undefined,
|
|
4725
|
-
required: false,
|
|
4726
|
-
},
|
|
4596
|
+
customClassName: [Array, String],
|
|
4727
4597
|
},
|
|
4728
4598
|
setup(props, { slots }) {
|
|
4729
4599
|
return () => h$1('label', {
|
|
@@ -4741,33 +4611,25 @@ const CFormCheck = defineComponent({
|
|
|
4741
4611
|
*
|
|
4742
4612
|
* @see http://coreui.io/vue/docs/components/button.html
|
|
4743
4613
|
*/
|
|
4744
|
-
button:
|
|
4745
|
-
type: Object,
|
|
4746
|
-
},
|
|
4614
|
+
button: Object,
|
|
4747
4615
|
/**
|
|
4748
4616
|
* Provide valuable, actionable feedback.
|
|
4749
4617
|
*
|
|
4750
4618
|
* @since 4.3.0
|
|
4751
4619
|
*/
|
|
4752
|
-
feedback:
|
|
4753
|
-
type: String,
|
|
4754
|
-
},
|
|
4620
|
+
feedback: String,
|
|
4755
4621
|
/**
|
|
4756
4622
|
* Provide valuable, actionable feedback.
|
|
4757
4623
|
*
|
|
4758
4624
|
* @since 4.3.0
|
|
4759
4625
|
*/
|
|
4760
|
-
feedbackInvalid:
|
|
4761
|
-
type: String,
|
|
4762
|
-
},
|
|
4626
|
+
feedbackInvalid: String,
|
|
4763
4627
|
/**
|
|
4764
4628
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
4765
4629
|
*
|
|
4766
4630
|
* @since 4.3.0
|
|
4767
4631
|
*/
|
|
4768
|
-
feedbackValid:
|
|
4769
|
-
type: String,
|
|
4770
|
-
},
|
|
4632
|
+
feedbackValid: String,
|
|
4771
4633
|
/**
|
|
4772
4634
|
* Sets hit area to the full area of the component.
|
|
4773
4635
|
*/
|
|
@@ -4781,9 +4643,7 @@ const CFormCheck = defineComponent({
|
|
|
4781
4643
|
/**
|
|
4782
4644
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
4783
4645
|
*/
|
|
4784
|
-
id:
|
|
4785
|
-
type: String,
|
|
4786
|
-
},
|
|
4646
|
+
id: String,
|
|
4787
4647
|
/**
|
|
4788
4648
|
* Input Checkbox indeterminate Property
|
|
4789
4649
|
*/
|
|
@@ -4791,9 +4651,7 @@ const CFormCheck = defineComponent({
|
|
|
4791
4651
|
/**
|
|
4792
4652
|
* Group checkboxes or radios on the same horizontal row by adding.
|
|
4793
4653
|
*/
|
|
4794
|
-
inline:
|
|
4795
|
-
type: Boolean,
|
|
4796
|
-
},
|
|
4654
|
+
inline: Boolean,
|
|
4797
4655
|
/**
|
|
4798
4656
|
* Set component validation state to invalid.
|
|
4799
4657
|
*/
|
|
@@ -4801,9 +4659,7 @@ const CFormCheck = defineComponent({
|
|
|
4801
4659
|
/**
|
|
4802
4660
|
* The element represents a caption for a component.
|
|
4803
4661
|
*/
|
|
4804
|
-
label:
|
|
4805
|
-
type: String,
|
|
4806
|
-
},
|
|
4662
|
+
label: String,
|
|
4807
4663
|
/**
|
|
4808
4664
|
* The default name for a value passed using v-model.
|
|
4809
4665
|
*/
|
|
@@ -4811,6 +4667,12 @@ const CFormCheck = defineComponent({
|
|
|
4811
4667
|
type: [Boolean, String],
|
|
4812
4668
|
value: undefined,
|
|
4813
4669
|
},
|
|
4670
|
+
/**
|
|
4671
|
+
* Put checkboxes or radios on the opposite side.
|
|
4672
|
+
*
|
|
4673
|
+
* @sinve 4.8.0
|
|
4674
|
+
*/
|
|
4675
|
+
reverse: Boolean,
|
|
4814
4676
|
/**
|
|
4815
4677
|
* Display validation feedback in a styled tooltip.
|
|
4816
4678
|
*
|
|
@@ -4829,9 +4691,7 @@ const CFormCheck = defineComponent({
|
|
|
4829
4691
|
/**
|
|
4830
4692
|
* Set component validation state to valid.
|
|
4831
4693
|
*/
|
|
4832
|
-
valid:
|
|
4833
|
-
type: Boolean,
|
|
4834
|
-
},
|
|
4694
|
+
valid: Boolean,
|
|
4835
4695
|
},
|
|
4836
4696
|
emits: [
|
|
4837
4697
|
/**
|
|
@@ -4853,6 +4713,7 @@ const CFormCheck = defineComponent({
|
|
|
4853
4713
|
'form-check',
|
|
4854
4714
|
{
|
|
4855
4715
|
'form-check-inline': props.inline,
|
|
4716
|
+
'form-check-reverse': props.reverse,
|
|
4856
4717
|
'is-invalid': props.invalid,
|
|
4857
4718
|
'is-valid': props.valid,
|
|
4858
4719
|
},
|
|
@@ -4934,7 +4795,6 @@ const CFormText = defineComponent({
|
|
|
4934
4795
|
*/
|
|
4935
4796
|
component: {
|
|
4936
4797
|
type: String,
|
|
4937
|
-
required: false,
|
|
4938
4798
|
default: 'div',
|
|
4939
4799
|
},
|
|
4940
4800
|
},
|
|
@@ -4953,31 +4813,23 @@ const CFormControlWrapper = defineComponent({
|
|
|
4953
4813
|
*
|
|
4954
4814
|
* @since 4.3.0
|
|
4955
4815
|
*/
|
|
4956
|
-
floatingLabel:
|
|
4957
|
-
type: String,
|
|
4958
|
-
},
|
|
4816
|
+
floatingLabel: String,
|
|
4959
4817
|
/**
|
|
4960
4818
|
* @ignore
|
|
4961
4819
|
*/
|
|
4962
|
-
id:
|
|
4963
|
-
type: String,
|
|
4964
|
-
},
|
|
4820
|
+
id: String,
|
|
4965
4821
|
/**
|
|
4966
4822
|
* Add a caption for a component.
|
|
4967
4823
|
*
|
|
4968
4824
|
* @since 4.3.0
|
|
4969
4825
|
*/
|
|
4970
|
-
label:
|
|
4971
|
-
type: String,
|
|
4972
|
-
},
|
|
4826
|
+
label: String,
|
|
4973
4827
|
/**
|
|
4974
4828
|
* Add helper text to the component.
|
|
4975
4829
|
*
|
|
4976
4830
|
* @since 4.3.0
|
|
4977
4831
|
*/
|
|
4978
|
-
text:
|
|
4979
|
-
type: String,
|
|
4980
|
-
},
|
|
4832
|
+
text: String,
|
|
4981
4833
|
},
|
|
4982
4834
|
setup(props, { slots }) {
|
|
4983
4835
|
const formControlValidation = () => h$1(CFormControlValidation, {
|
|
@@ -5041,49 +4893,36 @@ const CFormInput = defineComponent({
|
|
|
5041
4893
|
/**
|
|
5042
4894
|
* Toggle the disabled state for the component.
|
|
5043
4895
|
*/
|
|
5044
|
-
disabled:
|
|
5045
|
-
type: Boolean,
|
|
5046
|
-
required: false,
|
|
5047
|
-
},
|
|
4896
|
+
disabled: Boolean,
|
|
5048
4897
|
// Inherited Props from CFormControlWrapper
|
|
5049
4898
|
/**
|
|
5050
4899
|
* Provide valuable, actionable feedback.
|
|
5051
4900
|
*
|
|
5052
4901
|
* @since 4.3.0
|
|
5053
4902
|
*/
|
|
5054
|
-
feedback:
|
|
5055
|
-
type: String,
|
|
5056
|
-
},
|
|
4903
|
+
feedback: String,
|
|
5057
4904
|
/**
|
|
5058
4905
|
* Provide valuable, actionable feedback.
|
|
5059
4906
|
*
|
|
5060
4907
|
* @since 4.3.0
|
|
5061
4908
|
*/
|
|
5062
|
-
feedbackInvalid:
|
|
5063
|
-
type: String,
|
|
5064
|
-
},
|
|
4909
|
+
feedbackInvalid: String,
|
|
5065
4910
|
/**
|
|
5066
4911
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5067
4912
|
*
|
|
5068
4913
|
* @since 4.3.0
|
|
5069
4914
|
*/
|
|
5070
|
-
feedbackValid:
|
|
5071
|
-
type: String,
|
|
5072
|
-
},
|
|
4915
|
+
feedbackValid: String,
|
|
5073
4916
|
/**
|
|
5074
4917
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5075
4918
|
*
|
|
5076
4919
|
* @since 4.3.0
|
|
5077
4920
|
*/
|
|
5078
|
-
floatingLabel:
|
|
5079
|
-
type: String,
|
|
5080
|
-
},
|
|
4921
|
+
floatingLabel: String,
|
|
5081
4922
|
/**
|
|
5082
4923
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5083
4924
|
*/
|
|
5084
|
-
id:
|
|
5085
|
-
type: String,
|
|
5086
|
-
},
|
|
4925
|
+
id: String,
|
|
5087
4926
|
/**
|
|
5088
4927
|
* Set component validation state to invalid.
|
|
5089
4928
|
*/
|
|
@@ -5093,30 +4932,19 @@ const CFormInput = defineComponent({
|
|
|
5093
4932
|
*
|
|
5094
4933
|
* @since 4.3.0
|
|
5095
4934
|
*/
|
|
5096
|
-
label:
|
|
5097
|
-
type: String,
|
|
5098
|
-
},
|
|
4935
|
+
label: String,
|
|
5099
4936
|
/**
|
|
5100
4937
|
* The default name for a value passed using v-model.
|
|
5101
4938
|
*/
|
|
5102
|
-
modelValue:
|
|
5103
|
-
type: [File, Number, String],
|
|
5104
|
-
default: undefined,
|
|
5105
|
-
},
|
|
4939
|
+
modelValue: [File, Number, String],
|
|
5106
4940
|
/**
|
|
5107
4941
|
* 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`.
|
|
5108
4942
|
*/
|
|
5109
|
-
plainText:
|
|
5110
|
-
type: Boolean,
|
|
5111
|
-
required: false,
|
|
5112
|
-
},
|
|
4943
|
+
plainText: Boolean,
|
|
5113
4944
|
/**
|
|
5114
4945
|
* Toggle the readonly state for the component.
|
|
5115
4946
|
*/
|
|
5116
|
-
readonly:
|
|
5117
|
-
type: Boolean,
|
|
5118
|
-
required: false,
|
|
5119
|
-
},
|
|
4947
|
+
readonly: Boolean,
|
|
5120
4948
|
/**
|
|
5121
4949
|
* Size the component small or large.
|
|
5122
4950
|
*
|
|
@@ -5133,9 +4961,7 @@ const CFormInput = defineComponent({
|
|
|
5133
4961
|
*
|
|
5134
4962
|
* @since 4.3.0
|
|
5135
4963
|
*/
|
|
5136
|
-
text:
|
|
5137
|
-
type: String,
|
|
5138
|
-
},
|
|
4964
|
+
text: String,
|
|
5139
4965
|
/**
|
|
5140
4966
|
* Display validation feedback in a styled tooltip.
|
|
5141
4967
|
*
|
|
@@ -5233,61 +5059,39 @@ const CFormRange = defineComponent({
|
|
|
5233
5059
|
/**
|
|
5234
5060
|
* Toggle the disabled state for the component.
|
|
5235
5061
|
*/
|
|
5236
|
-
disabled:
|
|
5237
|
-
type: Boolean,
|
|
5238
|
-
default: undefined,
|
|
5239
|
-
},
|
|
5062
|
+
disabled: Boolean,
|
|
5240
5063
|
/**
|
|
5241
5064
|
* Add a caption for a component.
|
|
5242
5065
|
*
|
|
5243
5066
|
* @since 4.3.0
|
|
5244
5067
|
*/
|
|
5245
|
-
label:
|
|
5246
|
-
type: String,
|
|
5247
|
-
},
|
|
5068
|
+
label: String,
|
|
5248
5069
|
/**
|
|
5249
5070
|
* Specifies the maximum value for the component.
|
|
5250
5071
|
*/
|
|
5251
|
-
max:
|
|
5252
|
-
type: Number,
|
|
5253
|
-
default: undefined,
|
|
5254
|
-
},
|
|
5072
|
+
max: Number,
|
|
5255
5073
|
/**
|
|
5256
5074
|
* Specifies the minimum value for the component.
|
|
5257
5075
|
*/
|
|
5258
|
-
min:
|
|
5259
|
-
type: Number,
|
|
5260
|
-
default: undefined,
|
|
5261
|
-
},
|
|
5076
|
+
min: Number,
|
|
5262
5077
|
/**
|
|
5263
5078
|
* The default name for a value passed using v-model.
|
|
5264
5079
|
*/
|
|
5265
|
-
modelValue:
|
|
5266
|
-
type: String,
|
|
5267
|
-
value: undefined,
|
|
5268
|
-
},
|
|
5080
|
+
modelValue: String,
|
|
5269
5081
|
/**
|
|
5270
5082
|
* Toggle the readonly state for the component.
|
|
5271
5083
|
*/
|
|
5272
|
-
readonly:
|
|
5273
|
-
type: Boolean,
|
|
5274
|
-
},
|
|
5084
|
+
readonly: Boolean,
|
|
5275
5085
|
/**
|
|
5276
5086
|
* Specifies the interval between legal numbers in the component.
|
|
5277
5087
|
*/
|
|
5278
|
-
steps:
|
|
5279
|
-
type: Number,
|
|
5280
|
-
default: undefined,
|
|
5281
|
-
},
|
|
5088
|
+
steps: Number,
|
|
5282
5089
|
/**
|
|
5283
5090
|
* The `value` attribute of component.
|
|
5284
5091
|
*
|
|
5285
5092
|
* @controllable onChange
|
|
5286
5093
|
* */
|
|
5287
|
-
value:
|
|
5288
|
-
type: Number,
|
|
5289
|
-
default: undefined,
|
|
5290
|
-
},
|
|
5094
|
+
value: Number,
|
|
5291
5095
|
},
|
|
5292
5096
|
emits: [
|
|
5293
5097
|
/**
|
|
@@ -5336,47 +5140,33 @@ const CFormSelect = defineComponent({
|
|
|
5336
5140
|
*
|
|
5337
5141
|
* @since 4.3.0
|
|
5338
5142
|
*/
|
|
5339
|
-
feedback:
|
|
5340
|
-
type: String,
|
|
5341
|
-
},
|
|
5143
|
+
feedback: String,
|
|
5342
5144
|
/**
|
|
5343
5145
|
* Provide valuable, actionable feedback.
|
|
5344
5146
|
*
|
|
5345
5147
|
* @since 4.3.0
|
|
5346
5148
|
*/
|
|
5347
|
-
feedbackInvalid:
|
|
5348
|
-
type: String,
|
|
5349
|
-
},
|
|
5149
|
+
feedbackInvalid: String,
|
|
5350
5150
|
/**
|
|
5351
5151
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5352
5152
|
*
|
|
5353
5153
|
* @since 4.3.0
|
|
5354
5154
|
*/
|
|
5355
|
-
feedbackValid:
|
|
5356
|
-
type: String,
|
|
5357
|
-
},
|
|
5155
|
+
feedbackValid: String,
|
|
5358
5156
|
/**
|
|
5359
5157
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5360
5158
|
*
|
|
5361
5159
|
* @since 4.3.0
|
|
5362
5160
|
*/
|
|
5363
|
-
floatingLabel:
|
|
5364
|
-
type: String,
|
|
5365
|
-
},
|
|
5161
|
+
floatingLabel: String,
|
|
5366
5162
|
/**
|
|
5367
5163
|
* Specifies the number of visible options in a drop-down list.
|
|
5368
5164
|
*/
|
|
5369
|
-
htmlSize:
|
|
5370
|
-
type: Number,
|
|
5371
|
-
default: undefined,
|
|
5372
|
-
required: false,
|
|
5373
|
-
},
|
|
5165
|
+
htmlSize: Number,
|
|
5374
5166
|
/**
|
|
5375
5167
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5376
5168
|
*/
|
|
5377
|
-
id:
|
|
5378
|
-
type: String,
|
|
5379
|
-
},
|
|
5169
|
+
id: String,
|
|
5380
5170
|
/**
|
|
5381
5171
|
* Set component validation state to invalid.
|
|
5382
5172
|
*/
|
|
@@ -5386,32 +5176,21 @@ const CFormSelect = defineComponent({
|
|
|
5386
5176
|
*
|
|
5387
5177
|
* @since 4.3.0
|
|
5388
5178
|
*/
|
|
5389
|
-
label:
|
|
5390
|
-
type: String,
|
|
5391
|
-
},
|
|
5179
|
+
label: String,
|
|
5392
5180
|
/**
|
|
5393
5181
|
* The default name for a value passed using v-model.
|
|
5394
5182
|
*/
|
|
5395
5183
|
modelValue: {
|
|
5396
5184
|
type: [String, Array],
|
|
5397
|
-
default: undefined,
|
|
5398
|
-
require: false,
|
|
5399
|
-
},
|
|
5400
|
-
multiple: {
|
|
5401
|
-
type: Boolean,
|
|
5402
|
-
required: false,
|
|
5403
5185
|
},
|
|
5186
|
+
multiple: Boolean,
|
|
5404
5187
|
/**
|
|
5405
5188
|
* Options list of the select component. Available keys: `label`, `value`, `disabled`.
|
|
5406
5189
|
* Examples:
|
|
5407
5190
|
* - `:options="[{ value: 'js', label: 'JavaScript' }, { value: 'html', label: 'HTML', disabled: true }]"`
|
|
5408
5191
|
* - `:options="['js', 'html']"`
|
|
5409
5192
|
*/
|
|
5410
|
-
options:
|
|
5411
|
-
type: Array,
|
|
5412
|
-
default: undefined,
|
|
5413
|
-
required: false,
|
|
5414
|
-
},
|
|
5193
|
+
options: Array,
|
|
5415
5194
|
/**
|
|
5416
5195
|
* Size the component small or large.
|
|
5417
5196
|
*
|
|
@@ -5419,8 +5198,6 @@ const CFormSelect = defineComponent({
|
|
|
5419
5198
|
*/
|
|
5420
5199
|
size: {
|
|
5421
5200
|
type: String,
|
|
5422
|
-
default: undefined,
|
|
5423
|
-
require: false,
|
|
5424
5201
|
validator: (value) => {
|
|
5425
5202
|
return ['sm', 'lg'].includes(value);
|
|
5426
5203
|
},
|
|
@@ -5430,9 +5207,7 @@ const CFormSelect = defineComponent({
|
|
|
5430
5207
|
*
|
|
5431
5208
|
* @since 4.3.0
|
|
5432
5209
|
*/
|
|
5433
|
-
text:
|
|
5434
|
-
type: String,
|
|
5435
|
-
},
|
|
5210
|
+
text: String,
|
|
5436
5211
|
/**
|
|
5437
5212
|
* Display validation feedback in a styled tooltip.
|
|
5438
5213
|
*
|
|
@@ -5528,28 +5303,25 @@ const CFormSwitch = defineComponent({
|
|
|
5528
5303
|
/**
|
|
5529
5304
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document
|
|
5530
5305
|
*/
|
|
5531
|
-
id:
|
|
5532
|
-
type: String,
|
|
5533
|
-
},
|
|
5306
|
+
id: String,
|
|
5534
5307
|
/**
|
|
5535
5308
|
* Set component validation state to invalid.
|
|
5536
5309
|
*/
|
|
5537
|
-
invalid:
|
|
5538
|
-
type: Boolean,
|
|
5539
|
-
},
|
|
5310
|
+
invalid: Boolean,
|
|
5540
5311
|
/**
|
|
5541
5312
|
* The element represents a caption for a component.
|
|
5542
5313
|
*/
|
|
5543
|
-
label:
|
|
5544
|
-
type: String,
|
|
5545
|
-
},
|
|
5314
|
+
label: String,
|
|
5546
5315
|
/**
|
|
5547
5316
|
* The default name for a value passed using v-model.
|
|
5548
5317
|
*/
|
|
5549
|
-
modelValue:
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5318
|
+
modelValue: [Boolean, String],
|
|
5319
|
+
/**
|
|
5320
|
+
* Put checkboxes or radios on the opposite side.
|
|
5321
|
+
*
|
|
5322
|
+
* @sinve 4.8.0
|
|
5323
|
+
*/
|
|
5324
|
+
reverse: Boolean,
|
|
5553
5325
|
/**
|
|
5554
5326
|
* Size the component large or extra large. Works only with `switch`.
|
|
5555
5327
|
*
|
|
@@ -5573,9 +5345,7 @@ const CFormSwitch = defineComponent({
|
|
|
5573
5345
|
/**
|
|
5574
5346
|
* Set component validation state to valid.
|
|
5575
5347
|
*/
|
|
5576
|
-
valid:
|
|
5577
|
-
type: Boolean,
|
|
5578
|
-
},
|
|
5348
|
+
valid: Boolean,
|
|
5579
5349
|
},
|
|
5580
5350
|
emits: [
|
|
5581
5351
|
/**
|
|
@@ -5597,6 +5367,7 @@ const CFormSwitch = defineComponent({
|
|
|
5597
5367
|
class: [
|
|
5598
5368
|
'form-check form-switch',
|
|
5599
5369
|
{
|
|
5370
|
+
'form-check-reverse': props.reverse,
|
|
5600
5371
|
[`form-switch-${props.size}`]: props.size,
|
|
5601
5372
|
'is-invalid': props.invalid,
|
|
5602
5373
|
'is-valid': props.valid,
|
|
@@ -5634,47 +5405,35 @@ const CFormTextarea = defineComponent({
|
|
|
5634
5405
|
/**
|
|
5635
5406
|
* Toggle the disabled state for the component.
|
|
5636
5407
|
*/
|
|
5637
|
-
disabled:
|
|
5638
|
-
type: Boolean,
|
|
5639
|
-
},
|
|
5408
|
+
disabled: Boolean,
|
|
5640
5409
|
/**
|
|
5641
5410
|
* Provide valuable, actionable feedback.
|
|
5642
5411
|
*
|
|
5643
5412
|
* @since 4.3.0
|
|
5644
5413
|
*/
|
|
5645
|
-
feedback:
|
|
5646
|
-
type: String,
|
|
5647
|
-
},
|
|
5414
|
+
feedback: String,
|
|
5648
5415
|
/**
|
|
5649
5416
|
* Provide valuable, actionable feedback.
|
|
5650
5417
|
*
|
|
5651
5418
|
* @since 4.3.0
|
|
5652
5419
|
*/
|
|
5653
|
-
feedbackInvalid:
|
|
5654
|
-
type: String,
|
|
5655
|
-
},
|
|
5420
|
+
feedbackInvalid: String,
|
|
5656
5421
|
/**
|
|
5657
5422
|
* Provide valuable, actionable invalid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5658
5423
|
*
|
|
5659
5424
|
* @since 4.3.0
|
|
5660
5425
|
*/
|
|
5661
|
-
feedbackValid:
|
|
5662
|
-
type: String,
|
|
5663
|
-
},
|
|
5426
|
+
feedbackValid: String,
|
|
5664
5427
|
/**
|
|
5665
5428
|
* Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`.
|
|
5666
5429
|
*
|
|
5667
5430
|
* @since 4.3.0
|
|
5668
5431
|
*/
|
|
5669
|
-
floatingLabel:
|
|
5670
|
-
type: String,
|
|
5671
|
-
},
|
|
5432
|
+
floatingLabel: String,
|
|
5672
5433
|
/**
|
|
5673
5434
|
* The id global attribute defines an identifier (ID) that must be unique in the whole document.
|
|
5674
5435
|
*/
|
|
5675
|
-
id:
|
|
5676
|
-
type: String,
|
|
5677
|
-
},
|
|
5436
|
+
id: String,
|
|
5678
5437
|
/**
|
|
5679
5438
|
* Set component validation state to invalid.
|
|
5680
5439
|
*/
|
|
@@ -5684,36 +5443,25 @@ const CFormTextarea = defineComponent({
|
|
|
5684
5443
|
*
|
|
5685
5444
|
* @since 4.3.0
|
|
5686
5445
|
*/
|
|
5687
|
-
label:
|
|
5688
|
-
type: String,
|
|
5689
|
-
},
|
|
5446
|
+
label: String,
|
|
5690
5447
|
/**
|
|
5691
5448
|
* The default name for a value passed using v-model.
|
|
5692
5449
|
*/
|
|
5693
|
-
modelValue:
|
|
5694
|
-
type: String,
|
|
5695
|
-
default: undefined,
|
|
5696
|
-
},
|
|
5450
|
+
modelValue: String,
|
|
5697
5451
|
/**
|
|
5698
5452
|
* 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`.
|
|
5699
5453
|
*/
|
|
5700
|
-
plainText:
|
|
5701
|
-
type: Boolean,
|
|
5702
|
-
},
|
|
5454
|
+
plainText: Boolean,
|
|
5703
5455
|
/**
|
|
5704
5456
|
* Toggle the readonly state for the component.
|
|
5705
5457
|
*/
|
|
5706
|
-
readonly:
|
|
5707
|
-
type: Boolean,
|
|
5708
|
-
},
|
|
5458
|
+
readonly: Boolean,
|
|
5709
5459
|
/**
|
|
5710
5460
|
* Add helper text to the component.
|
|
5711
5461
|
*
|
|
5712
5462
|
* @since 4.3.0
|
|
5713
5463
|
*/
|
|
5714
|
-
text:
|
|
5715
|
-
type: String,
|
|
5716
|
-
},
|
|
5464
|
+
text: String,
|
|
5717
5465
|
/**
|
|
5718
5466
|
* Display validation feedback in a styled tooltip.
|
|
5719
5467
|
*
|
|
@@ -5802,8 +5550,6 @@ const CInputGroup = defineComponent({
|
|
|
5802
5550
|
*/
|
|
5803
5551
|
size: {
|
|
5804
5552
|
type: String,
|
|
5805
|
-
default: undefined,
|
|
5806
|
-
required: false,
|
|
5807
5553
|
validator: (value) => {
|
|
5808
5554
|
return ['sm', 'lg'].includes(value);
|
|
5809
5555
|
},
|
|
@@ -5829,7 +5575,6 @@ const CInputGroupText = defineComponent({
|
|
|
5829
5575
|
*/
|
|
5830
5576
|
component: {
|
|
5831
5577
|
type: String,
|
|
5832
|
-
required: false,
|
|
5833
5578
|
default: 'span',
|
|
5834
5579
|
},
|
|
5835
5580
|
},
|
|
@@ -7841,8 +7586,6 @@ const CDropdown = defineComponent({
|
|
|
7841
7586
|
*/
|
|
7842
7587
|
alignment: {
|
|
7843
7588
|
type: [String, Object],
|
|
7844
|
-
default: undefined,
|
|
7845
|
-
required: false,
|
|
7846
7589
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7847
7590
|
validator: (value) => {
|
|
7848
7591
|
if (value === 'start' || value === 'end') {
|
|
@@ -7888,10 +7631,7 @@ const CDropdown = defineComponent({
|
|
|
7888
7631
|
/**
|
|
7889
7632
|
* Sets a darker color scheme to match a dark navbar.
|
|
7890
7633
|
*/
|
|
7891
|
-
dark:
|
|
7892
|
-
type: Boolean,
|
|
7893
|
-
required: false,
|
|
7894
|
-
},
|
|
7634
|
+
dark: Boolean,
|
|
7895
7635
|
/**
|
|
7896
7636
|
* Sets a specified direction and location of the dropdown menu.
|
|
7897
7637
|
*
|
|
@@ -7899,8 +7639,6 @@ const CDropdown = defineComponent({
|
|
|
7899
7639
|
*/
|
|
7900
7640
|
direction: {
|
|
7901
7641
|
type: String,
|
|
7902
|
-
default: undefined,
|
|
7903
|
-
required: false,
|
|
7904
7642
|
validator: (value) => {
|
|
7905
7643
|
return ['center', 'dropup', 'dropup-center', 'dropend', 'dropstart'].includes(value);
|
|
7906
7644
|
},
|
|
@@ -7908,10 +7646,7 @@ const CDropdown = defineComponent({
|
|
|
7908
7646
|
/**
|
|
7909
7647
|
* Toggle the disabled state for the component.
|
|
7910
7648
|
*/
|
|
7911
|
-
disabled:
|
|
7912
|
-
type: Boolean,
|
|
7913
|
-
required: false,
|
|
7914
|
-
},
|
|
7649
|
+
disabled: Boolean,
|
|
7915
7650
|
/**
|
|
7916
7651
|
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
7917
7652
|
*
|
|
@@ -7920,7 +7655,6 @@ const CDropdown = defineComponent({
|
|
|
7920
7655
|
placement: {
|
|
7921
7656
|
type: String,
|
|
7922
7657
|
default: 'bottom-start',
|
|
7923
|
-
required: false,
|
|
7924
7658
|
},
|
|
7925
7659
|
/**
|
|
7926
7660
|
* If you want to disable dynamic positioning set this property to `true`.
|
|
@@ -7928,14 +7662,12 @@ const CDropdown = defineComponent({
|
|
|
7928
7662
|
popper: {
|
|
7929
7663
|
type: Boolean,
|
|
7930
7664
|
default: true,
|
|
7931
|
-
required: false,
|
|
7932
7665
|
},
|
|
7933
7666
|
/**
|
|
7934
7667
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
7935
7668
|
*/
|
|
7936
7669
|
trigger: {
|
|
7937
|
-
type:
|
|
7938
|
-
required: false,
|
|
7670
|
+
type: String,
|
|
7939
7671
|
default: 'click',
|
|
7940
7672
|
},
|
|
7941
7673
|
/**
|
|
@@ -7946,7 +7678,6 @@ const CDropdown = defineComponent({
|
|
|
7946
7678
|
variant: {
|
|
7947
7679
|
type: String,
|
|
7948
7680
|
default: 'btn-group',
|
|
7949
|
-
required: false,
|
|
7950
7681
|
validator: (value) => {
|
|
7951
7682
|
return ['btn-group', 'dropdown', 'input-group', 'nav-item'].includes(value);
|
|
7952
7683
|
},
|
|
@@ -7954,10 +7685,7 @@ const CDropdown = defineComponent({
|
|
|
7954
7685
|
/**
|
|
7955
7686
|
* Toggle the visibility of dropdown menu component.
|
|
7956
7687
|
*/
|
|
7957
|
-
visible:
|
|
7958
|
-
type: Boolean,
|
|
7959
|
-
required: false,
|
|
7960
|
-
},
|
|
7688
|
+
visible: Boolean,
|
|
7961
7689
|
},
|
|
7962
7690
|
emits: [
|
|
7963
7691
|
/**
|
|
@@ -8070,33 +7798,22 @@ const CDropdownItem = defineComponent({
|
|
|
8070
7798
|
/**
|
|
8071
7799
|
* Toggle the active state for the component.
|
|
8072
7800
|
*/
|
|
8073
|
-
active:
|
|
8074
|
-
type: Boolean,
|
|
8075
|
-
required: false,
|
|
8076
|
-
},
|
|
7801
|
+
active: Boolean,
|
|
8077
7802
|
/**
|
|
8078
7803
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
8079
7804
|
*/
|
|
8080
7805
|
component: {
|
|
8081
7806
|
type: String,
|
|
8082
7807
|
default: 'a',
|
|
8083
|
-
required: false,
|
|
8084
7808
|
},
|
|
8085
7809
|
/**
|
|
8086
7810
|
* Toggle the disabled state for the component.
|
|
8087
7811
|
*/
|
|
8088
|
-
disabled:
|
|
8089
|
-
type: Boolean,
|
|
8090
|
-
required: false,
|
|
8091
|
-
},
|
|
7812
|
+
disabled: Boolean,
|
|
8092
7813
|
/**
|
|
8093
7814
|
* The href attribute specifies the URL of the page the link goes to.
|
|
8094
7815
|
*/
|
|
8095
|
-
href:
|
|
8096
|
-
type: String,
|
|
8097
|
-
default: undefined,
|
|
8098
|
-
required: false,
|
|
8099
|
-
},
|
|
7816
|
+
href: String,
|
|
8100
7817
|
},
|
|
8101
7818
|
setup(props, { slots }) {
|
|
8102
7819
|
return () => h$1(CLink, {
|
|
@@ -8120,7 +7837,6 @@ const CDropdownHeader = defineComponent({
|
|
|
8120
7837
|
component: {
|
|
8121
7838
|
type: String,
|
|
8122
7839
|
default: 'h6',
|
|
8123
|
-
required: false,
|
|
8124
7840
|
},
|
|
8125
7841
|
},
|
|
8126
7842
|
setup(props, { slots }) {
|
|
@@ -8150,7 +7866,6 @@ const CDropdownMenu = defineComponent({
|
|
|
8150
7866
|
component: {
|
|
8151
7867
|
type: String,
|
|
8152
7868
|
default: 'div',
|
|
8153
|
-
required: false,
|
|
8154
7869
|
},
|
|
8155
7870
|
},
|
|
8156
7871
|
setup(props, { slots }) {
|
|
@@ -8228,32 +7943,26 @@ const CDropdownToggle = defineComponent({
|
|
|
8228
7943
|
/**
|
|
8229
7944
|
* Toggle the active state for the component.
|
|
8230
7945
|
*/
|
|
8231
|
-
active:
|
|
8232
|
-
type: Boolean,
|
|
8233
|
-
default: false,
|
|
8234
|
-
required: false,
|
|
8235
|
-
},
|
|
7946
|
+
active: Boolean,
|
|
8236
7947
|
/**
|
|
8237
7948
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
8238
7949
|
*
|
|
8239
7950
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
8240
7951
|
*/
|
|
8241
|
-
color: Color,
|
|
7952
|
+
color: Color$1,
|
|
8242
7953
|
/**
|
|
8243
7954
|
* Enables pseudo element caret on toggler.
|
|
8244
7955
|
*/
|
|
8245
7956
|
caret: {
|
|
8246
7957
|
type: Boolean,
|
|
8247
7958
|
default: true,
|
|
8248
|
-
required: false,
|
|
8249
7959
|
},
|
|
8250
7960
|
/**
|
|
8251
7961
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
8252
7962
|
*/
|
|
8253
7963
|
component: {
|
|
8254
7964
|
type: String,
|
|
8255
|
-
default: 'button'
|
|
8256
|
-
require: false,
|
|
7965
|
+
default: 'button'
|
|
8257
7966
|
},
|
|
8258
7967
|
/**
|
|
8259
7968
|
* Create a custom toggler which accepts any content.
|
|
@@ -8262,10 +7971,7 @@ const CDropdownToggle = defineComponent({
|
|
|
8262
7971
|
/**
|
|
8263
7972
|
* Toggle the disabled state for the component.
|
|
8264
7973
|
*/
|
|
8265
|
-
disabled:
|
|
8266
|
-
type: Boolean,
|
|
8267
|
-
required: false,
|
|
8268
|
-
},
|
|
7974
|
+
disabled: Boolean,
|
|
8269
7975
|
/**
|
|
8270
7976
|
* @values 'rounded', 'rounded-top', 'rounded-end', 'rounded-bottom', 'rounded-start', 'rounded-circle', 'rounded-pill', 'rounded-0', 'rounded-1', 'rounded-2', 'rounded-3'
|
|
8271
7977
|
*/
|
|
@@ -8277,8 +7983,6 @@ const CDropdownToggle = defineComponent({
|
|
|
8277
7983
|
*/
|
|
8278
7984
|
size: {
|
|
8279
7985
|
type: String,
|
|
8280
|
-
default: undefined,
|
|
8281
|
-
required: false,
|
|
8282
7986
|
validator: (value) => {
|
|
8283
7987
|
return ['sm', 'lg'].includes(value);
|
|
8284
7988
|
},
|
|
@@ -8286,10 +7990,7 @@ const CDropdownToggle = defineComponent({
|
|
|
8286
7990
|
/**
|
|
8287
7991
|
* 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.
|
|
8288
7992
|
*/
|
|
8289
|
-
split:
|
|
8290
|
-
type: Boolean,
|
|
8291
|
-
required: false,
|
|
8292
|
-
},
|
|
7993
|
+
split: Boolean,
|
|
8293
7994
|
/**
|
|
8294
7995
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
8295
7996
|
*
|
|
@@ -8298,7 +7999,6 @@ const CDropdownToggle = defineComponent({
|
|
|
8298
7999
|
trigger: {
|
|
8299
8000
|
type: String,
|
|
8300
8001
|
default: 'click',
|
|
8301
|
-
required: false,
|
|
8302
8002
|
},
|
|
8303
8003
|
/**
|
|
8304
8004
|
* Set the button variant to an outlined button or a ghost button.
|
|
@@ -8307,8 +8007,6 @@ const CDropdownToggle = defineComponent({
|
|
|
8307
8007
|
*/
|
|
8308
8008
|
variant: {
|
|
8309
8009
|
type: String,
|
|
8310
|
-
default: undefined,
|
|
8311
|
-
required: false,
|
|
8312
8010
|
validator: (value) => {
|
|
8313
8011
|
return ['ghost', 'outline'].includes(value);
|
|
8314
8012
|
},
|
|
@@ -8415,6 +8113,33 @@ const CDropdownPlugin = {
|
|
|
8415
8113
|
},
|
|
8416
8114
|
};
|
|
8417
8115
|
|
|
8116
|
+
const Color = {
|
|
8117
|
+
type: String,
|
|
8118
|
+
validator: (value) => {
|
|
8119
|
+
// The value must match one of these strings
|
|
8120
|
+
return [
|
|
8121
|
+
'primary',
|
|
8122
|
+
'secondary',
|
|
8123
|
+
'success',
|
|
8124
|
+
'danger',
|
|
8125
|
+
'warning',
|
|
8126
|
+
'info',
|
|
8127
|
+
'dark',
|
|
8128
|
+
'light',
|
|
8129
|
+
'link',
|
|
8130
|
+
'transparent',
|
|
8131
|
+
'primary-gradient',
|
|
8132
|
+
'secondary-gradient',
|
|
8133
|
+
'success-gradient',
|
|
8134
|
+
'danger-gradient',
|
|
8135
|
+
'warning-gradient',
|
|
8136
|
+
'info-gradient',
|
|
8137
|
+
'dark-gradient',
|
|
8138
|
+
'light-gradient',
|
|
8139
|
+
].includes(value);
|
|
8140
|
+
},
|
|
8141
|
+
};
|
|
8142
|
+
|
|
8418
8143
|
const CPicker = defineComponent({
|
|
8419
8144
|
name: 'CPicker',
|
|
8420
8145
|
props: {
|
|
@@ -10320,8 +10045,6 @@ const CSpinner = defineComponent({
|
|
|
10320
10045
|
*/
|
|
10321
10046
|
color: {
|
|
10322
10047
|
type: String,
|
|
10323
|
-
default: undefined,
|
|
10324
|
-
required: false,
|
|
10325
10048
|
validator: (value) => {
|
|
10326
10049
|
return [
|
|
10327
10050
|
'primary',
|
|
@@ -10341,7 +10064,6 @@ const CSpinner = defineComponent({
|
|
|
10341
10064
|
component: {
|
|
10342
10065
|
type: String,
|
|
10343
10066
|
default: 'div',
|
|
10344
|
-
required: false,
|
|
10345
10067
|
},
|
|
10346
10068
|
/**
|
|
10347
10069
|
* Size the component small.
|
|
@@ -10350,8 +10072,6 @@ const CSpinner = defineComponent({
|
|
|
10350
10072
|
*/
|
|
10351
10073
|
size: {
|
|
10352
10074
|
type: String,
|
|
10353
|
-
default: undefined,
|
|
10354
|
-
required: false,
|
|
10355
10075
|
validator: (value) => {
|
|
10356
10076
|
return value === 'sm';
|
|
10357
10077
|
},
|
|
@@ -10364,7 +10084,6 @@ const CSpinner = defineComponent({
|
|
|
10364
10084
|
variant: {
|
|
10365
10085
|
type: String,
|
|
10366
10086
|
default: 'border',
|
|
10367
|
-
required: false,
|
|
10368
10087
|
validator: (value) => {
|
|
10369
10088
|
return ['border', 'grow'].includes(value);
|
|
10370
10089
|
},
|
|
@@ -10375,7 +10094,6 @@ const CSpinner = defineComponent({
|
|
|
10375
10094
|
visuallyHiddenLabel: {
|
|
10376
10095
|
type: String,
|
|
10377
10096
|
default: 'Loading...',
|
|
10378
|
-
required: false,
|
|
10379
10097
|
},
|
|
10380
10098
|
},
|
|
10381
10099
|
setup(props) {
|
|
@@ -10499,8 +10217,6 @@ const CFooter = defineComponent({
|
|
|
10499
10217
|
*/
|
|
10500
10218
|
position: {
|
|
10501
10219
|
type: String,
|
|
10502
|
-
default: undefined,
|
|
10503
|
-
required: false,
|
|
10504
10220
|
validator: (value) => {
|
|
10505
10221
|
return ['fixed', 'sticky'].includes(value);
|
|
10506
10222
|
},
|
|
@@ -10535,8 +10251,6 @@ const CCol = defineComponent({
|
|
|
10535
10251
|
*/
|
|
10536
10252
|
xs: {
|
|
10537
10253
|
type: [Boolean, Number, String, Object],
|
|
10538
|
-
default: undefined,
|
|
10539
|
-
require: false,
|
|
10540
10254
|
},
|
|
10541
10255
|
/**
|
|
10542
10256
|
* The number of columns/offset/order on small devices (<768px).
|
|
@@ -10545,8 +10259,6 @@ const CCol = defineComponent({
|
|
|
10545
10259
|
*/
|
|
10546
10260
|
sm: {
|
|
10547
10261
|
type: [Boolean, Number, String, Object],
|
|
10548
|
-
default: undefined,
|
|
10549
|
-
require: false,
|
|
10550
10262
|
},
|
|
10551
10263
|
/**
|
|
10552
10264
|
* The number of columns/offset/order on medium devices (<992px).
|
|
@@ -10555,8 +10267,6 @@ const CCol = defineComponent({
|
|
|
10555
10267
|
*/
|
|
10556
10268
|
md: {
|
|
10557
10269
|
type: [Boolean, Number, String, Object],
|
|
10558
|
-
default: undefined,
|
|
10559
|
-
require: false,
|
|
10560
10270
|
},
|
|
10561
10271
|
/**
|
|
10562
10272
|
* The number of columns/offset/order on large devices (<1200px).
|
|
@@ -10565,8 +10275,6 @@ const CCol = defineComponent({
|
|
|
10565
10275
|
*/
|
|
10566
10276
|
lg: {
|
|
10567
10277
|
type: [Boolean, Number, String, Object],
|
|
10568
|
-
default: undefined,
|
|
10569
|
-
require: false,
|
|
10570
10278
|
},
|
|
10571
10279
|
/**
|
|
10572
10280
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
@@ -10575,8 +10283,6 @@ const CCol = defineComponent({
|
|
|
10575
10283
|
*/
|
|
10576
10284
|
xl: {
|
|
10577
10285
|
type: [Boolean, Number, String, Object],
|
|
10578
|
-
default: undefined,
|
|
10579
|
-
require: false,
|
|
10580
10286
|
},
|
|
10581
10287
|
/**
|
|
10582
10288
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
@@ -10585,8 +10291,6 @@ const CCol = defineComponent({
|
|
|
10585
10291
|
*/
|
|
10586
10292
|
xxl: {
|
|
10587
10293
|
type: [Boolean, Number, String, Object],
|
|
10588
|
-
default: undefined,
|
|
10589
|
-
require: false,
|
|
10590
10294
|
},
|
|
10591
10295
|
},
|
|
10592
10296
|
setup(props, { slots }) {
|
|
@@ -10637,45 +10341,27 @@ const CContainer = defineComponent({
|
|
|
10637
10341
|
/**
|
|
10638
10342
|
* Set container 100% wide until small breakpoint.
|
|
10639
10343
|
*/
|
|
10640
|
-
sm:
|
|
10641
|
-
type: Boolean,
|
|
10642
|
-
required: false,
|
|
10643
|
-
},
|
|
10344
|
+
sm: Boolean,
|
|
10644
10345
|
/**
|
|
10645
10346
|
* Set container 100% wide until medium breakpoint.
|
|
10646
10347
|
*/
|
|
10647
|
-
md:
|
|
10648
|
-
type: Boolean,
|
|
10649
|
-
required: false,
|
|
10650
|
-
},
|
|
10348
|
+
md: Boolean,
|
|
10651
10349
|
/**
|
|
10652
10350
|
* Set container 100% wide until large breakpoint.
|
|
10653
10351
|
*/
|
|
10654
|
-
lg:
|
|
10655
|
-
type: Boolean,
|
|
10656
|
-
required: false,
|
|
10657
|
-
},
|
|
10352
|
+
lg: Boolean,
|
|
10658
10353
|
/**
|
|
10659
10354
|
* Set container 100% wide until X-large breakpoint.
|
|
10660
10355
|
*/
|
|
10661
|
-
xl:
|
|
10662
|
-
type: Boolean,
|
|
10663
|
-
required: false,
|
|
10664
|
-
},
|
|
10356
|
+
xl: Boolean,
|
|
10665
10357
|
/**
|
|
10666
10358
|
* Set container 100% wide until XX-large breakpoint.
|
|
10667
10359
|
*/
|
|
10668
|
-
xxl:
|
|
10669
|
-
type: Boolean,
|
|
10670
|
-
required: false,
|
|
10671
|
-
},
|
|
10360
|
+
xxl: Boolean,
|
|
10672
10361
|
/**
|
|
10673
10362
|
* Set container 100% wide, spanning the entire width of the viewport.
|
|
10674
10363
|
*/
|
|
10675
|
-
fluid:
|
|
10676
|
-
type: Boolean,
|
|
10677
|
-
required: false,
|
|
10678
|
-
},
|
|
10364
|
+
fluid: Boolean,
|
|
10679
10365
|
},
|
|
10680
10366
|
setup(props, { slots }) {
|
|
10681
10367
|
const repsonsiveClassNames = [];
|
|
@@ -10705,61 +10391,37 @@ const CRow = defineComponent({
|
|
|
10705
10391
|
*
|
|
10706
10392
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10707
10393
|
*/
|
|
10708
|
-
xs:
|
|
10709
|
-
type: Object,
|
|
10710
|
-
default: undefined,
|
|
10711
|
-
required: false,
|
|
10712
|
-
},
|
|
10394
|
+
xs: Object,
|
|
10713
10395
|
/**
|
|
10714
10396
|
* The number of columns/offset/order on small devices (<768px).
|
|
10715
10397
|
*
|
|
10716
10398
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10717
10399
|
*/
|
|
10718
|
-
sm:
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10726
|
-
*/
|
|
10727
|
-
},
|
|
10728
|
-
md: {
|
|
10729
|
-
type: Object,
|
|
10730
|
-
default: undefined,
|
|
10731
|
-
required: false,
|
|
10732
|
-
},
|
|
10400
|
+
sm: Object,
|
|
10401
|
+
/**
|
|
10402
|
+
* The number of columns/offset/order on medium devices (<992px).
|
|
10403
|
+
*
|
|
10404
|
+
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10405
|
+
*/
|
|
10406
|
+
md: Object,
|
|
10733
10407
|
/**
|
|
10734
10408
|
* The number of columns/offset/order on large devices (<1200px).
|
|
10735
10409
|
*
|
|
10736
10410
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10737
10411
|
*/
|
|
10738
|
-
lg:
|
|
10739
|
-
type: Object,
|
|
10740
|
-
default: undefined,
|
|
10741
|
-
required: false,
|
|
10742
|
-
},
|
|
10412
|
+
lg: Object,
|
|
10743
10413
|
/**
|
|
10744
10414
|
* The number of columns/offset/order on X-Large devices (<1400px).
|
|
10745
10415
|
*
|
|
10746
10416
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10747
10417
|
*/
|
|
10748
|
-
xl:
|
|
10749
|
-
type: Object,
|
|
10750
|
-
default: undefined,
|
|
10751
|
-
required: false,
|
|
10752
|
-
},
|
|
10418
|
+
xl: Object,
|
|
10753
10419
|
/**
|
|
10754
10420
|
* The number of columns/offset/order on XX-Large devices (≥1400px).
|
|
10755
10421
|
*
|
|
10756
10422
|
* @values { cols: 'auto' | number | string } | { gutter: number | string } | { gutterX: number | string } | { gutterY: number | string }
|
|
10757
10423
|
*/
|
|
10758
|
-
xxl:
|
|
10759
|
-
type: Object,
|
|
10760
|
-
default: undefined,
|
|
10761
|
-
required: false,
|
|
10762
|
-
},
|
|
10424
|
+
xxl: Object,
|
|
10763
10425
|
},
|
|
10764
10426
|
setup(props, { slots }) {
|
|
10765
10427
|
const repsonsiveClassNames = [];
|
|
@@ -10805,8 +10467,6 @@ const CHeader = defineComponent({
|
|
|
10805
10467
|
*/
|
|
10806
10468
|
container: {
|
|
10807
10469
|
type: [Boolean, String],
|
|
10808
|
-
default: undefined,
|
|
10809
|
-
required: false,
|
|
10810
10470
|
validator: (value) => {
|
|
10811
10471
|
return (typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl', 'fluid'].includes(value));
|
|
10812
10472
|
},
|
|
@@ -10818,8 +10478,6 @@ const CHeader = defineComponent({
|
|
|
10818
10478
|
*/
|
|
10819
10479
|
position: {
|
|
10820
10480
|
type: String,
|
|
10821
|
-
default: undefined,
|
|
10822
|
-
required: false,
|
|
10823
10481
|
validator: (value) => {
|
|
10824
10482
|
return ['fixed', 'sticky'].includes(value);
|
|
10825
10483
|
},
|
|
@@ -10840,7 +10498,6 @@ const CHeaderBrand = defineComponent({
|
|
|
10840
10498
|
*/
|
|
10841
10499
|
component: {
|
|
10842
10500
|
type: String,
|
|
10843
|
-
required: false,
|
|
10844
10501
|
default: 'a',
|
|
10845
10502
|
},
|
|
10846
10503
|
},
|
|
@@ -10864,7 +10521,6 @@ const CHeaderNav = defineComponent({
|
|
|
10864
10521
|
*/
|
|
10865
10522
|
component: {
|
|
10866
10523
|
type: String,
|
|
10867
|
-
required: false,
|
|
10868
10524
|
default: 'ul',
|
|
10869
10525
|
},
|
|
10870
10526
|
},
|
|
@@ -10915,8 +10571,6 @@ const CImage = defineComponent({
|
|
|
10915
10571
|
*/
|
|
10916
10572
|
align: {
|
|
10917
10573
|
type: String,
|
|
10918
|
-
default: undefined,
|
|
10919
|
-
required: false,
|
|
10920
10574
|
validator: (value) => {
|
|
10921
10575
|
return ['start', 'center', 'end'].includes(value);
|
|
10922
10576
|
},
|
|
@@ -10924,24 +10578,15 @@ const CImage = defineComponent({
|
|
|
10924
10578
|
/**
|
|
10925
10579
|
* Make image responsive.
|
|
10926
10580
|
*/
|
|
10927
|
-
fluid:
|
|
10928
|
-
type: Boolean,
|
|
10929
|
-
required: false,
|
|
10930
|
-
},
|
|
10581
|
+
fluid: Boolean,
|
|
10931
10582
|
/**
|
|
10932
10583
|
* Make image rounded.
|
|
10933
10584
|
*/
|
|
10934
|
-
rounded:
|
|
10935
|
-
type: Boolean,
|
|
10936
|
-
required: false,
|
|
10937
|
-
},
|
|
10585
|
+
rounded: Boolean,
|
|
10938
10586
|
/**
|
|
10939
10587
|
* Give an image a rounded 1px border appearance.
|
|
10940
10588
|
*/
|
|
10941
|
-
thumbnail:
|
|
10942
|
-
type: Boolean,
|
|
10943
|
-
required: false,
|
|
10944
|
-
},
|
|
10589
|
+
thumbnail: Boolean,
|
|
10945
10590
|
},
|
|
10946
10591
|
setup(props) {
|
|
10947
10592
|
return () => h$1('img', {
|
|
@@ -10972,16 +10617,12 @@ const CListGroup = defineComponent({
|
|
|
10972
10617
|
*/
|
|
10973
10618
|
component: {
|
|
10974
10619
|
type: String,
|
|
10975
|
-
required: false,
|
|
10976
10620
|
default: 'ul',
|
|
10977
10621
|
},
|
|
10978
10622
|
/**
|
|
10979
10623
|
* Remove some borders and rounded corners to render list group items edge-to-edge in a parent component (e.g., `<CCard>`)
|
|
10980
10624
|
*/
|
|
10981
|
-
flush:
|
|
10982
|
-
type: Boolean,
|
|
10983
|
-
required: false,
|
|
10984
|
-
},
|
|
10625
|
+
flush: Boolean,
|
|
10985
10626
|
/**
|
|
10986
10627
|
* Specify a layout type.
|
|
10987
10628
|
*
|
|
@@ -10989,8 +10630,6 @@ const CListGroup = defineComponent({
|
|
|
10989
10630
|
*/
|
|
10990
10631
|
layout: {
|
|
10991
10632
|
type: String,
|
|
10992
|
-
default: undefined,
|
|
10993
|
-
required: false,
|
|
10994
10633
|
validator: (value) => {
|
|
10995
10634
|
return [
|
|
10996
10635
|
'horizontal',
|
|
@@ -11022,29 +10661,22 @@ const CListGroupItem = defineComponent({
|
|
|
11022
10661
|
/**
|
|
11023
10662
|
* Toggle the active state for the component.
|
|
11024
10663
|
*/
|
|
11025
|
-
active:
|
|
11026
|
-
type: Boolean,
|
|
11027
|
-
required: false,
|
|
11028
|
-
},
|
|
10664
|
+
active: Boolean,
|
|
11029
10665
|
/**
|
|
11030
10666
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
11031
10667
|
*
|
|
11032
10668
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
11033
10669
|
*/
|
|
11034
|
-
color: Color,
|
|
10670
|
+
color: Color$1,
|
|
11035
10671
|
/**
|
|
11036
10672
|
* Toggle the disabled state for the component.
|
|
11037
10673
|
*/
|
|
11038
|
-
disabled:
|
|
11039
|
-
type: Boolean,
|
|
11040
|
-
required: false,
|
|
11041
|
-
},
|
|
10674
|
+
disabled: Boolean,
|
|
11042
10675
|
/**
|
|
11043
10676
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
11044
10677
|
*/
|
|
11045
10678
|
component: {
|
|
11046
10679
|
type: String,
|
|
11047
|
-
required: false,
|
|
11048
10680
|
default: 'li',
|
|
11049
10681
|
},
|
|
11050
10682
|
},
|
|
@@ -11191,10 +10823,7 @@ const CModal = defineComponent({
|
|
|
11191
10823
|
/**
|
|
11192
10824
|
* A string of all className you want applied to the modal content component.
|
|
11193
10825
|
*/
|
|
11194
|
-
contentClassName:
|
|
11195
|
-
type: String,
|
|
11196
|
-
default: undefined,
|
|
11197
|
-
},
|
|
10826
|
+
contentClassName: String,
|
|
11198
10827
|
/**
|
|
11199
10828
|
* Set modal to covers the entire user viewport
|
|
11200
10829
|
*
|
|
@@ -11202,7 +10831,6 @@ const CModal = defineComponent({
|
|
|
11202
10831
|
*/
|
|
11203
10832
|
fullscreen: {
|
|
11204
10833
|
type: [Boolean, String],
|
|
11205
|
-
default: undefined,
|
|
11206
10834
|
validator: (value) => {
|
|
11207
10835
|
if (typeof value == 'string') {
|
|
11208
10836
|
return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
@@ -11223,9 +10851,7 @@ const CModal = defineComponent({
|
|
|
11223
10851
|
/**
|
|
11224
10852
|
* Create a scrollable modal that allows scrolling the modal body.
|
|
11225
10853
|
*/
|
|
11226
|
-
scrollable:
|
|
11227
|
-
type: Boolean,
|
|
11228
|
-
},
|
|
10854
|
+
scrollable: Boolean,
|
|
11229
10855
|
/**
|
|
11230
10856
|
* Size the component small, large, or extra large.
|
|
11231
10857
|
*
|
|
@@ -11233,7 +10859,6 @@ const CModal = defineComponent({
|
|
|
11233
10859
|
*/
|
|
11234
10860
|
size: {
|
|
11235
10861
|
type: String,
|
|
11236
|
-
default: undefined,
|
|
11237
10862
|
validator: (value) => {
|
|
11238
10863
|
return ['sm', 'lg', 'xl'].includes(value);
|
|
11239
10864
|
},
|
|
@@ -11406,7 +11031,6 @@ const CModalHeader = defineComponent({
|
|
|
11406
11031
|
*/
|
|
11407
11032
|
closeButton: {
|
|
11408
11033
|
type: Boolean,
|
|
11409
|
-
required: false,
|
|
11410
11034
|
default: true,
|
|
11411
11035
|
},
|
|
11412
11036
|
},
|
|
@@ -11428,7 +11052,6 @@ const CModalTitle = defineComponent({
|
|
|
11428
11052
|
component: {
|
|
11429
11053
|
type: String,
|
|
11430
11054
|
default: 'h5',
|
|
11431
|
-
required: false,
|
|
11432
11055
|
},
|
|
11433
11056
|
},
|
|
11434
11057
|
setup(props, { slots }) {
|
|
@@ -12297,7 +11920,6 @@ const CNav = defineComponent({
|
|
|
12297
11920
|
*/
|
|
12298
11921
|
component: {
|
|
12299
11922
|
type: String,
|
|
12300
|
-
required: false,
|
|
12301
11923
|
default: 'ul',
|
|
12302
11924
|
},
|
|
12303
11925
|
/**
|
|
@@ -12307,8 +11929,6 @@ const CNav = defineComponent({
|
|
|
12307
11929
|
*/
|
|
12308
11930
|
layout: {
|
|
12309
11931
|
type: String,
|
|
12310
|
-
required: false,
|
|
12311
|
-
default: undefined,
|
|
12312
11932
|
validator: (value) => {
|
|
12313
11933
|
return ['fill', 'justified'].includes(value);
|
|
12314
11934
|
},
|
|
@@ -12320,8 +11940,6 @@ const CNav = defineComponent({
|
|
|
12320
11940
|
*/
|
|
12321
11941
|
variant: {
|
|
12322
11942
|
type: String,
|
|
12323
|
-
required: false,
|
|
12324
|
-
default: undefined,
|
|
12325
11943
|
validator: (value) => {
|
|
12326
11944
|
return ['tabs', 'pills', 'underline'].includes(value);
|
|
12327
11945
|
},
|
|
@@ -12465,33 +12083,22 @@ const CNavLink = defineComponent({
|
|
|
12465
12083
|
/**
|
|
12466
12084
|
* Toggle the active state for the component.
|
|
12467
12085
|
*/
|
|
12468
|
-
active:
|
|
12469
|
-
type: Boolean,
|
|
12470
|
-
required: false,
|
|
12471
|
-
},
|
|
12086
|
+
active: Boolean,
|
|
12472
12087
|
/**
|
|
12473
12088
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
12474
12089
|
*/
|
|
12475
12090
|
component: {
|
|
12476
12091
|
type: String,
|
|
12477
|
-
required: false,
|
|
12478
12092
|
default: 'a',
|
|
12479
12093
|
},
|
|
12480
12094
|
/**
|
|
12481
12095
|
* Toggle the disabled state for the component.
|
|
12482
12096
|
*/
|
|
12483
|
-
disabled:
|
|
12484
|
-
type: Boolean,
|
|
12485
|
-
required: false,
|
|
12486
|
-
},
|
|
12097
|
+
disabled: Boolean,
|
|
12487
12098
|
/**
|
|
12488
12099
|
* @ignore
|
|
12489
12100
|
*/
|
|
12490
|
-
href:
|
|
12491
|
-
type: String,
|
|
12492
|
-
default: undefined,
|
|
12493
|
-
required: false,
|
|
12494
|
-
},
|
|
12101
|
+
href: String,
|
|
12495
12102
|
},
|
|
12496
12103
|
setup(props, { slots }) {
|
|
12497
12104
|
return () => h$1(CLink, {
|
|
@@ -12553,7 +12160,7 @@ const CNavbar = defineComponent({
|
|
|
12553
12160
|
*
|
|
12554
12161
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
12555
12162
|
*/
|
|
12556
|
-
color: Color,
|
|
12163
|
+
color: Color$1,
|
|
12557
12164
|
/**
|
|
12558
12165
|
* Sets if the color of text should be colored for a light or dark dark background.
|
|
12559
12166
|
*
|
|
@@ -12561,8 +12168,6 @@ const CNavbar = defineComponent({
|
|
|
12561
12168
|
*/
|
|
12562
12169
|
colorScheme: {
|
|
12563
12170
|
type: String,
|
|
12564
|
-
default: undefined,
|
|
12565
|
-
required: false,
|
|
12566
12171
|
validator: (value) => {
|
|
12567
12172
|
return ['dark', 'light'].includes(value);
|
|
12568
12173
|
},
|
|
@@ -12573,7 +12178,6 @@ const CNavbar = defineComponent({
|
|
|
12573
12178
|
component: {
|
|
12574
12179
|
type: String,
|
|
12575
12180
|
default: 'nav',
|
|
12576
|
-
required: false,
|
|
12577
12181
|
},
|
|
12578
12182
|
/**
|
|
12579
12183
|
* Defines optional container wrapping children elements.
|
|
@@ -12582,8 +12186,6 @@ const CNavbar = defineComponent({
|
|
|
12582
12186
|
*/
|
|
12583
12187
|
container: {
|
|
12584
12188
|
type: [Boolean, String],
|
|
12585
|
-
default: undefined,
|
|
12586
|
-
required: false,
|
|
12587
12189
|
validator: (value) => {
|
|
12588
12190
|
return (typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl', 'fluid'].includes(value));
|
|
12589
12191
|
},
|
|
@@ -12595,8 +12197,6 @@ const CNavbar = defineComponent({
|
|
|
12595
12197
|
*/
|
|
12596
12198
|
expand: {
|
|
12597
12199
|
type: [Boolean, String],
|
|
12598
|
-
default: undefined,
|
|
12599
|
-
required: false,
|
|
12600
12200
|
validator: (value) => {
|
|
12601
12201
|
return typeof value === 'boolean' || ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
12602
12202
|
},
|
|
@@ -12608,8 +12208,6 @@ const CNavbar = defineComponent({
|
|
|
12608
12208
|
*/
|
|
12609
12209
|
placement: {
|
|
12610
12210
|
type: String,
|
|
12611
|
-
default: undefined,
|
|
12612
|
-
required: false,
|
|
12613
12211
|
validator: (value) => {
|
|
12614
12212
|
return ['fixed-top', 'fixed-bottom', 'sticky-top'].includes(value);
|
|
12615
12213
|
},
|
|
@@ -12644,16 +12242,11 @@ const CNavbarBrand = defineComponent({
|
|
|
12644
12242
|
component: {
|
|
12645
12243
|
type: String,
|
|
12646
12244
|
default: 'a',
|
|
12647
|
-
required: false,
|
|
12648
12245
|
},
|
|
12649
12246
|
/**
|
|
12650
12247
|
* The href attribute specifies the URL of the page the link goes to.
|
|
12651
12248
|
*/
|
|
12652
|
-
href:
|
|
12653
|
-
type: String,
|
|
12654
|
-
default: undefined,
|
|
12655
|
-
required: false,
|
|
12656
|
-
},
|
|
12249
|
+
href: String,
|
|
12657
12250
|
},
|
|
12658
12251
|
setup(props, { slots }) {
|
|
12659
12252
|
return () => h$1(props.component ? props.component : props.href ? 'a' : 'span', {
|
|
@@ -12671,7 +12264,6 @@ const CNavbarNav = defineComponent({
|
|
|
12671
12264
|
*/
|
|
12672
12265
|
component: {
|
|
12673
12266
|
type: String,
|
|
12674
|
-
required: false,
|
|
12675
12267
|
default: 'ul',
|
|
12676
12268
|
},
|
|
12677
12269
|
},
|
|
@@ -12744,7 +12336,6 @@ const COffcanvas = defineComponent({
|
|
|
12744
12336
|
*/
|
|
12745
12337
|
placement: {
|
|
12746
12338
|
type: String,
|
|
12747
|
-
default: undefined,
|
|
12748
12339
|
require: true,
|
|
12749
12340
|
validator: (value) => {
|
|
12750
12341
|
return ['start', 'end', 'top', 'bottom'].includes(value);
|
|
@@ -12779,7 +12370,10 @@ const COffcanvas = defineComponent({
|
|
|
12779
12370
|
/**
|
|
12780
12371
|
* Toggle the visibility of offcanvas component.
|
|
12781
12372
|
*/
|
|
12782
|
-
visible:
|
|
12373
|
+
visible: {
|
|
12374
|
+
type: Boolean,
|
|
12375
|
+
default: false,
|
|
12376
|
+
},
|
|
12783
12377
|
},
|
|
12784
12378
|
emits: [
|
|
12785
12379
|
/**
|
|
@@ -12798,11 +12392,9 @@ const COffcanvas = defineComponent({
|
|
|
12798
12392
|
visible.value = props.visible;
|
|
12799
12393
|
});
|
|
12800
12394
|
watch(visible, () => {
|
|
12801
|
-
if (visible.value) {
|
|
12802
|
-
|
|
12803
|
-
|
|
12804
|
-
document.body.style.paddingRight = '0px';
|
|
12805
|
-
}
|
|
12395
|
+
if (visible.value && !props.scroll) {
|
|
12396
|
+
document.body.style.overflow = 'hidden';
|
|
12397
|
+
document.body.style.paddingRight = '0px';
|
|
12806
12398
|
return;
|
|
12807
12399
|
}
|
|
12808
12400
|
if (!props.scroll) {
|
|
@@ -12892,7 +12484,6 @@ const COffcanvasTitle = defineComponent({
|
|
|
12892
12484
|
*/
|
|
12893
12485
|
component: {
|
|
12894
12486
|
type: String,
|
|
12895
|
-
required: false,
|
|
12896
12487
|
default: 'h5',
|
|
12897
12488
|
},
|
|
12898
12489
|
},
|
|
@@ -12920,8 +12511,6 @@ const CPagination = defineComponent({
|
|
|
12920
12511
|
*/
|
|
12921
12512
|
align: {
|
|
12922
12513
|
type: String,
|
|
12923
|
-
default: undefined,
|
|
12924
|
-
required: false,
|
|
12925
12514
|
validator: (value) => {
|
|
12926
12515
|
return ['start', 'center', 'end'].includes(value);
|
|
12927
12516
|
},
|
|
@@ -12933,8 +12522,6 @@ const CPagination = defineComponent({
|
|
|
12933
12522
|
*/
|
|
12934
12523
|
size: {
|
|
12935
12524
|
type: String,
|
|
12936
|
-
default: undefined,
|
|
12937
|
-
required: false,
|
|
12938
12525
|
validator: (value) => {
|
|
12939
12526
|
return ['sm', 'lg'].includes(value);
|
|
12940
12527
|
},
|
|
@@ -12959,33 +12546,19 @@ const CPaginationItem = defineComponent({
|
|
|
12959
12546
|
/**
|
|
12960
12547
|
* Toggle the active state for the component.
|
|
12961
12548
|
*/
|
|
12962
|
-
active:
|
|
12963
|
-
type: Boolean,
|
|
12964
|
-
required: false,
|
|
12965
|
-
},
|
|
12549
|
+
active: Boolean,
|
|
12966
12550
|
/**
|
|
12967
12551
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
12968
12552
|
*/
|
|
12969
|
-
component:
|
|
12970
|
-
type: String,
|
|
12971
|
-
default: undefined,
|
|
12972
|
-
required: false,
|
|
12973
|
-
},
|
|
12553
|
+
component: String,
|
|
12974
12554
|
/**
|
|
12975
12555
|
* Toggle the disabled state for the component.
|
|
12976
12556
|
*/
|
|
12977
|
-
disabled:
|
|
12978
|
-
type: Boolean,
|
|
12979
|
-
required: false,
|
|
12980
|
-
},
|
|
12557
|
+
disabled: Boolean,
|
|
12981
12558
|
/**
|
|
12982
12559
|
* The href attribute specifies the URL of the page the link goes to.
|
|
12983
12560
|
*/
|
|
12984
|
-
href:
|
|
12985
|
-
type: String,
|
|
12986
|
-
default: undefined,
|
|
12987
|
-
required: false,
|
|
12988
|
-
},
|
|
12561
|
+
href: String,
|
|
12989
12562
|
},
|
|
12990
12563
|
setup(props, { slots }) {
|
|
12991
12564
|
return () => {
|
|
@@ -13037,8 +12610,6 @@ const CPlaceholder = defineComponent({
|
|
|
13037
12610
|
*/
|
|
13038
12611
|
animation: {
|
|
13039
12612
|
type: String,
|
|
13040
|
-
default: undefined,
|
|
13041
|
-
require: false,
|
|
13042
12613
|
validator: (value) => {
|
|
13043
12614
|
return ['glow', 'wave'].includes(value);
|
|
13044
12615
|
},
|
|
@@ -13048,14 +12619,13 @@ const CPlaceholder = defineComponent({
|
|
|
13048
12619
|
*
|
|
13049
12620
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
13050
12621
|
*/
|
|
13051
|
-
color: Color,
|
|
12622
|
+
color: Color$1,
|
|
13052
12623
|
/**
|
|
13053
12624
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
13054
12625
|
*/
|
|
13055
12626
|
component: {
|
|
13056
12627
|
type: String,
|
|
13057
12628
|
default: 'span',
|
|
13058
|
-
required: false,
|
|
13059
12629
|
},
|
|
13060
12630
|
/**
|
|
13061
12631
|
* Size the component extra small, small, or large.
|
|
@@ -13064,8 +12634,6 @@ const CPlaceholder = defineComponent({
|
|
|
13064
12634
|
*/
|
|
13065
12635
|
size: {
|
|
13066
12636
|
type: String,
|
|
13067
|
-
default: undefined,
|
|
13068
|
-
required: false,
|
|
13069
12637
|
validator: (value) => {
|
|
13070
12638
|
return ['xs', 'sm', 'lg'].includes(value);
|
|
13071
12639
|
},
|
|
@@ -13073,51 +12641,27 @@ const CPlaceholder = defineComponent({
|
|
|
13073
12641
|
/**
|
|
13074
12642
|
* The number of columns on extra small devices (<576px).
|
|
13075
12643
|
*/
|
|
13076
|
-
xs:
|
|
13077
|
-
type: Number,
|
|
13078
|
-
default: undefined,
|
|
13079
|
-
require: false,
|
|
13080
|
-
},
|
|
12644
|
+
xs: Number,
|
|
13081
12645
|
/**
|
|
13082
12646
|
* The number of columns on small devices (<768px).
|
|
13083
12647
|
*/
|
|
13084
|
-
sm:
|
|
13085
|
-
type: Number,
|
|
13086
|
-
default: undefined,
|
|
13087
|
-
require: false,
|
|
13088
|
-
},
|
|
12648
|
+
sm: Number,
|
|
13089
12649
|
/**
|
|
13090
12650
|
* The number of columns on medium devices (<992px).
|
|
13091
12651
|
*/
|
|
13092
|
-
md:
|
|
13093
|
-
type: Number,
|
|
13094
|
-
default: undefined,
|
|
13095
|
-
require: false,
|
|
13096
|
-
},
|
|
12652
|
+
md: Number,
|
|
13097
12653
|
/**
|
|
13098
12654
|
* The number of columns on large devices (<1200px).
|
|
13099
12655
|
*/
|
|
13100
|
-
lg:
|
|
13101
|
-
type: Number,
|
|
13102
|
-
default: undefined,
|
|
13103
|
-
require: false,
|
|
13104
|
-
},
|
|
12656
|
+
lg: Number,
|
|
13105
12657
|
/**
|
|
13106
12658
|
* The number of columns on X-Large devices (<1400px).
|
|
13107
12659
|
*/
|
|
13108
|
-
xl:
|
|
13109
|
-
type: Number,
|
|
13110
|
-
default: undefined,
|
|
13111
|
-
require: false,
|
|
13112
|
-
},
|
|
12660
|
+
xl: Number,
|
|
13113
12661
|
/**
|
|
13114
12662
|
* The number of columns on XX-Large devices (≥1400px).
|
|
13115
12663
|
*/
|
|
13116
|
-
xxl:
|
|
13117
|
-
type: Number,
|
|
13118
|
-
default: undefined,
|
|
13119
|
-
require: false,
|
|
13120
|
-
},
|
|
12664
|
+
xxl: Number,
|
|
13121
12665
|
},
|
|
13122
12666
|
setup(props, { slots }) {
|
|
13123
12667
|
const repsonsiveClassNames = [];
|
|
@@ -13156,22 +12700,18 @@ const CProgressBar = defineComponent({
|
|
|
13156
12700
|
/**
|
|
13157
12701
|
* Use to animate the stripes right to left via CSS3 animations.
|
|
13158
12702
|
*/
|
|
13159
|
-
animated:
|
|
13160
|
-
type: Boolean,
|
|
13161
|
-
required: false,
|
|
13162
|
-
},
|
|
12703
|
+
animated: Boolean,
|
|
13163
12704
|
/**
|
|
13164
12705
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
13165
12706
|
*
|
|
13166
12707
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
13167
12708
|
*/
|
|
13168
|
-
color: Color,
|
|
12709
|
+
color: Color$1,
|
|
13169
12710
|
/**
|
|
13170
12711
|
* The percent to progress the ProgressBar.
|
|
13171
12712
|
*/
|
|
13172
12713
|
value: {
|
|
13173
12714
|
type: Number,
|
|
13174
|
-
required: false,
|
|
13175
12715
|
default: 0,
|
|
13176
12716
|
},
|
|
13177
12717
|
/**
|
|
@@ -13181,8 +12721,6 @@ const CProgressBar = defineComponent({
|
|
|
13181
12721
|
*/
|
|
13182
12722
|
variant: {
|
|
13183
12723
|
type: String,
|
|
13184
|
-
default: undefined,
|
|
13185
|
-
require: false,
|
|
13186
12724
|
validator: (value) => {
|
|
13187
12725
|
return value === 'striped';
|
|
13188
12726
|
},
|
|
@@ -13213,11 +12751,7 @@ const CProgress = defineComponent({
|
|
|
13213
12751
|
/**
|
|
13214
12752
|
* Sets the height of the component. If you set that value the inner `<CProgressBar>` will automatically resize accordingly.
|
|
13215
12753
|
*/
|
|
13216
|
-
height:
|
|
13217
|
-
type: Number,
|
|
13218
|
-
default: undefined,
|
|
13219
|
-
required: false,
|
|
13220
|
-
},
|
|
12754
|
+
height: Number,
|
|
13221
12755
|
/**
|
|
13222
12756
|
* Makes progress bar thinner.
|
|
13223
12757
|
*/
|
|
@@ -13262,18 +12796,13 @@ const CPopover = defineComponent({
|
|
|
13262
12796
|
/**
|
|
13263
12797
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
13264
12798
|
*/
|
|
13265
|
-
content:
|
|
13266
|
-
type: String,
|
|
13267
|
-
default: undefined,
|
|
13268
|
-
required: false,
|
|
13269
|
-
},
|
|
12799
|
+
content: String,
|
|
13270
12800
|
/**
|
|
13271
12801
|
* Offset of the popover relative to its target.
|
|
13272
12802
|
*/
|
|
13273
12803
|
offset: {
|
|
13274
12804
|
type: Array,
|
|
13275
12805
|
default: () => [0, 8],
|
|
13276
|
-
required: false,
|
|
13277
12806
|
},
|
|
13278
12807
|
/**
|
|
13279
12808
|
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
@@ -13281,7 +12810,6 @@ const CPopover = defineComponent({
|
|
|
13281
12810
|
placement: {
|
|
13282
12811
|
type: String,
|
|
13283
12812
|
default: 'top',
|
|
13284
|
-
required: false,
|
|
13285
12813
|
validator: (value) => {
|
|
13286
12814
|
return ['top', 'right', 'bottom', 'left'].includes(value);
|
|
13287
12815
|
},
|
|
@@ -13289,11 +12817,7 @@ const CPopover = defineComponent({
|
|
|
13289
12817
|
/**
|
|
13290
12818
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
13291
12819
|
*/
|
|
13292
|
-
title:
|
|
13293
|
-
type: String,
|
|
13294
|
-
default: undefined,
|
|
13295
|
-
required: false,
|
|
13296
|
-
},
|
|
12820
|
+
title: String,
|
|
13297
12821
|
/**
|
|
13298
12822
|
* Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
|
|
13299
12823
|
*
|
|
@@ -13302,7 +12826,6 @@ const CPopover = defineComponent({
|
|
|
13302
12826
|
trigger: {
|
|
13303
12827
|
type: [String, Array],
|
|
13304
12828
|
default: 'click',
|
|
13305
|
-
required: false,
|
|
13306
12829
|
validator: (value) => {
|
|
13307
12830
|
if (typeof value === 'string') {
|
|
13308
12831
|
return ['click', 'focus', 'hover'].includes(value);
|
|
@@ -13433,17 +12956,11 @@ const CSidebar = defineComponent({
|
|
|
13433
12956
|
/**
|
|
13434
12957
|
* Make sidebar narrow.
|
|
13435
12958
|
*/
|
|
13436
|
-
narrow:
|
|
13437
|
-
type: Boolean,
|
|
13438
|
-
required: false,
|
|
13439
|
-
},
|
|
12959
|
+
narrow: Boolean,
|
|
13440
12960
|
/**
|
|
13441
12961
|
* Set sidebar to overlaid variant.
|
|
13442
12962
|
*/
|
|
13443
|
-
overlaid:
|
|
13444
|
-
type: Boolean,
|
|
13445
|
-
required: false,
|
|
13446
|
-
},
|
|
12963
|
+
overlaid: Boolean,
|
|
13447
12964
|
/**
|
|
13448
12965
|
* Components placement, there’s no default placement.
|
|
13449
12966
|
* @values 'start', 'end'
|
|
@@ -13460,7 +12977,6 @@ const CSidebar = defineComponent({
|
|
|
13460
12977
|
*/
|
|
13461
12978
|
position: {
|
|
13462
12979
|
type: String,
|
|
13463
|
-
default: undefined,
|
|
13464
12980
|
validator: (value) => {
|
|
13465
12981
|
return ['fixed'].includes(value);
|
|
13466
12982
|
},
|
|
@@ -13470,7 +12986,6 @@ const CSidebar = defineComponent({
|
|
|
13470
12986
|
*/
|
|
13471
12987
|
size: {
|
|
13472
12988
|
type: String,
|
|
13473
|
-
default: undefined,
|
|
13474
12989
|
validator: (value) => {
|
|
13475
12990
|
return ['sm', 'lg', 'xl'].includes(value);
|
|
13476
12991
|
},
|
|
@@ -14095,7 +13610,7 @@ const CTableBody = defineComponent({
|
|
|
14095
13610
|
*
|
|
14096
13611
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14097
13612
|
*/
|
|
14098
|
-
color: Color,
|
|
13613
|
+
color: Color$1,
|
|
14099
13614
|
},
|
|
14100
13615
|
setup(props, { slots }) {
|
|
14101
13616
|
return () => h$1('tbody', {
|
|
@@ -14121,10 +13636,7 @@ const CTableDataCell = defineComponent({
|
|
|
14121
13636
|
/**
|
|
14122
13637
|
* Highlight a table row or cell.
|
|
14123
13638
|
*/
|
|
14124
|
-
active:
|
|
14125
|
-
type: Boolean,
|
|
14126
|
-
required: false,
|
|
14127
|
-
},
|
|
13639
|
+
active: Boolean,
|
|
14128
13640
|
/**
|
|
14129
13641
|
* Set the vertical aligment.
|
|
14130
13642
|
*
|
|
@@ -14132,8 +13644,6 @@ const CTableDataCell = defineComponent({
|
|
|
14132
13644
|
*/
|
|
14133
13645
|
align: {
|
|
14134
13646
|
type: String,
|
|
14135
|
-
default: undefined,
|
|
14136
|
-
required: false,
|
|
14137
13647
|
validator: (value) => {
|
|
14138
13648
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14139
13649
|
},
|
|
@@ -14143,14 +13653,11 @@ const CTableDataCell = defineComponent({
|
|
|
14143
13653
|
*
|
|
14144
13654
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14145
13655
|
*/
|
|
14146
|
-
color: Color,
|
|
13656
|
+
color: Color$1,
|
|
14147
13657
|
/**
|
|
14148
13658
|
* @ignore
|
|
14149
13659
|
*/
|
|
14150
|
-
scope:
|
|
14151
|
-
type: String,
|
|
14152
|
-
required: false,
|
|
14153
|
-
},
|
|
13660
|
+
scope: String,
|
|
14154
13661
|
},
|
|
14155
13662
|
setup(props, { slots }) {
|
|
14156
13663
|
return () => h$1(props.scope ? 'th' : 'td', {
|
|
@@ -14174,7 +13681,7 @@ const CTableFoot = defineComponent({
|
|
|
14174
13681
|
*
|
|
14175
13682
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14176
13683
|
*/
|
|
14177
|
-
color: Color,
|
|
13684
|
+
color: Color$1,
|
|
14178
13685
|
},
|
|
14179
13686
|
setup(props, { slots }) {
|
|
14180
13687
|
return () => h$1('tfoot', {
|
|
@@ -14195,7 +13702,7 @@ const CTableHead = defineComponent({
|
|
|
14195
13702
|
*
|
|
14196
13703
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14197
13704
|
*/
|
|
14198
|
-
color: Color,
|
|
13705
|
+
color: Color$1,
|
|
14199
13706
|
},
|
|
14200
13707
|
setup(props, { slots }) {
|
|
14201
13708
|
return () => h$1('thead', {
|
|
@@ -14216,7 +13723,7 @@ const CTableHeaderCell = defineComponent({
|
|
|
14216
13723
|
*
|
|
14217
13724
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14218
13725
|
*/
|
|
14219
|
-
color: Color,
|
|
13726
|
+
color: Color$1,
|
|
14220
13727
|
},
|
|
14221
13728
|
setup(props, { slots }) {
|
|
14222
13729
|
return () => h$1('th', {
|
|
@@ -14235,10 +13742,7 @@ const CTableRow = defineComponent({
|
|
|
14235
13742
|
/**
|
|
14236
13743
|
* Highlight a table row or cell..
|
|
14237
13744
|
*/
|
|
14238
|
-
active:
|
|
14239
|
-
type: Boolean,
|
|
14240
|
-
required: false,
|
|
14241
|
-
},
|
|
13745
|
+
active: Boolean,
|
|
14242
13746
|
/**
|
|
14243
13747
|
* Set the vertical aligment.
|
|
14244
13748
|
*
|
|
@@ -14246,8 +13750,6 @@ const CTableRow = defineComponent({
|
|
|
14246
13750
|
*/
|
|
14247
13751
|
align: {
|
|
14248
13752
|
type: String,
|
|
14249
|
-
default: undefined,
|
|
14250
|
-
required: false,
|
|
14251
13753
|
validator: (value) => {
|
|
14252
13754
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14253
13755
|
},
|
|
@@ -14257,7 +13759,7 @@ const CTableRow = defineComponent({
|
|
|
14257
13759
|
*
|
|
14258
13760
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14259
13761
|
*/
|
|
14260
|
-
color: Color,
|
|
13762
|
+
color: Color$1,
|
|
14261
13763
|
},
|
|
14262
13764
|
setup(props, { slots }) {
|
|
14263
13765
|
return () => h$1('tr', {
|
|
@@ -14281,11 +13783,14 @@ const pretifyName$1 = (name) => {
|
|
|
14281
13783
|
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
14282
13784
|
.join(' ');
|
|
14283
13785
|
};
|
|
14284
|
-
const
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
13786
|
+
const getColumnLabel$1 = (column) => typeof column === 'object' ? column.label ?? pretifyName$1(column.key) : pretifyName$1(column);
|
|
13787
|
+
const getColumnNames$1 = (columns, items) => columns
|
|
13788
|
+
? columns.map((column) => {
|
|
13789
|
+
return typeof column === 'object' ? column.key : column;
|
|
13790
|
+
})
|
|
13791
|
+
: items && getColumnNamesFromItems$1(items);
|
|
13792
|
+
const getColumnNamesFromItems$1 = (items) => Object.keys(items[0] || {}).filter((el) => el.charAt(0) !== '_');
|
|
13793
|
+
|
|
14289
13794
|
const CTable = defineComponent({
|
|
14290
13795
|
name: 'CTable',
|
|
14291
13796
|
props: {
|
|
@@ -14296,8 +13801,6 @@ const CTable = defineComponent({
|
|
|
14296
13801
|
*/
|
|
14297
13802
|
align: {
|
|
14298
13803
|
type: String,
|
|
14299
|
-
default: undefined,
|
|
14300
|
-
required: false,
|
|
14301
13804
|
validator: (value) => {
|
|
14302
13805
|
return ['bottom', 'middle', 'top'].includes(value);
|
|
14303
13806
|
},
|
|
@@ -14307,41 +13810,27 @@ const CTable = defineComponent({
|
|
|
14307
13810
|
*
|
|
14308
13811
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
14309
13812
|
*/
|
|
14310
|
-
borderColor: Color,
|
|
13813
|
+
borderColor: Color$1,
|
|
14311
13814
|
/**
|
|
14312
13815
|
* Add borders on all sides of the table and cells.
|
|
14313
13816
|
*/
|
|
14314
|
-
bordered:
|
|
14315
|
-
type: Boolean,
|
|
14316
|
-
required: false,
|
|
14317
|
-
},
|
|
13817
|
+
bordered: Boolean,
|
|
14318
13818
|
/**
|
|
14319
13819
|
* Remove borders on all sides of the table and cells.
|
|
14320
13820
|
*/
|
|
14321
|
-
borderless:
|
|
14322
|
-
type: Boolean,
|
|
14323
|
-
required: false,
|
|
14324
|
-
},
|
|
13821
|
+
borderless: Boolean,
|
|
14325
13822
|
/**
|
|
14326
13823
|
* Put the `<caption>` on the top of the table.
|
|
14327
13824
|
*
|
|
14328
13825
|
* @values 'top' | string
|
|
14329
13826
|
*/
|
|
14330
|
-
caption:
|
|
14331
|
-
type: String,
|
|
14332
|
-
default: undefined,
|
|
14333
|
-
required: false,
|
|
14334
|
-
},
|
|
13827
|
+
caption: String,
|
|
14335
13828
|
/**
|
|
14336
13829
|
* Set the text of the table caption and the caption on the top of the table.
|
|
14337
13830
|
*
|
|
14338
13831
|
* @since 4.5.0
|
|
14339
13832
|
*/
|
|
14340
|
-
captionTop:
|
|
14341
|
-
type: String,
|
|
14342
|
-
default: undefined,
|
|
14343
|
-
required: false,
|
|
14344
|
-
},
|
|
13833
|
+
captionTop: String,
|
|
14345
13834
|
/**
|
|
14346
13835
|
* Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_props')
|
|
14347
13836
|
*
|
|
@@ -14357,14 +13846,13 @@ const CTable = defineComponent({
|
|
|
14357
13846
|
*/
|
|
14358
13847
|
columns: {
|
|
14359
13848
|
type: Array,
|
|
14360
|
-
required: false,
|
|
14361
13849
|
},
|
|
14362
13850
|
/**
|
|
14363
13851
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
14364
13852
|
*
|
|
14365
13853
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
14366
13854
|
*/
|
|
14367
|
-
color: Color,
|
|
13855
|
+
color: Color$1,
|
|
14368
13856
|
/**
|
|
14369
13857
|
* Array of objects or strings, where each element represents one cell in the table footer.
|
|
14370
13858
|
*
|
|
@@ -14377,15 +13865,11 @@ const CTable = defineComponent({
|
|
|
14377
13865
|
*/
|
|
14378
13866
|
footer: {
|
|
14379
13867
|
type: Array,
|
|
14380
|
-
required: false,
|
|
14381
13868
|
},
|
|
14382
13869
|
/**
|
|
14383
13870
|
* Enable a hover state on table rows within a `<CTableBody>`.
|
|
14384
13871
|
*/
|
|
14385
|
-
hover:
|
|
14386
|
-
type: Boolean,
|
|
14387
|
-
required: false,
|
|
14388
|
-
},
|
|
13872
|
+
hover: Boolean,
|
|
14389
13873
|
/**
|
|
14390
13874
|
* Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '_props' key and to single cell by '_cellProps'.
|
|
14391
13875
|
*
|
|
@@ -14396,12 +13880,9 @@ const CTable = defineComponent({
|
|
|
14396
13880
|
*/
|
|
14397
13881
|
items: {
|
|
14398
13882
|
type: Array,
|
|
14399
|
-
required: false,
|
|
14400
13883
|
},
|
|
14401
13884
|
responsive: {
|
|
14402
13885
|
type: [Boolean, String],
|
|
14403
|
-
default: undefined,
|
|
14404
|
-
required: false,
|
|
14405
13886
|
validator: (value) => {
|
|
14406
13887
|
if (typeof value == 'string') {
|
|
14407
13888
|
return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value);
|
|
@@ -14415,26 +13896,17 @@ const CTable = defineComponent({
|
|
|
14415
13896
|
/**
|
|
14416
13897
|
* Make table more compact by cutting all cell `padding` in half.
|
|
14417
13898
|
*/
|
|
14418
|
-
small:
|
|
14419
|
-
type: Boolean,
|
|
14420
|
-
required: false,
|
|
14421
|
-
},
|
|
13899
|
+
small: Boolean,
|
|
14422
13900
|
/**
|
|
14423
13901
|
* Add zebra-striping to any table row within the `<CTableBody>`.
|
|
14424
13902
|
*/
|
|
14425
|
-
striped:
|
|
14426
|
-
type: Boolean,
|
|
14427
|
-
required: false,
|
|
14428
|
-
},
|
|
13903
|
+
striped: Boolean,
|
|
14429
13904
|
/**
|
|
14430
13905
|
* Add zebra-striping to any table column.
|
|
14431
13906
|
*
|
|
14432
13907
|
* @since 4.4.0
|
|
14433
13908
|
*/
|
|
14434
|
-
stripedColumns:
|
|
14435
|
-
type: Boolean,
|
|
14436
|
-
required: false,
|
|
14437
|
-
},
|
|
13909
|
+
stripedColumns: Boolean,
|
|
14438
13910
|
/**
|
|
14439
13911
|
* Properties that will be passed to the table footer component.
|
|
14440
13912
|
*
|
|
@@ -14443,8 +13915,6 @@ const CTable = defineComponent({
|
|
|
14443
13915
|
*/
|
|
14444
13916
|
tableFootProps: {
|
|
14445
13917
|
type: Object,
|
|
14446
|
-
default: undefined,
|
|
14447
|
-
required: false,
|
|
14448
13918
|
},
|
|
14449
13919
|
/**
|
|
14450
13920
|
* Properties that will be passed to the table head component.
|
|
@@ -14454,19 +13924,17 @@ const CTable = defineComponent({
|
|
|
14454
13924
|
*/
|
|
14455
13925
|
tableHeadProps: {
|
|
14456
13926
|
type: Object,
|
|
14457
|
-
default: undefined,
|
|
14458
|
-
required: false,
|
|
14459
13927
|
},
|
|
14460
13928
|
},
|
|
14461
13929
|
setup(props, { slots, attrs }) {
|
|
14462
|
-
const
|
|
14463
|
-
|
|
14464
|
-
|
|
14465
|
-
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
|
-
|
|
13930
|
+
const columnNames = computed(() => getColumnNames$1(props.columns, props.items));
|
|
13931
|
+
// props.columns
|
|
13932
|
+
// ? props.columns.map((column: Column | string) => {
|
|
13933
|
+
// if (typeof column === 'object') return column.key
|
|
13934
|
+
// else return column
|
|
13935
|
+
// })
|
|
13936
|
+
// : Object.keys((props.items && props.items[0]) || {}).filter((el) => el.charAt(0) !== '_'),
|
|
13937
|
+
// )
|
|
14470
13938
|
const table = () => h$1('table', {
|
|
14471
13939
|
class: [
|
|
14472
13940
|
'table',
|
|
@@ -14503,7 +13971,7 @@ const CTable = defineComponent({
|
|
|
14503
13971
|
...(typeof column === 'object' &&
|
|
14504
13972
|
column._style && { style: { ...column._style } }),
|
|
14505
13973
|
}, {
|
|
14506
|
-
default: () =>
|
|
13974
|
+
default: () => getColumnLabel$1(column),
|
|
14507
13975
|
})),
|
|
14508
13976
|
],
|
|
14509
13977
|
}),
|
|
@@ -14516,7 +13984,7 @@ const CTable = defineComponent({
|
|
|
14516
13984
|
...(item._props && { ...item._props }),
|
|
14517
13985
|
}, {
|
|
14518
13986
|
default: () => [
|
|
14519
|
-
|
|
13987
|
+
columnNames.value && columnNames.value.map((colName) => item[colName] &&
|
|
14520
13988
|
h$1(CTableDataCell, {
|
|
14521
13989
|
...(item._cellProps &&
|
|
14522
13990
|
item._cellProps['all'] && { ...item._cellProps['all'] }),
|
|
@@ -15592,10 +15060,10 @@ const CSmartTable = defineComponent({
|
|
|
15592
15060
|
: handleActivePageChange(page),
|
|
15593
15061
|
})
|
|
15594
15062
|
: ''),
|
|
15595
|
-
|
|
15596
|
-
class: 'col-auto ms-auto',
|
|
15597
|
-
}, props.itemsPerPageSelect &&
|
|
15063
|
+
props.itemsPerPageSelect &&
|
|
15598
15064
|
h$1('div', {
|
|
15065
|
+
class: 'col-auto ms-auto',
|
|
15066
|
+
}, h$1('div', {
|
|
15599
15067
|
class: 'row',
|
|
15600
15068
|
}, {
|
|
15601
15069
|
default: () => [
|
|
@@ -15647,7 +15115,6 @@ const CTabPane = defineComponent({
|
|
|
15647
15115
|
visible: {
|
|
15648
15116
|
type: Boolean,
|
|
15649
15117
|
default: false,
|
|
15650
|
-
required: false,
|
|
15651
15118
|
},
|
|
15652
15119
|
},
|
|
15653
15120
|
emits: [
|
|
@@ -15710,21 +15177,19 @@ const CToast = defineComponent({
|
|
|
15710
15177
|
autohide: {
|
|
15711
15178
|
type: Boolean,
|
|
15712
15179
|
default: true,
|
|
15713
|
-
required: false,
|
|
15714
15180
|
},
|
|
15715
15181
|
/**
|
|
15716
15182
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
15717
15183
|
*
|
|
15718
15184
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
|
|
15719
15185
|
*/
|
|
15720
|
-
color: Color,
|
|
15186
|
+
color: Color$1,
|
|
15721
15187
|
/**
|
|
15722
15188
|
* Delay hiding the toast (ms).
|
|
15723
15189
|
*/
|
|
15724
15190
|
delay: {
|
|
15725
15191
|
type: Number,
|
|
15726
15192
|
default: 5000,
|
|
15727
|
-
required: false,
|
|
15728
15193
|
},
|
|
15729
15194
|
/**
|
|
15730
15195
|
* Optionally add a close button to component and allow it to self dismiss.
|
|
@@ -15732,32 +15197,19 @@ const CToast = defineComponent({
|
|
|
15732
15197
|
dismissible: {
|
|
15733
15198
|
type: Boolean,
|
|
15734
15199
|
default: true,
|
|
15735
|
-
required: false,
|
|
15736
15200
|
},
|
|
15737
15201
|
/**
|
|
15738
15202
|
* index of the component.
|
|
15739
15203
|
*/
|
|
15740
|
-
index:
|
|
15741
|
-
type: Number,
|
|
15742
|
-
default: undefined,
|
|
15743
|
-
required: false,
|
|
15744
|
-
},
|
|
15204
|
+
index: Number,
|
|
15745
15205
|
/**
|
|
15746
15206
|
* Title node for your component.
|
|
15747
15207
|
*/
|
|
15748
|
-
title:
|
|
15749
|
-
type: String,
|
|
15750
|
-
default: undefined,
|
|
15751
|
-
required: false,
|
|
15752
|
-
},
|
|
15208
|
+
title: String,
|
|
15753
15209
|
/**
|
|
15754
15210
|
* Toggle the visibility of component.
|
|
15755
15211
|
*/
|
|
15756
|
-
visible:
|
|
15757
|
-
type: Boolean,
|
|
15758
|
-
default: true,
|
|
15759
|
-
required: false,
|
|
15760
|
-
},
|
|
15212
|
+
visible: Boolean,
|
|
15761
15213
|
},
|
|
15762
15214
|
emits: [
|
|
15763
15215
|
/**
|
|
@@ -15770,46 +15222,19 @@ const CToast = defineComponent({
|
|
|
15770
15222
|
'show',
|
|
15771
15223
|
],
|
|
15772
15224
|
setup(props, { slots, emit }) {
|
|
15773
|
-
const
|
|
15774
|
-
|
|
15775
|
-
const updateVisible = (
|
|
15776
|
-
visible.value =
|
|
15225
|
+
const timeout = ref(0);
|
|
15226
|
+
const visible = ref();
|
|
15227
|
+
const updateVisible = (_visible) => {
|
|
15228
|
+
visible.value = _visible;
|
|
15777
15229
|
};
|
|
15778
15230
|
provide('updateVisible', updateVisible);
|
|
15779
|
-
const handleBeforeEnter = (el) => {
|
|
15780
|
-
el.classList.add('showing');
|
|
15781
|
-
};
|
|
15782
|
-
const handleEnter = (el, done) => {
|
|
15783
|
-
executeAfterTransition(() => done(), el);
|
|
15784
|
-
el.classList.add('show');
|
|
15785
|
-
setTimeout(() => {
|
|
15786
|
-
el.classList.remove('showing');
|
|
15787
|
-
}, 1);
|
|
15788
|
-
if (props.index) {
|
|
15789
|
-
emit('show', props.index);
|
|
15790
|
-
}
|
|
15791
|
-
else {
|
|
15792
|
-
emit('show');
|
|
15793
|
-
}
|
|
15794
|
-
};
|
|
15795
|
-
const handleLeave = (el, done) => {
|
|
15796
|
-
executeAfterTransition(() => done(), el);
|
|
15797
|
-
el.classList.add('showing');
|
|
15798
|
-
};
|
|
15799
|
-
const handleAfterLeave = (el) => {
|
|
15800
|
-
el.classList.remove('show');
|
|
15801
|
-
el.classList.add('hide');
|
|
15802
|
-
if (props.index) {
|
|
15803
|
-
emit('close', props.index);
|
|
15804
|
-
}
|
|
15805
|
-
else {
|
|
15806
|
-
emit('close');
|
|
15807
|
-
}
|
|
15808
|
-
};
|
|
15809
15231
|
onMounted(() => {
|
|
15232
|
+
if (props.visible) {
|
|
15233
|
+
visible.value = props.visible;
|
|
15234
|
+
}
|
|
15810
15235
|
if (props.autohide) {
|
|
15811
|
-
clearTimeout(timeout);
|
|
15812
|
-
timeout = window.setTimeout(() => {
|
|
15236
|
+
clearTimeout(timeout.value);
|
|
15237
|
+
timeout.value = window.setTimeout(() => {
|
|
15813
15238
|
visible.value = false;
|
|
15814
15239
|
emit('close');
|
|
15815
15240
|
}, props.delay);
|
|
@@ -15817,23 +15242,33 @@ const CToast = defineComponent({
|
|
|
15817
15242
|
});
|
|
15818
15243
|
return () => h$1(Transition, {
|
|
15819
15244
|
appear: true,
|
|
15820
|
-
|
|
15821
|
-
|
|
15822
|
-
|
|
15823
|
-
|
|
15824
|
-
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
|
|
15834
|
-
|
|
15835
|
-
|
|
15836
|
-
|
|
15245
|
+
enterFromClass: '',
|
|
15246
|
+
enterActiveClass: 'show showing',
|
|
15247
|
+
enterToClass: 'show',
|
|
15248
|
+
leaveFromClass: 'show',
|
|
15249
|
+
leaveActiveClass: 'show showing',
|
|
15250
|
+
leaveToClass: 'show',
|
|
15251
|
+
onAfterEnter: (el) => {
|
|
15252
|
+
el.classList.add('show');
|
|
15253
|
+
props.index ? emit('show', props.index) : emit('show');
|
|
15254
|
+
},
|
|
15255
|
+
onAfterLeave: () => {
|
|
15256
|
+
props.index ? emit('close', props.index) : emit('close');
|
|
15257
|
+
},
|
|
15258
|
+
}, {
|
|
15259
|
+
default: () => visible.value &&
|
|
15260
|
+
h$1('div', {
|
|
15261
|
+
class: [
|
|
15262
|
+
'toast fade',
|
|
15263
|
+
{
|
|
15264
|
+
[`bg-${props.color}`]: props.color,
|
|
15265
|
+
},
|
|
15266
|
+
],
|
|
15267
|
+
'aria-live': 'assertive',
|
|
15268
|
+
'aria-atomic': true,
|
|
15269
|
+
role: 'alert',
|
|
15270
|
+
}, slots.default && slots.default()),
|
|
15271
|
+
});
|
|
15837
15272
|
},
|
|
15838
15273
|
});
|
|
15839
15274
|
|
|
@@ -15850,11 +15285,7 @@ const CToastClose = defineComponent({
|
|
|
15850
15285
|
/**
|
|
15851
15286
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
15852
15287
|
*/
|
|
15853
|
-
component:
|
|
15854
|
-
type: String,
|
|
15855
|
-
default: undefined,
|
|
15856
|
-
required: false,
|
|
15857
|
-
},
|
|
15288
|
+
component: String,
|
|
15858
15289
|
...CCloseButton.props,
|
|
15859
15290
|
},
|
|
15860
15291
|
emits: [
|
|
@@ -15895,8 +15326,6 @@ const CToaster = defineComponent({
|
|
|
15895
15326
|
*/
|
|
15896
15327
|
placement: {
|
|
15897
15328
|
type: String,
|
|
15898
|
-
default: undefined,
|
|
15899
|
-
require: false,
|
|
15900
15329
|
validator: (value) => {
|
|
15901
15330
|
return [
|
|
15902
15331
|
'top-start',
|
|
@@ -15936,10 +15365,7 @@ const CToastHeader = defineComponent({
|
|
|
15936
15365
|
/**
|
|
15937
15366
|
* Automatically add a close button to the header.
|
|
15938
15367
|
*/
|
|
15939
|
-
closeButton:
|
|
15940
|
-
type: Boolean,
|
|
15941
|
-
require: false,
|
|
15942
|
-
},
|
|
15368
|
+
closeButton: Boolean,
|
|
15943
15369
|
},
|
|
15944
15370
|
emits: [
|
|
15945
15371
|
/**
|
|
@@ -15974,18 +15400,13 @@ const CTooltip = defineComponent({
|
|
|
15974
15400
|
/**
|
|
15975
15401
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
15976
15402
|
*/
|
|
15977
|
-
content:
|
|
15978
|
-
type: String,
|
|
15979
|
-
default: undefined,
|
|
15980
|
-
required: false,
|
|
15981
|
-
},
|
|
15403
|
+
content: String,
|
|
15982
15404
|
/**
|
|
15983
15405
|
* Offset of the tooltip relative to its target.
|
|
15984
15406
|
*/
|
|
15985
15407
|
offset: {
|
|
15986
15408
|
type: Array,
|
|
15987
15409
|
default: () => [0, 0],
|
|
15988
|
-
required: false,
|
|
15989
15410
|
},
|
|
15990
15411
|
/**
|
|
15991
15412
|
* Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
|
|
@@ -15993,7 +15414,6 @@ const CTooltip = defineComponent({
|
|
|
15993
15414
|
placement: {
|
|
15994
15415
|
type: String,
|
|
15995
15416
|
default: 'top',
|
|
15996
|
-
required: false,
|
|
15997
15417
|
validator: (value) => {
|
|
15998
15418
|
return ['top', 'right', 'bottom', 'left'].includes(value);
|
|
15999
15419
|
},
|
|
@@ -16006,7 +15426,6 @@ const CTooltip = defineComponent({
|
|
|
16006
15426
|
trigger: {
|
|
16007
15427
|
type: [String, Array],
|
|
16008
15428
|
default: 'hover',
|
|
16009
|
-
required: false,
|
|
16010
15429
|
validator: (value) => {
|
|
16011
15430
|
if (typeof value === 'string') {
|
|
16012
15431
|
return ['click', 'focus', 'hover'].includes(value);
|
|
@@ -16117,26 +15536,17 @@ const CTooltipPlugin = {
|
|
|
16117
15536
|
const CWidgetStatsA = defineComponent({
|
|
16118
15537
|
name: 'CWidgetStatsA',
|
|
16119
15538
|
props: {
|
|
16120
|
-
color:
|
|
16121
|
-
type: String,
|
|
16122
|
-
default: undefined,
|
|
16123
|
-
require: false,
|
|
16124
|
-
},
|
|
15539
|
+
color: String,
|
|
16125
15540
|
/**
|
|
16126
15541
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16127
15542
|
*/
|
|
16128
|
-
title:
|
|
16129
|
-
type: String,
|
|
16130
|
-
default: undefined,
|
|
16131
|
-
require: false,
|
|
16132
|
-
},
|
|
15543
|
+
title: String,
|
|
16133
15544
|
/**
|
|
16134
15545
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16135
15546
|
*/
|
|
16136
15547
|
value: {
|
|
16137
15548
|
type: [Number, String],
|
|
16138
|
-
default: 0
|
|
16139
|
-
require: false,
|
|
15549
|
+
default: 0
|
|
16140
15550
|
},
|
|
16141
15551
|
},
|
|
16142
15552
|
/**
|
|
@@ -16225,22 +15635,18 @@ const CWidgetStatsB = defineComponent({
|
|
|
16225
15635
|
*
|
|
16226
15636
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16227
15637
|
*/
|
|
16228
|
-
color: Color,
|
|
15638
|
+
color: Color$1,
|
|
16229
15639
|
/**
|
|
16230
15640
|
* Colors have been inverted from their default dark shade.
|
|
16231
15641
|
*/
|
|
16232
|
-
inverse:
|
|
16233
|
-
type: Boolean,
|
|
16234
|
-
default: undefined,
|
|
16235
|
-
require: false,
|
|
16236
|
-
},
|
|
15642
|
+
inverse: Boolean,
|
|
16237
15643
|
progress: J({
|
|
16238
15644
|
/**
|
|
16239
15645
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
16240
15646
|
*
|
|
16241
15647
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16242
15648
|
*/
|
|
16243
|
-
color: Color,
|
|
15649
|
+
color: Color$1,
|
|
16244
15650
|
/**
|
|
16245
15651
|
* The percent to progress the ProgressBar (out of 100).
|
|
16246
15652
|
*/
|
|
@@ -16252,26 +15658,17 @@ const CWidgetStatsB = defineComponent({
|
|
|
16252
15658
|
/**
|
|
16253
15659
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
16254
15660
|
*/
|
|
16255
|
-
text:
|
|
16256
|
-
type: String,
|
|
16257
|
-
default: undefined,
|
|
16258
|
-
require: false,
|
|
16259
|
-
},
|
|
15661
|
+
text: String,
|
|
16260
15662
|
/**
|
|
16261
15663
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16262
15664
|
*/
|
|
16263
|
-
title:
|
|
16264
|
-
type: String,
|
|
16265
|
-
default: undefined,
|
|
16266
|
-
require: false,
|
|
16267
|
-
},
|
|
15665
|
+
title: String,
|
|
16268
15666
|
/**
|
|
16269
15667
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16270
15668
|
*/
|
|
16271
15669
|
value: {
|
|
16272
15670
|
type: [Number, String],
|
|
16273
|
-
default: 0
|
|
16274
|
-
require: false,
|
|
15671
|
+
default: 0
|
|
16275
15672
|
},
|
|
16276
15673
|
},
|
|
16277
15674
|
setup(props, { slots }) {
|
|
@@ -16322,22 +15719,18 @@ const CWidgetStatsC = defineComponent({
|
|
|
16322
15719
|
*
|
|
16323
15720
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16324
15721
|
*/
|
|
16325
|
-
color: Color,
|
|
15722
|
+
color: Color$1,
|
|
16326
15723
|
/**
|
|
16327
15724
|
* Colors have been inverted from their default dark shade.
|
|
16328
15725
|
*/
|
|
16329
|
-
inverse:
|
|
16330
|
-
type: Boolean,
|
|
16331
|
-
default: undefined,
|
|
16332
|
-
require: false,
|
|
16333
|
-
},
|
|
15726
|
+
inverse: Boolean,
|
|
16334
15727
|
progress: J({
|
|
16335
15728
|
/**
|
|
16336
15729
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
16337
15730
|
*
|
|
16338
15731
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16339
15732
|
*/
|
|
16340
|
-
color: Color,
|
|
15733
|
+
color: Color$1,
|
|
16341
15734
|
/**
|
|
16342
15735
|
* The percent to progress the ProgressBar (out of 100).
|
|
16343
15736
|
*/
|
|
@@ -16349,18 +15742,13 @@ const CWidgetStatsC = defineComponent({
|
|
|
16349
15742
|
/**
|
|
16350
15743
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16351
15744
|
*/
|
|
16352
|
-
title:
|
|
16353
|
-
type: String,
|
|
16354
|
-
default: undefined,
|
|
16355
|
-
require: false,
|
|
16356
|
-
},
|
|
15745
|
+
title: String,
|
|
16357
15746
|
/**
|
|
16358
15747
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16359
15748
|
*/
|
|
16360
15749
|
value: {
|
|
16361
15750
|
type: [Number, String],
|
|
16362
|
-
default: 0
|
|
16363
|
-
require: false,
|
|
15751
|
+
default: 0
|
|
16364
15752
|
},
|
|
16365
15753
|
},
|
|
16366
15754
|
/**
|
|
@@ -16420,14 +15808,13 @@ const CWidgetStatsD = defineComponent({
|
|
|
16420
15808
|
*
|
|
16421
15809
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16422
15810
|
*/
|
|
16423
|
-
color: Color,
|
|
15811
|
+
color: Color$1,
|
|
16424
15812
|
/**
|
|
16425
15813
|
* Values and titles for your component.
|
|
16426
15814
|
*/
|
|
16427
15815
|
values: {
|
|
16428
15816
|
type: Array,
|
|
16429
15817
|
default: () => [],
|
|
16430
|
-
require: false,
|
|
16431
15818
|
},
|
|
16432
15819
|
},
|
|
16433
15820
|
/**
|
|
@@ -16476,18 +15863,13 @@ const CWidgetStatsE = defineComponent({
|
|
|
16476
15863
|
/**
|
|
16477
15864
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16478
15865
|
*/
|
|
16479
|
-
title:
|
|
16480
|
-
type: String,
|
|
16481
|
-
default: undefined,
|
|
16482
|
-
require: false,
|
|
16483
|
-
},
|
|
15866
|
+
title: String,
|
|
16484
15867
|
/**
|
|
16485
15868
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16486
15869
|
*/
|
|
16487
15870
|
value: {
|
|
16488
15871
|
type: [Number, String],
|
|
16489
|
-
default: 0
|
|
16490
|
-
require: false,
|
|
15872
|
+
default: 0
|
|
16491
15873
|
},
|
|
16492
15874
|
},
|
|
16493
15875
|
/**
|
|
@@ -16525,7 +15907,7 @@ const CWidgetStatsF = defineComponent({
|
|
|
16525
15907
|
*
|
|
16526
15908
|
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
|
|
16527
15909
|
*/
|
|
16528
|
-
color: Color,
|
|
15910
|
+
color: Color$1,
|
|
16529
15911
|
/**
|
|
16530
15912
|
* Set padding of your component.
|
|
16531
15913
|
*/
|
|
@@ -16536,26 +15918,17 @@ const CWidgetStatsF = defineComponent({
|
|
|
16536
15918
|
/**
|
|
16537
15919
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
16538
15920
|
*/
|
|
16539
|
-
title:
|
|
16540
|
-
type: String,
|
|
16541
|
-
default: undefined,
|
|
16542
|
-
require: false,
|
|
16543
|
-
},
|
|
15921
|
+
title: String,
|
|
16544
15922
|
/**
|
|
16545
15923
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
16546
15924
|
*/
|
|
16547
|
-
text:
|
|
16548
|
-
type: String,
|
|
16549
|
-
default: undefined,
|
|
16550
|
-
require: false,
|
|
16551
|
-
},
|
|
15925
|
+
text: String,
|
|
16552
15926
|
/**
|
|
16553
15927
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
16554
15928
|
*/
|
|
16555
15929
|
value: {
|
|
16556
15930
|
type: [Number, String],
|
|
16557
|
-
default: 0
|
|
16558
|
-
require: false,
|
|
15931
|
+
default: 0
|
|
16559
15932
|
},
|
|
16560
15933
|
},
|
|
16561
15934
|
/**
|