@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
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { defineComponent, h, onMounted, provide, ref,
|
|
1
|
+
import { defineComponent, h, onMounted, provide, ref, Transition } from 'vue'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { Color } from '../props'
|
|
3
|
+
import { Color } from '../../props'
|
|
6
4
|
|
|
7
5
|
const CToast = defineComponent({
|
|
8
6
|
name: 'CToast',
|
|
@@ -13,7 +11,6 @@ const CToast = defineComponent({
|
|
|
13
11
|
autohide: {
|
|
14
12
|
type: Boolean,
|
|
15
13
|
default: true,
|
|
16
|
-
required: false,
|
|
17
14
|
},
|
|
18
15
|
/**
|
|
19
16
|
* Sets the color context of the component to one of CoreUI’s themed colors.
|
|
@@ -27,7 +24,6 @@ const CToast = defineComponent({
|
|
|
27
24
|
delay: {
|
|
28
25
|
type: Number,
|
|
29
26
|
default: 5000,
|
|
30
|
-
required: false,
|
|
31
27
|
},
|
|
32
28
|
/**
|
|
33
29
|
* Optionally add a close button to component and allow it to self dismiss.
|
|
@@ -35,32 +31,19 @@ const CToast = defineComponent({
|
|
|
35
31
|
dismissible: {
|
|
36
32
|
type: Boolean,
|
|
37
33
|
default: true,
|
|
38
|
-
required: false,
|
|
39
34
|
},
|
|
40
35
|
/**
|
|
41
36
|
* index of the component.
|
|
42
37
|
*/
|
|
43
|
-
index:
|
|
44
|
-
type: Number,
|
|
45
|
-
default: undefined,
|
|
46
|
-
required: false,
|
|
47
|
-
},
|
|
38
|
+
index: Number,
|
|
48
39
|
/**
|
|
49
40
|
* Title node for your component.
|
|
50
41
|
*/
|
|
51
|
-
title:
|
|
52
|
-
type: String,
|
|
53
|
-
default: undefined,
|
|
54
|
-
required: false,
|
|
55
|
-
},
|
|
42
|
+
title: String,
|
|
56
43
|
/**
|
|
57
44
|
* Toggle the visibility of component.
|
|
58
45
|
*/
|
|
59
|
-
visible:
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: true,
|
|
62
|
-
required: false,
|
|
63
|
-
},
|
|
46
|
+
visible: Boolean,
|
|
64
47
|
},
|
|
65
48
|
emits: [
|
|
66
49
|
/**
|
|
@@ -73,51 +56,23 @@ const CToast = defineComponent({
|
|
|
73
56
|
'show',
|
|
74
57
|
],
|
|
75
58
|
setup(props, { slots, emit }) {
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
const updateVisible = (v: boolean) => {
|
|
80
|
-
visible.value = v
|
|
81
|
-
}
|
|
82
|
-
provide('updateVisible', updateVisible)
|
|
83
|
-
|
|
84
|
-
const handleBeforeEnter = (el: RendererElement) => {
|
|
85
|
-
el.classList.add('showing')
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
const handleEnter = (el: RendererElement, done: () => void) => {
|
|
89
|
-
executeAfterTransition(() => done(), el as HTMLElement)
|
|
90
|
-
el.classList.add('show')
|
|
91
|
-
setTimeout(() => {
|
|
92
|
-
el.classList.remove('showing')
|
|
93
|
-
}, 1)
|
|
94
|
-
|
|
95
|
-
if (props.index) {
|
|
96
|
-
emit('show', props.index)
|
|
97
|
-
} else {
|
|
98
|
-
emit('show')
|
|
99
|
-
}
|
|
100
|
-
}
|
|
59
|
+
const timeout = ref(0)
|
|
60
|
+
const visible = ref()
|
|
101
61
|
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
el.classList.add('showing')
|
|
62
|
+
const updateVisible = (_visible: boolean) => {
|
|
63
|
+
visible.value = _visible
|
|
105
64
|
}
|
|
106
65
|
|
|
107
|
-
|
|
108
|
-
el.classList.remove('show')
|
|
109
|
-
el.classList.add('hide')
|
|
110
|
-
if (props.index) {
|
|
111
|
-
emit('close', props.index)
|
|
112
|
-
} else {
|
|
113
|
-
emit('close')
|
|
114
|
-
}
|
|
115
|
-
}
|
|
66
|
+
provide('updateVisible', updateVisible)
|
|
116
67
|
|
|
117
68
|
onMounted(() => {
|
|
69
|
+
if (props.visible) {
|
|
70
|
+
visible.value = props.visible
|
|
71
|
+
}
|
|
72
|
+
|
|
118
73
|
if (props.autohide) {
|
|
119
|
-
clearTimeout(timeout)
|
|
120
|
-
timeout = window.setTimeout(() => {
|
|
74
|
+
clearTimeout(timeout.value)
|
|
75
|
+
timeout.value = window.setTimeout(() => {
|
|
121
76
|
visible.value = false
|
|
122
77
|
emit('close')
|
|
123
78
|
}, props.delay)
|
|
@@ -129,29 +84,39 @@ const CToast = defineComponent({
|
|
|
129
84
|
Transition,
|
|
130
85
|
{
|
|
131
86
|
appear: true,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
87
|
+
enterFromClass: '',
|
|
88
|
+
enterActiveClass: 'show showing',
|
|
89
|
+
enterToClass: 'show',
|
|
90
|
+
leaveFromClass: 'show',
|
|
91
|
+
leaveActiveClass: 'show showing',
|
|
92
|
+
leaveToClass: 'show',
|
|
93
|
+
onAfterEnter: (el) => {
|
|
94
|
+
el.classList.add('show')
|
|
95
|
+
props.index ? emit('show', props.index) : emit('show')
|
|
96
|
+
},
|
|
97
|
+
onAfterLeave: () => {
|
|
98
|
+
props.index ? emit('close', props.index) : emit('close')
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
default: () =>
|
|
103
|
+
visible.value &&
|
|
104
|
+
h(
|
|
105
|
+
'div',
|
|
106
|
+
{
|
|
107
|
+
class: [
|
|
108
|
+
'toast fade',
|
|
109
|
+
{
|
|
110
|
+
[`bg-${props.color}`]: props.color,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
'aria-live': 'assertive',
|
|
114
|
+
'aria-atomic': true,
|
|
115
|
+
role: 'alert',
|
|
116
|
+
},
|
|
117
|
+
slots.default && slots.default(),
|
|
118
|
+
),
|
|
136
119
|
},
|
|
137
|
-
() =>
|
|
138
|
-
visible.value &&
|
|
139
|
-
h(
|
|
140
|
-
'div',
|
|
141
|
-
{
|
|
142
|
-
class: [
|
|
143
|
-
'toast fade',
|
|
144
|
-
{
|
|
145
|
-
[`bg-${props.color}`]: props.color,
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
'aria-live': 'assertive',
|
|
149
|
-
'aria-atomic': true,
|
|
150
|
-
role: 'alert',
|
|
151
|
-
ref: 'toastRef',
|
|
152
|
-
},
|
|
153
|
-
slots.default && slots.default(),
|
|
154
|
-
),
|
|
155
120
|
)
|
|
156
121
|
},
|
|
157
122
|
})
|
|
@@ -7,11 +7,7 @@ const CToastClose = defineComponent({
|
|
|
7
7
|
/**
|
|
8
8
|
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
9
9
|
*/
|
|
10
|
-
component:
|
|
11
|
-
type: String,
|
|
12
|
-
default: undefined,
|
|
13
|
-
required: false,
|
|
14
|
-
},
|
|
10
|
+
component: String,
|
|
15
11
|
...CCloseButton.props,
|
|
16
12
|
},
|
|
17
13
|
emits: [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Customize CToast component renders correctly 1`] = `
|
|
4
|
-
"<transition-stub>
|
|
5
|
-
<div class
|
|
4
|
+
"<transition-stub enterfromclass="" enteractiveclass="show showing" entertoclass="show" leavefromclass="show" leaveactiveclass="show showing" leavetoclass="show" appear="true" persisted="false" css="true">
|
|
5
|
+
<div class="toast fade bg-warning" aria-live="assertive" aria-atomic="true" role="alert">Default slot</div>
|
|
6
6
|
</transition-stub>"
|
|
7
7
|
`;
|
|
8
8
|
|
|
9
9
|
exports[`Loads and display CToast component renders correctly 1`] = `
|
|
10
|
-
"<transition-stub>
|
|
11
|
-
<div class
|
|
10
|
+
"<transition-stub enterfromclass="" enteractiveclass="show showing" entertoclass="show" leavefromclass="show" leaveactiveclass="show showing" leavetoclass="show" appear="true" persisted="false" css="true">
|
|
11
|
+
<div class="toast fade" aria-live="assertive" aria-atomic="true" role="alert">Default slot</div>
|
|
12
12
|
</transition-stub>"
|
|
13
13
|
`;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Loads and display CToastBody component renders correctly 1`] = `"<div class
|
|
3
|
+
exports[`Loads and display CToastBody component renders correctly 1`] = `"<div class="toast-body">Default slot</div>"`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Customize CToastClose component renders correctly 1`] = `"<button class
|
|
3
|
+
exports[`Customize CToastClose component renders correctly 1`] = `"<button class="btn btn-undefined" type="button">Default slot</button>"`;
|
|
4
4
|
|
|
5
|
-
exports[`Loads and display CToastClose component renders correctly 1`] = `"<button type
|
|
5
|
+
exports[`Loads and display CToastClose component renders correctly 1`] = `"<button type="button" class="btn btn-close" aria-label="Close"></button>"`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Customize CToastHeader component renders correctly 1`] = `"<div class
|
|
3
|
+
exports[`Customize CToastHeader component renders correctly 1`] = `"<div class="toast-header">Default slot<button type="button" class="btn btn-close" aria-label="Close"></button></div>"`;
|
|
4
4
|
|
|
5
5
|
exports[`Loads and display CToastHeader component renders correctly 1`] = `
|
|
6
|
-
"<div class
|
|
6
|
+
"<div class="toast-header">Default slot
|
|
7
7
|
<!---->
|
|
8
8
|
</div>"
|
|
9
9
|
`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Customize CToaster component renders correctly 1`] = `"<div class
|
|
3
|
+
exports[`Customize CToaster component renders correctly 1`] = `"<div class="toaster toast-container p-3 position-fixed top-0 end-0">Default slot</div>"`;
|
|
4
4
|
|
|
5
|
-
exports[`Loads and display CToaster component renders correctly 1`] = `"<div class
|
|
5
|
+
exports[`Loads and display CToaster component renders correctly 1`] = `"<div class="toaster toast-container p-3">Default slot</div>"`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, h, PropType, ref, RendererElement, Teleport, Transition } from 'vue'
|
|
2
2
|
import { createPopper, Placement } from '@popperjs/core'
|
|
3
3
|
|
|
4
|
-
import { executeAfterTransition } from '
|
|
4
|
+
import { executeAfterTransition } from '../../utils/transition'
|
|
5
5
|
|
|
6
6
|
const CTooltip = defineComponent({
|
|
7
7
|
name: 'CTooltip',
|
|
@@ -9,18 +9,13 @@ const CTooltip = defineComponent({
|
|
|
9
9
|
/**
|
|
10
10
|
* Content for your component. If you want to pass non-string value please use dedicated slot `<template #content>...</template>`
|
|
11
11
|
*/
|
|
12
|
-
content:
|
|
13
|
-
type: String,
|
|
14
|
-
default: undefined,
|
|
15
|
-
required: false,
|
|
16
|
-
},
|
|
12
|
+
content: String,
|
|
17
13
|
/**
|
|
18
14
|
* Offset of the tooltip relative to its target.
|
|
19
15
|
*/
|
|
20
16
|
offset: {
|
|
21
17
|
type: Array,
|
|
22
18
|
default: () => [0, 0],
|
|
23
|
-
required: false,
|
|
24
19
|
},
|
|
25
20
|
/**
|
|
26
21
|
* 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.
|
|
@@ -28,7 +23,6 @@ const CTooltip = defineComponent({
|
|
|
28
23
|
placement: {
|
|
29
24
|
type: String as PropType<Placement>,
|
|
30
25
|
default: 'top',
|
|
31
|
-
required: false,
|
|
32
26
|
validator: (value: string) => {
|
|
33
27
|
return ['top', 'right', 'bottom', 'left'].includes(value)
|
|
34
28
|
},
|
|
@@ -41,7 +35,6 @@ const CTooltip = defineComponent({
|
|
|
41
35
|
trigger: {
|
|
42
36
|
type: [String, Array] as PropType<string | string[]>,
|
|
43
37
|
default: 'hover',
|
|
44
|
-
required: false,
|
|
45
38
|
validator: (value: string | string[]) => {
|
|
46
39
|
if (typeof value === 'string') {
|
|
47
40
|
return ['click', 'focus', 'hover'].includes(value)
|
|
@@ -5,26 +5,17 @@ import { CCard, CCardBody } from '../card'
|
|
|
5
5
|
const CWidgetStatsA = defineComponent({
|
|
6
6
|
name: 'CWidgetStatsA',
|
|
7
7
|
props: {
|
|
8
|
-
color:
|
|
9
|
-
type: String,
|
|
10
|
-
default: undefined,
|
|
11
|
-
require: false,
|
|
12
|
-
},
|
|
8
|
+
color: String,
|
|
13
9
|
/**
|
|
14
10
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
15
11
|
*/
|
|
16
|
-
title:
|
|
17
|
-
type: String,
|
|
18
|
-
default: undefined,
|
|
19
|
-
require: false,
|
|
20
|
-
},
|
|
12
|
+
title: String,
|
|
21
13
|
/**
|
|
22
14
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
23
15
|
*/
|
|
24
16
|
value: {
|
|
25
17
|
type: [Number, String],
|
|
26
|
-
default: 0
|
|
27
|
-
require: false,
|
|
18
|
+
default: 0
|
|
28
19
|
},
|
|
29
20
|
},
|
|
30
21
|
/**
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { defineComponent, h } from 'vue'
|
|
2
2
|
import { shape } from 'vue-types'
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
4
|
+
import { CCard, CCardBody } from '../card'
|
|
5
|
+
import { CProgress } from '../progress'
|
|
6
|
+
|
|
7
|
+
import { Color } from '../../props'
|
|
7
8
|
|
|
8
9
|
const CWidgetStatsB = defineComponent({
|
|
9
10
|
name: 'CWidgetStatsB',
|
|
@@ -17,11 +18,7 @@ const CWidgetStatsB = defineComponent({
|
|
|
17
18
|
/**
|
|
18
19
|
* Colors have been inverted from their default dark shade.
|
|
19
20
|
*/
|
|
20
|
-
inverse:
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: undefined,
|
|
23
|
-
require: false,
|
|
24
|
-
},
|
|
21
|
+
inverse: Boolean,
|
|
25
22
|
progress: shape({
|
|
26
23
|
/**
|
|
27
24
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
@@ -40,26 +37,17 @@ const CWidgetStatsB = defineComponent({
|
|
|
40
37
|
/**
|
|
41
38
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
42
39
|
*/
|
|
43
|
-
text:
|
|
44
|
-
type: String,
|
|
45
|
-
default: undefined,
|
|
46
|
-
require: false,
|
|
47
|
-
},
|
|
40
|
+
text: String,
|
|
48
41
|
/**
|
|
49
42
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
50
43
|
*/
|
|
51
|
-
title:
|
|
52
|
-
type: String,
|
|
53
|
-
default: undefined,
|
|
54
|
-
require: false,
|
|
55
|
-
},
|
|
44
|
+
title: String,
|
|
56
45
|
/**
|
|
57
46
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
58
47
|
*/
|
|
59
48
|
value: {
|
|
60
49
|
type: [Number, String],
|
|
61
|
-
default: 0
|
|
62
|
-
require: false,
|
|
50
|
+
default: 0
|
|
63
51
|
},
|
|
64
52
|
},
|
|
65
53
|
setup(props, { slots }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, h } from 'vue'
|
|
2
2
|
import { shape } from 'vue-types'
|
|
3
3
|
|
|
4
|
-
import { Color } from '
|
|
5
|
-
import { CCard, CCardBody } from '
|
|
4
|
+
import { Color } from '../../props'
|
|
5
|
+
import { CCard, CCardBody } from '../card'
|
|
6
6
|
import { CProgress } from '../progress/CProgress'
|
|
7
7
|
|
|
8
8
|
const CWidgetStatsC = defineComponent({
|
|
@@ -17,11 +17,7 @@ const CWidgetStatsC = defineComponent({
|
|
|
17
17
|
/**
|
|
18
18
|
* Colors have been inverted from their default dark shade.
|
|
19
19
|
*/
|
|
20
|
-
inverse:
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: undefined,
|
|
23
|
-
require: false,
|
|
24
|
-
},
|
|
20
|
+
inverse: Boolean,
|
|
25
21
|
progress: shape({
|
|
26
22
|
/**
|
|
27
23
|
* Sets the color context of the progress bar to one of CoreUI’s themed colors
|
|
@@ -40,18 +36,13 @@ const CWidgetStatsC = defineComponent({
|
|
|
40
36
|
/**
|
|
41
37
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
42
38
|
*/
|
|
43
|
-
title:
|
|
44
|
-
type: String,
|
|
45
|
-
default: undefined,
|
|
46
|
-
require: false,
|
|
47
|
-
},
|
|
39
|
+
title: String,
|
|
48
40
|
/**
|
|
49
41
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
50
42
|
*/
|
|
51
43
|
value: {
|
|
52
44
|
type: [Number, String],
|
|
53
|
-
default: 0
|
|
54
|
-
require: false,
|
|
45
|
+
default: 0
|
|
55
46
|
},
|
|
56
47
|
},
|
|
57
48
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, h, PropType } from 'vue'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
3
|
+
import { CCard, CCardBody, CCardHeader } from '../card/'
|
|
4
|
+
import { CCol } from '../grid/'
|
|
5
|
+
|
|
6
|
+
import { Color } from '../../props'
|
|
6
7
|
|
|
7
8
|
type Value = {
|
|
8
9
|
title?: string
|
|
@@ -24,7 +25,6 @@ const CWidgetStatsD = defineComponent({
|
|
|
24
25
|
values: {
|
|
25
26
|
type: Array as PropType<Value[]>,
|
|
26
27
|
default: () => [],
|
|
27
|
-
require: false,
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
30
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, h } from 'vue'
|
|
2
2
|
|
|
3
|
-
import { CCard, CCardBody } from '
|
|
3
|
+
import { CCard, CCardBody } from '../card/'
|
|
4
4
|
|
|
5
5
|
const CWidgetStatsE = defineComponent({
|
|
6
6
|
name: 'CWidgetStatsE',
|
|
@@ -8,18 +8,13 @@ const CWidgetStatsE = defineComponent({
|
|
|
8
8
|
/**
|
|
9
9
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
10
10
|
*/
|
|
11
|
-
title:
|
|
12
|
-
type: String,
|
|
13
|
-
default: undefined,
|
|
14
|
-
require: false,
|
|
15
|
-
},
|
|
11
|
+
title: String,
|
|
16
12
|
/**
|
|
17
13
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
18
14
|
*/
|
|
19
15
|
value: {
|
|
20
16
|
type: [Number, String],
|
|
21
|
-
default: 0
|
|
22
|
-
require: false,
|
|
17
|
+
default: 0
|
|
23
18
|
},
|
|
24
19
|
},
|
|
25
20
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineComponent, h } from 'vue'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { CCard, CCardBody, CCardFooter } from '../card/'
|
|
4
|
+
|
|
5
|
+
import { Color } from '../../props'
|
|
5
6
|
|
|
6
7
|
const CWidgetStatsF = defineComponent({
|
|
7
8
|
name: 'CWidgetStatsF',
|
|
@@ -22,26 +23,17 @@ const CWidgetStatsF = defineComponent({
|
|
|
22
23
|
/**
|
|
23
24
|
* Title for your component. If you want to pass non-string value please use dedicated slot `<template #title>...</template>`
|
|
24
25
|
*/
|
|
25
|
-
title:
|
|
26
|
-
type: String,
|
|
27
|
-
default: undefined,
|
|
28
|
-
require: false,
|
|
29
|
-
},
|
|
26
|
+
title: String,
|
|
30
27
|
/**
|
|
31
28
|
* Helper text for your component. If you want to pass non-string value please use dedicated slot `<template #text>...</template>`
|
|
32
29
|
*/
|
|
33
|
-
text:
|
|
34
|
-
type: String,
|
|
35
|
-
default: undefined,
|
|
36
|
-
require: false,
|
|
37
|
-
},
|
|
30
|
+
text: String,
|
|
38
31
|
/**
|
|
39
32
|
* Value for your component. If you want to pass non-string or non-number value please use dedicated slot `<template #value>...</template>`
|
|
40
33
|
*/
|
|
41
34
|
value: {
|
|
42
35
|
type: [Number, String],
|
|
43
|
-
default: 0
|
|
44
|
-
require: false,
|
|
36
|
+
default: 0
|
|
45
37
|
},
|
|
46
38
|
},
|
|
47
39
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Loads and display CWidgetStatsA component renders correctly 1`] = `
|
|
4
|
-
"<div class
|
|
5
|
-
<div class
|
|
4
|
+
"<div class="card bg-warning text-high-emphasis-inverse">
|
|
5
|
+
<div class="card-body pb-0 d-flex justify-content-between align-items-start">
|
|
6
6
|
<div>
|
|
7
|
-
<div class
|
|
7
|
+
<div class="fs-4 fw-semibold">75</div>
|
|
8
8
|
<div>title</div>
|
|
9
9
|
</div>action
|
|
10
10
|
</div>chartDefault slot
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Loads and display CWidgetStatsB component renders correctly 1`] = `
|
|
4
|
-
"<div class
|
|
5
|
-
<div class
|
|
6
|
-
<div class
|
|
4
|
+
"<div class="card bg-warning text-high-emphasis-inverse">
|
|
5
|
+
<div class="card-body">
|
|
6
|
+
<div class="fs-4 fw-semibold">75</div>
|
|
7
7
|
<div>title</div>
|
|
8
|
-
<div class
|
|
9
|
-
<div class
|
|
10
|
-
</div><small class
|
|
8
|
+
<div class="progress progress-white my-2" style="height: 4px;">
|
|
9
|
+
<div class="progress-bar bg-info" role="progressbar" style="width: 75%;" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
|
10
|
+
</div><small class="text-medium-emphasis-inverse">text</small>
|
|
11
11
|
</div>
|
|
12
12
|
</div>"
|
|
13
13
|
`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Loads and display CWidgetStatsC component renders correctly 1`] = `
|
|
4
|
-
"<div class
|
|
5
|
-
<div class
|
|
6
|
-
<div class
|
|
7
|
-
<div class
|
|
8
|
-
<div class
|
|
9
|
-
<div class
|
|
10
|
-
<div class
|
|
4
|
+
"<div class="card bg-warning text-white">
|
|
5
|
+
<div class="card-body">
|
|
6
|
+
<div class="text-end mb-4 text-medium-emphasis-inverse">icon</div>
|
|
7
|
+
<div class="fs-4 fw-semibold">75</div>
|
|
8
|
+
<div class="text-uppercase fw-semibold small text-medium-emphasis-inverse">title</div>
|
|
9
|
+
<div class="progress progress-white my-2" style="height: 4px;">
|
|
10
|
+
<div class="progress-bar bg-info" role="progressbar" style="width: 75%;" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
</div>"
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Loads and display CWidgetStatsD component renders correctly 1`] = `
|
|
4
|
-
"<div class
|
|
5
|
-
<div class
|
|
6
|
-
<div class
|
|
4
|
+
"<div class="card">
|
|
5
|
+
<div class="card-header position-relative d-flex justify-content-center align-items-center bg-warning">iconchart</div>
|
|
6
|
+
<div class="card-body row text-center">
|
|
7
7
|
<!---->
|
|
8
|
-
<div class
|
|
9
|
-
<div class
|
|
10
|
-
<div class
|
|
8
|
+
<div class="col">
|
|
9
|
+
<div class="col fs-5 fw-semibold">bb</div>
|
|
10
|
+
<div class="col text-uppercase text-medium-emphasis small">aa</div>
|
|
11
11
|
</div>
|
|
12
|
-
<div class
|
|
13
|
-
<div class
|
|
14
|
-
<div class
|
|
15
|
-
<div class
|
|
12
|
+
<div class="vr"></div>
|
|
13
|
+
<div class="col">
|
|
14
|
+
<div class="col fs-5 fw-semibold">dd</div>
|
|
15
|
+
<div class="col text-uppercase text-medium-emphasis small">cc</div>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
</div>"
|